1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for xneur 0.20.0.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1
200
201  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    PATH=/empty FPATH=/empty; export PATH FPATH
206    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208  if (eval "$as_required") 2>/dev/null; then :
209  as_have_required=yes
210else
211  as_have_required=no
212fi
213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
222  as_found=:
223  case $as_dir in #(
224	 /*)
225	   for as_base in sh bash ksh sh5; do
226	     # Try only shells that exist, to save several forks.
227	     as_shell=$as_dir/$as_base
228	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230  CONFIG_SHELL=$as_shell as_have_required=yes
231		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  break 2
233fi
234fi
235	   done;;
236       esac
237  as_found=false
238done
239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241  CONFIG_SHELL=$SHELL as_have_required=yes
242fi; }
243IFS=$as_save_IFS
244
245
246      if test "x$CONFIG_SHELL" != x; then :
247  export CONFIG_SHELL
248             # We cannot yet assume a decent shell, so we have to provide a
249# neutralization value for shells without unset; and this also
250# works around shells that cannot unset nonexistent variables.
251# Preserve -v and -x to the replacement shell.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256  *v*x* | *x*v* ) as_opts=-vx ;;
257  *v* ) as_opts=-v ;;
258  *x* ) as_opts=-x ;;
259  * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
266fi
267
268    if test x$as_have_required = xno; then :
269  $as_echo "$0: This script requires a shell more modern than all"
270  $as_echo "$0: the shells that I found on your system."
271  if test x${ZSH_VERSION+set} = xset ; then
272    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274  else
275    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276$0: including any error possibly output before this
277$0: message. Then install a modern shell, or manually run
278$0: the script under such a shell if you do have one."
279  fi
280  exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298  { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307  return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315  set +e
316  as_fn_set_status $1
317  exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
326  case $as_dir in #(
327  -*) as_dir=./$as_dir;;
328  esac
329  test -d "$as_dir" || eval $as_mkdir_p || {
330    as_dirs=
331    while :; do
332      case $as_dir in #(
333      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334      *) as_qdir=$as_dir;;
335      esac
336      as_dirs="'$as_qdir' $as_dirs"
337      as_dir=`$as_dirname -- "$as_dir" ||
338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339	 X"$as_dir" : 'X\(//\)[^/]' \| \
340	 X"$as_dir" : 'X\(//\)$' \| \
341	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342$as_echo X"$as_dir" |
343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)[^/].*/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)$/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\).*/{
356	    s//\1/
357	    q
358	  }
359	  s/.*/./; q'`
360      test -d "$as_dir" && break
361    done
362    test -z "$as_dirs" || eval "mkdir $as_dirs"
363  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373  test -f "$1" && test -x "$1"
374} # as_fn_executable_p
375# as_fn_append VAR VALUE
376# ----------------------
377# Append the text in VALUE to the end of the definition contained in VAR. Take
378# advantage of any shell optimizations that allow amortized linear growth over
379# repeated appends, instead of the typical quadratic growth present in naive
380# implementations.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382  eval 'as_fn_append ()
383  {
384    eval $1+=\$2
385  }'
386else
387  as_fn_append ()
388  {
389    eval $1=\$$1\$2
390  }
391fi # as_fn_append
392
393# as_fn_arith ARG...
394# ------------------
395# Perform arithmetic evaluation on the ARGs, and store the result in the
396# global $as_val. Take advantage of shells that can avoid forks. The arguments
397# must be portable across $(()) and expr.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399  eval 'as_fn_arith ()
400  {
401    as_val=$(( $* ))
402  }'
403else
404  as_fn_arith ()
405  {
406    as_val=`expr "$@" || test $? -eq 1`
407  }
408fi # as_fn_arith
409
410
411# as_fn_error STATUS ERROR [LINENO LOG_FD]
412# ----------------------------------------
413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415# script with STATUS, using 1 if that was 0.
416as_fn_error ()
417{
418  as_status=$1; test $as_status -eq 0 && as_status=1
419  if test "$4"; then
420    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422  fi
423  $as_echo "$as_me: error: $2" >&2
424  as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429  as_expr=expr
430else
431  as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435  as_basename=basename
436else
437  as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441  as_dirname=dirname
442else
443  as_dirname=false
444fi
445
446as_me=`$as_basename -- "$0" ||
447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448	 X"$0" : 'X\(//\)$' \| \
449	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450$as_echo X/"$0" |
451    sed '/^.*\/\([^/][^/]*\)\/*$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\/\)$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\).*/{
460	    s//\1/
461	    q
462	  }
463	  s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473  as_lineno_1=$LINENO as_lineno_1a=$LINENO
474  as_lineno_2=$LINENO as_lineno_2a=$LINENO
475  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478  sed -n '
479    p
480    /[$]LINENO/=
481  ' <$as_myself |
482    sed '
483      s/[$]LINENO.*/&-/
484      t lineno
485      b
486      :lineno
487      N
488      :loop
489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490      t loop
491      s/-\n.*//
492    ' >$as_me.lineno &&
493  chmod +x "$as_me.lineno" ||
494    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497  # already done that, so ensure we don't try to do so again and fall
498  # in an infinite loop.  This has already happened in practice.
499  _as_can_reexec=no; export _as_can_reexec
500  # Don't try to exec as it changes $[0], causing all sort of problems
501  # (the dirname of $[0] is not the place where we might find the
502  # original and so on.  Autoconf is especially sensitive to this).
503  . "./$as_me.lineno"
504  # Exit status is that of the last command.
505  exit
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `echo -n x` in #(((((
510-n*)
511  case `echo 'xy\c'` in
512  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
513  xy)  ECHO_C='\c';;
514  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515       ECHO_T='	';;
516  esac;;
517*)
518  ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523  rm -f conf$$.dir/conf$$.file
524else
525  rm -f conf$$.dir
526  mkdir conf$$.dir 2>/dev/null
527fi
528if (echo >conf$$.file) 2>/dev/null; then
529  if ln -s conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s='ln -s'
531    # ... but there are two gotchas:
532    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534    # In both cases, we have to default to `cp -pR'.
535    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536      as_ln_s='cp -pR'
537  elif ln conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s=ln
539  else
540    as_ln_s='cp -pR'
541  fi
542else
543  as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549  as_mkdir_p='mkdir -p "$as_dir"'
550else
551  test -d ./-p && rmdir ./-p
552  as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 6>&1
569
570# Name of the host.
571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572# so uname gets run too.
573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575#
576# Initializations.
577#
578ac_default_prefix=/usr/local
579ac_clean_files=
580ac_config_libobj_dir=.
581LIBOBJS=
582cross_compiling=no
583subdirs=
584MFLAGS=
585MAKEFLAGS=
586
587# Identity of this package.
588PACKAGE_NAME='xneur'
589PACKAGE_TARNAME='xneur'
590PACKAGE_VERSION='0.20.0'
591PACKAGE_STRING='xneur 0.20.0'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL=''
594
595# Factoring default headers for most tests.
596ac_includes_default="\
597#include <stdio.h>
598#ifdef HAVE_SYS_TYPES_H
599# include <sys/types.h>
600#endif
601#ifdef HAVE_SYS_STAT_H
602# include <sys/stat.h>
603#endif
604#ifdef STDC_HEADERS
605# include <stdlib.h>
606# include <stddef.h>
607#else
608# ifdef HAVE_STDLIB_H
609#  include <stdlib.h>
610# endif
611#endif
612#ifdef HAVE_STRING_H
613# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614#  include <memory.h>
615# endif
616# include <string.h>
617#endif
618#ifdef HAVE_STRINGS_H
619# include <strings.h>
620#endif
621#ifdef HAVE_INTTYPES_H
622# include <inttypes.h>
623#endif
624#ifdef HAVE_STDINT_H
625# include <stdint.h>
626#endif
627#ifdef HAVE_UNISTD_H
628# include <unistd.h>
629#endif"
630
631ac_subst_vars='am__EXEEXT_FALSE
632am__EXEEXT_TRUE
633LTLIBOBJS
634LIBOBJS
635DEFAULT_CFLAGS
636LIBNOTIFY_LIBS
637LIBNOTIFY_CFLAGS
638GTK_LIBS
639GTK_CFLAGS
640XOSD_LIBS
641XOSD_CFLAGS
642ASPELL_LIBS
643ASPELL_CFLAGS
644ENCHANT_LIBS
645ENCHANT_CFLAGS
646PCRE_LIBS
647PCRE_CFLAGS
648APLAY_LIBS
649FREEALUT_LIBS
650FREEALUT_CFLAGS
651GSTREAMER_LIBS
652GSTREAMER_CFLAGS
653ADDITIONAL_LIBS
654Xi_LIBS
655Xi_CFLAGS
656X11_LIBS
657X11_CFLAGS
658PKG_CONFIG
659Z_LIBS
660LT_SYS_LIBRARY_PATH
661OTOOL64
662OTOOL
663LIPO
664NMEDIT
665DSYMUTIL
666MANIFEST_TOOL
667RANLIB
668ac_ct_AR
669AR
670DLLTOOL
671OBJDUMP
672LN_S
673NM
674ac_ct_DUMPBIN
675DUMPBIN
676LD
677FGREP
678SED
679host_os
680host_vendor
681host_cpu
682host
683build_os
684build_vendor
685build_cpu
686build
687LIBTOOL
688MKINSTALLDIRS
689POSUB
690POFILES
691PO_IN_DATADIR_FALSE
692PO_IN_DATADIR_TRUE
693INTLLIBS
694INSTOBJEXT
695GMOFILES
696DATADIRNAME
697CATOBJEXT
698CATALOGS
699MSGFMT_OPTS
700EGREP
701GREP
702GETTEXT_PACKAGE
703ALL_LINGUAS
704INTLTOOL_PERL
705GMSGFMT
706MSGFMT
707MSGMERGE
708XGETTEXT
709INTLTOOL_POLICY_RULE
710INTLTOOL_SERVICE_RULE
711INTLTOOL_THEME_RULE
712INTLTOOL_SCHEMAS_RULE
713INTLTOOL_CAVES_RULE
714INTLTOOL_XML_NOMERGE_RULE
715INTLTOOL_XML_RULE
716INTLTOOL_KBD_RULE
717INTLTOOL_XAM_RULE
718INTLTOOL_UI_RULE
719INTLTOOL_SOUNDLIST_RULE
720INTLTOOL_SHEET_RULE
721INTLTOOL_SERVER_RULE
722INTLTOOL_PONG_RULE
723INTLTOOL_OAF_RULE
724INTLTOOL_PROP_RULE
725INTLTOOL_KEYS_RULE
726INTLTOOL_DIRECTORY_RULE
727INTLTOOL_DESKTOP_RULE
728intltool__v_merge_options_0
729intltool__v_merge_options_
730INTLTOOL_V_MERGE_OPTIONS
731INTLTOOL__v_MERGE_0
732INTLTOOL__v_MERGE_
733INTLTOOL_V_MERGE
734INTLTOOL_EXTRACT
735INTLTOOL_MERGE
736INTLTOOL_UPDATE
737USE_NLS
738X_EXTRA_LIBS
739X_LIBS
740X_PRE_LIBS
741X_CFLAGS
742CPP
743XMKMF
744am__fastdepCC_FALSE
745am__fastdepCC_TRUE
746CCDEPMODE
747am__nodep
748AMDEPBACKSLASH
749AMDEP_FALSE
750AMDEP_TRUE
751am__quote
752am__include
753DEPDIR
754OBJEXT
755EXEEXT
756ac_ct_CC
757CPPFLAGS
758LDFLAGS
759CFLAGS
760CC
761AM_BACKSLASH
762AM_DEFAULT_VERBOSITY
763AM_DEFAULT_V
764AM_V
765am__untar
766am__tar
767AMTAR
768am__leading_dot
769SET_MAKE
770AWK
771mkdir_p
772MKDIR_P
773INSTALL_STRIP_PROGRAM
774STRIP
775install_sh
776MAKEINFO
777AUTOHEADER
778AUTOMAKE
779AUTOCONF
780ACLOCAL
781VERSION
782PACKAGE
783CYGPATH_W
784am__isrc
785INSTALL_DATA
786INSTALL_SCRIPT
787INSTALL_PROGRAM
788target_alias
789host_alias
790build_alias
791LIBS
792ECHO_T
793ECHO_N
794ECHO_C
795DEFS
796mandir
797localedir
798libdir
799psdir
800pdfdir
801dvidir
802htmldir
803infodir
804docdir
805oldincludedir
806includedir
807runstatedir
808localstatedir
809sharedstatedir
810sysconfdir
811datadir
812datarootdir
813libexecdir
814sbindir
815bindir
816program_transform_name
817prefix
818exec_prefix
819PACKAGE_URL
820PACKAGE_BUGREPORT
821PACKAGE_STRING
822PACKAGE_VERSION
823PACKAGE_TARNAME
824PACKAGE_NAME
825PATH_SEPARATOR
826SHELL'
827ac_subst_files=''
828ac_user_opts='
829enable_option_checking
830enable_silent_rules
831enable_dependency_tracking
832with_x
833enable_nls
834enable_shared
835enable_static
836with_pic
837enable_fast_install
838with_aix_soname
839with_gnu_ld
840with_sysroot
841enable_libtool_lock
842with_sound
843with_debug
844with_keylogger
845with_spell
846with_aspell
847with_xosd
848with_libnotify
849with_gtk
850with_plugins
851'
852      ac_precious_vars='build_alias
853host_alias
854target_alias
855CC
856CFLAGS
857LDFLAGS
858LIBS
859CPPFLAGS
860XMKMF
861CPP
862LT_SYS_LIBRARY_PATH
863PKG_CONFIG
864X11_CFLAGS
865X11_LIBS
866Xi_CFLAGS
867Xi_LIBS
868GSTREAMER_CFLAGS
869GSTREAMER_LIBS
870FREEALUT_CFLAGS
871FREEALUT_LIBS
872PCRE_CFLAGS
873PCRE_LIBS
874ENCHANT_CFLAGS
875ENCHANT_LIBS
876GTK_CFLAGS
877GTK_LIBS
878LIBNOTIFY_CFLAGS
879LIBNOTIFY_LIBS'
880
881
882# Initialize some variables set by options.
883ac_init_help=
884ac_init_version=false
885ac_unrecognized_opts=
886ac_unrecognized_sep=
887# The variables have the same names as the options, with
888# dashes changed to underlines.
889cache_file=/dev/null
890exec_prefix=NONE
891no_create=
892no_recursion=
893prefix=NONE
894program_prefix=NONE
895program_suffix=NONE
896program_transform_name=s,x,x,
897silent=
898site=
899srcdir=
900verbose=
901x_includes=NONE
902x_libraries=NONE
903
904# Installation directory options.
905# These are left unexpanded so users can "make install exec_prefix=/foo"
906# and all the variables that are supposed to be based on exec_prefix
907# by default will actually change.
908# Use braces instead of parens because sh, perl, etc. also accept them.
909# (The list follows the same order as the GNU Coding Standards.)
910bindir='${exec_prefix}/bin'
911sbindir='${exec_prefix}/sbin'
912libexecdir='${exec_prefix}/libexec'
913datarootdir='${prefix}/share'
914datadir='${datarootdir}'
915sysconfdir='${prefix}/etc'
916sharedstatedir='${prefix}/com'
917localstatedir='${prefix}/var'
918runstatedir='${localstatedir}/run'
919includedir='${prefix}/include'
920oldincludedir='/usr/include'
921docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
922infodir='${datarootdir}/info'
923htmldir='${docdir}'
924dvidir='${docdir}'
925pdfdir='${docdir}'
926psdir='${docdir}'
927libdir='${exec_prefix}/lib'
928localedir='${datarootdir}/locale'
929mandir='${datarootdir}/man'
930
931ac_prev=
932ac_dashdash=
933for ac_option
934do
935  # If the previous option needs an argument, assign it.
936  if test -n "$ac_prev"; then
937    eval $ac_prev=\$ac_option
938    ac_prev=
939    continue
940  fi
941
942  case $ac_option in
943  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
944  *=)   ac_optarg= ;;
945  *)    ac_optarg=yes ;;
946  esac
947
948  # Accept the important Cygnus configure options, so we can diagnose typos.
949
950  case $ac_dashdash$ac_option in
951  --)
952    ac_dashdash=yes ;;
953
954  -bindir | --bindir | --bindi | --bind | --bin | --bi)
955    ac_prev=bindir ;;
956  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
957    bindir=$ac_optarg ;;
958
959  -build | --build | --buil | --bui | --bu)
960    ac_prev=build_alias ;;
961  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
962    build_alias=$ac_optarg ;;
963
964  -cache-file | --cache-file | --cache-fil | --cache-fi \
965  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
966    ac_prev=cache_file ;;
967  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
968  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
969    cache_file=$ac_optarg ;;
970
971  --config-cache | -C)
972    cache_file=config.cache ;;
973
974  -datadir | --datadir | --datadi | --datad)
975    ac_prev=datadir ;;
976  -datadir=* | --datadir=* | --datadi=* | --datad=*)
977    datadir=$ac_optarg ;;
978
979  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
980  | --dataroo | --dataro | --datar)
981    ac_prev=datarootdir ;;
982  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
983  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
984    datarootdir=$ac_optarg ;;
985
986  -disable-* | --disable-*)
987    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
988    # Reject names that are not valid shell variable names.
989    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
990      as_fn_error $? "invalid feature name: $ac_useropt"
991    ac_useropt_orig=$ac_useropt
992    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993    case $ac_user_opts in
994      *"
995"enable_$ac_useropt"
996"*) ;;
997      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
998	 ac_unrecognized_sep=', ';;
999    esac
1000    eval enable_$ac_useropt=no ;;
1001
1002  -docdir | --docdir | --docdi | --doc | --do)
1003    ac_prev=docdir ;;
1004  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1005    docdir=$ac_optarg ;;
1006
1007  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1008    ac_prev=dvidir ;;
1009  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1010    dvidir=$ac_optarg ;;
1011
1012  -enable-* | --enable-*)
1013    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1014    # Reject names that are not valid shell variable names.
1015    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1016      as_fn_error $? "invalid feature name: $ac_useropt"
1017    ac_useropt_orig=$ac_useropt
1018    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019    case $ac_user_opts in
1020      *"
1021"enable_$ac_useropt"
1022"*) ;;
1023      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1024	 ac_unrecognized_sep=', ';;
1025    esac
1026    eval enable_$ac_useropt=\$ac_optarg ;;
1027
1028  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1029  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1030  | --exec | --exe | --ex)
1031    ac_prev=exec_prefix ;;
1032  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1033  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1034  | --exec=* | --exe=* | --ex=*)
1035    exec_prefix=$ac_optarg ;;
1036
1037  -gas | --gas | --ga | --g)
1038    # Obsolete; use --with-gas.
1039    with_gas=yes ;;
1040
1041  -help | --help | --hel | --he | -h)
1042    ac_init_help=long ;;
1043  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1044    ac_init_help=recursive ;;
1045  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1046    ac_init_help=short ;;
1047
1048  -host | --host | --hos | --ho)
1049    ac_prev=host_alias ;;
1050  -host=* | --host=* | --hos=* | --ho=*)
1051    host_alias=$ac_optarg ;;
1052
1053  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1054    ac_prev=htmldir ;;
1055  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1056  | --ht=*)
1057    htmldir=$ac_optarg ;;
1058
1059  -includedir | --includedir | --includedi | --included | --include \
1060  | --includ | --inclu | --incl | --inc)
1061    ac_prev=includedir ;;
1062  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1063  | --includ=* | --inclu=* | --incl=* | --inc=*)
1064    includedir=$ac_optarg ;;
1065
1066  -infodir | --infodir | --infodi | --infod | --info | --inf)
1067    ac_prev=infodir ;;
1068  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1069    infodir=$ac_optarg ;;
1070
1071  -libdir | --libdir | --libdi | --libd)
1072    ac_prev=libdir ;;
1073  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1074    libdir=$ac_optarg ;;
1075
1076  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1077  | --libexe | --libex | --libe)
1078    ac_prev=libexecdir ;;
1079  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1080  | --libexe=* | --libex=* | --libe=*)
1081    libexecdir=$ac_optarg ;;
1082
1083  -localedir | --localedir | --localedi | --localed | --locale)
1084    ac_prev=localedir ;;
1085  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1086    localedir=$ac_optarg ;;
1087
1088  -localstatedir | --localstatedir | --localstatedi | --localstated \
1089  | --localstate | --localstat | --localsta | --localst | --locals)
1090    ac_prev=localstatedir ;;
1091  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1092  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1093    localstatedir=$ac_optarg ;;
1094
1095  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1096    ac_prev=mandir ;;
1097  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1098    mandir=$ac_optarg ;;
1099
1100  -nfp | --nfp | --nf)
1101    # Obsolete; use --without-fp.
1102    with_fp=no ;;
1103
1104  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1105  | --no-cr | --no-c | -n)
1106    no_create=yes ;;
1107
1108  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1109  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1110    no_recursion=yes ;;
1111
1112  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1113  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1114  | --oldin | --oldi | --old | --ol | --o)
1115    ac_prev=oldincludedir ;;
1116  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1117  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1118  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1119    oldincludedir=$ac_optarg ;;
1120
1121  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1122    ac_prev=prefix ;;
1123  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1124    prefix=$ac_optarg ;;
1125
1126  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1127  | --program-pre | --program-pr | --program-p)
1128    ac_prev=program_prefix ;;
1129  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1130  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1131    program_prefix=$ac_optarg ;;
1132
1133  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1134  | --program-suf | --program-su | --program-s)
1135    ac_prev=program_suffix ;;
1136  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1137  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1138    program_suffix=$ac_optarg ;;
1139
1140  -program-transform-name | --program-transform-name \
1141  | --program-transform-nam | --program-transform-na \
1142  | --program-transform-n | --program-transform- \
1143  | --program-transform | --program-transfor \
1144  | --program-transfo | --program-transf \
1145  | --program-trans | --program-tran \
1146  | --progr-tra | --program-tr | --program-t)
1147    ac_prev=program_transform_name ;;
1148  -program-transform-name=* | --program-transform-name=* \
1149  | --program-transform-nam=* | --program-transform-na=* \
1150  | --program-transform-n=* | --program-transform-=* \
1151  | --program-transform=* | --program-transfor=* \
1152  | --program-transfo=* | --program-transf=* \
1153  | --program-trans=* | --program-tran=* \
1154  | --progr-tra=* | --program-tr=* | --program-t=*)
1155    program_transform_name=$ac_optarg ;;
1156
1157  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1158    ac_prev=pdfdir ;;
1159  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1160    pdfdir=$ac_optarg ;;
1161
1162  -psdir | --psdir | --psdi | --psd | --ps)
1163    ac_prev=psdir ;;
1164  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1165    psdir=$ac_optarg ;;
1166
1167  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1168  | -silent | --silent | --silen | --sile | --sil)
1169    silent=yes ;;
1170
1171  -runstatedir | --runstatedir | --runstatedi | --runstated \
1172  | --runstate | --runstat | --runsta | --runst | --runs \
1173  | --run | --ru | --r)
1174    ac_prev=runstatedir ;;
1175  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1176  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1177  | --run=* | --ru=* | --r=*)
1178    runstatedir=$ac_optarg ;;
1179
1180  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1181    ac_prev=sbindir ;;
1182  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1183  | --sbi=* | --sb=*)
1184    sbindir=$ac_optarg ;;
1185
1186  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1187  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1188  | --sharedst | --shareds | --shared | --share | --shar \
1189  | --sha | --sh)
1190    ac_prev=sharedstatedir ;;
1191  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1192  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1193  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1194  | --sha=* | --sh=*)
1195    sharedstatedir=$ac_optarg ;;
1196
1197  -site | --site | --sit)
1198    ac_prev=site ;;
1199  -site=* | --site=* | --sit=*)
1200    site=$ac_optarg ;;
1201
1202  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1203    ac_prev=srcdir ;;
1204  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1205    srcdir=$ac_optarg ;;
1206
1207  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1208  | --syscon | --sysco | --sysc | --sys | --sy)
1209    ac_prev=sysconfdir ;;
1210  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1211  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1212    sysconfdir=$ac_optarg ;;
1213
1214  -target | --target | --targe | --targ | --tar | --ta | --t)
1215    ac_prev=target_alias ;;
1216  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1217    target_alias=$ac_optarg ;;
1218
1219  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1220    verbose=yes ;;
1221
1222  -version | --version | --versio | --versi | --vers | -V)
1223    ac_init_version=: ;;
1224
1225  -with-* | --with-*)
1226    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1227    # Reject names that are not valid shell variable names.
1228    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1229      as_fn_error $? "invalid package name: $ac_useropt"
1230    ac_useropt_orig=$ac_useropt
1231    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1232    case $ac_user_opts in
1233      *"
1234"with_$ac_useropt"
1235"*) ;;
1236      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1237	 ac_unrecognized_sep=', ';;
1238    esac
1239    eval with_$ac_useropt=\$ac_optarg ;;
1240
1241  -without-* | --without-*)
1242    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1243    # Reject names that are not valid shell variable names.
1244    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1245      as_fn_error $? "invalid package name: $ac_useropt"
1246    ac_useropt_orig=$ac_useropt
1247    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248    case $ac_user_opts in
1249      *"
1250"with_$ac_useropt"
1251"*) ;;
1252      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1253	 ac_unrecognized_sep=', ';;
1254    esac
1255    eval with_$ac_useropt=no ;;
1256
1257  --x)
1258    # Obsolete; use --with-x.
1259    with_x=yes ;;
1260
1261  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1262  | --x-incl | --x-inc | --x-in | --x-i)
1263    ac_prev=x_includes ;;
1264  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1265  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1266    x_includes=$ac_optarg ;;
1267
1268  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1269  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1270    ac_prev=x_libraries ;;
1271  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1272  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1273    x_libraries=$ac_optarg ;;
1274
1275  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1276Try \`$0 --help' for more information"
1277    ;;
1278
1279  *=*)
1280    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1281    # Reject names that are not valid shell variable names.
1282    case $ac_envvar in #(
1283      '' | [0-9]* | *[!_$as_cr_alnum]* )
1284      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1285    esac
1286    eval $ac_envvar=\$ac_optarg
1287    export $ac_envvar ;;
1288
1289  *)
1290    # FIXME: should be removed in autoconf 3.0.
1291    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1292    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1293      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1294    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1295    ;;
1296
1297  esac
1298done
1299
1300if test -n "$ac_prev"; then
1301  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1302  as_fn_error $? "missing argument to $ac_option"
1303fi
1304
1305if test -n "$ac_unrecognized_opts"; then
1306  case $enable_option_checking in
1307    no) ;;
1308    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1309    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1310  esac
1311fi
1312
1313# Check all directory arguments for consistency.
1314for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1315		datadir sysconfdir sharedstatedir localstatedir includedir \
1316		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1317		libdir localedir mandir runstatedir
1318do
1319  eval ac_val=\$$ac_var
1320  # Remove trailing slashes.
1321  case $ac_val in
1322    */ )
1323      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1324      eval $ac_var=\$ac_val;;
1325  esac
1326  # Be sure to have absolute directory names.
1327  case $ac_val in
1328    [\\/$]* | ?:[\\/]* )  continue;;
1329    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1330  esac
1331  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1332done
1333
1334# There might be people who depend on the old broken behavior: `$host'
1335# used to hold the argument of --host etc.
1336# FIXME: To remove some day.
1337build=$build_alias
1338host=$host_alias
1339target=$target_alias
1340
1341# FIXME: To remove some day.
1342if test "x$host_alias" != x; then
1343  if test "x$build_alias" = x; then
1344    cross_compiling=maybe
1345  elif test "x$build_alias" != "x$host_alias"; then
1346    cross_compiling=yes
1347  fi
1348fi
1349
1350ac_tool_prefix=
1351test -n "$host_alias" && ac_tool_prefix=$host_alias-
1352
1353test "$silent" = yes && exec 6>/dev/null
1354
1355
1356ac_pwd=`pwd` && test -n "$ac_pwd" &&
1357ac_ls_di=`ls -di .` &&
1358ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1359  as_fn_error $? "working directory cannot be determined"
1360test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1361  as_fn_error $? "pwd does not report name of working directory"
1362
1363
1364# Find the source files, if location was not specified.
1365if test -z "$srcdir"; then
1366  ac_srcdir_defaulted=yes
1367  # Try the directory containing this script, then the parent directory.
1368  ac_confdir=`$as_dirname -- "$as_myself" ||
1369$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1370	 X"$as_myself" : 'X\(//\)[^/]' \| \
1371	 X"$as_myself" : 'X\(//\)$' \| \
1372	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1373$as_echo X"$as_myself" |
1374    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1375	    s//\1/
1376	    q
1377	  }
1378	  /^X\(\/\/\)[^/].*/{
1379	    s//\1/
1380	    q
1381	  }
1382	  /^X\(\/\/\)$/{
1383	    s//\1/
1384	    q
1385	  }
1386	  /^X\(\/\).*/{
1387	    s//\1/
1388	    q
1389	  }
1390	  s/.*/./; q'`
1391  srcdir=$ac_confdir
1392  if test ! -r "$srcdir/$ac_unique_file"; then
1393    srcdir=..
1394  fi
1395else
1396  ac_srcdir_defaulted=no
1397fi
1398if test ! -r "$srcdir/$ac_unique_file"; then
1399  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1400  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1401fi
1402ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1403ac_abs_confdir=`(
1404	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1405	pwd)`
1406# When building in place, set srcdir=.
1407if test "$ac_abs_confdir" = "$ac_pwd"; then
1408  srcdir=.
1409fi
1410# Remove unnecessary trailing slashes from srcdir.
1411# Double slashes in file names in object file debugging info
1412# mess up M-x gdb in Emacs.
1413case $srcdir in
1414*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1415esac
1416for ac_var in $ac_precious_vars; do
1417  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1418  eval ac_env_${ac_var}_value=\$${ac_var}
1419  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1420  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1421done
1422
1423#
1424# Report the --help message.
1425#
1426if test "$ac_init_help" = "long"; then
1427  # Omit some internal or obsolete options to make the list less imposing.
1428  # This message is too long to be a string in the A/UX 3.1 sh.
1429  cat <<_ACEOF
1430\`configure' configures xneur 0.20.0 to adapt to many kinds of systems.
1431
1432Usage: $0 [OPTION]... [VAR=VALUE]...
1433
1434To assign environment variables (e.g., CC, CFLAGS...), specify them as
1435VAR=VALUE.  See below for descriptions of some of the useful variables.
1436
1437Defaults for the options are specified in brackets.
1438
1439Configuration:
1440  -h, --help              display this help and exit
1441      --help=short        display options specific to this package
1442      --help=recursive    display the short help of all the included packages
1443  -V, --version           display version information and exit
1444  -q, --quiet, --silent   do not print \`checking ...' messages
1445      --cache-file=FILE   cache test results in FILE [disabled]
1446  -C, --config-cache      alias for \`--cache-file=config.cache'
1447  -n, --no-create         do not create output files
1448      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1449
1450Installation directories:
1451  --prefix=PREFIX         install architecture-independent files in PREFIX
1452                          [$ac_default_prefix]
1453  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1454                          [PREFIX]
1455
1456By default, \`make install' will install all the files in
1457\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1458an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1459for instance \`--prefix=\$HOME'.
1460
1461For better control, use the options below.
1462
1463Fine tuning of the installation directories:
1464  --bindir=DIR            user executables [EPREFIX/bin]
1465  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1466  --libexecdir=DIR        program executables [EPREFIX/libexec]
1467  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1468  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1469  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1470  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1471  --libdir=DIR            object code libraries [EPREFIX/lib]
1472  --includedir=DIR        C header files [PREFIX/include]
1473  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1474  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1475  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1476  --infodir=DIR           info documentation [DATAROOTDIR/info]
1477  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1478  --mandir=DIR            man documentation [DATAROOTDIR/man]
1479  --docdir=DIR            documentation root [DATAROOTDIR/doc/xneur]
1480  --htmldir=DIR           html documentation [DOCDIR]
1481  --dvidir=DIR            dvi documentation [DOCDIR]
1482  --pdfdir=DIR            pdf documentation [DOCDIR]
1483  --psdir=DIR             ps documentation [DOCDIR]
1484_ACEOF
1485
1486  cat <<\_ACEOF
1487
1488Program names:
1489  --program-prefix=PREFIX            prepend PREFIX to installed program names
1490  --program-suffix=SUFFIX            append SUFFIX to installed program names
1491  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1492
1493X features:
1494  --x-includes=DIR    X include files are in DIR
1495  --x-libraries=DIR   X library files are in DIR
1496
1497System types:
1498  --build=BUILD     configure for building on BUILD [guessed]
1499  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1500_ACEOF
1501fi
1502
1503if test -n "$ac_init_help"; then
1504  case $ac_init_help in
1505     short | recursive ) echo "Configuration of xneur 0.20.0:";;
1506   esac
1507  cat <<\_ACEOF
1508
1509Optional Features:
1510  --disable-option-checking  ignore unrecognized --enable/--with options
1511  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1512  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1513  --enable-silent-rules   less verbose build output (undo: "make V=1")
1514  --disable-silent-rules  verbose build output (undo: "make V=0")
1515  --enable-dependency-tracking
1516                          do not reject slow dependency extractors
1517  --disable-dependency-tracking
1518                          speeds up one-time build
1519  --disable-nls           do not use Native Language Support
1520  --enable-shared[=PKGS]  build shared libraries [default=yes]
1521  --enable-static[=PKGS]  build static libraries [default=yes]
1522  --enable-fast-install[=PKGS]
1523                          optimize for fast installation [default=yes]
1524  --disable-libtool-lock  avoid locking (might break parallel builds)
1525
1526Optional Packages:
1527  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1528  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1529  --with-x                use the X Window System
1530  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1531                          both]
1532  --with-aix-soname=aix|svr4|both
1533                          shared library versioning (aka "SONAME") variant to
1534                          provide on AIX, [default=aix].
1535  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1536  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1537                          compiler's sysroot if not specified).
1538  --with-sound[=ARG]	  Compile with sound support ARG=[yes|no|gstreamer|openal|aplay] [default=yes]
1539  --with-debug		  Compile with debug support
1540  --without-keylogger	  Compile without keylogger function
1541  --with-spell[=ARG]	  Compile with sound support ARG=[yes|no|enchant|aspell] [default=yes]
1542  --without-aspell	  Compile without aspell support
1543  --without-xosd	  Compile without xosd support
1544  --without-libnotify	  Compile without libnotify message support
1545  --with-gtk[=ARG]	  Compile with additional GTK support ARG=[yes|no|gtk2|gtk3] [default=no]
1546  --without-plugins	  Compile without plugins support
1547
1548Some influential environment variables:
1549  CC          C compiler command
1550  CFLAGS      C compiler flags
1551  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1552              nonstandard directory <lib dir>
1553  LIBS        libraries to pass to the linker, e.g. -l<library>
1554  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1555              you have headers in a nonstandard directory <include dir>
1556  XMKMF       Path to xmkmf, Makefile generator for X Window System
1557  CPP         C preprocessor
1558  LT_SYS_LIBRARY_PATH
1559              User-defined run-time library search path.
1560  PKG_CONFIG  path to pkg-config utility
1561  X11_CFLAGS  C compiler flags for X11, overriding pkg-config
1562  X11_LIBS    linker flags for X11, overriding pkg-config
1563  Xi_CFLAGS   C compiler flags for Xi, overriding pkg-config
1564  Xi_LIBS     linker flags for Xi, overriding pkg-config
1565  GSTREAMER_CFLAGS
1566              C compiler flags for GSTREAMER, overriding pkg-config
1567  GSTREAMER_LIBS
1568              linker flags for GSTREAMER, overriding pkg-config
1569  FREEALUT_CFLAGS
1570              C compiler flags for FREEALUT, overriding pkg-config
1571  FREEALUT_LIBS
1572              linker flags for FREEALUT, overriding pkg-config
1573  PCRE_CFLAGS C compiler flags for PCRE, overriding pkg-config
1574  PCRE_LIBS   linker flags for PCRE, overriding pkg-config
1575  ENCHANT_CFLAGS
1576              C compiler flags for ENCHANT, overriding pkg-config
1577  ENCHANT_LIBS
1578              linker flags for ENCHANT, overriding pkg-config
1579  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1580  GTK_LIBS    linker flags for GTK, overriding pkg-config
1581  LIBNOTIFY_CFLAGS
1582              C compiler flags for LIBNOTIFY, overriding pkg-config
1583  LIBNOTIFY_LIBS
1584              linker flags for LIBNOTIFY, overriding pkg-config
1585
1586Use these variables to override the choices made by `configure' or to help
1587it to find libraries and programs with nonstandard names/locations.
1588
1589Report bugs to the package provider.
1590_ACEOF
1591ac_status=$?
1592fi
1593
1594if test "$ac_init_help" = "recursive"; then
1595  # If there are subdirs, report their specific --help.
1596  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1597    test -d "$ac_dir" ||
1598      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1599      continue
1600    ac_builddir=.
1601
1602case "$ac_dir" in
1603.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1604*)
1605  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1606  # A ".." for each directory in $ac_dir_suffix.
1607  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1608  case $ac_top_builddir_sub in
1609  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1610  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1611  esac ;;
1612esac
1613ac_abs_top_builddir=$ac_pwd
1614ac_abs_builddir=$ac_pwd$ac_dir_suffix
1615# for backward compatibility:
1616ac_top_builddir=$ac_top_build_prefix
1617
1618case $srcdir in
1619  .)  # We are building in place.
1620    ac_srcdir=.
1621    ac_top_srcdir=$ac_top_builddir_sub
1622    ac_abs_top_srcdir=$ac_pwd ;;
1623  [\\/]* | ?:[\\/]* )  # Absolute name.
1624    ac_srcdir=$srcdir$ac_dir_suffix;
1625    ac_top_srcdir=$srcdir
1626    ac_abs_top_srcdir=$srcdir ;;
1627  *) # Relative name.
1628    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1629    ac_top_srcdir=$ac_top_build_prefix$srcdir
1630    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1631esac
1632ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1633
1634    cd "$ac_dir" || { ac_status=$?; continue; }
1635    # Check for guested configure.
1636    if test -f "$ac_srcdir/configure.gnu"; then
1637      echo &&
1638      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1639    elif test -f "$ac_srcdir/configure"; then
1640      echo &&
1641      $SHELL "$ac_srcdir/configure" --help=recursive
1642    else
1643      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1644    fi || ac_status=$?
1645    cd "$ac_pwd" || { ac_status=$?; break; }
1646  done
1647fi
1648
1649test -n "$ac_init_help" && exit $ac_status
1650if $ac_init_version; then
1651  cat <<\_ACEOF
1652xneur configure 0.20.0
1653generated by GNU Autoconf 2.69
1654
1655Copyright (C) 2012 Free Software Foundation, Inc.
1656This configure script is free software; the Free Software Foundation
1657gives unlimited permission to copy, distribute and modify it.
1658_ACEOF
1659  exit
1660fi
1661
1662## ------------------------ ##
1663## Autoconf initialization. ##
1664## ------------------------ ##
1665
1666# ac_fn_c_try_compile LINENO
1667# --------------------------
1668# Try to compile conftest.$ac_ext, and return whether this succeeded.
1669ac_fn_c_try_compile ()
1670{
1671  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672  rm -f conftest.$ac_objext
1673  if { { ac_try="$ac_compile"
1674case "(($ac_try" in
1675  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1676  *) ac_try_echo=$ac_try;;
1677esac
1678eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679$as_echo "$ac_try_echo"; } >&5
1680  (eval "$ac_compile") 2>conftest.err
1681  ac_status=$?
1682  if test -s conftest.err; then
1683    grep -v '^ *+' conftest.err >conftest.er1
1684    cat conftest.er1 >&5
1685    mv -f conftest.er1 conftest.err
1686  fi
1687  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688  test $ac_status = 0; } && {
1689	 test -z "$ac_c_werror_flag" ||
1690	 test ! -s conftest.err
1691       } && test -s conftest.$ac_objext; then :
1692  ac_retval=0
1693else
1694  $as_echo "$as_me: failed program was:" >&5
1695sed 's/^/| /' conftest.$ac_ext >&5
1696
1697	ac_retval=1
1698fi
1699  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700  as_fn_set_status $ac_retval
1701
1702} # ac_fn_c_try_compile
1703
1704# ac_fn_c_try_cpp LINENO
1705# ----------------------
1706# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1707ac_fn_c_try_cpp ()
1708{
1709  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710  if { { ac_try="$ac_cpp conftest.$ac_ext"
1711case "(($ac_try" in
1712  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713  *) ac_try_echo=$ac_try;;
1714esac
1715eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716$as_echo "$ac_try_echo"; } >&5
1717  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1718  ac_status=$?
1719  if test -s conftest.err; then
1720    grep -v '^ *+' conftest.err >conftest.er1
1721    cat conftest.er1 >&5
1722    mv -f conftest.er1 conftest.err
1723  fi
1724  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725  test $ac_status = 0; } > conftest.i && {
1726	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1727	 test ! -s conftest.err
1728       }; then :
1729  ac_retval=0
1730else
1731  $as_echo "$as_me: failed program was:" >&5
1732sed 's/^/| /' conftest.$ac_ext >&5
1733
1734    ac_retval=1
1735fi
1736  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737  as_fn_set_status $ac_retval
1738
1739} # ac_fn_c_try_cpp
1740
1741# ac_fn_c_try_link LINENO
1742# -----------------------
1743# Try to link conftest.$ac_ext, and return whether this succeeded.
1744ac_fn_c_try_link ()
1745{
1746  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747  rm -f conftest.$ac_objext conftest$ac_exeext
1748  if { { ac_try="$ac_link"
1749case "(($ac_try" in
1750  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1751  *) ac_try_echo=$ac_try;;
1752esac
1753eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754$as_echo "$ac_try_echo"; } >&5
1755  (eval "$ac_link") 2>conftest.err
1756  ac_status=$?
1757  if test -s conftest.err; then
1758    grep -v '^ *+' conftest.err >conftest.er1
1759    cat conftest.er1 >&5
1760    mv -f conftest.er1 conftest.err
1761  fi
1762  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1763  test $ac_status = 0; } && {
1764	 test -z "$ac_c_werror_flag" ||
1765	 test ! -s conftest.err
1766       } && test -s conftest$ac_exeext && {
1767	 test "$cross_compiling" = yes ||
1768	 test -x conftest$ac_exeext
1769       }; then :
1770  ac_retval=0
1771else
1772  $as_echo "$as_me: failed program was:" >&5
1773sed 's/^/| /' conftest.$ac_ext >&5
1774
1775	ac_retval=1
1776fi
1777  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1778  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1779  # interfere with the next link command; also delete a directory that is
1780  # left behind by Apple's compiler.  We do this before executing the actions.
1781  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1782  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783  as_fn_set_status $ac_retval
1784
1785} # ac_fn_c_try_link
1786
1787# ac_fn_c_check_func LINENO FUNC VAR
1788# ----------------------------------
1789# Tests whether FUNC exists, setting the cache variable VAR accordingly
1790ac_fn_c_check_func ()
1791{
1792  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1794$as_echo_n "checking for $2... " >&6; }
1795if eval \${$3+:} false; then :
1796  $as_echo_n "(cached) " >&6
1797else
1798  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1799/* end confdefs.h.  */
1800/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1801   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1802#define $2 innocuous_$2
1803
1804/* System header to define __stub macros and hopefully few prototypes,
1805    which can conflict with char $2 (); below.
1806    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1807    <limits.h> exists even on freestanding compilers.  */
1808
1809#ifdef __STDC__
1810# include <limits.h>
1811#else
1812# include <assert.h>
1813#endif
1814
1815#undef $2
1816
1817/* Override any GCC internal prototype to avoid an error.
1818   Use char because int might match the return type of a GCC
1819   builtin and then its argument prototype would still apply.  */
1820#ifdef __cplusplus
1821extern "C"
1822#endif
1823char $2 ();
1824/* The GNU C library defines this for functions which it implements
1825    to always fail with ENOSYS.  Some functions are actually named
1826    something starting with __ and the normal name is an alias.  */
1827#if defined __stub_$2 || defined __stub___$2
1828choke me
1829#endif
1830
1831int
1832main ()
1833{
1834return $2 ();
1835  ;
1836  return 0;
1837}
1838_ACEOF
1839if ac_fn_c_try_link "$LINENO"; then :
1840  eval "$3=yes"
1841else
1842  eval "$3=no"
1843fi
1844rm -f core conftest.err conftest.$ac_objext \
1845    conftest$ac_exeext conftest.$ac_ext
1846fi
1847eval ac_res=\$$3
1848	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1849$as_echo "$ac_res" >&6; }
1850  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851
1852} # ac_fn_c_check_func
1853
1854# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1855# -------------------------------------------------------
1856# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1857# the include files in INCLUDES and setting the cache variable VAR
1858# accordingly.
1859ac_fn_c_check_header_mongrel ()
1860{
1861  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862  if eval \${$3+:} false; then :
1863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1864$as_echo_n "checking for $2... " >&6; }
1865if eval \${$3+:} false; then :
1866  $as_echo_n "(cached) " >&6
1867fi
1868eval ac_res=\$$3
1869	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870$as_echo "$ac_res" >&6; }
1871else
1872  # Is the header compilable?
1873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1874$as_echo_n "checking $2 usability... " >&6; }
1875cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876/* end confdefs.h.  */
1877$4
1878#include <$2>
1879_ACEOF
1880if ac_fn_c_try_compile "$LINENO"; then :
1881  ac_header_compiler=yes
1882else
1883  ac_header_compiler=no
1884fi
1885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1887$as_echo "$ac_header_compiler" >&6; }
1888
1889# Is the header present?
1890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1891$as_echo_n "checking $2 presence... " >&6; }
1892cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893/* end confdefs.h.  */
1894#include <$2>
1895_ACEOF
1896if ac_fn_c_try_cpp "$LINENO"; then :
1897  ac_header_preproc=yes
1898else
1899  ac_header_preproc=no
1900fi
1901rm -f conftest.err conftest.i conftest.$ac_ext
1902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1903$as_echo "$ac_header_preproc" >&6; }
1904
1905# So?  What about this header?
1906case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1907  yes:no: )
1908    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1909$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1910    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1911$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1912    ;;
1913  no:yes:* )
1914    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1915$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1916    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1917$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1918    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1919$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1920    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1921$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1922    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1923$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1924    ;;
1925esac
1926  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1927$as_echo_n "checking for $2... " >&6; }
1928if eval \${$3+:} false; then :
1929  $as_echo_n "(cached) " >&6
1930else
1931  eval "$3=\$ac_header_compiler"
1932fi
1933eval ac_res=\$$3
1934	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935$as_echo "$ac_res" >&6; }
1936fi
1937  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938
1939} # ac_fn_c_check_header_mongrel
1940
1941# ac_fn_c_try_run LINENO
1942# ----------------------
1943# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1944# that executables *can* be run.
1945ac_fn_c_try_run ()
1946{
1947  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948  if { { ac_try="$ac_link"
1949case "(($ac_try" in
1950  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1951  *) ac_try_echo=$ac_try;;
1952esac
1953eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1954$as_echo "$ac_try_echo"; } >&5
1955  (eval "$ac_link") 2>&5
1956  ac_status=$?
1957  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1958  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1959  { { case "(($ac_try" in
1960  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1961  *) ac_try_echo=$ac_try;;
1962esac
1963eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964$as_echo "$ac_try_echo"; } >&5
1965  (eval "$ac_try") 2>&5
1966  ac_status=$?
1967  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968  test $ac_status = 0; }; }; then :
1969  ac_retval=0
1970else
1971  $as_echo "$as_me: program exited with status $ac_status" >&5
1972       $as_echo "$as_me: failed program was:" >&5
1973sed 's/^/| /' conftest.$ac_ext >&5
1974
1975       ac_retval=$ac_status
1976fi
1977  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1978  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1979  as_fn_set_status $ac_retval
1980
1981} # ac_fn_c_try_run
1982
1983# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1984# -------------------------------------------------------
1985# Tests whether HEADER exists and can be compiled using the include files in
1986# INCLUDES, setting the cache variable VAR accordingly.
1987ac_fn_c_check_header_compile ()
1988{
1989  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1991$as_echo_n "checking for $2... " >&6; }
1992if eval \${$3+:} false; then :
1993  $as_echo_n "(cached) " >&6
1994else
1995  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996/* end confdefs.h.  */
1997$4
1998#include <$2>
1999_ACEOF
2000if ac_fn_c_try_compile "$LINENO"; then :
2001  eval "$3=yes"
2002else
2003  eval "$3=no"
2004fi
2005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006fi
2007eval ac_res=\$$3
2008	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009$as_echo "$ac_res" >&6; }
2010  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2011
2012} # ac_fn_c_check_header_compile
2013cat >config.log <<_ACEOF
2014This file contains any messages produced by compilers while
2015running configure, to aid debugging if configure makes a mistake.
2016
2017It was created by xneur $as_me 0.20.0, which was
2018generated by GNU Autoconf 2.69.  Invocation command line was
2019
2020  $ $0 $@
2021
2022_ACEOF
2023exec 5>>config.log
2024{
2025cat <<_ASUNAME
2026## --------- ##
2027## Platform. ##
2028## --------- ##
2029
2030hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2031uname -m = `(uname -m) 2>/dev/null || echo unknown`
2032uname -r = `(uname -r) 2>/dev/null || echo unknown`
2033uname -s = `(uname -s) 2>/dev/null || echo unknown`
2034uname -v = `(uname -v) 2>/dev/null || echo unknown`
2035
2036/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2037/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2038
2039/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2040/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2041/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2042/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2043/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2044/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2045/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2046
2047_ASUNAME
2048
2049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050for as_dir in $PATH
2051do
2052  IFS=$as_save_IFS
2053  test -z "$as_dir" && as_dir=.
2054    $as_echo "PATH: $as_dir"
2055  done
2056IFS=$as_save_IFS
2057
2058} >&5
2059
2060cat >&5 <<_ACEOF
2061
2062
2063## ----------- ##
2064## Core tests. ##
2065## ----------- ##
2066
2067_ACEOF
2068
2069
2070# Keep a trace of the command line.
2071# Strip out --no-create and --no-recursion so they do not pile up.
2072# Strip out --silent because we don't want to record it for future runs.
2073# Also quote any args containing shell meta-characters.
2074# Make two passes to allow for proper duplicate-argument suppression.
2075ac_configure_args=
2076ac_configure_args0=
2077ac_configure_args1=
2078ac_must_keep_next=false
2079for ac_pass in 1 2
2080do
2081  for ac_arg
2082  do
2083    case $ac_arg in
2084    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2085    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2086    | -silent | --silent | --silen | --sile | --sil)
2087      continue ;;
2088    *\'*)
2089      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2090    esac
2091    case $ac_pass in
2092    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2093    2)
2094      as_fn_append ac_configure_args1 " '$ac_arg'"
2095      if test $ac_must_keep_next = true; then
2096	ac_must_keep_next=false # Got value, back to normal.
2097      else
2098	case $ac_arg in
2099	  *=* | --config-cache | -C | -disable-* | --disable-* \
2100	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2101	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2102	  | -with-* | --with-* | -without-* | --without-* | --x)
2103	    case "$ac_configure_args0 " in
2104	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2105	    esac
2106	    ;;
2107	  -* ) ac_must_keep_next=true ;;
2108	esac
2109      fi
2110      as_fn_append ac_configure_args " '$ac_arg'"
2111      ;;
2112    esac
2113  done
2114done
2115{ ac_configure_args0=; unset ac_configure_args0;}
2116{ ac_configure_args1=; unset ac_configure_args1;}
2117
2118# When interrupted or exit'd, cleanup temporary files, and complete
2119# config.log.  We remove comments because anyway the quotes in there
2120# would cause problems or look ugly.
2121# WARNING: Use '\'' to represent an apostrophe within the trap.
2122# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2123trap 'exit_status=$?
2124  # Save into config.log some information that might help in debugging.
2125  {
2126    echo
2127
2128    $as_echo "## ---------------- ##
2129## Cache variables. ##
2130## ---------------- ##"
2131    echo
2132    # The following way of writing the cache mishandles newlines in values,
2133(
2134  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2135    eval ac_val=\$$ac_var
2136    case $ac_val in #(
2137    *${as_nl}*)
2138      case $ac_var in #(
2139      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2140$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2141      esac
2142      case $ac_var in #(
2143      _ | IFS | as_nl) ;; #(
2144      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2145      *) { eval $ac_var=; unset $ac_var;} ;;
2146      esac ;;
2147    esac
2148  done
2149  (set) 2>&1 |
2150    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2151    *${as_nl}ac_space=\ *)
2152      sed -n \
2153	"s/'\''/'\''\\\\'\'''\''/g;
2154	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2155      ;; #(
2156    *)
2157      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2158      ;;
2159    esac |
2160    sort
2161)
2162    echo
2163
2164    $as_echo "## ----------------- ##
2165## Output variables. ##
2166## ----------------- ##"
2167    echo
2168    for ac_var in $ac_subst_vars
2169    do
2170      eval ac_val=\$$ac_var
2171      case $ac_val in
2172      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173      esac
2174      $as_echo "$ac_var='\''$ac_val'\''"
2175    done | sort
2176    echo
2177
2178    if test -n "$ac_subst_files"; then
2179      $as_echo "## ------------------- ##
2180## File substitutions. ##
2181## ------------------- ##"
2182      echo
2183      for ac_var in $ac_subst_files
2184      do
2185	eval ac_val=\$$ac_var
2186	case $ac_val in
2187	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188	esac
2189	$as_echo "$ac_var='\''$ac_val'\''"
2190      done | sort
2191      echo
2192    fi
2193
2194    if test -s confdefs.h; then
2195      $as_echo "## ----------- ##
2196## confdefs.h. ##
2197## ----------- ##"
2198      echo
2199      cat confdefs.h
2200      echo
2201    fi
2202    test "$ac_signal" != 0 &&
2203      $as_echo "$as_me: caught signal $ac_signal"
2204    $as_echo "$as_me: exit $exit_status"
2205  } >&5
2206  rm -f core *.core core.conftest.* &&
2207    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2208    exit $exit_status
2209' 0
2210for ac_signal in 1 2 13 15; do
2211  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2212done
2213ac_signal=0
2214
2215# confdefs.h avoids OS command line length limits that DEFS can exceed.
2216rm -f -r conftest* confdefs.h
2217
2218$as_echo "/* confdefs.h */" > confdefs.h
2219
2220# Predefined preprocessor variables.
2221
2222cat >>confdefs.h <<_ACEOF
2223#define PACKAGE_NAME "$PACKAGE_NAME"
2224_ACEOF
2225
2226cat >>confdefs.h <<_ACEOF
2227#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228_ACEOF
2229
2230cat >>confdefs.h <<_ACEOF
2231#define PACKAGE_VERSION "$PACKAGE_VERSION"
2232_ACEOF
2233
2234cat >>confdefs.h <<_ACEOF
2235#define PACKAGE_STRING "$PACKAGE_STRING"
2236_ACEOF
2237
2238cat >>confdefs.h <<_ACEOF
2239#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2240_ACEOF
2241
2242cat >>confdefs.h <<_ACEOF
2243#define PACKAGE_URL "$PACKAGE_URL"
2244_ACEOF
2245
2246
2247# Let the site file select an alternate cache file if it wants to.
2248# Prefer an explicitly selected file to automatically selected ones.
2249ac_site_file1=NONE
2250ac_site_file2=NONE
2251if test -n "$CONFIG_SITE"; then
2252  # We do not want a PATH search for config.site.
2253  case $CONFIG_SITE in #((
2254    -*)  ac_site_file1=./$CONFIG_SITE;;
2255    */*) ac_site_file1=$CONFIG_SITE;;
2256    *)   ac_site_file1=./$CONFIG_SITE;;
2257  esac
2258elif test "x$prefix" != xNONE; then
2259  ac_site_file1=$prefix/share/config.site
2260  ac_site_file2=$prefix/etc/config.site
2261else
2262  ac_site_file1=$ac_default_prefix/share/config.site
2263  ac_site_file2=$ac_default_prefix/etc/config.site
2264fi
2265for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2266do
2267  test "x$ac_site_file" = xNONE && continue
2268  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2269    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2270$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2271    sed 's/^/| /' "$ac_site_file" >&5
2272    . "$ac_site_file" \
2273      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2274$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2275as_fn_error $? "failed to load site script $ac_site_file
2276See \`config.log' for more details" "$LINENO" 5; }
2277  fi
2278done
2279
2280if test -r "$cache_file"; then
2281  # Some versions of bash will fail to source /dev/null (special files
2282  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2283  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2284    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2285$as_echo "$as_me: loading cache $cache_file" >&6;}
2286    case $cache_file in
2287      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2288      *)                      . "./$cache_file";;
2289    esac
2290  fi
2291else
2292  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2293$as_echo "$as_me: creating cache $cache_file" >&6;}
2294  >$cache_file
2295fi
2296
2297# Check that the precious variables saved in the cache have kept the same
2298# value.
2299ac_cache_corrupted=false
2300for ac_var in $ac_precious_vars; do
2301  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2302  eval ac_new_set=\$ac_env_${ac_var}_set
2303  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2304  eval ac_new_val=\$ac_env_${ac_var}_value
2305  case $ac_old_set,$ac_new_set in
2306    set,)
2307      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2308$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2309      ac_cache_corrupted=: ;;
2310    ,set)
2311      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2312$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2313      ac_cache_corrupted=: ;;
2314    ,);;
2315    *)
2316      if test "x$ac_old_val" != "x$ac_new_val"; then
2317	# differences in whitespace do not lead to failure.
2318	ac_old_val_w=`echo x $ac_old_val`
2319	ac_new_val_w=`echo x $ac_new_val`
2320	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2321	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2322$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2323	  ac_cache_corrupted=:
2324	else
2325	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2326$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2327	  eval $ac_var=\$ac_old_val
2328	fi
2329	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2330$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2331	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2332$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2333      fi;;
2334  esac
2335  # Pass precious variables to config.status.
2336  if test "$ac_new_set" = set; then
2337    case $ac_new_val in
2338    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2339    *) ac_arg=$ac_var=$ac_new_val ;;
2340    esac
2341    case " $ac_configure_args " in
2342      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2343      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2344    esac
2345  fi
2346done
2347if $ac_cache_corrupted; then
2348  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2351$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2352  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2353fi
2354## -------------------- ##
2355## Main body of script. ##
2356## -------------------- ##
2357
2358ac_ext=c
2359ac_cpp='$CPP $CPPFLAGS'
2360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362ac_compiler_gnu=$ac_cv_c_compiler_gnu
2363
2364
2365
2366ac_config_headers="$ac_config_headers config.h"
2367
2368
2369am__api_version='1.15'
2370
2371ac_aux_dir=
2372for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2373  if test -f "$ac_dir/install-sh"; then
2374    ac_aux_dir=$ac_dir
2375    ac_install_sh="$ac_aux_dir/install-sh -c"
2376    break
2377  elif test -f "$ac_dir/install.sh"; then
2378    ac_aux_dir=$ac_dir
2379    ac_install_sh="$ac_aux_dir/install.sh -c"
2380    break
2381  elif test -f "$ac_dir/shtool"; then
2382    ac_aux_dir=$ac_dir
2383    ac_install_sh="$ac_aux_dir/shtool install -c"
2384    break
2385  fi
2386done
2387if test -z "$ac_aux_dir"; then
2388  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2389fi
2390
2391# These three variables are undocumented and unsupported,
2392# and are intended to be withdrawn in a future Autoconf release.
2393# They can cause serious problems if a builder's source tree is in a directory
2394# whose full name contains unusual characters.
2395ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2396ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2397ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2398
2399
2400# Find a good install program.  We prefer a C program (faster),
2401# so one script is as good as another.  But avoid the broken or
2402# incompatible versions:
2403# SysV /etc/install, /usr/sbin/install
2404# SunOS /usr/etc/install
2405# IRIX /sbin/install
2406# AIX /bin/install
2407# AmigaOS /C/install, which installs bootblocks on floppy discs
2408# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2409# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2410# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2411# OS/2's system install, which has a completely different semantic
2412# ./install, which can be erroneously created by make from ./install.sh.
2413# Reject install programs that cannot install multiple files.
2414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2415$as_echo_n "checking for a BSD-compatible install... " >&6; }
2416if test -z "$INSTALL"; then
2417if ${ac_cv_path_install+:} false; then :
2418  $as_echo_n "(cached) " >&6
2419else
2420  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2421for as_dir in $PATH
2422do
2423  IFS=$as_save_IFS
2424  test -z "$as_dir" && as_dir=.
2425    # Account for people who put trailing slashes in PATH elements.
2426case $as_dir/ in #((
2427  ./ | .// | /[cC]/* | \
2428  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2429  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2430  /usr/ucb/* ) ;;
2431  *)
2432    # OSF1 and SCO ODT 3.0 have their own names for install.
2433    # Don't use installbsd from OSF since it installs stuff as root
2434    # by default.
2435    for ac_prog in ginstall scoinst install; do
2436      for ac_exec_ext in '' $ac_executable_extensions; do
2437	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2438	  if test $ac_prog = install &&
2439	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2440	    # AIX install.  It has an incompatible calling convention.
2441	    :
2442	  elif test $ac_prog = install &&
2443	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2444	    # program-specific install script used by HP pwplus--don't use.
2445	    :
2446	  else
2447	    rm -rf conftest.one conftest.two conftest.dir
2448	    echo one > conftest.one
2449	    echo two > conftest.two
2450	    mkdir conftest.dir
2451	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2452	      test -s conftest.one && test -s conftest.two &&
2453	      test -s conftest.dir/conftest.one &&
2454	      test -s conftest.dir/conftest.two
2455	    then
2456	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2457	      break 3
2458	    fi
2459	  fi
2460	fi
2461      done
2462    done
2463    ;;
2464esac
2465
2466  done
2467IFS=$as_save_IFS
2468
2469rm -rf conftest.one conftest.two conftest.dir
2470
2471fi
2472  if test "${ac_cv_path_install+set}" = set; then
2473    INSTALL=$ac_cv_path_install
2474  else
2475    # As a last resort, use the slow shell script.  Don't cache a
2476    # value for INSTALL within a source directory, because that will
2477    # break other packages using the cache if that directory is
2478    # removed, or if the value is a relative name.
2479    INSTALL=$ac_install_sh
2480  fi
2481fi
2482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2483$as_echo "$INSTALL" >&6; }
2484
2485# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2486# It thinks the first close brace ends the variable substitution.
2487test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2488
2489test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2490
2491test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2492
2493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2494$as_echo_n "checking whether build environment is sane... " >&6; }
2495# Reject unsafe characters in $srcdir or the absolute working directory
2496# name.  Accept space and tab only in the latter.
2497am_lf='
2498'
2499case `pwd` in
2500  *[\\\"\#\$\&\'\`$am_lf]*)
2501    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2502esac
2503case $srcdir in
2504  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2505    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2506esac
2507
2508# Do 'set' in a subshell so we don't clobber the current shell's
2509# arguments.  Must try -L first in case configure is actually a
2510# symlink; some systems play weird games with the mod time of symlinks
2511# (eg FreeBSD returns the mod time of the symlink's containing
2512# directory).
2513if (
2514   am_has_slept=no
2515   for am_try in 1 2; do
2516     echo "timestamp, slept: $am_has_slept" > conftest.file
2517     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2518     if test "$*" = "X"; then
2519	# -L didn't work.
2520	set X `ls -t "$srcdir/configure" conftest.file`
2521     fi
2522     if test "$*" != "X $srcdir/configure conftest.file" \
2523	&& test "$*" != "X conftest.file $srcdir/configure"; then
2524
2525	# If neither matched, then we have a broken ls.  This can happen
2526	# if, for instance, CONFIG_SHELL is bash and it inherits a
2527	# broken ls alias from the environment.  This has actually
2528	# happened.  Such a system could not be considered "sane".
2529	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2530  alias in your environment" "$LINENO" 5
2531     fi
2532     if test "$2" = conftest.file || test $am_try -eq 2; then
2533       break
2534     fi
2535     # Just in case.
2536     sleep 1
2537     am_has_slept=yes
2538   done
2539   test "$2" = conftest.file
2540   )
2541then
2542   # Ok.
2543   :
2544else
2545   as_fn_error $? "newly created file is older than distributed files!
2546Check your system clock" "$LINENO" 5
2547fi
2548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2549$as_echo "yes" >&6; }
2550# If we didn't sleep, we still need to ensure time stamps of config.status and
2551# generated files are strictly newer.
2552am_sleep_pid=
2553if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2554  ( sleep 1 ) &
2555  am_sleep_pid=$!
2556fi
2557
2558rm -f conftest.file
2559
2560test "$program_prefix" != NONE &&
2561  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2562# Use a double $ so make ignores it.
2563test "$program_suffix" != NONE &&
2564  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2565# Double any \ or $.
2566# By default was `s,x,x', remove it if useless.
2567ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2568program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2569
2570# Expand $ac_aux_dir to an absolute path.
2571am_aux_dir=`cd "$ac_aux_dir" && pwd`
2572
2573if test x"${MISSING+set}" != xset; then
2574  case $am_aux_dir in
2575  *\ * | *\	*)
2576    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2577  *)
2578    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2579  esac
2580fi
2581# Use eval to expand $SHELL
2582if eval "$MISSING --is-lightweight"; then
2583  am_missing_run="$MISSING "
2584else
2585  am_missing_run=
2586  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2587$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2588fi
2589
2590if test x"${install_sh+set}" != xset; then
2591  case $am_aux_dir in
2592  *\ * | *\	*)
2593    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2594  *)
2595    install_sh="\${SHELL} $am_aux_dir/install-sh"
2596  esac
2597fi
2598
2599# Installed binaries are usually stripped using 'strip' when the user
2600# run "make install-strip".  However 'strip' might not be the right
2601# tool to use in cross-compilation environments, therefore Automake
2602# will honor the 'STRIP' environment variable to overrule this program.
2603if test "$cross_compiling" != no; then
2604  if test -n "$ac_tool_prefix"; then
2605  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2606set dummy ${ac_tool_prefix}strip; ac_word=$2
2607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2608$as_echo_n "checking for $ac_word... " >&6; }
2609if ${ac_cv_prog_STRIP+:} false; then :
2610  $as_echo_n "(cached) " >&6
2611else
2612  if test -n "$STRIP"; then
2613  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2614else
2615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616for as_dir in $PATH
2617do
2618  IFS=$as_save_IFS
2619  test -z "$as_dir" && as_dir=.
2620    for ac_exec_ext in '' $ac_executable_extensions; do
2621  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2622    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2623    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2624    break 2
2625  fi
2626done
2627  done
2628IFS=$as_save_IFS
2629
2630fi
2631fi
2632STRIP=$ac_cv_prog_STRIP
2633if test -n "$STRIP"; then
2634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2635$as_echo "$STRIP" >&6; }
2636else
2637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2638$as_echo "no" >&6; }
2639fi
2640
2641
2642fi
2643if test -z "$ac_cv_prog_STRIP"; then
2644  ac_ct_STRIP=$STRIP
2645  # Extract the first word of "strip", so it can be a program name with args.
2646set dummy strip; ac_word=$2
2647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648$as_echo_n "checking for $ac_word... " >&6; }
2649if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2650  $as_echo_n "(cached) " >&6
2651else
2652  if test -n "$ac_ct_STRIP"; then
2653  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2654else
2655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656for as_dir in $PATH
2657do
2658  IFS=$as_save_IFS
2659  test -z "$as_dir" && as_dir=.
2660    for ac_exec_ext in '' $ac_executable_extensions; do
2661  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2662    ac_cv_prog_ac_ct_STRIP="strip"
2663    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2664    break 2
2665  fi
2666done
2667  done
2668IFS=$as_save_IFS
2669
2670fi
2671fi
2672ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2673if test -n "$ac_ct_STRIP"; then
2674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2675$as_echo "$ac_ct_STRIP" >&6; }
2676else
2677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678$as_echo "no" >&6; }
2679fi
2680
2681  if test "x$ac_ct_STRIP" = x; then
2682    STRIP=":"
2683  else
2684    case $cross_compiling:$ac_tool_warned in
2685yes:)
2686{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2687$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2688ac_tool_warned=yes ;;
2689esac
2690    STRIP=$ac_ct_STRIP
2691  fi
2692else
2693  STRIP="$ac_cv_prog_STRIP"
2694fi
2695
2696fi
2697INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2698
2699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2700$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2701if test -z "$MKDIR_P"; then
2702  if ${ac_cv_path_mkdir+:} false; then :
2703  $as_echo_n "(cached) " >&6
2704else
2705  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2707do
2708  IFS=$as_save_IFS
2709  test -z "$as_dir" && as_dir=.
2710    for ac_prog in mkdir gmkdir; do
2711	 for ac_exec_ext in '' $ac_executable_extensions; do
2712	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2713	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2714	     'mkdir (GNU coreutils) '* | \
2715	     'mkdir (coreutils) '* | \
2716	     'mkdir (fileutils) '4.1*)
2717	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2718	       break 3;;
2719	   esac
2720	 done
2721       done
2722  done
2723IFS=$as_save_IFS
2724
2725fi
2726
2727  test -d ./--version && rmdir ./--version
2728  if test "${ac_cv_path_mkdir+set}" = set; then
2729    MKDIR_P="$ac_cv_path_mkdir -p"
2730  else
2731    # As a last resort, use the slow shell script.  Don't cache a
2732    # value for MKDIR_P within a source directory, because that will
2733    # break other packages using the cache if that directory is
2734    # removed, or if the value is a relative name.
2735    MKDIR_P="$ac_install_sh -d"
2736  fi
2737fi
2738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2739$as_echo "$MKDIR_P" >&6; }
2740
2741for ac_prog in gawk mawk nawk awk
2742do
2743  # Extract the first word of "$ac_prog", so it can be a program name with args.
2744set dummy $ac_prog; ac_word=$2
2745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2746$as_echo_n "checking for $ac_word... " >&6; }
2747if ${ac_cv_prog_AWK+:} false; then :
2748  $as_echo_n "(cached) " >&6
2749else
2750  if test -n "$AWK"; then
2751  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2752else
2753as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754for as_dir in $PATH
2755do
2756  IFS=$as_save_IFS
2757  test -z "$as_dir" && as_dir=.
2758    for ac_exec_ext in '' $ac_executable_extensions; do
2759  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2760    ac_cv_prog_AWK="$ac_prog"
2761    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2762    break 2
2763  fi
2764done
2765  done
2766IFS=$as_save_IFS
2767
2768fi
2769fi
2770AWK=$ac_cv_prog_AWK
2771if test -n "$AWK"; then
2772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2773$as_echo "$AWK" >&6; }
2774else
2775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2776$as_echo "no" >&6; }
2777fi
2778
2779
2780  test -n "$AWK" && break
2781done
2782
2783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2784$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2785set x ${MAKE-make}
2786ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2787if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2788  $as_echo_n "(cached) " >&6
2789else
2790  cat >conftest.make <<\_ACEOF
2791SHELL = /bin/sh
2792all:
2793	@echo '@@@%%%=$(MAKE)=@@@%%%'
2794_ACEOF
2795# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2796case `${MAKE-make} -f conftest.make 2>/dev/null` in
2797  *@@@%%%=?*=@@@%%%*)
2798    eval ac_cv_prog_make_${ac_make}_set=yes;;
2799  *)
2800    eval ac_cv_prog_make_${ac_make}_set=no;;
2801esac
2802rm -f conftest.make
2803fi
2804if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2806$as_echo "yes" >&6; }
2807  SET_MAKE=
2808else
2809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810$as_echo "no" >&6; }
2811  SET_MAKE="MAKE=${MAKE-make}"
2812fi
2813
2814rm -rf .tst 2>/dev/null
2815mkdir .tst 2>/dev/null
2816if test -d .tst; then
2817  am__leading_dot=.
2818else
2819  am__leading_dot=_
2820fi
2821rmdir .tst 2>/dev/null
2822
2823# Check whether --enable-silent-rules was given.
2824if test "${enable_silent_rules+set}" = set; then :
2825  enableval=$enable_silent_rules;
2826fi
2827
2828case $enable_silent_rules in # (((
2829  yes) AM_DEFAULT_VERBOSITY=0;;
2830   no) AM_DEFAULT_VERBOSITY=1;;
2831    *) AM_DEFAULT_VERBOSITY=1;;
2832esac
2833am_make=${MAKE-make}
2834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2835$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2836if ${am_cv_make_support_nested_variables+:} false; then :
2837  $as_echo_n "(cached) " >&6
2838else
2839  if $as_echo 'TRUE=$(BAR$(V))
2840BAR0=false
2841BAR1=true
2842V=1
2843am__doit:
2844	@$(TRUE)
2845.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2846  am_cv_make_support_nested_variables=yes
2847else
2848  am_cv_make_support_nested_variables=no
2849fi
2850fi
2851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2852$as_echo "$am_cv_make_support_nested_variables" >&6; }
2853if test $am_cv_make_support_nested_variables = yes; then
2854    AM_V='$(V)'
2855  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2856else
2857  AM_V=$AM_DEFAULT_VERBOSITY
2858  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2859fi
2860AM_BACKSLASH='\'
2861
2862if test "`cd $srcdir && pwd`" != "`pwd`"; then
2863  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2864  # is not polluted with repeated "-I."
2865  am__isrc=' -I$(srcdir)'
2866  # test to see if srcdir already configured
2867  if test -f $srcdir/config.status; then
2868    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2869  fi
2870fi
2871
2872# test whether we have cygpath
2873if test -z "$CYGPATH_W"; then
2874  if (cygpath --version) >/dev/null 2>/dev/null; then
2875    CYGPATH_W='cygpath -w'
2876  else
2877    CYGPATH_W=echo
2878  fi
2879fi
2880
2881
2882# Define the identity of the package.
2883 PACKAGE='xneur'
2884 VERSION='0.20.0'
2885
2886
2887cat >>confdefs.h <<_ACEOF
2888#define PACKAGE "$PACKAGE"
2889_ACEOF
2890
2891
2892cat >>confdefs.h <<_ACEOF
2893#define VERSION "$VERSION"
2894_ACEOF
2895
2896# Some tools Automake needs.
2897
2898ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2899
2900
2901AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2902
2903
2904AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2905
2906
2907AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2908
2909
2910MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2911
2912# For better backward compatibility.  To be removed once Automake 1.9.x
2913# dies out for good.  For more background, see:
2914# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2915# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2916mkdir_p='$(MKDIR_P)'
2917
2918# We need awk for the "check" target (and possibly the TAP driver).  The
2919# system "awk" is bad on some platforms.
2920# Always define AMTAR for backward compatibility.  Yes, it's still used
2921# in the wild :-(  We should find a proper way to deprecate it ...
2922AMTAR='$${TAR-tar}'
2923
2924
2925# We'll loop over all known methods to create a tar archive until one works.
2926_am_tools='gnutar  pax cpio none'
2927
2928am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2929
2930
2931
2932
2933
2934
2935# POSIX will say in a future version that running "rm -f" with no argument
2936# is OK; and we want to be able to make that assumption in our Makefile
2937# recipes.  So use an aggressive probe to check that the usage we want is
2938# actually supported "in the wild" to an acceptable degree.
2939# See automake bug#10828.
2940# To make any issue more visible, cause the running configure to be aborted
2941# by default if the 'rm' program in use doesn't match our expectations; the
2942# user can still override this though.
2943if rm -f && rm -fr && rm -rf; then : OK; else
2944  cat >&2 <<'END'
2945Oops!
2946
2947Your 'rm' program seems unable to run without file operands specified
2948on the command line, even when the '-f' option is present.  This is contrary
2949to the behaviour of most rm programs out there, and not conforming with
2950the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2951
2952Please tell bug-automake@gnu.org about your system, including the value
2953of your $PATH and any error possibly output before this message.  This
2954can help us improve future automake versions.
2955
2956END
2957  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2958    echo 'Configuration will proceed anyway, since you have set the' >&2
2959    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2960    echo >&2
2961  else
2962    cat >&2 <<'END'
2963Aborting the configuration process, to ensure you take notice of the issue.
2964
2965You can download and install GNU coreutils to get an 'rm' implementation
2966that behaves properly: <http://www.gnu.org/software/coreutils/>.
2967
2968If you want to complete the configuration process using your problematic
2969'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2970to "yes", and re-run configure.
2971
2972END
2973    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2974  fi
2975fi
2976
2977
2978# Check whether --enable-silent-rules was given.
2979if test "${enable_silent_rules+set}" = set; then :
2980  enableval=$enable_silent_rules;
2981fi
2982
2983case $enable_silent_rules in # (((
2984  yes) AM_DEFAULT_VERBOSITY=0;;
2985   no) AM_DEFAULT_VERBOSITY=1;;
2986    *) AM_DEFAULT_VERBOSITY=0;;
2987esac
2988am_make=${MAKE-make}
2989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2990$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2991if ${am_cv_make_support_nested_variables+:} false; then :
2992  $as_echo_n "(cached) " >&6
2993else
2994  if $as_echo 'TRUE=$(BAR$(V))
2995BAR0=false
2996BAR1=true
2997V=1
2998am__doit:
2999	@$(TRUE)
3000.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3001  am_cv_make_support_nested_variables=yes
3002else
3003  am_cv_make_support_nested_variables=no
3004fi
3005fi
3006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3007$as_echo "$am_cv_make_support_nested_variables" >&6; }
3008if test $am_cv_make_support_nested_variables = yes; then
3009    AM_V='$(V)'
3010  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3011else
3012  AM_V=$AM_DEFAULT_VERBOSITY
3013  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3014fi
3015AM_BACKSLASH='\'
3016
3017
3018ac_ext=c
3019ac_cpp='$CPP $CPPFLAGS'
3020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3021ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3022ac_compiler_gnu=$ac_cv_c_compiler_gnu
3023if test -n "$ac_tool_prefix"; then
3024  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3025set dummy ${ac_tool_prefix}gcc; ac_word=$2
3026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027$as_echo_n "checking for $ac_word... " >&6; }
3028if ${ac_cv_prog_CC+:} false; then :
3029  $as_echo_n "(cached) " >&6
3030else
3031  if test -n "$CC"; then
3032  ac_cv_prog_CC="$CC" # Let the user override the test.
3033else
3034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3035for as_dir in $PATH
3036do
3037  IFS=$as_save_IFS
3038  test -z "$as_dir" && as_dir=.
3039    for ac_exec_ext in '' $ac_executable_extensions; do
3040  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3041    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3042    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3043    break 2
3044  fi
3045done
3046  done
3047IFS=$as_save_IFS
3048
3049fi
3050fi
3051CC=$ac_cv_prog_CC
3052if test -n "$CC"; then
3053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3054$as_echo "$CC" >&6; }
3055else
3056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057$as_echo "no" >&6; }
3058fi
3059
3060
3061fi
3062if test -z "$ac_cv_prog_CC"; then
3063  ac_ct_CC=$CC
3064  # Extract the first word of "gcc", so it can be a program name with args.
3065set dummy gcc; ac_word=$2
3066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067$as_echo_n "checking for $ac_word... " >&6; }
3068if ${ac_cv_prog_ac_ct_CC+:} false; then :
3069  $as_echo_n "(cached) " >&6
3070else
3071  if test -n "$ac_ct_CC"; then
3072  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3073else
3074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075for as_dir in $PATH
3076do
3077  IFS=$as_save_IFS
3078  test -z "$as_dir" && as_dir=.
3079    for ac_exec_ext in '' $ac_executable_extensions; do
3080  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3081    ac_cv_prog_ac_ct_CC="gcc"
3082    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083    break 2
3084  fi
3085done
3086  done
3087IFS=$as_save_IFS
3088
3089fi
3090fi
3091ac_ct_CC=$ac_cv_prog_ac_ct_CC
3092if test -n "$ac_ct_CC"; then
3093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3094$as_echo "$ac_ct_CC" >&6; }
3095else
3096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097$as_echo "no" >&6; }
3098fi
3099
3100  if test "x$ac_ct_CC" = x; then
3101    CC=""
3102  else
3103    case $cross_compiling:$ac_tool_warned in
3104yes:)
3105{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3106$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3107ac_tool_warned=yes ;;
3108esac
3109    CC=$ac_ct_CC
3110  fi
3111else
3112  CC="$ac_cv_prog_CC"
3113fi
3114
3115if test -z "$CC"; then
3116          if test -n "$ac_tool_prefix"; then
3117    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3118set dummy ${ac_tool_prefix}cc; ac_word=$2
3119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3120$as_echo_n "checking for $ac_word... " >&6; }
3121if ${ac_cv_prog_CC+:} false; then :
3122  $as_echo_n "(cached) " >&6
3123else
3124  if test -n "$CC"; then
3125  ac_cv_prog_CC="$CC" # Let the user override the test.
3126else
3127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3128for as_dir in $PATH
3129do
3130  IFS=$as_save_IFS
3131  test -z "$as_dir" && as_dir=.
3132    for ac_exec_ext in '' $ac_executable_extensions; do
3133  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3134    ac_cv_prog_CC="${ac_tool_prefix}cc"
3135    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3136    break 2
3137  fi
3138done
3139  done
3140IFS=$as_save_IFS
3141
3142fi
3143fi
3144CC=$ac_cv_prog_CC
3145if test -n "$CC"; then
3146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3147$as_echo "$CC" >&6; }
3148else
3149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3150$as_echo "no" >&6; }
3151fi
3152
3153
3154  fi
3155fi
3156if test -z "$CC"; then
3157  # Extract the first word of "cc", so it can be a program name with args.
3158set dummy cc; ac_word=$2
3159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160$as_echo_n "checking for $ac_word... " >&6; }
3161if ${ac_cv_prog_CC+:} false; then :
3162  $as_echo_n "(cached) " >&6
3163else
3164  if test -n "$CC"; then
3165  ac_cv_prog_CC="$CC" # Let the user override the test.
3166else
3167  ac_prog_rejected=no
3168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169for as_dir in $PATH
3170do
3171  IFS=$as_save_IFS
3172  test -z "$as_dir" && as_dir=.
3173    for ac_exec_ext in '' $ac_executable_extensions; do
3174  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3175    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3176       ac_prog_rejected=yes
3177       continue
3178     fi
3179    ac_cv_prog_CC="cc"
3180    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181    break 2
3182  fi
3183done
3184  done
3185IFS=$as_save_IFS
3186
3187if test $ac_prog_rejected = yes; then
3188  # We found a bogon in the path, so make sure we never use it.
3189  set dummy $ac_cv_prog_CC
3190  shift
3191  if test $# != 0; then
3192    # We chose a different compiler from the bogus one.
3193    # However, it has the same basename, so the bogon will be chosen
3194    # first if we set CC to just the basename; use the full file name.
3195    shift
3196    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3197  fi
3198fi
3199fi
3200fi
3201CC=$ac_cv_prog_CC
3202if test -n "$CC"; then
3203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3204$as_echo "$CC" >&6; }
3205else
3206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207$as_echo "no" >&6; }
3208fi
3209
3210
3211fi
3212if test -z "$CC"; then
3213  if test -n "$ac_tool_prefix"; then
3214  for ac_prog in cl.exe
3215  do
3216    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3217set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219$as_echo_n "checking for $ac_word... " >&6; }
3220if ${ac_cv_prog_CC+:} false; then :
3221  $as_echo_n "(cached) " >&6
3222else
3223  if test -n "$CC"; then
3224  ac_cv_prog_CC="$CC" # Let the user override the test.
3225else
3226as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227for as_dir in $PATH
3228do
3229  IFS=$as_save_IFS
3230  test -z "$as_dir" && as_dir=.
3231    for ac_exec_ext in '' $ac_executable_extensions; do
3232  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3233    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3234    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235    break 2
3236  fi
3237done
3238  done
3239IFS=$as_save_IFS
3240
3241fi
3242fi
3243CC=$ac_cv_prog_CC
3244if test -n "$CC"; then
3245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3246$as_echo "$CC" >&6; }
3247else
3248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249$as_echo "no" >&6; }
3250fi
3251
3252
3253    test -n "$CC" && break
3254  done
3255fi
3256if test -z "$CC"; then
3257  ac_ct_CC=$CC
3258  for ac_prog in cl.exe
3259do
3260  # Extract the first word of "$ac_prog", so it can be a program name with args.
3261set dummy $ac_prog; ac_word=$2
3262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263$as_echo_n "checking for $ac_word... " >&6; }
3264if ${ac_cv_prog_ac_ct_CC+:} false; then :
3265  $as_echo_n "(cached) " >&6
3266else
3267  if test -n "$ac_ct_CC"; then
3268  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3269else
3270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3271for as_dir in $PATH
3272do
3273  IFS=$as_save_IFS
3274  test -z "$as_dir" && as_dir=.
3275    for ac_exec_ext in '' $ac_executable_extensions; do
3276  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3277    ac_cv_prog_ac_ct_CC="$ac_prog"
3278    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3279    break 2
3280  fi
3281done
3282  done
3283IFS=$as_save_IFS
3284
3285fi
3286fi
3287ac_ct_CC=$ac_cv_prog_ac_ct_CC
3288if test -n "$ac_ct_CC"; then
3289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3290$as_echo "$ac_ct_CC" >&6; }
3291else
3292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293$as_echo "no" >&6; }
3294fi
3295
3296
3297  test -n "$ac_ct_CC" && break
3298done
3299
3300  if test "x$ac_ct_CC" = x; then
3301    CC=""
3302  else
3303    case $cross_compiling:$ac_tool_warned in
3304yes:)
3305{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3306$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3307ac_tool_warned=yes ;;
3308esac
3309    CC=$ac_ct_CC
3310  fi
3311fi
3312
3313fi
3314
3315
3316test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3317$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3318as_fn_error $? "no acceptable C compiler found in \$PATH
3319See \`config.log' for more details" "$LINENO" 5; }
3320
3321# Provide some information about the compiler.
3322$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3323set X $ac_compile
3324ac_compiler=$2
3325for ac_option in --version -v -V -qversion; do
3326  { { ac_try="$ac_compiler $ac_option >&5"
3327case "(($ac_try" in
3328  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329  *) ac_try_echo=$ac_try;;
3330esac
3331eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332$as_echo "$ac_try_echo"; } >&5
3333  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3334  ac_status=$?
3335  if test -s conftest.err; then
3336    sed '10a\
3337... rest of stderr output deleted ...
3338         10q' conftest.err >conftest.er1
3339    cat conftest.er1 >&5
3340  fi
3341  rm -f conftest.er1 conftest.err
3342  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343  test $ac_status = 0; }
3344done
3345
3346cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347/* end confdefs.h.  */
3348
3349int
3350main ()
3351{
3352
3353  ;
3354  return 0;
3355}
3356_ACEOF
3357ac_clean_files_save=$ac_clean_files
3358ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3359# Try to create an executable without -o first, disregard a.out.
3360# It will help us diagnose broken compilers, and finding out an intuition
3361# of exeext.
3362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3363$as_echo_n "checking whether the C compiler works... " >&6; }
3364ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3365
3366# The possible output files:
3367ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3368
3369ac_rmfiles=
3370for ac_file in $ac_files
3371do
3372  case $ac_file in
3373    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3374    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3375  esac
3376done
3377rm -f $ac_rmfiles
3378
3379if { { ac_try="$ac_link_default"
3380case "(($ac_try" in
3381  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382  *) ac_try_echo=$ac_try;;
3383esac
3384eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3385$as_echo "$ac_try_echo"; } >&5
3386  (eval "$ac_link_default") 2>&5
3387  ac_status=$?
3388  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3389  test $ac_status = 0; }; then :
3390  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3391# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3392# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3393# so that the user can short-circuit this test for compilers unknown to
3394# Autoconf.
3395for ac_file in $ac_files ''
3396do
3397  test -f "$ac_file" || continue
3398  case $ac_file in
3399    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3400	;;
3401    [ab].out )
3402	# We found the default executable, but exeext='' is most
3403	# certainly right.
3404	break;;
3405    *.* )
3406	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3407	then :; else
3408	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3409	fi
3410	# We set ac_cv_exeext here because the later test for it is not
3411	# safe: cross compilers may not add the suffix if given an `-o'
3412	# argument, so we may need to know it at that point already.
3413	# Even if this section looks crufty: it has the advantage of
3414	# actually working.
3415	break;;
3416    * )
3417	break;;
3418  esac
3419done
3420test "$ac_cv_exeext" = no && ac_cv_exeext=
3421
3422else
3423  ac_file=''
3424fi
3425if test -z "$ac_file"; then :
3426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427$as_echo "no" >&6; }
3428$as_echo "$as_me: failed program was:" >&5
3429sed 's/^/| /' conftest.$ac_ext >&5
3430
3431{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3433as_fn_error 77 "C compiler cannot create executables
3434See \`config.log' for more details" "$LINENO" 5; }
3435else
3436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3437$as_echo "yes" >&6; }
3438fi
3439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3440$as_echo_n "checking for C compiler default output file name... " >&6; }
3441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3442$as_echo "$ac_file" >&6; }
3443ac_exeext=$ac_cv_exeext
3444
3445rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3446ac_clean_files=$ac_clean_files_save
3447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3448$as_echo_n "checking for suffix of executables... " >&6; }
3449if { { ac_try="$ac_link"
3450case "(($ac_try" in
3451  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3452  *) ac_try_echo=$ac_try;;
3453esac
3454eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3455$as_echo "$ac_try_echo"; } >&5
3456  (eval "$ac_link") 2>&5
3457  ac_status=$?
3458  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3459  test $ac_status = 0; }; then :
3460  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3461# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3462# work properly (i.e., refer to `conftest.exe'), while it won't with
3463# `rm'.
3464for ac_file in conftest.exe conftest conftest.*; do
3465  test -f "$ac_file" || continue
3466  case $ac_file in
3467    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3468    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3469	  break;;
3470    * ) break;;
3471  esac
3472done
3473else
3474  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3477See \`config.log' for more details" "$LINENO" 5; }
3478fi
3479rm -f conftest conftest$ac_cv_exeext
3480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3481$as_echo "$ac_cv_exeext" >&6; }
3482
3483rm -f conftest.$ac_ext
3484EXEEXT=$ac_cv_exeext
3485ac_exeext=$EXEEXT
3486cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3487/* end confdefs.h.  */
3488#include <stdio.h>
3489int
3490main ()
3491{
3492FILE *f = fopen ("conftest.out", "w");
3493 return ferror (f) || fclose (f) != 0;
3494
3495  ;
3496  return 0;
3497}
3498_ACEOF
3499ac_clean_files="$ac_clean_files conftest.out"
3500# Check that the compiler produces executables we can run.  If not, either
3501# the compiler is broken, or we cross compile.
3502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3503$as_echo_n "checking whether we are cross compiling... " >&6; }
3504if test "$cross_compiling" != yes; then
3505  { { ac_try="$ac_link"
3506case "(($ac_try" in
3507  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3508  *) ac_try_echo=$ac_try;;
3509esac
3510eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3511$as_echo "$ac_try_echo"; } >&5
3512  (eval "$ac_link") 2>&5
3513  ac_status=$?
3514  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3515  test $ac_status = 0; }
3516  if { ac_try='./conftest$ac_cv_exeext'
3517  { { case "(($ac_try" in
3518  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519  *) ac_try_echo=$ac_try;;
3520esac
3521eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522$as_echo "$ac_try_echo"; } >&5
3523  (eval "$ac_try") 2>&5
3524  ac_status=$?
3525  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526  test $ac_status = 0; }; }; then
3527    cross_compiling=no
3528  else
3529    if test "$cross_compiling" = maybe; then
3530	cross_compiling=yes
3531    else
3532	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3533$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3534as_fn_error $? "cannot run C compiled programs.
3535If you meant to cross compile, use \`--host'.
3536See \`config.log' for more details" "$LINENO" 5; }
3537    fi
3538  fi
3539fi
3540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3541$as_echo "$cross_compiling" >&6; }
3542
3543rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3544ac_clean_files=$ac_clean_files_save
3545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3546$as_echo_n "checking for suffix of object files... " >&6; }
3547if ${ac_cv_objext+:} false; then :
3548  $as_echo_n "(cached) " >&6
3549else
3550  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551/* end confdefs.h.  */
3552
3553int
3554main ()
3555{
3556
3557  ;
3558  return 0;
3559}
3560_ACEOF
3561rm -f conftest.o conftest.obj
3562if { { ac_try="$ac_compile"
3563case "(($ac_try" in
3564  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3565  *) ac_try_echo=$ac_try;;
3566esac
3567eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3568$as_echo "$ac_try_echo"; } >&5
3569  (eval "$ac_compile") 2>&5
3570  ac_status=$?
3571  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3572  test $ac_status = 0; }; then :
3573  for ac_file in conftest.o conftest.obj conftest.*; do
3574  test -f "$ac_file" || continue;
3575  case $ac_file in
3576    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3577    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3578       break;;
3579  esac
3580done
3581else
3582  $as_echo "$as_me: failed program was:" >&5
3583sed 's/^/| /' conftest.$ac_ext >&5
3584
3585{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3586$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3587as_fn_error $? "cannot compute suffix of object files: cannot compile
3588See \`config.log' for more details" "$LINENO" 5; }
3589fi
3590rm -f conftest.$ac_cv_objext conftest.$ac_ext
3591fi
3592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3593$as_echo "$ac_cv_objext" >&6; }
3594OBJEXT=$ac_cv_objext
3595ac_objext=$OBJEXT
3596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3597$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3598if ${ac_cv_c_compiler_gnu+:} false; then :
3599  $as_echo_n "(cached) " >&6
3600else
3601  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602/* end confdefs.h.  */
3603
3604int
3605main ()
3606{
3607#ifndef __GNUC__
3608       choke me
3609#endif
3610
3611  ;
3612  return 0;
3613}
3614_ACEOF
3615if ac_fn_c_try_compile "$LINENO"; then :
3616  ac_compiler_gnu=yes
3617else
3618  ac_compiler_gnu=no
3619fi
3620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3621ac_cv_c_compiler_gnu=$ac_compiler_gnu
3622
3623fi
3624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3625$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3626if test $ac_compiler_gnu = yes; then
3627  GCC=yes
3628else
3629  GCC=
3630fi
3631ac_test_CFLAGS=${CFLAGS+set}
3632ac_save_CFLAGS=$CFLAGS
3633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3634$as_echo_n "checking whether $CC accepts -g... " >&6; }
3635if ${ac_cv_prog_cc_g+:} false; then :
3636  $as_echo_n "(cached) " >&6
3637else
3638  ac_save_c_werror_flag=$ac_c_werror_flag
3639   ac_c_werror_flag=yes
3640   ac_cv_prog_cc_g=no
3641   CFLAGS="-g"
3642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643/* end confdefs.h.  */
3644
3645int
3646main ()
3647{
3648
3649  ;
3650  return 0;
3651}
3652_ACEOF
3653if ac_fn_c_try_compile "$LINENO"; then :
3654  ac_cv_prog_cc_g=yes
3655else
3656  CFLAGS=""
3657      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658/* end confdefs.h.  */
3659
3660int
3661main ()
3662{
3663
3664  ;
3665  return 0;
3666}
3667_ACEOF
3668if ac_fn_c_try_compile "$LINENO"; then :
3669
3670else
3671  ac_c_werror_flag=$ac_save_c_werror_flag
3672	 CFLAGS="-g"
3673	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3674/* end confdefs.h.  */
3675
3676int
3677main ()
3678{
3679
3680  ;
3681  return 0;
3682}
3683_ACEOF
3684if ac_fn_c_try_compile "$LINENO"; then :
3685  ac_cv_prog_cc_g=yes
3686fi
3687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3688fi
3689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3690fi
3691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692   ac_c_werror_flag=$ac_save_c_werror_flag
3693fi
3694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3695$as_echo "$ac_cv_prog_cc_g" >&6; }
3696if test "$ac_test_CFLAGS" = set; then
3697  CFLAGS=$ac_save_CFLAGS
3698elif test $ac_cv_prog_cc_g = yes; then
3699  if test "$GCC" = yes; then
3700    CFLAGS="-g -O2"
3701  else
3702    CFLAGS="-g"
3703  fi
3704else
3705  if test "$GCC" = yes; then
3706    CFLAGS="-O2"
3707  else
3708    CFLAGS=
3709  fi
3710fi
3711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3712$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3713if ${ac_cv_prog_cc_c89+:} false; then :
3714  $as_echo_n "(cached) " >&6
3715else
3716  ac_cv_prog_cc_c89=no
3717ac_save_CC=$CC
3718cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719/* end confdefs.h.  */
3720#include <stdarg.h>
3721#include <stdio.h>
3722struct stat;
3723/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3724struct buf { int x; };
3725FILE * (*rcsopen) (struct buf *, struct stat *, int);
3726static char *e (p, i)
3727     char **p;
3728     int i;
3729{
3730  return p[i];
3731}
3732static char *f (char * (*g) (char **, int), char **p, ...)
3733{
3734  char *s;
3735  va_list v;
3736  va_start (v,p);
3737  s = g (p, va_arg (v,int));
3738  va_end (v);
3739  return s;
3740}
3741
3742/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3743   function prototypes and stuff, but not '\xHH' hex character constants.
3744   These don't provoke an error unfortunately, instead are silently treated
3745   as 'x'.  The following induces an error, until -std is added to get
3746   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3747   array size at least.  It's necessary to write '\x00'==0 to get something
3748   that's true only with -std.  */
3749int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3750
3751/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3752   inside strings and character constants.  */
3753#define FOO(x) 'x'
3754int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3755
3756int test (int i, double x);
3757struct s1 {int (*f) (int a);};
3758struct s2 {int (*f) (double a);};
3759int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3760int argc;
3761char **argv;
3762int
3763main ()
3764{
3765return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3766  ;
3767  return 0;
3768}
3769_ACEOF
3770for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3771	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3772do
3773  CC="$ac_save_CC $ac_arg"
3774  if ac_fn_c_try_compile "$LINENO"; then :
3775  ac_cv_prog_cc_c89=$ac_arg
3776fi
3777rm -f core conftest.err conftest.$ac_objext
3778  test "x$ac_cv_prog_cc_c89" != "xno" && break
3779done
3780rm -f conftest.$ac_ext
3781CC=$ac_save_CC
3782
3783fi
3784# AC_CACHE_VAL
3785case "x$ac_cv_prog_cc_c89" in
3786  x)
3787    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3788$as_echo "none needed" >&6; } ;;
3789  xno)
3790    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3791$as_echo "unsupported" >&6; } ;;
3792  *)
3793    CC="$CC $ac_cv_prog_cc_c89"
3794    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3795$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3796esac
3797if test "x$ac_cv_prog_cc_c89" != xno; then :
3798
3799fi
3800
3801ac_ext=c
3802ac_cpp='$CPP $CPPFLAGS'
3803ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3804ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3805ac_compiler_gnu=$ac_cv_c_compiler_gnu
3806
3807ac_ext=c
3808ac_cpp='$CPP $CPPFLAGS'
3809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811ac_compiler_gnu=$ac_cv_c_compiler_gnu
3812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3813$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3814if ${am_cv_prog_cc_c_o+:} false; then :
3815  $as_echo_n "(cached) " >&6
3816else
3817  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818/* end confdefs.h.  */
3819
3820int
3821main ()
3822{
3823
3824  ;
3825  return 0;
3826}
3827_ACEOF
3828  # Make sure it works both with $CC and with simple cc.
3829  # Following AC_PROG_CC_C_O, we do the test twice because some
3830  # compilers refuse to overwrite an existing .o file with -o,
3831  # though they will create one.
3832  am_cv_prog_cc_c_o=yes
3833  for am_i in 1 2; do
3834    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3835   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3836   ac_status=$?
3837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838   (exit $ac_status); } \
3839         && test -f conftest2.$ac_objext; then
3840      : OK
3841    else
3842      am_cv_prog_cc_c_o=no
3843      break
3844    fi
3845  done
3846  rm -f core conftest*
3847  unset am_i
3848fi
3849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3850$as_echo "$am_cv_prog_cc_c_o" >&6; }
3851if test "$am_cv_prog_cc_c_o" != yes; then
3852   # Losing compiler, so override with the script.
3853   # FIXME: It is wrong to rewrite CC.
3854   # But if we don't then we get into trouble of one sort or another.
3855   # A longer-term fix would be to have automake use am__CC in this case,
3856   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3857   CC="$am_aux_dir/compile $CC"
3858fi
3859ac_ext=c
3860ac_cpp='$CPP $CPPFLAGS'
3861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3863ac_compiler_gnu=$ac_cv_c_compiler_gnu
3864
3865DEPDIR="${am__leading_dot}deps"
3866
3867ac_config_commands="$ac_config_commands depfiles"
3868
3869
3870am_make=${MAKE-make}
3871cat > confinc << 'END'
3872am__doit:
3873	@echo this is the am__doit target
3874.PHONY: am__doit
3875END
3876# If we don't find an include directive, just comment out the code.
3877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3878$as_echo_n "checking for style of include used by $am_make... " >&6; }
3879am__include="#"
3880am__quote=
3881_am_result=none
3882# First try GNU make style include.
3883echo "include confinc" > confmf
3884# Ignore all kinds of additional output from 'make'.
3885case `$am_make -s -f confmf 2> /dev/null` in #(
3886*the\ am__doit\ target*)
3887  am__include=include
3888  am__quote=
3889  _am_result=GNU
3890  ;;
3891esac
3892# Now try BSD make style include.
3893if test "$am__include" = "#"; then
3894   echo '.include "confinc"' > confmf
3895   case `$am_make -s -f confmf 2> /dev/null` in #(
3896   *the\ am__doit\ target*)
3897     am__include=.include
3898     am__quote="\""
3899     _am_result=BSD
3900     ;;
3901   esac
3902fi
3903
3904
3905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3906$as_echo "$_am_result" >&6; }
3907rm -f confinc confmf
3908
3909# Check whether --enable-dependency-tracking was given.
3910if test "${enable_dependency_tracking+set}" = set; then :
3911  enableval=$enable_dependency_tracking;
3912fi
3913
3914if test "x$enable_dependency_tracking" != xno; then
3915  am_depcomp="$ac_aux_dir/depcomp"
3916  AMDEPBACKSLASH='\'
3917  am__nodep='_no'
3918fi
3919 if test "x$enable_dependency_tracking" != xno; then
3920  AMDEP_TRUE=
3921  AMDEP_FALSE='#'
3922else
3923  AMDEP_TRUE='#'
3924  AMDEP_FALSE=
3925fi
3926
3927
3928
3929depcc="$CC"   am_compiler_list=
3930
3931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3932$as_echo_n "checking dependency style of $depcc... " >&6; }
3933if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3934  $as_echo_n "(cached) " >&6
3935else
3936  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3937  # We make a subdir and do the tests there.  Otherwise we can end up
3938  # making bogus files that we don't know about and never remove.  For
3939  # instance it was reported that on HP-UX the gcc test will end up
3940  # making a dummy file named 'D' -- because '-MD' means "put the output
3941  # in D".
3942  rm -rf conftest.dir
3943  mkdir conftest.dir
3944  # Copy depcomp to subdir because otherwise we won't find it if we're
3945  # using a relative directory.
3946  cp "$am_depcomp" conftest.dir
3947  cd conftest.dir
3948  # We will build objects and dependencies in a subdirectory because
3949  # it helps to detect inapplicable dependency modes.  For instance
3950  # both Tru64's cc and ICC support -MD to output dependencies as a
3951  # side effect of compilation, but ICC will put the dependencies in
3952  # the current directory while Tru64 will put them in the object
3953  # directory.
3954  mkdir sub
3955
3956  am_cv_CC_dependencies_compiler_type=none
3957  if test "$am_compiler_list" = ""; then
3958     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3959  fi
3960  am__universal=false
3961  case " $depcc " in #(
3962     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3963     esac
3964
3965  for depmode in $am_compiler_list; do
3966    # Setup a source with many dependencies, because some compilers
3967    # like to wrap large dependency lists on column 80 (with \), and
3968    # we should not choose a depcomp mode which is confused by this.
3969    #
3970    # We need to recreate these files for each test, as the compiler may
3971    # overwrite some of them when testing with obscure command lines.
3972    # This happens at least with the AIX C compiler.
3973    : > sub/conftest.c
3974    for i in 1 2 3 4 5 6; do
3975      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3976      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3977      # Solaris 10 /bin/sh.
3978      echo '/* dummy */' > sub/conftst$i.h
3979    done
3980    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3981
3982    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3983    # mode.  It turns out that the SunPro C++ compiler does not properly
3984    # handle '-M -o', and we need to detect this.  Also, some Intel
3985    # versions had trouble with output in subdirs.
3986    am__obj=sub/conftest.${OBJEXT-o}
3987    am__minus_obj="-o $am__obj"
3988    case $depmode in
3989    gcc)
3990      # This depmode causes a compiler race in universal mode.
3991      test "$am__universal" = false || continue
3992      ;;
3993    nosideeffect)
3994      # After this tag, mechanisms are not by side-effect, so they'll
3995      # only be used when explicitly requested.
3996      if test "x$enable_dependency_tracking" = xyes; then
3997	continue
3998      else
3999	break
4000      fi
4001      ;;
4002    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4003      # This compiler won't grok '-c -o', but also, the minuso test has
4004      # not run yet.  These depmodes are late enough in the game, and
4005      # so weak that their functioning should not be impacted.
4006      am__obj=conftest.${OBJEXT-o}
4007      am__minus_obj=
4008      ;;
4009    none) break ;;
4010    esac
4011    if depmode=$depmode \
4012       source=sub/conftest.c object=$am__obj \
4013       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4014       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4015         >/dev/null 2>conftest.err &&
4016       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4017       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4018       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4019       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4020      # icc doesn't choke on unknown options, it will just issue warnings
4021      # or remarks (even with ).  So we grep stderr for any message
4022      # that says an option was ignored or not supported.
4023      # When given -MP, icc 7.0 and 7.1 complain thusly:
4024      #   icc: Command line warning: ignoring option '-M'; no argument required
4025      # The diagnosis changed in icc 8.0:
4026      #   icc: Command line remark: option '-MP' not supported
4027      if (grep 'ignoring option' conftest.err ||
4028          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4029        am_cv_CC_dependencies_compiler_type=$depmode
4030        break
4031      fi
4032    fi
4033  done
4034
4035  cd ..
4036  rm -rf conftest.dir
4037else
4038  am_cv_CC_dependencies_compiler_type=none
4039fi
4040
4041fi
4042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4043$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4044CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4045
4046 if
4047  test "x$enable_dependency_tracking" != xno \
4048  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4049  am__fastdepCC_TRUE=
4050  am__fastdepCC_FALSE='#'
4051else
4052  am__fastdepCC_TRUE='#'
4053  am__fastdepCC_FALSE=
4054fi
4055
4056
4057
4058ac_ext=c
4059ac_cpp='$CPP $CPPFLAGS'
4060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4062ac_compiler_gnu=$ac_cv_c_compiler_gnu
4063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4064$as_echo_n "checking how to run the C preprocessor... " >&6; }
4065# On Suns, sometimes $CPP names a directory.
4066if test -n "$CPP" && test -d "$CPP"; then
4067  CPP=
4068fi
4069if test -z "$CPP"; then
4070  if ${ac_cv_prog_CPP+:} false; then :
4071  $as_echo_n "(cached) " >&6
4072else
4073      # Double quotes because CPP needs to be expanded
4074    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4075    do
4076      ac_preproc_ok=false
4077for ac_c_preproc_warn_flag in '' yes
4078do
4079  # Use a header file that comes with gcc, so configuring glibc
4080  # with a fresh cross-compiler works.
4081  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4082  # <limits.h> exists even on freestanding compilers.
4083  # On the NeXT, cc -E runs the code through the compiler's parser,
4084  # not just through cpp. "Syntax error" is here to catch this case.
4085  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086/* end confdefs.h.  */
4087#ifdef __STDC__
4088# include <limits.h>
4089#else
4090# include <assert.h>
4091#endif
4092		     Syntax error
4093_ACEOF
4094if ac_fn_c_try_cpp "$LINENO"; then :
4095
4096else
4097  # Broken: fails on valid input.
4098continue
4099fi
4100rm -f conftest.err conftest.i conftest.$ac_ext
4101
4102  # OK, works on sane cases.  Now check whether nonexistent headers
4103  # can be detected and how.
4104  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4105/* end confdefs.h.  */
4106#include <ac_nonexistent.h>
4107_ACEOF
4108if ac_fn_c_try_cpp "$LINENO"; then :
4109  # Broken: success on invalid input.
4110continue
4111else
4112  # Passes both tests.
4113ac_preproc_ok=:
4114break
4115fi
4116rm -f conftest.err conftest.i conftest.$ac_ext
4117
4118done
4119# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4120rm -f conftest.i conftest.err conftest.$ac_ext
4121if $ac_preproc_ok; then :
4122  break
4123fi
4124
4125    done
4126    ac_cv_prog_CPP=$CPP
4127
4128fi
4129  CPP=$ac_cv_prog_CPP
4130else
4131  ac_cv_prog_CPP=$CPP
4132fi
4133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4134$as_echo "$CPP" >&6; }
4135ac_preproc_ok=false
4136for ac_c_preproc_warn_flag in '' yes
4137do
4138  # Use a header file that comes with gcc, so configuring glibc
4139  # with a fresh cross-compiler works.
4140  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4141  # <limits.h> exists even on freestanding compilers.
4142  # On the NeXT, cc -E runs the code through the compiler's parser,
4143  # not just through cpp. "Syntax error" is here to catch this case.
4144  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145/* end confdefs.h.  */
4146#ifdef __STDC__
4147# include <limits.h>
4148#else
4149# include <assert.h>
4150#endif
4151		     Syntax error
4152_ACEOF
4153if ac_fn_c_try_cpp "$LINENO"; then :
4154
4155else
4156  # Broken: fails on valid input.
4157continue
4158fi
4159rm -f conftest.err conftest.i conftest.$ac_ext
4160
4161  # OK, works on sane cases.  Now check whether nonexistent headers
4162  # can be detected and how.
4163  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164/* end confdefs.h.  */
4165#include <ac_nonexistent.h>
4166_ACEOF
4167if ac_fn_c_try_cpp "$LINENO"; then :
4168  # Broken: success on invalid input.
4169continue
4170else
4171  # Passes both tests.
4172ac_preproc_ok=:
4173break
4174fi
4175rm -f conftest.err conftest.i conftest.$ac_ext
4176
4177done
4178# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4179rm -f conftest.i conftest.err conftest.$ac_ext
4180if $ac_preproc_ok; then :
4181
4182else
4183  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4184$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4185as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4186See \`config.log' for more details" "$LINENO" 5; }
4187fi
4188
4189ac_ext=c
4190ac_cpp='$CPP $CPPFLAGS'
4191ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4192ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4193ac_compiler_gnu=$ac_cv_c_compiler_gnu
4194
4195
4196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4197$as_echo_n "checking for X... " >&6; }
4198
4199
4200# Check whether --with-x was given.
4201if test "${with_x+set}" = set; then :
4202  withval=$with_x;
4203fi
4204
4205# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4206if test "x$with_x" = xno; then
4207  # The user explicitly disabled X.
4208  have_x=disabled
4209else
4210  case $x_includes,$x_libraries in #(
4211    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4212    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4213  $as_echo_n "(cached) " >&6
4214else
4215  # One or both of the vars are not set, and there is no cached value.
4216ac_x_includes=no ac_x_libraries=no
4217rm -f -r conftest.dir
4218if mkdir conftest.dir; then
4219  cd conftest.dir
4220  cat >Imakefile <<'_ACEOF'
4221incroot:
4222	@echo incroot='${INCROOT}'
4223usrlibdir:
4224	@echo usrlibdir='${USRLIBDIR}'
4225libdir:
4226	@echo libdir='${LIBDIR}'
4227_ACEOF
4228  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4229    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4230    for ac_var in incroot usrlibdir libdir; do
4231      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4232    done
4233    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4234    for ac_extension in a so sl dylib la dll; do
4235      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4236	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4237	ac_im_usrlibdir=$ac_im_libdir; break
4238      fi
4239    done
4240    # Screen out bogus values from the imake configuration.  They are
4241    # bogus both because they are the default anyway, and because
4242    # using them would break gcc on systems where it needs fixed includes.
4243    case $ac_im_incroot in
4244	/usr/include) ac_x_includes= ;;
4245	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4246    esac
4247    case $ac_im_usrlibdir in
4248	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
4249	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4250    esac
4251  fi
4252  cd ..
4253  rm -f -r conftest.dir
4254fi
4255
4256# Standard set of common directories for X headers.
4257# Check X11 before X11Rn because it is often a symlink to the current release.
4258ac_x_header_dirs='
4259/usr/X11/include
4260/usr/X11R7/include
4261/usr/X11R6/include
4262/usr/X11R5/include
4263/usr/X11R4/include
4264
4265/usr/include/X11
4266/usr/include/X11R7
4267/usr/include/X11R6
4268/usr/include/X11R5
4269/usr/include/X11R4
4270
4271/usr/local/X11/include
4272/usr/local/X11R7/include
4273/usr/local/X11R6/include
4274/usr/local/X11R5/include
4275/usr/local/X11R4/include
4276
4277/usr/local/include/X11
4278/usr/local/include/X11R7
4279/usr/local/include/X11R6
4280/usr/local/include/X11R5
4281/usr/local/include/X11R4
4282
4283/usr/X386/include
4284/usr/x386/include
4285/usr/XFree86/include/X11
4286
4287/usr/include
4288/usr/local/include
4289/usr/unsupported/include
4290/usr/athena/include
4291/usr/local/x11r5/include
4292/usr/lpp/Xamples/include
4293
4294/usr/openwin/include
4295/usr/openwin/share/include'
4296
4297if test "$ac_x_includes" = no; then
4298  # Guess where to find include files, by looking for Xlib.h.
4299  # First, try using that file with no special directory specified.
4300  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4301/* end confdefs.h.  */
4302#include <X11/Xlib.h>
4303_ACEOF
4304if ac_fn_c_try_cpp "$LINENO"; then :
4305  # We can compile using X headers with no special include directory.
4306ac_x_includes=
4307else
4308  for ac_dir in $ac_x_header_dirs; do
4309  if test -r "$ac_dir/X11/Xlib.h"; then
4310    ac_x_includes=$ac_dir
4311    break
4312  fi
4313done
4314fi
4315rm -f conftest.err conftest.i conftest.$ac_ext
4316fi # $ac_x_includes = no
4317
4318if test "$ac_x_libraries" = no; then
4319  # Check for the libraries.
4320  # See if we find them without any special options.
4321  # Don't add to $LIBS permanently.
4322  ac_save_LIBS=$LIBS
4323  LIBS="-lX11 $LIBS"
4324  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325/* end confdefs.h.  */
4326#include <X11/Xlib.h>
4327int
4328main ()
4329{
4330XrmInitialize ()
4331  ;
4332  return 0;
4333}
4334_ACEOF
4335if ac_fn_c_try_link "$LINENO"; then :
4336  LIBS=$ac_save_LIBS
4337# We can link X programs with no special library path.
4338ac_x_libraries=
4339else
4340  LIBS=$ac_save_LIBS
4341for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4342do
4343  # Don't even attempt the hair of trying to link an X program!
4344  for ac_extension in a so sl dylib la dll; do
4345    if test -r "$ac_dir/libX11.$ac_extension"; then
4346      ac_x_libraries=$ac_dir
4347      break 2
4348    fi
4349  done
4350done
4351fi
4352rm -f core conftest.err conftest.$ac_objext \
4353    conftest$ac_exeext conftest.$ac_ext
4354fi # $ac_x_libraries = no
4355
4356case $ac_x_includes,$ac_x_libraries in #(
4357  no,* | *,no | *\'*)
4358    # Didn't find X, or a directory has "'" in its name.
4359    ac_cv_have_x="have_x=no";; #(
4360  *)
4361    # Record where we found X for the cache.
4362    ac_cv_have_x="have_x=yes\
4363	ac_x_includes='$ac_x_includes'\
4364	ac_x_libraries='$ac_x_libraries'"
4365esac
4366fi
4367;; #(
4368    *) have_x=yes;;
4369  esac
4370  eval "$ac_cv_have_x"
4371fi # $with_x != no
4372
4373if test "$have_x" != yes; then
4374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4375$as_echo "$have_x" >&6; }
4376  no_x=yes
4377else
4378  # If each of the values was on the command line, it overrides each guess.
4379  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4380  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4381  # Update the cache value to reflect the command line values.
4382  ac_cv_have_x="have_x=yes\
4383	ac_x_includes='$x_includes'\
4384	ac_x_libraries='$x_libraries'"
4385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4386$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4387fi
4388
4389if test "$no_x" = yes; then
4390  # Not all programs may use this symbol, but it does not hurt to define it.
4391
4392$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
4393
4394  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4395else
4396  if test -n "$x_includes"; then
4397    X_CFLAGS="$X_CFLAGS -I$x_includes"
4398  fi
4399
4400  # It would also be nice to do this for all -L options, not just this one.
4401  if test -n "$x_libraries"; then
4402    X_LIBS="$X_LIBS -L$x_libraries"
4403    # For Solaris; some versions of Sun CC require a space after -R and
4404    # others require no space.  Words are not sufficient . . . .
4405    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
4406$as_echo_n "checking whether -R must be followed by a space... " >&6; }
4407    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4408    ac_xsave_c_werror_flag=$ac_c_werror_flag
4409    ac_c_werror_flag=yes
4410    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4411/* end confdefs.h.  */
4412
4413int
4414main ()
4415{
4416
4417  ;
4418  return 0;
4419}
4420_ACEOF
4421if ac_fn_c_try_link "$LINENO"; then :
4422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423$as_echo "no" >&6; }
4424       X_LIBS="$X_LIBS -R$x_libraries"
4425else
4426  LIBS="$ac_xsave_LIBS -R $x_libraries"
4427       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428/* end confdefs.h.  */
4429
4430int
4431main ()
4432{
4433
4434  ;
4435  return 0;
4436}
4437_ACEOF
4438if ac_fn_c_try_link "$LINENO"; then :
4439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4440$as_echo "yes" >&6; }
4441	  X_LIBS="$X_LIBS -R $x_libraries"
4442else
4443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
4444$as_echo "neither works" >&6; }
4445fi
4446rm -f core conftest.err conftest.$ac_objext \
4447    conftest$ac_exeext conftest.$ac_ext
4448fi
4449rm -f core conftest.err conftest.$ac_objext \
4450    conftest$ac_exeext conftest.$ac_ext
4451    ac_c_werror_flag=$ac_xsave_c_werror_flag
4452    LIBS=$ac_xsave_LIBS
4453  fi
4454
4455  # Check for system-dependent libraries X programs must link with.
4456  # Do this before checking for the system-independent R6 libraries
4457  # (-lICE), since we may need -lsocket or whatever for X linking.
4458
4459  if test "$ISC" = yes; then
4460    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4461  else
4462    # Martyn Johnson says this is needed for Ultrix, if the X
4463    # libraries were built with DECnet support.  And Karl Berry says
4464    # the Alpha needs dnet_stub (dnet does not exist).
4465    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4466    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467/* end confdefs.h.  */
4468
4469/* Override any GCC internal prototype to avoid an error.
4470   Use char because int might match the return type of a GCC
4471   builtin and then its argument prototype would still apply.  */
4472#ifdef __cplusplus
4473extern "C"
4474#endif
4475char XOpenDisplay ();
4476int
4477main ()
4478{
4479return XOpenDisplay ();
4480  ;
4481  return 0;
4482}
4483_ACEOF
4484if ac_fn_c_try_link "$LINENO"; then :
4485
4486else
4487  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
4488$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
4489if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
4490  $as_echo_n "(cached) " >&6
4491else
4492  ac_check_lib_save_LIBS=$LIBS
4493LIBS="-ldnet  $LIBS"
4494cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495/* end confdefs.h.  */
4496
4497/* Override any GCC internal prototype to avoid an error.
4498   Use char because int might match the return type of a GCC
4499   builtin and then its argument prototype would still apply.  */
4500#ifdef __cplusplus
4501extern "C"
4502#endif
4503char dnet_ntoa ();
4504int
4505main ()
4506{
4507return dnet_ntoa ();
4508  ;
4509  return 0;
4510}
4511_ACEOF
4512if ac_fn_c_try_link "$LINENO"; then :
4513  ac_cv_lib_dnet_dnet_ntoa=yes
4514else
4515  ac_cv_lib_dnet_dnet_ntoa=no
4516fi
4517rm -f core conftest.err conftest.$ac_objext \
4518    conftest$ac_exeext conftest.$ac_ext
4519LIBS=$ac_check_lib_save_LIBS
4520fi
4521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4522$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4523if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
4524  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4525fi
4526
4527    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4528      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
4529$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
4530if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
4531  $as_echo_n "(cached) " >&6
4532else
4533  ac_check_lib_save_LIBS=$LIBS
4534LIBS="-ldnet_stub  $LIBS"
4535cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536/* end confdefs.h.  */
4537
4538/* Override any GCC internal prototype to avoid an error.
4539   Use char because int might match the return type of a GCC
4540   builtin and then its argument prototype would still apply.  */
4541#ifdef __cplusplus
4542extern "C"
4543#endif
4544char dnet_ntoa ();
4545int
4546main ()
4547{
4548return dnet_ntoa ();
4549  ;
4550  return 0;
4551}
4552_ACEOF
4553if ac_fn_c_try_link "$LINENO"; then :
4554  ac_cv_lib_dnet_stub_dnet_ntoa=yes
4555else
4556  ac_cv_lib_dnet_stub_dnet_ntoa=no
4557fi
4558rm -f core conftest.err conftest.$ac_objext \
4559    conftest$ac_exeext conftest.$ac_ext
4560LIBS=$ac_check_lib_save_LIBS
4561fi
4562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4563$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4564if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
4565  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4566fi
4567
4568    fi
4569fi
4570rm -f core conftest.err conftest.$ac_objext \
4571    conftest$ac_exeext conftest.$ac_ext
4572    LIBS="$ac_xsave_LIBS"
4573
4574    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4575    # to get the SysV transport functions.
4576    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4577    # needs -lnsl.
4578    # The nsl library prevents programs from opening the X display
4579    # on Irix 5.2, according to T.E. Dickey.
4580    # The functions gethostbyname, getservbyname, and inet_addr are
4581    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4582    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
4583if test "x$ac_cv_func_gethostbyname" = xyes; then :
4584
4585fi
4586
4587    if test $ac_cv_func_gethostbyname = no; then
4588      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
4589$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
4590if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
4591  $as_echo_n "(cached) " >&6
4592else
4593  ac_check_lib_save_LIBS=$LIBS
4594LIBS="-lnsl  $LIBS"
4595cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596/* end confdefs.h.  */
4597
4598/* Override any GCC internal prototype to avoid an error.
4599   Use char because int might match the return type of a GCC
4600   builtin and then its argument prototype would still apply.  */
4601#ifdef __cplusplus
4602extern "C"
4603#endif
4604char gethostbyname ();
4605int
4606main ()
4607{
4608return gethostbyname ();
4609  ;
4610  return 0;
4611}
4612_ACEOF
4613if ac_fn_c_try_link "$LINENO"; then :
4614  ac_cv_lib_nsl_gethostbyname=yes
4615else
4616  ac_cv_lib_nsl_gethostbyname=no
4617fi
4618rm -f core conftest.err conftest.$ac_objext \
4619    conftest$ac_exeext conftest.$ac_ext
4620LIBS=$ac_check_lib_save_LIBS
4621fi
4622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
4623$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
4624if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
4625  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4626fi
4627
4628      if test $ac_cv_lib_nsl_gethostbyname = no; then
4629	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
4630$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
4631if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
4632  $as_echo_n "(cached) " >&6
4633else
4634  ac_check_lib_save_LIBS=$LIBS
4635LIBS="-lbsd  $LIBS"
4636cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637/* end confdefs.h.  */
4638
4639/* Override any GCC internal prototype to avoid an error.
4640   Use char because int might match the return type of a GCC
4641   builtin and then its argument prototype would still apply.  */
4642#ifdef __cplusplus
4643extern "C"
4644#endif
4645char gethostbyname ();
4646int
4647main ()
4648{
4649return gethostbyname ();
4650  ;
4651  return 0;
4652}
4653_ACEOF
4654if ac_fn_c_try_link "$LINENO"; then :
4655  ac_cv_lib_bsd_gethostbyname=yes
4656else
4657  ac_cv_lib_bsd_gethostbyname=no
4658fi
4659rm -f core conftest.err conftest.$ac_objext \
4660    conftest$ac_exeext conftest.$ac_ext
4661LIBS=$ac_check_lib_save_LIBS
4662fi
4663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
4664$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
4665if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
4666  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4667fi
4668
4669      fi
4670    fi
4671
4672    # lieder@skyler.mavd.honeywell.com says without -lsocket,
4673    # socket/setsockopt and other routines are undefined under SCO ODT
4674    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
4675    # on later versions), says Simon Leinen: it contains gethostby*
4676    # variants that don't use the name server (or something).  -lsocket
4677    # must be given before -lnsl if both are needed.  We assume that
4678    # if connect needs -lnsl, so does gethostbyname.
4679    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
4680if test "x$ac_cv_func_connect" = xyes; then :
4681
4682fi
4683
4684    if test $ac_cv_func_connect = no; then
4685      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
4686$as_echo_n "checking for connect in -lsocket... " >&6; }
4687if ${ac_cv_lib_socket_connect+:} false; then :
4688  $as_echo_n "(cached) " >&6
4689else
4690  ac_check_lib_save_LIBS=$LIBS
4691LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4692cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4693/* end confdefs.h.  */
4694
4695/* Override any GCC internal prototype to avoid an error.
4696   Use char because int might match the return type of a GCC
4697   builtin and then its argument prototype would still apply.  */
4698#ifdef __cplusplus
4699extern "C"
4700#endif
4701char connect ();
4702int
4703main ()
4704{
4705return connect ();
4706  ;
4707  return 0;
4708}
4709_ACEOF
4710if ac_fn_c_try_link "$LINENO"; then :
4711  ac_cv_lib_socket_connect=yes
4712else
4713  ac_cv_lib_socket_connect=no
4714fi
4715rm -f core conftest.err conftest.$ac_objext \
4716    conftest$ac_exeext conftest.$ac_ext
4717LIBS=$ac_check_lib_save_LIBS
4718fi
4719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
4720$as_echo "$ac_cv_lib_socket_connect" >&6; }
4721if test "x$ac_cv_lib_socket_connect" = xyes; then :
4722  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4723fi
4724
4725    fi
4726
4727    # Guillermo Gomez says -lposix is necessary on A/UX.
4728    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
4729if test "x$ac_cv_func_remove" = xyes; then :
4730
4731fi
4732
4733    if test $ac_cv_func_remove = no; then
4734      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
4735$as_echo_n "checking for remove in -lposix... " >&6; }
4736if ${ac_cv_lib_posix_remove+:} false; then :
4737  $as_echo_n "(cached) " >&6
4738else
4739  ac_check_lib_save_LIBS=$LIBS
4740LIBS="-lposix  $LIBS"
4741cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742/* end confdefs.h.  */
4743
4744/* Override any GCC internal prototype to avoid an error.
4745   Use char because int might match the return type of a GCC
4746   builtin and then its argument prototype would still apply.  */
4747#ifdef __cplusplus
4748extern "C"
4749#endif
4750char remove ();
4751int
4752main ()
4753{
4754return remove ();
4755  ;
4756  return 0;
4757}
4758_ACEOF
4759if ac_fn_c_try_link "$LINENO"; then :
4760  ac_cv_lib_posix_remove=yes
4761else
4762  ac_cv_lib_posix_remove=no
4763fi
4764rm -f core conftest.err conftest.$ac_objext \
4765    conftest$ac_exeext conftest.$ac_ext
4766LIBS=$ac_check_lib_save_LIBS
4767fi
4768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
4769$as_echo "$ac_cv_lib_posix_remove" >&6; }
4770if test "x$ac_cv_lib_posix_remove" = xyes; then :
4771  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4772fi
4773
4774    fi
4775
4776    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4777    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
4778if test "x$ac_cv_func_shmat" = xyes; then :
4779
4780fi
4781
4782    if test $ac_cv_func_shmat = no; then
4783      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
4784$as_echo_n "checking for shmat in -lipc... " >&6; }
4785if ${ac_cv_lib_ipc_shmat+:} false; then :
4786  $as_echo_n "(cached) " >&6
4787else
4788  ac_check_lib_save_LIBS=$LIBS
4789LIBS="-lipc  $LIBS"
4790cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791/* end confdefs.h.  */
4792
4793/* Override any GCC internal prototype to avoid an error.
4794   Use char because int might match the return type of a GCC
4795   builtin and then its argument prototype would still apply.  */
4796#ifdef __cplusplus
4797extern "C"
4798#endif
4799char shmat ();
4800int
4801main ()
4802{
4803return shmat ();
4804  ;
4805  return 0;
4806}
4807_ACEOF
4808if ac_fn_c_try_link "$LINENO"; then :
4809  ac_cv_lib_ipc_shmat=yes
4810else
4811  ac_cv_lib_ipc_shmat=no
4812fi
4813rm -f core conftest.err conftest.$ac_objext \
4814    conftest$ac_exeext conftest.$ac_ext
4815LIBS=$ac_check_lib_save_LIBS
4816fi
4817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
4818$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
4819if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
4820  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4821fi
4822
4823    fi
4824  fi
4825
4826  # Check for libraries that X11R6 Xt/Xaw programs need.
4827  ac_save_LDFLAGS=$LDFLAGS
4828  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4829  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4830  # check for ICE first), but we must link in the order -lSM -lICE or
4831  # we get undefined symbols.  So assume we have SM if we have ICE.
4832  # These have to be linked with before -lX11, unlike the other
4833  # libraries we check for below, so use a different variable.
4834  # John Interrante, Karl Berry
4835  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
4836$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
4837if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
4838  $as_echo_n "(cached) " >&6
4839else
4840  ac_check_lib_save_LIBS=$LIBS
4841LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4842cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4843/* end confdefs.h.  */
4844
4845/* Override any GCC internal prototype to avoid an error.
4846   Use char because int might match the return type of a GCC
4847   builtin and then its argument prototype would still apply.  */
4848#ifdef __cplusplus
4849extern "C"
4850#endif
4851char IceConnectionNumber ();
4852int
4853main ()
4854{
4855return IceConnectionNumber ();
4856  ;
4857  return 0;
4858}
4859_ACEOF
4860if ac_fn_c_try_link "$LINENO"; then :
4861  ac_cv_lib_ICE_IceConnectionNumber=yes
4862else
4863  ac_cv_lib_ICE_IceConnectionNumber=no
4864fi
4865rm -f core conftest.err conftest.$ac_objext \
4866    conftest$ac_exeext conftest.$ac_ext
4867LIBS=$ac_check_lib_save_LIBS
4868fi
4869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4870$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4871if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
4872  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4873fi
4874
4875  LDFLAGS=$ac_save_LDFLAGS
4876
4877fi
4878
4879
4880
4881
4882AR_FLAGS=cr
4883
4884
4885
4886  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4887$as_echo_n "checking whether NLS is requested... " >&6; }
4888    # Check whether --enable-nls was given.
4889if test "${enable_nls+set}" = set; then :
4890  enableval=$enable_nls; USE_NLS=$enableval
4891else
4892  USE_NLS=yes
4893fi
4894
4895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4896$as_echo "$USE_NLS" >&6; }
4897
4898
4899
4900
4901case "$am__api_version" in
4902    1.01234)
4903	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4904    ;;
4905    *)
4906    ;;
4907esac
4908
4909INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4910INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4911INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4912if test -n "0.35.0"; then
4913    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4914$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4915    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4916$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4917    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4918	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
4919fi
4920
4921# Extract the first word of "intltool-update", so it can be a program name with args.
4922set dummy intltool-update; ac_word=$2
4923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924$as_echo_n "checking for $ac_word... " >&6; }
4925if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4926  $as_echo_n "(cached) " >&6
4927else
4928  case $INTLTOOL_UPDATE in
4929  [\\/]* | ?:[\\/]*)
4930  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4931  ;;
4932  *)
4933  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934for as_dir in $PATH
4935do
4936  IFS=$as_save_IFS
4937  test -z "$as_dir" && as_dir=.
4938    for ac_exec_ext in '' $ac_executable_extensions; do
4939  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4940    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4941    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942    break 2
4943  fi
4944done
4945  done
4946IFS=$as_save_IFS
4947
4948  ;;
4949esac
4950fi
4951INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4952if test -n "$INTLTOOL_UPDATE"; then
4953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4954$as_echo "$INTLTOOL_UPDATE" >&6; }
4955else
4956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957$as_echo "no" >&6; }
4958fi
4959
4960
4961# Extract the first word of "intltool-merge", so it can be a program name with args.
4962set dummy intltool-merge; ac_word=$2
4963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4964$as_echo_n "checking for $ac_word... " >&6; }
4965if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4966  $as_echo_n "(cached) " >&6
4967else
4968  case $INTLTOOL_MERGE in
4969  [\\/]* | ?:[\\/]*)
4970  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4971  ;;
4972  *)
4973  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4974for as_dir in $PATH
4975do
4976  IFS=$as_save_IFS
4977  test -z "$as_dir" && as_dir=.
4978    for ac_exec_ext in '' $ac_executable_extensions; do
4979  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4980    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4981    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4982    break 2
4983  fi
4984done
4985  done
4986IFS=$as_save_IFS
4987
4988  ;;
4989esac
4990fi
4991INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4992if test -n "$INTLTOOL_MERGE"; then
4993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4994$as_echo "$INTLTOOL_MERGE" >&6; }
4995else
4996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4997$as_echo "no" >&6; }
4998fi
4999
5000
5001# Extract the first word of "intltool-extract", so it can be a program name with args.
5002set dummy intltool-extract; ac_word=$2
5003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5004$as_echo_n "checking for $ac_word... " >&6; }
5005if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
5006  $as_echo_n "(cached) " >&6
5007else
5008  case $INTLTOOL_EXTRACT in
5009  [\\/]* | ?:[\\/]*)
5010  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
5011  ;;
5012  *)
5013  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014for as_dir in $PATH
5015do
5016  IFS=$as_save_IFS
5017  test -z "$as_dir" && as_dir=.
5018    for ac_exec_ext in '' $ac_executable_extensions; do
5019  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5020    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
5021    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022    break 2
5023  fi
5024done
5025  done
5026IFS=$as_save_IFS
5027
5028  ;;
5029esac
5030fi
5031INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
5032if test -n "$INTLTOOL_EXTRACT"; then
5033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5034$as_echo "$INTLTOOL_EXTRACT" >&6; }
5035else
5036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037$as_echo "no" >&6; }
5038fi
5039
5040
5041if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5042    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5043fi
5044
5045if test -z "$AM_DEFAULT_VERBOSITY"; then
5046  AM_DEFAULT_VERBOSITY=1
5047fi
5048
5049
5050INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
5051INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
5052INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
5053
5054
5055
5056
5057INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
5058intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
5059intltool__v_merge_options_0='-q'
5060
5061
5062
5063
5064  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 $< $@'
5065INTLTOOL_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 $< $@'
5066     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 $< $@'
5067     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 $< $@'
5068      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 $< $@'
5069     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 $< $@'
5070   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 $< $@'
5071    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 $< $@'
5072INTLTOOL_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 $< $@'
5073       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 $< $@'
5074      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 $< $@'
5075if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
5076      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 $< $@'
5077else
5078      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'
5079fi
5080      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 $< $@'
5081      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 $< $@'
5082    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 $< $@'
5083  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 $< $@'
5084    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 $< $@'
5085    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 $< $@'
5086   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 $< $@'
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184# Check the gettext tools to make sure they are GNU
5185# Extract the first word of "xgettext", so it can be a program name with args.
5186set dummy xgettext; ac_word=$2
5187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188$as_echo_n "checking for $ac_word... " >&6; }
5189if ${ac_cv_path_XGETTEXT+:} false; then :
5190  $as_echo_n "(cached) " >&6
5191else
5192  case $XGETTEXT in
5193  [\\/]* | ?:[\\/]*)
5194  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5195  ;;
5196  *)
5197  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5198for as_dir in $PATH
5199do
5200  IFS=$as_save_IFS
5201  test -z "$as_dir" && as_dir=.
5202    for ac_exec_ext in '' $ac_executable_extensions; do
5203  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5204    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5205    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5206    break 2
5207  fi
5208done
5209  done
5210IFS=$as_save_IFS
5211
5212  ;;
5213esac
5214fi
5215XGETTEXT=$ac_cv_path_XGETTEXT
5216if test -n "$XGETTEXT"; then
5217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5218$as_echo "$XGETTEXT" >&6; }
5219else
5220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221$as_echo "no" >&6; }
5222fi
5223
5224
5225# Extract the first word of "msgmerge", so it can be a program name with args.
5226set dummy msgmerge; ac_word=$2
5227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228$as_echo_n "checking for $ac_word... " >&6; }
5229if ${ac_cv_path_MSGMERGE+:} false; then :
5230  $as_echo_n "(cached) " >&6
5231else
5232  case $MSGMERGE in
5233  [\\/]* | ?:[\\/]*)
5234  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5235  ;;
5236  *)
5237  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238for as_dir in $PATH
5239do
5240  IFS=$as_save_IFS
5241  test -z "$as_dir" && as_dir=.
5242    for ac_exec_ext in '' $ac_executable_extensions; do
5243  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5245    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246    break 2
5247  fi
5248done
5249  done
5250IFS=$as_save_IFS
5251
5252  ;;
5253esac
5254fi
5255MSGMERGE=$ac_cv_path_MSGMERGE
5256if test -n "$MSGMERGE"; then
5257  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5258$as_echo "$MSGMERGE" >&6; }
5259else
5260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261$as_echo "no" >&6; }
5262fi
5263
5264
5265# Extract the first word of "msgfmt", so it can be a program name with args.
5266set dummy msgfmt; ac_word=$2
5267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268$as_echo_n "checking for $ac_word... " >&6; }
5269if ${ac_cv_path_MSGFMT+:} false; then :
5270  $as_echo_n "(cached) " >&6
5271else
5272  case $MSGFMT in
5273  [\\/]* | ?:[\\/]*)
5274  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5275  ;;
5276  *)
5277  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278for as_dir in $PATH
5279do
5280  IFS=$as_save_IFS
5281  test -z "$as_dir" && as_dir=.
5282    for ac_exec_ext in '' $ac_executable_extensions; do
5283  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5284    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5285    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286    break 2
5287  fi
5288done
5289  done
5290IFS=$as_save_IFS
5291
5292  ;;
5293esac
5294fi
5295MSGFMT=$ac_cv_path_MSGFMT
5296if test -n "$MSGFMT"; then
5297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5298$as_echo "$MSGFMT" >&6; }
5299else
5300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301$as_echo "no" >&6; }
5302fi
5303
5304
5305# Extract the first word of "gmsgfmt", so it can be a program name with args.
5306set dummy gmsgfmt; ac_word=$2
5307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308$as_echo_n "checking for $ac_word... " >&6; }
5309if ${ac_cv_path_GMSGFMT+:} false; then :
5310  $as_echo_n "(cached) " >&6
5311else
5312  case $GMSGFMT in
5313  [\\/]* | ?:[\\/]*)
5314  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5315  ;;
5316  *)
5317  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318for as_dir in $PATH
5319do
5320  IFS=$as_save_IFS
5321  test -z "$as_dir" && as_dir=.
5322    for ac_exec_ext in '' $ac_executable_extensions; do
5323  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5324    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5325    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5326    break 2
5327  fi
5328done
5329  done
5330IFS=$as_save_IFS
5331
5332  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5333  ;;
5334esac
5335fi
5336GMSGFMT=$ac_cv_path_GMSGFMT
5337if test -n "$GMSGFMT"; then
5338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5339$as_echo "$GMSGFMT" >&6; }
5340else
5341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342$as_echo "no" >&6; }
5343fi
5344
5345
5346if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5347    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5348fi
5349xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5350mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5351mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5352if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5353    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5354fi
5355
5356# Extract the first word of "perl", so it can be a program name with args.
5357set dummy perl; ac_word=$2
5358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359$as_echo_n "checking for $ac_word... " >&6; }
5360if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
5361  $as_echo_n "(cached) " >&6
5362else
5363  case $INTLTOOL_PERL in
5364  [\\/]* | ?:[\\/]*)
5365  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
5366  ;;
5367  *)
5368  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369for as_dir in $PATH
5370do
5371  IFS=$as_save_IFS
5372  test -z "$as_dir" && as_dir=.
5373    for ac_exec_ext in '' $ac_executable_extensions; do
5374  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5375    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5376    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377    break 2
5378  fi
5379done
5380  done
5381IFS=$as_save_IFS
5382
5383  ;;
5384esac
5385fi
5386INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5387if test -n "$INTLTOOL_PERL"; then
5388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5389$as_echo "$INTLTOOL_PERL" >&6; }
5390else
5391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392$as_echo "no" >&6; }
5393fi
5394
5395
5396if test -z "$INTLTOOL_PERL"; then
5397   as_fn_error $? "perl not found" "$LINENO" 5
5398fi
5399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5400$as_echo_n "checking for perl >= 5.8.1... " >&6; }
5401$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5402if test $? -ne 0; then
5403   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
5404else
5405   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
5406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5407$as_echo "$IT_PERL_VERSION" >&6; }
5408fi
5409if test "x" != "xno-xml"; then
5410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5411$as_echo_n "checking for XML::Parser... " >&6; }
5412   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5413       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5414$as_echo "ok" >&6; }
5415   else
5416       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
5417   fi
5418fi
5419
5420# Substitute ALL_LINGUAS so we can use it in po/Makefile
5421
5422
5423
5424
5425
5426
5427GETTEXT_PACKAGE=xneur
5428
5429
5430cat >>confdefs.h <<_ACEOF
5431#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
5432_ACEOF
5433
5434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5435$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5436if ${ac_cv_path_GREP+:} false; then :
5437  $as_echo_n "(cached) " >&6
5438else
5439  if test -z "$GREP"; then
5440  ac_path_GREP_found=false
5441  # Loop through the user's path and test for each of PROGNAME-LIST
5442  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5444do
5445  IFS=$as_save_IFS
5446  test -z "$as_dir" && as_dir=.
5447    for ac_prog in grep ggrep; do
5448    for ac_exec_ext in '' $ac_executable_extensions; do
5449      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5450      as_fn_executable_p "$ac_path_GREP" || continue
5451# Check for GNU ac_path_GREP and select it if it is found.
5452  # Check for GNU $ac_path_GREP
5453case `"$ac_path_GREP" --version 2>&1` in
5454*GNU*)
5455  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5456*)
5457  ac_count=0
5458  $as_echo_n 0123456789 >"conftest.in"
5459  while :
5460  do
5461    cat "conftest.in" "conftest.in" >"conftest.tmp"
5462    mv "conftest.tmp" "conftest.in"
5463    cp "conftest.in" "conftest.nl"
5464    $as_echo 'GREP' >> "conftest.nl"
5465    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5466    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5467    as_fn_arith $ac_count + 1 && ac_count=$as_val
5468    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5469      # Best one so far, save it but keep looking for a better one
5470      ac_cv_path_GREP="$ac_path_GREP"
5471      ac_path_GREP_max=$ac_count
5472    fi
5473    # 10*(2^10) chars as input seems more than enough
5474    test $ac_count -gt 10 && break
5475  done
5476  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5477esac
5478
5479      $ac_path_GREP_found && break 3
5480    done
5481  done
5482  done
5483IFS=$as_save_IFS
5484  if test -z "$ac_cv_path_GREP"; then
5485    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5486  fi
5487else
5488  ac_cv_path_GREP=$GREP
5489fi
5490
5491fi
5492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5493$as_echo "$ac_cv_path_GREP" >&6; }
5494 GREP="$ac_cv_path_GREP"
5495
5496
5497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5498$as_echo_n "checking for egrep... " >&6; }
5499if ${ac_cv_path_EGREP+:} false; then :
5500  $as_echo_n "(cached) " >&6
5501else
5502  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5503   then ac_cv_path_EGREP="$GREP -E"
5504   else
5505     if test -z "$EGREP"; then
5506  ac_path_EGREP_found=false
5507  # Loop through the user's path and test for each of PROGNAME-LIST
5508  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5510do
5511  IFS=$as_save_IFS
5512  test -z "$as_dir" && as_dir=.
5513    for ac_prog in egrep; do
5514    for ac_exec_ext in '' $ac_executable_extensions; do
5515      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5516      as_fn_executable_p "$ac_path_EGREP" || continue
5517# Check for GNU ac_path_EGREP and select it if it is found.
5518  # Check for GNU $ac_path_EGREP
5519case `"$ac_path_EGREP" --version 2>&1` in
5520*GNU*)
5521  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5522*)
5523  ac_count=0
5524  $as_echo_n 0123456789 >"conftest.in"
5525  while :
5526  do
5527    cat "conftest.in" "conftest.in" >"conftest.tmp"
5528    mv "conftest.tmp" "conftest.in"
5529    cp "conftest.in" "conftest.nl"
5530    $as_echo 'EGREP' >> "conftest.nl"
5531    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5532    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5533    as_fn_arith $ac_count + 1 && ac_count=$as_val
5534    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5535      # Best one so far, save it but keep looking for a better one
5536      ac_cv_path_EGREP="$ac_path_EGREP"
5537      ac_path_EGREP_max=$ac_count
5538    fi
5539    # 10*(2^10) chars as input seems more than enough
5540    test $ac_count -gt 10 && break
5541  done
5542  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5543esac
5544
5545      $ac_path_EGREP_found && break 3
5546    done
5547  done
5548  done
5549IFS=$as_save_IFS
5550  if test -z "$ac_cv_path_EGREP"; then
5551    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5552  fi
5553else
5554  ac_cv_path_EGREP=$EGREP
5555fi
5556
5557   fi
5558fi
5559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5560$as_echo "$ac_cv_path_EGREP" >&6; }
5561 EGREP="$ac_cv_path_EGREP"
5562
5563
5564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5565$as_echo_n "checking for ANSI C header files... " >&6; }
5566if ${ac_cv_header_stdc+:} false; then :
5567  $as_echo_n "(cached) " >&6
5568else
5569  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5570/* end confdefs.h.  */
5571#include <stdlib.h>
5572#include <stdarg.h>
5573#include <string.h>
5574#include <float.h>
5575
5576int
5577main ()
5578{
5579
5580  ;
5581  return 0;
5582}
5583_ACEOF
5584if ac_fn_c_try_compile "$LINENO"; then :
5585  ac_cv_header_stdc=yes
5586else
5587  ac_cv_header_stdc=no
5588fi
5589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5590
5591if test $ac_cv_header_stdc = yes; then
5592  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5593  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5594/* end confdefs.h.  */
5595#include <string.h>
5596
5597_ACEOF
5598if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5599  $EGREP "memchr" >/dev/null 2>&1; then :
5600
5601else
5602  ac_cv_header_stdc=no
5603fi
5604rm -f conftest*
5605
5606fi
5607
5608if test $ac_cv_header_stdc = yes; then
5609  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5610  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5611/* end confdefs.h.  */
5612#include <stdlib.h>
5613
5614_ACEOF
5615if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5616  $EGREP "free" >/dev/null 2>&1; then :
5617
5618else
5619  ac_cv_header_stdc=no
5620fi
5621rm -f conftest*
5622
5623fi
5624
5625if test $ac_cv_header_stdc = yes; then
5626  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5627  if test "$cross_compiling" = yes; then :
5628  :
5629else
5630  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631/* end confdefs.h.  */
5632#include <ctype.h>
5633#include <stdlib.h>
5634#if ((' ' & 0x0FF) == 0x020)
5635# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5636# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5637#else
5638# define ISLOWER(c) \
5639		   (('a' <= (c) && (c) <= 'i') \
5640		     || ('j' <= (c) && (c) <= 'r') \
5641		     || ('s' <= (c) && (c) <= 'z'))
5642# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5643#endif
5644
5645#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5646int
5647main ()
5648{
5649  int i;
5650  for (i = 0; i < 256; i++)
5651    if (XOR (islower (i), ISLOWER (i))
5652	|| toupper (i) != TOUPPER (i))
5653      return 2;
5654  return 0;
5655}
5656_ACEOF
5657if ac_fn_c_try_run "$LINENO"; then :
5658
5659else
5660  ac_cv_header_stdc=no
5661fi
5662rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5663  conftest.$ac_objext conftest.beam conftest.$ac_ext
5664fi
5665
5666fi
5667fi
5668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5669$as_echo "$ac_cv_header_stdc" >&6; }
5670if test $ac_cv_header_stdc = yes; then
5671
5672$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5673
5674fi
5675
5676# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5677for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5678		  inttypes.h stdint.h unistd.h
5679do :
5680  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5681ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5682"
5683if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5684  cat >>confdefs.h <<_ACEOF
5685#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5686_ACEOF
5687
5688fi
5689
5690done
5691
5692
5693
5694   for ac_header in locale.h
5695do :
5696  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5697if test "x$ac_cv_header_locale_h" = xyes; then :
5698  cat >>confdefs.h <<_ACEOF
5699#define HAVE_LOCALE_H 1
5700_ACEOF
5701
5702fi
5703
5704done
5705
5706    if test $ac_cv_header_locale_h = yes; then
5707    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5708$as_echo_n "checking for LC_MESSAGES... " >&6; }
5709if ${am_cv_val_LC_MESSAGES+:} false; then :
5710  $as_echo_n "(cached) " >&6
5711else
5712  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713/* end confdefs.h.  */
5714#include <locale.h>
5715int
5716main ()
5717{
5718return LC_MESSAGES
5719  ;
5720  return 0;
5721}
5722_ACEOF
5723if ac_fn_c_try_link "$LINENO"; then :
5724  am_cv_val_LC_MESSAGES=yes
5725else
5726  am_cv_val_LC_MESSAGES=no
5727fi
5728rm -f core conftest.err conftest.$ac_objext \
5729    conftest$ac_exeext conftest.$ac_ext
5730fi
5731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5732$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5733    if test $am_cv_val_LC_MESSAGES = yes; then
5734
5735$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5736
5737    fi
5738  fi
5739     USE_NLS=yes
5740
5741
5742    gt_cv_have_gettext=no
5743
5744    CATOBJEXT=NONE
5745    XGETTEXT=:
5746    INTLLIBS=
5747
5748    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5749if test "x$ac_cv_header_libintl_h" = xyes; then :
5750  gt_cv_func_dgettext_libintl="no"
5751      libintl_extra_libs=""
5752
5753      #
5754      # First check in libc
5755      #
5756      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5757$as_echo_n "checking for ngettext in libc... " >&6; }
5758if ${gt_cv_func_ngettext_libc+:} false; then :
5759  $as_echo_n "(cached) " >&6
5760else
5761  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5762/* end confdefs.h.  */
5763
5764#include <libintl.h>
5765
5766int
5767main ()
5768{
5769return !ngettext ("","", 1)
5770  ;
5771  return 0;
5772}
5773_ACEOF
5774if ac_fn_c_try_link "$LINENO"; then :
5775  gt_cv_func_ngettext_libc=yes
5776else
5777  gt_cv_func_ngettext_libc=no
5778fi
5779rm -f core conftest.err conftest.$ac_objext \
5780    conftest$ac_exeext conftest.$ac_ext
5781
5782fi
5783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5784$as_echo "$gt_cv_func_ngettext_libc" >&6; }
5785
5786      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5787	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5788$as_echo_n "checking for dgettext in libc... " >&6; }
5789if ${gt_cv_func_dgettext_libc+:} false; then :
5790  $as_echo_n "(cached) " >&6
5791else
5792  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5793/* end confdefs.h.  */
5794
5795#include <libintl.h>
5796
5797int
5798main ()
5799{
5800return !dgettext ("","")
5801  ;
5802  return 0;
5803}
5804_ACEOF
5805if ac_fn_c_try_link "$LINENO"; then :
5806  gt_cv_func_dgettext_libc=yes
5807else
5808  gt_cv_func_dgettext_libc=no
5809fi
5810rm -f core conftest.err conftest.$ac_objext \
5811    conftest$ac_exeext conftest.$ac_ext
5812
5813fi
5814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5815$as_echo "$gt_cv_func_dgettext_libc" >&6; }
5816      fi
5817
5818      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5819        for ac_func in bind_textdomain_codeset
5820do :
5821  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5822if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5823  cat >>confdefs.h <<_ACEOF
5824#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5825_ACEOF
5826
5827fi
5828done
5829
5830      fi
5831
5832      #
5833      # If we don't have everything we want, check in libintl
5834      #
5835      if test "$gt_cv_func_dgettext_libc" != "yes" \
5836	 || test "$gt_cv_func_ngettext_libc" != "yes" \
5837         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5838
5839        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5840$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5841if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
5842  $as_echo_n "(cached) " >&6
5843else
5844  ac_check_lib_save_LIBS=$LIBS
5845LIBS="-lintl  $LIBS"
5846cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5847/* end confdefs.h.  */
5848
5849/* Override any GCC internal prototype to avoid an error.
5850   Use char because int might match the return type of a GCC
5851   builtin and then its argument prototype would still apply.  */
5852#ifdef __cplusplus
5853extern "C"
5854#endif
5855char bindtextdomain ();
5856int
5857main ()
5858{
5859return bindtextdomain ();
5860  ;
5861  return 0;
5862}
5863_ACEOF
5864if ac_fn_c_try_link "$LINENO"; then :
5865  ac_cv_lib_intl_bindtextdomain=yes
5866else
5867  ac_cv_lib_intl_bindtextdomain=no
5868fi
5869rm -f core conftest.err conftest.$ac_objext \
5870    conftest$ac_exeext conftest.$ac_ext
5871LIBS=$ac_check_lib_save_LIBS
5872fi
5873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5874$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5875if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
5876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5877$as_echo_n "checking for ngettext in -lintl... " >&6; }
5878if ${ac_cv_lib_intl_ngettext+:} false; then :
5879  $as_echo_n "(cached) " >&6
5880else
5881  ac_check_lib_save_LIBS=$LIBS
5882LIBS="-lintl  $LIBS"
5883cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5884/* end confdefs.h.  */
5885
5886/* Override any GCC internal prototype to avoid an error.
5887   Use char because int might match the return type of a GCC
5888   builtin and then its argument prototype would still apply.  */
5889#ifdef __cplusplus
5890extern "C"
5891#endif
5892char ngettext ();
5893int
5894main ()
5895{
5896return ngettext ();
5897  ;
5898  return 0;
5899}
5900_ACEOF
5901if ac_fn_c_try_link "$LINENO"; then :
5902  ac_cv_lib_intl_ngettext=yes
5903else
5904  ac_cv_lib_intl_ngettext=no
5905fi
5906rm -f core conftest.err conftest.$ac_objext \
5907    conftest$ac_exeext conftest.$ac_ext
5908LIBS=$ac_check_lib_save_LIBS
5909fi
5910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5911$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5912if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5913  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5914$as_echo_n "checking for dgettext in -lintl... " >&6; }
5915if ${ac_cv_lib_intl_dgettext+:} false; then :
5916  $as_echo_n "(cached) " >&6
5917else
5918  ac_check_lib_save_LIBS=$LIBS
5919LIBS="-lintl  $LIBS"
5920cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5921/* end confdefs.h.  */
5922
5923/* Override any GCC internal prototype to avoid an error.
5924   Use char because int might match the return type of a GCC
5925   builtin and then its argument prototype would still apply.  */
5926#ifdef __cplusplus
5927extern "C"
5928#endif
5929char dgettext ();
5930int
5931main ()
5932{
5933return dgettext ();
5934  ;
5935  return 0;
5936}
5937_ACEOF
5938if ac_fn_c_try_link "$LINENO"; then :
5939  ac_cv_lib_intl_dgettext=yes
5940else
5941  ac_cv_lib_intl_dgettext=no
5942fi
5943rm -f core conftest.err conftest.$ac_objext \
5944    conftest$ac_exeext conftest.$ac_ext
5945LIBS=$ac_check_lib_save_LIBS
5946fi
5947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5948$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5949if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
5950  gt_cv_func_dgettext_libintl=yes
5951fi
5952
5953fi
5954
5955fi
5956
5957
5958	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5959	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5960$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5961	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5962$as_echo "" >&6; }
5963  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5964$as_echo_n "checking for ngettext in -lintl... " >&6; }
5965if ${ac_cv_lib_intl_ngettext+:} false; then :
5966  $as_echo_n "(cached) " >&6
5967else
5968  ac_check_lib_save_LIBS=$LIBS
5969LIBS="-lintl -liconv $LIBS"
5970cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5971/* end confdefs.h.  */
5972
5973/* Override any GCC internal prototype to avoid an error.
5974   Use char because int might match the return type of a GCC
5975   builtin and then its argument prototype would still apply.  */
5976#ifdef __cplusplus
5977extern "C"
5978#endif
5979char ngettext ();
5980int
5981main ()
5982{
5983return ngettext ();
5984  ;
5985  return 0;
5986}
5987_ACEOF
5988if ac_fn_c_try_link "$LINENO"; then :
5989  ac_cv_lib_intl_ngettext=yes
5990else
5991  ac_cv_lib_intl_ngettext=no
5992fi
5993rm -f core conftest.err conftest.$ac_objext \
5994    conftest$ac_exeext conftest.$ac_ext
5995LIBS=$ac_check_lib_save_LIBS
5996fi
5997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5998$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5999if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
6000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
6001$as_echo_n "checking for dcgettext in -lintl... " >&6; }
6002if ${ac_cv_lib_intl_dcgettext+:} false; then :
6003  $as_echo_n "(cached) " >&6
6004else
6005  ac_check_lib_save_LIBS=$LIBS
6006LIBS="-lintl -liconv $LIBS"
6007cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6008/* end confdefs.h.  */
6009
6010/* Override any GCC internal prototype to avoid an error.
6011   Use char because int might match the return type of a GCC
6012   builtin and then its argument prototype would still apply.  */
6013#ifdef __cplusplus
6014extern "C"
6015#endif
6016char dcgettext ();
6017int
6018main ()
6019{
6020return dcgettext ();
6021  ;
6022  return 0;
6023}
6024_ACEOF
6025if ac_fn_c_try_link "$LINENO"; then :
6026  ac_cv_lib_intl_dcgettext=yes
6027else
6028  ac_cv_lib_intl_dcgettext=no
6029fi
6030rm -f core conftest.err conftest.$ac_objext \
6031    conftest$ac_exeext conftest.$ac_ext
6032LIBS=$ac_check_lib_save_LIBS
6033fi
6034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
6035$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
6036if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
6037  gt_cv_func_dgettext_libintl=yes
6038			libintl_extra_libs=-liconv
6039else
6040  :
6041fi
6042
6043else
6044  :
6045fi
6046
6047        fi
6048
6049        #
6050        # If we found libintl, then check in it for bind_textdomain_codeset();
6051        # we'll prefer libc if neither have bind_textdomain_codeset(),
6052        # and both have dgettext and ngettext
6053        #
6054        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6055          glib_save_LIBS="$LIBS"
6056          LIBS="$LIBS -lintl $libintl_extra_libs"
6057          unset ac_cv_func_bind_textdomain_codeset
6058          for ac_func in bind_textdomain_codeset
6059do :
6060  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6061if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6062  cat >>confdefs.h <<_ACEOF
6063#define HAVE_BIND_TEXTDOMAIN_CODESET 1
6064_ACEOF
6065
6066fi
6067done
6068
6069          LIBS="$glib_save_LIBS"
6070
6071          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6072            gt_cv_func_dgettext_libc=no
6073          else
6074            if test "$gt_cv_func_dgettext_libc" = "yes" \
6075		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
6076              gt_cv_func_dgettext_libintl=no
6077            fi
6078          fi
6079        fi
6080      fi
6081
6082      if test "$gt_cv_func_dgettext_libc" = "yes" \
6083	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
6084        gt_cv_have_gettext=yes
6085      fi
6086
6087      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6088        INTLLIBS="-lintl $libintl_extra_libs"
6089      fi
6090
6091      if test "$gt_cv_have_gettext" = "yes"; then
6092
6093$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6094
6095	# Extract the first word of "msgfmt", so it can be a program name with args.
6096set dummy msgfmt; ac_word=$2
6097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6098$as_echo_n "checking for $ac_word... " >&6; }
6099if ${ac_cv_path_MSGFMT+:} false; then :
6100  $as_echo_n "(cached) " >&6
6101else
6102  case "$MSGFMT" in
6103  /*)
6104  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6105  ;;
6106  *)
6107  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6108  for ac_dir in $PATH; do
6109    test -z "$ac_dir" && ac_dir=.
6110    if test -f $ac_dir/$ac_word; then
6111      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6112	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6113	break
6114      fi
6115    fi
6116  done
6117  IFS="$ac_save_ifs"
6118  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6119  ;;
6120esac
6121fi
6122MSGFMT="$ac_cv_path_MSGFMT"
6123if test "$MSGFMT" != "no"; then
6124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6125$as_echo "$MSGFMT" >&6; }
6126else
6127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6128$as_echo "no" >&6; }
6129fi
6130	if test "$MSGFMT" != "no"; then
6131          glib_save_LIBS="$LIBS"
6132          LIBS="$LIBS $INTLLIBS"
6133	  for ac_func in dcgettext
6134do :
6135  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6136if test "x$ac_cv_func_dcgettext" = xyes; then :
6137  cat >>confdefs.h <<_ACEOF
6138#define HAVE_DCGETTEXT 1
6139_ACEOF
6140
6141fi
6142done
6143
6144	  MSGFMT_OPTS=
6145	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6146$as_echo_n "checking if msgfmt accepts -c... " >&6; }
6147	  cat >conftest.foo <<_ACEOF
6148
6149msgid ""
6150msgstr ""
6151"Content-Type: text/plain; charset=UTF-8\n"
6152"Project-Id-Version: test 1.0\n"
6153"PO-Revision-Date: 2007-02-15 12:01+0100\n"
6154"Last-Translator: test <foo@bar.xx>\n"
6155"Language-Team: C <LL@li.org>\n"
6156"MIME-Version: 1.0\n"
6157"Content-Transfer-Encoding: 8bit\n"
6158
6159_ACEOF
6160if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6161  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6162  ac_status=$?
6163  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6164  test $ac_status = 0; }; then
6165  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6166$as_echo "yes" >&6; }
6167else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6168$as_echo "no" >&6; }
6169echo "$as_me: failed input was:" >&5
6170sed 's/^/| /' conftest.foo >&5
6171fi
6172
6173	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
6174set dummy gmsgfmt; ac_word=$2
6175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6176$as_echo_n "checking for $ac_word... " >&6; }
6177if ${ac_cv_path_GMSGFMT+:} false; then :
6178  $as_echo_n "(cached) " >&6
6179else
6180  case $GMSGFMT in
6181  [\\/]* | ?:[\\/]*)
6182  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6183  ;;
6184  *)
6185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186for as_dir in $PATH
6187do
6188  IFS=$as_save_IFS
6189  test -z "$as_dir" && as_dir=.
6190    for ac_exec_ext in '' $ac_executable_extensions; do
6191  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6192    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6193    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6194    break 2
6195  fi
6196done
6197  done
6198IFS=$as_save_IFS
6199
6200  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6201  ;;
6202esac
6203fi
6204GMSGFMT=$ac_cv_path_GMSGFMT
6205if test -n "$GMSGFMT"; then
6206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6207$as_echo "$GMSGFMT" >&6; }
6208else
6209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6210$as_echo "no" >&6; }
6211fi
6212
6213
6214	  # Extract the first word of "xgettext", so it can be a program name with args.
6215set dummy xgettext; ac_word=$2
6216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6217$as_echo_n "checking for $ac_word... " >&6; }
6218if ${ac_cv_path_XGETTEXT+:} false; then :
6219  $as_echo_n "(cached) " >&6
6220else
6221  case "$XGETTEXT" in
6222  /*)
6223  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6224  ;;
6225  *)
6226  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6227  for ac_dir in $PATH; do
6228    test -z "$ac_dir" && ac_dir=.
6229    if test -f $ac_dir/$ac_word; then
6230      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6231	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6232	break
6233      fi
6234    fi
6235  done
6236  IFS="$ac_save_ifs"
6237  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6238  ;;
6239esac
6240fi
6241XGETTEXT="$ac_cv_path_XGETTEXT"
6242if test "$XGETTEXT" != ":"; then
6243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6244$as_echo "$XGETTEXT" >&6; }
6245else
6246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6247$as_echo "no" >&6; }
6248fi
6249
6250	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251/* end confdefs.h.  */
6252
6253int
6254main ()
6255{
6256extern int _nl_msg_cat_cntr;
6257			 return _nl_msg_cat_cntr
6258  ;
6259  return 0;
6260}
6261_ACEOF
6262if ac_fn_c_try_link "$LINENO"; then :
6263  CATOBJEXT=.gmo
6264             DATADIRNAME=share
6265else
6266  case $host in
6267	    *-*-solaris*)
6268	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6269if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6270  CATOBJEXT=.gmo
6271               DATADIRNAME=share
6272else
6273  CATOBJEXT=.mo
6274               DATADIRNAME=lib
6275fi
6276
6277	    ;;
6278	    *-*-openbsd*)
6279	    CATOBJEXT=.mo
6280            DATADIRNAME=share
6281	    ;;
6282	    *)
6283	    CATOBJEXT=.mo
6284            DATADIRNAME=lib
6285	    ;;
6286	    esac
6287fi
6288rm -f core conftest.err conftest.$ac_objext \
6289    conftest$ac_exeext conftest.$ac_ext
6290          LIBS="$glib_save_LIBS"
6291	  INSTOBJEXT=.mo
6292	else
6293	  gt_cv_have_gettext=no
6294	fi
6295      fi
6296
6297fi
6298
6299
6300
6301    if test "$gt_cv_have_gettext" = "yes" ; then
6302
6303$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6304
6305    fi
6306
6307        if test "$XGETTEXT" != ":"; then
6308                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6309        : ;
6310      else
6311        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6312$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6313        XGETTEXT=":"
6314      fi
6315    fi
6316
6317    # We need to process the po/ directory.
6318    POSUB=po
6319
6320    ac_config_commands="$ac_config_commands default-1"
6321
6322
6323                for lang in $ALL_LINGUAS; do
6324      GMOFILES="$GMOFILES $lang.gmo"
6325      POFILES="$POFILES $lang.po"
6326    done
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340   if test "$gt_cv_have_gettext" = "yes"; then
6341     if test "x$ALL_LINGUAS" = "x"; then
6342       LINGUAS=
6343     else
6344       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6345$as_echo_n "checking for catalogs to be installed... " >&6; }
6346       NEW_LINGUAS=
6347       for presentlang in $ALL_LINGUAS; do
6348         useit=no
6349         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6350           desiredlanguages="$LINGUAS"
6351         else
6352           desiredlanguages="$ALL_LINGUAS"
6353         fi
6354         for desiredlang in $desiredlanguages; do
6355 	   # Use the presentlang catalog if desiredlang is
6356           #   a. equal to presentlang, or
6357           #   b. a variant of presentlang (because in this case,
6358           #      presentlang can be used as a fallback for messages
6359           #      which are not translated in the desiredlang catalog).
6360           case "$desiredlang" in
6361             "$presentlang"*) useit=yes;;
6362           esac
6363         done
6364         if test $useit = yes; then
6365           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6366         fi
6367       done
6368       LINGUAS=$NEW_LINGUAS
6369       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6370$as_echo "$LINGUAS" >&6; }
6371     fi
6372
6373          if test -n "$LINGUAS"; then
6374       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6375     fi
6376   fi
6377
6378            MKINSTALLDIRS=
6379   if test -n "$ac_aux_dir"; then
6380     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6381   fi
6382   if test -z "$MKINSTALLDIRS"; then
6383     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6384   fi
6385
6386
6387         test -d po || mkdir po
6388   if test "x$srcdir" != "x."; then
6389     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6390       posrcprefix="$srcdir/"
6391     else
6392       posrcprefix="../$srcdir/"
6393     fi
6394   else
6395     posrcprefix="../"
6396   fi
6397   rm -f po/POTFILES
6398   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6399	< $srcdir/po/POTFILES.in > po/POTFILES
6400
6401
6402case `pwd` in
6403  *\ * | *\	*)
6404    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6405$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6406esac
6407
6408
6409
6410macro_version='2.4.6'
6411macro_revision='2.4.6'
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425ltmain=$ac_aux_dir/ltmain.sh
6426
6427# Make sure we can run config.sub.
6428$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6429  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6430
6431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6432$as_echo_n "checking build system type... " >&6; }
6433if ${ac_cv_build+:} false; then :
6434  $as_echo_n "(cached) " >&6
6435else
6436  ac_build_alias=$build_alias
6437test "x$ac_build_alias" = x &&
6438  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6439test "x$ac_build_alias" = x &&
6440  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6441ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6442  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6443
6444fi
6445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6446$as_echo "$ac_cv_build" >&6; }
6447case $ac_cv_build in
6448*-*-*) ;;
6449*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6450esac
6451build=$ac_cv_build
6452ac_save_IFS=$IFS; IFS='-'
6453set x $ac_cv_build
6454shift
6455build_cpu=$1
6456build_vendor=$2
6457shift; shift
6458# Remember, the first character of IFS is used to create $*,
6459# except with old shells:
6460build_os=$*
6461IFS=$ac_save_IFS
6462case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6463
6464
6465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6466$as_echo_n "checking host system type... " >&6; }
6467if ${ac_cv_host+:} false; then :
6468  $as_echo_n "(cached) " >&6
6469else
6470  if test "x$host_alias" = x; then
6471  ac_cv_host=$ac_cv_build
6472else
6473  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6474    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6475fi
6476
6477fi
6478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6479$as_echo "$ac_cv_host" >&6; }
6480case $ac_cv_host in
6481*-*-*) ;;
6482*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6483esac
6484host=$ac_cv_host
6485ac_save_IFS=$IFS; IFS='-'
6486set x $ac_cv_host
6487shift
6488host_cpu=$1
6489host_vendor=$2
6490shift; shift
6491# Remember, the first character of IFS is used to create $*,
6492# except with old shells:
6493host_os=$*
6494IFS=$ac_save_IFS
6495case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6496
6497
6498# Backslashify metacharacters that are still active within
6499# double-quoted strings.
6500sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6501
6502# Same as above, but do not quote variable references.
6503double_quote_subst='s/\(["`\\]\)/\\\1/g'
6504
6505# Sed substitution to delay expansion of an escaped shell variable in a
6506# double_quote_subst'ed string.
6507delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6508
6509# Sed substitution to delay expansion of an escaped single quote.
6510delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6511
6512# Sed substitution to avoid accidental globbing in evaled expressions
6513no_glob_subst='s/\*/\\\*/g'
6514
6515ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6516ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6517ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6518
6519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6520$as_echo_n "checking how to print strings... " >&6; }
6521# Test print first, because it will be a builtin if present.
6522if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6523   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6524  ECHO='print -r --'
6525elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6526  ECHO='printf %s\n'
6527else
6528  # Use this function as a fallback that always works.
6529  func_fallback_echo ()
6530  {
6531    eval 'cat <<_LTECHO_EOF
6532$1
6533_LTECHO_EOF'
6534  }
6535  ECHO='func_fallback_echo'
6536fi
6537
6538# func_echo_all arg...
6539# Invoke $ECHO with all args, space-separated.
6540func_echo_all ()
6541{
6542    $ECHO ""
6543}
6544
6545case $ECHO in
6546  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6547$as_echo "printf" >&6; } ;;
6548  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6549$as_echo "print -r" >&6; } ;;
6550  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6551$as_echo "cat" >&6; } ;;
6552esac
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6568$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6569if ${ac_cv_path_SED+:} false; then :
6570  $as_echo_n "(cached) " >&6
6571else
6572            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6573     for ac_i in 1 2 3 4 5 6 7; do
6574       ac_script="$ac_script$as_nl$ac_script"
6575     done
6576     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6577     { ac_script=; unset ac_script;}
6578     if test -z "$SED"; then
6579  ac_path_SED_found=false
6580  # Loop through the user's path and test for each of PROGNAME-LIST
6581  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6582for as_dir in $PATH
6583do
6584  IFS=$as_save_IFS
6585  test -z "$as_dir" && as_dir=.
6586    for ac_prog in sed gsed; do
6587    for ac_exec_ext in '' $ac_executable_extensions; do
6588      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6589      as_fn_executable_p "$ac_path_SED" || continue
6590# Check for GNU ac_path_SED and select it if it is found.
6591  # Check for GNU $ac_path_SED
6592case `"$ac_path_SED" --version 2>&1` in
6593*GNU*)
6594  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6595*)
6596  ac_count=0
6597  $as_echo_n 0123456789 >"conftest.in"
6598  while :
6599  do
6600    cat "conftest.in" "conftest.in" >"conftest.tmp"
6601    mv "conftest.tmp" "conftest.in"
6602    cp "conftest.in" "conftest.nl"
6603    $as_echo '' >> "conftest.nl"
6604    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6605    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6606    as_fn_arith $ac_count + 1 && ac_count=$as_val
6607    if test $ac_count -gt ${ac_path_SED_max-0}; then
6608      # Best one so far, save it but keep looking for a better one
6609      ac_cv_path_SED="$ac_path_SED"
6610      ac_path_SED_max=$ac_count
6611    fi
6612    # 10*(2^10) chars as input seems more than enough
6613    test $ac_count -gt 10 && break
6614  done
6615  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6616esac
6617
6618      $ac_path_SED_found && break 3
6619    done
6620  done
6621  done
6622IFS=$as_save_IFS
6623  if test -z "$ac_cv_path_SED"; then
6624    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6625  fi
6626else
6627  ac_cv_path_SED=$SED
6628fi
6629
6630fi
6631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6632$as_echo "$ac_cv_path_SED" >&6; }
6633 SED="$ac_cv_path_SED"
6634  rm -f conftest.sed
6635
6636test -z "$SED" && SED=sed
6637Xsed="$SED -e 1s/^X//"
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6650$as_echo_n "checking for fgrep... " >&6; }
6651if ${ac_cv_path_FGREP+:} false; then :
6652  $as_echo_n "(cached) " >&6
6653else
6654  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6655   then ac_cv_path_FGREP="$GREP -F"
6656   else
6657     if test -z "$FGREP"; then
6658  ac_path_FGREP_found=false
6659  # Loop through the user's path and test for each of PROGNAME-LIST
6660  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6662do
6663  IFS=$as_save_IFS
6664  test -z "$as_dir" && as_dir=.
6665    for ac_prog in fgrep; do
6666    for ac_exec_ext in '' $ac_executable_extensions; do
6667      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6668      as_fn_executable_p "$ac_path_FGREP" || continue
6669# Check for GNU ac_path_FGREP and select it if it is found.
6670  # Check for GNU $ac_path_FGREP
6671case `"$ac_path_FGREP" --version 2>&1` in
6672*GNU*)
6673  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6674*)
6675  ac_count=0
6676  $as_echo_n 0123456789 >"conftest.in"
6677  while :
6678  do
6679    cat "conftest.in" "conftest.in" >"conftest.tmp"
6680    mv "conftest.tmp" "conftest.in"
6681    cp "conftest.in" "conftest.nl"
6682    $as_echo 'FGREP' >> "conftest.nl"
6683    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6684    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6685    as_fn_arith $ac_count + 1 && ac_count=$as_val
6686    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6687      # Best one so far, save it but keep looking for a better one
6688      ac_cv_path_FGREP="$ac_path_FGREP"
6689      ac_path_FGREP_max=$ac_count
6690    fi
6691    # 10*(2^10) chars as input seems more than enough
6692    test $ac_count -gt 10 && break
6693  done
6694  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6695esac
6696
6697      $ac_path_FGREP_found && break 3
6698    done
6699  done
6700  done
6701IFS=$as_save_IFS
6702  if test -z "$ac_cv_path_FGREP"; then
6703    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6704  fi
6705else
6706  ac_cv_path_FGREP=$FGREP
6707fi
6708
6709   fi
6710fi
6711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6712$as_echo "$ac_cv_path_FGREP" >&6; }
6713 FGREP="$ac_cv_path_FGREP"
6714
6715
6716test -z "$GREP" && GREP=grep
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736# Check whether --with-gnu-ld was given.
6737if test "${with_gnu_ld+set}" = set; then :
6738  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6739else
6740  with_gnu_ld=no
6741fi
6742
6743ac_prog=ld
6744if test yes = "$GCC"; then
6745  # Check if gcc -print-prog-name=ld gives a path.
6746  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6747$as_echo_n "checking for ld used by $CC... " >&6; }
6748  case $host in
6749  *-*-mingw*)
6750    # gcc leaves a trailing carriage return, which upsets mingw
6751    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6752  *)
6753    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6754  esac
6755  case $ac_prog in
6756    # Accept absolute paths.
6757    [\\/]* | ?:[\\/]*)
6758      re_direlt='/[^/][^/]*/\.\./'
6759      # Canonicalize the pathname of ld
6760      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6761      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6762	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6763      done
6764      test -z "$LD" && LD=$ac_prog
6765      ;;
6766  "")
6767    # If it fails, then pretend we aren't using GCC.
6768    ac_prog=ld
6769    ;;
6770  *)
6771    # If it is relative, then search for the first ld in PATH.
6772    with_gnu_ld=unknown
6773    ;;
6774  esac
6775elif test yes = "$with_gnu_ld"; then
6776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6777$as_echo_n "checking for GNU ld... " >&6; }
6778else
6779  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6780$as_echo_n "checking for non-GNU ld... " >&6; }
6781fi
6782if ${lt_cv_path_LD+:} false; then :
6783  $as_echo_n "(cached) " >&6
6784else
6785  if test -z "$LD"; then
6786  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6787  for ac_dir in $PATH; do
6788    IFS=$lt_save_ifs
6789    test -z "$ac_dir" && ac_dir=.
6790    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6791      lt_cv_path_LD=$ac_dir/$ac_prog
6792      # Check to see if the program is GNU ld.  I'd rather use --version,
6793      # but apparently some variants of GNU ld only accept -v.
6794      # Break only if it was the GNU/non-GNU ld that we prefer.
6795      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6796      *GNU* | *'with BFD'*)
6797	test no != "$with_gnu_ld" && break
6798	;;
6799      *)
6800	test yes != "$with_gnu_ld" && break
6801	;;
6802      esac
6803    fi
6804  done
6805  IFS=$lt_save_ifs
6806else
6807  lt_cv_path_LD=$LD # Let the user override the test with a path.
6808fi
6809fi
6810
6811LD=$lt_cv_path_LD
6812if test -n "$LD"; then
6813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6814$as_echo "$LD" >&6; }
6815else
6816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817$as_echo "no" >&6; }
6818fi
6819test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6821$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6822if ${lt_cv_prog_gnu_ld+:} false; then :
6823  $as_echo_n "(cached) " >&6
6824else
6825  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6826case `$LD -v 2>&1 </dev/null` in
6827*GNU* | *'with BFD'*)
6828  lt_cv_prog_gnu_ld=yes
6829  ;;
6830*)
6831  lt_cv_prog_gnu_ld=no
6832  ;;
6833esac
6834fi
6835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6836$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6837with_gnu_ld=$lt_cv_prog_gnu_ld
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6848$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6849if ${lt_cv_path_NM+:} false; then :
6850  $as_echo_n "(cached) " >&6
6851else
6852  if test -n "$NM"; then
6853  # Let the user override the test.
6854  lt_cv_path_NM=$NM
6855else
6856  lt_nm_to_check=${ac_tool_prefix}nm
6857  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6858    lt_nm_to_check="$lt_nm_to_check nm"
6859  fi
6860  for lt_tmp_nm in $lt_nm_to_check; do
6861    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6862    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6863      IFS=$lt_save_ifs
6864      test -z "$ac_dir" && ac_dir=.
6865      tmp_nm=$ac_dir/$lt_tmp_nm
6866      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6867	# Check to see if the nm accepts a BSD-compat flag.
6868	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6869	#   nm: unknown option "B" ignored
6870	# Tru64's nm complains that /dev/null is an invalid object file
6871	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6872	case $build_os in
6873	mingw*) lt_bad_file=conftest.nm/nofile ;;
6874	*) lt_bad_file=/dev/null ;;
6875	esac
6876	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6877	*$lt_bad_file* | *'Invalid file or object type'*)
6878	  lt_cv_path_NM="$tmp_nm -B"
6879	  break 2
6880	  ;;
6881	*)
6882	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6883	  */dev/null*)
6884	    lt_cv_path_NM="$tmp_nm -p"
6885	    break 2
6886	    ;;
6887	  *)
6888	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6889	    continue # so that we can try to find one that supports BSD flags
6890	    ;;
6891	  esac
6892	  ;;
6893	esac
6894      fi
6895    done
6896    IFS=$lt_save_ifs
6897  done
6898  : ${lt_cv_path_NM=no}
6899fi
6900fi
6901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6902$as_echo "$lt_cv_path_NM" >&6; }
6903if test no != "$lt_cv_path_NM"; then
6904  NM=$lt_cv_path_NM
6905else
6906  # Didn't find any BSD compatible name lister, look for dumpbin.
6907  if test -n "$DUMPBIN"; then :
6908    # Let the user override the test.
6909  else
6910    if test -n "$ac_tool_prefix"; then
6911  for ac_prog in dumpbin "link -dump"
6912  do
6913    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6914set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6916$as_echo_n "checking for $ac_word... " >&6; }
6917if ${ac_cv_prog_DUMPBIN+:} false; then :
6918  $as_echo_n "(cached) " >&6
6919else
6920  if test -n "$DUMPBIN"; then
6921  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6922else
6923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6924for as_dir in $PATH
6925do
6926  IFS=$as_save_IFS
6927  test -z "$as_dir" && as_dir=.
6928    for ac_exec_ext in '' $ac_executable_extensions; do
6929  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6930    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6932    break 2
6933  fi
6934done
6935  done
6936IFS=$as_save_IFS
6937
6938fi
6939fi
6940DUMPBIN=$ac_cv_prog_DUMPBIN
6941if test -n "$DUMPBIN"; then
6942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6943$as_echo "$DUMPBIN" >&6; }
6944else
6945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6946$as_echo "no" >&6; }
6947fi
6948
6949
6950    test -n "$DUMPBIN" && break
6951  done
6952fi
6953if test -z "$DUMPBIN"; then
6954  ac_ct_DUMPBIN=$DUMPBIN
6955  for ac_prog in dumpbin "link -dump"
6956do
6957  # Extract the first word of "$ac_prog", so it can be a program name with args.
6958set dummy $ac_prog; ac_word=$2
6959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6960$as_echo_n "checking for $ac_word... " >&6; }
6961if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6962  $as_echo_n "(cached) " >&6
6963else
6964  if test -n "$ac_ct_DUMPBIN"; then
6965  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6966else
6967as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6968for as_dir in $PATH
6969do
6970  IFS=$as_save_IFS
6971  test -z "$as_dir" && as_dir=.
6972    for ac_exec_ext in '' $ac_executable_extensions; do
6973  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6974    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6975    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6976    break 2
6977  fi
6978done
6979  done
6980IFS=$as_save_IFS
6981
6982fi
6983fi
6984ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6985if test -n "$ac_ct_DUMPBIN"; then
6986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6987$as_echo "$ac_ct_DUMPBIN" >&6; }
6988else
6989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6990$as_echo "no" >&6; }
6991fi
6992
6993
6994  test -n "$ac_ct_DUMPBIN" && break
6995done
6996
6997  if test "x$ac_ct_DUMPBIN" = x; then
6998    DUMPBIN=":"
6999  else
7000    case $cross_compiling:$ac_tool_warned in
7001yes:)
7002{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7003$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7004ac_tool_warned=yes ;;
7005esac
7006    DUMPBIN=$ac_ct_DUMPBIN
7007  fi
7008fi
7009
7010    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7011    *COFF*)
7012      DUMPBIN="$DUMPBIN -symbols -headers"
7013      ;;
7014    *)
7015      DUMPBIN=:
7016      ;;
7017    esac
7018  fi
7019
7020  if test : != "$DUMPBIN"; then
7021    NM=$DUMPBIN
7022  fi
7023fi
7024test -z "$NM" && NM=nm
7025
7026
7027
7028
7029
7030
7031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7032$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7033if ${lt_cv_nm_interface+:} false; then :
7034  $as_echo_n "(cached) " >&6
7035else
7036  lt_cv_nm_interface="BSD nm"
7037  echo "int some_variable = 0;" > conftest.$ac_ext
7038  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7039  (eval "$ac_compile" 2>conftest.err)
7040  cat conftest.err >&5
7041  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7042  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7043  cat conftest.err >&5
7044  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7045  cat conftest.out >&5
7046  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7047    lt_cv_nm_interface="MS dumpbin"
7048  fi
7049  rm -f conftest*
7050fi
7051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7052$as_echo "$lt_cv_nm_interface" >&6; }
7053
7054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7055$as_echo_n "checking whether ln -s works... " >&6; }
7056LN_S=$as_ln_s
7057if test "$LN_S" = "ln -s"; then
7058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7059$as_echo "yes" >&6; }
7060else
7061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7062$as_echo "no, using $LN_S" >&6; }
7063fi
7064
7065# find the maximum length of command line arguments
7066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7067$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7068if ${lt_cv_sys_max_cmd_len+:} false; then :
7069  $as_echo_n "(cached) " >&6
7070else
7071    i=0
7072  teststring=ABCD
7073
7074  case $build_os in
7075  msdosdjgpp*)
7076    # On DJGPP, this test can blow up pretty badly due to problems in libc
7077    # (any single argument exceeding 2000 bytes causes a buffer overrun
7078    # during glob expansion).  Even if it were fixed, the result of this
7079    # check would be larger than it should be.
7080    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7081    ;;
7082
7083  gnu*)
7084    # Under GNU Hurd, this test is not required because there is
7085    # no limit to the length of command line arguments.
7086    # Libtool will interpret -1 as no limit whatsoever
7087    lt_cv_sys_max_cmd_len=-1;
7088    ;;
7089
7090  cygwin* | mingw* | cegcc*)
7091    # On Win9x/ME, this test blows up -- it succeeds, but takes
7092    # about 5 minutes as the teststring grows exponentially.
7093    # Worse, since 9x/ME are not pre-emptively multitasking,
7094    # you end up with a "frozen" computer, even though with patience
7095    # the test eventually succeeds (with a max line length of 256k).
7096    # Instead, let's just punt: use the minimum linelength reported by
7097    # all of the supported platforms: 8192 (on NT/2K/XP).
7098    lt_cv_sys_max_cmd_len=8192;
7099    ;;
7100
7101  mint*)
7102    # On MiNT this can take a long time and run out of memory.
7103    lt_cv_sys_max_cmd_len=8192;
7104    ;;
7105
7106  amigaos*)
7107    # On AmigaOS with pdksh, this test takes hours, literally.
7108    # So we just punt and use a minimum line length of 8192.
7109    lt_cv_sys_max_cmd_len=8192;
7110    ;;
7111
7112  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
7113    # This has been around since 386BSD, at least.  Likely further.
7114    if test -x /sbin/sysctl; then
7115      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7116    elif test -x /usr/sbin/sysctl; then
7117      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7118    else
7119      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
7120    fi
7121    # And add a safety zone
7122    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7123    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7124    ;;
7125
7126  interix*)
7127    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7128    lt_cv_sys_max_cmd_len=196608
7129    ;;
7130
7131  os2*)
7132    # The test takes a long time on OS/2.
7133    lt_cv_sys_max_cmd_len=8192
7134    ;;
7135
7136  osf*)
7137    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7138    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7139    # nice to cause kernel panics so lets avoid the loop below.
7140    # First set a reasonable default.
7141    lt_cv_sys_max_cmd_len=16384
7142    #
7143    if test -x /sbin/sysconfig; then
7144      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7145        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7146      esac
7147    fi
7148    ;;
7149  sco3.2v5*)
7150    lt_cv_sys_max_cmd_len=102400
7151    ;;
7152  sysv5* | sco5v6* | sysv4.2uw2*)
7153    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7154    if test -n "$kargmax"; then
7155      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
7156    else
7157      lt_cv_sys_max_cmd_len=32768
7158    fi
7159    ;;
7160  *)
7161    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7162    if test -n "$lt_cv_sys_max_cmd_len" && \
7163       test undefined != "$lt_cv_sys_max_cmd_len"; then
7164      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7165      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7166    else
7167      # Make teststring a little bigger before we do anything with it.
7168      # a 1K string should be a reasonable start.
7169      for i in 1 2 3 4 5 6 7 8; do
7170        teststring=$teststring$teststring
7171      done
7172      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7173      # If test is not a shell built-in, we'll probably end up computing a
7174      # maximum length that is only half of the actual maximum length, but
7175      # we can't tell.
7176      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
7177	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7178	      test 17 != "$i" # 1/2 MB should be enough
7179      do
7180        i=`expr $i + 1`
7181        teststring=$teststring$teststring
7182      done
7183      # Only check the string length outside the loop.
7184      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7185      teststring=
7186      # Add a significant safety factor because C++ compilers can tack on
7187      # massive amounts of additional arguments before passing them to the
7188      # linker.  It appears as though 1/2 is a usable value.
7189      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7190    fi
7191    ;;
7192  esac
7193
7194fi
7195
7196if test -n "$lt_cv_sys_max_cmd_len"; then
7197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7198$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7199else
7200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7201$as_echo "none" >&6; }
7202fi
7203max_cmd_len=$lt_cv_sys_max_cmd_len
7204
7205
7206
7207
7208
7209
7210: ${CP="cp -f"}
7211: ${MV="mv -f"}
7212: ${RM="rm -f"}
7213
7214if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7215  lt_unset=unset
7216else
7217  lt_unset=false
7218fi
7219
7220
7221
7222
7223
7224# test EBCDIC or ASCII
7225case `echo X|tr X '\101'` in
7226 A) # ASCII based system
7227    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7228  lt_SP2NL='tr \040 \012'
7229  lt_NL2SP='tr \015\012 \040\040'
7230  ;;
7231 *) # EBCDIC based system
7232  lt_SP2NL='tr \100 \n'
7233  lt_NL2SP='tr \r\n \100\100'
7234  ;;
7235esac
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7246$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7247if ${lt_cv_to_host_file_cmd+:} false; then :
7248  $as_echo_n "(cached) " >&6
7249else
7250  case $host in
7251  *-*-mingw* )
7252    case $build in
7253      *-*-mingw* ) # actually msys
7254        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7255        ;;
7256      *-*-cygwin* )
7257        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7258        ;;
7259      * ) # otherwise, assume *nix
7260        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7261        ;;
7262    esac
7263    ;;
7264  *-*-cygwin* )
7265    case $build in
7266      *-*-mingw* ) # actually msys
7267        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7268        ;;
7269      *-*-cygwin* )
7270        lt_cv_to_host_file_cmd=func_convert_file_noop
7271        ;;
7272      * ) # otherwise, assume *nix
7273        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7274        ;;
7275    esac
7276    ;;
7277  * ) # unhandled hosts (and "normal" native builds)
7278    lt_cv_to_host_file_cmd=func_convert_file_noop
7279    ;;
7280esac
7281
7282fi
7283
7284to_host_file_cmd=$lt_cv_to_host_file_cmd
7285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7286$as_echo "$lt_cv_to_host_file_cmd" >&6; }
7287
7288
7289
7290
7291
7292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7293$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7294if ${lt_cv_to_tool_file_cmd+:} false; then :
7295  $as_echo_n "(cached) " >&6
7296else
7297  #assume ordinary cross tools, or native build.
7298lt_cv_to_tool_file_cmd=func_convert_file_noop
7299case $host in
7300  *-*-mingw* )
7301    case $build in
7302      *-*-mingw* ) # actually msys
7303        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7304        ;;
7305    esac
7306    ;;
7307esac
7308
7309fi
7310
7311to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7313$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7314
7315
7316
7317
7318
7319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7320$as_echo_n "checking for $LD option to reload object files... " >&6; }
7321if ${lt_cv_ld_reload_flag+:} false; then :
7322  $as_echo_n "(cached) " >&6
7323else
7324  lt_cv_ld_reload_flag='-r'
7325fi
7326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7327$as_echo "$lt_cv_ld_reload_flag" >&6; }
7328reload_flag=$lt_cv_ld_reload_flag
7329case $reload_flag in
7330"" | " "*) ;;
7331*) reload_flag=" $reload_flag" ;;
7332esac
7333reload_cmds='$LD$reload_flag -o $output$reload_objs'
7334case $host_os in
7335  cygwin* | mingw* | pw32* | cegcc*)
7336    if test yes != "$GCC"; then
7337      reload_cmds=false
7338    fi
7339    ;;
7340  darwin*)
7341    if test yes = "$GCC"; then
7342      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7343    else
7344      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7345    fi
7346    ;;
7347esac
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357if test -n "$ac_tool_prefix"; then
7358  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7359set dummy ${ac_tool_prefix}objdump; ac_word=$2
7360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7361$as_echo_n "checking for $ac_word... " >&6; }
7362if ${ac_cv_prog_OBJDUMP+:} false; then :
7363  $as_echo_n "(cached) " >&6
7364else
7365  if test -n "$OBJDUMP"; then
7366  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7367else
7368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369for as_dir in $PATH
7370do
7371  IFS=$as_save_IFS
7372  test -z "$as_dir" && as_dir=.
7373    for ac_exec_ext in '' $ac_executable_extensions; do
7374  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7375    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7376    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7377    break 2
7378  fi
7379done
7380  done
7381IFS=$as_save_IFS
7382
7383fi
7384fi
7385OBJDUMP=$ac_cv_prog_OBJDUMP
7386if test -n "$OBJDUMP"; then
7387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7388$as_echo "$OBJDUMP" >&6; }
7389else
7390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7391$as_echo "no" >&6; }
7392fi
7393
7394
7395fi
7396if test -z "$ac_cv_prog_OBJDUMP"; then
7397  ac_ct_OBJDUMP=$OBJDUMP
7398  # Extract the first word of "objdump", so it can be a program name with args.
7399set dummy objdump; ac_word=$2
7400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7401$as_echo_n "checking for $ac_word... " >&6; }
7402if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7403  $as_echo_n "(cached) " >&6
7404else
7405  if test -n "$ac_ct_OBJDUMP"; then
7406  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7407else
7408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409for as_dir in $PATH
7410do
7411  IFS=$as_save_IFS
7412  test -z "$as_dir" && as_dir=.
7413    for ac_exec_ext in '' $ac_executable_extensions; do
7414  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7415    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7416    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7417    break 2
7418  fi
7419done
7420  done
7421IFS=$as_save_IFS
7422
7423fi
7424fi
7425ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7426if test -n "$ac_ct_OBJDUMP"; then
7427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7428$as_echo "$ac_ct_OBJDUMP" >&6; }
7429else
7430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431$as_echo "no" >&6; }
7432fi
7433
7434  if test "x$ac_ct_OBJDUMP" = x; then
7435    OBJDUMP="false"
7436  else
7437    case $cross_compiling:$ac_tool_warned in
7438yes:)
7439{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7440$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7441ac_tool_warned=yes ;;
7442esac
7443    OBJDUMP=$ac_ct_OBJDUMP
7444  fi
7445else
7446  OBJDUMP="$ac_cv_prog_OBJDUMP"
7447fi
7448
7449test -z "$OBJDUMP" && OBJDUMP=objdump
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7460$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7461if ${lt_cv_deplibs_check_method+:} false; then :
7462  $as_echo_n "(cached) " >&6
7463else
7464  lt_cv_file_magic_cmd='$MAGIC_CMD'
7465lt_cv_file_magic_test_file=
7466lt_cv_deplibs_check_method='unknown'
7467# Need to set the preceding variable on all platforms that support
7468# interlibrary dependencies.
7469# 'none' -- dependencies not supported.
7470# 'unknown' -- same as none, but documents that we really don't know.
7471# 'pass_all' -- all dependencies passed with no checks.
7472# 'test_compile' -- check by making test program.
7473# 'file_magic [[regex]]' -- check by looking for files in library path
7474# that responds to the $file_magic_cmd with a given extended regex.
7475# If you have 'file' or equivalent on your system and you're not sure
7476# whether 'pass_all' will *always* work, you probably want this one.
7477
7478case $host_os in
7479aix[4-9]*)
7480  lt_cv_deplibs_check_method=pass_all
7481  ;;
7482
7483beos*)
7484  lt_cv_deplibs_check_method=pass_all
7485  ;;
7486
7487bsdi[45]*)
7488  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7489  lt_cv_file_magic_cmd='/usr/bin/file -L'
7490  lt_cv_file_magic_test_file=/shlib/libc.so
7491  ;;
7492
7493cygwin*)
7494  # func_win32_libid is a shell function defined in ltmain.sh
7495  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7496  lt_cv_file_magic_cmd='func_win32_libid'
7497  ;;
7498
7499mingw* | pw32*)
7500  # Base MSYS/MinGW do not provide the 'file' command needed by
7501  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7502  # unless we find 'file', for example because we are cross-compiling.
7503  if ( file / ) >/dev/null 2>&1; then
7504    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7505    lt_cv_file_magic_cmd='func_win32_libid'
7506  else
7507    # Keep this pattern in sync with the one in func_win32_libid.
7508    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7509    lt_cv_file_magic_cmd='$OBJDUMP -f'
7510  fi
7511  ;;
7512
7513cegcc*)
7514  # use the weaker test based on 'objdump'. See mingw*.
7515  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7516  lt_cv_file_magic_cmd='$OBJDUMP -f'
7517  ;;
7518
7519darwin* | rhapsody*)
7520  lt_cv_deplibs_check_method=pass_all
7521  ;;
7522
7523freebsd* | dragonfly*)
7524  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7525    case $host_cpu in
7526    i*86 )
7527      # Not sure whether the presence of OpenBSD here was a mistake.
7528      # Let's accept both of them until this is cleared up.
7529      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7530      lt_cv_file_magic_cmd=/usr/bin/file
7531      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7532      ;;
7533    esac
7534  else
7535    lt_cv_deplibs_check_method=pass_all
7536  fi
7537  ;;
7538
7539haiku*)
7540  lt_cv_deplibs_check_method=pass_all
7541  ;;
7542
7543hpux10.20* | hpux11*)
7544  lt_cv_file_magic_cmd=/usr/bin/file
7545  case $host_cpu in
7546  ia64*)
7547    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7548    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7549    ;;
7550  hppa*64*)
7551    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]'
7552    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7553    ;;
7554  *)
7555    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7556    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7557    ;;
7558  esac
7559  ;;
7560
7561interix[3-9]*)
7562  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7563  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7564  ;;
7565
7566irix5* | irix6* | nonstopux*)
7567  case $LD in
7568  *-32|*"-32 ") libmagic=32-bit;;
7569  *-n32|*"-n32 ") libmagic=N32;;
7570  *-64|*"-64 ") libmagic=64-bit;;
7571  *) libmagic=never-match;;
7572  esac
7573  lt_cv_deplibs_check_method=pass_all
7574  ;;
7575
7576# This must be glibc/ELF.
7577linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7578  lt_cv_deplibs_check_method=pass_all
7579  ;;
7580
7581netbsd* | netbsdelf*-gnu)
7582  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7583    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7584  else
7585    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7586  fi
7587  ;;
7588
7589newos6*)
7590  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7591  lt_cv_file_magic_cmd=/usr/bin/file
7592  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7593  ;;
7594
7595*nto* | *qnx*)
7596  lt_cv_deplibs_check_method=pass_all
7597  ;;
7598
7599openbsd* | bitrig*)
7600  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7601    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7602  else
7603    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7604  fi
7605  ;;
7606
7607osf3* | osf4* | osf5*)
7608  lt_cv_deplibs_check_method=pass_all
7609  ;;
7610
7611rdos*)
7612  lt_cv_deplibs_check_method=pass_all
7613  ;;
7614
7615solaris*)
7616  lt_cv_deplibs_check_method=pass_all
7617  ;;
7618
7619sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7620  lt_cv_deplibs_check_method=pass_all
7621  ;;
7622
7623sysv4 | sysv4.3*)
7624  case $host_vendor in
7625  motorola)
7626    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]'
7627    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7628    ;;
7629  ncr)
7630    lt_cv_deplibs_check_method=pass_all
7631    ;;
7632  sequent)
7633    lt_cv_file_magic_cmd='/bin/file'
7634    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7635    ;;
7636  sni)
7637    lt_cv_file_magic_cmd='/bin/file'
7638    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7639    lt_cv_file_magic_test_file=/lib/libc.so
7640    ;;
7641  siemens)
7642    lt_cv_deplibs_check_method=pass_all
7643    ;;
7644  pc)
7645    lt_cv_deplibs_check_method=pass_all
7646    ;;
7647  esac
7648  ;;
7649
7650tpf*)
7651  lt_cv_deplibs_check_method=pass_all
7652  ;;
7653os2*)
7654  lt_cv_deplibs_check_method=pass_all
7655  ;;
7656esac
7657
7658fi
7659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7660$as_echo "$lt_cv_deplibs_check_method" >&6; }
7661
7662file_magic_glob=
7663want_nocaseglob=no
7664if test "$build" = "$host"; then
7665  case $host_os in
7666  mingw* | pw32*)
7667    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7668      want_nocaseglob=yes
7669    else
7670      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7671    fi
7672    ;;
7673  esac
7674fi
7675
7676file_magic_cmd=$lt_cv_file_magic_cmd
7677deplibs_check_method=$lt_cv_deplibs_check_method
7678test -z "$deplibs_check_method" && deplibs_check_method=unknown
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701if test -n "$ac_tool_prefix"; then
7702  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7703set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7705$as_echo_n "checking for $ac_word... " >&6; }
7706if ${ac_cv_prog_DLLTOOL+:} false; then :
7707  $as_echo_n "(cached) " >&6
7708else
7709  if test -n "$DLLTOOL"; then
7710  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7711else
7712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7713for as_dir in $PATH
7714do
7715  IFS=$as_save_IFS
7716  test -z "$as_dir" && as_dir=.
7717    for ac_exec_ext in '' $ac_executable_extensions; do
7718  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7719    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7720    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7721    break 2
7722  fi
7723done
7724  done
7725IFS=$as_save_IFS
7726
7727fi
7728fi
7729DLLTOOL=$ac_cv_prog_DLLTOOL
7730if test -n "$DLLTOOL"; then
7731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7732$as_echo "$DLLTOOL" >&6; }
7733else
7734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7735$as_echo "no" >&6; }
7736fi
7737
7738
7739fi
7740if test -z "$ac_cv_prog_DLLTOOL"; then
7741  ac_ct_DLLTOOL=$DLLTOOL
7742  # Extract the first word of "dlltool", so it can be a program name with args.
7743set dummy dlltool; ac_word=$2
7744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7745$as_echo_n "checking for $ac_word... " >&6; }
7746if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7747  $as_echo_n "(cached) " >&6
7748else
7749  if test -n "$ac_ct_DLLTOOL"; then
7750  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7751else
7752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7753for as_dir in $PATH
7754do
7755  IFS=$as_save_IFS
7756  test -z "$as_dir" && as_dir=.
7757    for ac_exec_ext in '' $ac_executable_extensions; do
7758  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7759    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7760    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7761    break 2
7762  fi
7763done
7764  done
7765IFS=$as_save_IFS
7766
7767fi
7768fi
7769ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7770if test -n "$ac_ct_DLLTOOL"; then
7771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7772$as_echo "$ac_ct_DLLTOOL" >&6; }
7773else
7774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7775$as_echo "no" >&6; }
7776fi
7777
7778  if test "x$ac_ct_DLLTOOL" = x; then
7779    DLLTOOL="false"
7780  else
7781    case $cross_compiling:$ac_tool_warned in
7782yes:)
7783{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7784$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7785ac_tool_warned=yes ;;
7786esac
7787    DLLTOOL=$ac_ct_DLLTOOL
7788  fi
7789else
7790  DLLTOOL="$ac_cv_prog_DLLTOOL"
7791fi
7792
7793test -z "$DLLTOOL" && DLLTOOL=dlltool
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7805$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7806if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7807  $as_echo_n "(cached) " >&6
7808else
7809  lt_cv_sharedlib_from_linklib_cmd='unknown'
7810
7811case $host_os in
7812cygwin* | mingw* | pw32* | cegcc*)
7813  # two different shell functions defined in ltmain.sh;
7814  # decide which one to use based on capabilities of $DLLTOOL
7815  case `$DLLTOOL --help 2>&1` in
7816  *--identify-strict*)
7817    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7818    ;;
7819  *)
7820    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7821    ;;
7822  esac
7823  ;;
7824*)
7825  # fallback: assume linklib IS sharedlib
7826  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7827  ;;
7828esac
7829
7830fi
7831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7832$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7833sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7834test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7835
7836
7837
7838
7839
7840
7841
7842if test -n "$ac_tool_prefix"; then
7843  for ac_prog in ar
7844  do
7845    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7846set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7848$as_echo_n "checking for $ac_word... " >&6; }
7849if ${ac_cv_prog_AR+:} false; then :
7850  $as_echo_n "(cached) " >&6
7851else
7852  if test -n "$AR"; then
7853  ac_cv_prog_AR="$AR" # Let the user override the test.
7854else
7855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7856for as_dir in $PATH
7857do
7858  IFS=$as_save_IFS
7859  test -z "$as_dir" && as_dir=.
7860    for ac_exec_ext in '' $ac_executable_extensions; do
7861  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7862    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7863    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7864    break 2
7865  fi
7866done
7867  done
7868IFS=$as_save_IFS
7869
7870fi
7871fi
7872AR=$ac_cv_prog_AR
7873if test -n "$AR"; then
7874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7875$as_echo "$AR" >&6; }
7876else
7877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878$as_echo "no" >&6; }
7879fi
7880
7881
7882    test -n "$AR" && break
7883  done
7884fi
7885if test -z "$AR"; then
7886  ac_ct_AR=$AR
7887  for ac_prog in ar
7888do
7889  # Extract the first word of "$ac_prog", so it can be a program name with args.
7890set dummy $ac_prog; ac_word=$2
7891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7892$as_echo_n "checking for $ac_word... " >&6; }
7893if ${ac_cv_prog_ac_ct_AR+:} false; then :
7894  $as_echo_n "(cached) " >&6
7895else
7896  if test -n "$ac_ct_AR"; then
7897  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7898else
7899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7900for as_dir in $PATH
7901do
7902  IFS=$as_save_IFS
7903  test -z "$as_dir" && as_dir=.
7904    for ac_exec_ext in '' $ac_executable_extensions; do
7905  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7906    ac_cv_prog_ac_ct_AR="$ac_prog"
7907    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7908    break 2
7909  fi
7910done
7911  done
7912IFS=$as_save_IFS
7913
7914fi
7915fi
7916ac_ct_AR=$ac_cv_prog_ac_ct_AR
7917if test -n "$ac_ct_AR"; then
7918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7919$as_echo "$ac_ct_AR" >&6; }
7920else
7921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922$as_echo "no" >&6; }
7923fi
7924
7925
7926  test -n "$ac_ct_AR" && break
7927done
7928
7929  if test "x$ac_ct_AR" = x; then
7930    AR="false"
7931  else
7932    case $cross_compiling:$ac_tool_warned in
7933yes:)
7934{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7935$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7936ac_tool_warned=yes ;;
7937esac
7938    AR=$ac_ct_AR
7939  fi
7940fi
7941
7942: ${AR=ar}
7943: ${AR_FLAGS=cru}
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7956$as_echo_n "checking for archiver @FILE support... " >&6; }
7957if ${lt_cv_ar_at_file+:} false; then :
7958  $as_echo_n "(cached) " >&6
7959else
7960  lt_cv_ar_at_file=no
7961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7962/* end confdefs.h.  */
7963
7964int
7965main ()
7966{
7967
7968  ;
7969  return 0;
7970}
7971_ACEOF
7972if ac_fn_c_try_compile "$LINENO"; then :
7973  echo conftest.$ac_objext > conftest.lst
7974      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7975      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7976  (eval $lt_ar_try) 2>&5
7977  ac_status=$?
7978  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7979  test $ac_status = 0; }
7980      if test 0 -eq "$ac_status"; then
7981	# Ensure the archiver fails upon bogus file names.
7982	rm -f conftest.$ac_objext libconftest.a
7983	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7984  (eval $lt_ar_try) 2>&5
7985  ac_status=$?
7986  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7987  test $ac_status = 0; }
7988	if test 0 -ne "$ac_status"; then
7989          lt_cv_ar_at_file=@
7990        fi
7991      fi
7992      rm -f conftest.* libconftest.a
7993
7994fi
7995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7996
7997fi
7998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7999$as_echo "$lt_cv_ar_at_file" >&6; }
8000
8001if test no = "$lt_cv_ar_at_file"; then
8002  archiver_list_spec=
8003else
8004  archiver_list_spec=$lt_cv_ar_at_file
8005fi
8006
8007
8008
8009
8010
8011
8012
8013if test -n "$ac_tool_prefix"; then
8014  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8015set dummy ${ac_tool_prefix}strip; ac_word=$2
8016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8017$as_echo_n "checking for $ac_word... " >&6; }
8018if ${ac_cv_prog_STRIP+:} false; then :
8019  $as_echo_n "(cached) " >&6
8020else
8021  if test -n "$STRIP"; then
8022  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8023else
8024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025for as_dir in $PATH
8026do
8027  IFS=$as_save_IFS
8028  test -z "$as_dir" && as_dir=.
8029    for ac_exec_ext in '' $ac_executable_extensions; do
8030  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8031    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8032    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8033    break 2
8034  fi
8035done
8036  done
8037IFS=$as_save_IFS
8038
8039fi
8040fi
8041STRIP=$ac_cv_prog_STRIP
8042if test -n "$STRIP"; then
8043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8044$as_echo "$STRIP" >&6; }
8045else
8046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047$as_echo "no" >&6; }
8048fi
8049
8050
8051fi
8052if test -z "$ac_cv_prog_STRIP"; then
8053  ac_ct_STRIP=$STRIP
8054  # Extract the first word of "strip", so it can be a program name with args.
8055set dummy strip; ac_word=$2
8056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8057$as_echo_n "checking for $ac_word... " >&6; }
8058if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8059  $as_echo_n "(cached) " >&6
8060else
8061  if test -n "$ac_ct_STRIP"; then
8062  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8063else
8064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8065for as_dir in $PATH
8066do
8067  IFS=$as_save_IFS
8068  test -z "$as_dir" && as_dir=.
8069    for ac_exec_ext in '' $ac_executable_extensions; do
8070  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8071    ac_cv_prog_ac_ct_STRIP="strip"
8072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8073    break 2
8074  fi
8075done
8076  done
8077IFS=$as_save_IFS
8078
8079fi
8080fi
8081ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8082if test -n "$ac_ct_STRIP"; then
8083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8084$as_echo "$ac_ct_STRIP" >&6; }
8085else
8086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087$as_echo "no" >&6; }
8088fi
8089
8090  if test "x$ac_ct_STRIP" = x; then
8091    STRIP=":"
8092  else
8093    case $cross_compiling:$ac_tool_warned in
8094yes:)
8095{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8096$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8097ac_tool_warned=yes ;;
8098esac
8099    STRIP=$ac_ct_STRIP
8100  fi
8101else
8102  STRIP="$ac_cv_prog_STRIP"
8103fi
8104
8105test -z "$STRIP" && STRIP=:
8106
8107
8108
8109
8110
8111
8112if test -n "$ac_tool_prefix"; then
8113  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8114set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8116$as_echo_n "checking for $ac_word... " >&6; }
8117if ${ac_cv_prog_RANLIB+:} false; then :
8118  $as_echo_n "(cached) " >&6
8119else
8120  if test -n "$RANLIB"; then
8121  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8122else
8123as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8124for as_dir in $PATH
8125do
8126  IFS=$as_save_IFS
8127  test -z "$as_dir" && as_dir=.
8128    for ac_exec_ext in '' $ac_executable_extensions; do
8129  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8130    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8131    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8132    break 2
8133  fi
8134done
8135  done
8136IFS=$as_save_IFS
8137
8138fi
8139fi
8140RANLIB=$ac_cv_prog_RANLIB
8141if test -n "$RANLIB"; then
8142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8143$as_echo "$RANLIB" >&6; }
8144else
8145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8146$as_echo "no" >&6; }
8147fi
8148
8149
8150fi
8151if test -z "$ac_cv_prog_RANLIB"; then
8152  ac_ct_RANLIB=$RANLIB
8153  # Extract the first word of "ranlib", so it can be a program name with args.
8154set dummy ranlib; ac_word=$2
8155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8156$as_echo_n "checking for $ac_word... " >&6; }
8157if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8158  $as_echo_n "(cached) " >&6
8159else
8160  if test -n "$ac_ct_RANLIB"; then
8161  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8162else
8163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8164for as_dir in $PATH
8165do
8166  IFS=$as_save_IFS
8167  test -z "$as_dir" && as_dir=.
8168    for ac_exec_ext in '' $ac_executable_extensions; do
8169  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8170    ac_cv_prog_ac_ct_RANLIB="ranlib"
8171    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8172    break 2
8173  fi
8174done
8175  done
8176IFS=$as_save_IFS
8177
8178fi
8179fi
8180ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8181if test -n "$ac_ct_RANLIB"; then
8182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8183$as_echo "$ac_ct_RANLIB" >&6; }
8184else
8185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8186$as_echo "no" >&6; }
8187fi
8188
8189  if test "x$ac_ct_RANLIB" = x; then
8190    RANLIB=":"
8191  else
8192    case $cross_compiling:$ac_tool_warned in
8193yes:)
8194{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8195$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8196ac_tool_warned=yes ;;
8197esac
8198    RANLIB=$ac_ct_RANLIB
8199  fi
8200else
8201  RANLIB="$ac_cv_prog_RANLIB"
8202fi
8203
8204test -z "$RANLIB" && RANLIB=:
8205
8206
8207
8208
8209
8210
8211# Determine commands to create old-style static archives.
8212old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8213old_postinstall_cmds='chmod 644 $oldlib'
8214old_postuninstall_cmds=
8215
8216if test -n "$RANLIB"; then
8217  case $host_os in
8218  bitrig* | openbsd*)
8219    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8220    ;;
8221  *)
8222    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8223    ;;
8224  esac
8225  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8226fi
8227
8228case $host_os in
8229  darwin*)
8230    lock_old_archive_extraction=yes ;;
8231  *)
8232    lock_old_archive_extraction=no ;;
8233esac
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273# If no C compiler was specified, use CC.
8274LTCC=${LTCC-"$CC"}
8275
8276# If no C compiler flags were specified, use CFLAGS.
8277LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8278
8279# Allow CC to be a program name with arguments.
8280compiler=$CC
8281
8282
8283# Check for command to grab the raw symbol name followed by C symbol from nm.
8284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8285$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8286if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8287  $as_echo_n "(cached) " >&6
8288else
8289
8290# These are sane defaults that work on at least a few old systems.
8291# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8292
8293# Character class describing NM global symbol codes.
8294symcode='[BCDEGRST]'
8295
8296# Regexp to match symbols that can be accessed directly from C.
8297sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8298
8299# Define system-specific variables.
8300case $host_os in
8301aix*)
8302  symcode='[BCDT]'
8303  ;;
8304cygwin* | mingw* | pw32* | cegcc*)
8305  symcode='[ABCDGISTW]'
8306  ;;
8307hpux*)
8308  if test ia64 = "$host_cpu"; then
8309    symcode='[ABCDEGRST]'
8310  fi
8311  ;;
8312irix* | nonstopux*)
8313  symcode='[BCDEGRST]'
8314  ;;
8315osf*)
8316  symcode='[BCDEGQRST]'
8317  ;;
8318solaris*)
8319  symcode='[BDRT]'
8320  ;;
8321sco3.2v5*)
8322  symcode='[DT]'
8323  ;;
8324sysv4.2uw2*)
8325  symcode='[DT]'
8326  ;;
8327sysv5* | sco5v6* | unixware* | OpenUNIX*)
8328  symcode='[ABDT]'
8329  ;;
8330sysv4)
8331  symcode='[DFNSTU]'
8332  ;;
8333esac
8334
8335# If we're using GNU nm, then use its standard symbol codes.
8336case `$NM -V 2>&1` in
8337*GNU* | *'with BFD'*)
8338  symcode='[ABCDGIRSTW]' ;;
8339esac
8340
8341if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8342  # Gets list of data symbols to import.
8343  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8344  # Adjust the below global symbol transforms to fixup imported variables.
8345  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8346  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
8347  lt_c_name_lib_hook="\
8348  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
8349  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
8350else
8351  # Disable hooks by default.
8352  lt_cv_sys_global_symbol_to_import=
8353  lt_cdecl_hook=
8354  lt_c_name_hook=
8355  lt_c_name_lib_hook=
8356fi
8357
8358# Transform an extracted symbol line into a proper C declaration.
8359# Some systems (esp. on ia64) link data and code symbols differently,
8360# so use this general approach.
8361lt_cv_sys_global_symbol_to_cdecl="sed -n"\
8362$lt_cdecl_hook\
8363" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8364" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8365
8366# Transform an extracted symbol line into symbol name and symbol address
8367lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
8368$lt_c_name_hook\
8369" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8370" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
8371
8372# Transform an extracted symbol line into symbol name with lib prefix and
8373# symbol address.
8374lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
8375$lt_c_name_lib_hook\
8376" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8377" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
8378" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
8379
8380# Handle CRLF in mingw tool chain
8381opt_cr=
8382case $build_os in
8383mingw*)
8384  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8385  ;;
8386esac
8387
8388# Try without a prefix underscore, then with it.
8389for ac_symprfx in "" "_"; do
8390
8391  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8392  symxfrm="\\1 $ac_symprfx\\2 \\2"
8393
8394  # Write the raw and C identifiers.
8395  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8396    # Fake it for dumpbin and say T for any non-static function,
8397    # D for any global variable and I for any imported variable.
8398    # Also find C++ and __fastcall symbols from MSVC++,
8399    # which start with @ or ?.
8400    lt_cv_sys_global_symbol_pipe="$AWK '"\
8401"     {last_section=section; section=\$ 3};"\
8402"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8403"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8404"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8405"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8406"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8407"     \$ 0!~/External *\|/{next};"\
8408"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8409"     {if(hide[section]) next};"\
8410"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8411"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8412"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8413"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8414"     ' prfx=^$ac_symprfx"
8415  else
8416    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8417  fi
8418  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8419
8420  # Check to see that the pipe works correctly.
8421  pipe_works=no
8422
8423  rm -f conftest*
8424  cat > conftest.$ac_ext <<_LT_EOF
8425#ifdef __cplusplus
8426extern "C" {
8427#endif
8428char nm_test_var;
8429void nm_test_func(void);
8430void nm_test_func(void){}
8431#ifdef __cplusplus
8432}
8433#endif
8434int main(){nm_test_var='a';nm_test_func();return(0);}
8435_LT_EOF
8436
8437  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8438  (eval $ac_compile) 2>&5
8439  ac_status=$?
8440  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8441  test $ac_status = 0; }; then
8442    # Now try to grab the symbols.
8443    nlist=conftest.nm
8444    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8445  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8446  ac_status=$?
8447  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8448  test $ac_status = 0; } && test -s "$nlist"; then
8449      # Try sorting and uniquifying the output.
8450      if sort "$nlist" | uniq > "$nlist"T; then
8451	mv -f "$nlist"T "$nlist"
8452      else
8453	rm -f "$nlist"T
8454      fi
8455
8456      # Make sure that we snagged all the symbols we need.
8457      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8458	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8459	  cat <<_LT_EOF > conftest.$ac_ext
8460/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8461#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8462/* DATA imports from DLLs on WIN32 can't be const, because runtime
8463   relocations are performed -- see ld's documentation on pseudo-relocs.  */
8464# define LT_DLSYM_CONST
8465#elif defined __osf__
8466/* This system does not cope well with relocations in const data.  */
8467# define LT_DLSYM_CONST
8468#else
8469# define LT_DLSYM_CONST const
8470#endif
8471
8472#ifdef __cplusplus
8473extern "C" {
8474#endif
8475
8476_LT_EOF
8477	  # Now generate the symbol file.
8478	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8479
8480	  cat <<_LT_EOF >> conftest.$ac_ext
8481
8482/* The mapping between symbol names and symbols.  */
8483LT_DLSYM_CONST struct {
8484  const char *name;
8485  void       *address;
8486}
8487lt__PROGRAM__LTX_preloaded_symbols[] =
8488{
8489  { "@PROGRAM@", (void *) 0 },
8490_LT_EOF
8491	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8492	  cat <<\_LT_EOF >> conftest.$ac_ext
8493  {0, (void *) 0}
8494};
8495
8496/* This works around a problem in FreeBSD linker */
8497#ifdef FREEBSD_WORKAROUND
8498static const void *lt_preloaded_setup() {
8499  return lt__PROGRAM__LTX_preloaded_symbols;
8500}
8501#endif
8502
8503#ifdef __cplusplus
8504}
8505#endif
8506_LT_EOF
8507	  # Now try linking the two files.
8508	  mv conftest.$ac_objext conftstm.$ac_objext
8509	  lt_globsym_save_LIBS=$LIBS
8510	  lt_globsym_save_CFLAGS=$CFLAGS
8511	  LIBS=conftstm.$ac_objext
8512	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8513	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8514  (eval $ac_link) 2>&5
8515  ac_status=$?
8516  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8517  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8518	    pipe_works=yes
8519	  fi
8520	  LIBS=$lt_globsym_save_LIBS
8521	  CFLAGS=$lt_globsym_save_CFLAGS
8522	else
8523	  echo "cannot find nm_test_func in $nlist" >&5
8524	fi
8525      else
8526	echo "cannot find nm_test_var in $nlist" >&5
8527      fi
8528    else
8529      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8530    fi
8531  else
8532    echo "$progname: failed program was:" >&5
8533    cat conftest.$ac_ext >&5
8534  fi
8535  rm -rf conftest* conftst*
8536
8537  # Do not use the global_symbol_pipe unless it works.
8538  if test yes = "$pipe_works"; then
8539    break
8540  else
8541    lt_cv_sys_global_symbol_pipe=
8542  fi
8543done
8544
8545fi
8546
8547if test -z "$lt_cv_sys_global_symbol_pipe"; then
8548  lt_cv_sys_global_symbol_to_cdecl=
8549fi
8550if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8552$as_echo "failed" >&6; }
8553else
8554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8555$as_echo "ok" >&6; }
8556fi
8557
8558# Response file support.
8559if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8560  nm_file_list_spec='@'
8561elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8562  nm_file_list_spec='@'
8563fi
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8602$as_echo_n "checking for sysroot... " >&6; }
8603
8604# Check whether --with-sysroot was given.
8605if test "${with_sysroot+set}" = set; then :
8606  withval=$with_sysroot;
8607else
8608  with_sysroot=no
8609fi
8610
8611
8612lt_sysroot=
8613case $with_sysroot in #(
8614 yes)
8615   if test yes = "$GCC"; then
8616     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8617   fi
8618   ;; #(
8619 /*)
8620   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8621   ;; #(
8622 no|'')
8623   ;; #(
8624 *)
8625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8626$as_echo "$with_sysroot" >&6; }
8627   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8628   ;;
8629esac
8630
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8632$as_echo "${lt_sysroot:-no}" >&6; }
8633
8634
8635
8636
8637
8638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8639$as_echo_n "checking for a working dd... " >&6; }
8640if ${ac_cv_path_lt_DD+:} false; then :
8641  $as_echo_n "(cached) " >&6
8642else
8643  printf 0123456789abcdef0123456789abcdef >conftest.i
8644cat conftest.i conftest.i >conftest2.i
8645: ${lt_DD:=$DD}
8646if test -z "$lt_DD"; then
8647  ac_path_lt_DD_found=false
8648  # Loop through the user's path and test for each of PROGNAME-LIST
8649  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8650for as_dir in $PATH
8651do
8652  IFS=$as_save_IFS
8653  test -z "$as_dir" && as_dir=.
8654    for ac_prog in dd; do
8655    for ac_exec_ext in '' $ac_executable_extensions; do
8656      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8657      as_fn_executable_p "$ac_path_lt_DD" || continue
8658if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8659  cmp -s conftest.i conftest.out \
8660  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8661fi
8662      $ac_path_lt_DD_found && break 3
8663    done
8664  done
8665  done
8666IFS=$as_save_IFS
8667  if test -z "$ac_cv_path_lt_DD"; then
8668    :
8669  fi
8670else
8671  ac_cv_path_lt_DD=$lt_DD
8672fi
8673
8674rm -f conftest.i conftest2.i conftest.out
8675fi
8676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8677$as_echo "$ac_cv_path_lt_DD" >&6; }
8678
8679
8680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8681$as_echo_n "checking how to truncate binary pipes... " >&6; }
8682if ${lt_cv_truncate_bin+:} false; then :
8683  $as_echo_n "(cached) " >&6
8684else
8685  printf 0123456789abcdef0123456789abcdef >conftest.i
8686cat conftest.i conftest.i >conftest2.i
8687lt_cv_truncate_bin=
8688if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8689  cmp -s conftest.i conftest.out \
8690  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8691fi
8692rm -f conftest.i conftest2.i conftest.out
8693test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8694fi
8695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8696$as_echo "$lt_cv_truncate_bin" >&6; }
8697
8698
8699
8700
8701
8702
8703
8704# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8705func_cc_basename ()
8706{
8707    for cc_temp in $*""; do
8708      case $cc_temp in
8709        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8710        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8711        \-*) ;;
8712        *) break;;
8713      esac
8714    done
8715    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8716}
8717
8718# Check whether --enable-libtool-lock was given.
8719if test "${enable_libtool_lock+set}" = set; then :
8720  enableval=$enable_libtool_lock;
8721fi
8722
8723test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8724
8725# Some flags need to be propagated to the compiler or linker for good
8726# libtool support.
8727case $host in
8728ia64-*-hpux*)
8729  # Find out what ABI is being produced by ac_compile, and set mode
8730  # options accordingly.
8731  echo 'int i;' > conftest.$ac_ext
8732  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8733  (eval $ac_compile) 2>&5
8734  ac_status=$?
8735  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8736  test $ac_status = 0; }; then
8737    case `/usr/bin/file conftest.$ac_objext` in
8738      *ELF-32*)
8739	HPUX_IA64_MODE=32
8740	;;
8741      *ELF-64*)
8742	HPUX_IA64_MODE=64
8743	;;
8744    esac
8745  fi
8746  rm -rf conftest*
8747  ;;
8748*-*-irix6*)
8749  # Find out what ABI is being produced by ac_compile, and set linker
8750  # options accordingly.
8751  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8752  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8753  (eval $ac_compile) 2>&5
8754  ac_status=$?
8755  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8756  test $ac_status = 0; }; then
8757    if test yes = "$lt_cv_prog_gnu_ld"; then
8758      case `/usr/bin/file conftest.$ac_objext` in
8759	*32-bit*)
8760	  LD="${LD-ld} -melf32bsmip"
8761	  ;;
8762	*N32*)
8763	  LD="${LD-ld} -melf32bmipn32"
8764	  ;;
8765	*64-bit*)
8766	  LD="${LD-ld} -melf64bmip"
8767	;;
8768      esac
8769    else
8770      case `/usr/bin/file conftest.$ac_objext` in
8771	*32-bit*)
8772	  LD="${LD-ld} -32"
8773	  ;;
8774	*N32*)
8775	  LD="${LD-ld} -n32"
8776	  ;;
8777	*64-bit*)
8778	  LD="${LD-ld} -64"
8779	  ;;
8780      esac
8781    fi
8782  fi
8783  rm -rf conftest*
8784  ;;
8785
8786mips64*-*linux*)
8787  # Find out what ABI is being produced by ac_compile, and set linker
8788  # options accordingly.
8789  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8790  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8791  (eval $ac_compile) 2>&5
8792  ac_status=$?
8793  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8794  test $ac_status = 0; }; then
8795    emul=elf
8796    case `/usr/bin/file conftest.$ac_objext` in
8797      *32-bit*)
8798	emul="${emul}32"
8799	;;
8800      *64-bit*)
8801	emul="${emul}64"
8802	;;
8803    esac
8804    case `/usr/bin/file conftest.$ac_objext` in
8805      *MSB*)
8806	emul="${emul}btsmip"
8807	;;
8808      *LSB*)
8809	emul="${emul}ltsmip"
8810	;;
8811    esac
8812    case `/usr/bin/file conftest.$ac_objext` in
8813      *N32*)
8814	emul="${emul}n32"
8815	;;
8816    esac
8817    LD="${LD-ld} -m $emul"
8818  fi
8819  rm -rf conftest*
8820  ;;
8821
8822x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8823s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8824  # Find out what ABI is being produced by ac_compile, and set linker
8825  # options accordingly.  Note that the listed cases only cover the
8826  # situations where additional linker options are needed (such as when
8827  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8828  # vice versa); the common cases where no linker options are needed do
8829  # not appear in the list.
8830  echo 'int i;' > conftest.$ac_ext
8831  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8832  (eval $ac_compile) 2>&5
8833  ac_status=$?
8834  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8835  test $ac_status = 0; }; then
8836    case `/usr/bin/file conftest.o` in
8837      *32-bit*)
8838	case $host in
8839	  x86_64-*kfreebsd*-gnu)
8840	    LD="${LD-ld} -m elf_i386_fbsd"
8841	    ;;
8842	  x86_64-*linux*)
8843	    case `/usr/bin/file conftest.o` in
8844	      *x86-64*)
8845		LD="${LD-ld} -m elf32_x86_64"
8846		;;
8847	      *)
8848		LD="${LD-ld} -m elf_i386"
8849		;;
8850	    esac
8851	    ;;
8852	  powerpc64le-*linux*)
8853	    LD="${LD-ld} -m elf32lppclinux"
8854	    ;;
8855	  powerpc64-*linux*)
8856	    LD="${LD-ld} -m elf32ppclinux"
8857	    ;;
8858	  s390x-*linux*)
8859	    LD="${LD-ld} -m elf_s390"
8860	    ;;
8861	  sparc64-*linux*)
8862	    LD="${LD-ld} -m elf32_sparc"
8863	    ;;
8864	esac
8865	;;
8866      *64-bit*)
8867	case $host in
8868	  x86_64-*kfreebsd*-gnu)
8869	    LD="${LD-ld} -m elf_x86_64_fbsd"
8870	    ;;
8871	  x86_64-*linux*)
8872	    LD="${LD-ld} -m elf_x86_64"
8873	    ;;
8874	  powerpcle-*linux*)
8875	    LD="${LD-ld} -m elf64lppc"
8876	    ;;
8877	  powerpc-*linux*)
8878	    LD="${LD-ld} -m elf64ppc"
8879	    ;;
8880	  s390*-*linux*|s390*-*tpf*)
8881	    LD="${LD-ld} -m elf64_s390"
8882	    ;;
8883	  sparc*-*linux*)
8884	    LD="${LD-ld} -m elf64_sparc"
8885	    ;;
8886	esac
8887	;;
8888    esac
8889  fi
8890  rm -rf conftest*
8891  ;;
8892
8893*-*-sco3.2v5*)
8894  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8895  SAVE_CFLAGS=$CFLAGS
8896  CFLAGS="$CFLAGS -belf"
8897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8898$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8899if ${lt_cv_cc_needs_belf+:} false; then :
8900  $as_echo_n "(cached) " >&6
8901else
8902  ac_ext=c
8903ac_cpp='$CPP $CPPFLAGS'
8904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8906ac_compiler_gnu=$ac_cv_c_compiler_gnu
8907
8908     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8909/* end confdefs.h.  */
8910
8911int
8912main ()
8913{
8914
8915  ;
8916  return 0;
8917}
8918_ACEOF
8919if ac_fn_c_try_link "$LINENO"; then :
8920  lt_cv_cc_needs_belf=yes
8921else
8922  lt_cv_cc_needs_belf=no
8923fi
8924rm -f core conftest.err conftest.$ac_objext \
8925    conftest$ac_exeext conftest.$ac_ext
8926     ac_ext=c
8927ac_cpp='$CPP $CPPFLAGS'
8928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8929ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8930ac_compiler_gnu=$ac_cv_c_compiler_gnu
8931
8932fi
8933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8934$as_echo "$lt_cv_cc_needs_belf" >&6; }
8935  if test yes != "$lt_cv_cc_needs_belf"; then
8936    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8937    CFLAGS=$SAVE_CFLAGS
8938  fi
8939  ;;
8940*-*solaris*)
8941  # Find out what ABI is being produced by ac_compile, and set linker
8942  # options accordingly.
8943  echo 'int i;' > conftest.$ac_ext
8944  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8945  (eval $ac_compile) 2>&5
8946  ac_status=$?
8947  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8948  test $ac_status = 0; }; then
8949    case `/usr/bin/file conftest.o` in
8950    *64-bit*)
8951      case $lt_cv_prog_gnu_ld in
8952      yes*)
8953        case $host in
8954        i?86-*-solaris*|x86_64-*-solaris*)
8955          LD="${LD-ld} -m elf_x86_64"
8956          ;;
8957        sparc*-*-solaris*)
8958          LD="${LD-ld} -m elf64_sparc"
8959          ;;
8960        esac
8961        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8962        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8963          LD=${LD-ld}_sol2
8964        fi
8965        ;;
8966      *)
8967	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8968	  LD="${LD-ld} -64"
8969	fi
8970	;;
8971      esac
8972      ;;
8973    esac
8974  fi
8975  rm -rf conftest*
8976  ;;
8977esac
8978
8979need_locks=$enable_libtool_lock
8980
8981if test -n "$ac_tool_prefix"; then
8982  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8983set dummy ${ac_tool_prefix}mt; ac_word=$2
8984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8985$as_echo_n "checking for $ac_word... " >&6; }
8986if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8987  $as_echo_n "(cached) " >&6
8988else
8989  if test -n "$MANIFEST_TOOL"; then
8990  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8991else
8992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8993for as_dir in $PATH
8994do
8995  IFS=$as_save_IFS
8996  test -z "$as_dir" && as_dir=.
8997    for ac_exec_ext in '' $ac_executable_extensions; do
8998  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8999    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9000    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9001    break 2
9002  fi
9003done
9004  done
9005IFS=$as_save_IFS
9006
9007fi
9008fi
9009MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9010if test -n "$MANIFEST_TOOL"; then
9011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9012$as_echo "$MANIFEST_TOOL" >&6; }
9013else
9014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9015$as_echo "no" >&6; }
9016fi
9017
9018
9019fi
9020if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9021  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9022  # Extract the first word of "mt", so it can be a program name with args.
9023set dummy mt; ac_word=$2
9024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9025$as_echo_n "checking for $ac_word... " >&6; }
9026if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9027  $as_echo_n "(cached) " >&6
9028else
9029  if test -n "$ac_ct_MANIFEST_TOOL"; then
9030  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9031else
9032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9033for as_dir in $PATH
9034do
9035  IFS=$as_save_IFS
9036  test -z "$as_dir" && as_dir=.
9037    for ac_exec_ext in '' $ac_executable_extensions; do
9038  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9039    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9040    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9041    break 2
9042  fi
9043done
9044  done
9045IFS=$as_save_IFS
9046
9047fi
9048fi
9049ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9050if test -n "$ac_ct_MANIFEST_TOOL"; then
9051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9052$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9053else
9054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9055$as_echo "no" >&6; }
9056fi
9057
9058  if test "x$ac_ct_MANIFEST_TOOL" = x; then
9059    MANIFEST_TOOL=":"
9060  else
9061    case $cross_compiling:$ac_tool_warned in
9062yes:)
9063{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9064$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9065ac_tool_warned=yes ;;
9066esac
9067    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9068  fi
9069else
9070  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9071fi
9072
9073test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9075$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9076if ${lt_cv_path_mainfest_tool+:} false; then :
9077  $as_echo_n "(cached) " >&6
9078else
9079  lt_cv_path_mainfest_tool=no
9080  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9081  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9082  cat conftest.err >&5
9083  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9084    lt_cv_path_mainfest_tool=yes
9085  fi
9086  rm -f conftest*
9087fi
9088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9089$as_echo "$lt_cv_path_mainfest_tool" >&6; }
9090if test yes != "$lt_cv_path_mainfest_tool"; then
9091  MANIFEST_TOOL=:
9092fi
9093
9094
9095
9096
9097
9098
9099  case $host_os in
9100    rhapsody* | darwin*)
9101    if test -n "$ac_tool_prefix"; then
9102  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9103set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9105$as_echo_n "checking for $ac_word... " >&6; }
9106if ${ac_cv_prog_DSYMUTIL+:} false; then :
9107  $as_echo_n "(cached) " >&6
9108else
9109  if test -n "$DSYMUTIL"; then
9110  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9111else
9112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9113for as_dir in $PATH
9114do
9115  IFS=$as_save_IFS
9116  test -z "$as_dir" && as_dir=.
9117    for ac_exec_ext in '' $ac_executable_extensions; do
9118  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9119    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9120    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9121    break 2
9122  fi
9123done
9124  done
9125IFS=$as_save_IFS
9126
9127fi
9128fi
9129DSYMUTIL=$ac_cv_prog_DSYMUTIL
9130if test -n "$DSYMUTIL"; then
9131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9132$as_echo "$DSYMUTIL" >&6; }
9133else
9134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9135$as_echo "no" >&6; }
9136fi
9137
9138
9139fi
9140if test -z "$ac_cv_prog_DSYMUTIL"; then
9141  ac_ct_DSYMUTIL=$DSYMUTIL
9142  # Extract the first word of "dsymutil", so it can be a program name with args.
9143set dummy dsymutil; ac_word=$2
9144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9145$as_echo_n "checking for $ac_word... " >&6; }
9146if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9147  $as_echo_n "(cached) " >&6
9148else
9149  if test -n "$ac_ct_DSYMUTIL"; then
9150  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9151else
9152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9153for as_dir in $PATH
9154do
9155  IFS=$as_save_IFS
9156  test -z "$as_dir" && as_dir=.
9157    for ac_exec_ext in '' $ac_executable_extensions; do
9158  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9159    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9161    break 2
9162  fi
9163done
9164  done
9165IFS=$as_save_IFS
9166
9167fi
9168fi
9169ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9170if test -n "$ac_ct_DSYMUTIL"; then
9171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9172$as_echo "$ac_ct_DSYMUTIL" >&6; }
9173else
9174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9175$as_echo "no" >&6; }
9176fi
9177
9178  if test "x$ac_ct_DSYMUTIL" = x; then
9179    DSYMUTIL=":"
9180  else
9181    case $cross_compiling:$ac_tool_warned in
9182yes:)
9183{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9184$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9185ac_tool_warned=yes ;;
9186esac
9187    DSYMUTIL=$ac_ct_DSYMUTIL
9188  fi
9189else
9190  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9191fi
9192
9193    if test -n "$ac_tool_prefix"; then
9194  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9195set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9197$as_echo_n "checking for $ac_word... " >&6; }
9198if ${ac_cv_prog_NMEDIT+:} false; then :
9199  $as_echo_n "(cached) " >&6
9200else
9201  if test -n "$NMEDIT"; then
9202  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9203else
9204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9205for as_dir in $PATH
9206do
9207  IFS=$as_save_IFS
9208  test -z "$as_dir" && as_dir=.
9209    for ac_exec_ext in '' $ac_executable_extensions; do
9210  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9211    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9212    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9213    break 2
9214  fi
9215done
9216  done
9217IFS=$as_save_IFS
9218
9219fi
9220fi
9221NMEDIT=$ac_cv_prog_NMEDIT
9222if test -n "$NMEDIT"; then
9223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9224$as_echo "$NMEDIT" >&6; }
9225else
9226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9227$as_echo "no" >&6; }
9228fi
9229
9230
9231fi
9232if test -z "$ac_cv_prog_NMEDIT"; then
9233  ac_ct_NMEDIT=$NMEDIT
9234  # Extract the first word of "nmedit", so it can be a program name with args.
9235set dummy nmedit; ac_word=$2
9236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9237$as_echo_n "checking for $ac_word... " >&6; }
9238if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9239  $as_echo_n "(cached) " >&6
9240else
9241  if test -n "$ac_ct_NMEDIT"; then
9242  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9243else
9244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9245for as_dir in $PATH
9246do
9247  IFS=$as_save_IFS
9248  test -z "$as_dir" && as_dir=.
9249    for ac_exec_ext in '' $ac_executable_extensions; do
9250  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9251    ac_cv_prog_ac_ct_NMEDIT="nmedit"
9252    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9253    break 2
9254  fi
9255done
9256  done
9257IFS=$as_save_IFS
9258
9259fi
9260fi
9261ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9262if test -n "$ac_ct_NMEDIT"; then
9263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9264$as_echo "$ac_ct_NMEDIT" >&6; }
9265else
9266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9267$as_echo "no" >&6; }
9268fi
9269
9270  if test "x$ac_ct_NMEDIT" = x; then
9271    NMEDIT=":"
9272  else
9273    case $cross_compiling:$ac_tool_warned in
9274yes:)
9275{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9276$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9277ac_tool_warned=yes ;;
9278esac
9279    NMEDIT=$ac_ct_NMEDIT
9280  fi
9281else
9282  NMEDIT="$ac_cv_prog_NMEDIT"
9283fi
9284
9285    if test -n "$ac_tool_prefix"; then
9286  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9287set dummy ${ac_tool_prefix}lipo; ac_word=$2
9288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9289$as_echo_n "checking for $ac_word... " >&6; }
9290if ${ac_cv_prog_LIPO+:} false; then :
9291  $as_echo_n "(cached) " >&6
9292else
9293  if test -n "$LIPO"; then
9294  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9295else
9296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9297for as_dir in $PATH
9298do
9299  IFS=$as_save_IFS
9300  test -z "$as_dir" && as_dir=.
9301    for ac_exec_ext in '' $ac_executable_extensions; do
9302  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9303    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9304    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9305    break 2
9306  fi
9307done
9308  done
9309IFS=$as_save_IFS
9310
9311fi
9312fi
9313LIPO=$ac_cv_prog_LIPO
9314if test -n "$LIPO"; then
9315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9316$as_echo "$LIPO" >&6; }
9317else
9318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9319$as_echo "no" >&6; }
9320fi
9321
9322
9323fi
9324if test -z "$ac_cv_prog_LIPO"; then
9325  ac_ct_LIPO=$LIPO
9326  # Extract the first word of "lipo", so it can be a program name with args.
9327set dummy lipo; ac_word=$2
9328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9329$as_echo_n "checking for $ac_word... " >&6; }
9330if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9331  $as_echo_n "(cached) " >&6
9332else
9333  if test -n "$ac_ct_LIPO"; then
9334  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9335else
9336as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9337for as_dir in $PATH
9338do
9339  IFS=$as_save_IFS
9340  test -z "$as_dir" && as_dir=.
9341    for ac_exec_ext in '' $ac_executable_extensions; do
9342  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9343    ac_cv_prog_ac_ct_LIPO="lipo"
9344    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9345    break 2
9346  fi
9347done
9348  done
9349IFS=$as_save_IFS
9350
9351fi
9352fi
9353ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9354if test -n "$ac_ct_LIPO"; then
9355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9356$as_echo "$ac_ct_LIPO" >&6; }
9357else
9358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9359$as_echo "no" >&6; }
9360fi
9361
9362  if test "x$ac_ct_LIPO" = x; then
9363    LIPO=":"
9364  else
9365    case $cross_compiling:$ac_tool_warned in
9366yes:)
9367{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9368$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9369ac_tool_warned=yes ;;
9370esac
9371    LIPO=$ac_ct_LIPO
9372  fi
9373else
9374  LIPO="$ac_cv_prog_LIPO"
9375fi
9376
9377    if test -n "$ac_tool_prefix"; then
9378  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9379set dummy ${ac_tool_prefix}otool; ac_word=$2
9380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9381$as_echo_n "checking for $ac_word... " >&6; }
9382if ${ac_cv_prog_OTOOL+:} false; then :
9383  $as_echo_n "(cached) " >&6
9384else
9385  if test -n "$OTOOL"; then
9386  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9387else
9388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9389for as_dir in $PATH
9390do
9391  IFS=$as_save_IFS
9392  test -z "$as_dir" && as_dir=.
9393    for ac_exec_ext in '' $ac_executable_extensions; do
9394  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9395    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9396    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9397    break 2
9398  fi
9399done
9400  done
9401IFS=$as_save_IFS
9402
9403fi
9404fi
9405OTOOL=$ac_cv_prog_OTOOL
9406if test -n "$OTOOL"; then
9407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9408$as_echo "$OTOOL" >&6; }
9409else
9410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9411$as_echo "no" >&6; }
9412fi
9413
9414
9415fi
9416if test -z "$ac_cv_prog_OTOOL"; then
9417  ac_ct_OTOOL=$OTOOL
9418  # Extract the first word of "otool", so it can be a program name with args.
9419set dummy otool; ac_word=$2
9420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9421$as_echo_n "checking for $ac_word... " >&6; }
9422if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9423  $as_echo_n "(cached) " >&6
9424else
9425  if test -n "$ac_ct_OTOOL"; then
9426  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9427else
9428as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9429for as_dir in $PATH
9430do
9431  IFS=$as_save_IFS
9432  test -z "$as_dir" && as_dir=.
9433    for ac_exec_ext in '' $ac_executable_extensions; do
9434  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9435    ac_cv_prog_ac_ct_OTOOL="otool"
9436    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9437    break 2
9438  fi
9439done
9440  done
9441IFS=$as_save_IFS
9442
9443fi
9444fi
9445ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9446if test -n "$ac_ct_OTOOL"; then
9447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9448$as_echo "$ac_ct_OTOOL" >&6; }
9449else
9450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9451$as_echo "no" >&6; }
9452fi
9453
9454  if test "x$ac_ct_OTOOL" = x; then
9455    OTOOL=":"
9456  else
9457    case $cross_compiling:$ac_tool_warned in
9458yes:)
9459{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9460$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9461ac_tool_warned=yes ;;
9462esac
9463    OTOOL=$ac_ct_OTOOL
9464  fi
9465else
9466  OTOOL="$ac_cv_prog_OTOOL"
9467fi
9468
9469    if test -n "$ac_tool_prefix"; then
9470  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9471set dummy ${ac_tool_prefix}otool64; ac_word=$2
9472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9473$as_echo_n "checking for $ac_word... " >&6; }
9474if ${ac_cv_prog_OTOOL64+:} false; then :
9475  $as_echo_n "(cached) " >&6
9476else
9477  if test -n "$OTOOL64"; then
9478  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9479else
9480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9481for as_dir in $PATH
9482do
9483  IFS=$as_save_IFS
9484  test -z "$as_dir" && as_dir=.
9485    for ac_exec_ext in '' $ac_executable_extensions; do
9486  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9487    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9488    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9489    break 2
9490  fi
9491done
9492  done
9493IFS=$as_save_IFS
9494
9495fi
9496fi
9497OTOOL64=$ac_cv_prog_OTOOL64
9498if test -n "$OTOOL64"; then
9499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9500$as_echo "$OTOOL64" >&6; }
9501else
9502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9503$as_echo "no" >&6; }
9504fi
9505
9506
9507fi
9508if test -z "$ac_cv_prog_OTOOL64"; then
9509  ac_ct_OTOOL64=$OTOOL64
9510  # Extract the first word of "otool64", so it can be a program name with args.
9511set dummy otool64; ac_word=$2
9512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9513$as_echo_n "checking for $ac_word... " >&6; }
9514if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9515  $as_echo_n "(cached) " >&6
9516else
9517  if test -n "$ac_ct_OTOOL64"; then
9518  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9519else
9520as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9521for as_dir in $PATH
9522do
9523  IFS=$as_save_IFS
9524  test -z "$as_dir" && as_dir=.
9525    for ac_exec_ext in '' $ac_executable_extensions; do
9526  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9527    ac_cv_prog_ac_ct_OTOOL64="otool64"
9528    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9529    break 2
9530  fi
9531done
9532  done
9533IFS=$as_save_IFS
9534
9535fi
9536fi
9537ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9538if test -n "$ac_ct_OTOOL64"; then
9539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9540$as_echo "$ac_ct_OTOOL64" >&6; }
9541else
9542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9543$as_echo "no" >&6; }
9544fi
9545
9546  if test "x$ac_ct_OTOOL64" = x; then
9547    OTOOL64=":"
9548  else
9549    case $cross_compiling:$ac_tool_warned in
9550yes:)
9551{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9552$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9553ac_tool_warned=yes ;;
9554esac
9555    OTOOL64=$ac_ct_OTOOL64
9556  fi
9557else
9558  OTOOL64="$ac_cv_prog_OTOOL64"
9559fi
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9588$as_echo_n "checking for -single_module linker flag... " >&6; }
9589if ${lt_cv_apple_cc_single_mod+:} false; then :
9590  $as_echo_n "(cached) " >&6
9591else
9592  lt_cv_apple_cc_single_mod=no
9593      if test -z "$LT_MULTI_MODULE"; then
9594	# By default we will add the -single_module flag. You can override
9595	# by either setting the environment variable LT_MULTI_MODULE
9596	# non-empty at configure time, or by adding -multi_module to the
9597	# link flags.
9598	rm -rf libconftest.dylib*
9599	echo "int foo(void){return 1;}" > conftest.c
9600	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9601-dynamiclib -Wl,-single_module conftest.c" >&5
9602	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9603	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9604        _lt_result=$?
9605	# If there is a non-empty error log, and "single_module"
9606	# appears in it, assume the flag caused a linker warning
9607        if test -s conftest.err && $GREP single_module conftest.err; then
9608	  cat conftest.err >&5
9609	# Otherwise, if the output was created with a 0 exit code from
9610	# the compiler, it worked.
9611	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9612	  lt_cv_apple_cc_single_mod=yes
9613	else
9614	  cat conftest.err >&5
9615	fi
9616	rm -rf libconftest.dylib*
9617	rm -f conftest.*
9618      fi
9619fi
9620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9621$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9622
9623    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9624$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9625if ${lt_cv_ld_exported_symbols_list+:} false; then :
9626  $as_echo_n "(cached) " >&6
9627else
9628  lt_cv_ld_exported_symbols_list=no
9629      save_LDFLAGS=$LDFLAGS
9630      echo "_main" > conftest.sym
9631      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9632      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633/* end confdefs.h.  */
9634
9635int
9636main ()
9637{
9638
9639  ;
9640  return 0;
9641}
9642_ACEOF
9643if ac_fn_c_try_link "$LINENO"; then :
9644  lt_cv_ld_exported_symbols_list=yes
9645else
9646  lt_cv_ld_exported_symbols_list=no
9647fi
9648rm -f core conftest.err conftest.$ac_objext \
9649    conftest$ac_exeext conftest.$ac_ext
9650	LDFLAGS=$save_LDFLAGS
9651
9652fi
9653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9654$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9655
9656    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9657$as_echo_n "checking for -force_load linker flag... " >&6; }
9658if ${lt_cv_ld_force_load+:} false; then :
9659  $as_echo_n "(cached) " >&6
9660else
9661  lt_cv_ld_force_load=no
9662      cat > conftest.c << _LT_EOF
9663int forced_loaded() { return 2;}
9664_LT_EOF
9665      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9666      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9667      echo "$AR cru libconftest.a conftest.o" >&5
9668      $AR cru libconftest.a conftest.o 2>&5
9669      echo "$RANLIB libconftest.a" >&5
9670      $RANLIB libconftest.a 2>&5
9671      cat > conftest.c << _LT_EOF
9672int main() { return 0;}
9673_LT_EOF
9674      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9675      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9676      _lt_result=$?
9677      if test -s conftest.err && $GREP force_load conftest.err; then
9678	cat conftest.err >&5
9679      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9680	lt_cv_ld_force_load=yes
9681      else
9682	cat conftest.err >&5
9683      fi
9684        rm -f conftest.err libconftest.a conftest conftest.c
9685        rm -rf conftest.dSYM
9686
9687fi
9688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9689$as_echo "$lt_cv_ld_force_load" >&6; }
9690    case $host_os in
9691    rhapsody* | darwin1.[012])
9692      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9693    darwin1.*)
9694      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9695    darwin*) # darwin 5.x on
9696      # if running on 10.5 or later, the deployment target defaults
9697      # to the OS version, if on x86, and 10.4, the deployment
9698      # target defaults to 10.4. Don't you love it?
9699      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9700	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9701	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9702	10.[012][,.]*)
9703	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9704	10.*)
9705	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9706      esac
9707    ;;
9708  esac
9709    if test yes = "$lt_cv_apple_cc_single_mod"; then
9710      _lt_dar_single_mod='$single_module'
9711    fi
9712    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9713      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9714    else
9715      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9716    fi
9717    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9718      _lt_dsymutil='~$DSYMUTIL $lib || :'
9719    else
9720      _lt_dsymutil=
9721    fi
9722    ;;
9723  esac
9724
9725# func_munge_path_list VARIABLE PATH
9726# -----------------------------------
9727# VARIABLE is name of variable containing _space_ separated list of
9728# directories to be munged by the contents of PATH, which is string
9729# having a format:
9730# "DIR[:DIR]:"
9731#       string "DIR[ DIR]" will be prepended to VARIABLE
9732# ":DIR[:DIR]"
9733#       string "DIR[ DIR]" will be appended to VARIABLE
9734# "DIRP[:DIRP]::[DIRA:]DIRA"
9735#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9736#       "DIRA[ DIRA]" will be appended to VARIABLE
9737# "DIR[:DIR]"
9738#       VARIABLE will be replaced by "DIR[ DIR]"
9739func_munge_path_list ()
9740{
9741    case x$2 in
9742    x)
9743        ;;
9744    *:)
9745        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9746        ;;
9747    x:*)
9748        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9749        ;;
9750    *::*)
9751        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9752        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9753        ;;
9754    *)
9755        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9756        ;;
9757    esac
9758}
9759
9760for ac_header in dlfcn.h
9761do :
9762  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9763"
9764if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9765  cat >>confdefs.h <<_ACEOF
9766#define HAVE_DLFCN_H 1
9767_ACEOF
9768
9769fi
9770
9771done
9772
9773
9774
9775
9776
9777# Set options
9778
9779
9780
9781        enable_dlopen=no
9782
9783
9784  enable_win32_dll=no
9785
9786
9787            # Check whether --enable-shared was given.
9788if test "${enable_shared+set}" = set; then :
9789  enableval=$enable_shared; p=${PACKAGE-default}
9790    case $enableval in
9791    yes) enable_shared=yes ;;
9792    no) enable_shared=no ;;
9793    *)
9794      enable_shared=no
9795      # Look at the argument we got.  We use all the common list separators.
9796      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9797      for pkg in $enableval; do
9798	IFS=$lt_save_ifs
9799	if test "X$pkg" = "X$p"; then
9800	  enable_shared=yes
9801	fi
9802      done
9803      IFS=$lt_save_ifs
9804      ;;
9805    esac
9806else
9807  enable_shared=yes
9808fi
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818  # Check whether --enable-static was given.
9819if test "${enable_static+set}" = set; then :
9820  enableval=$enable_static; p=${PACKAGE-default}
9821    case $enableval in
9822    yes) enable_static=yes ;;
9823    no) enable_static=no ;;
9824    *)
9825     enable_static=no
9826      # Look at the argument we got.  We use all the common list separators.
9827      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9828      for pkg in $enableval; do
9829	IFS=$lt_save_ifs
9830	if test "X$pkg" = "X$p"; then
9831	  enable_static=yes
9832	fi
9833      done
9834      IFS=$lt_save_ifs
9835      ;;
9836    esac
9837else
9838  enable_static=yes
9839fi
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850# Check whether --with-pic was given.
9851if test "${with_pic+set}" = set; then :
9852  withval=$with_pic; lt_p=${PACKAGE-default}
9853    case $withval in
9854    yes|no) pic_mode=$withval ;;
9855    *)
9856      pic_mode=default
9857      # Look at the argument we got.  We use all the common list separators.
9858      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9859      for lt_pkg in $withval; do
9860	IFS=$lt_save_ifs
9861	if test "X$lt_pkg" = "X$lt_p"; then
9862	  pic_mode=yes
9863	fi
9864      done
9865      IFS=$lt_save_ifs
9866      ;;
9867    esac
9868else
9869  pic_mode=default
9870fi
9871
9872
9873
9874
9875
9876
9877
9878
9879  # Check whether --enable-fast-install was given.
9880if test "${enable_fast_install+set}" = set; then :
9881  enableval=$enable_fast_install; p=${PACKAGE-default}
9882    case $enableval in
9883    yes) enable_fast_install=yes ;;
9884    no) enable_fast_install=no ;;
9885    *)
9886      enable_fast_install=no
9887      # Look at the argument we got.  We use all the common list separators.
9888      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9889      for pkg in $enableval; do
9890	IFS=$lt_save_ifs
9891	if test "X$pkg" = "X$p"; then
9892	  enable_fast_install=yes
9893	fi
9894      done
9895      IFS=$lt_save_ifs
9896      ;;
9897    esac
9898else
9899  enable_fast_install=yes
9900fi
9901
9902
9903
9904
9905
9906
9907
9908
9909  shared_archive_member_spec=
9910case $host,$enable_shared in
9911power*-*-aix[5-9]*,yes)
9912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9913$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9914
9915# Check whether --with-aix-soname was given.
9916if test "${with_aix_soname+set}" = set; then :
9917  withval=$with_aix_soname; case $withval in
9918    aix|svr4|both)
9919      ;;
9920    *)
9921      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9922      ;;
9923    esac
9924    lt_cv_with_aix_soname=$with_aix_soname
9925else
9926  if ${lt_cv_with_aix_soname+:} false; then :
9927  $as_echo_n "(cached) " >&6
9928else
9929  lt_cv_with_aix_soname=aix
9930fi
9931
9932    with_aix_soname=$lt_cv_with_aix_soname
9933fi
9934
9935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9936$as_echo "$with_aix_soname" >&6; }
9937  if test aix != "$with_aix_soname"; then
9938    # For the AIX way of multilib, we name the shared archive member
9939    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9940    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9941    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9942    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9943    if test 64 = "${OBJECT_MODE-32}"; then
9944      shared_archive_member_spec=shr_64
9945    else
9946      shared_archive_member_spec=shr
9947    fi
9948  fi
9949  ;;
9950*)
9951  with_aix_soname=aix
9952  ;;
9953esac
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964# This can be used to rebuild libtool when needed
9965LIBTOOL_DEPS=$ltmain
9966
9967# Always use our own libtool.
9968LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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
9999test -z "$LN_S" && LN_S="ln -s"
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014if test -n "${ZSH_VERSION+set}"; then
10015   setopt NO_GLOB_SUBST
10016fi
10017
10018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10019$as_echo_n "checking for objdir... " >&6; }
10020if ${lt_cv_objdir+:} false; then :
10021  $as_echo_n "(cached) " >&6
10022else
10023  rm -f .libs 2>/dev/null
10024mkdir .libs 2>/dev/null
10025if test -d .libs; then
10026  lt_cv_objdir=.libs
10027else
10028  # MS-DOS does not allow filenames that begin with a dot.
10029  lt_cv_objdir=_libs
10030fi
10031rmdir .libs 2>/dev/null
10032fi
10033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10034$as_echo "$lt_cv_objdir" >&6; }
10035objdir=$lt_cv_objdir
10036
10037
10038
10039
10040
10041cat >>confdefs.h <<_ACEOF
10042#define LT_OBJDIR "$lt_cv_objdir/"
10043_ACEOF
10044
10045
10046
10047
10048case $host_os in
10049aix3*)
10050  # AIX sometimes has problems with the GCC collect2 program.  For some
10051  # reason, if we set the COLLECT_NAMES environment variable, the problems
10052  # vanish in a puff of smoke.
10053  if test set != "${COLLECT_NAMES+set}"; then
10054    COLLECT_NAMES=
10055    export COLLECT_NAMES
10056  fi
10057  ;;
10058esac
10059
10060# Global variables:
10061ofile=libtool
10062can_build_shared=yes
10063
10064# All known linkers require a '.a' archive for static linking (except MSVC,
10065# which needs '.lib').
10066libext=a
10067
10068with_gnu_ld=$lt_cv_prog_gnu_ld
10069
10070old_CC=$CC
10071old_CFLAGS=$CFLAGS
10072
10073# Set sane defaults for various variables
10074test -z "$CC" && CC=cc
10075test -z "$LTCC" && LTCC=$CC
10076test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10077test -z "$LD" && LD=ld
10078test -z "$ac_objext" && ac_objext=o
10079
10080func_cc_basename $compiler
10081cc_basename=$func_cc_basename_result
10082
10083
10084# Only perform the check for file, if the check method requires it
10085test -z "$MAGIC_CMD" && MAGIC_CMD=file
10086case $deplibs_check_method in
10087file_magic*)
10088  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10089    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10090$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10091if ${lt_cv_path_MAGIC_CMD+:} false; then :
10092  $as_echo_n "(cached) " >&6
10093else
10094  case $MAGIC_CMD in
10095[\\/*] |  ?:[\\/]*)
10096  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10097  ;;
10098*)
10099  lt_save_MAGIC_CMD=$MAGIC_CMD
10100  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10101  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10102  for ac_dir in $ac_dummy; do
10103    IFS=$lt_save_ifs
10104    test -z "$ac_dir" && ac_dir=.
10105    if test -f "$ac_dir/${ac_tool_prefix}file"; then
10106      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10107      if test -n "$file_magic_test_file"; then
10108	case $deplibs_check_method in
10109	"file_magic "*)
10110	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10111	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10112	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10113	    $EGREP "$file_magic_regex" > /dev/null; then
10114	    :
10115	  else
10116	    cat <<_LT_EOF 1>&2
10117
10118*** Warning: the command libtool uses to detect shared libraries,
10119*** $file_magic_cmd, produces output that libtool cannot recognize.
10120*** The result is that libtool may fail to recognize shared libraries
10121*** as such.  This will affect the creation of libtool libraries that
10122*** depend on shared libraries, but programs linked with such libtool
10123*** libraries will work regardless of this problem.  Nevertheless, you
10124*** may want to report the problem to your system manager and/or to
10125*** bug-libtool@gnu.org
10126
10127_LT_EOF
10128	  fi ;;
10129	esac
10130      fi
10131      break
10132    fi
10133  done
10134  IFS=$lt_save_ifs
10135  MAGIC_CMD=$lt_save_MAGIC_CMD
10136  ;;
10137esac
10138fi
10139
10140MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10141if test -n "$MAGIC_CMD"; then
10142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10143$as_echo "$MAGIC_CMD" >&6; }
10144else
10145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10146$as_echo "no" >&6; }
10147fi
10148
10149
10150
10151
10152
10153if test -z "$lt_cv_path_MAGIC_CMD"; then
10154  if test -n "$ac_tool_prefix"; then
10155    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10156$as_echo_n "checking for file... " >&6; }
10157if ${lt_cv_path_MAGIC_CMD+:} false; then :
10158  $as_echo_n "(cached) " >&6
10159else
10160  case $MAGIC_CMD in
10161[\\/*] |  ?:[\\/]*)
10162  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10163  ;;
10164*)
10165  lt_save_MAGIC_CMD=$MAGIC_CMD
10166  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10167  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10168  for ac_dir in $ac_dummy; do
10169    IFS=$lt_save_ifs
10170    test -z "$ac_dir" && ac_dir=.
10171    if test -f "$ac_dir/file"; then
10172      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10173      if test -n "$file_magic_test_file"; then
10174	case $deplibs_check_method in
10175	"file_magic "*)
10176	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10177	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10178	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10179	    $EGREP "$file_magic_regex" > /dev/null; then
10180	    :
10181	  else
10182	    cat <<_LT_EOF 1>&2
10183
10184*** Warning: the command libtool uses to detect shared libraries,
10185*** $file_magic_cmd, produces output that libtool cannot recognize.
10186*** The result is that libtool may fail to recognize shared libraries
10187*** as such.  This will affect the creation of libtool libraries that
10188*** depend on shared libraries, but programs linked with such libtool
10189*** libraries will work regardless of this problem.  Nevertheless, you
10190*** may want to report the problem to your system manager and/or to
10191*** bug-libtool@gnu.org
10192
10193_LT_EOF
10194	  fi ;;
10195	esac
10196      fi
10197      break
10198    fi
10199  done
10200  IFS=$lt_save_ifs
10201  MAGIC_CMD=$lt_save_MAGIC_CMD
10202  ;;
10203esac
10204fi
10205
10206MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10207if test -n "$MAGIC_CMD"; then
10208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10209$as_echo "$MAGIC_CMD" >&6; }
10210else
10211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10212$as_echo "no" >&6; }
10213fi
10214
10215
10216  else
10217    MAGIC_CMD=:
10218  fi
10219fi
10220
10221  fi
10222  ;;
10223esac
10224
10225# Use C for the default configuration in the libtool script
10226
10227lt_save_CC=$CC
10228ac_ext=c
10229ac_cpp='$CPP $CPPFLAGS'
10230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10232ac_compiler_gnu=$ac_cv_c_compiler_gnu
10233
10234
10235# Source file extension for C test sources.
10236ac_ext=c
10237
10238# Object file extension for compiled C test sources.
10239objext=o
10240objext=$objext
10241
10242# Code to be used in simple compile tests
10243lt_simple_compile_test_code="int some_variable = 0;"
10244
10245# Code to be used in simple link tests
10246lt_simple_link_test_code='int main(){return(0);}'
10247
10248
10249
10250
10251
10252
10253
10254# If no C compiler was specified, use CC.
10255LTCC=${LTCC-"$CC"}
10256
10257# If no C compiler flags were specified, use CFLAGS.
10258LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10259
10260# Allow CC to be a program name with arguments.
10261compiler=$CC
10262
10263# Save the default compiler, since it gets overwritten when the other
10264# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10265compiler_DEFAULT=$CC
10266
10267# save warnings/boilerplate of simple test code
10268ac_outfile=conftest.$ac_objext
10269echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10270eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10271_lt_compiler_boilerplate=`cat conftest.err`
10272$RM conftest*
10273
10274ac_outfile=conftest.$ac_objext
10275echo "$lt_simple_link_test_code" >conftest.$ac_ext
10276eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10277_lt_linker_boilerplate=`cat conftest.err`
10278$RM -r conftest*
10279
10280
10281## CAVEAT EMPTOR:
10282## There is no encapsulation within the following macros, do not change
10283## the running order or otherwise move them around unless you know exactly
10284## what you are doing...
10285if test -n "$compiler"; then
10286
10287lt_prog_compiler_no_builtin_flag=
10288
10289if test yes = "$GCC"; then
10290  case $cc_basename in
10291  nvcc*)
10292    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10293  *)
10294    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10295  esac
10296
10297  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10298$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10299if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10300  $as_echo_n "(cached) " >&6
10301else
10302  lt_cv_prog_compiler_rtti_exceptions=no
10303   ac_outfile=conftest.$ac_objext
10304   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10305   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
10306   # Insert the option either (1) after the last *FLAGS variable, or
10307   # (2) before a word containing "conftest.", or (3) at the end.
10308   # Note that $ac_compile itself does not contain backslashes and begins
10309   # with a dollar sign (not a hyphen), so the echo should work correctly.
10310   # The option is referenced via a variable to avoid confusing sed.
10311   lt_compile=`echo "$ac_compile" | $SED \
10312   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10313   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10314   -e 's:$: $lt_compiler_flag:'`
10315   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10316   (eval "$lt_compile" 2>conftest.err)
10317   ac_status=$?
10318   cat conftest.err >&5
10319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320   if (exit $ac_status) && test -s "$ac_outfile"; then
10321     # The compiler can only warn and ignore the option if not recognized
10322     # So say no if there are warnings other than the usual output.
10323     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10324     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10325     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10326       lt_cv_prog_compiler_rtti_exceptions=yes
10327     fi
10328   fi
10329   $RM conftest*
10330
10331fi
10332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10333$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10334
10335if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10336    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10337else
10338    :
10339fi
10340
10341fi
10342
10343
10344
10345
10346
10347
10348  lt_prog_compiler_wl=
10349lt_prog_compiler_pic=
10350lt_prog_compiler_static=
10351
10352
10353  if test yes = "$GCC"; then
10354    lt_prog_compiler_wl='-Wl,'
10355    lt_prog_compiler_static='-static'
10356
10357    case $host_os in
10358      aix*)
10359      # All AIX code is PIC.
10360      if test ia64 = "$host_cpu"; then
10361	# AIX 5 now supports IA64 processor
10362	lt_prog_compiler_static='-Bstatic'
10363      fi
10364      lt_prog_compiler_pic='-fPIC'
10365      ;;
10366
10367    amigaos*)
10368      case $host_cpu in
10369      powerpc)
10370            # see comment about AmigaOS4 .so support
10371            lt_prog_compiler_pic='-fPIC'
10372        ;;
10373      m68k)
10374            # FIXME: we need at least 68020 code to build shared libraries, but
10375            # adding the '-m68020' flag to GCC prevents building anything better,
10376            # like '-m68040'.
10377            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10378        ;;
10379      esac
10380      ;;
10381
10382    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10383      # PIC is the default for these OSes.
10384      ;;
10385
10386    mingw* | cygwin* | pw32* | os2* | cegcc*)
10387      # This hack is so that the source file can tell whether it is being
10388      # built for inclusion in a dll (and should export symbols for example).
10389      # Although the cygwin gcc ignores -fPIC, still need this for old-style
10390      # (--disable-auto-import) libraries
10391      lt_prog_compiler_pic='-DDLL_EXPORT'
10392      case $host_os in
10393      os2*)
10394	lt_prog_compiler_static='$wl-static'
10395	;;
10396      esac
10397      ;;
10398
10399    darwin* | rhapsody*)
10400      # PIC is the default on this platform
10401      # Common symbols not allowed in MH_DYLIB files
10402      lt_prog_compiler_pic='-fno-common'
10403      ;;
10404
10405    haiku*)
10406      # PIC is the default for Haiku.
10407      # The "-static" flag exists, but is broken.
10408      lt_prog_compiler_static=
10409      ;;
10410
10411    hpux*)
10412      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10413      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10414      # sets the default TLS model and affects inlining.
10415      case $host_cpu in
10416      hppa*64*)
10417	# +Z the default
10418	;;
10419      *)
10420	lt_prog_compiler_pic='-fPIC'
10421	;;
10422      esac
10423      ;;
10424
10425    interix[3-9]*)
10426      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10427      # Instead, we relocate shared libraries at runtime.
10428      ;;
10429
10430    msdosdjgpp*)
10431      # Just because we use GCC doesn't mean we suddenly get shared libraries
10432      # on systems that don't support them.
10433      lt_prog_compiler_can_build_shared=no
10434      enable_shared=no
10435      ;;
10436
10437    *nto* | *qnx*)
10438      # QNX uses GNU C++, but need to define -shared option too, otherwise
10439      # it will coredump.
10440      lt_prog_compiler_pic='-fPIC -shared'
10441      ;;
10442
10443    sysv4*MP*)
10444      if test -d /usr/nec; then
10445	lt_prog_compiler_pic=-Kconform_pic
10446      fi
10447      ;;
10448
10449    *)
10450      lt_prog_compiler_pic='-fPIC'
10451      ;;
10452    esac
10453
10454    case $cc_basename in
10455    nvcc*) # Cuda Compiler Driver 2.2
10456      lt_prog_compiler_wl='-Xlinker '
10457      if test -n "$lt_prog_compiler_pic"; then
10458        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10459      fi
10460      ;;
10461    esac
10462  else
10463    # PORTME Check for flag to pass linker flags through the system compiler.
10464    case $host_os in
10465    aix*)
10466      lt_prog_compiler_wl='-Wl,'
10467      if test ia64 = "$host_cpu"; then
10468	# AIX 5 now supports IA64 processor
10469	lt_prog_compiler_static='-Bstatic'
10470      else
10471	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10472      fi
10473      ;;
10474
10475    darwin* | rhapsody*)
10476      # PIC is the default on this platform
10477      # Common symbols not allowed in MH_DYLIB files
10478      lt_prog_compiler_pic='-fno-common'
10479      case $cc_basename in
10480      nagfor*)
10481        # NAG Fortran compiler
10482        lt_prog_compiler_wl='-Wl,-Wl,,'
10483        lt_prog_compiler_pic='-PIC'
10484        lt_prog_compiler_static='-Bstatic'
10485        ;;
10486      esac
10487      ;;
10488
10489    mingw* | cygwin* | pw32* | os2* | cegcc*)
10490      # This hack is so that the source file can tell whether it is being
10491      # built for inclusion in a dll (and should export symbols for example).
10492      lt_prog_compiler_pic='-DDLL_EXPORT'
10493      case $host_os in
10494      os2*)
10495	lt_prog_compiler_static='$wl-static'
10496	;;
10497      esac
10498      ;;
10499
10500    hpux9* | hpux10* | hpux11*)
10501      lt_prog_compiler_wl='-Wl,'
10502      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10503      # not for PA HP-UX.
10504      case $host_cpu in
10505      hppa*64*|ia64*)
10506	# +Z the default
10507	;;
10508      *)
10509	lt_prog_compiler_pic='+Z'
10510	;;
10511      esac
10512      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10513      lt_prog_compiler_static='$wl-a ${wl}archive'
10514      ;;
10515
10516    irix5* | irix6* | nonstopux*)
10517      lt_prog_compiler_wl='-Wl,'
10518      # PIC (with -KPIC) is the default.
10519      lt_prog_compiler_static='-non_shared'
10520      ;;
10521
10522    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10523      case $cc_basename in
10524      # old Intel for x86_64, which still supported -KPIC.
10525      ecc*)
10526	lt_prog_compiler_wl='-Wl,'
10527	lt_prog_compiler_pic='-KPIC'
10528	lt_prog_compiler_static='-static'
10529        ;;
10530      # icc used to be incompatible with GCC.
10531      # ICC 10 doesn't accept -KPIC any more.
10532      icc* | ifort*)
10533	lt_prog_compiler_wl='-Wl,'
10534	lt_prog_compiler_pic='-fPIC'
10535	lt_prog_compiler_static='-static'
10536        ;;
10537      # Lahey Fortran 8.1.
10538      lf95*)
10539	lt_prog_compiler_wl='-Wl,'
10540	lt_prog_compiler_pic='--shared'
10541	lt_prog_compiler_static='--static'
10542	;;
10543      nagfor*)
10544	# NAG Fortran compiler
10545	lt_prog_compiler_wl='-Wl,-Wl,,'
10546	lt_prog_compiler_pic='-PIC'
10547	lt_prog_compiler_static='-Bstatic'
10548	;;
10549      tcc*)
10550	# Fabrice Bellard et al's Tiny C Compiler
10551	lt_prog_compiler_wl='-Wl,'
10552	lt_prog_compiler_pic='-fPIC'
10553	lt_prog_compiler_static='-static'
10554	;;
10555      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10556        # Portland Group compilers (*not* the Pentium gcc compiler,
10557	# which looks to be a dead project)
10558	lt_prog_compiler_wl='-Wl,'
10559	lt_prog_compiler_pic='-fpic'
10560	lt_prog_compiler_static='-Bstatic'
10561        ;;
10562      ccc*)
10563        lt_prog_compiler_wl='-Wl,'
10564        # All Alpha code is PIC.
10565        lt_prog_compiler_static='-non_shared'
10566        ;;
10567      xl* | bgxl* | bgf* | mpixl*)
10568	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10569	lt_prog_compiler_wl='-Wl,'
10570	lt_prog_compiler_pic='-qpic'
10571	lt_prog_compiler_static='-qstaticlink'
10572	;;
10573      *)
10574	case `$CC -V 2>&1 | sed 5q` in
10575	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10576	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10577	  lt_prog_compiler_pic='-KPIC'
10578	  lt_prog_compiler_static='-Bstatic'
10579	  lt_prog_compiler_wl=''
10580	  ;;
10581	*Sun\ F* | *Sun*Fortran*)
10582	  lt_prog_compiler_pic='-KPIC'
10583	  lt_prog_compiler_static='-Bstatic'
10584	  lt_prog_compiler_wl='-Qoption ld '
10585	  ;;
10586	*Sun\ C*)
10587	  # Sun C 5.9
10588	  lt_prog_compiler_pic='-KPIC'
10589	  lt_prog_compiler_static='-Bstatic'
10590	  lt_prog_compiler_wl='-Wl,'
10591	  ;;
10592        *Intel*\ [CF]*Compiler*)
10593	  lt_prog_compiler_wl='-Wl,'
10594	  lt_prog_compiler_pic='-fPIC'
10595	  lt_prog_compiler_static='-static'
10596	  ;;
10597	*Portland\ Group*)
10598	  lt_prog_compiler_wl='-Wl,'
10599	  lt_prog_compiler_pic='-fpic'
10600	  lt_prog_compiler_static='-Bstatic'
10601	  ;;
10602	esac
10603	;;
10604      esac
10605      ;;
10606
10607    newsos6)
10608      lt_prog_compiler_pic='-KPIC'
10609      lt_prog_compiler_static='-Bstatic'
10610      ;;
10611
10612    *nto* | *qnx*)
10613      # QNX uses GNU C++, but need to define -shared option too, otherwise
10614      # it will coredump.
10615      lt_prog_compiler_pic='-fPIC -shared'
10616      ;;
10617
10618    osf3* | osf4* | osf5*)
10619      lt_prog_compiler_wl='-Wl,'
10620      # All OSF/1 code is PIC.
10621      lt_prog_compiler_static='-non_shared'
10622      ;;
10623
10624    rdos*)
10625      lt_prog_compiler_static='-non_shared'
10626      ;;
10627
10628    solaris*)
10629      lt_prog_compiler_pic='-KPIC'
10630      lt_prog_compiler_static='-Bstatic'
10631      case $cc_basename in
10632      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10633	lt_prog_compiler_wl='-Qoption ld ';;
10634      *)
10635	lt_prog_compiler_wl='-Wl,';;
10636      esac
10637      ;;
10638
10639    sunos4*)
10640      lt_prog_compiler_wl='-Qoption ld '
10641      lt_prog_compiler_pic='-PIC'
10642      lt_prog_compiler_static='-Bstatic'
10643      ;;
10644
10645    sysv4 | sysv4.2uw2* | sysv4.3*)
10646      lt_prog_compiler_wl='-Wl,'
10647      lt_prog_compiler_pic='-KPIC'
10648      lt_prog_compiler_static='-Bstatic'
10649      ;;
10650
10651    sysv4*MP*)
10652      if test -d /usr/nec; then
10653	lt_prog_compiler_pic='-Kconform_pic'
10654	lt_prog_compiler_static='-Bstatic'
10655      fi
10656      ;;
10657
10658    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10659      lt_prog_compiler_wl='-Wl,'
10660      lt_prog_compiler_pic='-KPIC'
10661      lt_prog_compiler_static='-Bstatic'
10662      ;;
10663
10664    unicos*)
10665      lt_prog_compiler_wl='-Wl,'
10666      lt_prog_compiler_can_build_shared=no
10667      ;;
10668
10669    uts4*)
10670      lt_prog_compiler_pic='-pic'
10671      lt_prog_compiler_static='-Bstatic'
10672      ;;
10673
10674    *)
10675      lt_prog_compiler_can_build_shared=no
10676      ;;
10677    esac
10678  fi
10679
10680case $host_os in
10681  # For platforms that do not support PIC, -DPIC is meaningless:
10682  *djgpp*)
10683    lt_prog_compiler_pic=
10684    ;;
10685  *)
10686    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10687    ;;
10688esac
10689
10690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10691$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10692if ${lt_cv_prog_compiler_pic+:} false; then :
10693  $as_echo_n "(cached) " >&6
10694else
10695  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10696fi
10697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10698$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10699lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10700
10701#
10702# Check to make sure the PIC flag actually works.
10703#
10704if test -n "$lt_prog_compiler_pic"; then
10705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10706$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10707if ${lt_cv_prog_compiler_pic_works+:} false; then :
10708  $as_echo_n "(cached) " >&6
10709else
10710  lt_cv_prog_compiler_pic_works=no
10711   ac_outfile=conftest.$ac_objext
10712   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10713   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10714   # Insert the option either (1) after the last *FLAGS variable, or
10715   # (2) before a word containing "conftest.", or (3) at the end.
10716   # Note that $ac_compile itself does not contain backslashes and begins
10717   # with a dollar sign (not a hyphen), so the echo should work correctly.
10718   # The option is referenced via a variable to avoid confusing sed.
10719   lt_compile=`echo "$ac_compile" | $SED \
10720   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10721   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10722   -e 's:$: $lt_compiler_flag:'`
10723   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10724   (eval "$lt_compile" 2>conftest.err)
10725   ac_status=$?
10726   cat conftest.err >&5
10727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728   if (exit $ac_status) && test -s "$ac_outfile"; then
10729     # The compiler can only warn and ignore the option if not recognized
10730     # So say no if there are warnings other than the usual output.
10731     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10732     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10733     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10734       lt_cv_prog_compiler_pic_works=yes
10735     fi
10736   fi
10737   $RM conftest*
10738
10739fi
10740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10741$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10742
10743if test yes = "$lt_cv_prog_compiler_pic_works"; then
10744    case $lt_prog_compiler_pic in
10745     "" | " "*) ;;
10746     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10747     esac
10748else
10749    lt_prog_compiler_pic=
10750     lt_prog_compiler_can_build_shared=no
10751fi
10752
10753fi
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765#
10766# Check to make sure the static flag actually works.
10767#
10768wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10770$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10771if ${lt_cv_prog_compiler_static_works+:} false; then :
10772  $as_echo_n "(cached) " >&6
10773else
10774  lt_cv_prog_compiler_static_works=no
10775   save_LDFLAGS=$LDFLAGS
10776   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10777   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10778   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10779     # The linker can only warn and ignore the option if not recognized
10780     # So say no if there are warnings
10781     if test -s conftest.err; then
10782       # Append any errors to the config.log.
10783       cat conftest.err 1>&5
10784       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10785       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10786       if diff conftest.exp conftest.er2 >/dev/null; then
10787         lt_cv_prog_compiler_static_works=yes
10788       fi
10789     else
10790       lt_cv_prog_compiler_static_works=yes
10791     fi
10792   fi
10793   $RM -r conftest*
10794   LDFLAGS=$save_LDFLAGS
10795
10796fi
10797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10798$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10799
10800if test yes = "$lt_cv_prog_compiler_static_works"; then
10801    :
10802else
10803    lt_prog_compiler_static=
10804fi
10805
10806
10807
10808
10809
10810
10811
10812  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10813$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10814if ${lt_cv_prog_compiler_c_o+:} false; then :
10815  $as_echo_n "(cached) " >&6
10816else
10817  lt_cv_prog_compiler_c_o=no
10818   $RM -r conftest 2>/dev/null
10819   mkdir conftest
10820   cd conftest
10821   mkdir out
10822   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10823
10824   lt_compiler_flag="-o out/conftest2.$ac_objext"
10825   # Insert the option either (1) after the last *FLAGS variable, or
10826   # (2) before a word containing "conftest.", or (3) at the end.
10827   # Note that $ac_compile itself does not contain backslashes and begins
10828   # with a dollar sign (not a hyphen), so the echo should work correctly.
10829   lt_compile=`echo "$ac_compile" | $SED \
10830   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10831   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10832   -e 's:$: $lt_compiler_flag:'`
10833   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10834   (eval "$lt_compile" 2>out/conftest.err)
10835   ac_status=$?
10836   cat out/conftest.err >&5
10837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10838   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10839   then
10840     # The compiler can only warn and ignore the option if not recognized
10841     # So say no if there are warnings
10842     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10843     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10844     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10845       lt_cv_prog_compiler_c_o=yes
10846     fi
10847   fi
10848   chmod u+w . 2>&5
10849   $RM conftest*
10850   # SGI C++ compiler will create directory out/ii_files/ for
10851   # template instantiation
10852   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10853   $RM out/* && rmdir out
10854   cd ..
10855   $RM -r conftest
10856   $RM conftest*
10857
10858fi
10859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10860$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10861
10862
10863
10864
10865
10866
10867  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10868$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10869if ${lt_cv_prog_compiler_c_o+:} false; then :
10870  $as_echo_n "(cached) " >&6
10871else
10872  lt_cv_prog_compiler_c_o=no
10873   $RM -r conftest 2>/dev/null
10874   mkdir conftest
10875   cd conftest
10876   mkdir out
10877   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10878
10879   lt_compiler_flag="-o out/conftest2.$ac_objext"
10880   # Insert the option either (1) after the last *FLAGS variable, or
10881   # (2) before a word containing "conftest.", or (3) at the end.
10882   # Note that $ac_compile itself does not contain backslashes and begins
10883   # with a dollar sign (not a hyphen), so the echo should work correctly.
10884   lt_compile=`echo "$ac_compile" | $SED \
10885   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10886   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10887   -e 's:$: $lt_compiler_flag:'`
10888   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10889   (eval "$lt_compile" 2>out/conftest.err)
10890   ac_status=$?
10891   cat out/conftest.err >&5
10892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10894   then
10895     # The compiler can only warn and ignore the option if not recognized
10896     # So say no if there are warnings
10897     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10898     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10899     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10900       lt_cv_prog_compiler_c_o=yes
10901     fi
10902   fi
10903   chmod u+w . 2>&5
10904   $RM conftest*
10905   # SGI C++ compiler will create directory out/ii_files/ for
10906   # template instantiation
10907   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10908   $RM out/* && rmdir out
10909   cd ..
10910   $RM -r conftest
10911   $RM conftest*
10912
10913fi
10914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10915$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10916
10917
10918
10919
10920hard_links=nottested
10921if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10922  # do not overwrite the value of need_locks provided by the user
10923  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10924$as_echo_n "checking if we can lock with hard links... " >&6; }
10925  hard_links=yes
10926  $RM conftest*
10927  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10928  touch conftest.a
10929  ln conftest.a conftest.b 2>&5 || hard_links=no
10930  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10932$as_echo "$hard_links" >&6; }
10933  if test no = "$hard_links"; then
10934    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10935$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10936    need_locks=warn
10937  fi
10938else
10939  need_locks=no
10940fi
10941
10942
10943
10944
10945
10946
10947  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10948$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10949
10950  runpath_var=
10951  allow_undefined_flag=
10952  always_export_symbols=no
10953  archive_cmds=
10954  archive_expsym_cmds=
10955  compiler_needs_object=no
10956  enable_shared_with_static_runtimes=no
10957  export_dynamic_flag_spec=
10958  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10959  hardcode_automatic=no
10960  hardcode_direct=no
10961  hardcode_direct_absolute=no
10962  hardcode_libdir_flag_spec=
10963  hardcode_libdir_separator=
10964  hardcode_minus_L=no
10965  hardcode_shlibpath_var=unsupported
10966  inherit_rpath=no
10967  link_all_deplibs=unknown
10968  module_cmds=
10969  module_expsym_cmds=
10970  old_archive_from_new_cmds=
10971  old_archive_from_expsyms_cmds=
10972  thread_safe_flag_spec=
10973  whole_archive_flag_spec=
10974  # include_expsyms should be a list of space-separated symbols to be *always*
10975  # included in the symbol list
10976  include_expsyms=
10977  # exclude_expsyms can be an extended regexp of symbols to exclude
10978  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10979  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10980  # as well as any symbol that contains 'd'.
10981  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10982  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10983  # platforms (ab)use it in PIC code, but their linkers get confused if
10984  # the symbol is explicitly referenced.  Since portable code cannot
10985  # rely on this symbol name, it's probably fine to never include it in
10986  # preloaded symbol tables.
10987  # Exclude shared library initialization/finalization symbols.
10988  extract_expsyms_cmds=
10989
10990  case $host_os in
10991  cygwin* | mingw* | pw32* | cegcc*)
10992    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10993    # When not using gcc, we currently assume that we are using
10994    # Microsoft Visual C++.
10995    if test yes != "$GCC"; then
10996      with_gnu_ld=no
10997    fi
10998    ;;
10999  interix*)
11000    # we just hope/assume this is gcc and not c89 (= MSVC++)
11001    with_gnu_ld=yes
11002    ;;
11003  openbsd* | bitrig*)
11004    with_gnu_ld=no
11005    ;;
11006  linux* | k*bsd*-gnu | gnu*)
11007    link_all_deplibs=no
11008    ;;
11009  esac
11010
11011  ld_shlibs=yes
11012
11013  # On some targets, GNU ld is compatible enough with the native linker
11014  # that we're better off using the native interface for both.
11015  lt_use_gnu_ld_interface=no
11016  if test yes = "$with_gnu_ld"; then
11017    case $host_os in
11018      aix*)
11019	# The AIX port of GNU ld has always aspired to compatibility
11020	# with the native linker.  However, as the warning in the GNU ld
11021	# block says, versions before 2.19.5* couldn't really create working
11022	# shared libraries, regardless of the interface used.
11023	case `$LD -v 2>&1` in
11024	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11025	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11026	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11027	  *)
11028	    lt_use_gnu_ld_interface=yes
11029	    ;;
11030	esac
11031	;;
11032      *)
11033	lt_use_gnu_ld_interface=yes
11034	;;
11035    esac
11036  fi
11037
11038  if test yes = "$lt_use_gnu_ld_interface"; then
11039    # If archive_cmds runs LD, not CC, wlarc should be empty
11040    wlarc='$wl'
11041
11042    # Set some defaults for GNU ld with shared library support. These
11043    # are reset later if shared libraries are not supported. Putting them
11044    # here allows them to be overridden if necessary.
11045    runpath_var=LD_RUN_PATH
11046    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11047    export_dynamic_flag_spec='$wl--export-dynamic'
11048    # ancient GNU ld didn't support --whole-archive et. al.
11049    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11050      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11051    else
11052      whole_archive_flag_spec=
11053    fi
11054    supports_anon_versioning=no
11055    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11056      *GNU\ gold*) supports_anon_versioning=yes ;;
11057      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11058      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11059      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11060      *\ 2.11.*) ;; # other 2.11 versions
11061      *) supports_anon_versioning=yes ;;
11062    esac
11063
11064    # See if GNU ld supports shared libraries.
11065    case $host_os in
11066    aix[3-9]*)
11067      # On AIX/PPC, the GNU linker is very broken
11068      if test ia64 != "$host_cpu"; then
11069	ld_shlibs=no
11070	cat <<_LT_EOF 1>&2
11071
11072*** Warning: the GNU linker, at least up to release 2.19, is reported
11073*** to be unable to reliably create shared libraries on AIX.
11074*** Therefore, libtool is disabling shared libraries support.  If you
11075*** really care for shared libraries, you may want to install binutils
11076*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11077*** You will then need to restart the configuration process.
11078
11079_LT_EOF
11080      fi
11081      ;;
11082
11083    amigaos*)
11084      case $host_cpu in
11085      powerpc)
11086            # see comment about AmigaOS4 .so support
11087            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11088            archive_expsym_cmds=''
11089        ;;
11090      m68k)
11091            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)'
11092            hardcode_libdir_flag_spec='-L$libdir'
11093            hardcode_minus_L=yes
11094        ;;
11095      esac
11096      ;;
11097
11098    beos*)
11099      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11100	allow_undefined_flag=unsupported
11101	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11102	# support --undefined.  This deserves some investigation.  FIXME
11103	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11104      else
11105	ld_shlibs=no
11106      fi
11107      ;;
11108
11109    cygwin* | mingw* | pw32* | cegcc*)
11110      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11111      # as there is no search path for DLLs.
11112      hardcode_libdir_flag_spec='-L$libdir'
11113      export_dynamic_flag_spec='$wl--export-all-symbols'
11114      allow_undefined_flag=unsupported
11115      always_export_symbols=no
11116      enable_shared_with_static_runtimes=yes
11117      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'
11118      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11119
11120      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11121        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11122	# If the export-symbols file already is a .def file, use it as
11123	# is; otherwise, prepend EXPORTS...
11124	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11125          cp $export_symbols $output_objdir/$soname.def;
11126        else
11127          echo EXPORTS > $output_objdir/$soname.def;
11128          cat $export_symbols >> $output_objdir/$soname.def;
11129        fi~
11130        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11131      else
11132	ld_shlibs=no
11133      fi
11134      ;;
11135
11136    haiku*)
11137      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11138      link_all_deplibs=yes
11139      ;;
11140
11141    os2*)
11142      hardcode_libdir_flag_spec='-L$libdir'
11143      hardcode_minus_L=yes
11144      allow_undefined_flag=unsupported
11145      shrext_cmds=.dll
11146      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11147	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11148	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11149	$ECHO EXPORTS >> $output_objdir/$libname.def~
11150	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11151	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11152	emximp -o $lib $output_objdir/$libname.def'
11153      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11154	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11155	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11156	$ECHO EXPORTS >> $output_objdir/$libname.def~
11157	prefix_cmds="$SED"~
11158	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11159	  prefix_cmds="$prefix_cmds -e 1d";
11160	fi~
11161	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11162	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11163	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11164	emximp -o $lib $output_objdir/$libname.def'
11165      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11166      enable_shared_with_static_runtimes=yes
11167      ;;
11168
11169    interix[3-9]*)
11170      hardcode_direct=no
11171      hardcode_shlibpath_var=no
11172      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11173      export_dynamic_flag_spec='$wl-E'
11174      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11175      # Instead, shared libraries are loaded at an image base (0x10000000 by
11176      # default) and relocated if they conflict, which is a slow very memory
11177      # consuming and fragmenting process.  To avoid this, we pick a random,
11178      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11179      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11180      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11181      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'
11182      ;;
11183
11184    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11185      tmp_diet=no
11186      if test linux-dietlibc = "$host_os"; then
11187	case $cc_basename in
11188	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
11189	esac
11190      fi
11191      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11192	 && test no = "$tmp_diet"
11193      then
11194	tmp_addflag=' $pic_flag'
11195	tmp_sharedflag='-shared'
11196	case $cc_basename,$host_cpu in
11197        pgcc*)				# Portland Group C compiler
11198	  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'
11199	  tmp_addflag=' $pic_flag'
11200	  ;;
11201	pgf77* | pgf90* | pgf95* | pgfortran*)
11202					# Portland Group f77 and f90 compilers
11203	  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'
11204	  tmp_addflag=' $pic_flag -Mnomain' ;;
11205	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
11206	  tmp_addflag=' -i_dynamic' ;;
11207	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
11208	  tmp_addflag=' -i_dynamic -nofor_main' ;;
11209	ifc* | ifort*)			# Intel Fortran compiler
11210	  tmp_addflag=' -nofor_main' ;;
11211	lf95*)				# Lahey Fortran 8.1
11212	  whole_archive_flag_spec=
11213	  tmp_sharedflag='--shared' ;;
11214        nagfor*)                        # NAGFOR 5.3
11215          tmp_sharedflag='-Wl,-shared' ;;
11216	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11217	  tmp_sharedflag='-qmkshrobj'
11218	  tmp_addflag= ;;
11219	nvcc*)	# Cuda Compiler Driver 2.2
11220	  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'
11221	  compiler_needs_object=yes
11222	  ;;
11223	esac
11224	case `$CC -V 2>&1 | sed 5q` in
11225	*Sun\ C*)			# Sun C 5.9
11226	  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'
11227	  compiler_needs_object=yes
11228	  tmp_sharedflag='-G' ;;
11229	*Sun\ F*)			# Sun Fortran 8.3
11230	  tmp_sharedflag='-G' ;;
11231	esac
11232	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11233
11234        if test yes = "$supports_anon_versioning"; then
11235          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11236            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11237            echo "local: *; };" >> $output_objdir/$libname.ver~
11238            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11239        fi
11240
11241	case $cc_basename in
11242	tcc*)
11243	  export_dynamic_flag_spec='-rdynamic'
11244	  ;;
11245	xlf* | bgf* | bgxlf* | mpixlf*)
11246	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11247	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11248	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11249	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11250	  if test yes = "$supports_anon_versioning"; then
11251	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11252              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11253              echo "local: *; };" >> $output_objdir/$libname.ver~
11254              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11255	  fi
11256	  ;;
11257	esac
11258      else
11259        ld_shlibs=no
11260      fi
11261      ;;
11262
11263    netbsd* | netbsdelf*-gnu)
11264      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11265	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11266	wlarc=
11267      else
11268	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11269	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11270      fi
11271      ;;
11272
11273    solaris*)
11274      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11275	ld_shlibs=no
11276	cat <<_LT_EOF 1>&2
11277
11278*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11279*** create shared libraries on Solaris systems.  Therefore, libtool
11280*** is disabling shared libraries support.  We urge you to upgrade GNU
11281*** binutils to release 2.9.1 or newer.  Another option is to modify
11282*** your PATH or compiler configuration so that the native linker is
11283*** used, and then restart.
11284
11285_LT_EOF
11286      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11287	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11288	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11289      else
11290	ld_shlibs=no
11291      fi
11292      ;;
11293
11294    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11295      case `$LD -v 2>&1` in
11296        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11297	ld_shlibs=no
11298	cat <<_LT_EOF 1>&2
11299
11300*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11301*** reliably create shared libraries on SCO systems.  Therefore, libtool
11302*** is disabling shared libraries support.  We urge you to upgrade GNU
11303*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11304*** your PATH or compiler configuration so that the native linker is
11305*** used, and then restart.
11306
11307_LT_EOF
11308	;;
11309	*)
11310	  # For security reasons, it is highly recommended that you always
11311	  # use absolute paths for naming shared libraries, and exclude the
11312	  # DT_RUNPATH tag from executables and libraries.  But doing so
11313	  # requires that you compile everything twice, which is a pain.
11314	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11315	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11316	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11317	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11318	  else
11319	    ld_shlibs=no
11320	  fi
11321	;;
11322      esac
11323      ;;
11324
11325    sunos4*)
11326      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11327      wlarc=
11328      hardcode_direct=yes
11329      hardcode_shlibpath_var=no
11330      ;;
11331
11332    *)
11333      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11334	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11335	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11336      else
11337	ld_shlibs=no
11338      fi
11339      ;;
11340    esac
11341
11342    if test no = "$ld_shlibs"; then
11343      runpath_var=
11344      hardcode_libdir_flag_spec=
11345      export_dynamic_flag_spec=
11346      whole_archive_flag_spec=
11347    fi
11348  else
11349    # PORTME fill in a description of your system's linker (not GNU ld)
11350    case $host_os in
11351    aix3*)
11352      allow_undefined_flag=unsupported
11353      always_export_symbols=yes
11354      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'
11355      # Note: this linker hardcodes the directories in LIBPATH if there
11356      # are no directories specified by -L.
11357      hardcode_minus_L=yes
11358      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11359	# Neither direct hardcoding nor static linking is supported with a
11360	# broken collect2.
11361	hardcode_direct=unsupported
11362      fi
11363      ;;
11364
11365    aix[4-9]*)
11366      if test ia64 = "$host_cpu"; then
11367	# On IA64, the linker does run time linking by default, so we don't
11368	# have to do anything special.
11369	aix_use_runtimelinking=no
11370	exp_sym_flag='-Bexport'
11371	no_entry_flag=
11372      else
11373	# If we're using GNU nm, then we don't want the "-C" option.
11374	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
11375	# Without the "-l" option, or with the "-B" option, AIX nm treats
11376	# weak defined symbols like other global defined symbols, whereas
11377	# GNU nm marks them as "W".
11378	# While the 'weak' keyword is ignored in the Export File, we need
11379	# it in the Import File for the 'aix-soname' feature, so we have
11380	# to replace the "-B" option with "-P" for AIX nm.
11381	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11382	  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'
11383	else
11384	  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'
11385	fi
11386	aix_use_runtimelinking=no
11387
11388	# Test if we are trying to use run time linking or normal
11389	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11390	# have runtime linking enabled, and use it for executables.
11391	# For shared libraries, we enable/disable runtime linking
11392	# depending on the kind of the shared library created -
11393	# when "with_aix_soname,aix_use_runtimelinking" is:
11394	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
11395	# "aix,yes"  lib.so          shared, rtl:yes, for executables
11396	#            lib.a           static archive
11397	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
11398	#            lib.a(lib.so.V) shared, rtl:no,  for executables
11399	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11400	#            lib.a(lib.so.V) shared, rtl:no
11401	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
11402	#            lib.a           static archive
11403	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11404	  for ld_flag in $LDFLAGS; do
11405	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11406	    aix_use_runtimelinking=yes
11407	    break
11408	  fi
11409	  done
11410	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11411	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
11412	    # so we don't have lib.a shared libs to link our executables.
11413	    # We have to force runtime linking in this case.
11414	    aix_use_runtimelinking=yes
11415	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11416	  fi
11417	  ;;
11418	esac
11419
11420	exp_sym_flag='-bexport'
11421	no_entry_flag='-bnoentry'
11422      fi
11423
11424      # When large executables or shared objects are built, AIX ld can
11425      # have problems creating the table of contents.  If linking a library
11426      # or program results in "error TOC overflow" add -mminimal-toc to
11427      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11428      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11429
11430      archive_cmds=''
11431      hardcode_direct=yes
11432      hardcode_direct_absolute=yes
11433      hardcode_libdir_separator=':'
11434      link_all_deplibs=yes
11435      file_list_spec='$wl-f,'
11436      case $with_aix_soname,$aix_use_runtimelinking in
11437      aix,*) ;; # traditional, no import file
11438      svr4,* | *,yes) # use import file
11439	# The Import File defines what to hardcode.
11440	hardcode_direct=no
11441	hardcode_direct_absolute=no
11442	;;
11443      esac
11444
11445      if test yes = "$GCC"; then
11446	case $host_os in aix4.[012]|aix4.[012].*)
11447	# We only want to do this on AIX 4.2 and lower, the check
11448	# below for broken collect2 doesn't work under 4.3+
11449	  collect2name=`$CC -print-prog-name=collect2`
11450	  if test -f "$collect2name" &&
11451	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11452	  then
11453	  # We have reworked collect2
11454	  :
11455	  else
11456	  # We have old collect2
11457	  hardcode_direct=unsupported
11458	  # It fails to find uninstalled libraries when the uninstalled
11459	  # path is not listed in the libpath.  Setting hardcode_minus_L
11460	  # to unsupported forces relinking
11461	  hardcode_minus_L=yes
11462	  hardcode_libdir_flag_spec='-L$libdir'
11463	  hardcode_libdir_separator=
11464	  fi
11465	  ;;
11466	esac
11467	shared_flag='-shared'
11468	if test yes = "$aix_use_runtimelinking"; then
11469	  shared_flag="$shared_flag "'$wl-G'
11470	fi
11471	# Need to ensure runtime linking is disabled for the traditional
11472	# shared library, or the linker may eventually find shared libraries
11473	# /with/ Import File - we do not want to mix them.
11474	shared_flag_aix='-shared'
11475	shared_flag_svr4='-shared $wl-G'
11476      else
11477	# not using gcc
11478	if test ia64 = "$host_cpu"; then
11479	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11480	# chokes on -Wl,-G. The following line is correct:
11481	  shared_flag='-G'
11482	else
11483	  if test yes = "$aix_use_runtimelinking"; then
11484	    shared_flag='$wl-G'
11485	  else
11486	    shared_flag='$wl-bM:SRE'
11487	  fi
11488	  shared_flag_aix='$wl-bM:SRE'
11489	  shared_flag_svr4='$wl-G'
11490	fi
11491      fi
11492
11493      export_dynamic_flag_spec='$wl-bexpall'
11494      # It seems that -bexpall does not export symbols beginning with
11495      # underscore (_), so it is better to generate a list of symbols to export.
11496      always_export_symbols=yes
11497      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11498	# Warning - without using the other runtime loading flags (-brtl),
11499	# -berok will link without error, but may produce a broken library.
11500	allow_undefined_flag='-berok'
11501        # Determine the default libpath from the value encoded in an
11502        # empty executable.
11503        if test set = "${lt_cv_aix_libpath+set}"; then
11504  aix_libpath=$lt_cv_aix_libpath
11505else
11506  if ${lt_cv_aix_libpath_+:} false; then :
11507  $as_echo_n "(cached) " >&6
11508else
11509  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510/* end confdefs.h.  */
11511
11512int
11513main ()
11514{
11515
11516  ;
11517  return 0;
11518}
11519_ACEOF
11520if ac_fn_c_try_link "$LINENO"; then :
11521
11522  lt_aix_libpath_sed='
11523      /Import File Strings/,/^$/ {
11524	  /^0/ {
11525	      s/^0  *\([^ ]*\) *$/\1/
11526	      p
11527	  }
11528      }'
11529  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11530  # Check for a 64-bit object if we didn't find anything.
11531  if test -z "$lt_cv_aix_libpath_"; then
11532    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11533  fi
11534fi
11535rm -f core conftest.err conftest.$ac_objext \
11536    conftest$ac_exeext conftest.$ac_ext
11537  if test -z "$lt_cv_aix_libpath_"; then
11538    lt_cv_aix_libpath_=/usr/lib:/lib
11539  fi
11540
11541fi
11542
11543  aix_libpath=$lt_cv_aix_libpath_
11544fi
11545
11546        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11547        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
11548      else
11549	if test ia64 = "$host_cpu"; then
11550	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11551	  allow_undefined_flag="-z nodefs"
11552	  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"
11553	else
11554	 # Determine the default libpath from the value encoded in an
11555	 # empty executable.
11556	 if test set = "${lt_cv_aix_libpath+set}"; then
11557  aix_libpath=$lt_cv_aix_libpath
11558else
11559  if ${lt_cv_aix_libpath_+:} false; then :
11560  $as_echo_n "(cached) " >&6
11561else
11562  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563/* end confdefs.h.  */
11564
11565int
11566main ()
11567{
11568
11569  ;
11570  return 0;
11571}
11572_ACEOF
11573if ac_fn_c_try_link "$LINENO"; then :
11574
11575  lt_aix_libpath_sed='
11576      /Import File Strings/,/^$/ {
11577	  /^0/ {
11578	      s/^0  *\([^ ]*\) *$/\1/
11579	      p
11580	  }
11581      }'
11582  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11583  # Check for a 64-bit object if we didn't find anything.
11584  if test -z "$lt_cv_aix_libpath_"; then
11585    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11586  fi
11587fi
11588rm -f core conftest.err conftest.$ac_objext \
11589    conftest$ac_exeext conftest.$ac_ext
11590  if test -z "$lt_cv_aix_libpath_"; then
11591    lt_cv_aix_libpath_=/usr/lib:/lib
11592  fi
11593
11594fi
11595
11596  aix_libpath=$lt_cv_aix_libpath_
11597fi
11598
11599	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11600	  # Warning - without using the other run time loading flags,
11601	  # -berok will link without error, but may produce a broken library.
11602	  no_undefined_flag=' $wl-bernotok'
11603	  allow_undefined_flag=' $wl-berok'
11604	  if test yes = "$with_gnu_ld"; then
11605	    # We only use this code for GNU lds that support --whole-archive.
11606	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11607	  else
11608	    # Exported symbols can be pulled into shared objects from archives
11609	    whole_archive_flag_spec='$convenience'
11610	  fi
11611	  archive_cmds_need_lc=yes
11612	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11613	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11614	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11615	  if test svr4 != "$with_aix_soname"; then
11616	    # This is similar to how AIX traditionally builds its shared libraries.
11617	    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'
11618	  fi
11619	  if test aix != "$with_aix_soname"; then
11620	    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'
11621	  else
11622	    # used by -dlpreopen to get the symbols
11623	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11624	  fi
11625	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11626	fi
11627      fi
11628      ;;
11629
11630    amigaos*)
11631      case $host_cpu in
11632      powerpc)
11633            # see comment about AmigaOS4 .so support
11634            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11635            archive_expsym_cmds=''
11636        ;;
11637      m68k)
11638            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)'
11639            hardcode_libdir_flag_spec='-L$libdir'
11640            hardcode_minus_L=yes
11641        ;;
11642      esac
11643      ;;
11644
11645    bsdi[45]*)
11646      export_dynamic_flag_spec=-rdynamic
11647      ;;
11648
11649    cygwin* | mingw* | pw32* | cegcc*)
11650      # When not using gcc, we currently assume that we are using
11651      # Microsoft Visual C++.
11652      # hardcode_libdir_flag_spec is actually meaningless, as there is
11653      # no search path for DLLs.
11654      case $cc_basename in
11655      cl*)
11656	# Native MSVC
11657	hardcode_libdir_flag_spec=' '
11658	allow_undefined_flag=unsupported
11659	always_export_symbols=yes
11660	file_list_spec='@'
11661	# Tell ltmain to make .lib files, not .a files.
11662	libext=lib
11663	# Tell ltmain to make .dll files, not .so files.
11664	shrext_cmds=.dll
11665	# FIXME: Setting linknames here is a bad hack.
11666	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11667	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11668            cp "$export_symbols" "$output_objdir/$soname.def";
11669            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11670          else
11671            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11672          fi~
11673          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11674          linknames='
11675	# The linker will not automatically build a static lib if we build a DLL.
11676	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11677	enable_shared_with_static_runtimes=yes
11678	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11679	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11680	# Don't use ranlib
11681	old_postinstall_cmds='chmod 644 $oldlib'
11682	postlink_cmds='lt_outputfile="@OUTPUT@"~
11683          lt_tool_outputfile="@TOOL_OUTPUT@"~
11684          case $lt_outputfile in
11685            *.exe|*.EXE) ;;
11686            *)
11687              lt_outputfile=$lt_outputfile.exe
11688              lt_tool_outputfile=$lt_tool_outputfile.exe
11689              ;;
11690          esac~
11691          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11692            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11693            $RM "$lt_outputfile.manifest";
11694          fi'
11695	;;
11696      *)
11697	# Assume MSVC wrapper
11698	hardcode_libdir_flag_spec=' '
11699	allow_undefined_flag=unsupported
11700	# Tell ltmain to make .lib files, not .a files.
11701	libext=lib
11702	# Tell ltmain to make .dll files, not .so files.
11703	shrext_cmds=.dll
11704	# FIXME: Setting linknames here is a bad hack.
11705	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11706	# The linker will automatically build a .lib file if we build a DLL.
11707	old_archive_from_new_cmds='true'
11708	# FIXME: Should let the user specify the lib program.
11709	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11710	enable_shared_with_static_runtimes=yes
11711	;;
11712      esac
11713      ;;
11714
11715    darwin* | rhapsody*)
11716
11717
11718  archive_cmds_need_lc=no
11719  hardcode_direct=no
11720  hardcode_automatic=yes
11721  hardcode_shlibpath_var=unsupported
11722  if test yes = "$lt_cv_ld_force_load"; then
11723    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\"`'
11724
11725  else
11726    whole_archive_flag_spec=''
11727  fi
11728  link_all_deplibs=yes
11729  allow_undefined_flag=$_lt_dar_allow_undefined
11730  case $cc_basename in
11731     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11732     *) _lt_dar_can_shared=$GCC ;;
11733  esac
11734  if test yes = "$_lt_dar_can_shared"; then
11735    output_verbose_link_cmd=func_echo_all
11736    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11737    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11738    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"
11739    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"
11740
11741  else
11742  ld_shlibs=no
11743  fi
11744
11745      ;;
11746
11747    dgux*)
11748      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11749      hardcode_libdir_flag_spec='-L$libdir'
11750      hardcode_shlibpath_var=no
11751      ;;
11752
11753    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11754    # support.  Future versions do this automatically, but an explicit c++rt0.o
11755    # does not break anything, and helps significantly (at the cost of a little
11756    # extra space).
11757    freebsd2.2*)
11758      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11759      hardcode_libdir_flag_spec='-R$libdir'
11760      hardcode_direct=yes
11761      hardcode_shlibpath_var=no
11762      ;;
11763
11764    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11765    freebsd2.*)
11766      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11767      hardcode_direct=yes
11768      hardcode_minus_L=yes
11769      hardcode_shlibpath_var=no
11770      ;;
11771
11772    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11773    freebsd* | dragonfly*)
11774      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11775      hardcode_libdir_flag_spec='-R$libdir'
11776      hardcode_direct=yes
11777      hardcode_shlibpath_var=no
11778      ;;
11779
11780    hpux9*)
11781      if test yes = "$GCC"; then
11782	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'
11783      else
11784	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'
11785      fi
11786      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11787      hardcode_libdir_separator=:
11788      hardcode_direct=yes
11789
11790      # hardcode_minus_L: Not really in the search PATH,
11791      # but as the default location of the library.
11792      hardcode_minus_L=yes
11793      export_dynamic_flag_spec='$wl-E'
11794      ;;
11795
11796    hpux10*)
11797      if test yes,no = "$GCC,$with_gnu_ld"; then
11798	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11799      else
11800	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11801      fi
11802      if test no = "$with_gnu_ld"; then
11803	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11804	hardcode_libdir_separator=:
11805	hardcode_direct=yes
11806	hardcode_direct_absolute=yes
11807	export_dynamic_flag_spec='$wl-E'
11808	# hardcode_minus_L: Not really in the search PATH,
11809	# but as the default location of the library.
11810	hardcode_minus_L=yes
11811      fi
11812      ;;
11813
11814    hpux11*)
11815      if test yes,no = "$GCC,$with_gnu_ld"; then
11816	case $host_cpu in
11817	hppa*64*)
11818	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11819	  ;;
11820	ia64*)
11821	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11822	  ;;
11823	*)
11824	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11825	  ;;
11826	esac
11827      else
11828	case $host_cpu in
11829	hppa*64*)
11830	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11831	  ;;
11832	ia64*)
11833	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11834	  ;;
11835	*)
11836
11837	  # Older versions of the 11.00 compiler do not understand -b yet
11838	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11839	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11840$as_echo_n "checking if $CC understands -b... " >&6; }
11841if ${lt_cv_prog_compiler__b+:} false; then :
11842  $as_echo_n "(cached) " >&6
11843else
11844  lt_cv_prog_compiler__b=no
11845   save_LDFLAGS=$LDFLAGS
11846   LDFLAGS="$LDFLAGS -b"
11847   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11848   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11849     # The linker can only warn and ignore the option if not recognized
11850     # So say no if there are warnings
11851     if test -s conftest.err; then
11852       # Append any errors to the config.log.
11853       cat conftest.err 1>&5
11854       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11855       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11856       if diff conftest.exp conftest.er2 >/dev/null; then
11857         lt_cv_prog_compiler__b=yes
11858       fi
11859     else
11860       lt_cv_prog_compiler__b=yes
11861     fi
11862   fi
11863   $RM -r conftest*
11864   LDFLAGS=$save_LDFLAGS
11865
11866fi
11867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11868$as_echo "$lt_cv_prog_compiler__b" >&6; }
11869
11870if test yes = "$lt_cv_prog_compiler__b"; then
11871    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11872else
11873    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11874fi
11875
11876	  ;;
11877	esac
11878      fi
11879      if test no = "$with_gnu_ld"; then
11880	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11881	hardcode_libdir_separator=:
11882
11883	case $host_cpu in
11884	hppa*64*|ia64*)
11885	  hardcode_direct=no
11886	  hardcode_shlibpath_var=no
11887	  ;;
11888	*)
11889	  hardcode_direct=yes
11890	  hardcode_direct_absolute=yes
11891	  export_dynamic_flag_spec='$wl-E'
11892
11893	  # hardcode_minus_L: Not really in the search PATH,
11894	  # but as the default location of the library.
11895	  hardcode_minus_L=yes
11896	  ;;
11897	esac
11898      fi
11899      ;;
11900
11901    irix5* | irix6* | nonstopux*)
11902      if test yes = "$GCC"; then
11903	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'
11904	# Try to use the -exported_symbol ld option, if it does not
11905	# work, assume that -exports_file does not work either and
11906	# implicitly export all symbols.
11907	# This should be the same for all languages, so no per-tag cache variable.
11908	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11909$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11910if ${lt_cv_irix_exported_symbol+:} false; then :
11911  $as_echo_n "(cached) " >&6
11912else
11913  save_LDFLAGS=$LDFLAGS
11914	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11915	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916/* end confdefs.h.  */
11917int foo (void) { return 0; }
11918_ACEOF
11919if ac_fn_c_try_link "$LINENO"; then :
11920  lt_cv_irix_exported_symbol=yes
11921else
11922  lt_cv_irix_exported_symbol=no
11923fi
11924rm -f core conftest.err conftest.$ac_objext \
11925    conftest$ac_exeext conftest.$ac_ext
11926           LDFLAGS=$save_LDFLAGS
11927fi
11928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11929$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11930	if test yes = "$lt_cv_irix_exported_symbol"; then
11931          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'
11932	fi
11933	link_all_deplibs=no
11934      else
11935	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'
11936	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'
11937      fi
11938      archive_cmds_need_lc='no'
11939      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11940      hardcode_libdir_separator=:
11941      inherit_rpath=yes
11942      link_all_deplibs=yes
11943      ;;
11944
11945    linux*)
11946      case $cc_basename in
11947      tcc*)
11948	# Fabrice Bellard et al's Tiny C Compiler
11949	ld_shlibs=yes
11950	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11951	;;
11952      esac
11953      ;;
11954
11955    netbsd* | netbsdelf*-gnu)
11956      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11957	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11958      else
11959	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11960      fi
11961      hardcode_libdir_flag_spec='-R$libdir'
11962      hardcode_direct=yes
11963      hardcode_shlibpath_var=no
11964      ;;
11965
11966    newsos6)
11967      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11968      hardcode_direct=yes
11969      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11970      hardcode_libdir_separator=:
11971      hardcode_shlibpath_var=no
11972      ;;
11973
11974    *nto* | *qnx*)
11975      ;;
11976
11977    openbsd* | bitrig*)
11978      if test -f /usr/libexec/ld.so; then
11979	hardcode_direct=yes
11980	hardcode_shlibpath_var=no
11981	hardcode_direct_absolute=yes
11982	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11983	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11984	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11985	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11986	  export_dynamic_flag_spec='$wl-E'
11987	else
11988	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11989	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11990	fi
11991      else
11992	ld_shlibs=no
11993      fi
11994      ;;
11995
11996    os2*)
11997      hardcode_libdir_flag_spec='-L$libdir'
11998      hardcode_minus_L=yes
11999      allow_undefined_flag=unsupported
12000      shrext_cmds=.dll
12001      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12002	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12003	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12004	$ECHO EXPORTS >> $output_objdir/$libname.def~
12005	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12006	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12007	emximp -o $lib $output_objdir/$libname.def'
12008      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12009	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12010	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12011	$ECHO EXPORTS >> $output_objdir/$libname.def~
12012	prefix_cmds="$SED"~
12013	if test EXPORTS = "`$SED 1q $export_symbols`"; then
12014	  prefix_cmds="$prefix_cmds -e 1d";
12015	fi~
12016	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12017	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12018	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12019	emximp -o $lib $output_objdir/$libname.def'
12020      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12021      enable_shared_with_static_runtimes=yes
12022      ;;
12023
12024    osf3*)
12025      if test yes = "$GCC"; then
12026	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12027	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'
12028      else
12029	allow_undefined_flag=' -expect_unresolved \*'
12030	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'
12031      fi
12032      archive_cmds_need_lc='no'
12033      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12034      hardcode_libdir_separator=:
12035      ;;
12036
12037    osf4* | osf5*)	# as osf3* with the addition of -msym flag
12038      if test yes = "$GCC"; then
12039	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12040	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'
12041	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12042      else
12043	allow_undefined_flag=' -expect_unresolved \*'
12044	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'
12045	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~
12046          $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'
12047
12048	# Both c and cxx compiler support -rpath directly
12049	hardcode_libdir_flag_spec='-rpath $libdir'
12050      fi
12051      archive_cmds_need_lc='no'
12052      hardcode_libdir_separator=:
12053      ;;
12054
12055    solaris*)
12056      no_undefined_flag=' -z defs'
12057      if test yes = "$GCC"; then
12058	wlarc='$wl'
12059	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12060	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12061          $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'
12062      else
12063	case `$CC -V 2>&1` in
12064	*"Compilers 5.0"*)
12065	  wlarc=''
12066	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12067	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12068            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12069	  ;;
12070	*)
12071	  wlarc='$wl'
12072	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12073	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12074            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12075	  ;;
12076	esac
12077      fi
12078      hardcode_libdir_flag_spec='-R$libdir'
12079      hardcode_shlibpath_var=no
12080      case $host_os in
12081      solaris2.[0-5] | solaris2.[0-5].*) ;;
12082      *)
12083	# The compiler driver will combine and reorder linker options,
12084	# but understands '-z linker_flag'.  GCC discards it without '$wl',
12085	# but is careful enough not to reorder.
12086	# Supported since Solaris 2.6 (maybe 2.5.1?)
12087	if test yes = "$GCC"; then
12088	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12089	else
12090	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12091	fi
12092	;;
12093      esac
12094      link_all_deplibs=yes
12095      ;;
12096
12097    sunos4*)
12098      if test sequent = "$host_vendor"; then
12099	# Use $CC to link under sequent, because it throws in some extra .o
12100	# files that make .init and .fini sections work.
12101	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12102      else
12103	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12104      fi
12105      hardcode_libdir_flag_spec='-L$libdir'
12106      hardcode_direct=yes
12107      hardcode_minus_L=yes
12108      hardcode_shlibpath_var=no
12109      ;;
12110
12111    sysv4)
12112      case $host_vendor in
12113	sni)
12114	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12115	  hardcode_direct=yes # is this really true???
12116	;;
12117	siemens)
12118	  ## LD is ld it makes a PLAMLIB
12119	  ## CC just makes a GrossModule.
12120	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12121	  reload_cmds='$CC -r -o $output$reload_objs'
12122	  hardcode_direct=no
12123        ;;
12124	motorola)
12125	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12126	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12127	;;
12128      esac
12129      runpath_var='LD_RUN_PATH'
12130      hardcode_shlibpath_var=no
12131      ;;
12132
12133    sysv4.3*)
12134      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12135      hardcode_shlibpath_var=no
12136      export_dynamic_flag_spec='-Bexport'
12137      ;;
12138
12139    sysv4*MP*)
12140      if test -d /usr/nec; then
12141	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12142	hardcode_shlibpath_var=no
12143	runpath_var=LD_RUN_PATH
12144	hardcode_runpath_var=yes
12145	ld_shlibs=yes
12146      fi
12147      ;;
12148
12149    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12150      no_undefined_flag='$wl-z,text'
12151      archive_cmds_need_lc=no
12152      hardcode_shlibpath_var=no
12153      runpath_var='LD_RUN_PATH'
12154
12155      if test yes = "$GCC"; then
12156	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12157	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12158      else
12159	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12160	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12161      fi
12162      ;;
12163
12164    sysv5* | sco3.2v5* | sco5v6*)
12165      # Note: We CANNOT use -z defs as we might desire, because we do not
12166      # link with -lc, and that would cause any symbols used from libc to
12167      # always be unresolved, which means just about no library would
12168      # ever link correctly.  If we're not using GNU ld we use -z text
12169      # though, which does catch some bad symbols but isn't as heavy-handed
12170      # as -z defs.
12171      no_undefined_flag='$wl-z,text'
12172      allow_undefined_flag='$wl-z,nodefs'
12173      archive_cmds_need_lc=no
12174      hardcode_shlibpath_var=no
12175      hardcode_libdir_flag_spec='$wl-R,$libdir'
12176      hardcode_libdir_separator=':'
12177      link_all_deplibs=yes
12178      export_dynamic_flag_spec='$wl-Bexport'
12179      runpath_var='LD_RUN_PATH'
12180
12181      if test yes = "$GCC"; then
12182	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12183	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12184      else
12185	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12186	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12187      fi
12188      ;;
12189
12190    uts4*)
12191      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12192      hardcode_libdir_flag_spec='-L$libdir'
12193      hardcode_shlibpath_var=no
12194      ;;
12195
12196    *)
12197      ld_shlibs=no
12198      ;;
12199    esac
12200
12201    if test sni = "$host_vendor"; then
12202      case $host in
12203      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12204	export_dynamic_flag_spec='$wl-Blargedynsym'
12205	;;
12206      esac
12207    fi
12208  fi
12209
12210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12211$as_echo "$ld_shlibs" >&6; }
12212test no = "$ld_shlibs" && can_build_shared=no
12213
12214with_gnu_ld=$with_gnu_ld
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230#
12231# Do we need to explicitly link libc?
12232#
12233case "x$archive_cmds_need_lc" in
12234x|xyes)
12235  # Assume -lc should be added
12236  archive_cmds_need_lc=yes
12237
12238  if test yes,yes = "$GCC,$enable_shared"; then
12239    case $archive_cmds in
12240    *'~'*)
12241      # FIXME: we may have to deal with multi-command sequences.
12242      ;;
12243    '$CC '*)
12244      # Test whether the compiler implicitly links with -lc since on some
12245      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12246      # to ld, don't add -lc before -lgcc.
12247      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12248$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12249if ${lt_cv_archive_cmds_need_lc+:} false; then :
12250  $as_echo_n "(cached) " >&6
12251else
12252  $RM conftest*
12253	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12254
12255	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12256  (eval $ac_compile) 2>&5
12257  ac_status=$?
12258  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12259  test $ac_status = 0; } 2>conftest.err; then
12260	  soname=conftest
12261	  lib=conftest
12262	  libobjs=conftest.$ac_objext
12263	  deplibs=
12264	  wl=$lt_prog_compiler_wl
12265	  pic_flag=$lt_prog_compiler_pic
12266	  compiler_flags=-v
12267	  linker_flags=-v
12268	  verstring=
12269	  output_objdir=.
12270	  libname=conftest
12271	  lt_save_allow_undefined_flag=$allow_undefined_flag
12272	  allow_undefined_flag=
12273	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12274  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12275  ac_status=$?
12276  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12277  test $ac_status = 0; }
12278	  then
12279	    lt_cv_archive_cmds_need_lc=no
12280	  else
12281	    lt_cv_archive_cmds_need_lc=yes
12282	  fi
12283	  allow_undefined_flag=$lt_save_allow_undefined_flag
12284	else
12285	  cat conftest.err 1>&5
12286	fi
12287	$RM conftest*
12288
12289fi
12290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12291$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12292      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12293      ;;
12294    esac
12295  fi
12296  ;;
12297esac
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12451$as_echo_n "checking dynamic linker characteristics... " >&6; }
12452
12453if test yes = "$GCC"; then
12454  case $host_os in
12455    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12456    *) lt_awk_arg='/^libraries:/' ;;
12457  esac
12458  case $host_os in
12459    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12460    *) lt_sed_strip_eq='s|=/|/|g' ;;
12461  esac
12462  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12463  case $lt_search_path_spec in
12464  *\;*)
12465    # if the path contains ";" then we assume it to be the separator
12466    # otherwise default to the standard path separator (i.e. ":") - it is
12467    # assumed that no part of a normal pathname contains ";" but that should
12468    # okay in the real world where ";" in dirpaths is itself problematic.
12469    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12470    ;;
12471  *)
12472    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12473    ;;
12474  esac
12475  # Ok, now we have the path, separated by spaces, we can step through it
12476  # and add multilib dir if necessary...
12477  lt_tmp_lt_search_path_spec=
12478  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12479  # ...but if some path component already ends with the multilib dir we assume
12480  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12481  case "$lt_multi_os_dir; $lt_search_path_spec " in
12482  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12483    lt_multi_os_dir=
12484    ;;
12485  esac
12486  for lt_sys_path in $lt_search_path_spec; do
12487    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12488      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12489    elif test -n "$lt_multi_os_dir"; then
12490      test -d "$lt_sys_path" && \
12491	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12492    fi
12493  done
12494  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12495BEGIN {RS = " "; FS = "/|\n";} {
12496  lt_foo = "";
12497  lt_count = 0;
12498  for (lt_i = NF; lt_i > 0; lt_i--) {
12499    if ($lt_i != "" && $lt_i != ".") {
12500      if ($lt_i == "..") {
12501        lt_count++;
12502      } else {
12503        if (lt_count == 0) {
12504          lt_foo = "/" $lt_i lt_foo;
12505        } else {
12506          lt_count--;
12507        }
12508      }
12509    }
12510  }
12511  if (lt_foo != "") { lt_freq[lt_foo]++; }
12512  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12513}'`
12514  # AWK program above erroneously prepends '/' to C:/dos/paths
12515  # for these hosts.
12516  case $host_os in
12517    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12518      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12519  esac
12520  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12521else
12522  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12523fi
12524library_names_spec=
12525libname_spec='lib$name'
12526soname_spec=
12527shrext_cmds=.so
12528postinstall_cmds=
12529postuninstall_cmds=
12530finish_cmds=
12531finish_eval=
12532shlibpath_var=
12533shlibpath_overrides_runpath=unknown
12534version_type=none
12535dynamic_linker="$host_os ld.so"
12536sys_lib_dlsearch_path_spec="/lib /usr/lib"
12537need_lib_prefix=unknown
12538hardcode_into_libs=no
12539
12540# when you set need_version to no, make sure it does not cause -set_version
12541# flags to be left without arguments
12542need_version=unknown
12543
12544
12545
12546case $host_os in
12547aix3*)
12548  version_type=linux # correct to gnu/linux during the next big refactor
12549  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12550  shlibpath_var=LIBPATH
12551
12552  # AIX 3 has no versioning support, so we append a major version to the name.
12553  soname_spec='$libname$release$shared_ext$major'
12554  ;;
12555
12556aix[4-9]*)
12557  version_type=linux # correct to gnu/linux during the next big refactor
12558  need_lib_prefix=no
12559  need_version=no
12560  hardcode_into_libs=yes
12561  if test ia64 = "$host_cpu"; then
12562    # AIX 5 supports IA64
12563    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12564    shlibpath_var=LD_LIBRARY_PATH
12565  else
12566    # With GCC up to 2.95.x, collect2 would create an import file
12567    # for dependence libraries.  The import file would start with
12568    # the line '#! .'.  This would cause the generated library to
12569    # depend on '.', always an invalid library.  This was fixed in
12570    # development snapshots of GCC prior to 3.0.
12571    case $host_os in
12572      aix4 | aix4.[01] | aix4.[01].*)
12573      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12574	   echo ' yes '
12575	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12576	:
12577      else
12578	can_build_shared=no
12579      fi
12580      ;;
12581    esac
12582    # Using Import Files as archive members, it is possible to support
12583    # filename-based versioning of shared library archives on AIX. While
12584    # this would work for both with and without runtime linking, it will
12585    # prevent static linking of such archives. So we do filename-based
12586    # shared library versioning with .so extension only, which is used
12587    # when both runtime linking and shared linking is enabled.
12588    # Unfortunately, runtime linking may impact performance, so we do
12589    # not want this to be the default eventually. Also, we use the
12590    # versioned .so libs for executables only if there is the -brtl
12591    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12592    # To allow for filename-based versioning support, we need to create
12593    # libNAME.so.V as an archive file, containing:
12594    # *) an Import File, referring to the versioned filename of the
12595    #    archive as well as the shared archive member, telling the
12596    #    bitwidth (32 or 64) of that shared object, and providing the
12597    #    list of exported symbols of that shared object, eventually
12598    #    decorated with the 'weak' keyword
12599    # *) the shared object with the F_LOADONLY flag set, to really avoid
12600    #    it being seen by the linker.
12601    # At run time we better use the real file rather than another symlink,
12602    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12603
12604    case $with_aix_soname,$aix_use_runtimelinking in
12605    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12606    # soname into executable. Probably we can add versioning support to
12607    # collect2, so additional links can be useful in future.
12608    aix,yes) # traditional libtool
12609      dynamic_linker='AIX unversionable lib.so'
12610      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12611      # instead of lib<name>.a to let people know that these are not
12612      # typical AIX shared libraries.
12613      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12614      ;;
12615    aix,no) # traditional AIX only
12616      dynamic_linker='AIX lib.a(lib.so.V)'
12617      # We preserve .a as extension for shared libraries through AIX4.2
12618      # and later when we are not doing run time linking.
12619      library_names_spec='$libname$release.a $libname.a'
12620      soname_spec='$libname$release$shared_ext$major'
12621      ;;
12622    svr4,*) # full svr4 only
12623      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12624      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12625      # We do not specify a path in Import Files, so LIBPATH fires.
12626      shlibpath_overrides_runpath=yes
12627      ;;
12628    *,yes) # both, prefer svr4
12629      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12630      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12631      # unpreferred sharedlib libNAME.a needs extra handling
12632      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"'
12633      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"'
12634      # We do not specify a path in Import Files, so LIBPATH fires.
12635      shlibpath_overrides_runpath=yes
12636      ;;
12637    *,no) # both, prefer aix
12638      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12639      library_names_spec='$libname$release.a $libname.a'
12640      soname_spec='$libname$release$shared_ext$major'
12641      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12642      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)'
12643      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"'
12644      ;;
12645    esac
12646    shlibpath_var=LIBPATH
12647  fi
12648  ;;
12649
12650amigaos*)
12651  case $host_cpu in
12652  powerpc)
12653    # Since July 2007 AmigaOS4 officially supports .so libraries.
12654    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12655    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12656    ;;
12657  m68k)
12658    library_names_spec='$libname.ixlibrary $libname.a'
12659    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12660    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'
12661    ;;
12662  esac
12663  ;;
12664
12665beos*)
12666  library_names_spec='$libname$shared_ext'
12667  dynamic_linker="$host_os ld.so"
12668  shlibpath_var=LIBRARY_PATH
12669  ;;
12670
12671bsdi[45]*)
12672  version_type=linux # correct to gnu/linux during the next big refactor
12673  need_version=no
12674  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12675  soname_spec='$libname$release$shared_ext$major'
12676  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12677  shlibpath_var=LD_LIBRARY_PATH
12678  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12679  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12680  # the default ld.so.conf also contains /usr/contrib/lib and
12681  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12682  # libtool to hard-code these into programs
12683  ;;
12684
12685cygwin* | mingw* | pw32* | cegcc*)
12686  version_type=windows
12687  shrext_cmds=.dll
12688  need_version=no
12689  need_lib_prefix=no
12690
12691  case $GCC,$cc_basename in
12692  yes,*)
12693    # gcc
12694    library_names_spec='$libname.dll.a'
12695    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12696    postinstall_cmds='base_file=`basename \$file`~
12697      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12698      dldir=$destdir/`dirname \$dlpath`~
12699      test -d \$dldir || mkdir -p \$dldir~
12700      $install_prog $dir/$dlname \$dldir/$dlname~
12701      chmod a+x \$dldir/$dlname~
12702      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12703        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12704      fi'
12705    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12706      dlpath=$dir/\$dldll~
12707       $RM \$dlpath'
12708    shlibpath_overrides_runpath=yes
12709
12710    case $host_os in
12711    cygwin*)
12712      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12713      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12714
12715      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12716      ;;
12717    mingw* | cegcc*)
12718      # MinGW DLLs use traditional 'lib' prefix
12719      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12720      ;;
12721    pw32*)
12722      # pw32 DLLs use 'pw' prefix rather than 'lib'
12723      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12724      ;;
12725    esac
12726    dynamic_linker='Win32 ld.exe'
12727    ;;
12728
12729  *,cl*)
12730    # Native MSVC
12731    libname_spec='$name'
12732    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12733    library_names_spec='$libname.dll.lib'
12734
12735    case $build_os in
12736    mingw*)
12737      sys_lib_search_path_spec=
12738      lt_save_ifs=$IFS
12739      IFS=';'
12740      for lt_path in $LIB
12741      do
12742        IFS=$lt_save_ifs
12743        # Let DOS variable expansion print the short 8.3 style file name.
12744        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12745        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12746      done
12747      IFS=$lt_save_ifs
12748      # Convert to MSYS style.
12749      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12750      ;;
12751    cygwin*)
12752      # Convert to unix form, then to dos form, then back to unix form
12753      # but this time dos style (no spaces!) so that the unix form looks
12754      # like /cygdrive/c/PROGRA~1:/cygdr...
12755      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12756      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12757      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12758      ;;
12759    *)
12760      sys_lib_search_path_spec=$LIB
12761      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12762        # It is most probably a Windows format PATH.
12763        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12764      else
12765        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12766      fi
12767      # FIXME: find the short name or the path components, as spaces are
12768      # common. (e.g. "Program Files" -> "PROGRA~1")
12769      ;;
12770    esac
12771
12772    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12773    postinstall_cmds='base_file=`basename \$file`~
12774      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12775      dldir=$destdir/`dirname \$dlpath`~
12776      test -d \$dldir || mkdir -p \$dldir~
12777      $install_prog $dir/$dlname \$dldir/$dlname'
12778    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12779      dlpath=$dir/\$dldll~
12780       $RM \$dlpath'
12781    shlibpath_overrides_runpath=yes
12782    dynamic_linker='Win32 link.exe'
12783    ;;
12784
12785  *)
12786    # Assume MSVC wrapper
12787    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12788    dynamic_linker='Win32 ld.exe'
12789    ;;
12790  esac
12791  # FIXME: first we should search . and the directory the executable is in
12792  shlibpath_var=PATH
12793  ;;
12794
12795darwin* | rhapsody*)
12796  dynamic_linker="$host_os dyld"
12797  version_type=darwin
12798  need_lib_prefix=no
12799  need_version=no
12800  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12801  soname_spec='$libname$release$major$shared_ext'
12802  shlibpath_overrides_runpath=yes
12803  shlibpath_var=DYLD_LIBRARY_PATH
12804  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12805
12806  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12807  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12808  ;;
12809
12810dgux*)
12811  version_type=linux # correct to gnu/linux during the next big refactor
12812  need_lib_prefix=no
12813  need_version=no
12814  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12815  soname_spec='$libname$release$shared_ext$major'
12816  shlibpath_var=LD_LIBRARY_PATH
12817  ;;
12818
12819freebsd* | dragonfly*)
12820  # DragonFly does not have aout.  When/if they implement a new
12821  # versioning mechanism, adjust this.
12822  if test -x /usr/bin/objformat; then
12823    objformat=`/usr/bin/objformat`
12824  else
12825    case $host_os in
12826    freebsd[23].*) objformat=aout ;;
12827    *) objformat=elf ;;
12828    esac
12829  fi
12830  version_type=freebsd-$objformat
12831  case $version_type in
12832    freebsd-elf*)
12833      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12834      soname_spec='$libname$release$shared_ext$major'
12835      need_version=no
12836      need_lib_prefix=no
12837      ;;
12838    freebsd-*)
12839      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12840      need_version=yes
12841      ;;
12842  esac
12843  shlibpath_var=LD_LIBRARY_PATH
12844  case $host_os in
12845  freebsd2.*)
12846    shlibpath_overrides_runpath=yes
12847    ;;
12848  freebsd3.[01]* | freebsdelf3.[01]*)
12849    shlibpath_overrides_runpath=yes
12850    hardcode_into_libs=yes
12851    ;;
12852  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12853  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12854    shlibpath_overrides_runpath=no
12855    hardcode_into_libs=yes
12856    ;;
12857  *) # from 4.6 on, and DragonFly
12858    shlibpath_overrides_runpath=yes
12859    hardcode_into_libs=yes
12860    ;;
12861  esac
12862  ;;
12863
12864haiku*)
12865  version_type=linux # correct to gnu/linux during the next big refactor
12866  need_lib_prefix=no
12867  need_version=no
12868  dynamic_linker="$host_os runtime_loader"
12869  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12870  soname_spec='$libname$release$shared_ext$major'
12871  shlibpath_var=LIBRARY_PATH
12872  shlibpath_overrides_runpath=no
12873  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12874  hardcode_into_libs=yes
12875  ;;
12876
12877hpux9* | hpux10* | hpux11*)
12878  # Give a soname corresponding to the major version so that dld.sl refuses to
12879  # link against other versions.
12880  version_type=sunos
12881  need_lib_prefix=no
12882  need_version=no
12883  case $host_cpu in
12884  ia64*)
12885    shrext_cmds='.so'
12886    hardcode_into_libs=yes
12887    dynamic_linker="$host_os dld.so"
12888    shlibpath_var=LD_LIBRARY_PATH
12889    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12890    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12891    soname_spec='$libname$release$shared_ext$major'
12892    if test 32 = "$HPUX_IA64_MODE"; then
12893      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12894      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12895    else
12896      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12897      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12898    fi
12899    ;;
12900  hppa*64*)
12901    shrext_cmds='.sl'
12902    hardcode_into_libs=yes
12903    dynamic_linker="$host_os dld.sl"
12904    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12905    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12906    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12907    soname_spec='$libname$release$shared_ext$major'
12908    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12909    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12910    ;;
12911  *)
12912    shrext_cmds='.sl'
12913    dynamic_linker="$host_os dld.sl"
12914    shlibpath_var=SHLIB_PATH
12915    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12916    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12917    soname_spec='$libname$release$shared_ext$major'
12918    ;;
12919  esac
12920  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12921  postinstall_cmds='chmod 555 $lib'
12922  # or fails outright, so override atomically:
12923  install_override_mode=555
12924  ;;
12925
12926interix[3-9]*)
12927  version_type=linux # correct to gnu/linux during the next big refactor
12928  need_lib_prefix=no
12929  need_version=no
12930  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12931  soname_spec='$libname$release$shared_ext$major'
12932  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12933  shlibpath_var=LD_LIBRARY_PATH
12934  shlibpath_overrides_runpath=no
12935  hardcode_into_libs=yes
12936  ;;
12937
12938irix5* | irix6* | nonstopux*)
12939  case $host_os in
12940    nonstopux*) version_type=nonstopux ;;
12941    *)
12942	if test yes = "$lt_cv_prog_gnu_ld"; then
12943		version_type=linux # correct to gnu/linux during the next big refactor
12944	else
12945		version_type=irix
12946	fi ;;
12947  esac
12948  need_lib_prefix=no
12949  need_version=no
12950  soname_spec='$libname$release$shared_ext$major'
12951  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12952  case $host_os in
12953  irix5* | nonstopux*)
12954    libsuff= shlibsuff=
12955    ;;
12956  *)
12957    case $LD in # libtool.m4 will add one of these switches to LD
12958    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12959      libsuff= shlibsuff= libmagic=32-bit;;
12960    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12961      libsuff=32 shlibsuff=N32 libmagic=N32;;
12962    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12963      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12964    *) libsuff= shlibsuff= libmagic=never-match;;
12965    esac
12966    ;;
12967  esac
12968  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12969  shlibpath_overrides_runpath=no
12970  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12971  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12972  hardcode_into_libs=yes
12973  ;;
12974
12975# No shared lib support for Linux oldld, aout, or coff.
12976linux*oldld* | linux*aout* | linux*coff*)
12977  dynamic_linker=no
12978  ;;
12979
12980linux*android*)
12981  version_type=none # Android doesn't support versioned libraries.
12982  need_lib_prefix=no
12983  need_version=no
12984  library_names_spec='$libname$release$shared_ext'
12985  soname_spec='$libname$release$shared_ext'
12986  finish_cmds=
12987  shlibpath_var=LD_LIBRARY_PATH
12988  shlibpath_overrides_runpath=yes
12989
12990  # This implies no fast_install, which is unacceptable.
12991  # Some rework will be needed to allow for fast_install
12992  # before this can be enabled.
12993  hardcode_into_libs=yes
12994
12995  dynamic_linker='Android linker'
12996  # Don't embed -rpath directories since the linker doesn't support them.
12997  hardcode_libdir_flag_spec='-L$libdir'
12998  ;;
12999
13000# This must be glibc/ELF.
13001linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13002  version_type=linux # correct to gnu/linux during the next big refactor
13003  need_lib_prefix=no
13004  need_version=no
13005  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13006  soname_spec='$libname$release$shared_ext$major'
13007  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13008  shlibpath_var=LD_LIBRARY_PATH
13009  shlibpath_overrides_runpath=no
13010
13011  # Some binutils ld are patched to set DT_RUNPATH
13012  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13013  $as_echo_n "(cached) " >&6
13014else
13015  lt_cv_shlibpath_overrides_runpath=no
13016    save_LDFLAGS=$LDFLAGS
13017    save_libdir=$libdir
13018    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13019	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13020    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021/* end confdefs.h.  */
13022
13023int
13024main ()
13025{
13026
13027  ;
13028  return 0;
13029}
13030_ACEOF
13031if ac_fn_c_try_link "$LINENO"; then :
13032  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13033  lt_cv_shlibpath_overrides_runpath=yes
13034fi
13035fi
13036rm -f core conftest.err conftest.$ac_objext \
13037    conftest$ac_exeext conftest.$ac_ext
13038    LDFLAGS=$save_LDFLAGS
13039    libdir=$save_libdir
13040
13041fi
13042
13043  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13044
13045  # This implies no fast_install, which is unacceptable.
13046  # Some rework will be needed to allow for fast_install
13047  # before this can be enabled.
13048  hardcode_into_libs=yes
13049
13050  # Ideally, we could use ldconfig to report *all* directores which are
13051  # searched for libraries, however this is still not possible.  Aside from not
13052  # being certain /sbin/ldconfig is available, command
13053  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13054  # even though it is searched at run-time.  Try to do the best guess by
13055  # appending ld.so.conf contents (and includes) to the search path.
13056  if test -f /etc/ld.so.conf; then
13057    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' ' '`
13058    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13059  fi
13060
13061  # We used to test for /lib/ld.so.1 and disable shared libraries on
13062  # powerpc, because MkLinux only supported shared libraries with the
13063  # GNU dynamic linker.  Since this was broken with cross compilers,
13064  # most powerpc-linux boxes support dynamic linking these days and
13065  # people can always --disable-shared, the test was removed, and we
13066  # assume the GNU/Linux dynamic linker is in use.
13067  dynamic_linker='GNU/Linux ld.so'
13068  ;;
13069
13070netbsdelf*-gnu)
13071  version_type=linux
13072  need_lib_prefix=no
13073  need_version=no
13074  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13075  soname_spec='${libname}${release}${shared_ext}$major'
13076  shlibpath_var=LD_LIBRARY_PATH
13077  shlibpath_overrides_runpath=no
13078  hardcode_into_libs=yes
13079  dynamic_linker='NetBSD ld.elf_so'
13080  ;;
13081
13082netbsd*)
13083  version_type=sunos
13084  need_lib_prefix=no
13085  need_version=no
13086  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13087    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13088    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13089    dynamic_linker='NetBSD (a.out) ld.so'
13090  else
13091    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13092    soname_spec='$libname$release$shared_ext$major'
13093    dynamic_linker='NetBSD ld.elf_so'
13094  fi
13095  shlibpath_var=LD_LIBRARY_PATH
13096  shlibpath_overrides_runpath=yes
13097  hardcode_into_libs=yes
13098  ;;
13099
13100newsos6)
13101  version_type=linux # correct to gnu/linux during the next big refactor
13102  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13103  shlibpath_var=LD_LIBRARY_PATH
13104  shlibpath_overrides_runpath=yes
13105  ;;
13106
13107*nto* | *qnx*)
13108  version_type=qnx
13109  need_lib_prefix=no
13110  need_version=no
13111  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13112  soname_spec='$libname$release$shared_ext$major'
13113  shlibpath_var=LD_LIBRARY_PATH
13114  shlibpath_overrides_runpath=no
13115  hardcode_into_libs=yes
13116  dynamic_linker='ldqnx.so'
13117  ;;
13118
13119openbsd* | bitrig*)
13120  version_type=sunos
13121  sys_lib_dlsearch_path_spec=/usr/lib
13122  need_lib_prefix=no
13123  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13124    need_version=no
13125  else
13126    need_version=yes
13127  fi
13128  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13129  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13130  shlibpath_var=LD_LIBRARY_PATH
13131  shlibpath_overrides_runpath=yes
13132  ;;
13133
13134os2*)
13135  libname_spec='$name'
13136  version_type=windows
13137  shrext_cmds=.dll
13138  need_version=no
13139  need_lib_prefix=no
13140  # OS/2 can only load a DLL with a base name of 8 characters or less.
13141  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13142    v=$($ECHO $release$versuffix | tr -d .-);
13143    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13144    $ECHO $n$v`$shared_ext'
13145  library_names_spec='${libname}_dll.$libext'
13146  dynamic_linker='OS/2 ld.exe'
13147  shlibpath_var=BEGINLIBPATH
13148  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13149  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13150  postinstall_cmds='base_file=`basename \$file`~
13151    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13152    dldir=$destdir/`dirname \$dlpath`~
13153    test -d \$dldir || mkdir -p \$dldir~
13154    $install_prog $dir/$dlname \$dldir/$dlname~
13155    chmod a+x \$dldir/$dlname~
13156    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13157      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13158    fi'
13159  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13160    dlpath=$dir/\$dldll~
13161    $RM \$dlpath'
13162  ;;
13163
13164osf3* | osf4* | osf5*)
13165  version_type=osf
13166  need_lib_prefix=no
13167  need_version=no
13168  soname_spec='$libname$release$shared_ext$major'
13169  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13170  shlibpath_var=LD_LIBRARY_PATH
13171  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13172  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13173  ;;
13174
13175rdos*)
13176  dynamic_linker=no
13177  ;;
13178
13179solaris*)
13180  version_type=linux # correct to gnu/linux during the next big refactor
13181  need_lib_prefix=no
13182  need_version=no
13183  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13184  soname_spec='$libname$release$shared_ext$major'
13185  shlibpath_var=LD_LIBRARY_PATH
13186  shlibpath_overrides_runpath=yes
13187  hardcode_into_libs=yes
13188  # ldd complains unless libraries are executable
13189  postinstall_cmds='chmod +x $lib'
13190  ;;
13191
13192sunos4*)
13193  version_type=sunos
13194  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13195  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13196  shlibpath_var=LD_LIBRARY_PATH
13197  shlibpath_overrides_runpath=yes
13198  if test yes = "$with_gnu_ld"; then
13199    need_lib_prefix=no
13200  fi
13201  need_version=yes
13202  ;;
13203
13204sysv4 | sysv4.3*)
13205  version_type=linux # correct to gnu/linux during the next big refactor
13206  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13207  soname_spec='$libname$release$shared_ext$major'
13208  shlibpath_var=LD_LIBRARY_PATH
13209  case $host_vendor in
13210    sni)
13211      shlibpath_overrides_runpath=no
13212      need_lib_prefix=no
13213      runpath_var=LD_RUN_PATH
13214      ;;
13215    siemens)
13216      need_lib_prefix=no
13217      ;;
13218    motorola)
13219      need_lib_prefix=no
13220      need_version=no
13221      shlibpath_overrides_runpath=no
13222      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13223      ;;
13224  esac
13225  ;;
13226
13227sysv4*MP*)
13228  if test -d /usr/nec; then
13229    version_type=linux # correct to gnu/linux during the next big refactor
13230    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13231    soname_spec='$libname$shared_ext.$major'
13232    shlibpath_var=LD_LIBRARY_PATH
13233  fi
13234  ;;
13235
13236sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13237  version_type=sco
13238  need_lib_prefix=no
13239  need_version=no
13240  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13241  soname_spec='$libname$release$shared_ext$major'
13242  shlibpath_var=LD_LIBRARY_PATH
13243  shlibpath_overrides_runpath=yes
13244  hardcode_into_libs=yes
13245  if test yes = "$with_gnu_ld"; then
13246    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13247  else
13248    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13249    case $host_os in
13250      sco3.2v5*)
13251        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13252	;;
13253    esac
13254  fi
13255  sys_lib_dlsearch_path_spec='/usr/lib'
13256  ;;
13257
13258tpf*)
13259  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13260  version_type=linux # correct to gnu/linux during the next big refactor
13261  need_lib_prefix=no
13262  need_version=no
13263  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13264  shlibpath_var=LD_LIBRARY_PATH
13265  shlibpath_overrides_runpath=no
13266  hardcode_into_libs=yes
13267  ;;
13268
13269uts4*)
13270  version_type=linux # correct to gnu/linux during the next big refactor
13271  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13272  soname_spec='$libname$release$shared_ext$major'
13273  shlibpath_var=LD_LIBRARY_PATH
13274  ;;
13275
13276*)
13277  dynamic_linker=no
13278  ;;
13279esac
13280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13281$as_echo "$dynamic_linker" >&6; }
13282test no = "$dynamic_linker" && can_build_shared=no
13283
13284variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13285if test yes = "$GCC"; then
13286  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13287fi
13288
13289if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13290  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13291fi
13292
13293if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13294  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13295fi
13296
13297# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13298configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13299
13300# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13301func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13302
13303# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13304configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13403$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13404hardcode_action=
13405if test -n "$hardcode_libdir_flag_spec" ||
13406   test -n "$runpath_var" ||
13407   test yes = "$hardcode_automatic"; then
13408
13409  # We can hardcode non-existent directories.
13410  if test no != "$hardcode_direct" &&
13411     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13412     # have to relink, otherwise we might link with an installed library
13413     # when we should be linking with a yet-to-be-installed one
13414     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13415     test no != "$hardcode_minus_L"; then
13416    # Linking always hardcodes the temporary library directory.
13417    hardcode_action=relink
13418  else
13419    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13420    hardcode_action=immediate
13421  fi
13422else
13423  # We cannot hardcode anything, or else we can only hardcode existing
13424  # directories.
13425  hardcode_action=unsupported
13426fi
13427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13428$as_echo "$hardcode_action" >&6; }
13429
13430if test relink = "$hardcode_action" ||
13431   test yes = "$inherit_rpath"; then
13432  # Fast installation is not supported
13433  enable_fast_install=no
13434elif test yes = "$shlibpath_overrides_runpath" ||
13435     test no = "$enable_shared"; then
13436  # Fast installation is not necessary
13437  enable_fast_install=needless
13438fi
13439
13440
13441
13442
13443
13444
13445  if test yes != "$enable_dlopen"; then
13446  enable_dlopen=unknown
13447  enable_dlopen_self=unknown
13448  enable_dlopen_self_static=unknown
13449else
13450  lt_cv_dlopen=no
13451  lt_cv_dlopen_libs=
13452
13453  case $host_os in
13454  beos*)
13455    lt_cv_dlopen=load_add_on
13456    lt_cv_dlopen_libs=
13457    lt_cv_dlopen_self=yes
13458    ;;
13459
13460  mingw* | pw32* | cegcc*)
13461    lt_cv_dlopen=LoadLibrary
13462    lt_cv_dlopen_libs=
13463    ;;
13464
13465  cygwin*)
13466    lt_cv_dlopen=dlopen
13467    lt_cv_dlopen_libs=
13468    ;;
13469
13470  darwin*)
13471    # if libdl is installed we need to link against it
13472    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in " >&5
13473$as_echo_n "checking for dlopen in ... " >&6; }
13474if ${ac_cv_lib_dl_dlopen+:} false; then :
13475  $as_echo_n "(cached) " >&6
13476else
13477  ac_check_lib_save_LIBS=$LIBS
13478LIBS="  $LIBS"
13479cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480/* end confdefs.h.  */
13481
13482/* Override any GCC internal prototype to avoid an error.
13483   Use char because int might match the return type of a GCC
13484   builtin and then its argument prototype would still apply.  */
13485#ifdef __cplusplus
13486extern "C"
13487#endif
13488char dlopen ();
13489int
13490main ()
13491{
13492return dlopen ();
13493  ;
13494  return 0;
13495}
13496_ACEOF
13497if ac_fn_c_try_link "$LINENO"; then :
13498  ac_cv_lib_dl_dlopen=yes
13499else
13500  ac_cv_lib_dl_dlopen=no
13501fi
13502rm -f core conftest.err conftest.$ac_objext \
13503    conftest$ac_exeext conftest.$ac_ext
13504LIBS=$ac_check_lib_save_LIBS
13505fi
13506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13507$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13508if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13509  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=
13510else
13511
13512    lt_cv_dlopen=dyld
13513    lt_cv_dlopen_libs=
13514    lt_cv_dlopen_self=yes
13515
13516fi
13517
13518    ;;
13519
13520  tpf*)
13521    # Don't try to run any link tests for TPF.  We know it's impossible
13522    # because TPF is a cross-compiler, and we know how we open DSOs.
13523    lt_cv_dlopen=dlopen
13524    lt_cv_dlopen_libs=
13525    lt_cv_dlopen_self=no
13526    ;;
13527
13528  *)
13529    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13530if test "x$ac_cv_func_shl_load" = xyes; then :
13531  lt_cv_dlopen=shl_load
13532else
13533  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in d" >&5
13534$as_echo_n "checking for shl_load in d... " >&6; }
13535if ${ac_cv_lib_dld_shl_load+:} false; then :
13536  $as_echo_n "(cached) " >&6
13537else
13538  ac_check_lib_save_LIBS=$LIBS
13539LIBS="d  $LIBS"
13540cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13541/* end confdefs.h.  */
13542
13543/* Override any GCC internal prototype to avoid an error.
13544   Use char because int might match the return type of a GCC
13545   builtin and then its argument prototype would still apply.  */
13546#ifdef __cplusplus
13547extern "C"
13548#endif
13549char shl_load ();
13550int
13551main ()
13552{
13553return shl_load ();
13554  ;
13555  return 0;
13556}
13557_ACEOF
13558if ac_fn_c_try_link "$LINENO"; then :
13559  ac_cv_lib_dld_shl_load=yes
13560else
13561  ac_cv_lib_dld_shl_load=no
13562fi
13563rm -f core conftest.err conftest.$ac_objext \
13564    conftest$ac_exeext conftest.$ac_ext
13565LIBS=$ac_check_lib_save_LIBS
13566fi
13567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13568$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13569if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13570  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=d
13571else
13572  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13573if test "x$ac_cv_func_dlopen" = xyes; then :
13574  lt_cv_dlopen=dlopen
13575else
13576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in " >&5
13577$as_echo_n "checking for dlopen in ... " >&6; }
13578if ${ac_cv_lib_dl_dlopen+:} false; then :
13579  $as_echo_n "(cached) " >&6
13580else
13581  ac_check_lib_save_LIBS=$LIBS
13582LIBS="  $LIBS"
13583cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584/* end confdefs.h.  */
13585
13586/* Override any GCC internal prototype to avoid an error.
13587   Use char because int might match the return type of a GCC
13588   builtin and then its argument prototype would still apply.  */
13589#ifdef __cplusplus
13590extern "C"
13591#endif
13592char dlopen ();
13593int
13594main ()
13595{
13596return dlopen ();
13597  ;
13598  return 0;
13599}
13600_ACEOF
13601if ac_fn_c_try_link "$LINENO"; then :
13602  ac_cv_lib_dl_dlopen=yes
13603else
13604  ac_cv_lib_dl_dlopen=no
13605fi
13606rm -f core conftest.err conftest.$ac_objext \
13607    conftest$ac_exeext conftest.$ac_ext
13608LIBS=$ac_check_lib_save_LIBS
13609fi
13610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13611$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13612if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13613  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=
13614else
13615  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13616$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13617if ${ac_cv_lib_svld_dlopen+:} false; then :
13618  $as_echo_n "(cached) " >&6
13619else
13620  ac_check_lib_save_LIBS=$LIBS
13621LIBS="-lsvld  $LIBS"
13622cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623/* end confdefs.h.  */
13624
13625/* Override any GCC internal prototype to avoid an error.
13626   Use char because int might match the return type of a GCC
13627   builtin and then its argument prototype would still apply.  */
13628#ifdef __cplusplus
13629extern "C"
13630#endif
13631char dlopen ();
13632int
13633main ()
13634{
13635return dlopen ();
13636  ;
13637  return 0;
13638}
13639_ACEOF
13640if ac_fn_c_try_link "$LINENO"; then :
13641  ac_cv_lib_svld_dlopen=yes
13642else
13643  ac_cv_lib_svld_dlopen=no
13644fi
13645rm -f core conftest.err conftest.$ac_objext \
13646    conftest$ac_exeext conftest.$ac_ext
13647LIBS=$ac_check_lib_save_LIBS
13648fi
13649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13650$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13651if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13652  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13653else
13654  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in d" >&5
13655$as_echo_n "checking for dld_link in d... " >&6; }
13656if ${ac_cv_lib_dld_dld_link+:} false; then :
13657  $as_echo_n "(cached) " >&6
13658else
13659  ac_check_lib_save_LIBS=$LIBS
13660LIBS="d  $LIBS"
13661cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13662/* end confdefs.h.  */
13663
13664/* Override any GCC internal prototype to avoid an error.
13665   Use char because int might match the return type of a GCC
13666   builtin and then its argument prototype would still apply.  */
13667#ifdef __cplusplus
13668extern "C"
13669#endif
13670char dld_link ();
13671int
13672main ()
13673{
13674return dld_link ();
13675  ;
13676  return 0;
13677}
13678_ACEOF
13679if ac_fn_c_try_link "$LINENO"; then :
13680  ac_cv_lib_dld_dld_link=yes
13681else
13682  ac_cv_lib_dld_dld_link=no
13683fi
13684rm -f core conftest.err conftest.$ac_objext \
13685    conftest$ac_exeext conftest.$ac_ext
13686LIBS=$ac_check_lib_save_LIBS
13687fi
13688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13689$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13690if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13691  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=d
13692fi
13693
13694
13695fi
13696
13697
13698fi
13699
13700
13701fi
13702
13703
13704fi
13705
13706
13707fi
13708
13709    ;;
13710  esac
13711
13712  if test no = "$lt_cv_dlopen"; then
13713    enable_dlopen=no
13714  else
13715    enable_dlopen=yes
13716  fi
13717
13718  case $lt_cv_dlopen in
13719  dlopen)
13720    save_CPPFLAGS=$CPPFLAGS
13721    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13722
13723    save_LDFLAGS=$LDFLAGS
13724    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13725
13726    save_LIBS=$LIBS
13727    LIBS="$lt_cv_dlopen_libs $LIBS"
13728
13729    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13730$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13731if ${lt_cv_dlopen_self+:} false; then :
13732  $as_echo_n "(cached) " >&6
13733else
13734  	  if test yes = "$cross_compiling"; then :
13735  lt_cv_dlopen_self=cross
13736else
13737  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13738  lt_status=$lt_dlunknown
13739  cat > conftest.$ac_ext <<_LT_EOF
13740#line $LINENO "configure"
13741#include "confdefs.h"
13742
13743#if HAVE_DLFCN_H
13744#include <dlfcn.h>
13745#endif
13746
13747#include <stdio.h>
13748
13749#ifdef RTLD_GLOBAL
13750#  define LT_DLGLOBAL		RTLD_GLOBAL
13751#else
13752#  ifdef DL_GLOBAL
13753#    define LT_DLGLOBAL		DL_GLOBAL
13754#  else
13755#    define LT_DLGLOBAL		0
13756#  endif
13757#endif
13758
13759/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13760   find out it does not work in some platform. */
13761#ifndef LT_DLLAZY_OR_NOW
13762#  ifdef RTLD_LAZY
13763#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13764#  else
13765#    ifdef DL_LAZY
13766#      define LT_DLLAZY_OR_NOW		DL_LAZY
13767#    else
13768#      ifdef RTLD_NOW
13769#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13770#      else
13771#        ifdef DL_NOW
13772#          define LT_DLLAZY_OR_NOW	DL_NOW
13773#        else
13774#          define LT_DLLAZY_OR_NOW	0
13775#        endif
13776#      endif
13777#    endif
13778#  endif
13779#endif
13780
13781/* When -fvisibility=hidden is used, assume the code has been annotated
13782   correspondingly for the symbols needed.  */
13783#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13784int fnord () __attribute__((visibility("default")));
13785#endif
13786
13787int fnord () { return 42; }
13788int main ()
13789{
13790  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13791  int status = $lt_dlunknown;
13792
13793  if (self)
13794    {
13795      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13796      else
13797        {
13798	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13799          else puts (dlerror ());
13800	}
13801      /* dlclose (self); */
13802    }
13803  else
13804    puts (dlerror ());
13805
13806  return status;
13807}
13808_LT_EOF
13809  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13810  (eval $ac_link) 2>&5
13811  ac_status=$?
13812  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13813  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13814    (./conftest; exit; ) >&5 2>/dev/null
13815    lt_status=$?
13816    case x$lt_status in
13817      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13818      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13819      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13820    esac
13821  else :
13822    # compilation failed
13823    lt_cv_dlopen_self=no
13824  fi
13825fi
13826rm -fr conftest*
13827
13828
13829fi
13830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13831$as_echo "$lt_cv_dlopen_self" >&6; }
13832
13833    if test yes = "$lt_cv_dlopen_self"; then
13834      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13835      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13836$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13837if ${lt_cv_dlopen_self_static+:} false; then :
13838  $as_echo_n "(cached) " >&6
13839else
13840  	  if test yes = "$cross_compiling"; then :
13841  lt_cv_dlopen_self_static=cross
13842else
13843  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13844  lt_status=$lt_dlunknown
13845  cat > conftest.$ac_ext <<_LT_EOF
13846#line $LINENO "configure"
13847#include "confdefs.h"
13848
13849#if HAVE_DLFCN_H
13850#include <dlfcn.h>
13851#endif
13852
13853#include <stdio.h>
13854
13855#ifdef RTLD_GLOBAL
13856#  define LT_DLGLOBAL		RTLD_GLOBAL
13857#else
13858#  ifdef DL_GLOBAL
13859#    define LT_DLGLOBAL		DL_GLOBAL
13860#  else
13861#    define LT_DLGLOBAL		0
13862#  endif
13863#endif
13864
13865/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13866   find out it does not work in some platform. */
13867#ifndef LT_DLLAZY_OR_NOW
13868#  ifdef RTLD_LAZY
13869#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13870#  else
13871#    ifdef DL_LAZY
13872#      define LT_DLLAZY_OR_NOW		DL_LAZY
13873#    else
13874#      ifdef RTLD_NOW
13875#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13876#      else
13877#        ifdef DL_NOW
13878#          define LT_DLLAZY_OR_NOW	DL_NOW
13879#        else
13880#          define LT_DLLAZY_OR_NOW	0
13881#        endif
13882#      endif
13883#    endif
13884#  endif
13885#endif
13886
13887/* When -fvisibility=hidden is used, assume the code has been annotated
13888   correspondingly for the symbols needed.  */
13889#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13890int fnord () __attribute__((visibility("default")));
13891#endif
13892
13893int fnord () { return 42; }
13894int main ()
13895{
13896  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13897  int status = $lt_dlunknown;
13898
13899  if (self)
13900    {
13901      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13902      else
13903        {
13904	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13905          else puts (dlerror ());
13906	}
13907      /* dlclose (self); */
13908    }
13909  else
13910    puts (dlerror ());
13911
13912  return status;
13913}
13914_LT_EOF
13915  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13916  (eval $ac_link) 2>&5
13917  ac_status=$?
13918  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13919  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13920    (./conftest; exit; ) >&5 2>/dev/null
13921    lt_status=$?
13922    case x$lt_status in
13923      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13924      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13925      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13926    esac
13927  else :
13928    # compilation failed
13929    lt_cv_dlopen_self_static=no
13930  fi
13931fi
13932rm -fr conftest*
13933
13934
13935fi
13936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13937$as_echo "$lt_cv_dlopen_self_static" >&6; }
13938    fi
13939
13940    CPPFLAGS=$save_CPPFLAGS
13941    LDFLAGS=$save_LDFLAGS
13942    LIBS=$save_LIBS
13943    ;;
13944  esac
13945
13946  case $lt_cv_dlopen_self in
13947  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13948  *) enable_dlopen_self=unknown ;;
13949  esac
13950
13951  case $lt_cv_dlopen_self_static in
13952  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13953  *) enable_dlopen_self_static=unknown ;;
13954  esac
13955fi
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973striplib=
13974old_striplib=
13975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13976$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13977if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13978  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13979  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13981$as_echo "yes" >&6; }
13982else
13983# FIXME - insert some real tests, host_os isn't really good enough
13984  case $host_os in
13985  darwin*)
13986    if test -n "$STRIP"; then
13987      striplib="$STRIP -x"
13988      old_striplib="$STRIP -S"
13989      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13990$as_echo "yes" >&6; }
13991    else
13992      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13993$as_echo "no" >&6; }
13994    fi
13995    ;;
13996  *)
13997    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13998$as_echo "no" >&6; }
13999    ;;
14000  esac
14001fi
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014  # Report what library types will actually be built
14015  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14016$as_echo_n "checking if libtool supports shared libraries... " >&6; }
14017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14018$as_echo "$can_build_shared" >&6; }
14019
14020  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14021$as_echo_n "checking whether to build shared libraries... " >&6; }
14022  test no = "$can_build_shared" && enable_shared=no
14023
14024  # On AIX, shared libraries and static libraries use the same namespace, and
14025  # are all built from PIC.
14026  case $host_os in
14027  aix3*)
14028    test yes = "$enable_shared" && enable_static=no
14029    if test -n "$RANLIB"; then
14030      archive_cmds="$archive_cmds~\$RANLIB \$lib"
14031      postinstall_cmds='$RANLIB $lib'
14032    fi
14033    ;;
14034
14035  aix[4-9]*)
14036    if test ia64 != "$host_cpu"; then
14037      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14038      yes,aix,yes) ;;			# shared object as lib.so file only
14039      yes,svr4,*) ;;			# shared object as lib.so archive member only
14040      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
14041      esac
14042    fi
14043    ;;
14044  esac
14045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14046$as_echo "$enable_shared" >&6; }
14047
14048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14049$as_echo_n "checking whether to build static libraries... " >&6; }
14050  # Make sure either enable_shared or enable_static is yes.
14051  test yes = "$enable_shared" || enable_static=yes
14052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14053$as_echo "$enable_static" >&6; }
14054
14055
14056
14057
14058fi
14059ac_ext=c
14060ac_cpp='$CPP $CPPFLAGS'
14061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14063ac_compiler_gnu=$ac_cv_c_compiler_gnu
14064
14065CC=$lt_save_CC
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081        ac_config_commands="$ac_config_commands libtool"
14082
14083
14084
14085
14086# Only expand once:
14087
14088
14089
14090for ac_header in sys/io.h
14091do :
14092  ac_fn_c_check_header_mongrel "$LINENO" "sys/io.h" "ac_cv_header_sys_io_h" "$ac_includes_default"
14093if test "x$ac_cv_header_sys_io_h" = xyes; then :
14094  cat >>confdefs.h <<_ACEOF
14095#define HAVE_SYS_IO_H 1
14096_ACEOF
14097
14098fi
14099
14100done
14101
14102
14103for ac_header in zlib.h
14104do :
14105  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14106if test "x$ac_cv_header_zlib_h" = xyes; then :
14107  cat >>confdefs.h <<_ACEOF
14108#define HAVE_ZLIB_H 1
14109_ACEOF
14110 found_z="yes"
14111else
14112  found_z="no"
14113fi
14114
14115done
14116
14117if test "x$found_z" != "xno"; then
14118	Z_LIBS="-lz"
14119
14120fi
14121
14122
14123
14124if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14125	if test -n "$ac_tool_prefix"; then
14126  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14127set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14129$as_echo_n "checking for $ac_word... " >&6; }
14130if ${ac_cv_path_PKG_CONFIG+:} false; then :
14131  $as_echo_n "(cached) " >&6
14132else
14133  case $PKG_CONFIG in
14134  [\\/]* | ?:[\\/]*)
14135  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14136  ;;
14137  *)
14138  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14139for as_dir in $PATH
14140do
14141  IFS=$as_save_IFS
14142  test -z "$as_dir" && as_dir=.
14143    for ac_exec_ext in '' $ac_executable_extensions; do
14144  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14145    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14146    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14147    break 2
14148  fi
14149done
14150  done
14151IFS=$as_save_IFS
14152
14153  ;;
14154esac
14155fi
14156PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14157if test -n "$PKG_CONFIG"; then
14158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14159$as_echo "$PKG_CONFIG" >&6; }
14160else
14161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14162$as_echo "no" >&6; }
14163fi
14164
14165
14166fi
14167if test -z "$ac_cv_path_PKG_CONFIG"; then
14168  ac_pt_PKG_CONFIG=$PKG_CONFIG
14169  # Extract the first word of "pkg-config", so it can be a program name with args.
14170set dummy pkg-config; ac_word=$2
14171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14172$as_echo_n "checking for $ac_word... " >&6; }
14173if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14174  $as_echo_n "(cached) " >&6
14175else
14176  case $ac_pt_PKG_CONFIG in
14177  [\\/]* | ?:[\\/]*)
14178  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14179  ;;
14180  *)
14181  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14182for as_dir in $PATH
14183do
14184  IFS=$as_save_IFS
14185  test -z "$as_dir" && as_dir=.
14186    for ac_exec_ext in '' $ac_executable_extensions; do
14187  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14188    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14189    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14190    break 2
14191  fi
14192done
14193  done
14194IFS=$as_save_IFS
14195
14196  ;;
14197esac
14198fi
14199ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14200if test -n "$ac_pt_PKG_CONFIG"; then
14201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14202$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14203else
14204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14205$as_echo "no" >&6; }
14206fi
14207
14208  if test "x$ac_pt_PKG_CONFIG" = x; then
14209    PKG_CONFIG=""
14210  else
14211    case $cross_compiling:$ac_tool_warned in
14212yes:)
14213{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14214$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14215ac_tool_warned=yes ;;
14216esac
14217    PKG_CONFIG=$ac_pt_PKG_CONFIG
14218  fi
14219else
14220  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14221fi
14222
14223fi
14224if test -n "$PKG_CONFIG"; then
14225	_pkg_min_version=0.9.0
14226	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14227$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14228	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14229		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14230$as_echo "yes" >&6; }
14231	else
14232		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14233$as_echo "no" >&6; }
14234		PKG_CONFIG=""
14235	fi
14236
14237fi
14238
14239pkg_failed=no
14240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
14241$as_echo_n "checking for X11... " >&6; }
14242
14243if test -n "$PKG_CONFIG"; then
14244    if test -n "$X11_CFLAGS"; then
14245        pkg_cv_X11_CFLAGS="$X11_CFLAGS"
14246    else
14247        if test -n "$PKG_CONFIG" && \
14248    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.1\""; } >&5
14249  ($PKG_CONFIG --exists --print-errors "x11 >= 1.1") 2>&5
14250  ac_status=$?
14251  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14252  test $ac_status = 0; }; then
14253  pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.1" 2>/dev/null`
14254else
14255  pkg_failed=yes
14256fi
14257    fi
14258else
14259	pkg_failed=untried
14260fi
14261if test -n "$PKG_CONFIG"; then
14262    if test -n "$X11_LIBS"; then
14263        pkg_cv_X11_LIBS="$X11_LIBS"
14264    else
14265        if test -n "$PKG_CONFIG" && \
14266    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.1\""; } >&5
14267  ($PKG_CONFIG --exists --print-errors "x11 >= 1.1") 2>&5
14268  ac_status=$?
14269  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14270  test $ac_status = 0; }; then
14271  pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11 >= 1.1" 2>/dev/null`
14272else
14273  pkg_failed=yes
14274fi
14275    fi
14276else
14277	pkg_failed=untried
14278fi
14279
14280
14281
14282if test $pkg_failed = yes; then
14283
14284if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14285        _pkg_short_errors_supported=yes
14286else
14287        _pkg_short_errors_supported=no
14288fi
14289        if test $_pkg_short_errors_supported = yes; then
14290	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 >= 1.1"`
14291        else
14292	        X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 >= 1.1"`
14293        fi
14294	# Put the nasty error message in config.log where it belongs
14295	echo "$X11_PKG_ERRORS" >&5
14296
14297	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14298$as_echo "no" >&6; }
14299                found_x11="no"
14300elif test $pkg_failed = untried; then
14301	found_x11="no"
14302else
14303	X11_CFLAGS=$pkg_cv_X11_CFLAGS
14304	X11_LIBS=$pkg_cv_X11_LIBS
14305        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14306$as_echo "yes" >&6; }
14307	found_x11="yes"
14308fi
14309
14310pkg_failed=no
14311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xi" >&5
14312$as_echo_n "checking for Xi... " >&6; }
14313
14314if test -n "$PKG_CONFIG"; then
14315    if test -n "$Xi_CFLAGS"; then
14316        pkg_cv_Xi_CFLAGS="$Xi_CFLAGS"
14317    else
14318        if test -n "$PKG_CONFIG" && \
14319    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi\""; } >&5
14320  ($PKG_CONFIG --exists --print-errors "xi") 2>&5
14321  ac_status=$?
14322  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14323  test $ac_status = 0; }; then
14324  pkg_cv_Xi_CFLAGS=`$PKG_CONFIG --cflags "xi" 2>/dev/null`
14325else
14326  pkg_failed=yes
14327fi
14328    fi
14329else
14330	pkg_failed=untried
14331fi
14332if test -n "$PKG_CONFIG"; then
14333    if test -n "$Xi_LIBS"; then
14334        pkg_cv_Xi_LIBS="$Xi_LIBS"
14335    else
14336        if test -n "$PKG_CONFIG" && \
14337    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi\""; } >&5
14338  ($PKG_CONFIG --exists --print-errors "xi") 2>&5
14339  ac_status=$?
14340  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14341  test $ac_status = 0; }; then
14342  pkg_cv_Xi_LIBS=`$PKG_CONFIG --libs "xi" 2>/dev/null`
14343else
14344  pkg_failed=yes
14345fi
14346    fi
14347else
14348	pkg_failed=untried
14349fi
14350
14351
14352
14353if test $pkg_failed = yes; then
14354
14355if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14356        _pkg_short_errors_supported=yes
14357else
14358        _pkg_short_errors_supported=no
14359fi
14360        if test $_pkg_short_errors_supported = yes; then
14361	        Xi_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xi"`
14362        else
14363	        Xi_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xi"`
14364        fi
14365	# Put the nasty error message in config.log where it belongs
14366	echo "$Xi_PKG_ERRORS" >&5
14367
14368	as_fn_error $? "Package requirements (xi) were not met:
14369
14370$Xi_PKG_ERRORS
14371
14372Consider adjusting the PKG_CONFIG_PATH environment variable if you
14373installed software in a non-standard prefix.
14374
14375Alternatively, you may set the environment variables Xi_CFLAGS
14376and Xi_LIBS to avoid the need to call pkg-config.
14377See the pkg-config man page for more details.
14378" "$LINENO" 5
14379elif test $pkg_failed = untried; then
14380	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14381$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14382as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14383is in your PATH or set the PKG_CONFIG environment variable to the full
14384path to pkg-config.
14385
14386Alternatively, you may set the environment variables Xi_CFLAGS
14387and Xi_LIBS to avoid the need to call pkg-config.
14388See the pkg-config man page for more details.
14389
14390To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
14391See \`config.log' for more details" "$LINENO" 5; }
14392else
14393	Xi_CFLAGS=$pkg_cv_Xi_CFLAGS
14394	Xi_LIBS=$pkg_cv_Xi_LIBS
14395        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14396$as_echo "yes" >&6; }
14397	LIBXI="-lXi"
14398fi
14399if test "x$found_x11" = "xno"; then
14400	if test "$no_x" = yes; then
14401  # Not all programs may use this symbol, but it does not hurt to define it.
14402
14403$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
14404
14405  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14406else
14407  if test -n "$x_includes"; then
14408    X_CFLAGS="$X_CFLAGS -I$x_includes"
14409  fi
14410
14411  # It would also be nice to do this for all -L options, not just this one.
14412  if test -n "$x_libraries"; then
14413    X_LIBS="$X_LIBS -L$x_libraries"
14414    # For Solaris; some versions of Sun CC require a space after -R and
14415    # others require no space.  Words are not sufficient . . . .
14416    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14417$as_echo_n "checking whether -R must be followed by a space... " >&6; }
14418    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14419    ac_xsave_c_werror_flag=$ac_c_werror_flag
14420    ac_c_werror_flag=yes
14421    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422/* end confdefs.h.  */
14423
14424int
14425main ()
14426{
14427
14428  ;
14429  return 0;
14430}
14431_ACEOF
14432if ac_fn_c_try_link "$LINENO"; then :
14433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14434$as_echo "no" >&6; }
14435       X_LIBS="$X_LIBS -R$x_libraries"
14436else
14437  LIBS="$ac_xsave_LIBS -R $x_libraries"
14438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439/* end confdefs.h.  */
14440
14441int
14442main ()
14443{
14444
14445  ;
14446  return 0;
14447}
14448_ACEOF
14449if ac_fn_c_try_link "$LINENO"; then :
14450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14451$as_echo "yes" >&6; }
14452	  X_LIBS="$X_LIBS -R $x_libraries"
14453else
14454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14455$as_echo "neither works" >&6; }
14456fi
14457rm -f core conftest.err conftest.$ac_objext \
14458    conftest$ac_exeext conftest.$ac_ext
14459fi
14460rm -f core conftest.err conftest.$ac_objext \
14461    conftest$ac_exeext conftest.$ac_ext
14462    ac_c_werror_flag=$ac_xsave_c_werror_flag
14463    LIBS=$ac_xsave_LIBS
14464  fi
14465
14466  # Check for system-dependent libraries X programs must link with.
14467  # Do this before checking for the system-independent R6 libraries
14468  # (-lICE), since we may need -lsocket or whatever for X linking.
14469
14470  if test "$ISC" = yes; then
14471    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14472  else
14473    # Martyn Johnson says this is needed for Ultrix, if the X
14474    # libraries were built with DECnet support.  And Karl Berry says
14475    # the Alpha needs dnet_stub (dnet does not exist).
14476    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14477    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478/* end confdefs.h.  */
14479
14480/* Override any GCC internal prototype to avoid an error.
14481   Use char because int might match the return type of a GCC
14482   builtin and then its argument prototype would still apply.  */
14483#ifdef __cplusplus
14484extern "C"
14485#endif
14486char XOpenDisplay ();
14487int
14488main ()
14489{
14490return XOpenDisplay ();
14491  ;
14492  return 0;
14493}
14494_ACEOF
14495if ac_fn_c_try_link "$LINENO"; then :
14496
14497else
14498  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14499$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
14500if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
14501  $as_echo_n "(cached) " >&6
14502else
14503  ac_check_lib_save_LIBS=$LIBS
14504LIBS="-ldnet  $LIBS"
14505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14506/* end confdefs.h.  */
14507
14508/* Override any GCC internal prototype to avoid an error.
14509   Use char because int might match the return type of a GCC
14510   builtin and then its argument prototype would still apply.  */
14511#ifdef __cplusplus
14512extern "C"
14513#endif
14514char dnet_ntoa ();
14515int
14516main ()
14517{
14518return dnet_ntoa ();
14519  ;
14520  return 0;
14521}
14522_ACEOF
14523if ac_fn_c_try_link "$LINENO"; then :
14524  ac_cv_lib_dnet_dnet_ntoa=yes
14525else
14526  ac_cv_lib_dnet_dnet_ntoa=no
14527fi
14528rm -f core conftest.err conftest.$ac_objext \
14529    conftest$ac_exeext conftest.$ac_ext
14530LIBS=$ac_check_lib_save_LIBS
14531fi
14532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14533$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14534if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
14535  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14536fi
14537
14538    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14539      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14540$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14541if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
14542  $as_echo_n "(cached) " >&6
14543else
14544  ac_check_lib_save_LIBS=$LIBS
14545LIBS="-ldnet_stub  $LIBS"
14546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547/* end confdefs.h.  */
14548
14549/* Override any GCC internal prototype to avoid an error.
14550   Use char because int might match the return type of a GCC
14551   builtin and then its argument prototype would still apply.  */
14552#ifdef __cplusplus
14553extern "C"
14554#endif
14555char dnet_ntoa ();
14556int
14557main ()
14558{
14559return dnet_ntoa ();
14560  ;
14561  return 0;
14562}
14563_ACEOF
14564if ac_fn_c_try_link "$LINENO"; then :
14565  ac_cv_lib_dnet_stub_dnet_ntoa=yes
14566else
14567  ac_cv_lib_dnet_stub_dnet_ntoa=no
14568fi
14569rm -f core conftest.err conftest.$ac_objext \
14570    conftest$ac_exeext conftest.$ac_ext
14571LIBS=$ac_check_lib_save_LIBS
14572fi
14573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14574$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14575if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
14576  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14577fi
14578
14579    fi
14580fi
14581rm -f core conftest.err conftest.$ac_objext \
14582    conftest$ac_exeext conftest.$ac_ext
14583    LIBS="$ac_xsave_LIBS"
14584
14585    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14586    # to get the SysV transport functions.
14587    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14588    # needs -lnsl.
14589    # The nsl library prevents programs from opening the X display
14590    # on Irix 5.2, according to T.E. Dickey.
14591    # The functions gethostbyname, getservbyname, and inet_addr are
14592    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14593    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14594if test "x$ac_cv_func_gethostbyname" = xyes; then :
14595
14596fi
14597
14598    if test $ac_cv_func_gethostbyname = no; then
14599      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14600$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
14601if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
14602  $as_echo_n "(cached) " >&6
14603else
14604  ac_check_lib_save_LIBS=$LIBS
14605LIBS="-lnsl  $LIBS"
14606cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14607/* end confdefs.h.  */
14608
14609/* Override any GCC internal prototype to avoid an error.
14610   Use char because int might match the return type of a GCC
14611   builtin and then its argument prototype would still apply.  */
14612#ifdef __cplusplus
14613extern "C"
14614#endif
14615char gethostbyname ();
14616int
14617main ()
14618{
14619return gethostbyname ();
14620  ;
14621  return 0;
14622}
14623_ACEOF
14624if ac_fn_c_try_link "$LINENO"; then :
14625  ac_cv_lib_nsl_gethostbyname=yes
14626else
14627  ac_cv_lib_nsl_gethostbyname=no
14628fi
14629rm -f core conftest.err conftest.$ac_objext \
14630    conftest$ac_exeext conftest.$ac_ext
14631LIBS=$ac_check_lib_save_LIBS
14632fi
14633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14634$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
14635if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
14636  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14637fi
14638
14639      if test $ac_cv_lib_nsl_gethostbyname = no; then
14640	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14641$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
14642if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
14643  $as_echo_n "(cached) " >&6
14644else
14645  ac_check_lib_save_LIBS=$LIBS
14646LIBS="-lbsd  $LIBS"
14647cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648/* end confdefs.h.  */
14649
14650/* Override any GCC internal prototype to avoid an error.
14651   Use char because int might match the return type of a GCC
14652   builtin and then its argument prototype would still apply.  */
14653#ifdef __cplusplus
14654extern "C"
14655#endif
14656char gethostbyname ();
14657int
14658main ()
14659{
14660return gethostbyname ();
14661  ;
14662  return 0;
14663}
14664_ACEOF
14665if ac_fn_c_try_link "$LINENO"; then :
14666  ac_cv_lib_bsd_gethostbyname=yes
14667else
14668  ac_cv_lib_bsd_gethostbyname=no
14669fi
14670rm -f core conftest.err conftest.$ac_objext \
14671    conftest$ac_exeext conftest.$ac_ext
14672LIBS=$ac_check_lib_save_LIBS
14673fi
14674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14675$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
14676if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
14677  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14678fi
14679
14680      fi
14681    fi
14682
14683    # lieder@skyler.mavd.honeywell.com says without -lsocket,
14684    # socket/setsockopt and other routines are undefined under SCO ODT
14685    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
14686    # on later versions), says Simon Leinen: it contains gethostby*
14687    # variants that don't use the name server (or something).  -lsocket
14688    # must be given before -lnsl if both are needed.  We assume that
14689    # if connect needs -lnsl, so does gethostbyname.
14690    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14691if test "x$ac_cv_func_connect" = xyes; then :
14692
14693fi
14694
14695    if test $ac_cv_func_connect = no; then
14696      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14697$as_echo_n "checking for connect in -lsocket... " >&6; }
14698if ${ac_cv_lib_socket_connect+:} false; then :
14699  $as_echo_n "(cached) " >&6
14700else
14701  ac_check_lib_save_LIBS=$LIBS
14702LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14703cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704/* end confdefs.h.  */
14705
14706/* Override any GCC internal prototype to avoid an error.
14707   Use char because int might match the return type of a GCC
14708   builtin and then its argument prototype would still apply.  */
14709#ifdef __cplusplus
14710extern "C"
14711#endif
14712char connect ();
14713int
14714main ()
14715{
14716return connect ();
14717  ;
14718  return 0;
14719}
14720_ACEOF
14721if ac_fn_c_try_link "$LINENO"; then :
14722  ac_cv_lib_socket_connect=yes
14723else
14724  ac_cv_lib_socket_connect=no
14725fi
14726rm -f core conftest.err conftest.$ac_objext \
14727    conftest$ac_exeext conftest.$ac_ext
14728LIBS=$ac_check_lib_save_LIBS
14729fi
14730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14731$as_echo "$ac_cv_lib_socket_connect" >&6; }
14732if test "x$ac_cv_lib_socket_connect" = xyes; then :
14733  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14734fi
14735
14736    fi
14737
14738    # Guillermo Gomez says -lposix is necessary on A/UX.
14739    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14740if test "x$ac_cv_func_remove" = xyes; then :
14741
14742fi
14743
14744    if test $ac_cv_func_remove = no; then
14745      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14746$as_echo_n "checking for remove in -lposix... " >&6; }
14747if ${ac_cv_lib_posix_remove+:} false; then :
14748  $as_echo_n "(cached) " >&6
14749else
14750  ac_check_lib_save_LIBS=$LIBS
14751LIBS="-lposix  $LIBS"
14752cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753/* end confdefs.h.  */
14754
14755/* Override any GCC internal prototype to avoid an error.
14756   Use char because int might match the return type of a GCC
14757   builtin and then its argument prototype would still apply.  */
14758#ifdef __cplusplus
14759extern "C"
14760#endif
14761char remove ();
14762int
14763main ()
14764{
14765return remove ();
14766  ;
14767  return 0;
14768}
14769_ACEOF
14770if ac_fn_c_try_link "$LINENO"; then :
14771  ac_cv_lib_posix_remove=yes
14772else
14773  ac_cv_lib_posix_remove=no
14774fi
14775rm -f core conftest.err conftest.$ac_objext \
14776    conftest$ac_exeext conftest.$ac_ext
14777LIBS=$ac_check_lib_save_LIBS
14778fi
14779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14780$as_echo "$ac_cv_lib_posix_remove" >&6; }
14781if test "x$ac_cv_lib_posix_remove" = xyes; then :
14782  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14783fi
14784
14785    fi
14786
14787    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14788    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14789if test "x$ac_cv_func_shmat" = xyes; then :
14790
14791fi
14792
14793    if test $ac_cv_func_shmat = no; then
14794      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14795$as_echo_n "checking for shmat in -lipc... " >&6; }
14796if ${ac_cv_lib_ipc_shmat+:} false; then :
14797  $as_echo_n "(cached) " >&6
14798else
14799  ac_check_lib_save_LIBS=$LIBS
14800LIBS="-lipc  $LIBS"
14801cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802/* end confdefs.h.  */
14803
14804/* Override any GCC internal prototype to avoid an error.
14805   Use char because int might match the return type of a GCC
14806   builtin and then its argument prototype would still apply.  */
14807#ifdef __cplusplus
14808extern "C"
14809#endif
14810char shmat ();
14811int
14812main ()
14813{
14814return shmat ();
14815  ;
14816  return 0;
14817}
14818_ACEOF
14819if ac_fn_c_try_link "$LINENO"; then :
14820  ac_cv_lib_ipc_shmat=yes
14821else
14822  ac_cv_lib_ipc_shmat=no
14823fi
14824rm -f core conftest.err conftest.$ac_objext \
14825    conftest$ac_exeext conftest.$ac_ext
14826LIBS=$ac_check_lib_save_LIBS
14827fi
14828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14829$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
14830if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
14831  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14832fi
14833
14834    fi
14835  fi
14836
14837  # Check for libraries that X11R6 Xt/Xaw programs need.
14838  ac_save_LDFLAGS=$LDFLAGS
14839  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14840  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14841  # check for ICE first), but we must link in the order -lSM -lICE or
14842  # we get undefined symbols.  So assume we have SM if we have ICE.
14843  # These have to be linked with before -lX11, unlike the other
14844  # libraries we check for below, so use a different variable.
14845  # John Interrante, Karl Berry
14846  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14847$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
14848if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
14849  $as_echo_n "(cached) " >&6
14850else
14851  ac_check_lib_save_LIBS=$LIBS
14852LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14853cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14854/* end confdefs.h.  */
14855
14856/* Override any GCC internal prototype to avoid an error.
14857   Use char because int might match the return type of a GCC
14858   builtin and then its argument prototype would still apply.  */
14859#ifdef __cplusplus
14860extern "C"
14861#endif
14862char IceConnectionNumber ();
14863int
14864main ()
14865{
14866return IceConnectionNumber ();
14867  ;
14868  return 0;
14869}
14870_ACEOF
14871if ac_fn_c_try_link "$LINENO"; then :
14872  ac_cv_lib_ICE_IceConnectionNumber=yes
14873else
14874  ac_cv_lib_ICE_IceConnectionNumber=no
14875fi
14876rm -f core conftest.err conftest.$ac_objext \
14877    conftest$ac_exeext conftest.$ac_ext
14878LIBS=$ac_check_lib_save_LIBS
14879fi
14880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14881$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14882if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
14883  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14884fi
14885
14886  LDFLAGS=$ac_save_LDFLAGS
14887
14888fi
14889
14890
14891	if test "x$no_x" = "xyes"; then
14892		as_fn_error $? "Can't locate your X11 installation" "$LINENO" 5
14893	fi
14894
14895	X11_CFLAGS="$X_CFLAGS"
14896	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
14897$as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
14898if ${ac_cv_lib_Xtst_XTestFakeKeyEvent+:} false; then :
14899  $as_echo_n "(cached) " >&6
14900else
14901  ac_check_lib_save_LIBS=$LIBS
14902LIBS="-lXtst  $LIBS"
14903cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14904/* end confdefs.h.  */
14905
14906/* Override any GCC internal prototype to avoid an error.
14907   Use char because int might match the return type of a GCC
14908   builtin and then its argument prototype would still apply.  */
14909#ifdef __cplusplus
14910extern "C"
14911#endif
14912char XTestFakeKeyEvent ();
14913int
14914main ()
14915{
14916return XTestFakeKeyEvent ();
14917  ;
14918  return 0;
14919}
14920_ACEOF
14921if ac_fn_c_try_link "$LINENO"; then :
14922  ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
14923else
14924  ac_cv_lib_Xtst_XTestFakeKeyEvent=no
14925fi
14926rm -f core conftest.err conftest.$ac_objext \
14927    conftest$ac_exeext conftest.$ac_ext
14928LIBS=$ac_check_lib_save_LIBS
14929fi
14930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
14931$as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
14932if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = xyes; then :
14933  LIBXTST="-lXtst"
14934fi
14935
14936	if test "x$LIBXTST" = "x" ;
14937	then
14938		echo " **** ERROR **** "
14939		echo ""
14940		echo "Could not locate the needed X11 extensions:"
14941		echo ""
14942		echo "   XTest"
14943		echo ""
14944		echo "Make sure you have them installed before building Xneur"
14945		echo ""
14946		echo "  ... on Debian based distros do: apt-get install libxtst-dev"
14947		echo " "
14948		exit 1
14949	fi
14950	X11_LIBS="$X_LIBS -lX11 $LIBXI $LIBXTST"
14951#	X11_LIBS="$X_LIBS -lX11 -lXi -lXtst"
14952
14953
14954
14955else
14956	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
14957$as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
14958if ${ac_cv_lib_Xtst_XTestFakeKeyEvent+:} false; then :
14959  $as_echo_n "(cached) " >&6
14960else
14961  ac_check_lib_save_LIBS=$LIBS
14962LIBS="-lXtst  $LIBS"
14963cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964/* end confdefs.h.  */
14965
14966/* Override any GCC internal prototype to avoid an error.
14967   Use char because int might match the return type of a GCC
14968   builtin and then its argument prototype would still apply.  */
14969#ifdef __cplusplus
14970extern "C"
14971#endif
14972char XTestFakeKeyEvent ();
14973int
14974main ()
14975{
14976return XTestFakeKeyEvent ();
14977  ;
14978  return 0;
14979}
14980_ACEOF
14981if ac_fn_c_try_link "$LINENO"; then :
14982  ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
14983else
14984  ac_cv_lib_Xtst_XTestFakeKeyEvent=no
14985fi
14986rm -f core conftest.err conftest.$ac_objext \
14987    conftest$ac_exeext conftest.$ac_ext
14988LIBS=$ac_check_lib_save_LIBS
14989fi
14990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
14991$as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
14992if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = xyes; then :
14993  LIBXTST="-lXtst"
14994fi
14995
14996	if test "x$LIBXTST" = "x" ;
14997	then
14998		echo " **** ERROR **** "
14999		echo ""
15000		echo "Could not locate the needed X11 extensions:"
15001		echo ""
15002		echo "   XTest"
15003		echo ""
15004		echo "Make sure you have them installed before building Xneur"
15005		echo ""
15006		echo "  ... on Debian based distros do: apt-get install libxtst-dev"
15007		echo " "
15008		exit 1
15009	fi
15010	X11_LIBS="$X_LIBS -lX11 $LIBXI $LIBXTST"
15011#	X11_LIBS="$X_LIBS -lX11 -lXi -lXtst"
15012
15013fi
15014
15015ADDITIONAL_LIBS="-lpthread "
15016#ADDITIONAL_LIBS="-lpthread "
15017
15018
15019
15020# Check whether --with-sound was given.
15021if test "${with_sound+set}" = set; then :
15022  withval=$with_sound;
15023fi
15024
15025if test "x$with_sound" != "xno"; then
15026	if test "x$with_sound" = "x"; then
15027		with_sound="gstreamer"
15028	fi
15029
15030	case $with_sound in
15031		gstreamer|yes)
15032
15033pkg_failed=no
15034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
15035$as_echo_n "checking for GSTREAMER... " >&6; }
15036
15037if test -n "$PKG_CONFIG"; then
15038    if test -n "$GSTREAMER_CFLAGS"; then
15039        pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
15040    else
15041        if test -n "$PKG_CONFIG" && \
15042    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 >= 1.2.4\""; } >&5
15043  ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 >= 1.2.4") 2>&5
15044  ac_status=$?
15045  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15046  test $ac_status = 0; }; then
15047  pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-1.0 >= 1.2.4" 2>/dev/null`
15048else
15049  pkg_failed=yes
15050fi
15051    fi
15052else
15053	pkg_failed=untried
15054fi
15055if test -n "$PKG_CONFIG"; then
15056    if test -n "$GSTREAMER_LIBS"; then
15057        pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
15058    else
15059        if test -n "$PKG_CONFIG" && \
15060    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 >= 1.2.4\""; } >&5
15061  ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 >= 1.2.4") 2>&5
15062  ac_status=$?
15063  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15064  test $ac_status = 0; }; then
15065  pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-1.0 >= 1.2.4" 2>/dev/null`
15066else
15067  pkg_failed=yes
15068fi
15069    fi
15070else
15071	pkg_failed=untried
15072fi
15073
15074
15075
15076if test $pkg_failed = yes; then
15077
15078if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15079        _pkg_short_errors_supported=yes
15080else
15081        _pkg_short_errors_supported=no
15082fi
15083        if test $_pkg_short_errors_supported = yes; then
15084	        GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-1.0 >= 1.2.4"`
15085        else
15086	        GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-1.0 >= 1.2.4"`
15087        fi
15088	# Put the nasty error message in config.log where it belongs
15089	echo "$GSTREAMER_PKG_ERRORS" >&5
15090
15091	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15092$as_echo "no" >&6; }
15093                found_gst="no"
15094elif test $pkg_failed = untried; then
15095	found_gst="no"
15096else
15097	GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
15098	GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
15099        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15100$as_echo "yes" >&6; }
15101	found_gst="yes"
15102fi
15103			if test "x$found_gst" = "xno"; then
15104
15105pkg_failed=no
15106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
15107$as_echo_n "checking for GSTREAMER... " >&6; }
15108
15109if test -n "$PKG_CONFIG"; then
15110    if test -n "$GSTREAMER_CFLAGS"; then
15111        pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
15112    else
15113        if test -n "$PKG_CONFIG" && \
15114    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= 0.10.6\""; } >&5
15115  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= 0.10.6") 2>&5
15116  ac_status=$?
15117  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15118  test $ac_status = 0; }; then
15119  pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 >= 0.10.6" 2>/dev/null`
15120else
15121  pkg_failed=yes
15122fi
15123    fi
15124else
15125	pkg_failed=untried
15126fi
15127if test -n "$PKG_CONFIG"; then
15128    if test -n "$GSTREAMER_LIBS"; then
15129        pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
15130    else
15131        if test -n "$PKG_CONFIG" && \
15132    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= 0.10.6\""; } >&5
15133  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= 0.10.6") 2>&5
15134  ac_status=$?
15135  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15136  test $ac_status = 0; }; then
15137  pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 >= 0.10.6" 2>/dev/null`
15138else
15139  pkg_failed=yes
15140fi
15141    fi
15142else
15143	pkg_failed=untried
15144fi
15145
15146
15147
15148if test $pkg_failed = yes; then
15149
15150if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15151        _pkg_short_errors_supported=yes
15152else
15153        _pkg_short_errors_supported=no
15154fi
15155        if test $_pkg_short_errors_supported = yes; then
15156	        GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-0.10 >= 0.10.6"`
15157        else
15158	        GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.10 >= 0.10.6"`
15159        fi
15160	# Put the nasty error message in config.log where it belongs
15161	echo "$GSTREAMER_PKG_ERRORS" >&5
15162
15163	as_fn_error $? "Package requirements (gstreamer-0.10 >= 0.10.6) were not met:
15164
15165$GSTREAMER_PKG_ERRORS
15166
15167Consider adjusting the PKG_CONFIG_PATH environment variable if you
15168installed software in a non-standard prefix.
15169
15170Alternatively, you may set the environment variables GSTREAMER_CFLAGS
15171and GSTREAMER_LIBS to avoid the need to call pkg-config.
15172See the pkg-config man page for more details.
15173" "$LINENO" 5
15174elif test $pkg_failed = untried; then
15175	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15176$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15177as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15178is in your PATH or set the PKG_CONFIG environment variable to the full
15179path to pkg-config.
15180
15181Alternatively, you may set the environment variables GSTREAMER_CFLAGS
15182and GSTREAMER_LIBS to avoid the need to call pkg-config.
15183See the pkg-config man page for more details.
15184
15185To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
15186See \`config.log' for more details" "$LINENO" 5; }
15187else
15188	GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
15189	GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
15190        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15191$as_echo "yes" >&6; }
15192	:
15193fi
15194			fi
15195
15196$as_echo "#define WITH_GSTREAMER 1" >>confdefs.h
15197
15198			;;
15199		openal)
15200
15201pkg_failed=no
15202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREEALUT" >&5
15203$as_echo_n "checking for FREEALUT... " >&6; }
15204
15205if test -n "$PKG_CONFIG"; then
15206    if test -n "$FREEALUT_CFLAGS"; then
15207        pkg_cv_FREEALUT_CFLAGS="$FREEALUT_CFLAGS"
15208    else
15209        if test -n "$PKG_CONFIG" && \
15210    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freealut >= 1.0.1\""; } >&5
15211  ($PKG_CONFIG --exists --print-errors "freealut >= 1.0.1") 2>&5
15212  ac_status=$?
15213  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15214  test $ac_status = 0; }; then
15215  pkg_cv_FREEALUT_CFLAGS=`$PKG_CONFIG --cflags "freealut >= 1.0.1" 2>/dev/null`
15216else
15217  pkg_failed=yes
15218fi
15219    fi
15220else
15221	pkg_failed=untried
15222fi
15223if test -n "$PKG_CONFIG"; then
15224    if test -n "$FREEALUT_LIBS"; then
15225        pkg_cv_FREEALUT_LIBS="$FREEALUT_LIBS"
15226    else
15227        if test -n "$PKG_CONFIG" && \
15228    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freealut >= 1.0.1\""; } >&5
15229  ($PKG_CONFIG --exists --print-errors "freealut >= 1.0.1") 2>&5
15230  ac_status=$?
15231  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15232  test $ac_status = 0; }; then
15233  pkg_cv_FREEALUT_LIBS=`$PKG_CONFIG --libs "freealut >= 1.0.1" 2>/dev/null`
15234else
15235  pkg_failed=yes
15236fi
15237    fi
15238else
15239	pkg_failed=untried
15240fi
15241
15242
15243
15244if test $pkg_failed = yes; then
15245
15246if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15247        _pkg_short_errors_supported=yes
15248else
15249        _pkg_short_errors_supported=no
15250fi
15251        if test $_pkg_short_errors_supported = yes; then
15252	        FREEALUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freealut >= 1.0.1"`
15253        else
15254	        FREEALUT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freealut >= 1.0.1"`
15255        fi
15256	# Put the nasty error message in config.log where it belongs
15257	echo "$FREEALUT_PKG_ERRORS" >&5
15258
15259	as_fn_error $? "Package requirements (freealut >= 1.0.1) were not met:
15260
15261$FREEALUT_PKG_ERRORS
15262
15263Consider adjusting the PKG_CONFIG_PATH environment variable if you
15264installed software in a non-standard prefix.
15265
15266Alternatively, you may set the environment variables FREEALUT_CFLAGS
15267and FREEALUT_LIBS to avoid the need to call pkg-config.
15268See the pkg-config man page for more details.
15269" "$LINENO" 5
15270elif test $pkg_failed = untried; then
15271	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15272$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15273as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15274is in your PATH or set the PKG_CONFIG environment variable to the full
15275path to pkg-config.
15276
15277Alternatively, you may set the environment variables FREEALUT_CFLAGS
15278and FREEALUT_LIBS to avoid the need to call pkg-config.
15279See the pkg-config man page for more details.
15280
15281To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
15282See \`config.log' for more details" "$LINENO" 5; }
15283else
15284	FREEALUT_CFLAGS=$pkg_cv_FREEALUT_CFLAGS
15285	FREEALUT_LIBS=$pkg_cv_FREEALUT_LIBS
15286        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15287$as_echo "yes" >&6; }
15288	:
15289fi
15290
15291$as_echo "#define WITH_OPENAL 1" >>confdefs.h
15292
15293			;;
15294		aplay)
15295			found_aplay_bin_dir=""
15296			for aplay_dir in /usr/local /usr $prefix
15297			do
15298				if test -f "$aplay_dir/bin/aplay"; then
15299					found_aplay_bin_dir="$aplay_dir/bin"
15300				fi
15301			done
15302
15303			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for aplay bin" >&5
15304$as_echo_n "checking for aplay bin... " >&6; }
15305			if test "x$found_aplay_bin_dir" != "x"; then
15306				{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found at $found_aplay_bin_dir" >&5
15307$as_echo "found at $found_aplay_bin_dir" >&6; }
15308			else
15309				{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15310$as_echo "no" >&6; }
15311				as_fn_error $? "Can't locate your aplay bin" "$LINENO" 5
15312			fi
15313
15314
15315$as_echo "#define WITH_APLAY 1" >>confdefs.h
15316
15317			APLAY_LIBS="-lpthread"
15318
15319			;;
15320		*)
15321			as_fn_error $? "Unsupported sound system selected, --with-sound=[yes|no|gstreamer|openal|aplay]" "$LINENO" 5
15322			;;
15323	esac
15324
15325
15326$as_echo "#define WITH_SOUND 1" >>confdefs.h
15327
15328fi
15329
15330
15331# Check whether --with-debug was given.
15332if test "${with_debug+set}" = set; then :
15333  withval=$with_debug;
15334fi
15335
15336if test "x$with_debug" == "xyes"; then
15337
15338$as_echo "#define WITH_DEBUG 1" >>confdefs.h
15339
15340fi
15341
15342
15343pkg_failed=no
15344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCRE" >&5
15345$as_echo_n "checking for PCRE... " >&6; }
15346
15347if test -n "$PKG_CONFIG"; then
15348    if test -n "$PCRE_CFLAGS"; then
15349        pkg_cv_PCRE_CFLAGS="$PCRE_CFLAGS"
15350    else
15351        if test -n "$PKG_CONFIG" && \
15352    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre >= 5.0\""; } >&5
15353  ($PKG_CONFIG --exists --print-errors "libpcre >= 5.0") 2>&5
15354  ac_status=$?
15355  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15356  test $ac_status = 0; }; then
15357  pkg_cv_PCRE_CFLAGS=`$PKG_CONFIG --cflags "libpcre >= 5.0" 2>/dev/null`
15358else
15359  pkg_failed=yes
15360fi
15361    fi
15362else
15363	pkg_failed=untried
15364fi
15365if test -n "$PKG_CONFIG"; then
15366    if test -n "$PCRE_LIBS"; then
15367        pkg_cv_PCRE_LIBS="$PCRE_LIBS"
15368    else
15369        if test -n "$PKG_CONFIG" && \
15370    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre >= 5.0\""; } >&5
15371  ($PKG_CONFIG --exists --print-errors "libpcre >= 5.0") 2>&5
15372  ac_status=$?
15373  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15374  test $ac_status = 0; }; then
15375  pkg_cv_PCRE_LIBS=`$PKG_CONFIG --libs "libpcre >= 5.0" 2>/dev/null`
15376else
15377  pkg_failed=yes
15378fi
15379    fi
15380else
15381	pkg_failed=untried
15382fi
15383
15384
15385
15386if test $pkg_failed = yes; then
15387
15388if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15389        _pkg_short_errors_supported=yes
15390else
15391        _pkg_short_errors_supported=no
15392fi
15393        if test $_pkg_short_errors_supported = yes; then
15394	        PCRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpcre >= 5.0"`
15395        else
15396	        PCRE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpcre >= 5.0"`
15397        fi
15398	# Put the nasty error message in config.log where it belongs
15399	echo "$PCRE_PKG_ERRORS" >&5
15400
15401	as_fn_error $? "Package requirements (libpcre >= 5.0) were not met:
15402
15403$PCRE_PKG_ERRORS
15404
15405Consider adjusting the PKG_CONFIG_PATH environment variable if you
15406installed software in a non-standard prefix.
15407
15408Alternatively, you may set the environment variables PCRE_CFLAGS
15409and PCRE_LIBS to avoid the need to call pkg-config.
15410See the pkg-config man page for more details.
15411" "$LINENO" 5
15412elif test $pkg_failed = untried; then
15413	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15414$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15415as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15416is in your PATH or set the PKG_CONFIG environment variable to the full
15417path to pkg-config.
15418
15419Alternatively, you may set the environment variables PCRE_CFLAGS
15420and PCRE_LIBS to avoid the need to call pkg-config.
15421See the pkg-config man page for more details.
15422
15423To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
15424See \`config.log' for more details" "$LINENO" 5; }
15425else
15426	PCRE_CFLAGS=$pkg_cv_PCRE_CFLAGS
15427	PCRE_LIBS=$pkg_cv_PCRE_LIBS
15428        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15429$as_echo "yes" >&6; }
15430	:
15431fi
15432
15433
15434# Check whether --with-keylogger was given.
15435if test "${with_keylogger+set}" = set; then :
15436  withval=$with_keylogger;
15437fi
15438
15439if test "x$with_keylogger" != "xno"; then
15440
15441$as_echo "#define WITH_KEYLOGGER 1" >>confdefs.h
15442
15443fi
15444
15445
15446# Check whether --with-spell was given.
15447if test "${with_spell+set}" = set; then :
15448  withval=$with_spell;
15449fi
15450
15451if test "x$with_spell" != "xno"; then
15452	if test "x$with_spell" = "x"; then
15453		with_spell="enchant"
15454	fi
15455
15456	case $with_spell in
15457		enchant|yes)
15458
15459pkg_failed=no
15460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENCHANT" >&5
15461$as_echo_n "checking for ENCHANT... " >&6; }
15462
15463if test -n "$PKG_CONFIG"; then
15464    if test -n "$ENCHANT_CFLAGS"; then
15465        pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS"
15466    else
15467        if test -n "$PKG_CONFIG" && \
15468    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= 1.0\""; } >&5
15469  ($PKG_CONFIG --exists --print-errors "enchant >= 1.0") 2>&5
15470  ac_status=$?
15471  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15472  test $ac_status = 0; }; then
15473  pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant >= 1.0" 2>/dev/null`
15474else
15475  pkg_failed=yes
15476fi
15477    fi
15478else
15479	pkg_failed=untried
15480fi
15481if test -n "$PKG_CONFIG"; then
15482    if test -n "$ENCHANT_LIBS"; then
15483        pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS"
15484    else
15485        if test -n "$PKG_CONFIG" && \
15486    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= 1.0\""; } >&5
15487  ($PKG_CONFIG --exists --print-errors "enchant >= 1.0") 2>&5
15488  ac_status=$?
15489  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15490  test $ac_status = 0; }; then
15491  pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant >= 1.0" 2>/dev/null`
15492else
15493  pkg_failed=yes
15494fi
15495    fi
15496else
15497	pkg_failed=untried
15498fi
15499
15500
15501
15502if test $pkg_failed = yes; then
15503
15504if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15505        _pkg_short_errors_supported=yes
15506else
15507        _pkg_short_errors_supported=no
15508fi
15509        if test $_pkg_short_errors_supported = yes; then
15510	        ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "enchant >= 1.0"`
15511        else
15512	        ENCHANT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "enchant >= 1.0"`
15513        fi
15514	# Put the nasty error message in config.log where it belongs
15515	echo "$ENCHANT_PKG_ERRORS" >&5
15516
15517	as_fn_error $? "Package requirements (enchant >= 1.0) were not met:
15518
15519$ENCHANT_PKG_ERRORS
15520
15521Consider adjusting the PKG_CONFIG_PATH environment variable if you
15522installed software in a non-standard prefix.
15523
15524Alternatively, you may set the environment variables ENCHANT_CFLAGS
15525and ENCHANT_LIBS to avoid the need to call pkg-config.
15526See the pkg-config man page for more details.
15527" "$LINENO" 5
15528elif test $pkg_failed = untried; then
15529	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15530$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15531as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15532is in your PATH or set the PKG_CONFIG environment variable to the full
15533path to pkg-config.
15534
15535Alternatively, you may set the environment variables ENCHANT_CFLAGS
15536and ENCHANT_LIBS to avoid the need to call pkg-config.
15537See the pkg-config man page for more details.
15538
15539To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
15540See \`config.log' for more details" "$LINENO" 5; }
15541else
15542	ENCHANT_CFLAGS=$pkg_cv_ENCHANT_CFLAGS
15543	ENCHANT_LIBS=$pkg_cv_ENCHANT_LIBS
15544        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15545$as_echo "yes" >&6; }
15546	:
15547fi
15548
15549$as_echo "#define WITH_ENCHANT 1" >>confdefs.h
15550
15551			;;
15552		aspell)
15553
15554# Check whether --with-aspell was given.
15555if test "${with_aspell+set}" = set; then :
15556  withval=$with_aspell;
15557fi
15558
15559			if test "x$with_aspell" != "xno"; then
15560				found_aspell_include_dir=""
15561				found_aspell_lib_dir=""
15562				for aspell_dir in /usr/local /usr $prefix
15563				do
15564					if test -f "$aspell_dir/include/aspell.h"; then
15565						found_aspell_include_dir="$aspell_dir/include"
15566					fi
15567
15568					if test -f "$aspell_dir/lib/libaspell.so"; then
15569						found_aspell_lib_dir="$aspell_dir/lib"
15570					fi
15571					if test -f "$aspell_dir/lib64/libaspell.so"; then
15572						found_aspell_lib_dir="$aspell_dir/lib64"
15573					fi
15574				done
15575
15576				{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for aspell header" >&5
15577$as_echo_n "checking for aspell header... " >&6; }
15578				if test "x$found_aspell_include_dir" != "x"; then
15579					{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found at $found_aspell_include_dir" >&5
15580$as_echo "found at $found_aspell_include_dir" >&6; }
15581					ASPELL_CFLAGS="-I$found_aspell_include_dir"
15582				else
15583					{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15584$as_echo "no" >&6; }
15585					as_fn_error $? "Can't locate your aspell headers" "$LINENO" 5
15586				fi
15587
15588				{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for aspell library" >&5
15589$as_echo_n "checking for aspell library... " >&6; }
15590				if test "x$found_aspell_lib_dir" != "x"; then
15591					{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found at $found_aspell_lib_dir" >&5
15592$as_echo "found at $found_aspell_lib_dir" >&6; }
15593					ASPELL_LIBS="-L$found_aspell_lib_dir -laspell"
15594				else
15595					{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15596$as_echo "no" >&6; }
15597					as_fn_error $? "Can't locate your aspell library" "$LINENO" 5
15598				fi
15599
15600
15601$as_echo "#define WITH_ASPELL 1" >>confdefs.h
15602
15603
15604
15605			fi
15606			;;
15607		*)
15608			as_fn_error $? "Unsupported spell system selected, --with-spell=[yes|no|enchant|aspell]" "$LINENO" 5
15609			;;
15610	esac
15611fi
15612
15613
15614# Check whether --with-xosd was given.
15615if test "${with_xosd+set}" = set; then :
15616  withval=$with_xosd;
15617fi
15618
15619if test "x$with_xosd" != "xno"; then
15620	found_xosd_bin_dir=""
15621	for xosd_dir in /usr/local /usr $prefix
15622	do
15623		if test -f "$xosd_dir/bin/xosd-config"; then
15624			found_xosd_bin_dir="$xosd_dir/bin"
15625		fi
15626	done
15627
15628	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xosd-config bin" >&5
15629$as_echo_n "checking for xosd-config bin... " >&6; }
15630	if test "x$found_xosd_bin_dir" != "x"; then
15631		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found at $found_xosd_bin_dir" >&5
15632$as_echo "found at $found_xosd_bin_dir" >&6; }
15633	else
15634		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15635$as_echo "no" >&6; }
15636		as_fn_error $? "Can't locate your xosd-config bin" "$LINENO" 5
15637	fi
15638
15639
15640$as_echo "#define WITH_XOSD 1" >>confdefs.h
15641
15642	XOSD_LIBS=`xosd-config --libs`
15643	XOSD_CFLAGS=`xosd-config --cflags`
15644
15645
15646
15647fi
15648
15649
15650# Check whether --with-libnotify was given.
15651if test "${with_libnotify+set}" = set; then :
15652  withval=$with_libnotify;
15653fi
15654
15655if test "x$with_libnotify" != "xno"; then
15656
15657
15658# Check whether --with-gtk was given.
15659if test "${with_gtk+set}" = set; then :
15660  withval=$with_gtk;
15661fi
15662
15663	if test "x$with_gtk" != "xno"; then
15664		if test "x$with_gtk" = "x"; then
15665			with_gtk="gtk3"
15666		fi
15667
15668		case $with_gtk in
15669			gtk2)
15670
15671pkg_failed=no
15672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
15673$as_echo_n "checking for GTK... " >&6; }
15674
15675if test -n "$PKG_CONFIG"; then
15676    if test -n "$GTK_CFLAGS"; then
15677        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
15678    else
15679        if test -n "$PKG_CONFIG" && \
15680    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
15681  ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
15682  ac_status=$?
15683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15684  test $ac_status = 0; }; then
15685  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
15686else
15687  pkg_failed=yes
15688fi
15689    fi
15690else
15691	pkg_failed=untried
15692fi
15693if test -n "$PKG_CONFIG"; then
15694    if test -n "$GTK_LIBS"; then
15695        pkg_cv_GTK_LIBS="$GTK_LIBS"
15696    else
15697        if test -n "$PKG_CONFIG" && \
15698    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
15699  ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
15700  ac_status=$?
15701  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15702  test $ac_status = 0; }; then
15703  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
15704else
15705  pkg_failed=yes
15706fi
15707    fi
15708else
15709	pkg_failed=untried
15710fi
15711
15712
15713
15714if test $pkg_failed = yes; then
15715
15716if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15717        _pkg_short_errors_supported=yes
15718else
15719        _pkg_short_errors_supported=no
15720fi
15721        if test $_pkg_short_errors_supported = yes; then
15722	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
15723        else
15724	        GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
15725        fi
15726	# Put the nasty error message in config.log where it belongs
15727	echo "$GTK_PKG_ERRORS" >&5
15728
15729	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15730$as_echo "no" >&6; }
15731                found_gtk="no"
15732elif test $pkg_failed = untried; then
15733	found_gtk="no"
15734else
15735	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
15736	GTK_LIBS=$pkg_cv_GTK_LIBS
15737        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15738$as_echo "yes" >&6; }
15739	found_gtk="yes"
15740fi
15741				;;
15742			gtk3|yes)
15743
15744pkg_failed=no
15745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
15746$as_echo_n "checking for GTK... " >&6; }
15747
15748if test -n "$PKG_CONFIG"; then
15749    if test -n "$GTK_CFLAGS"; then
15750        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
15751    else
15752        if test -n "$PKG_CONFIG" && \
15753    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
15754  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
15755  ac_status=$?
15756  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15757  test $ac_status = 0; }; then
15758  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
15759else
15760  pkg_failed=yes
15761fi
15762    fi
15763else
15764	pkg_failed=untried
15765fi
15766if test -n "$PKG_CONFIG"; then
15767    if test -n "$GTK_LIBS"; then
15768        pkg_cv_GTK_LIBS="$GTK_LIBS"
15769    else
15770        if test -n "$PKG_CONFIG" && \
15771    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
15772  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
15773  ac_status=$?
15774  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15775  test $ac_status = 0; }; then
15776  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
15777else
15778  pkg_failed=yes
15779fi
15780    fi
15781else
15782	pkg_failed=untried
15783fi
15784
15785
15786
15787if test $pkg_failed = yes; then
15788
15789if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15790        _pkg_short_errors_supported=yes
15791else
15792        _pkg_short_errors_supported=no
15793fi
15794        if test $_pkg_short_errors_supported = yes; then
15795	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-3.0"`
15796        else
15797	        GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-3.0"`
15798        fi
15799	# Put the nasty error message in config.log where it belongs
15800	echo "$GTK_PKG_ERRORS" >&5
15801
15802	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15803$as_echo "no" >&6; }
15804                found_gtk="no"
15805elif test $pkg_failed = untried; then
15806	found_gtk="no"
15807else
15808	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
15809	GTK_LIBS=$pkg_cv_GTK_LIBS
15810        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15811$as_echo "yes" >&6; }
15812	found_gtk="yes"
15813fi
15814				;;
15815			*)
15816				as_fn_error $? "Unsupported Gtk+ selected, --with-gtk=[yes|no|gtk2|gtk3]" "$LINENO" 5
15817				;;
15818		esac
15819
15820
15821pkg_failed=no
15822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
15823$as_echo_n "checking for LIBNOTIFY... " >&6; }
15824
15825if test -n "$PKG_CONFIG"; then
15826    if test -n "$LIBNOTIFY_CFLAGS"; then
15827        pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
15828    else
15829        if test -n "$PKG_CONFIG" && \
15830    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4.0\""; } >&5
15831  ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4.0") 2>&5
15832  ac_status=$?
15833  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15834  test $ac_status = 0; }; then
15835  pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4.0" 2>/dev/null`
15836else
15837  pkg_failed=yes
15838fi
15839    fi
15840else
15841	pkg_failed=untried
15842fi
15843if test -n "$PKG_CONFIG"; then
15844    if test -n "$LIBNOTIFY_LIBS"; then
15845        pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
15846    else
15847        if test -n "$PKG_CONFIG" && \
15848    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4.0\""; } >&5
15849  ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4.0") 2>&5
15850  ac_status=$?
15851  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15852  test $ac_status = 0; }; then
15853  pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4.0" 2>/dev/null`
15854else
15855  pkg_failed=yes
15856fi
15857    fi
15858else
15859	pkg_failed=untried
15860fi
15861
15862
15863
15864if test $pkg_failed = yes; then
15865
15866if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15867        _pkg_short_errors_supported=yes
15868else
15869        _pkg_short_errors_supported=no
15870fi
15871        if test $_pkg_short_errors_supported = yes; then
15872	        LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4.0"`
15873        else
15874	        LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4.0"`
15875        fi
15876	# Put the nasty error message in config.log where it belongs
15877	echo "$LIBNOTIFY_PKG_ERRORS" >&5
15878
15879	as_fn_error $? "Package requirements (libnotify >= 0.4.0) were not met:
15880
15881$LIBNOTIFY_PKG_ERRORS
15882
15883Consider adjusting the PKG_CONFIG_PATH environment variable if you
15884installed software in a non-standard prefix.
15885
15886Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
15887and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
15888See the pkg-config man page for more details.
15889" "$LINENO" 5
15890elif test $pkg_failed = untried; then
15891	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15892$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15893as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15894is in your PATH or set the PKG_CONFIG environment variable to the full
15895path to pkg-config.
15896
15897Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
15898and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
15899See the pkg-config man page for more details.
15900
15901To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
15902See \`config.log' for more details" "$LINENO" 5; }
15903else
15904	LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
15905	LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
15906        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15907$as_echo "yes" >&6; }
15908	:
15909fi
15910
15911$as_echo "#define WITH_LIBNOTIFY 1" >>confdefs.h
15912
15913	fi
15914fi
15915
15916
15917# Check whether --with-plugins was given.
15918if test "${with_plugins+set}" = set; then :
15919  withval=$with_plugins;
15920fi
15921
15922if test "x$with_plugins" != "xno"; then
15923
15924$as_echo "#define WITH_PLUGINS 1" >>confdefs.h
15925
15926fi
15927
15928DEFAULT_CFLAGS="-Wall -Wextra  -g0 -std=gnu99 -fPIC"
15929
15930
15931ac_config_files="$ac_config_files pixmaps/Makefile plugins/Makefile plugins/test/Makefile plugins/statistic/Makefile share/Makefile share/sounds/Makefile share/languages/Makefile share/languages/by/Makefile share/languages/bg/Makefile share/languages/cz/Makefile share/languages/de/Makefile share/languages/ge/Makefile share/languages/gr/Makefile share/languages/en/Makefile share/languages/es/Makefile share/languages/ee/Makefile share/languages/fr/Makefile share/languages/gb/Makefile share/languages/am/Makefile share/languages/kz/Makefile share/languages/lt/Makefile share/languages/lv/Makefile share/languages/pl/Makefile share/languages/ro/Makefile share/languages/ru/Makefile share/languages/ua/Makefile share/languages/us/Makefile share/languages/uz/Makefile etc/Makefile lib/Makefile lib/lib/Makefile lib/ai/Makefile lib/config/Makefile lib/misc/Makefile lib/notify/Makefile lib/main/Makefile src/Makefile po/Makefile.in Makefile xnconfig.pc xneur.pc"
15932
15933cat >confcache <<\_ACEOF
15934# This file is a shell script that caches the results of configure
15935# tests run on this system so they can be shared between configure
15936# scripts and configure runs, see configure's option --config-cache.
15937# It is not useful on other systems.  If it contains results you don't
15938# want to keep, you may remove or edit it.
15939#
15940# config.status only pays attention to the cache file if you give it
15941# the --recheck option to rerun configure.
15942#
15943# `ac_cv_env_foo' variables (set or unset) will be overridden when
15944# loading this file, other *unset* `ac_cv_foo' will be assigned the
15945# following values.
15946
15947_ACEOF
15948
15949# The following way of writing the cache mishandles newlines in values,
15950# but we know of no workaround that is simple, portable, and efficient.
15951# So, we kill variables containing newlines.
15952# Ultrix sh set writes to stderr and can't be redirected directly,
15953# and sets the high bit in the cache file unless we assign to the vars.
15954(
15955  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15956    eval ac_val=\$$ac_var
15957    case $ac_val in #(
15958    *${as_nl}*)
15959      case $ac_var in #(
15960      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15961$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15962      esac
15963      case $ac_var in #(
15964      _ | IFS | as_nl) ;; #(
15965      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15966      *) { eval $ac_var=; unset $ac_var;} ;;
15967      esac ;;
15968    esac
15969  done
15970
15971  (set) 2>&1 |
15972    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15973    *${as_nl}ac_space=\ *)
15974      # `set' does not quote correctly, so add quotes: double-quote
15975      # substitution turns \\\\ into \\, and sed turns \\ into \.
15976      sed -n \
15977	"s/'/'\\\\''/g;
15978	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15979      ;; #(
15980    *)
15981      # `set' quotes correctly as required by POSIX, so do not add quotes.
15982      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15983      ;;
15984    esac |
15985    sort
15986) |
15987  sed '
15988     /^ac_cv_env_/b end
15989     t clear
15990     :clear
15991     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15992     t end
15993     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15994     :end' >>confcache
15995if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15996  if test -w "$cache_file"; then
15997    if test "x$cache_file" != "x/dev/null"; then
15998      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15999$as_echo "$as_me: updating cache $cache_file" >&6;}
16000      if test ! -f "$cache_file" || test -h "$cache_file"; then
16001	cat confcache >"$cache_file"
16002      else
16003        case $cache_file in #(
16004        */* | ?:*)
16005	  mv -f confcache "$cache_file"$$ &&
16006	  mv -f "$cache_file"$$ "$cache_file" ;; #(
16007        *)
16008	  mv -f confcache "$cache_file" ;;
16009	esac
16010      fi
16011    fi
16012  else
16013    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16014$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16015  fi
16016fi
16017rm -f confcache
16018
16019test "x$prefix" = xNONE && prefix=$ac_default_prefix
16020# Let make expand exec_prefix.
16021test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16022
16023DEFS=-DHAVE_CONFIG_H
16024
16025ac_libobjs=
16026ac_ltlibobjs=
16027U=
16028for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16029  # 1. Remove the extension, and $U if already installed.
16030  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16031  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16032  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16033  #    will be set to the directory where LIBOBJS objects are built.
16034  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16035  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16036done
16037LIBOBJS=$ac_libobjs
16038
16039LTLIBOBJS=$ac_ltlibobjs
16040
16041
16042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16043$as_echo_n "checking that generated files are newer than configure... " >&6; }
16044   if test -n "$am_sleep_pid"; then
16045     # Hide warnings about reused PIDs.
16046     wait $am_sleep_pid 2>/dev/null
16047   fi
16048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16049$as_echo "done" >&6; }
16050 if test -n "$EXEEXT"; then
16051  am__EXEEXT_TRUE=
16052  am__EXEEXT_FALSE='#'
16053else
16054  am__EXEEXT_TRUE='#'
16055  am__EXEEXT_FALSE=
16056fi
16057
16058if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16059  as_fn_error $? "conditional \"AMDEP\" was never defined.
16060Usually this means the macro was only invoked conditionally." "$LINENO" 5
16061fi
16062if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16063  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16064Usually this means the macro was only invoked conditionally." "$LINENO" 5
16065fi
16066
16067  ac_config_commands="$ac_config_commands po/stamp-it"
16068
16069
16070
16071: "${CONFIG_STATUS=./config.status}"
16072ac_write_fail=0
16073ac_clean_files_save=$ac_clean_files
16074ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16075{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16076$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16077as_write_fail=0
16078cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16079#! $SHELL
16080# Generated by $as_me.
16081# Run this file to recreate the current configuration.
16082# Compiler output produced by configure, useful for debugging
16083# configure, is in config.log if it exists.
16084
16085debug=false
16086ac_cs_recheck=false
16087ac_cs_silent=false
16088
16089SHELL=\${CONFIG_SHELL-$SHELL}
16090export SHELL
16091_ASEOF
16092cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16093## -------------------- ##
16094## M4sh Initialization. ##
16095## -------------------- ##
16096
16097# Be more Bourne compatible
16098DUALCASE=1; export DUALCASE # for MKS sh
16099if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16100  emulate sh
16101  NULLCMD=:
16102  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16103  # is contrary to our usage.  Disable this feature.
16104  alias -g '${1+"$@"}'='"$@"'
16105  setopt NO_GLOB_SUBST
16106else
16107  case `(set -o) 2>/dev/null` in #(
16108  *posix*) :
16109    set -o posix ;; #(
16110  *) :
16111     ;;
16112esac
16113fi
16114
16115
16116as_nl='
16117'
16118export as_nl
16119# Printing a long string crashes Solaris 7 /usr/bin/printf.
16120as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16121as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16122as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16123# Prefer a ksh shell builtin over an external printf program on Solaris,
16124# but without wasting forks for bash or zsh.
16125if test -z "$BASH_VERSION$ZSH_VERSION" \
16126    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16127  as_echo='print -r --'
16128  as_echo_n='print -rn --'
16129elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16130  as_echo='printf %s\n'
16131  as_echo_n='printf %s'
16132else
16133  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16134    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16135    as_echo_n='/usr/ucb/echo -n'
16136  else
16137    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16138    as_echo_n_body='eval
16139      arg=$1;
16140      case $arg in #(
16141      *"$as_nl"*)
16142	expr "X$arg" : "X\\(.*\\)$as_nl";
16143	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16144      esac;
16145      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16146    '
16147    export as_echo_n_body
16148    as_echo_n='sh -c $as_echo_n_body as_echo'
16149  fi
16150  export as_echo_body
16151  as_echo='sh -c $as_echo_body as_echo'
16152fi
16153
16154# The user is always right.
16155if test "${PATH_SEPARATOR+set}" != set; then
16156  PATH_SEPARATOR=:
16157  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16158    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16159      PATH_SEPARATOR=';'
16160  }
16161fi
16162
16163
16164# IFS
16165# We need space, tab and new line, in precisely that order.  Quoting is
16166# there to prevent editors from complaining about space-tab.
16167# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16168# splitting by setting IFS to empty value.)
16169IFS=" ""	$as_nl"
16170
16171# Find who we are.  Look in the path if we contain no directory separator.
16172as_myself=
16173case $0 in #((
16174  *[\\/]* ) as_myself=$0 ;;
16175  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16176for as_dir in $PATH
16177do
16178  IFS=$as_save_IFS
16179  test -z "$as_dir" && as_dir=.
16180    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16181  done
16182IFS=$as_save_IFS
16183
16184     ;;
16185esac
16186# We did not find ourselves, most probably we were run as `sh COMMAND'
16187# in which case we are not to be found in the path.
16188if test "x$as_myself" = x; then
16189  as_myself=$0
16190fi
16191if test ! -f "$as_myself"; then
16192  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16193  exit 1
16194fi
16195
16196# Unset variables that we do not need and which cause bugs (e.g. in
16197# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16198# suppresses any "Segmentation fault" message there.  '((' could
16199# trigger a bug in pdksh 5.2.14.
16200for as_var in BASH_ENV ENV MAIL MAILPATH
16201do eval test x\${$as_var+set} = xset \
16202  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16203done
16204PS1='$ '
16205PS2='> '
16206PS4='+ '
16207
16208# NLS nuisances.
16209LC_ALL=C
16210export LC_ALL
16211LANGUAGE=C
16212export LANGUAGE
16213
16214# CDPATH.
16215(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16216
16217
16218# as_fn_error STATUS ERROR [LINENO LOG_FD]
16219# ----------------------------------------
16220# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16221# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16222# script with STATUS, using 1 if that was 0.
16223as_fn_error ()
16224{
16225  as_status=$1; test $as_status -eq 0 && as_status=1
16226  if test "$4"; then
16227    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16228    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16229  fi
16230  $as_echo "$as_me: error: $2" >&2
16231  as_fn_exit $as_status
16232} # as_fn_error
16233
16234
16235# as_fn_set_status STATUS
16236# -----------------------
16237# Set $? to STATUS, without forking.
16238as_fn_set_status ()
16239{
16240  return $1
16241} # as_fn_set_status
16242
16243# as_fn_exit STATUS
16244# -----------------
16245# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16246as_fn_exit ()
16247{
16248  set +e
16249  as_fn_set_status $1
16250  exit $1
16251} # as_fn_exit
16252
16253# as_fn_unset VAR
16254# ---------------
16255# Portably unset VAR.
16256as_fn_unset ()
16257{
16258  { eval $1=; unset $1;}
16259}
16260as_unset=as_fn_unset
16261# as_fn_append VAR VALUE
16262# ----------------------
16263# Append the text in VALUE to the end of the definition contained in VAR. Take
16264# advantage of any shell optimizations that allow amortized linear growth over
16265# repeated appends, instead of the typical quadratic growth present in naive
16266# implementations.
16267if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16268  eval 'as_fn_append ()
16269  {
16270    eval $1+=\$2
16271  }'
16272else
16273  as_fn_append ()
16274  {
16275    eval $1=\$$1\$2
16276  }
16277fi # as_fn_append
16278
16279# as_fn_arith ARG...
16280# ------------------
16281# Perform arithmetic evaluation on the ARGs, and store the result in the
16282# global $as_val. Take advantage of shells that can avoid forks. The arguments
16283# must be portable across $(()) and expr.
16284if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16285  eval 'as_fn_arith ()
16286  {
16287    as_val=$(( $* ))
16288  }'
16289else
16290  as_fn_arith ()
16291  {
16292    as_val=`expr "$@" || test $? -eq 1`
16293  }
16294fi # as_fn_arith
16295
16296
16297if expr a : '\(a\)' >/dev/null 2>&1 &&
16298   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16299  as_expr=expr
16300else
16301  as_expr=false
16302fi
16303
16304if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16305  as_basename=basename
16306else
16307  as_basename=false
16308fi
16309
16310if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16311  as_dirname=dirname
16312else
16313  as_dirname=false
16314fi
16315
16316as_me=`$as_basename -- "$0" ||
16317$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16318	 X"$0" : 'X\(//\)$' \| \
16319	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16320$as_echo X/"$0" |
16321    sed '/^.*\/\([^/][^/]*\)\/*$/{
16322	    s//\1/
16323	    q
16324	  }
16325	  /^X\/\(\/\/\)$/{
16326	    s//\1/
16327	    q
16328	  }
16329	  /^X\/\(\/\).*/{
16330	    s//\1/
16331	    q
16332	  }
16333	  s/.*/./; q'`
16334
16335# Avoid depending upon Character Ranges.
16336as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16337as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16338as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16339as_cr_digits='0123456789'
16340as_cr_alnum=$as_cr_Letters$as_cr_digits
16341
16342ECHO_C= ECHO_N= ECHO_T=
16343case `echo -n x` in #(((((
16344-n*)
16345  case `echo 'xy\c'` in
16346  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
16347  xy)  ECHO_C='\c';;
16348  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16349       ECHO_T='	';;
16350  esac;;
16351*)
16352  ECHO_N='-n';;
16353esac
16354
16355rm -f conf$$ conf$$.exe conf$$.file
16356if test -d conf$$.dir; then
16357  rm -f conf$$.dir/conf$$.file
16358else
16359  rm -f conf$$.dir
16360  mkdir conf$$.dir 2>/dev/null
16361fi
16362if (echo >conf$$.file) 2>/dev/null; then
16363  if ln -s conf$$.file conf$$ 2>/dev/null; then
16364    as_ln_s='ln -s'
16365    # ... but there are two gotchas:
16366    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16367    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16368    # In both cases, we have to default to `cp -pR'.
16369    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16370      as_ln_s='cp -pR'
16371  elif ln conf$$.file conf$$ 2>/dev/null; then
16372    as_ln_s=ln
16373  else
16374    as_ln_s='cp -pR'
16375  fi
16376else
16377  as_ln_s='cp -pR'
16378fi
16379rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16380rmdir conf$$.dir 2>/dev/null
16381
16382
16383# as_fn_mkdir_p
16384# -------------
16385# Create "$as_dir" as a directory, including parents if necessary.
16386as_fn_mkdir_p ()
16387{
16388
16389  case $as_dir in #(
16390  -*) as_dir=./$as_dir;;
16391  esac
16392  test -d "$as_dir" || eval $as_mkdir_p || {
16393    as_dirs=
16394    while :; do
16395      case $as_dir in #(
16396      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16397      *) as_qdir=$as_dir;;
16398      esac
16399      as_dirs="'$as_qdir' $as_dirs"
16400      as_dir=`$as_dirname -- "$as_dir" ||
16401$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16402	 X"$as_dir" : 'X\(//\)[^/]' \| \
16403	 X"$as_dir" : 'X\(//\)$' \| \
16404	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16405$as_echo X"$as_dir" |
16406    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16407	    s//\1/
16408	    q
16409	  }
16410	  /^X\(\/\/\)[^/].*/{
16411	    s//\1/
16412	    q
16413	  }
16414	  /^X\(\/\/\)$/{
16415	    s//\1/
16416	    q
16417	  }
16418	  /^X\(\/\).*/{
16419	    s//\1/
16420	    q
16421	  }
16422	  s/.*/./; q'`
16423      test -d "$as_dir" && break
16424    done
16425    test -z "$as_dirs" || eval "mkdir $as_dirs"
16426  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16427
16428
16429} # as_fn_mkdir_p
16430if mkdir -p . 2>/dev/null; then
16431  as_mkdir_p='mkdir -p "$as_dir"'
16432else
16433  test -d ./-p && rmdir ./-p
16434  as_mkdir_p=false
16435fi
16436
16437
16438# as_fn_executable_p FILE
16439# -----------------------
16440# Test if FILE is an executable regular file.
16441as_fn_executable_p ()
16442{
16443  test -f "$1" && test -x "$1"
16444} # as_fn_executable_p
16445as_test_x='test -x'
16446as_executable_p=as_fn_executable_p
16447
16448# Sed expression to map a string onto a valid CPP name.
16449as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16450
16451# Sed expression to map a string onto a valid variable name.
16452as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16453
16454
16455exec 6>&1
16456## ----------------------------------- ##
16457## Main body of $CONFIG_STATUS script. ##
16458## ----------------------------------- ##
16459_ASEOF
16460test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16461
16462cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16463# Save the log message, to keep $0 and so on meaningful, and to
16464# report actual input values of CONFIG_FILES etc. instead of their
16465# values after options handling.
16466ac_log="
16467This file was extended by xneur $as_me 0.20.0, which was
16468generated by GNU Autoconf 2.69.  Invocation command line was
16469
16470  CONFIG_FILES    = $CONFIG_FILES
16471  CONFIG_HEADERS  = $CONFIG_HEADERS
16472  CONFIG_LINKS    = $CONFIG_LINKS
16473  CONFIG_COMMANDS = $CONFIG_COMMANDS
16474  $ $0 $@
16475
16476on `(hostname || uname -n) 2>/dev/null | sed 1q`
16477"
16478
16479_ACEOF
16480
16481case $ac_config_files in *"
16482"*) set x $ac_config_files; shift; ac_config_files=$*;;
16483esac
16484
16485case $ac_config_headers in *"
16486"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16487esac
16488
16489
16490cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16491# Files that config.status was made for.
16492config_files="$ac_config_files"
16493config_headers="$ac_config_headers"
16494config_commands="$ac_config_commands"
16495
16496_ACEOF
16497
16498cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16499ac_cs_usage="\
16500\`$as_me' instantiates files and other configuration actions
16501from templates according to the current configuration.  Unless the files
16502and actions are specified as TAGs, all are instantiated by default.
16503
16504Usage: $0 [OPTION]... [TAG]...
16505
16506  -h, --help       print this help, then exit
16507  -V, --version    print version number and configuration settings, then exit
16508      --config     print configuration, then exit
16509  -q, --quiet, --silent
16510                   do not print progress messages
16511  -d, --debug      don't remove temporary files
16512      --recheck    update $as_me by reconfiguring in the same conditions
16513      --file=FILE[:TEMPLATE]
16514                   instantiate the configuration file FILE
16515      --header=FILE[:TEMPLATE]
16516                   instantiate the configuration header FILE
16517
16518Configuration files:
16519$config_files
16520
16521Configuration headers:
16522$config_headers
16523
16524Configuration commands:
16525$config_commands
16526
16527Report bugs to the package provider."
16528
16529_ACEOF
16530cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16531ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16532ac_cs_version="\\
16533xneur config.status 0.20.0
16534configured by $0, generated by GNU Autoconf 2.69,
16535  with options \\"\$ac_cs_config\\"
16536
16537Copyright (C) 2012 Free Software Foundation, Inc.
16538This config.status script is free software; the Free Software Foundation
16539gives unlimited permission to copy, distribute and modify it."
16540
16541ac_pwd='$ac_pwd'
16542srcdir='$srcdir'
16543INSTALL='$INSTALL'
16544MKDIR_P='$MKDIR_P'
16545AWK='$AWK'
16546test -n "\$AWK" || AWK=awk
16547_ACEOF
16548
16549cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16550# The default lists apply if the user does not specify any file.
16551ac_need_defaults=:
16552while test $# != 0
16553do
16554  case $1 in
16555  --*=?*)
16556    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16557    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16558    ac_shift=:
16559    ;;
16560  --*=)
16561    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16562    ac_optarg=
16563    ac_shift=:
16564    ;;
16565  *)
16566    ac_option=$1
16567    ac_optarg=$2
16568    ac_shift=shift
16569    ;;
16570  esac
16571
16572  case $ac_option in
16573  # Handling of the options.
16574  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16575    ac_cs_recheck=: ;;
16576  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16577    $as_echo "$ac_cs_version"; exit ;;
16578  --config | --confi | --conf | --con | --co | --c )
16579    $as_echo "$ac_cs_config"; exit ;;
16580  --debug | --debu | --deb | --de | --d | -d )
16581    debug=: ;;
16582  --file | --fil | --fi | --f )
16583    $ac_shift
16584    case $ac_optarg in
16585    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16586    '') as_fn_error $? "missing file argument" ;;
16587    esac
16588    as_fn_append CONFIG_FILES " '$ac_optarg'"
16589    ac_need_defaults=false;;
16590  --header | --heade | --head | --hea )
16591    $ac_shift
16592    case $ac_optarg in
16593    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16594    esac
16595    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16596    ac_need_defaults=false;;
16597  --he | --h)
16598    # Conflict between --help and --header
16599    as_fn_error $? "ambiguous option: \`$1'
16600Try \`$0 --help' for more information.";;
16601  --help | --hel | -h )
16602    $as_echo "$ac_cs_usage"; exit ;;
16603  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16604  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16605    ac_cs_silent=: ;;
16606
16607  # This is an error.
16608  -*) as_fn_error $? "unrecognized option: \`$1'
16609Try \`$0 --help' for more information." ;;
16610
16611  *) as_fn_append ac_config_targets " $1"
16612     ac_need_defaults=false ;;
16613
16614  esac
16615  shift
16616done
16617
16618ac_configure_extra_args=
16619
16620if $ac_cs_silent; then
16621  exec 6>/dev/null
16622  ac_configure_extra_args="$ac_configure_extra_args --silent"
16623fi
16624
16625_ACEOF
16626cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16627if \$ac_cs_recheck; then
16628  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16629  shift
16630  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16631  CONFIG_SHELL='$SHELL'
16632  export CONFIG_SHELL
16633  exec "\$@"
16634fi
16635
16636_ACEOF
16637cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16638exec 5>>config.log
16639{
16640  echo
16641  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16642## Running $as_me. ##
16643_ASBOX
16644  $as_echo "$ac_log"
16645} >&5
16646
16647_ACEOF
16648cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16649#
16650# INIT-COMMANDS
16651#
16652AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16653
16654
16655
16656# The HP-UX ksh and POSIX shell print the target directory to stdout
16657# if CDPATH is set.
16658(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16659
16660sed_quote_subst='$sed_quote_subst'
16661double_quote_subst='$double_quote_subst'
16662delay_variable_subst='$delay_variable_subst'
16663macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16664macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16665enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16666enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16667pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16668enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16669shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16670SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16671ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16672PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16673host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16674host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16675host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16676build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16677build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16678build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16679SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16680Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16681GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16682EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16683FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16684LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16685NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16686LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16687max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16688ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16689exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16690lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16691lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16692lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16693lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16694lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16695reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16696reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16697OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16698deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16699file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16700file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16701want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16702DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16703sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16704AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16705AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16706archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16707STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16708RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16709old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16710old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16711old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16712lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16713CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16714CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16715compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16716GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16717lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16718lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16719lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16720lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16721lt_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"`'
16722lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16723nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16724lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16725lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16726objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16727MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16728lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16729lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16730lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16731lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16732lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16733need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16734MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16735DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16736NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16737LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16738OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16739OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16740libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16741shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16742extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16743archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16744enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16745export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16746whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16747compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16748old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16749old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16750archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16751archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16752module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16753module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16754with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16755allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16756no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16757hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16758hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16759hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16760hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16761hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16762hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16763hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16764inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16765link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16766always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16767export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16768exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16769include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16770prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16771postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16772file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16773variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16774need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16775need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16776version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16777runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16778shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16779shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16780libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16781library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16782soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16783install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16784postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16785postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16786finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16787finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16788hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16789sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16790configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16791configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16792hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16793enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16794enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16795enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16796old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16797striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16798
16799LTCC='$LTCC'
16800LTCFLAGS='$LTCFLAGS'
16801compiler='$compiler_DEFAULT'
16802
16803# A function that is used when there is no print builtin or printf.
16804func_fallback_echo ()
16805{
16806  eval 'cat <<_LTECHO_EOF
16807\$1
16808_LTECHO_EOF'
16809}
16810
16811# Quote evaled strings.
16812for var in SHELL \
16813ECHO \
16814PATH_SEPARATOR \
16815SED \
16816GREP \
16817EGREP \
16818FGREP \
16819LD \
16820NM \
16821LN_S \
16822lt_SP2NL \
16823lt_NL2SP \
16824reload_flag \
16825OBJDUMP \
16826deplibs_check_method \
16827file_magic_cmd \
16828file_magic_glob \
16829want_nocaseglob \
16830DLLTOOL \
16831sharedlib_from_linklib_cmd \
16832AR \
16833AR_FLAGS \
16834archiver_list_spec \
16835STRIP \
16836RANLIB \
16837CC \
16838CFLAGS \
16839compiler \
16840lt_cv_sys_global_symbol_pipe \
16841lt_cv_sys_global_symbol_to_cdecl \
16842lt_cv_sys_global_symbol_to_import \
16843lt_cv_sys_global_symbol_to_c_name_address \
16844lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16845lt_cv_nm_interface \
16846nm_file_list_spec \
16847lt_cv_truncate_bin \
16848lt_prog_compiler_no_builtin_flag \
16849lt_prog_compiler_pic \
16850lt_prog_compiler_wl \
16851lt_prog_compiler_static \
16852lt_cv_prog_compiler_c_o \
16853need_locks \
16854MANIFEST_TOOL \
16855DSYMUTIL \
16856NMEDIT \
16857LIPO \
16858OTOOL \
16859OTOOL64 \
16860shrext_cmds \
16861export_dynamic_flag_spec \
16862whole_archive_flag_spec \
16863compiler_needs_object \
16864with_gnu_ld \
16865allow_undefined_flag \
16866no_undefined_flag \
16867hardcode_libdir_flag_spec \
16868hardcode_libdir_separator \
16869exclude_expsyms \
16870include_expsyms \
16871file_list_spec \
16872variables_saved_for_relink \
16873libname_spec \
16874library_names_spec \
16875soname_spec \
16876install_override_mode \
16877finish_eval \
16878old_striplib \
16879striplib; do
16880    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16881    *[\\\\\\\`\\"\\\$]*)
16882      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16883      ;;
16884    *)
16885      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16886      ;;
16887    esac
16888done
16889
16890# Double-quote double-evaled strings.
16891for var in reload_cmds \
16892old_postinstall_cmds \
16893old_postuninstall_cmds \
16894old_archive_cmds \
16895extract_expsyms_cmds \
16896old_archive_from_new_cmds \
16897old_archive_from_expsyms_cmds \
16898archive_cmds \
16899archive_expsym_cmds \
16900module_cmds \
16901module_expsym_cmds \
16902export_symbols_cmds \
16903prelink_cmds \
16904postlink_cmds \
16905postinstall_cmds \
16906postuninstall_cmds \
16907finish_cmds \
16908sys_lib_search_path_spec \
16909configure_time_dlsearch_path \
16910configure_time_lt_sys_library_path; do
16911    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16912    *[\\\\\\\`\\"\\\$]*)
16913      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16914      ;;
16915    *)
16916      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16917      ;;
16918    esac
16919done
16920
16921ac_aux_dir='$ac_aux_dir'
16922
16923# See if we are running on zsh, and set the options that allow our
16924# commands through without removal of \ escapes INIT.
16925if test -n "\${ZSH_VERSION+set}"; then
16926   setopt NO_GLOB_SUBST
16927fi
16928
16929
16930    PACKAGE='$PACKAGE'
16931    VERSION='$VERSION'
16932    RM='$RM'
16933    ofile='$ofile'
16934
16935
16936
16937
16938_ACEOF
16939
16940cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16941
16942# Handling of arguments.
16943for ac_config_target in $ac_config_targets
16944do
16945  case $ac_config_target in
16946    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16947    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16948    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16949    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16950    "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
16951    "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
16952    "plugins/test/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/test/Makefile" ;;
16953    "plugins/statistic/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/statistic/Makefile" ;;
16954    "share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;;
16955    "share/sounds/Makefile") CONFIG_FILES="$CONFIG_FILES share/sounds/Makefile" ;;
16956    "share/languages/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/Makefile" ;;
16957    "share/languages/by/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/by/Makefile" ;;
16958    "share/languages/bg/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/bg/Makefile" ;;
16959    "share/languages/cz/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/cz/Makefile" ;;
16960    "share/languages/de/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/de/Makefile" ;;
16961    "share/languages/ge/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/ge/Makefile" ;;
16962    "share/languages/gr/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/gr/Makefile" ;;
16963    "share/languages/en/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/en/Makefile" ;;
16964    "share/languages/es/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/es/Makefile" ;;
16965    "share/languages/ee/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/ee/Makefile" ;;
16966    "share/languages/fr/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/fr/Makefile" ;;
16967    "share/languages/gb/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/gb/Makefile" ;;
16968    "share/languages/am/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/am/Makefile" ;;
16969    "share/languages/kz/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/kz/Makefile" ;;
16970    "share/languages/lt/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/lt/Makefile" ;;
16971    "share/languages/lv/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/lv/Makefile" ;;
16972    "share/languages/pl/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/pl/Makefile" ;;
16973    "share/languages/ro/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/ro/Makefile" ;;
16974    "share/languages/ru/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/ru/Makefile" ;;
16975    "share/languages/ua/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/ua/Makefile" ;;
16976    "share/languages/us/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/us/Makefile" ;;
16977    "share/languages/uz/Makefile") CONFIG_FILES="$CONFIG_FILES share/languages/uz/Makefile" ;;
16978    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
16979    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
16980    "lib/lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/lib/Makefile" ;;
16981    "lib/ai/Makefile") CONFIG_FILES="$CONFIG_FILES lib/ai/Makefile" ;;
16982    "lib/config/Makefile") CONFIG_FILES="$CONFIG_FILES lib/config/Makefile" ;;
16983    "lib/misc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/misc/Makefile" ;;
16984    "lib/notify/Makefile") CONFIG_FILES="$CONFIG_FILES lib/notify/Makefile" ;;
16985    "lib/main/Makefile") CONFIG_FILES="$CONFIG_FILES lib/main/Makefile" ;;
16986    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16987    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16988    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16989    "xnconfig.pc") CONFIG_FILES="$CONFIG_FILES xnconfig.pc" ;;
16990    "xneur.pc") CONFIG_FILES="$CONFIG_FILES xneur.pc" ;;
16991    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16992
16993  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16994  esac
16995done
16996
16997
16998# If the user did not use the arguments to specify the items to instantiate,
16999# then the envvar interface is used.  Set only those that are not.
17000# We use the long form for the default assignment because of an extremely
17001# bizarre bug on SunOS 4.1.3.
17002if $ac_need_defaults; then
17003  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17004  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17005  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17006fi
17007
17008# Have a temporary directory for convenience.  Make it in the build tree
17009# simply because there is no reason against having it here, and in addition,
17010# creating and moving files from /tmp can sometimes cause problems.
17011# Hook for its removal unless debugging.
17012# Note that there is a small window in which the directory will not be cleaned:
17013# after its creation but before its name has been assigned to `$tmp'.
17014$debug ||
17015{
17016  tmp= ac_tmp=
17017  trap 'exit_status=$?
17018  : "${ac_tmp:=$tmp}"
17019  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17020' 0
17021  trap 'as_fn_exit 1' 1 2 13 15
17022}
17023# Create a (secure) tmp directory for tmp files.
17024
17025{
17026  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17027  test -d "$tmp"
17028}  ||
17029{
17030  tmp=./conf$$-$RANDOM
17031  (umask 077 && mkdir "$tmp")
17032} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17033ac_tmp=$tmp
17034
17035# Set up the scripts for CONFIG_FILES section.
17036# No need to generate them if there are no CONFIG_FILES.
17037# This happens for instance with `./config.status config.h'.
17038if test -n "$CONFIG_FILES"; then
17039
17040
17041ac_cr=`echo X | tr X '\015'`
17042# On cygwin, bash can eat \r inside `` if the user requested igncr.
17043# But we know of no other shell where ac_cr would be empty at this
17044# point, so we can use a bashism as a fallback.
17045if test "x$ac_cr" = x; then
17046  eval ac_cr=\$\'\\r\'
17047fi
17048ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17049if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17050  ac_cs_awk_cr='\\r'
17051else
17052  ac_cs_awk_cr=$ac_cr
17053fi
17054
17055echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17056_ACEOF
17057
17058
17059{
17060  echo "cat >conf$$subs.awk <<_ACEOF" &&
17061  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17062  echo "_ACEOF"
17063} >conf$$subs.sh ||
17064  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17065ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17066ac_delim='%!_!# '
17067for ac_last_try in false false false false false :; do
17068  . ./conf$$subs.sh ||
17069    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17070
17071  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17072  if test $ac_delim_n = $ac_delim_num; then
17073    break
17074  elif $ac_last_try; then
17075    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17076  else
17077    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17078  fi
17079done
17080rm -f conf$$subs.sh
17081
17082cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17083cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17084_ACEOF
17085sed -n '
17086h
17087s/^/S["/; s/!.*/"]=/
17088p
17089g
17090s/^[^!]*!//
17091:repl
17092t repl
17093s/'"$ac_delim"'$//
17094t delim
17095:nl
17096h
17097s/\(.\{148\}\)..*/\1/
17098t more1
17099s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17100p
17101n
17102b repl
17103:more1
17104s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17105p
17106g
17107s/.\{148\}//
17108t nl
17109:delim
17110h
17111s/\(.\{148\}\)..*/\1/
17112t more2
17113s/["\\]/\\&/g; s/^/"/; s/$/"/
17114p
17115b
17116:more2
17117s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17118p
17119g
17120s/.\{148\}//
17121t delim
17122' <conf$$subs.awk | sed '
17123/^[^""]/{
17124  N
17125  s/\n//
17126}
17127' >>$CONFIG_STATUS || ac_write_fail=1
17128rm -f conf$$subs.awk
17129cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17130_ACAWK
17131cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17132  for (key in S) S_is_set[key] = 1
17133  FS = ""
17134
17135}
17136{
17137  line = $ 0
17138  nfields = split(line, field, "@")
17139  substed = 0
17140  len = length(field[1])
17141  for (i = 2; i < nfields; i++) {
17142    key = field[i]
17143    keylen = length(key)
17144    if (S_is_set[key]) {
17145      value = S[key]
17146      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17147      len += length(value) + length(field[++i])
17148      substed = 1
17149    } else
17150      len += 1 + keylen
17151  }
17152
17153  print line
17154}
17155
17156_ACAWK
17157_ACEOF
17158cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17159if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17160  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17161else
17162  cat
17163fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17164  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17165_ACEOF
17166
17167# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17168# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17169# trailing colons and then remove the whole line if VPATH becomes empty
17170# (actually we leave an empty line to preserve line numbers).
17171if test "x$srcdir" = x.; then
17172  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
17173h
17174s///
17175s/^/:/
17176s/[	 ]*$/:/
17177s/:\$(srcdir):/:/g
17178s/:\${srcdir}:/:/g
17179s/:@srcdir@:/:/g
17180s/^:*//
17181s/:*$//
17182x
17183s/\(=[	 ]*\).*/\1/
17184G
17185s/\n//
17186s/^[^=]*=[	 ]*$//
17187}'
17188fi
17189
17190cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17191fi # test -n "$CONFIG_FILES"
17192
17193# Set up the scripts for CONFIG_HEADERS section.
17194# No need to generate them if there are no CONFIG_HEADERS.
17195# This happens for instance with `./config.status Makefile'.
17196if test -n "$CONFIG_HEADERS"; then
17197cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17198BEGIN {
17199_ACEOF
17200
17201# Transform confdefs.h into an awk script `defines.awk', embedded as
17202# here-document in config.status, that substitutes the proper values into
17203# config.h.in to produce config.h.
17204
17205# Create a delimiter string that does not exist in confdefs.h, to ease
17206# handling of long lines.
17207ac_delim='%!_!# '
17208for ac_last_try in false false :; do
17209  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17210  if test -z "$ac_tt"; then
17211    break
17212  elif $ac_last_try; then
17213    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17214  else
17215    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17216  fi
17217done
17218
17219# For the awk script, D is an array of macro values keyed by name,
17220# likewise P contains macro parameters if any.  Preserve backslash
17221# newline sequences.
17222
17223ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17224sed -n '
17225s/.\{148\}/&'"$ac_delim"'/g
17226t rset
17227:rset
17228s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
17229t def
17230d
17231:def
17232s/\\$//
17233t bsnl
17234s/["\\]/\\&/g
17235s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17236D["\1"]=" \3"/p
17237s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
17238d
17239:bsnl
17240s/["\\]/\\&/g
17241s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17242D["\1"]=" \3\\\\\\n"\\/p
17243t cont
17244s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17245t cont
17246d
17247:cont
17248n
17249s/.\{148\}/&'"$ac_delim"'/g
17250t clear
17251:clear
17252s/\\$//
17253t bsnlc
17254s/["\\]/\\&/g; s/^/"/; s/$/"/p
17255d
17256:bsnlc
17257s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17258b cont
17259' <confdefs.h | sed '
17260s/'"$ac_delim"'/"\\\
17261"/g' >>$CONFIG_STATUS || ac_write_fail=1
17262
17263cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17264  for (key in D) D_is_set[key] = 1
17265  FS = ""
17266}
17267/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17268  line = \$ 0
17269  split(line, arg, " ")
17270  if (arg[1] == "#") {
17271    defundef = arg[2]
17272    mac1 = arg[3]
17273  } else {
17274    defundef = substr(arg[1], 2)
17275    mac1 = arg[2]
17276  }
17277  split(mac1, mac2, "(") #)
17278  macro = mac2[1]
17279  prefix = substr(line, 1, index(line, defundef) - 1)
17280  if (D_is_set[macro]) {
17281    # Preserve the white space surrounding the "#".
17282    print prefix "define", macro P[macro] D[macro]
17283    next
17284  } else {
17285    # Replace #undef with comments.  This is necessary, for example,
17286    # in the case of _POSIX_SOURCE, which is predefined and required
17287    # on some systems where configure will not decide to define it.
17288    if (defundef == "undef") {
17289      print "/*", prefix defundef, macro, "*/"
17290      next
17291    }
17292  }
17293}
17294{ print }
17295_ACAWK
17296_ACEOF
17297cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17298  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17299fi # test -n "$CONFIG_HEADERS"
17300
17301
17302eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17303shift
17304for ac_tag
17305do
17306  case $ac_tag in
17307  :[FHLC]) ac_mode=$ac_tag; continue;;
17308  esac
17309  case $ac_mode$ac_tag in
17310  :[FHL]*:*);;
17311  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17312  :[FH]-) ac_tag=-:-;;
17313  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17314  esac
17315  ac_save_IFS=$IFS
17316  IFS=:
17317  set x $ac_tag
17318  IFS=$ac_save_IFS
17319  shift
17320  ac_file=$1
17321  shift
17322
17323  case $ac_mode in
17324  :L) ac_source=$1;;
17325  :[FH])
17326    ac_file_inputs=
17327    for ac_f
17328    do
17329      case $ac_f in
17330      -) ac_f="$ac_tmp/stdin";;
17331      *) # Look for the file first in the build tree, then in the source tree
17332	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
17333	 # because $ac_f cannot contain `:'.
17334	 test -f "$ac_f" ||
17335	   case $ac_f in
17336	   [\\/$]*) false;;
17337	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17338	   esac ||
17339	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17340      esac
17341      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17342      as_fn_append ac_file_inputs " '$ac_f'"
17343    done
17344
17345    # Let's still pretend it is `configure' which instantiates (i.e., don't
17346    # use $as_me), people would be surprised to read:
17347    #    /* config.h.  Generated by config.status.  */
17348    configure_input='Generated from '`
17349	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17350	`' by configure.'
17351    if test x"$ac_file" != x-; then
17352      configure_input="$ac_file.  $configure_input"
17353      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17354$as_echo "$as_me: creating $ac_file" >&6;}
17355    fi
17356    # Neutralize special characters interpreted by sed in replacement strings.
17357    case $configure_input in #(
17358    *\&* | *\|* | *\\* )
17359       ac_sed_conf_input=`$as_echo "$configure_input" |
17360       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17361    *) ac_sed_conf_input=$configure_input;;
17362    esac
17363
17364    case $ac_tag in
17365    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17366      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17367    esac
17368    ;;
17369  esac
17370
17371  ac_dir=`$as_dirname -- "$ac_file" ||
17372$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17373	 X"$ac_file" : 'X\(//\)[^/]' \| \
17374	 X"$ac_file" : 'X\(//\)$' \| \
17375	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17376$as_echo X"$ac_file" |
17377    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17378	    s//\1/
17379	    q
17380	  }
17381	  /^X\(\/\/\)[^/].*/{
17382	    s//\1/
17383	    q
17384	  }
17385	  /^X\(\/\/\)$/{
17386	    s//\1/
17387	    q
17388	  }
17389	  /^X\(\/\).*/{
17390	    s//\1/
17391	    q
17392	  }
17393	  s/.*/./; q'`
17394  as_dir="$ac_dir"; as_fn_mkdir_p
17395  ac_builddir=.
17396
17397case "$ac_dir" in
17398.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17399*)
17400  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17401  # A ".." for each directory in $ac_dir_suffix.
17402  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17403  case $ac_top_builddir_sub in
17404  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17405  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17406  esac ;;
17407esac
17408ac_abs_top_builddir=$ac_pwd
17409ac_abs_builddir=$ac_pwd$ac_dir_suffix
17410# for backward compatibility:
17411ac_top_builddir=$ac_top_build_prefix
17412
17413case $srcdir in
17414  .)  # We are building in place.
17415    ac_srcdir=.
17416    ac_top_srcdir=$ac_top_builddir_sub
17417    ac_abs_top_srcdir=$ac_pwd ;;
17418  [\\/]* | ?:[\\/]* )  # Absolute name.
17419    ac_srcdir=$srcdir$ac_dir_suffix;
17420    ac_top_srcdir=$srcdir
17421    ac_abs_top_srcdir=$srcdir ;;
17422  *) # Relative name.
17423    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17424    ac_top_srcdir=$ac_top_build_prefix$srcdir
17425    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17426esac
17427ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17428
17429
17430  case $ac_mode in
17431  :F)
17432  #
17433  # CONFIG_FILE
17434  #
17435
17436  case $INSTALL in
17437  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17438  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17439  esac
17440  ac_MKDIR_P=$MKDIR_P
17441  case $MKDIR_P in
17442  [\\/$]* | ?:[\\/]* ) ;;
17443  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17444  esac
17445_ACEOF
17446
17447cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17448# If the template does not know about datarootdir, expand it.
17449# FIXME: This hack should be removed a few years after 2.60.
17450ac_datarootdir_hack=; ac_datarootdir_seen=
17451ac_sed_dataroot='
17452/datarootdir/ {
17453  p
17454  q
17455}
17456/@datadir@/p
17457/@docdir@/p
17458/@infodir@/p
17459/@localedir@/p
17460/@mandir@/p'
17461case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17462*datarootdir*) ac_datarootdir_seen=yes;;
17463*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17464  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17465$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17466_ACEOF
17467cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17468  ac_datarootdir_hack='
17469  s&@datadir@&$datadir&g
17470  s&@docdir@&$docdir&g
17471  s&@infodir@&$infodir&g
17472  s&@localedir@&$localedir&g
17473  s&@mandir@&$mandir&g
17474  s&\\\${datarootdir}&$datarootdir&g' ;;
17475esac
17476_ACEOF
17477
17478# Neutralize VPATH when `$srcdir' = `.'.
17479# Shell code in configure.ac might set extrasub.
17480# FIXME: do we really want to maintain this feature?
17481cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17482ac_sed_extra="$ac_vpsub
17483$extrasub
17484_ACEOF
17485cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17486:t
17487/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17488s|@configure_input@|$ac_sed_conf_input|;t t
17489s&@top_builddir@&$ac_top_builddir_sub&;t t
17490s&@top_build_prefix@&$ac_top_build_prefix&;t t
17491s&@srcdir@&$ac_srcdir&;t t
17492s&@abs_srcdir@&$ac_abs_srcdir&;t t
17493s&@top_srcdir@&$ac_top_srcdir&;t t
17494s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17495s&@builddir@&$ac_builddir&;t t
17496s&@abs_builddir@&$ac_abs_builddir&;t t
17497s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17498s&@INSTALL@&$ac_INSTALL&;t t
17499s&@MKDIR_P@&$ac_MKDIR_P&;t t
17500$ac_datarootdir_hack
17501"
17502eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17503  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17504
17505test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17506  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17507  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
17508      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17509  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17510which seems to be undefined.  Please make sure it is defined" >&5
17511$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17512which seems to be undefined.  Please make sure it is defined" >&2;}
17513
17514  rm -f "$ac_tmp/stdin"
17515  case $ac_file in
17516  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17517  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17518  esac \
17519  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17520 ;;
17521  :H)
17522  #
17523  # CONFIG_HEADER
17524  #
17525  if test x"$ac_file" != x-; then
17526    {
17527      $as_echo "/* $configure_input  */" \
17528      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17529    } >"$ac_tmp/config.h" \
17530      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17531    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17532      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17533$as_echo "$as_me: $ac_file is unchanged" >&6;}
17534    else
17535      rm -f "$ac_file"
17536      mv "$ac_tmp/config.h" "$ac_file" \
17537	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17538    fi
17539  else
17540    $as_echo "/* $configure_input  */" \
17541      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17542      || as_fn_error $? "could not create -" "$LINENO" 5
17543  fi
17544# Compute "$ac_file"'s index in $config_headers.
17545_am_arg="$ac_file"
17546_am_stamp_count=1
17547for _am_header in $config_headers :; do
17548  case $_am_header in
17549    $_am_arg | $_am_arg:* )
17550      break ;;
17551    * )
17552      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17553  esac
17554done
17555echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17556$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17557	 X"$_am_arg" : 'X\(//\)[^/]' \| \
17558	 X"$_am_arg" : 'X\(//\)$' \| \
17559	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17560$as_echo X"$_am_arg" |
17561    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17562	    s//\1/
17563	    q
17564	  }
17565	  /^X\(\/\/\)[^/].*/{
17566	    s//\1/
17567	    q
17568	  }
17569	  /^X\(\/\/\)$/{
17570	    s//\1/
17571	    q
17572	  }
17573	  /^X\(\/\).*/{
17574	    s//\1/
17575	    q
17576	  }
17577	  s/.*/./; q'`/stamp-h$_am_stamp_count
17578 ;;
17579
17580  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17581$as_echo "$as_me: executing $ac_file commands" >&6;}
17582 ;;
17583  esac
17584
17585
17586  case $ac_file$ac_mode in
17587    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17588  # Older Autoconf quotes --file arguments for eval, but not when files
17589  # are listed without --file.  Let's play safe and only enable the eval
17590  # if we detect the quoting.
17591  case $CONFIG_FILES in
17592  *\'*) eval set x "$CONFIG_FILES" ;;
17593  *)   set x $CONFIG_FILES ;;
17594  esac
17595  shift
17596  for mf
17597  do
17598    # Strip MF so we end up with the name of the file.
17599    mf=`echo "$mf" | sed -e 's/:.*$//'`
17600    # Check whether this is an Automake generated Makefile or not.
17601    # We used to match only the files named 'Makefile.in', but
17602    # some people rename them; so instead we look at the file content.
17603    # Grep'ing the first line is not enough: some people post-process
17604    # each Makefile.in and add a new line on top of each file to say so.
17605    # Grep'ing the whole file is not good either: AIX grep has a line
17606    # limit of 2048, but all sed's we know have understand at least 4000.
17607    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17608      dirpart=`$as_dirname -- "$mf" ||
17609$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17610	 X"$mf" : 'X\(//\)[^/]' \| \
17611	 X"$mf" : 'X\(//\)$' \| \
17612	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17613$as_echo X"$mf" |
17614    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17615	    s//\1/
17616	    q
17617	  }
17618	  /^X\(\/\/\)[^/].*/{
17619	    s//\1/
17620	    q
17621	  }
17622	  /^X\(\/\/\)$/{
17623	    s//\1/
17624	    q
17625	  }
17626	  /^X\(\/\).*/{
17627	    s//\1/
17628	    q
17629	  }
17630	  s/.*/./; q'`
17631    else
17632      continue
17633    fi
17634    # Extract the definition of DEPDIR, am__include, and am__quote
17635    # from the Makefile without running 'make'.
17636    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17637    test -z "$DEPDIR" && continue
17638    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17639    test -z "$am__include" && continue
17640    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17641    # Find all dependency output files, they are included files with
17642    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17643    # simplest approach to changing $(DEPDIR) to its actual value in the
17644    # expansion.
17645    for file in `sed -n "
17646      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17647	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17648      # Make sure the directory exists.
17649      test -f "$dirpart/$file" && continue
17650      fdir=`$as_dirname -- "$file" ||
17651$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17652	 X"$file" : 'X\(//\)[^/]' \| \
17653	 X"$file" : 'X\(//\)$' \| \
17654	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17655$as_echo X"$file" |
17656    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17657	    s//\1/
17658	    q
17659	  }
17660	  /^X\(\/\/\)[^/].*/{
17661	    s//\1/
17662	    q
17663	  }
17664	  /^X\(\/\/\)$/{
17665	    s//\1/
17666	    q
17667	  }
17668	  /^X\(\/\).*/{
17669	    s//\1/
17670	    q
17671	  }
17672	  s/.*/./; q'`
17673      as_dir=$dirpart/$fdir; as_fn_mkdir_p
17674      # echo "creating $dirpart/$file"
17675      echo '# dummy' > "$dirpart/$file"
17676    done
17677  done
17678}
17679 ;;
17680    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17681        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17682      esac ;;
17683    "libtool":C)
17684
17685    # See if we are running on zsh, and set the options that allow our
17686    # commands through without removal of \ escapes.
17687    if test -n "${ZSH_VERSION+set}"; then
17688      setopt NO_GLOB_SUBST
17689    fi
17690
17691    cfgfile=${ofile}T
17692    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17693    $RM "$cfgfile"
17694
17695    cat <<_LT_EOF >> "$cfgfile"
17696#! $SHELL
17697# Generated automatically by $as_me ($PACKAGE) $VERSION
17698# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17699
17700# Provide generalized library-building support services.
17701# Written by Gordon Matzigkeit, 1996
17702
17703# Copyright (C) 2014 Free Software Foundation, Inc.
17704# This is free software; see the source for copying conditions.  There is NO
17705# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17706
17707# GNU Libtool is free software; you can redistribute it and/or modify
17708# it under the terms of the GNU General Public License as published by
17709# the Free Software Foundation; either version 2 of of the License, or
17710# (at your option) any later version.
17711#
17712# As a special exception to the GNU General Public License, if you
17713# distribute this file as part of a program or library that is built
17714# using GNU Libtool, you may include this file under the  same
17715# distribution terms that you use for the rest of that program.
17716#
17717# GNU Libtool is distributed in the hope that it will be useful, but
17718# WITHOUT ANY WARRANTY; without even the implied warranty of
17719# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17720# GNU General Public License for more details.
17721#
17722# You should have received a copy of the GNU General Public License
17723# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17724
17725
17726# The names of the tagged configurations supported by this script.
17727available_tags=''
17728
17729# Configured defaults for sys_lib_dlsearch_path munging.
17730: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17731
17732# ### BEGIN LIBTOOL CONFIG
17733
17734# Which release of libtool.m4 was used?
17735macro_version=$macro_version
17736macro_revision=$macro_revision
17737
17738# Whether or not to build shared libraries.
17739build_libtool_libs=$enable_shared
17740
17741# Whether or not to build static libraries.
17742build_old_libs=$enable_static
17743
17744# What type of objects to build.
17745pic_mode=$pic_mode
17746
17747# Whether or not to optimize for fast installation.
17748fast_install=$enable_fast_install
17749
17750# Shared archive member basename,for filename based shared library versioning on AIX.
17751shared_archive_member_spec=$shared_archive_member_spec
17752
17753# Shell to use when invoking shell scripts.
17754SHELL=$lt_SHELL
17755
17756# An echo program that protects backslashes.
17757ECHO=$lt_ECHO
17758
17759# The PATH separator for the build system.
17760PATH_SEPARATOR=$lt_PATH_SEPARATOR
17761
17762# The host system.
17763host_alias=$host_alias
17764host=$host
17765host_os=$host_os
17766
17767# The build system.
17768build_alias=$build_alias
17769build=$build
17770build_os=$build_os
17771
17772# A sed program that does not truncate output.
17773SED=$lt_SED
17774
17775# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17776Xsed="\$SED -e 1s/^X//"
17777
17778# A grep program that handles long lines.
17779GREP=$lt_GREP
17780
17781# An ERE matcher.
17782EGREP=$lt_EGREP
17783
17784# A literal string matcher.
17785FGREP=$lt_FGREP
17786
17787# A BSD- or MS-compatible name lister.
17788NM=$lt_NM
17789
17790# Whether we need soft or hard links.
17791LN_S=$lt_LN_S
17792
17793# What is the maximum length of a command?
17794max_cmd_len=$max_cmd_len
17795
17796# Object file suffix (normally "o").
17797objext=$ac_objext
17798
17799# Executable file suffix (normally "").
17800exeext=$exeext
17801
17802# whether the shell understands "unset".
17803lt_unset=$lt_unset
17804
17805# turn spaces into newlines.
17806SP2NL=$lt_lt_SP2NL
17807
17808# turn newlines into spaces.
17809NL2SP=$lt_lt_NL2SP
17810
17811# convert \$build file names to \$host format.
17812to_host_file_cmd=$lt_cv_to_host_file_cmd
17813
17814# convert \$build files to toolchain format.
17815to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17816
17817# An object symbol dumper.
17818OBJDUMP=$lt_OBJDUMP
17819
17820# Method to check whether dependent libraries are shared objects.
17821deplibs_check_method=$lt_deplibs_check_method
17822
17823# Command to use when deplibs_check_method = "file_magic".
17824file_magic_cmd=$lt_file_magic_cmd
17825
17826# How to find potential files when deplibs_check_method = "file_magic".
17827file_magic_glob=$lt_file_magic_glob
17828
17829# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17830want_nocaseglob=$lt_want_nocaseglob
17831
17832# DLL creation program.
17833DLLTOOL=$lt_DLLTOOL
17834
17835# Command to associate shared and link libraries.
17836sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17837
17838# The archiver.
17839AR=$lt_AR
17840
17841# Flags to create an archive.
17842AR_FLAGS=$lt_AR_FLAGS
17843
17844# How to feed a file listing to the archiver.
17845archiver_list_spec=$lt_archiver_list_spec
17846
17847# A symbol stripping program.
17848STRIP=$lt_STRIP
17849
17850# Commands used to install an old-style archive.
17851RANLIB=$lt_RANLIB
17852old_postinstall_cmds=$lt_old_postinstall_cmds
17853old_postuninstall_cmds=$lt_old_postuninstall_cmds
17854
17855# Whether to use a lock for old archive extraction.
17856lock_old_archive_extraction=$lock_old_archive_extraction
17857
17858# A C compiler.
17859LTCC=$lt_CC
17860
17861# LTCC compiler flags.
17862LTCFLAGS=$lt_CFLAGS
17863
17864# Take the output of nm and produce a listing of raw symbols and C names.
17865global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17866
17867# Transform the output of nm in a proper C declaration.
17868global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17869
17870# Transform the output of nm into a list of symbols to manually relocate.
17871global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17872
17873# Transform the output of nm in a C name address pair.
17874global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17875
17876# Transform the output of nm in a C name address pair when lib prefix is needed.
17877global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17878
17879# The name lister interface.
17880nm_interface=$lt_lt_cv_nm_interface
17881
17882# Specify filename containing input files for \$NM.
17883nm_file_list_spec=$lt_nm_file_list_spec
17884
17885# The root where to search for dependent libraries,and where our libraries should be installed.
17886lt_sysroot=$lt_sysroot
17887
17888# Command to truncate a binary pipe.
17889lt_truncate_bin=$lt_lt_cv_truncate_bin
17890
17891# The name of the directory that contains temporary libtool files.
17892objdir=$objdir
17893
17894# Used to examine libraries when file_magic_cmd begins with "file".
17895MAGIC_CMD=$MAGIC_CMD
17896
17897# Must we lock files when doing compilation?
17898need_locks=$lt_need_locks
17899
17900# Manifest tool.
17901MANIFEST_TOOL=$lt_MANIFEST_TOOL
17902
17903# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17904DSYMUTIL=$lt_DSYMUTIL
17905
17906# Tool to change global to local symbols on Mac OS X.
17907NMEDIT=$lt_NMEDIT
17908
17909# Tool to manipulate fat objects and archives on Mac OS X.
17910LIPO=$lt_LIPO
17911
17912# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17913OTOOL=$lt_OTOOL
17914
17915# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17916OTOOL64=$lt_OTOOL64
17917
17918# Old archive suffix (normally "a").
17919libext=$libext
17920
17921# Shared library suffix (normally ".so").
17922shrext_cmds=$lt_shrext_cmds
17923
17924# The commands to extract the exported symbol list from a shared archive.
17925extract_expsyms_cmds=$lt_extract_expsyms_cmds
17926
17927# Variables whose values should be saved in libtool wrapper scripts and
17928# restored at link time.
17929variables_saved_for_relink=$lt_variables_saved_for_relink
17930
17931# Do we need the "lib" prefix for modules?
17932need_lib_prefix=$need_lib_prefix
17933
17934# Do we need a version for libraries?
17935need_version=$need_version
17936
17937# Library versioning type.
17938version_type=$version_type
17939
17940# Shared library runtime path variable.
17941runpath_var=$runpath_var
17942
17943# Shared library path variable.
17944shlibpath_var=$shlibpath_var
17945
17946# Is shlibpath searched before the hard-coded library search path?
17947shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17948
17949# Format of library name prefix.
17950libname_spec=$lt_libname_spec
17951
17952# List of archive names.  First name is the real one, the rest are links.
17953# The last name is the one that the linker finds with -lNAME
17954library_names_spec=$lt_library_names_spec
17955
17956# The coded name of the library, if different from the real name.
17957soname_spec=$lt_soname_spec
17958
17959# Permission mode override for installation of shared libraries.
17960install_override_mode=$lt_install_override_mode
17961
17962# Command to use after installation of a shared archive.
17963postinstall_cmds=$lt_postinstall_cmds
17964
17965# Command to use after uninstallation of a shared archive.
17966postuninstall_cmds=$lt_postuninstall_cmds
17967
17968# Commands used to finish a libtool library installation in a directory.
17969finish_cmds=$lt_finish_cmds
17970
17971# As "finish_cmds", except a single script fragment to be evaled but
17972# not shown.
17973finish_eval=$lt_finish_eval
17974
17975# Whether we should hardcode library paths into libraries.
17976hardcode_into_libs=$hardcode_into_libs
17977
17978# Compile-time system search path for libraries.
17979sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17980
17981# Detected run-time system search path for libraries.
17982sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17983
17984# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17985configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17986
17987# Whether dlopen is supported.
17988dlopen_support=$enable_dlopen
17989
17990# Whether dlopen of programs is supported.
17991dlopen_self=$enable_dlopen_self
17992
17993# Whether dlopen of statically linked programs is supported.
17994dlopen_self_static=$enable_dlopen_self_static
17995
17996# Commands to strip libraries.
17997old_striplib=$lt_old_striplib
17998striplib=$lt_striplib
17999
18000
18001# The linker used to build libraries.
18002LD=$lt_LD
18003
18004# How to create reloadable object files.
18005reload_flag=$lt_reload_flag
18006reload_cmds=$lt_reload_cmds
18007
18008# Commands used to build an old-style archive.
18009old_archive_cmds=$lt_old_archive_cmds
18010
18011# A language specific compiler.
18012CC=$lt_compiler
18013
18014# Is the compiler the GNU compiler?
18015with_gcc=$GCC
18016
18017# Compiler flag to turn off builtin functions.
18018no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18019
18020# Additional compiler flags for building library objects.
18021pic_flag=$lt_lt_prog_compiler_pic
18022
18023# How to pass a linker flag through the compiler.
18024wl=$lt_lt_prog_compiler_wl
18025
18026# Compiler flag to prevent dynamic linking.
18027link_static_flag=$lt_lt_prog_compiler_static
18028
18029# Does compiler simultaneously support -c and -o options?
18030compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18031
18032# Whether or not to add -lc for building shared libraries.
18033build_libtool_need_lc=$archive_cmds_need_lc
18034
18035# Whether or not to disallow shared libs when runtime libs are static.
18036allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18037
18038# Compiler flag to allow reflexive dlopens.
18039export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18040
18041# Compiler flag to generate shared objects directly from archives.
18042whole_archive_flag_spec=$lt_whole_archive_flag_spec
18043
18044# Whether the compiler copes with passing no objects directly.
18045compiler_needs_object=$lt_compiler_needs_object
18046
18047# Create an old-style archive from a shared archive.
18048old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18049
18050# Create a temporary old-style archive to link instead of a shared archive.
18051old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18052
18053# Commands used to build a shared archive.
18054archive_cmds=$lt_archive_cmds
18055archive_expsym_cmds=$lt_archive_expsym_cmds
18056
18057# Commands used to build a loadable module if different from building
18058# a shared archive.
18059module_cmds=$lt_module_cmds
18060module_expsym_cmds=$lt_module_expsym_cmds
18061
18062# Whether we are building with GNU ld or not.
18063with_gnu_ld=$lt_with_gnu_ld
18064
18065# Flag that allows shared libraries with undefined symbols to be built.
18066allow_undefined_flag=$lt_allow_undefined_flag
18067
18068# Flag that enforces no undefined symbols.
18069no_undefined_flag=$lt_no_undefined_flag
18070
18071# Flag to hardcode \$libdir into a binary during linking.
18072# This must work even if \$libdir does not exist
18073hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18074
18075# Whether we need a single "-rpath" flag with a separated argument.
18076hardcode_libdir_separator=$lt_hardcode_libdir_separator
18077
18078# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18079# DIR into the resulting binary.
18080hardcode_direct=$hardcode_direct
18081
18082# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18083# DIR into the resulting binary and the resulting library dependency is
18084# "absolute",i.e impossible to change by setting \$shlibpath_var if the
18085# library is relocated.
18086hardcode_direct_absolute=$hardcode_direct_absolute
18087
18088# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18089# into the resulting binary.
18090hardcode_minus_L=$hardcode_minus_L
18091
18092# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18093# into the resulting binary.
18094hardcode_shlibpath_var=$hardcode_shlibpath_var
18095
18096# Set to "yes" if building a shared library automatically hardcodes DIR
18097# into the library and all subsequent libraries and executables linked
18098# against it.
18099hardcode_automatic=$hardcode_automatic
18100
18101# Set to yes if linker adds runtime paths of dependent libraries
18102# to runtime path list.
18103inherit_rpath=$inherit_rpath
18104
18105# Whether libtool must link a program against all its dependency libraries.
18106link_all_deplibs=$link_all_deplibs
18107
18108# Set to "yes" if exported symbols are required.
18109always_export_symbols=$always_export_symbols
18110
18111# The commands to list exported symbols.
18112export_symbols_cmds=$lt_export_symbols_cmds
18113
18114# Symbols that should not be listed in the preloaded symbols.
18115exclude_expsyms=$lt_exclude_expsyms
18116
18117# Symbols that must always be exported.
18118include_expsyms=$lt_include_expsyms
18119
18120# Commands necessary for linking programs (against libraries) with templates.
18121prelink_cmds=$lt_prelink_cmds
18122
18123# Commands necessary for finishing linking programs.
18124postlink_cmds=$lt_postlink_cmds
18125
18126# Specify filename containing input files.
18127file_list_spec=$lt_file_list_spec
18128
18129# How to hardcode a shared library path into an executable.
18130hardcode_action=$hardcode_action
18131
18132# ### END LIBTOOL CONFIG
18133
18134_LT_EOF
18135
18136    cat <<'_LT_EOF' >> "$cfgfile"
18137
18138# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18139
18140# func_munge_path_list VARIABLE PATH
18141# -----------------------------------
18142# VARIABLE is name of variable containing _space_ separated list of
18143# directories to be munged by the contents of PATH, which is string
18144# having a format:
18145# "DIR[:DIR]:"
18146#       string "DIR[ DIR]" will be prepended to VARIABLE
18147# ":DIR[:DIR]"
18148#       string "DIR[ DIR]" will be appended to VARIABLE
18149# "DIRP[:DIRP]::[DIRA:]DIRA"
18150#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18151#       "DIRA[ DIRA]" will be appended to VARIABLE
18152# "DIR[:DIR]"
18153#       VARIABLE will be replaced by "DIR[ DIR]"
18154func_munge_path_list ()
18155{
18156    case x$2 in
18157    x)
18158        ;;
18159    *:)
18160        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
18161        ;;
18162    x:*)
18163        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
18164        ;;
18165    *::*)
18166        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18167        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
18168        ;;
18169    *)
18170        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
18171        ;;
18172    esac
18173}
18174
18175
18176# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
18177func_cc_basename ()
18178{
18179    for cc_temp in $*""; do
18180      case $cc_temp in
18181        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18182        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18183        \-*) ;;
18184        *) break;;
18185      esac
18186    done
18187    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18188}
18189
18190
18191# ### END FUNCTIONS SHARED WITH CONFIGURE
18192
18193_LT_EOF
18194
18195  case $host_os in
18196  aix3*)
18197    cat <<\_LT_EOF >> "$cfgfile"
18198# AIX sometimes has problems with the GCC collect2 program.  For some
18199# reason, if we set the COLLECT_NAMES environment variable, the problems
18200# vanish in a puff of smoke.
18201if test set != "${COLLECT_NAMES+set}"; then
18202  COLLECT_NAMES=
18203  export COLLECT_NAMES
18204fi
18205_LT_EOF
18206    ;;
18207  esac
18208
18209
18210ltmain=$ac_aux_dir/ltmain.sh
18211
18212
18213  # We use sed instead of cat because bash on DJGPP gets confused if
18214  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18215  # text mode, it properly converts lines to CR/LF.  This bash problem
18216  # is reportedly fixed, but why not run on old versions too?
18217  sed '$q' "$ltmain" >> "$cfgfile" \
18218     || (rm -f "$cfgfile"; exit 1)
18219
18220   mv -f "$cfgfile" "$ofile" ||
18221    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18222  chmod +x "$ofile"
18223
18224 ;;
18225    "po/stamp-it":C)
18226    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18227       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18228    fi
18229    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18230    >"po/stamp-it.tmp"
18231    sed '/^#/d
18232	 s/^[[].*] *//
18233	 /^[ 	]*$/d
18234	'"s|^|	$ac_top_srcdir/|" \
18235      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18236
18237    sed '/^POTFILES =/,/[^\\]$/ {
18238		/^POTFILES =/!d
18239		r po/POTFILES
18240	  }
18241	 ' "po/Makefile.in" >"po/Makefile"
18242    rm -f "po/Makefile.tmp"
18243    mv "po/stamp-it.tmp" "po/stamp-it"
18244   ;;
18245
18246  esac
18247done # for ac_tag
18248
18249
18250as_fn_exit 0
18251_ACEOF
18252ac_clean_files=$ac_clean_files_save
18253
18254test $ac_write_fail = 0 ||
18255  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18256
18257
18258# configure is writing to config.log, and then calls config.status.
18259# config.status does its own redirection, appending to config.log.
18260# Unfortunately, on DOS this fails, as config.log is still kept open
18261# by configure, so config.status won't be able to write to it; its
18262# output is simply discarded.  So we exec the FD to /dev/null,
18263# effectively closing config.log, so it can be properly (re)opened and
18264# appended to by config.status.  When coming back to configure, we
18265# need to make the FD available again.
18266if test "$no_create" != yes; then
18267  ac_cs_success=:
18268  ac_config_status_args=
18269  test "$silent" = yes &&
18270    ac_config_status_args="$ac_config_status_args --quiet"
18271  exec 5>/dev/null
18272  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18273  exec 5>>config.log
18274  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18275  # would make configure fail if this is the last instruction.
18276  $ac_cs_success || as_fn_exit 1
18277fi
18278if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18279  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18280$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18281fi
18282
18283
18284cat << EOF
18285
18286$PACKAGE $VERSION configured successfully:
18287
18288	Installing into:		$prefix
18289
18290	Compiler flags:			$DEFAULT_CFLAGS
18291	Linker flags:			$DEFAULT_LDFLAGS
18292
18293	X11 compiler flags:		$X11_CFLAGS
18294	X11 linker flags:		$X11_LIBS
18295
18296	Pcre compiler flags:		$PCRE_CFLAGS
18297	Pcre linker flags:		$PCRE_LIBS
18298
18299	Additional libs:		$ADDITIONAL_LIBS
18300
18301EOF
18302
18303case $with_sound in
18304	gstreamer|yes)
18305cat << EOF
18306	Gstreamer compiler flags:	$GSTREAMER_CFLAGS
18307	Gstreamer linker flags:		$GSTREAMER_LIBS
18308
18309EOF
18310		;;
18311	openal)
18312cat << EOF
18313	FreeALUT compiler flags:	$FREEALUT_CFLAGS
18314	FreeALUT linker flags:		$FREEALUT_LIBS
18315
18316EOF
18317		;;
18318	aplay)
18319cat << EOF
18320	Aplay support enable.
18321
18322EOF
18323		;;
18324esac
18325
18326case $with_spell in
18327	enchant|yes)
18328cat <<EOF
18329	Enchant compiler flags:		$ENCHANT_CFLAGS
18330	Enchant linker flags:		$ENCHANT_LIBS
18331
18332EOF
18333	;;
18334	aspell)
18335cat <<EOF
18336	Aspell compiler flags:		$ASPELL_CFLAGS
18337	Aspell linker flags:		$ASPELL_LIBS
18338
18339EOF
18340	;;
18341esac
18342
18343
18344if test "x$with_xosd" != "xno"; then
18345cat <<EOF
18346	Xosd compiler flags:		$XOSD_CFLAGS
18347	Xosd linker flags:		$XOSD_LIBS
18348
18349EOF
18350fi
18351
18352if test "x$with_popup" != "xno"; then
18353cat <<EOF
18354	Libnotify compiler flags:	$LIBNOTIFY_CFLAGS
18355	Libnotify linker flags:		$LIBNOTIFY_LIBS
18356EOF
18357fi
18358
18359if test "x$with_popup" != "xno"; then
18360	if test "x$found_gtk" == "xyes"; then
18361cat <<EOF
18362	GTK compiler flags:		$GTK_CFLAGS
18363	GTK linker flags:		$GTK_LIBS
18364EOF
18365	fi
18366fi
18367
18368