1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for gsequencer 3.10.4.
4#
5# Report bugs to <jkraehemann@gmail.com>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1
202
203  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    PATH=/empty FPATH=/empty; export PATH FPATH
208    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: jkraehemann@gmail.com about your system, including any
279$0: error possibly output before this message. Then install
280$0: a modern shell, or manually run the script under such a
281$0: shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='gsequencer'
592PACKAGE_TARNAME='gsequencer'
593PACKAGE_VERSION='3.10.4'
594PACKAGE_STRING='gsequencer 3.10.4'
595PACKAGE_BUGREPORT='jkraehemann@gmail.com'
596PACKAGE_URL=''
597
598ac_unique_file="ags/config.h.in"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635gt_needs=
636ac_header_list=
637ac_subst_vars='am__EXEEXT_FALSE
638am__EXEEXT_TRUE
639LTLIBOBJS
640LIBGSEQUENCER_API_DOC
641WITH_EXPERIMENTAL_FALSE
642WITH_EXPERIMENTAL_TRUE
643WITH_SYSTEM_TESTS_FALSE
644WITH_SYSTEM_TESTS_TRUE
645GTK_DOC_USE_REBASE_FALSE
646GTK_DOC_USE_REBASE_TRUE
647GTK_DOC_USE_LIBTOOL_FALSE
648GTK_DOC_USE_LIBTOOL_TRUE
649GTK_DOC_BUILD_PDF_FALSE
650GTK_DOC_BUILD_PDF_TRUE
651GTK_DOC_BUILD_HTML_FALSE
652GTK_DOC_BUILD_HTML_TRUE
653ENABLE_GTK_DOC_FALSE
654ENABLE_GTK_DOC_TRUE
655HAVE_GTK_DOC_FALSE
656HAVE_GTK_DOC_TRUE
657GTKDOC_DEPS_LIBS
658GTKDOC_DEPS_CFLAGS
659HTML_DIR
660GTKDOC_MKPDF
661GTKDOC_REBASE
662GTKDOC_CHECK_PATH
663GTKDOC_CHECK
664OSX_FALSE
665OSX_TRUE
666WINDOWS_FALSE
667WINDOWS_TRUE
668FREEBSD_FALSE
669FREEBSD_TRUE
670LINUX_FALSE
671LINUX_TRUE
672GNU_FALSE
673GNU_TRUE
674LIBOBJS
675FAST_TEST_MODE_FALSE
676FAST_TEST_MODE_TRUE
677RUN_FUNCTIONAL_TESTS_FALSE
678RUN_FUNCTIONAL_TESTS_TRUE
679WITH_GSTREAMER_FALSE
680WITH_GSTREAMER_TRUE
681GSTREAMER_LIBS
682GSTREAMER_CFLAGS
683POPPLER_LIBS
684POPPLER_CFLAGS
685WEBKITGTK_LIBS
686WEBKITGTK_CFLAGS
687GTK_LIBS
688GTK_CFLAGS
689CAIRO_LIBS
690CAIRO_CFLAGS
691WITH_VST3_FALSE
692WITH_VST3_TRUE
693VST3_LIBS
694VST3_CXXFLAGS
695WITH_LIBINSTPATCH_FALSE
696WITH_LIBINSTPATCH_TRUE
697LIBINSTPATCH_LIBS
698LIBINSTPATCH_CFLAGS
699AGS_WITH_SINGLE_DOCDIR_FALSE
700AGS_WITH_SINGLE_DOCDIR_TRUE
701AGS_WITH_UPSTREAM_GTK_DOC_FALSE
702AGS_WITH_UPSTREAM_GTK_DOC_TRUE
703AGS_WITH_PUBLIC_LIBGSEQUENCER_FALSE
704AGS_WITH_PUBLIC_LIBGSEQUENCER_TRUE
705LIBSOUP_LIBS
706LIBSOUP_CFLAGS
707GIO_LIBS
708GIO_CFLAGS
709HAVE_INTROSPECTION_FALSE
710HAVE_INTROSPECTION_TRUE
711INTROSPECTION_MAKEFILE
712INTROSPECTION_LIBS
713INTROSPECTION_CFLAGS
714INTROSPECTION_TYPELIBDIR
715INTROSPECTION_GIRDIR
716INTROSPECTION_GENERATE
717INTROSPECTION_COMPILER
718INTROSPECTION_SCANNER
719_GI_EXP_LIBDIR
720_GI_EXP_DATADIR
721GOBJECT_LIBS
722GOBJECT_CFLAGS
723GLIB_LIBS
724GLIB_CFLAGS
725FFTW_LIBS
726FFTW_CFLAGS
727SNDFILE_LIBS
728SNDFILE_CFLAGS
729SAMPLERATE_LIBS
730SAMPLERATE_CFLAGS
731LIBXML2_LIBS
732LIBXML2_CFLAGS
733PULSE_LIBS
734PULSE_CFLAGS
735JACK_LIBS
736JACK_CFLAGS
737WASAPI_LIBS
738WASAPI_CFLAGS
739AUDIO_UNIT_LIBS
740AUDIO_UNIT_CFLAGS
741CORE_AUDIO_LIBS
742CORE_AUDIO_CFLAGS
743LIBDSSIALSACOMPAT_LIBS
744LIBDSSIALSACOMPAT_CFLAGS
745LIBASOUND2_LIBS
746LIBASOUND2_CFLAGS
747UUID_LIBS
748UUID_CFLAGS
749WITH_OSXAPI_FALSE
750WITH_OSXAPI_TRUE
751OSXAPI_LIBS
752OSXAPI_CFLAGS
753WITH_W32API_FALSE
754WITH_W32API_TRUE
755W32API_LIBS
756W32API_CFLAGS
757ALLOCA
758XMKMF
759GTK_MAC_INTEGRATION_LIBS
760GTK_MAC_INTEGRATION_CFLAGS
761PKG_CONFIG_LIBDIR
762PKG_CONFIG_PATH
763PKG_CONFIG
764GSEQUENCER_FUNCTIONAL_TEST_LDADD
765LIBGSEQUENCER_TEST_LIBADD
766MIDI2XML_LDFLAGS
767MIDI2XML_CFLAGS
768GSEQUENCER_LDFLAGS
769GSEQUENCER_CFLAGS
770LIBTOOL_DEPS
771CXXCPP
772LT_SYS_LIBRARY_PATH
773OTOOL64
774OTOOL
775LIPO
776NMEDIT
777DSYMUTIL
778MANIFEST_TOOL
779RANLIB
780ac_ct_AR
781AR
782LN_S
783NM
784ac_ct_DUMPBIN
785DUMPBIN
786LD
787FGREP
788LIBTOOL
789OBJDUMP
790DLLTOOL
791AS
792am__fastdepCXX_FALSE
793am__fastdepCXX_TRUE
794CXXDEPMODE
795ac_ct_CXX
796CXXFLAGS
797CXX
798LIBGSEQUENCER_API_DIR
799LIBAGS_GUI_API_DIR
800LIBAGS_AUDIO_API_DIR
801LIBAGS_API_DIR
802LIBAGS_GUI_API_DOC
803LIBAGS_AUDIO_API_DOC
804LIBAGS_API_DOC
805GTK_API_DOC
806GOBJECT_API_DOC
807HTMLHELP_XSL
808POSUB
809LTLIBINTL
810LIBINTL
811INTLLIBS
812LTLIBICONV
813LIBICONV
814INTL_MACOSX_LIBS
815host_os
816host_vendor
817host_cpu
818host
819build_os
820build_vendor
821build_cpu
822build
823XGETTEXT_EXTRA_OPTIONS
824MSGMERGE
825XGETTEXT_015
826XGETTEXT
827GMSGFMT_015
828MSGFMT_015
829GMSGFMT
830MSGFMT
831GETTEXT_MACRO_VERSION
832USE_NLS
833SED
834EGREP
835GREP
836CPP
837am__fastdepCC_FALSE
838am__fastdepCC_TRUE
839CCDEPMODE
840am__nodep
841AMDEPBACKSLASH
842AMDEP_FALSE
843AMDEP_TRUE
844am__include
845DEPDIR
846OBJEXT
847EXEEXT
848ac_ct_CC
849CPPFLAGS
850LDFLAGS
851CFLAGS
852CC
853AM_BACKSLASH
854AM_DEFAULT_VERBOSITY
855AM_DEFAULT_V
856AM_V
857CSCOPE
858ETAGS
859CTAGS
860am__untar
861am__tar
862AMTAR
863am__leading_dot
864SET_MAKE
865AWK
866mkdir_p
867MKDIR_P
868INSTALL_STRIP_PROGRAM
869STRIP
870install_sh
871MAKEINFO
872AUTOHEADER
873AUTOMAKE
874AUTOCONF
875ACLOCAL
876VERSION
877PACKAGE
878CYGPATH_W
879am__isrc
880INSTALL_DATA
881INSTALL_SCRIPT
882INSTALL_PROGRAM
883target_alias
884host_alias
885build_alias
886LIBS
887ECHO_T
888ECHO_N
889ECHO_C
890DEFS
891mandir
892localedir
893libdir
894psdir
895pdfdir
896dvidir
897htmldir
898infodir
899docdir
900oldincludedir
901includedir
902runstatedir
903localstatedir
904sharedstatedir
905sysconfdir
906datadir
907datarootdir
908libexecdir
909sbindir
910bindir
911program_transform_name
912prefix
913exec_prefix
914PACKAGE_URL
915PACKAGE_BUGREPORT
916PACKAGE_STRING
917PACKAGE_VERSION
918PACKAGE_TARNAME
919PACKAGE_NAME
920PATH_SEPARATOR
921SHELL
922am__quote'
923ac_subst_files=''
924ac_user_opts='
925enable_option_checking
926enable_silent_rules
927enable_dependency_tracking
928enable_nls
929with_gnu_ld
930enable_rpath
931with_libiconv_prefix
932with_libintl_prefix
933enable_public_libgsequencer
934enable_upstream_gtk_doc
935enable_single_docdir
936enable_strip_rt_events
937enable_rt
938enable_w32api
939enable_osxapi
940enable_alsa
941enable_alsa_compat
942enable_oss
943enable_jack
944enable_pulse
945enable_core_audio
946enable_audio_unit
947enable_wasapi
948enable_libinstpatch
949enable_vst3
950enable_x11
951enable_quartz
952enable_run_functional_tests
953enable_fast_test_mode
954enable_run_system_tests
955enable_experimental
956with_webkit
957with_poppler
958with_gstreamer
959enable_shared
960enable_static
961with_pic
962enable_fast_install
963with_aix_soname
964with_sysroot
965enable_libtool_lock
966with_x
967enable_introspection
968with_html_dir
969enable_gtk_doc
970enable_gtk_doc_html
971enable_gtk_doc_pdf
972'
973      ac_precious_vars='build_alias
974host_alias
975target_alias
976CC
977CFLAGS
978LDFLAGS
979LIBS
980CPPFLAGS
981CPP
982HTMLHELP_XSL
983GOBJECT_API_DOC
984GTK_API_DOC
985LIBAGS_API_DOC
986LIBAGS_AUDIO_API_DOC
987LIBAGS_GUI_API_DOC
988LIBAGS_API_DIR
989LIBAGS_AUDIO_API_DIR
990LIBAGS_GUI_API_DIR
991LIBGSEQUENCER_API_DIR
992CXX
993CXXFLAGS
994CCC
995LT_SYS_LIBRARY_PATH
996CXXCPP
997PKG_CONFIG
998PKG_CONFIG_PATH
999PKG_CONFIG_LIBDIR
1000GTK_MAC_INTEGRATION_CFLAGS
1001GTK_MAC_INTEGRATION_LIBS
1002XMKMF
1003UUID_CFLAGS
1004UUID_LIBS
1005LIBASOUND2_CFLAGS
1006LIBASOUND2_LIBS
1007LIBDSSIALSACOMPAT_CFLAGS
1008LIBDSSIALSACOMPAT_LIBS
1009JACK_CFLAGS
1010JACK_LIBS
1011PULSE_CFLAGS
1012PULSE_LIBS
1013LIBXML2_CFLAGS
1014LIBXML2_LIBS
1015SAMPLERATE_CFLAGS
1016SAMPLERATE_LIBS
1017SNDFILE_CFLAGS
1018SNDFILE_LIBS
1019FFTW_CFLAGS
1020FFTW_LIBS
1021GLIB_CFLAGS
1022GLIB_LIBS
1023GOBJECT_CFLAGS
1024GOBJECT_LIBS
1025GIO_CFLAGS
1026GIO_LIBS
1027LIBSOUP_CFLAGS
1028LIBSOUP_LIBS
1029LIBINSTPATCH_CFLAGS
1030LIBINSTPATCH_LIBS
1031CAIRO_CFLAGS
1032CAIRO_LIBS
1033GTK_CFLAGS
1034GTK_LIBS
1035WEBKITGTK_CFLAGS
1036WEBKITGTK_LIBS
1037POPPLER_CFLAGS
1038POPPLER_LIBS
1039GSTREAMER_CFLAGS
1040GSTREAMER_LIBS
1041GTKDOC_DEPS_CFLAGS
1042GTKDOC_DEPS_LIBS'
1043
1044
1045# Initialize some variables set by options.
1046ac_init_help=
1047ac_init_version=false
1048ac_unrecognized_opts=
1049ac_unrecognized_sep=
1050# The variables have the same names as the options, with
1051# dashes changed to underlines.
1052cache_file=/dev/null
1053exec_prefix=NONE
1054no_create=
1055no_recursion=
1056prefix=NONE
1057program_prefix=NONE
1058program_suffix=NONE
1059program_transform_name=s,x,x,
1060silent=
1061site=
1062srcdir=
1063verbose=
1064x_includes=NONE
1065x_libraries=NONE
1066
1067# Installation directory options.
1068# These are left unexpanded so users can "make install exec_prefix=/foo"
1069# and all the variables that are supposed to be based on exec_prefix
1070# by default will actually change.
1071# Use braces instead of parens because sh, perl, etc. also accept them.
1072# (The list follows the same order as the GNU Coding Standards.)
1073bindir='${exec_prefix}/bin'
1074sbindir='${exec_prefix}/sbin'
1075libexecdir='${exec_prefix}/libexec'
1076datarootdir='${prefix}/share'
1077datadir='${datarootdir}'
1078sysconfdir='${prefix}/etc'
1079sharedstatedir='${prefix}/com'
1080localstatedir='${prefix}/var'
1081runstatedir='${localstatedir}/run'
1082includedir='${prefix}/include'
1083oldincludedir='/usr/include'
1084docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1085infodir='${datarootdir}/info'
1086htmldir='${docdir}'
1087dvidir='${docdir}'
1088pdfdir='${docdir}'
1089psdir='${docdir}'
1090libdir='${exec_prefix}/lib'
1091localedir='${datarootdir}/locale'
1092mandir='${datarootdir}/man'
1093
1094ac_prev=
1095ac_dashdash=
1096for ac_option
1097do
1098  # If the previous option needs an argument, assign it.
1099  if test -n "$ac_prev"; then
1100    eval $ac_prev=\$ac_option
1101    ac_prev=
1102    continue
1103  fi
1104
1105  case $ac_option in
1106  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1107  *=)   ac_optarg= ;;
1108  *)    ac_optarg=yes ;;
1109  esac
1110
1111  # Accept the important Cygnus configure options, so we can diagnose typos.
1112
1113  case $ac_dashdash$ac_option in
1114  --)
1115    ac_dashdash=yes ;;
1116
1117  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1118    ac_prev=bindir ;;
1119  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1120    bindir=$ac_optarg ;;
1121
1122  -build | --build | --buil | --bui | --bu)
1123    ac_prev=build_alias ;;
1124  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1125    build_alias=$ac_optarg ;;
1126
1127  -cache-file | --cache-file | --cache-fil | --cache-fi \
1128  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1129    ac_prev=cache_file ;;
1130  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1131  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1132    cache_file=$ac_optarg ;;
1133
1134  --config-cache | -C)
1135    cache_file=config.cache ;;
1136
1137  -datadir | --datadir | --datadi | --datad)
1138    ac_prev=datadir ;;
1139  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1140    datadir=$ac_optarg ;;
1141
1142  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1143  | --dataroo | --dataro | --datar)
1144    ac_prev=datarootdir ;;
1145  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1146  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1147    datarootdir=$ac_optarg ;;
1148
1149  -disable-* | --disable-*)
1150    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1151    # Reject names that are not valid shell variable names.
1152    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1153      as_fn_error $? "invalid feature name: $ac_useropt"
1154    ac_useropt_orig=$ac_useropt
1155    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156    case $ac_user_opts in
1157      *"
1158"enable_$ac_useropt"
1159"*) ;;
1160      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1161	 ac_unrecognized_sep=', ';;
1162    esac
1163    eval enable_$ac_useropt=no ;;
1164
1165  -docdir | --docdir | --docdi | --doc | --do)
1166    ac_prev=docdir ;;
1167  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1168    docdir=$ac_optarg ;;
1169
1170  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1171    ac_prev=dvidir ;;
1172  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1173    dvidir=$ac_optarg ;;
1174
1175  -enable-* | --enable-*)
1176    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1177    # Reject names that are not valid shell variable names.
1178    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179      as_fn_error $? "invalid feature name: $ac_useropt"
1180    ac_useropt_orig=$ac_useropt
1181    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182    case $ac_user_opts in
1183      *"
1184"enable_$ac_useropt"
1185"*) ;;
1186      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1187	 ac_unrecognized_sep=', ';;
1188    esac
1189    eval enable_$ac_useropt=\$ac_optarg ;;
1190
1191  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1192  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1193  | --exec | --exe | --ex)
1194    ac_prev=exec_prefix ;;
1195  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1196  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1197  | --exec=* | --exe=* | --ex=*)
1198    exec_prefix=$ac_optarg ;;
1199
1200  -gas | --gas | --ga | --g)
1201    # Obsolete; use --with-gas.
1202    with_gas=yes ;;
1203
1204  -help | --help | --hel | --he | -h)
1205    ac_init_help=long ;;
1206  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1207    ac_init_help=recursive ;;
1208  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1209    ac_init_help=short ;;
1210
1211  -host | --host | --hos | --ho)
1212    ac_prev=host_alias ;;
1213  -host=* | --host=* | --hos=* | --ho=*)
1214    host_alias=$ac_optarg ;;
1215
1216  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1217    ac_prev=htmldir ;;
1218  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1219  | --ht=*)
1220    htmldir=$ac_optarg ;;
1221
1222  -includedir | --includedir | --includedi | --included | --include \
1223  | --includ | --inclu | --incl | --inc)
1224    ac_prev=includedir ;;
1225  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1226  | --includ=* | --inclu=* | --incl=* | --inc=*)
1227    includedir=$ac_optarg ;;
1228
1229  -infodir | --infodir | --infodi | --infod | --info | --inf)
1230    ac_prev=infodir ;;
1231  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1232    infodir=$ac_optarg ;;
1233
1234  -libdir | --libdir | --libdi | --libd)
1235    ac_prev=libdir ;;
1236  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1237    libdir=$ac_optarg ;;
1238
1239  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1240  | --libexe | --libex | --libe)
1241    ac_prev=libexecdir ;;
1242  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1243  | --libexe=* | --libex=* | --libe=*)
1244    libexecdir=$ac_optarg ;;
1245
1246  -localedir | --localedir | --localedi | --localed | --locale)
1247    ac_prev=localedir ;;
1248  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1249    localedir=$ac_optarg ;;
1250
1251  -localstatedir | --localstatedir | --localstatedi | --localstated \
1252  | --localstate | --localstat | --localsta | --localst | --locals)
1253    ac_prev=localstatedir ;;
1254  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1255  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1256    localstatedir=$ac_optarg ;;
1257
1258  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1259    ac_prev=mandir ;;
1260  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1261    mandir=$ac_optarg ;;
1262
1263  -nfp | --nfp | --nf)
1264    # Obsolete; use --without-fp.
1265    with_fp=no ;;
1266
1267  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1268  | --no-cr | --no-c | -n)
1269    no_create=yes ;;
1270
1271  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1272  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1273    no_recursion=yes ;;
1274
1275  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1276  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1277  | --oldin | --oldi | --old | --ol | --o)
1278    ac_prev=oldincludedir ;;
1279  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1280  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1281  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1282    oldincludedir=$ac_optarg ;;
1283
1284  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1285    ac_prev=prefix ;;
1286  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1287    prefix=$ac_optarg ;;
1288
1289  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1290  | --program-pre | --program-pr | --program-p)
1291    ac_prev=program_prefix ;;
1292  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1293  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1294    program_prefix=$ac_optarg ;;
1295
1296  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1297  | --program-suf | --program-su | --program-s)
1298    ac_prev=program_suffix ;;
1299  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1300  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1301    program_suffix=$ac_optarg ;;
1302
1303  -program-transform-name | --program-transform-name \
1304  | --program-transform-nam | --program-transform-na \
1305  | --program-transform-n | --program-transform- \
1306  | --program-transform | --program-transfor \
1307  | --program-transfo | --program-transf \
1308  | --program-trans | --program-tran \
1309  | --progr-tra | --program-tr | --program-t)
1310    ac_prev=program_transform_name ;;
1311  -program-transform-name=* | --program-transform-name=* \
1312  | --program-transform-nam=* | --program-transform-na=* \
1313  | --program-transform-n=* | --program-transform-=* \
1314  | --program-transform=* | --program-transfor=* \
1315  | --program-transfo=* | --program-transf=* \
1316  | --program-trans=* | --program-tran=* \
1317  | --progr-tra=* | --program-tr=* | --program-t=*)
1318    program_transform_name=$ac_optarg ;;
1319
1320  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1321    ac_prev=pdfdir ;;
1322  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1323    pdfdir=$ac_optarg ;;
1324
1325  -psdir | --psdir | --psdi | --psd | --ps)
1326    ac_prev=psdir ;;
1327  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1328    psdir=$ac_optarg ;;
1329
1330  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1331  | -silent | --silent | --silen | --sile | --sil)
1332    silent=yes ;;
1333
1334  -runstatedir | --runstatedir | --runstatedi | --runstated \
1335  | --runstate | --runstat | --runsta | --runst | --runs \
1336  | --run | --ru | --r)
1337    ac_prev=runstatedir ;;
1338  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1339  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1340  | --run=* | --ru=* | --r=*)
1341    runstatedir=$ac_optarg ;;
1342
1343  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1344    ac_prev=sbindir ;;
1345  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1346  | --sbi=* | --sb=*)
1347    sbindir=$ac_optarg ;;
1348
1349  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1350  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1351  | --sharedst | --shareds | --shared | --share | --shar \
1352  | --sha | --sh)
1353    ac_prev=sharedstatedir ;;
1354  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1355  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1356  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1357  | --sha=* | --sh=*)
1358    sharedstatedir=$ac_optarg ;;
1359
1360  -site | --site | --sit)
1361    ac_prev=site ;;
1362  -site=* | --site=* | --sit=*)
1363    site=$ac_optarg ;;
1364
1365  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1366    ac_prev=srcdir ;;
1367  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1368    srcdir=$ac_optarg ;;
1369
1370  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1371  | --syscon | --sysco | --sysc | --sys | --sy)
1372    ac_prev=sysconfdir ;;
1373  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1374  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1375    sysconfdir=$ac_optarg ;;
1376
1377  -target | --target | --targe | --targ | --tar | --ta | --t)
1378    ac_prev=target_alias ;;
1379  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1380    target_alias=$ac_optarg ;;
1381
1382  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1383    verbose=yes ;;
1384
1385  -version | --version | --versio | --versi | --vers | -V)
1386    ac_init_version=: ;;
1387
1388  -with-* | --with-*)
1389    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1390    # Reject names that are not valid shell variable names.
1391    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1392      as_fn_error $? "invalid package name: $ac_useropt"
1393    ac_useropt_orig=$ac_useropt
1394    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1395    case $ac_user_opts in
1396      *"
1397"with_$ac_useropt"
1398"*) ;;
1399      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1400	 ac_unrecognized_sep=', ';;
1401    esac
1402    eval with_$ac_useropt=\$ac_optarg ;;
1403
1404  -without-* | --without-*)
1405    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1406    # Reject names that are not valid shell variable names.
1407    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1408      as_fn_error $? "invalid package name: $ac_useropt"
1409    ac_useropt_orig=$ac_useropt
1410    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1411    case $ac_user_opts in
1412      *"
1413"with_$ac_useropt"
1414"*) ;;
1415      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1416	 ac_unrecognized_sep=', ';;
1417    esac
1418    eval with_$ac_useropt=no ;;
1419
1420  --x)
1421    # Obsolete; use --with-x.
1422    with_x=yes ;;
1423
1424  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1425  | --x-incl | --x-inc | --x-in | --x-i)
1426    ac_prev=x_includes ;;
1427  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1428  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1429    x_includes=$ac_optarg ;;
1430
1431  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1432  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1433    ac_prev=x_libraries ;;
1434  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1435  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1436    x_libraries=$ac_optarg ;;
1437
1438  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1439Try \`$0 --help' for more information"
1440    ;;
1441
1442  *=*)
1443    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1444    # Reject names that are not valid shell variable names.
1445    case $ac_envvar in #(
1446      '' | [0-9]* | *[!_$as_cr_alnum]* )
1447      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1448    esac
1449    eval $ac_envvar=\$ac_optarg
1450    export $ac_envvar ;;
1451
1452  *)
1453    # FIXME: should be removed in autoconf 3.0.
1454    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1455    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1456      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1457    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1458    ;;
1459
1460  esac
1461done
1462
1463if test -n "$ac_prev"; then
1464  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1465  as_fn_error $? "missing argument to $ac_option"
1466fi
1467
1468if test -n "$ac_unrecognized_opts"; then
1469  case $enable_option_checking in
1470    no) ;;
1471    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1472    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1473  esac
1474fi
1475
1476# Check all directory arguments for consistency.
1477for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1478		datadir sysconfdir sharedstatedir localstatedir includedir \
1479		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1480		libdir localedir mandir runstatedir
1481do
1482  eval ac_val=\$$ac_var
1483  # Remove trailing slashes.
1484  case $ac_val in
1485    */ )
1486      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1487      eval $ac_var=\$ac_val;;
1488  esac
1489  # Be sure to have absolute directory names.
1490  case $ac_val in
1491    [\\/$]* | ?:[\\/]* )  continue;;
1492    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1493  esac
1494  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1495done
1496
1497# There might be people who depend on the old broken behavior: `$host'
1498# used to hold the argument of --host etc.
1499# FIXME: To remove some day.
1500build=$build_alias
1501host=$host_alias
1502target=$target_alias
1503
1504# FIXME: To remove some day.
1505if test "x$host_alias" != x; then
1506  if test "x$build_alias" = x; then
1507    cross_compiling=maybe
1508  elif test "x$build_alias" != "x$host_alias"; then
1509    cross_compiling=yes
1510  fi
1511fi
1512
1513ac_tool_prefix=
1514test -n "$host_alias" && ac_tool_prefix=$host_alias-
1515
1516test "$silent" = yes && exec 6>/dev/null
1517
1518
1519ac_pwd=`pwd` && test -n "$ac_pwd" &&
1520ac_ls_di=`ls -di .` &&
1521ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1522  as_fn_error $? "working directory cannot be determined"
1523test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1524  as_fn_error $? "pwd does not report name of working directory"
1525
1526
1527# Find the source files, if location was not specified.
1528if test -z "$srcdir"; then
1529  ac_srcdir_defaulted=yes
1530  # Try the directory containing this script, then the parent directory.
1531  ac_confdir=`$as_dirname -- "$as_myself" ||
1532$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1533	 X"$as_myself" : 'X\(//\)[^/]' \| \
1534	 X"$as_myself" : 'X\(//\)$' \| \
1535	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1536$as_echo X"$as_myself" |
1537    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1538	    s//\1/
1539	    q
1540	  }
1541	  /^X\(\/\/\)[^/].*/{
1542	    s//\1/
1543	    q
1544	  }
1545	  /^X\(\/\/\)$/{
1546	    s//\1/
1547	    q
1548	  }
1549	  /^X\(\/\).*/{
1550	    s//\1/
1551	    q
1552	  }
1553	  s/.*/./; q'`
1554  srcdir=$ac_confdir
1555  if test ! -r "$srcdir/$ac_unique_file"; then
1556    srcdir=..
1557  fi
1558else
1559  ac_srcdir_defaulted=no
1560fi
1561if test ! -r "$srcdir/$ac_unique_file"; then
1562  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1563  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1564fi
1565ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1566ac_abs_confdir=`(
1567	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1568	pwd)`
1569# When building in place, set srcdir=.
1570if test "$ac_abs_confdir" = "$ac_pwd"; then
1571  srcdir=.
1572fi
1573# Remove unnecessary trailing slashes from srcdir.
1574# Double slashes in file names in object file debugging info
1575# mess up M-x gdb in Emacs.
1576case $srcdir in
1577*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1578esac
1579for ac_var in $ac_precious_vars; do
1580  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1581  eval ac_env_${ac_var}_value=\$${ac_var}
1582  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1583  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1584done
1585
1586#
1587# Report the --help message.
1588#
1589if test "$ac_init_help" = "long"; then
1590  # Omit some internal or obsolete options to make the list less imposing.
1591  # This message is too long to be a string in the A/UX 3.1 sh.
1592  cat <<_ACEOF
1593\`configure' configures gsequencer 3.10.4 to adapt to many kinds of systems.
1594
1595Usage: $0 [OPTION]... [VAR=VALUE]...
1596
1597To assign environment variables (e.g., CC, CFLAGS...), specify them as
1598VAR=VALUE.  See below for descriptions of some of the useful variables.
1599
1600Defaults for the options are specified in brackets.
1601
1602Configuration:
1603  -h, --help              display this help and exit
1604      --help=short        display options specific to this package
1605      --help=recursive    display the short help of all the included packages
1606  -V, --version           display version information and exit
1607  -q, --quiet, --silent   do not print \`checking ...' messages
1608      --cache-file=FILE   cache test results in FILE [disabled]
1609  -C, --config-cache      alias for \`--cache-file=config.cache'
1610  -n, --no-create         do not create output files
1611      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1612
1613Installation directories:
1614  --prefix=PREFIX         install architecture-independent files in PREFIX
1615                          [$ac_default_prefix]
1616  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1617                          [PREFIX]
1618
1619By default, \`make install' will install all the files in
1620\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1621an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1622for instance \`--prefix=\$HOME'.
1623
1624For better control, use the options below.
1625
1626Fine tuning of the installation directories:
1627  --bindir=DIR            user executables [EPREFIX/bin]
1628  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1629  --libexecdir=DIR        program executables [EPREFIX/libexec]
1630  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1631  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1632  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1633  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1634  --libdir=DIR            object code libraries [EPREFIX/lib]
1635  --includedir=DIR        C header files [PREFIX/include]
1636  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1637  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1638  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1639  --infodir=DIR           info documentation [DATAROOTDIR/info]
1640  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1641  --mandir=DIR            man documentation [DATAROOTDIR/man]
1642  --docdir=DIR            documentation root [DATAROOTDIR/doc/gsequencer]
1643  --htmldir=DIR           html documentation [DOCDIR]
1644  --dvidir=DIR            dvi documentation [DOCDIR]
1645  --pdfdir=DIR            pdf documentation [DOCDIR]
1646  --psdir=DIR             ps documentation [DOCDIR]
1647_ACEOF
1648
1649  cat <<\_ACEOF
1650
1651Program names:
1652  --program-prefix=PREFIX            prepend PREFIX to installed program names
1653  --program-suffix=SUFFIX            append SUFFIX to installed program names
1654  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1655
1656X features:
1657  --x-includes=DIR    X include files are in DIR
1658  --x-libraries=DIR   X library files are in DIR
1659
1660System types:
1661  --build=BUILD     configure for building on BUILD [guessed]
1662  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1663_ACEOF
1664fi
1665
1666if test -n "$ac_init_help"; then
1667  case $ac_init_help in
1668     short | recursive ) echo "Configuration of gsequencer 3.10.4:";;
1669   esac
1670  cat <<\_ACEOF
1671
1672Optional Features:
1673  --disable-option-checking  ignore unrecognized --enable/--with options
1674  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1675  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1676  --enable-silent-rules   less verbose build output (undo: "make V=1")
1677  --disable-silent-rules  verbose build output (undo: "make V=0")
1678  --enable-dependency-tracking
1679                          do not reject slow dependency extractors
1680  --disable-dependency-tracking
1681                          speeds up one-time build
1682  --disable-nls           do not use Native Language Support
1683  --disable-rpath         do not hardcode runtime library paths
1684  --enable-public-libgsequencer
1685                          provide public libgsequencer (default is yes)
1686  --enable-upstream-gtk-doc
1687                          put API reference manual in upstream dedicated
1688                          directory (default is yes)
1689  --enable-single-docdir  put API reference manual in upstream dedicated
1690                          directory (default is no)
1691  --enable-strip-rt-events
1692                          strip rt events (default is yes)
1693  --enable-rt             enable rt (default is yes)
1694  --enable-w32api         enable w32 API (default is no)
1695  --enable-osxapi         enable OS X API (default is no)
1696  --enable-alsa           enable alsa (default is yes)
1697  --enable-alsa-compat    enable alsa compatibility library (default is no)
1698  --enable-oss            enable oss (default is no)
1699  --enable-jack           enable jack (default is yes)
1700  --enable-pulse          enable pulse (default is yes)
1701  --enable-core-audio     enable core audio (default is no)
1702  --enable-audio-unit     enable audio unit (default is no)
1703  --enable-wasapi         enable WASAPI (default is no)
1704  --enable-libinstpatch   enable libinstpatch (default is yes)
1705  --enable-vst3           enable vst3 (default is no)
1706  --enable-x11            enable X11 (default is yes)
1707  --enable-quartz         enable quartz (default is no)
1708  --enable-run-functional-tests
1709                          run functional tests (default is no)
1710  --enable-fast-test-mode fast test mode (default is no)
1711  --enable-run-system-tests
1712                          run system tests (default is no)
1713  --enable-experimental   experimental (default is no)
1714  --enable-shared[=PKGS]  build shared libraries [default=yes]
1715  --enable-static[=PKGS]  build static libraries [default=yes]
1716  --enable-fast-install[=PKGS]
1717                          optimize for fast installation [default=yes]
1718  --disable-libtool-lock  avoid locking (might break parallel builds)
1719  --enable-introspection=[no/auto/yes]
1720                          Enable introspection for this build
1721  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1722  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1723  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1724
1725Optional Packages:
1726  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1727  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1728  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1729  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1730  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1731  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1732  --without-libintl-prefix     don't search for libintl in includedir and libdir
1733  --without-webkit        disable support for webkit
1734  --with-poppler          enable support for poppler
1735  --without-gstreamer     disable support for gstreamer
1736  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1737                          both]
1738  --with-aix-soname=aix|svr4|both
1739                          shared library versioning (aka "SONAME") variant to
1740                          provide on AIX, [default=aix].
1741  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1742  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1743                          compiler's sysroot if not specified).
1744  --with-x                use the X Window System
1745  --with-html-dir=PATH    path to installed docs
1746
1747Some influential environment variables:
1748  CC          C compiler command
1749  CFLAGS      C compiler flags
1750  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1751              nonstandard directory <lib dir>
1752  LIBS        libraries to pass to the linker, e.g. -l<library>
1753  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1754              you have headers in a nonstandard directory <include dir>
1755  CPP         C preprocessor
1756  HTMLHELP_XSL
1757              path to Docbook XML htmlhelp XSL file
1758  GOBJECT_API_DOC
1759              path for use with sed to GObject API Reference Manual
1760  GTK_API_DOC path for use with sed to Gtk-3 API Reference Manual
1761  LIBAGS_API_DOC
1762              path for use with sed to Libags API Reference Manual
1763  LIBAGS_AUDIO_API_DOC
1764              path for use with sed to Libags-audio API Reference Manual
1765  LIBAGS_GUI_API_DOC
1766              path for use with sed to Libags-gui API Reference Manual
1767  LIBAGS_API_DIR
1768              install path of Libags API Reference Manual
1769  LIBAGS_AUDIO_API_DIR
1770              install path of Libags-audio API Reference Manual
1771  LIBAGS_GUI_API_DIR
1772              install path of Libags-gui API Reference Manual
1773  LIBGSEQUENCER_API_DIR
1774              install path of Libgsequencer API Reference Manual
1775  CXX         C++ compiler command
1776  CXXFLAGS    C++ compiler flags
1777  LT_SYS_LIBRARY_PATH
1778              User-defined run-time library search path.
1779  CXXCPP      C++ preprocessor
1780  PKG_CONFIG  path to pkg-config utility
1781  PKG_CONFIG_PATH
1782              directories to add to pkg-config's search path
1783  PKG_CONFIG_LIBDIR
1784              path overriding pkg-config's built-in search path
1785  GTK_MAC_INTEGRATION_CFLAGS
1786              C compiler flags for GTK_MAC_INTEGRATION, overriding pkg-config
1787  GTK_MAC_INTEGRATION_LIBS
1788              linker flags for GTK_MAC_INTEGRATION, overriding pkg-config
1789  XMKMF       Path to xmkmf, Makefile generator for X Window System
1790  UUID_CFLAGS C compiler flags for UUID, overriding pkg-config
1791  UUID_LIBS   linker flags for UUID, overriding pkg-config
1792  LIBASOUND2_CFLAGS
1793              C compiler flags for LIBASOUND2, overriding pkg-config
1794  LIBASOUND2_LIBS
1795              linker flags for LIBASOUND2, overriding pkg-config
1796  LIBDSSIALSACOMPAT_CFLAGS
1797              C compiler flags for LIBDSSIALSACOMPAT, overriding pkg-config
1798  LIBDSSIALSACOMPAT_LIBS
1799              linker flags for LIBDSSIALSACOMPAT, overriding pkg-config
1800  JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
1801  JACK_LIBS   linker flags for JACK, overriding pkg-config
1802  PULSE_CFLAGS
1803              C compiler flags for PULSE, overriding pkg-config
1804  PULSE_LIBS  linker flags for PULSE, overriding pkg-config
1805  LIBXML2_CFLAGS
1806              C compiler flags for LIBXML2, overriding pkg-config
1807  LIBXML2_LIBS
1808              linker flags for LIBXML2, overriding pkg-config
1809  SAMPLERATE_CFLAGS
1810              C compiler flags for SAMPLERATE, overriding pkg-config
1811  SAMPLERATE_LIBS
1812              linker flags for SAMPLERATE, overriding pkg-config
1813  SNDFILE_CFLAGS
1814              C compiler flags for SNDFILE, overriding pkg-config
1815  SNDFILE_LIBS
1816              linker flags for SNDFILE, overriding pkg-config
1817  FFTW_CFLAGS C compiler flags for FFTW, overriding pkg-config
1818  FFTW_LIBS   linker flags for FFTW, overriding pkg-config
1819  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1820  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1821  GOBJECT_CFLAGS
1822              C compiler flags for GOBJECT, overriding pkg-config
1823  GOBJECT_LIBS
1824              linker flags for GOBJECT, overriding pkg-config
1825  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1826  GIO_LIBS    linker flags for GIO, overriding pkg-config
1827  LIBSOUP_CFLAGS
1828              C compiler flags for LIBSOUP, overriding pkg-config
1829  LIBSOUP_LIBS
1830              linker flags for LIBSOUP, overriding pkg-config
1831  LIBINSTPATCH_CFLAGS
1832              C compiler flags for LIBINSTPATCH, overriding pkg-config
1833  LIBINSTPATCH_LIBS
1834              linker flags for LIBINSTPATCH, overriding pkg-config
1835  CAIRO_CFLAGS
1836              C compiler flags for CAIRO, overriding pkg-config
1837  CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1838  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1839  GTK_LIBS    linker flags for GTK, overriding pkg-config
1840  WEBKITGTK_CFLAGS
1841              C compiler flags for WEBKITGTK, overriding pkg-config
1842  WEBKITGTK_LIBS
1843              linker flags for WEBKITGTK, overriding pkg-config
1844  POPPLER_CFLAGS
1845              C compiler flags for POPPLER, overriding pkg-config
1846  POPPLER_LIBS
1847              linker flags for POPPLER, overriding pkg-config
1848  GSTREAMER_CFLAGS
1849              C compiler flags for GSTREAMER, overriding pkg-config
1850  GSTREAMER_LIBS
1851              linker flags for GSTREAMER, overriding pkg-config
1852  GTKDOC_DEPS_CFLAGS
1853              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1854  GTKDOC_DEPS_LIBS
1855              linker flags for GTKDOC_DEPS, overriding pkg-config
1856
1857Use these variables to override the choices made by `configure' or to help
1858it to find libraries and programs with nonstandard names/locations.
1859
1860Report bugs to <jkraehemann@gmail.com>.
1861_ACEOF
1862ac_status=$?
1863fi
1864
1865if test "$ac_init_help" = "recursive"; then
1866  # If there are subdirs, report their specific --help.
1867  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1868    test -d "$ac_dir" ||
1869      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1870      continue
1871    ac_builddir=.
1872
1873case "$ac_dir" in
1874.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1875*)
1876  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1877  # A ".." for each directory in $ac_dir_suffix.
1878  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1879  case $ac_top_builddir_sub in
1880  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1881  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1882  esac ;;
1883esac
1884ac_abs_top_builddir=$ac_pwd
1885ac_abs_builddir=$ac_pwd$ac_dir_suffix
1886# for backward compatibility:
1887ac_top_builddir=$ac_top_build_prefix
1888
1889case $srcdir in
1890  .)  # We are building in place.
1891    ac_srcdir=.
1892    ac_top_srcdir=$ac_top_builddir_sub
1893    ac_abs_top_srcdir=$ac_pwd ;;
1894  [\\/]* | ?:[\\/]* )  # Absolute name.
1895    ac_srcdir=$srcdir$ac_dir_suffix;
1896    ac_top_srcdir=$srcdir
1897    ac_abs_top_srcdir=$srcdir ;;
1898  *) # Relative name.
1899    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1900    ac_top_srcdir=$ac_top_build_prefix$srcdir
1901    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1902esac
1903ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1904
1905    cd "$ac_dir" || { ac_status=$?; continue; }
1906    # Check for guested configure.
1907    if test -f "$ac_srcdir/configure.gnu"; then
1908      echo &&
1909      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1910    elif test -f "$ac_srcdir/configure"; then
1911      echo &&
1912      $SHELL "$ac_srcdir/configure" --help=recursive
1913    else
1914      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1915    fi || ac_status=$?
1916    cd "$ac_pwd" || { ac_status=$?; break; }
1917  done
1918fi
1919
1920test -n "$ac_init_help" && exit $ac_status
1921if $ac_init_version; then
1922  cat <<\_ACEOF
1923gsequencer configure 3.10.4
1924generated by GNU Autoconf 2.69
1925
1926Copyright (C) 2012 Free Software Foundation, Inc.
1927This configure script is free software; the Free Software Foundation
1928gives unlimited permission to copy, distribute and modify it.
1929_ACEOF
1930  exit
1931fi
1932
1933## ------------------------ ##
1934## Autoconf initialization. ##
1935## ------------------------ ##
1936
1937# ac_fn_c_try_compile LINENO
1938# --------------------------
1939# Try to compile conftest.$ac_ext, and return whether this succeeded.
1940ac_fn_c_try_compile ()
1941{
1942  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943  rm -f conftest.$ac_objext
1944  if { { ac_try="$ac_compile"
1945case "(($ac_try" in
1946  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1947  *) ac_try_echo=$ac_try;;
1948esac
1949eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1950$as_echo "$ac_try_echo"; } >&5
1951  (eval "$ac_compile") 2>conftest.err
1952  ac_status=$?
1953  if test -s conftest.err; then
1954    grep -v '^ *+' conftest.err >conftest.er1
1955    cat conftest.er1 >&5
1956    mv -f conftest.er1 conftest.err
1957  fi
1958  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959  test $ac_status = 0; } && {
1960	 test -z "$ac_c_werror_flag" ||
1961	 test ! -s conftest.err
1962       } && test -s conftest.$ac_objext; then :
1963  ac_retval=0
1964else
1965  $as_echo "$as_me: failed program was:" >&5
1966sed 's/^/| /' conftest.$ac_ext >&5
1967
1968	ac_retval=1
1969fi
1970  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971  as_fn_set_status $ac_retval
1972
1973} # ac_fn_c_try_compile
1974
1975# ac_fn_c_try_cpp LINENO
1976# ----------------------
1977# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1978ac_fn_c_try_cpp ()
1979{
1980  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981  if { { ac_try="$ac_cpp conftest.$ac_ext"
1982case "(($ac_try" in
1983  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1984  *) ac_try_echo=$ac_try;;
1985esac
1986eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1987$as_echo "$ac_try_echo"; } >&5
1988  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1989  ac_status=$?
1990  if test -s conftest.err; then
1991    grep -v '^ *+' conftest.err >conftest.er1
1992    cat conftest.er1 >&5
1993    mv -f conftest.er1 conftest.err
1994  fi
1995  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996  test $ac_status = 0; } > conftest.i && {
1997	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1998	 test ! -s conftest.err
1999       }; then :
2000  ac_retval=0
2001else
2002  $as_echo "$as_me: failed program was:" >&5
2003sed 's/^/| /' conftest.$ac_ext >&5
2004
2005    ac_retval=1
2006fi
2007  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2008  as_fn_set_status $ac_retval
2009
2010} # ac_fn_c_try_cpp
2011
2012# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2013# -------------------------------------------------------
2014# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2015# the include files in INCLUDES and setting the cache variable VAR
2016# accordingly.
2017ac_fn_c_check_header_mongrel ()
2018{
2019  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020  if eval \${$3+:} false; then :
2021  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2022$as_echo_n "checking for $2... " >&6; }
2023if eval \${$3+:} false; then :
2024  $as_echo_n "(cached) " >&6
2025fi
2026eval ac_res=\$$3
2027	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2028$as_echo "$ac_res" >&6; }
2029else
2030  # Is the header compilable?
2031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2032$as_echo_n "checking $2 usability... " >&6; }
2033cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034/* end confdefs.h.  */
2035$4
2036#include <$2>
2037_ACEOF
2038if ac_fn_c_try_compile "$LINENO"; then :
2039  ac_header_compiler=yes
2040else
2041  ac_header_compiler=no
2042fi
2043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2045$as_echo "$ac_header_compiler" >&6; }
2046
2047# Is the header present?
2048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2049$as_echo_n "checking $2 presence... " >&6; }
2050cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2051/* end confdefs.h.  */
2052#include <$2>
2053_ACEOF
2054if ac_fn_c_try_cpp "$LINENO"; then :
2055  ac_header_preproc=yes
2056else
2057  ac_header_preproc=no
2058fi
2059rm -f conftest.err conftest.i conftest.$ac_ext
2060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2061$as_echo "$ac_header_preproc" >&6; }
2062
2063# So?  What about this header?
2064case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2065  yes:no: )
2066    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2067$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2068    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2069$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2070    ;;
2071  no:yes:* )
2072    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2073$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2074    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2075$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2076    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2077$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2078    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2079$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2080    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2081$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2082( $as_echo "## ------------------------------------ ##
2083## Report this to jkraehemann@gmail.com ##
2084## ------------------------------------ ##"
2085     ) | sed "s/^/$as_me: WARNING:     /" >&2
2086    ;;
2087esac
2088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2089$as_echo_n "checking for $2... " >&6; }
2090if eval \${$3+:} false; then :
2091  $as_echo_n "(cached) " >&6
2092else
2093  eval "$3=\$ac_header_compiler"
2094fi
2095eval ac_res=\$$3
2096	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2097$as_echo "$ac_res" >&6; }
2098fi
2099  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2100
2101} # ac_fn_c_check_header_mongrel
2102
2103# ac_fn_c_try_run LINENO
2104# ----------------------
2105# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2106# that executables *can* be run.
2107ac_fn_c_try_run ()
2108{
2109  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2110  if { { ac_try="$ac_link"
2111case "(($ac_try" in
2112  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2113  *) ac_try_echo=$ac_try;;
2114esac
2115eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2116$as_echo "$ac_try_echo"; } >&5
2117  (eval "$ac_link") 2>&5
2118  ac_status=$?
2119  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2120  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2121  { { case "(($ac_try" in
2122  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2123  *) ac_try_echo=$ac_try;;
2124esac
2125eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2126$as_echo "$ac_try_echo"; } >&5
2127  (eval "$ac_try") 2>&5
2128  ac_status=$?
2129  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2130  test $ac_status = 0; }; }; then :
2131  ac_retval=0
2132else
2133  $as_echo "$as_me: program exited with status $ac_status" >&5
2134       $as_echo "$as_me: failed program was:" >&5
2135sed 's/^/| /' conftest.$ac_ext >&5
2136
2137       ac_retval=$ac_status
2138fi
2139  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2140  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2141  as_fn_set_status $ac_retval
2142
2143} # ac_fn_c_try_run
2144
2145# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2146# -------------------------------------------------------
2147# Tests whether HEADER exists and can be compiled using the include files in
2148# INCLUDES, setting the cache variable VAR accordingly.
2149ac_fn_c_check_header_compile ()
2150{
2151  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2152  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2153$as_echo_n "checking for $2... " >&6; }
2154if eval \${$3+:} false; then :
2155  $as_echo_n "(cached) " >&6
2156else
2157  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2158/* end confdefs.h.  */
2159$4
2160#include <$2>
2161_ACEOF
2162if ac_fn_c_try_compile "$LINENO"; then :
2163  eval "$3=yes"
2164else
2165  eval "$3=no"
2166fi
2167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2168fi
2169eval ac_res=\$$3
2170	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2171$as_echo "$ac_res" >&6; }
2172  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2173
2174} # ac_fn_c_check_header_compile
2175
2176# ac_fn_c_try_link LINENO
2177# -----------------------
2178# Try to link conftest.$ac_ext, and return whether this succeeded.
2179ac_fn_c_try_link ()
2180{
2181  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2182  rm -f conftest.$ac_objext conftest$ac_exeext
2183  if { { ac_try="$ac_link"
2184case "(($ac_try" in
2185  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2186  *) ac_try_echo=$ac_try;;
2187esac
2188eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2189$as_echo "$ac_try_echo"; } >&5
2190  (eval "$ac_link") 2>conftest.err
2191  ac_status=$?
2192  if test -s conftest.err; then
2193    grep -v '^ *+' conftest.err >conftest.er1
2194    cat conftest.er1 >&5
2195    mv -f conftest.er1 conftest.err
2196  fi
2197  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2198  test $ac_status = 0; } && {
2199	 test -z "$ac_c_werror_flag" ||
2200	 test ! -s conftest.err
2201       } && test -s conftest$ac_exeext && {
2202	 test "$cross_compiling" = yes ||
2203	 test -x conftest$ac_exeext
2204       }; then :
2205  ac_retval=0
2206else
2207  $as_echo "$as_me: failed program was:" >&5
2208sed 's/^/| /' conftest.$ac_ext >&5
2209
2210	ac_retval=1
2211fi
2212  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2213  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2214  # interfere with the next link command; also delete a directory that is
2215  # left behind by Apple's compiler.  We do this before executing the actions.
2216  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2217  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2218  as_fn_set_status $ac_retval
2219
2220} # ac_fn_c_try_link
2221
2222# ac_fn_cxx_try_compile LINENO
2223# ----------------------------
2224# Try to compile conftest.$ac_ext, and return whether this succeeded.
2225ac_fn_cxx_try_compile ()
2226{
2227  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2228  rm -f conftest.$ac_objext
2229  if { { ac_try="$ac_compile"
2230case "(($ac_try" in
2231  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2232  *) ac_try_echo=$ac_try;;
2233esac
2234eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2235$as_echo "$ac_try_echo"; } >&5
2236  (eval "$ac_compile") 2>conftest.err
2237  ac_status=$?
2238  if test -s conftest.err; then
2239    grep -v '^ *+' conftest.err >conftest.er1
2240    cat conftest.er1 >&5
2241    mv -f conftest.er1 conftest.err
2242  fi
2243  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2244  test $ac_status = 0; } && {
2245	 test -z "$ac_cxx_werror_flag" ||
2246	 test ! -s conftest.err
2247       } && test -s conftest.$ac_objext; then :
2248  ac_retval=0
2249else
2250  $as_echo "$as_me: failed program was:" >&5
2251sed 's/^/| /' conftest.$ac_ext >&5
2252
2253	ac_retval=1
2254fi
2255  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2256  as_fn_set_status $ac_retval
2257
2258} # ac_fn_cxx_try_compile
2259
2260# ac_fn_c_check_func LINENO FUNC VAR
2261# ----------------------------------
2262# Tests whether FUNC exists, setting the cache variable VAR accordingly
2263ac_fn_c_check_func ()
2264{
2265  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2266  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2267$as_echo_n "checking for $2... " >&6; }
2268if eval \${$3+:} false; then :
2269  $as_echo_n "(cached) " >&6
2270else
2271  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272/* end confdefs.h.  */
2273/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2274   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2275#define $2 innocuous_$2
2276
2277/* System header to define __stub macros and hopefully few prototypes,
2278    which can conflict with char $2 (); below.
2279    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2280    <limits.h> exists even on freestanding compilers.  */
2281
2282#ifdef __STDC__
2283# include <limits.h>
2284#else
2285# include <assert.h>
2286#endif
2287
2288#undef $2
2289
2290/* Override any GCC internal prototype to avoid an error.
2291   Use char because int might match the return type of a GCC
2292   builtin and then its argument prototype would still apply.  */
2293#ifdef __cplusplus
2294extern "C"
2295#endif
2296char $2 ();
2297/* The GNU C library defines this for functions which it implements
2298    to always fail with ENOSYS.  Some functions are actually named
2299    something starting with __ and the normal name is an alias.  */
2300#if defined __stub_$2 || defined __stub___$2
2301choke me
2302#endif
2303
2304int
2305main ()
2306{
2307return $2 ();
2308  ;
2309  return 0;
2310}
2311_ACEOF
2312if ac_fn_c_try_link "$LINENO"; then :
2313  eval "$3=yes"
2314else
2315  eval "$3=no"
2316fi
2317rm -f core conftest.err conftest.$ac_objext \
2318    conftest$ac_exeext conftest.$ac_ext
2319fi
2320eval ac_res=\$$3
2321	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2322$as_echo "$ac_res" >&6; }
2323  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324
2325} # ac_fn_c_check_func
2326
2327# ac_fn_cxx_try_cpp LINENO
2328# ------------------------
2329# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2330ac_fn_cxx_try_cpp ()
2331{
2332  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2333  if { { ac_try="$ac_cpp conftest.$ac_ext"
2334case "(($ac_try" in
2335  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2336  *) ac_try_echo=$ac_try;;
2337esac
2338eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339$as_echo "$ac_try_echo"; } >&5
2340  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2341  ac_status=$?
2342  if test -s conftest.err; then
2343    grep -v '^ *+' conftest.err >conftest.er1
2344    cat conftest.er1 >&5
2345    mv -f conftest.er1 conftest.err
2346  fi
2347  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348  test $ac_status = 0; } > conftest.i && {
2349	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2350	 test ! -s conftest.err
2351       }; then :
2352  ac_retval=0
2353else
2354  $as_echo "$as_me: failed program was:" >&5
2355sed 's/^/| /' conftest.$ac_ext >&5
2356
2357    ac_retval=1
2358fi
2359  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2360  as_fn_set_status $ac_retval
2361
2362} # ac_fn_cxx_try_cpp
2363
2364# ac_fn_cxx_try_link LINENO
2365# -------------------------
2366# Try to link conftest.$ac_ext, and return whether this succeeded.
2367ac_fn_cxx_try_link ()
2368{
2369  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2370  rm -f conftest.$ac_objext conftest$ac_exeext
2371  if { { ac_try="$ac_link"
2372case "(($ac_try" in
2373  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374  *) ac_try_echo=$ac_try;;
2375esac
2376eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2377$as_echo "$ac_try_echo"; } >&5
2378  (eval "$ac_link") 2>conftest.err
2379  ac_status=$?
2380  if test -s conftest.err; then
2381    grep -v '^ *+' conftest.err >conftest.er1
2382    cat conftest.er1 >&5
2383    mv -f conftest.er1 conftest.err
2384  fi
2385  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2386  test $ac_status = 0; } && {
2387	 test -z "$ac_cxx_werror_flag" ||
2388	 test ! -s conftest.err
2389       } && test -s conftest$ac_exeext && {
2390	 test "$cross_compiling" = yes ||
2391	 test -x conftest$ac_exeext
2392       }; then :
2393  ac_retval=0
2394else
2395  $as_echo "$as_me: failed program was:" >&5
2396sed 's/^/| /' conftest.$ac_ext >&5
2397
2398	ac_retval=1
2399fi
2400  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2401  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2402  # interfere with the next link command; also delete a directory that is
2403  # left behind by Apple's compiler.  We do this before executing the actions.
2404  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2405  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2406  as_fn_set_status $ac_retval
2407
2408} # ac_fn_cxx_try_link
2409
2410# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2411# -------------------------------------------
2412# Tests whether TYPE exists after having included INCLUDES, setting cache
2413# variable VAR accordingly.
2414ac_fn_c_check_type ()
2415{
2416  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2418$as_echo_n "checking for $2... " >&6; }
2419if eval \${$3+:} false; then :
2420  $as_echo_n "(cached) " >&6
2421else
2422  eval "$3=no"
2423  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424/* end confdefs.h.  */
2425$4
2426int
2427main ()
2428{
2429if (sizeof ($2))
2430	 return 0;
2431  ;
2432  return 0;
2433}
2434_ACEOF
2435if ac_fn_c_try_compile "$LINENO"; then :
2436  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437/* end confdefs.h.  */
2438$4
2439int
2440main ()
2441{
2442if (sizeof (($2)))
2443	    return 0;
2444  ;
2445  return 0;
2446}
2447_ACEOF
2448if ac_fn_c_try_compile "$LINENO"; then :
2449
2450else
2451  eval "$3=yes"
2452fi
2453rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2454fi
2455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2456fi
2457eval ac_res=\$$3
2458	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2459$as_echo "$ac_res" >&6; }
2460  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2461
2462} # ac_fn_c_check_type
2463
2464# ac_fn_c_find_uintX_t LINENO BITS VAR
2465# ------------------------------------
2466# Finds an unsigned integer type with width BITS, setting cache variable VAR
2467# accordingly.
2468ac_fn_c_find_uintX_t ()
2469{
2470  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2472$as_echo_n "checking for uint$2_t... " >&6; }
2473if eval \${$3+:} false; then :
2474  $as_echo_n "(cached) " >&6
2475else
2476  eval "$3=no"
2477     # Order is important - never check a type that is potentially smaller
2478     # than half of the expected target width.
2479     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2480	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2482/* end confdefs.h.  */
2483$ac_includes_default
2484int
2485main ()
2486{
2487static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2488test_array [0] = 0;
2489return test_array [0];
2490
2491  ;
2492  return 0;
2493}
2494_ACEOF
2495if ac_fn_c_try_compile "$LINENO"; then :
2496  case $ac_type in #(
2497  uint$2_t) :
2498    eval "$3=yes" ;; #(
2499  *) :
2500    eval "$3=\$ac_type" ;;
2501esac
2502fi
2503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504       if eval test \"x\$"$3"\" = x"no"; then :
2505
2506else
2507  break
2508fi
2509     done
2510fi
2511eval ac_res=\$$3
2512	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2513$as_echo "$ac_res" >&6; }
2514  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2515
2516} # ac_fn_c_find_uintX_t
2517cat >config.log <<_ACEOF
2518This file contains any messages produced by compilers while
2519running configure, to aid debugging if configure makes a mistake.
2520
2521It was created by gsequencer $as_me 3.10.4, which was
2522generated by GNU Autoconf 2.69.  Invocation command line was
2523
2524  $ $0 $@
2525
2526_ACEOF
2527exec 5>>config.log
2528{
2529cat <<_ASUNAME
2530## --------- ##
2531## Platform. ##
2532## --------- ##
2533
2534hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2535uname -m = `(uname -m) 2>/dev/null || echo unknown`
2536uname -r = `(uname -r) 2>/dev/null || echo unknown`
2537uname -s = `(uname -s) 2>/dev/null || echo unknown`
2538uname -v = `(uname -v) 2>/dev/null || echo unknown`
2539
2540/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2541/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2542
2543/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2544/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2545/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2546/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2547/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2548/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2549/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2550
2551_ASUNAME
2552
2553as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2554for as_dir in $PATH
2555do
2556  IFS=$as_save_IFS
2557  test -z "$as_dir" && as_dir=.
2558    $as_echo "PATH: $as_dir"
2559  done
2560IFS=$as_save_IFS
2561
2562} >&5
2563
2564cat >&5 <<_ACEOF
2565
2566
2567## ----------- ##
2568## Core tests. ##
2569## ----------- ##
2570
2571_ACEOF
2572
2573
2574# Keep a trace of the command line.
2575# Strip out --no-create and --no-recursion so they do not pile up.
2576# Strip out --silent because we don't want to record it for future runs.
2577# Also quote any args containing shell meta-characters.
2578# Make two passes to allow for proper duplicate-argument suppression.
2579ac_configure_args=
2580ac_configure_args0=
2581ac_configure_args1=
2582ac_must_keep_next=false
2583for ac_pass in 1 2
2584do
2585  for ac_arg
2586  do
2587    case $ac_arg in
2588    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2589    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2590    | -silent | --silent | --silen | --sile | --sil)
2591      continue ;;
2592    *\'*)
2593      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2594    esac
2595    case $ac_pass in
2596    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2597    2)
2598      as_fn_append ac_configure_args1 " '$ac_arg'"
2599      if test $ac_must_keep_next = true; then
2600	ac_must_keep_next=false # Got value, back to normal.
2601      else
2602	case $ac_arg in
2603	  *=* | --config-cache | -C | -disable-* | --disable-* \
2604	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2605	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2606	  | -with-* | --with-* | -without-* | --without-* | --x)
2607	    case "$ac_configure_args0 " in
2608	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2609	    esac
2610	    ;;
2611	  -* ) ac_must_keep_next=true ;;
2612	esac
2613      fi
2614      as_fn_append ac_configure_args " '$ac_arg'"
2615      ;;
2616    esac
2617  done
2618done
2619{ ac_configure_args0=; unset ac_configure_args0;}
2620{ ac_configure_args1=; unset ac_configure_args1;}
2621
2622# When interrupted or exit'd, cleanup temporary files, and complete
2623# config.log.  We remove comments because anyway the quotes in there
2624# would cause problems or look ugly.
2625# WARNING: Use '\'' to represent an apostrophe within the trap.
2626# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2627trap 'exit_status=$?
2628  # Save into config.log some information that might help in debugging.
2629  {
2630    echo
2631
2632    $as_echo "## ---------------- ##
2633## Cache variables. ##
2634## ---------------- ##"
2635    echo
2636    # The following way of writing the cache mishandles newlines in values,
2637(
2638  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2639    eval ac_val=\$$ac_var
2640    case $ac_val in #(
2641    *${as_nl}*)
2642      case $ac_var in #(
2643      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2644$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2645      esac
2646      case $ac_var in #(
2647      _ | IFS | as_nl) ;; #(
2648      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2649      *) { eval $ac_var=; unset $ac_var;} ;;
2650      esac ;;
2651    esac
2652  done
2653  (set) 2>&1 |
2654    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2655    *${as_nl}ac_space=\ *)
2656      sed -n \
2657	"s/'\''/'\''\\\\'\'''\''/g;
2658	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2659      ;; #(
2660    *)
2661      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2662      ;;
2663    esac |
2664    sort
2665)
2666    echo
2667
2668    $as_echo "## ----------------- ##
2669## Output variables. ##
2670## ----------------- ##"
2671    echo
2672    for ac_var in $ac_subst_vars
2673    do
2674      eval ac_val=\$$ac_var
2675      case $ac_val in
2676      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2677      esac
2678      $as_echo "$ac_var='\''$ac_val'\''"
2679    done | sort
2680    echo
2681
2682    if test -n "$ac_subst_files"; then
2683      $as_echo "## ------------------- ##
2684## File substitutions. ##
2685## ------------------- ##"
2686      echo
2687      for ac_var in $ac_subst_files
2688      do
2689	eval ac_val=\$$ac_var
2690	case $ac_val in
2691	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2692	esac
2693	$as_echo "$ac_var='\''$ac_val'\''"
2694      done | sort
2695      echo
2696    fi
2697
2698    if test -s confdefs.h; then
2699      $as_echo "## ----------- ##
2700## confdefs.h. ##
2701## ----------- ##"
2702      echo
2703      cat confdefs.h
2704      echo
2705    fi
2706    test "$ac_signal" != 0 &&
2707      $as_echo "$as_me: caught signal $ac_signal"
2708    $as_echo "$as_me: exit $exit_status"
2709  } >&5
2710  rm -f core *.core core.conftest.* &&
2711    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2712    exit $exit_status
2713' 0
2714for ac_signal in 1 2 13 15; do
2715  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2716done
2717ac_signal=0
2718
2719# confdefs.h avoids OS command line length limits that DEFS can exceed.
2720rm -f -r conftest* confdefs.h
2721
2722$as_echo "/* confdefs.h */" > confdefs.h
2723
2724# Predefined preprocessor variables.
2725
2726cat >>confdefs.h <<_ACEOF
2727#define PACKAGE_NAME "$PACKAGE_NAME"
2728_ACEOF
2729
2730cat >>confdefs.h <<_ACEOF
2731#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2732_ACEOF
2733
2734cat >>confdefs.h <<_ACEOF
2735#define PACKAGE_VERSION "$PACKAGE_VERSION"
2736_ACEOF
2737
2738cat >>confdefs.h <<_ACEOF
2739#define PACKAGE_STRING "$PACKAGE_STRING"
2740_ACEOF
2741
2742cat >>confdefs.h <<_ACEOF
2743#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2744_ACEOF
2745
2746cat >>confdefs.h <<_ACEOF
2747#define PACKAGE_URL "$PACKAGE_URL"
2748_ACEOF
2749
2750
2751# Let the site file select an alternate cache file if it wants to.
2752# Prefer an explicitly selected file to automatically selected ones.
2753ac_site_file1=NONE
2754ac_site_file2=NONE
2755if test -n "$CONFIG_SITE"; then
2756  # We do not want a PATH search for config.site.
2757  case $CONFIG_SITE in #((
2758    -*)  ac_site_file1=./$CONFIG_SITE;;
2759    */*) ac_site_file1=$CONFIG_SITE;;
2760    *)   ac_site_file1=./$CONFIG_SITE;;
2761  esac
2762elif test "x$prefix" != xNONE; then
2763  ac_site_file1=$prefix/share/config.site
2764  ac_site_file2=$prefix/etc/config.site
2765else
2766  ac_site_file1=$ac_default_prefix/share/config.site
2767  ac_site_file2=$ac_default_prefix/etc/config.site
2768fi
2769for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2770do
2771  test "x$ac_site_file" = xNONE && continue
2772  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2773    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2774$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2775    sed 's/^/| /' "$ac_site_file" >&5
2776    . "$ac_site_file" \
2777      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2778$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2779as_fn_error $? "failed to load site script $ac_site_file
2780See \`config.log' for more details" "$LINENO" 5; }
2781  fi
2782done
2783
2784if test -r "$cache_file"; then
2785  # Some versions of bash will fail to source /dev/null (special files
2786  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2787  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2788    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2789$as_echo "$as_me: loading cache $cache_file" >&6;}
2790    case $cache_file in
2791      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2792      *)                      . "./$cache_file";;
2793    esac
2794  fi
2795else
2796  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2797$as_echo "$as_me: creating cache $cache_file" >&6;}
2798  >$cache_file
2799fi
2800
2801gt_needs="$gt_needs "
2802as_fn_append ac_header_list " stdlib.h"
2803as_fn_append ac_header_list " unistd.h"
2804as_fn_append ac_header_list " sys/param.h"
2805# Check that the precious variables saved in the cache have kept the same
2806# value.
2807ac_cache_corrupted=false
2808for ac_var in $ac_precious_vars; do
2809  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2810  eval ac_new_set=\$ac_env_${ac_var}_set
2811  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2812  eval ac_new_val=\$ac_env_${ac_var}_value
2813  case $ac_old_set,$ac_new_set in
2814    set,)
2815      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2816$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2817      ac_cache_corrupted=: ;;
2818    ,set)
2819      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2820$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2821      ac_cache_corrupted=: ;;
2822    ,);;
2823    *)
2824      if test "x$ac_old_val" != "x$ac_new_val"; then
2825	# differences in whitespace do not lead to failure.
2826	ac_old_val_w=`echo x $ac_old_val`
2827	ac_new_val_w=`echo x $ac_new_val`
2828	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2829	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2830$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2831	  ac_cache_corrupted=:
2832	else
2833	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2834$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2835	  eval $ac_var=\$ac_old_val
2836	fi
2837	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2838$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2839	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2840$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2841      fi;;
2842  esac
2843  # Pass precious variables to config.status.
2844  if test "$ac_new_set" = set; then
2845    case $ac_new_val in
2846    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2847    *) ac_arg=$ac_var=$ac_new_val ;;
2848    esac
2849    case " $ac_configure_args " in
2850      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2851      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2852    esac
2853  fi
2854done
2855if $ac_cache_corrupted; then
2856  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2857$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2858  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2859$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2860  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2861fi
2862## -------------------- ##
2863## Main body of script. ##
2864## -------------------- ##
2865
2866ac_ext=c
2867ac_cpp='$CPP $CPPFLAGS'
2868ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2869ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2870ac_compiler_gnu=$ac_cv_c_compiler_gnu
2871
2872
2873am__api_version='1.16'
2874
2875ac_aux_dir=
2876for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2877  if test -f "$ac_dir/install-sh"; then
2878    ac_aux_dir=$ac_dir
2879    ac_install_sh="$ac_aux_dir/install-sh -c"
2880    break
2881  elif test -f "$ac_dir/install.sh"; then
2882    ac_aux_dir=$ac_dir
2883    ac_install_sh="$ac_aux_dir/install.sh -c"
2884    break
2885  elif test -f "$ac_dir/shtool"; then
2886    ac_aux_dir=$ac_dir
2887    ac_install_sh="$ac_aux_dir/shtool install -c"
2888    break
2889  fi
2890done
2891if test -z "$ac_aux_dir"; then
2892  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2893fi
2894
2895# These three variables are undocumented and unsupported,
2896# and are intended to be withdrawn in a future Autoconf release.
2897# They can cause serious problems if a builder's source tree is in a directory
2898# whose full name contains unusual characters.
2899ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2900ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2901ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2902
2903
2904# Find a good install program.  We prefer a C program (faster),
2905# so one script is as good as another.  But avoid the broken or
2906# incompatible versions:
2907# SysV /etc/install, /usr/sbin/install
2908# SunOS /usr/etc/install
2909# IRIX /sbin/install
2910# AIX /bin/install
2911# AmigaOS /C/install, which installs bootblocks on floppy discs
2912# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2913# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2914# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2915# OS/2's system install, which has a completely different semantic
2916# ./install, which can be erroneously created by make from ./install.sh.
2917# Reject install programs that cannot install multiple files.
2918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2919$as_echo_n "checking for a BSD-compatible install... " >&6; }
2920if test -z "$INSTALL"; then
2921if ${ac_cv_path_install+:} false; then :
2922  $as_echo_n "(cached) " >&6
2923else
2924  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925for as_dir in $PATH
2926do
2927  IFS=$as_save_IFS
2928  test -z "$as_dir" && as_dir=.
2929    # Account for people who put trailing slashes in PATH elements.
2930case $as_dir/ in #((
2931  ./ | .// | /[cC]/* | \
2932  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2933  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2934  /usr/ucb/* ) ;;
2935  *)
2936    # OSF1 and SCO ODT 3.0 have their own names for install.
2937    # Don't use installbsd from OSF since it installs stuff as root
2938    # by default.
2939    for ac_prog in ginstall scoinst install; do
2940      for ac_exec_ext in '' $ac_executable_extensions; do
2941	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2942	  if test $ac_prog = install &&
2943	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2944	    # AIX install.  It has an incompatible calling convention.
2945	    :
2946	  elif test $ac_prog = install &&
2947	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2948	    # program-specific install script used by HP pwplus--don't use.
2949	    :
2950	  else
2951	    rm -rf conftest.one conftest.two conftest.dir
2952	    echo one > conftest.one
2953	    echo two > conftest.two
2954	    mkdir conftest.dir
2955	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2956	      test -s conftest.one && test -s conftest.two &&
2957	      test -s conftest.dir/conftest.one &&
2958	      test -s conftest.dir/conftest.two
2959	    then
2960	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2961	      break 3
2962	    fi
2963	  fi
2964	fi
2965      done
2966    done
2967    ;;
2968esac
2969
2970  done
2971IFS=$as_save_IFS
2972
2973rm -rf conftest.one conftest.two conftest.dir
2974
2975fi
2976  if test "${ac_cv_path_install+set}" = set; then
2977    INSTALL=$ac_cv_path_install
2978  else
2979    # As a last resort, use the slow shell script.  Don't cache a
2980    # value for INSTALL within a source directory, because that will
2981    # break other packages using the cache if that directory is
2982    # removed, or if the value is a relative name.
2983    INSTALL=$ac_install_sh
2984  fi
2985fi
2986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2987$as_echo "$INSTALL" >&6; }
2988
2989# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2990# It thinks the first close brace ends the variable substitution.
2991test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2992
2993test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2994
2995test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2996
2997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2998$as_echo_n "checking whether build environment is sane... " >&6; }
2999# Reject unsafe characters in $srcdir or the absolute working directory
3000# name.  Accept space and tab only in the latter.
3001am_lf='
3002'
3003case `pwd` in
3004  *[\\\"\#\$\&\'\`$am_lf]*)
3005    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3006esac
3007case $srcdir in
3008  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3009    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3010esac
3011
3012# Do 'set' in a subshell so we don't clobber the current shell's
3013# arguments.  Must try -L first in case configure is actually a
3014# symlink; some systems play weird games with the mod time of symlinks
3015# (eg FreeBSD returns the mod time of the symlink's containing
3016# directory).
3017if (
3018   am_has_slept=no
3019   for am_try in 1 2; do
3020     echo "timestamp, slept: $am_has_slept" > conftest.file
3021     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3022     if test "$*" = "X"; then
3023	# -L didn't work.
3024	set X `ls -t "$srcdir/configure" conftest.file`
3025     fi
3026     if test "$*" != "X $srcdir/configure conftest.file" \
3027	&& test "$*" != "X conftest.file $srcdir/configure"; then
3028
3029	# If neither matched, then we have a broken ls.  This can happen
3030	# if, for instance, CONFIG_SHELL is bash and it inherits a
3031	# broken ls alias from the environment.  This has actually
3032	# happened.  Such a system could not be considered "sane".
3033	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3034  alias in your environment" "$LINENO" 5
3035     fi
3036     if test "$2" = conftest.file || test $am_try -eq 2; then
3037       break
3038     fi
3039     # Just in case.
3040     sleep 1
3041     am_has_slept=yes
3042   done
3043   test "$2" = conftest.file
3044   )
3045then
3046   # Ok.
3047   :
3048else
3049   as_fn_error $? "newly created file is older than distributed files!
3050Check your system clock" "$LINENO" 5
3051fi
3052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3053$as_echo "yes" >&6; }
3054# If we didn't sleep, we still need to ensure time stamps of config.status and
3055# generated files are strictly newer.
3056am_sleep_pid=
3057if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3058  ( sleep 1 ) &
3059  am_sleep_pid=$!
3060fi
3061
3062rm -f conftest.file
3063
3064test "$program_prefix" != NONE &&
3065  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3066# Use a double $ so make ignores it.
3067test "$program_suffix" != NONE &&
3068  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3069# Double any \ or $.
3070# By default was `s,x,x', remove it if useless.
3071ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3072program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3073
3074# Expand $ac_aux_dir to an absolute path.
3075am_aux_dir=`cd "$ac_aux_dir" && pwd`
3076
3077if test x"${MISSING+set}" != xset; then
3078  MISSING="\${SHELL} '$am_aux_dir/missing'"
3079fi
3080# Use eval to expand $SHELL
3081if eval "$MISSING --is-lightweight"; then
3082  am_missing_run="$MISSING "
3083else
3084  am_missing_run=
3085  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3086$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3087fi
3088
3089if test x"${install_sh+set}" != xset; then
3090  case $am_aux_dir in
3091  *\ * | *\	*)
3092    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3093  *)
3094    install_sh="\${SHELL} $am_aux_dir/install-sh"
3095  esac
3096fi
3097
3098# Installed binaries are usually stripped using 'strip' when the user
3099# run "make install-strip".  However 'strip' might not be the right
3100# tool to use in cross-compilation environments, therefore Automake
3101# will honor the 'STRIP' environment variable to overrule this program.
3102if test "$cross_compiling" != no; then
3103  if test -n "$ac_tool_prefix"; then
3104  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3105set dummy ${ac_tool_prefix}strip; ac_word=$2
3106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3107$as_echo_n "checking for $ac_word... " >&6; }
3108if ${ac_cv_prog_STRIP+:} false; then :
3109  $as_echo_n "(cached) " >&6
3110else
3111  if test -n "$STRIP"; then
3112  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3113else
3114as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115for as_dir in $PATH
3116do
3117  IFS=$as_save_IFS
3118  test -z "$as_dir" && as_dir=.
3119    for ac_exec_ext in '' $ac_executable_extensions; do
3120  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3122    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123    break 2
3124  fi
3125done
3126  done
3127IFS=$as_save_IFS
3128
3129fi
3130fi
3131STRIP=$ac_cv_prog_STRIP
3132if test -n "$STRIP"; then
3133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3134$as_echo "$STRIP" >&6; }
3135else
3136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137$as_echo "no" >&6; }
3138fi
3139
3140
3141fi
3142if test -z "$ac_cv_prog_STRIP"; then
3143  ac_ct_STRIP=$STRIP
3144  # Extract the first word of "strip", so it can be a program name with args.
3145set dummy strip; ac_word=$2
3146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3147$as_echo_n "checking for $ac_word... " >&6; }
3148if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3149  $as_echo_n "(cached) " >&6
3150else
3151  if test -n "$ac_ct_STRIP"; then
3152  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3153else
3154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155for as_dir in $PATH
3156do
3157  IFS=$as_save_IFS
3158  test -z "$as_dir" && as_dir=.
3159    for ac_exec_ext in '' $ac_executable_extensions; do
3160  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3161    ac_cv_prog_ac_ct_STRIP="strip"
3162    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3163    break 2
3164  fi
3165done
3166  done
3167IFS=$as_save_IFS
3168
3169fi
3170fi
3171ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3172if test -n "$ac_ct_STRIP"; then
3173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3174$as_echo "$ac_ct_STRIP" >&6; }
3175else
3176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177$as_echo "no" >&6; }
3178fi
3179
3180  if test "x$ac_ct_STRIP" = x; then
3181    STRIP=":"
3182  else
3183    case $cross_compiling:$ac_tool_warned in
3184yes:)
3185{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3186$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3187ac_tool_warned=yes ;;
3188esac
3189    STRIP=$ac_ct_STRIP
3190  fi
3191else
3192  STRIP="$ac_cv_prog_STRIP"
3193fi
3194
3195fi
3196INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3197
3198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3199$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3200if test -z "$MKDIR_P"; then
3201  if ${ac_cv_path_mkdir+:} false; then :
3202  $as_echo_n "(cached) " >&6
3203else
3204  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3206do
3207  IFS=$as_save_IFS
3208  test -z "$as_dir" && as_dir=.
3209    for ac_prog in mkdir gmkdir; do
3210	 for ac_exec_ext in '' $ac_executable_extensions; do
3211	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3212	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3213	     'mkdir (GNU coreutils) '* | \
3214	     'mkdir (coreutils) '* | \
3215	     'mkdir (fileutils) '4.1*)
3216	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3217	       break 3;;
3218	   esac
3219	 done
3220       done
3221  done
3222IFS=$as_save_IFS
3223
3224fi
3225
3226  test -d ./--version && rmdir ./--version
3227  if test "${ac_cv_path_mkdir+set}" = set; then
3228    MKDIR_P="$ac_cv_path_mkdir -p"
3229  else
3230    # As a last resort, use the slow shell script.  Don't cache a
3231    # value for MKDIR_P within a source directory, because that will
3232    # break other packages using the cache if that directory is
3233    # removed, or if the value is a relative name.
3234    MKDIR_P="$ac_install_sh -d"
3235  fi
3236fi
3237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3238$as_echo "$MKDIR_P" >&6; }
3239
3240for ac_prog in gawk mawk nawk awk
3241do
3242  # Extract the first word of "$ac_prog", so it can be a program name with args.
3243set dummy $ac_prog; ac_word=$2
3244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3245$as_echo_n "checking for $ac_word... " >&6; }
3246if ${ac_cv_prog_AWK+:} false; then :
3247  $as_echo_n "(cached) " >&6
3248else
3249  if test -n "$AWK"; then
3250  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3251else
3252as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253for as_dir in $PATH
3254do
3255  IFS=$as_save_IFS
3256  test -z "$as_dir" && as_dir=.
3257    for ac_exec_ext in '' $ac_executable_extensions; do
3258  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3259    ac_cv_prog_AWK="$ac_prog"
3260    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3261    break 2
3262  fi
3263done
3264  done
3265IFS=$as_save_IFS
3266
3267fi
3268fi
3269AWK=$ac_cv_prog_AWK
3270if test -n "$AWK"; then
3271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3272$as_echo "$AWK" >&6; }
3273else
3274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3275$as_echo "no" >&6; }
3276fi
3277
3278
3279  test -n "$AWK" && break
3280done
3281
3282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3283$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3284set x ${MAKE-make}
3285ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3286if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3287  $as_echo_n "(cached) " >&6
3288else
3289  cat >conftest.make <<\_ACEOF
3290SHELL = /bin/sh
3291all:
3292	@echo '@@@%%%=$(MAKE)=@@@%%%'
3293_ACEOF
3294# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3295case `${MAKE-make} -f conftest.make 2>/dev/null` in
3296  *@@@%%%=?*=@@@%%%*)
3297    eval ac_cv_prog_make_${ac_make}_set=yes;;
3298  *)
3299    eval ac_cv_prog_make_${ac_make}_set=no;;
3300esac
3301rm -f conftest.make
3302fi
3303if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3304  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3305$as_echo "yes" >&6; }
3306  SET_MAKE=
3307else
3308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309$as_echo "no" >&6; }
3310  SET_MAKE="MAKE=${MAKE-make}"
3311fi
3312
3313rm -rf .tst 2>/dev/null
3314mkdir .tst 2>/dev/null
3315if test -d .tst; then
3316  am__leading_dot=.
3317else
3318  am__leading_dot=_
3319fi
3320rmdir .tst 2>/dev/null
3321
3322# Check whether --enable-silent-rules was given.
3323if test "${enable_silent_rules+set}" = set; then :
3324  enableval=$enable_silent_rules;
3325fi
3326
3327case $enable_silent_rules in # (((
3328  yes) AM_DEFAULT_VERBOSITY=0;;
3329   no) AM_DEFAULT_VERBOSITY=1;;
3330    *) AM_DEFAULT_VERBOSITY=1;;
3331esac
3332am_make=${MAKE-make}
3333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3334$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3335if ${am_cv_make_support_nested_variables+:} false; then :
3336  $as_echo_n "(cached) " >&6
3337else
3338  if $as_echo 'TRUE=$(BAR$(V))
3339BAR0=false
3340BAR1=true
3341V=1
3342am__doit:
3343	@$(TRUE)
3344.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3345  am_cv_make_support_nested_variables=yes
3346else
3347  am_cv_make_support_nested_variables=no
3348fi
3349fi
3350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3351$as_echo "$am_cv_make_support_nested_variables" >&6; }
3352if test $am_cv_make_support_nested_variables = yes; then
3353    AM_V='$(V)'
3354  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3355else
3356  AM_V=$AM_DEFAULT_VERBOSITY
3357  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3358fi
3359AM_BACKSLASH='\'
3360
3361if test "`cd $srcdir && pwd`" != "`pwd`"; then
3362  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3363  # is not polluted with repeated "-I."
3364  am__isrc=' -I$(srcdir)'
3365  # test to see if srcdir already configured
3366  if test -f $srcdir/config.status; then
3367    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3368  fi
3369fi
3370
3371# test whether we have cygpath
3372if test -z "$CYGPATH_W"; then
3373  if (cygpath --version) >/dev/null 2>/dev/null; then
3374    CYGPATH_W='cygpath -w'
3375  else
3376    CYGPATH_W=echo
3377  fi
3378fi
3379
3380
3381# Define the identity of the package.
3382 PACKAGE='gsequencer'
3383 VERSION='3.10.4'
3384
3385
3386cat >>confdefs.h <<_ACEOF
3387#define PACKAGE "$PACKAGE"
3388_ACEOF
3389
3390
3391cat >>confdefs.h <<_ACEOF
3392#define VERSION "$VERSION"
3393_ACEOF
3394
3395# Some tools Automake needs.
3396
3397ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3398
3399
3400AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3401
3402
3403AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3404
3405
3406AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3407
3408
3409MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3410
3411# For better backward compatibility.  To be removed once Automake 1.9.x
3412# dies out for good.  For more background, see:
3413# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3414# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3415mkdir_p='$(MKDIR_P)'
3416
3417# We need awk for the "check" target (and possibly the TAP driver).  The
3418# system "awk" is bad on some platforms.
3419# Always define AMTAR for backward compatibility.  Yes, it's still used
3420# in the wild :-(  We should find a proper way to deprecate it ...
3421AMTAR='$${TAR-tar}'
3422
3423
3424# We'll loop over all known methods to create a tar archive until one works.
3425_am_tools='gnutar  pax cpio none'
3426
3427am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3428
3429
3430
3431
3432
3433# Variables for tags utilities; see am/tags.am
3434if test -z "$CTAGS"; then
3435  CTAGS=ctags
3436fi
3437
3438if test -z "$ETAGS"; then
3439  ETAGS=etags
3440fi
3441
3442if test -z "$CSCOPE"; then
3443  CSCOPE=cscope
3444fi
3445
3446
3447
3448# POSIX will say in a future version that running "rm -f" with no argument
3449# is OK; and we want to be able to make that assumption in our Makefile
3450# recipes.  So use an aggressive probe to check that the usage we want is
3451# actually supported "in the wild" to an acceptable degree.
3452# See automake bug#10828.
3453# To make any issue more visible, cause the running configure to be aborted
3454# by default if the 'rm' program in use doesn't match our expectations; the
3455# user can still override this though.
3456if rm -f && rm -fr && rm -rf; then : OK; else
3457  cat >&2 <<'END'
3458Oops!
3459
3460Your 'rm' program seems unable to run without file operands specified
3461on the command line, even when the '-f' option is present.  This is contrary
3462to the behaviour of most rm programs out there, and not conforming with
3463the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3464
3465Please tell bug-automake@gnu.org about your system, including the value
3466of your $PATH and any error possibly output before this message.  This
3467can help us improve future automake versions.
3468
3469END
3470  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3471    echo 'Configuration will proceed anyway, since you have set the' >&2
3472    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3473    echo >&2
3474  else
3475    cat >&2 <<'END'
3476Aborting the configuration process, to ensure you take notice of the issue.
3477
3478You can download and install GNU coreutils to get an 'rm' implementation
3479that behaves properly: <https://www.gnu.org/software/coreutils/>.
3480
3481If you want to complete the configuration process using your problematic
3482'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3483to "yes", and re-run configure.
3484
3485END
3486    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3487  fi
3488fi
3489
3490
3491ac_config_headers="$ac_config_headers ags/config.h"
3492
3493ac_config_headers="$ac_config_headers ags/ags_api_config.h"
3494
3495
3496DEPDIR="${am__leading_dot}deps"
3497
3498ac_config_commands="$ac_config_commands depfiles"
3499
3500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3501$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3502cat > confinc.mk << 'END'
3503am__doit:
3504	@echo this is the am__doit target >confinc.out
3505.PHONY: am__doit
3506END
3507am__include="#"
3508am__quote=
3509# BSD make does it like this.
3510echo '.include "confinc.mk" # ignored' > confmf.BSD
3511# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3512echo 'include confinc.mk # ignored' > confmf.GNU
3513_am_result=no
3514for s in GNU BSD; do
3515  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3516   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3517   ac_status=$?
3518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519   (exit $ac_status); }
3520  case $?:`cat confinc.out 2>/dev/null` in #(
3521  '0:this is the am__doit target') :
3522    case $s in #(
3523  BSD) :
3524    am__include='.include' am__quote='"' ;; #(
3525  *) :
3526    am__include='include' am__quote='' ;;
3527esac ;; #(
3528  *) :
3529     ;;
3530esac
3531  if test "$am__include" != "#"; then
3532    _am_result="yes ($s style)"
3533    break
3534  fi
3535done
3536rm -f confinc.* confmf.*
3537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3538$as_echo "${_am_result}" >&6; }
3539
3540# Check whether --enable-dependency-tracking was given.
3541if test "${enable_dependency_tracking+set}" = set; then :
3542  enableval=$enable_dependency_tracking;
3543fi
3544
3545if test "x$enable_dependency_tracking" != xno; then
3546  am_depcomp="$ac_aux_dir/depcomp"
3547  AMDEPBACKSLASH='\'
3548  am__nodep='_no'
3549fi
3550 if test "x$enable_dependency_tracking" != xno; then
3551  AMDEP_TRUE=
3552  AMDEP_FALSE='#'
3553else
3554  AMDEP_TRUE='#'
3555  AMDEP_FALSE=
3556fi
3557
3558
3559ac_ext=c
3560ac_cpp='$CPP $CPPFLAGS'
3561ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3562ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3563ac_compiler_gnu=$ac_cv_c_compiler_gnu
3564if test -n "$ac_tool_prefix"; then
3565  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3566set dummy ${ac_tool_prefix}gcc; ac_word=$2
3567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568$as_echo_n "checking for $ac_word... " >&6; }
3569if ${ac_cv_prog_CC+:} false; then :
3570  $as_echo_n "(cached) " >&6
3571else
3572  if test -n "$CC"; then
3573  ac_cv_prog_CC="$CC" # Let the user override the test.
3574else
3575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3576for as_dir in $PATH
3577do
3578  IFS=$as_save_IFS
3579  test -z "$as_dir" && as_dir=.
3580    for ac_exec_ext in '' $ac_executable_extensions; do
3581  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3582    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3583    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3584    break 2
3585  fi
3586done
3587  done
3588IFS=$as_save_IFS
3589
3590fi
3591fi
3592CC=$ac_cv_prog_CC
3593if test -n "$CC"; then
3594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3595$as_echo "$CC" >&6; }
3596else
3597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3598$as_echo "no" >&6; }
3599fi
3600
3601
3602fi
3603if test -z "$ac_cv_prog_CC"; then
3604  ac_ct_CC=$CC
3605  # Extract the first word of "gcc", so it can be a program name with args.
3606set dummy gcc; ac_word=$2
3607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608$as_echo_n "checking for $ac_word... " >&6; }
3609if ${ac_cv_prog_ac_ct_CC+:} false; then :
3610  $as_echo_n "(cached) " >&6
3611else
3612  if test -n "$ac_ct_CC"; then
3613  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3614else
3615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616for as_dir in $PATH
3617do
3618  IFS=$as_save_IFS
3619  test -z "$as_dir" && as_dir=.
3620    for ac_exec_ext in '' $ac_executable_extensions; do
3621  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3622    ac_cv_prog_ac_ct_CC="gcc"
3623    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624    break 2
3625  fi
3626done
3627  done
3628IFS=$as_save_IFS
3629
3630fi
3631fi
3632ac_ct_CC=$ac_cv_prog_ac_ct_CC
3633if test -n "$ac_ct_CC"; then
3634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3635$as_echo "$ac_ct_CC" >&6; }
3636else
3637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638$as_echo "no" >&6; }
3639fi
3640
3641  if test "x$ac_ct_CC" = x; then
3642    CC=""
3643  else
3644    case $cross_compiling:$ac_tool_warned in
3645yes:)
3646{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3647$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3648ac_tool_warned=yes ;;
3649esac
3650    CC=$ac_ct_CC
3651  fi
3652else
3653  CC="$ac_cv_prog_CC"
3654fi
3655
3656if test -z "$CC"; then
3657          if test -n "$ac_tool_prefix"; then
3658    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3659set dummy ${ac_tool_prefix}cc; ac_word=$2
3660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661$as_echo_n "checking for $ac_word... " >&6; }
3662if ${ac_cv_prog_CC+:} false; then :
3663  $as_echo_n "(cached) " >&6
3664else
3665  if test -n "$CC"; then
3666  ac_cv_prog_CC="$CC" # Let the user override the test.
3667else
3668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3669for as_dir in $PATH
3670do
3671  IFS=$as_save_IFS
3672  test -z "$as_dir" && as_dir=.
3673    for ac_exec_ext in '' $ac_executable_extensions; do
3674  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3675    ac_cv_prog_CC="${ac_tool_prefix}cc"
3676    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3677    break 2
3678  fi
3679done
3680  done
3681IFS=$as_save_IFS
3682
3683fi
3684fi
3685CC=$ac_cv_prog_CC
3686if test -n "$CC"; then
3687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3688$as_echo "$CC" >&6; }
3689else
3690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691$as_echo "no" >&6; }
3692fi
3693
3694
3695  fi
3696fi
3697if test -z "$CC"; then
3698  # Extract the first word of "cc", so it can be a program name with args.
3699set dummy cc; ac_word=$2
3700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701$as_echo_n "checking for $ac_word... " >&6; }
3702if ${ac_cv_prog_CC+:} false; then :
3703  $as_echo_n "(cached) " >&6
3704else
3705  if test -n "$CC"; then
3706  ac_cv_prog_CC="$CC" # Let the user override the test.
3707else
3708  ac_prog_rejected=no
3709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3710for as_dir in $PATH
3711do
3712  IFS=$as_save_IFS
3713  test -z "$as_dir" && as_dir=.
3714    for ac_exec_ext in '' $ac_executable_extensions; do
3715  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3716    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3717       ac_prog_rejected=yes
3718       continue
3719     fi
3720    ac_cv_prog_CC="cc"
3721    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3722    break 2
3723  fi
3724done
3725  done
3726IFS=$as_save_IFS
3727
3728if test $ac_prog_rejected = yes; then
3729  # We found a bogon in the path, so make sure we never use it.
3730  set dummy $ac_cv_prog_CC
3731  shift
3732  if test $# != 0; then
3733    # We chose a different compiler from the bogus one.
3734    # However, it has the same basename, so the bogon will be chosen
3735    # first if we set CC to just the basename; use the full file name.
3736    shift
3737    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3738  fi
3739fi
3740fi
3741fi
3742CC=$ac_cv_prog_CC
3743if test -n "$CC"; then
3744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3745$as_echo "$CC" >&6; }
3746else
3747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3748$as_echo "no" >&6; }
3749fi
3750
3751
3752fi
3753if test -z "$CC"; then
3754  if test -n "$ac_tool_prefix"; then
3755  for ac_prog in cl.exe
3756  do
3757    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3758set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760$as_echo_n "checking for $ac_word... " >&6; }
3761if ${ac_cv_prog_CC+:} false; then :
3762  $as_echo_n "(cached) " >&6
3763else
3764  if test -n "$CC"; then
3765  ac_cv_prog_CC="$CC" # Let the user override the test.
3766else
3767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768for as_dir in $PATH
3769do
3770  IFS=$as_save_IFS
3771  test -z "$as_dir" && as_dir=.
3772    for ac_exec_ext in '' $ac_executable_extensions; do
3773  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776    break 2
3777  fi
3778done
3779  done
3780IFS=$as_save_IFS
3781
3782fi
3783fi
3784CC=$ac_cv_prog_CC
3785if test -n "$CC"; then
3786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3787$as_echo "$CC" >&6; }
3788else
3789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790$as_echo "no" >&6; }
3791fi
3792
3793
3794    test -n "$CC" && break
3795  done
3796fi
3797if test -z "$CC"; then
3798  ac_ct_CC=$CC
3799  for ac_prog in cl.exe
3800do
3801  # Extract the first word of "$ac_prog", so it can be a program name with args.
3802set dummy $ac_prog; ac_word=$2
3803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804$as_echo_n "checking for $ac_word... " >&6; }
3805if ${ac_cv_prog_ac_ct_CC+:} false; then :
3806  $as_echo_n "(cached) " >&6
3807else
3808  if test -n "$ac_ct_CC"; then
3809  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3810else
3811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812for as_dir in $PATH
3813do
3814  IFS=$as_save_IFS
3815  test -z "$as_dir" && as_dir=.
3816    for ac_exec_ext in '' $ac_executable_extensions; do
3817  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3818    ac_cv_prog_ac_ct_CC="$ac_prog"
3819    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820    break 2
3821  fi
3822done
3823  done
3824IFS=$as_save_IFS
3825
3826fi
3827fi
3828ac_ct_CC=$ac_cv_prog_ac_ct_CC
3829if test -n "$ac_ct_CC"; then
3830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3831$as_echo "$ac_ct_CC" >&6; }
3832else
3833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834$as_echo "no" >&6; }
3835fi
3836
3837
3838  test -n "$ac_ct_CC" && break
3839done
3840
3841  if test "x$ac_ct_CC" = x; then
3842    CC=""
3843  else
3844    case $cross_compiling:$ac_tool_warned in
3845yes:)
3846{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3847$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3848ac_tool_warned=yes ;;
3849esac
3850    CC=$ac_ct_CC
3851  fi
3852fi
3853
3854fi
3855
3856
3857test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3858$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3859as_fn_error $? "no acceptable C compiler found in \$PATH
3860See \`config.log' for more details" "$LINENO" 5; }
3861
3862# Provide some information about the compiler.
3863$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3864set X $ac_compile
3865ac_compiler=$2
3866for ac_option in --version -v -V -qversion; do
3867  { { ac_try="$ac_compiler $ac_option >&5"
3868case "(($ac_try" in
3869  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3870  *) ac_try_echo=$ac_try;;
3871esac
3872eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3873$as_echo "$ac_try_echo"; } >&5
3874  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3875  ac_status=$?
3876  if test -s conftest.err; then
3877    sed '10a\
3878... rest of stderr output deleted ...
3879         10q' conftest.err >conftest.er1
3880    cat conftest.er1 >&5
3881  fi
3882  rm -f conftest.er1 conftest.err
3883  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884  test $ac_status = 0; }
3885done
3886
3887cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888/* end confdefs.h.  */
3889
3890int
3891main ()
3892{
3893
3894  ;
3895  return 0;
3896}
3897_ACEOF
3898ac_clean_files_save=$ac_clean_files
3899ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3900# Try to create an executable without -o first, disregard a.out.
3901# It will help us diagnose broken compilers, and finding out an intuition
3902# of exeext.
3903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3904$as_echo_n "checking whether the C compiler works... " >&6; }
3905ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3906
3907# The possible output files:
3908ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3909
3910ac_rmfiles=
3911for ac_file in $ac_files
3912do
3913  case $ac_file in
3914    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3915    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3916  esac
3917done
3918rm -f $ac_rmfiles
3919
3920if { { ac_try="$ac_link_default"
3921case "(($ac_try" in
3922  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3923  *) ac_try_echo=$ac_try;;
3924esac
3925eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3926$as_echo "$ac_try_echo"; } >&5
3927  (eval "$ac_link_default") 2>&5
3928  ac_status=$?
3929  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930  test $ac_status = 0; }; then :
3931  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3932# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3933# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3934# so that the user can short-circuit this test for compilers unknown to
3935# Autoconf.
3936for ac_file in $ac_files ''
3937do
3938  test -f "$ac_file" || continue
3939  case $ac_file in
3940    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3941	;;
3942    [ab].out )
3943	# We found the default executable, but exeext='' is most
3944	# certainly right.
3945	break;;
3946    *.* )
3947	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3948	then :; else
3949	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3950	fi
3951	# We set ac_cv_exeext here because the later test for it is not
3952	# safe: cross compilers may not add the suffix if given an `-o'
3953	# argument, so we may need to know it at that point already.
3954	# Even if this section looks crufty: it has the advantage of
3955	# actually working.
3956	break;;
3957    * )
3958	break;;
3959  esac
3960done
3961test "$ac_cv_exeext" = no && ac_cv_exeext=
3962
3963else
3964  ac_file=''
3965fi
3966if test -z "$ac_file"; then :
3967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968$as_echo "no" >&6; }
3969$as_echo "$as_me: failed program was:" >&5
3970sed 's/^/| /' conftest.$ac_ext >&5
3971
3972{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3974as_fn_error 77 "C compiler cannot create executables
3975See \`config.log' for more details" "$LINENO" 5; }
3976else
3977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3978$as_echo "yes" >&6; }
3979fi
3980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3981$as_echo_n "checking for C compiler default output file name... " >&6; }
3982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3983$as_echo "$ac_file" >&6; }
3984ac_exeext=$ac_cv_exeext
3985
3986rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3987ac_clean_files=$ac_clean_files_save
3988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3989$as_echo_n "checking for suffix of executables... " >&6; }
3990if { { ac_try="$ac_link"
3991case "(($ac_try" in
3992  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3993  *) ac_try_echo=$ac_try;;
3994esac
3995eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3996$as_echo "$ac_try_echo"; } >&5
3997  (eval "$ac_link") 2>&5
3998  ac_status=$?
3999  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4000  test $ac_status = 0; }; then :
4001  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4002# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4003# work properly (i.e., refer to `conftest.exe'), while it won't with
4004# `rm'.
4005for ac_file in conftest.exe conftest conftest.*; do
4006  test -f "$ac_file" || continue
4007  case $ac_file in
4008    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4009    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4010	  break;;
4011    * ) break;;
4012  esac
4013done
4014else
4015  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4016$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4018See \`config.log' for more details" "$LINENO" 5; }
4019fi
4020rm -f conftest conftest$ac_cv_exeext
4021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4022$as_echo "$ac_cv_exeext" >&6; }
4023
4024rm -f conftest.$ac_ext
4025EXEEXT=$ac_cv_exeext
4026ac_exeext=$EXEEXT
4027cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4028/* end confdefs.h.  */
4029#include <stdio.h>
4030int
4031main ()
4032{
4033FILE *f = fopen ("conftest.out", "w");
4034 return ferror (f) || fclose (f) != 0;
4035
4036  ;
4037  return 0;
4038}
4039_ACEOF
4040ac_clean_files="$ac_clean_files conftest.out"
4041# Check that the compiler produces executables we can run.  If not, either
4042# the compiler is broken, or we cross compile.
4043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4044$as_echo_n "checking whether we are cross compiling... " >&6; }
4045if test "$cross_compiling" != yes; then
4046  { { ac_try="$ac_link"
4047case "(($ac_try" in
4048  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049  *) ac_try_echo=$ac_try;;
4050esac
4051eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052$as_echo "$ac_try_echo"; } >&5
4053  (eval "$ac_link") 2>&5
4054  ac_status=$?
4055  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056  test $ac_status = 0; }
4057  if { ac_try='./conftest$ac_cv_exeext'
4058  { { case "(($ac_try" in
4059  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4060  *) ac_try_echo=$ac_try;;
4061esac
4062eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4063$as_echo "$ac_try_echo"; } >&5
4064  (eval "$ac_try") 2>&5
4065  ac_status=$?
4066  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4067  test $ac_status = 0; }; }; then
4068    cross_compiling=no
4069  else
4070    if test "$cross_compiling" = maybe; then
4071	cross_compiling=yes
4072    else
4073	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4074$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4075as_fn_error $? "cannot run C compiled programs.
4076If you meant to cross compile, use \`--host'.
4077See \`config.log' for more details" "$LINENO" 5; }
4078    fi
4079  fi
4080fi
4081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4082$as_echo "$cross_compiling" >&6; }
4083
4084rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4085ac_clean_files=$ac_clean_files_save
4086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4087$as_echo_n "checking for suffix of object files... " >&6; }
4088if ${ac_cv_objext+:} false; then :
4089  $as_echo_n "(cached) " >&6
4090else
4091  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4092/* end confdefs.h.  */
4093
4094int
4095main ()
4096{
4097
4098  ;
4099  return 0;
4100}
4101_ACEOF
4102rm -f conftest.o conftest.obj
4103if { { ac_try="$ac_compile"
4104case "(($ac_try" in
4105  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4106  *) ac_try_echo=$ac_try;;
4107esac
4108eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4109$as_echo "$ac_try_echo"; } >&5
4110  (eval "$ac_compile") 2>&5
4111  ac_status=$?
4112  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4113  test $ac_status = 0; }; then :
4114  for ac_file in conftest.o conftest.obj conftest.*; do
4115  test -f "$ac_file" || continue;
4116  case $ac_file in
4117    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4118    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4119       break;;
4120  esac
4121done
4122else
4123  $as_echo "$as_me: failed program was:" >&5
4124sed 's/^/| /' conftest.$ac_ext >&5
4125
4126{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4127$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4128as_fn_error $? "cannot compute suffix of object files: cannot compile
4129See \`config.log' for more details" "$LINENO" 5; }
4130fi
4131rm -f conftest.$ac_cv_objext conftest.$ac_ext
4132fi
4133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4134$as_echo "$ac_cv_objext" >&6; }
4135OBJEXT=$ac_cv_objext
4136ac_objext=$OBJEXT
4137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4138$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4139if ${ac_cv_c_compiler_gnu+:} false; then :
4140  $as_echo_n "(cached) " >&6
4141else
4142  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143/* end confdefs.h.  */
4144
4145int
4146main ()
4147{
4148#ifndef __GNUC__
4149       choke me
4150#endif
4151
4152  ;
4153  return 0;
4154}
4155_ACEOF
4156if ac_fn_c_try_compile "$LINENO"; then :
4157  ac_compiler_gnu=yes
4158else
4159  ac_compiler_gnu=no
4160fi
4161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4162ac_cv_c_compiler_gnu=$ac_compiler_gnu
4163
4164fi
4165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4166$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4167if test $ac_compiler_gnu = yes; then
4168  GCC=yes
4169else
4170  GCC=
4171fi
4172ac_test_CFLAGS=${CFLAGS+set}
4173ac_save_CFLAGS=$CFLAGS
4174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4175$as_echo_n "checking whether $CC accepts -g... " >&6; }
4176if ${ac_cv_prog_cc_g+:} false; then :
4177  $as_echo_n "(cached) " >&6
4178else
4179  ac_save_c_werror_flag=$ac_c_werror_flag
4180   ac_c_werror_flag=yes
4181   ac_cv_prog_cc_g=no
4182   CFLAGS="-g"
4183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184/* end confdefs.h.  */
4185
4186int
4187main ()
4188{
4189
4190  ;
4191  return 0;
4192}
4193_ACEOF
4194if ac_fn_c_try_compile "$LINENO"; then :
4195  ac_cv_prog_cc_g=yes
4196else
4197  CFLAGS=""
4198      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199/* end confdefs.h.  */
4200
4201int
4202main ()
4203{
4204
4205  ;
4206  return 0;
4207}
4208_ACEOF
4209if ac_fn_c_try_compile "$LINENO"; then :
4210
4211else
4212  ac_c_werror_flag=$ac_save_c_werror_flag
4213	 CFLAGS="-g"
4214	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215/* end confdefs.h.  */
4216
4217int
4218main ()
4219{
4220
4221  ;
4222  return 0;
4223}
4224_ACEOF
4225if ac_fn_c_try_compile "$LINENO"; then :
4226  ac_cv_prog_cc_g=yes
4227fi
4228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229fi
4230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231fi
4232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233   ac_c_werror_flag=$ac_save_c_werror_flag
4234fi
4235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4236$as_echo "$ac_cv_prog_cc_g" >&6; }
4237if test "$ac_test_CFLAGS" = set; then
4238  CFLAGS=$ac_save_CFLAGS
4239elif test $ac_cv_prog_cc_g = yes; then
4240  if test "$GCC" = yes; then
4241    CFLAGS="-g -O2"
4242  else
4243    CFLAGS="-g"
4244  fi
4245else
4246  if test "$GCC" = yes; then
4247    CFLAGS="-O2"
4248  else
4249    CFLAGS=
4250  fi
4251fi
4252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4253$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4254if ${ac_cv_prog_cc_c89+:} false; then :
4255  $as_echo_n "(cached) " >&6
4256else
4257  ac_cv_prog_cc_c89=no
4258ac_save_CC=$CC
4259cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260/* end confdefs.h.  */
4261#include <stdarg.h>
4262#include <stdio.h>
4263struct stat;
4264/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4265struct buf { int x; };
4266FILE * (*rcsopen) (struct buf *, struct stat *, int);
4267static char *e (p, i)
4268     char **p;
4269     int i;
4270{
4271  return p[i];
4272}
4273static char *f (char * (*g) (char **, int), char **p, ...)
4274{
4275  char *s;
4276  va_list v;
4277  va_start (v,p);
4278  s = g (p, va_arg (v,int));
4279  va_end (v);
4280  return s;
4281}
4282
4283/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4284   function prototypes and stuff, but not '\xHH' hex character constants.
4285   These don't provoke an error unfortunately, instead are silently treated
4286   as 'x'.  The following induces an error, until -std is added to get
4287   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4288   array size at least.  It's necessary to write '\x00'==0 to get something
4289   that's true only with -std.  */
4290int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4291
4292/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4293   inside strings and character constants.  */
4294#define FOO(x) 'x'
4295int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4296
4297int test (int i, double x);
4298struct s1 {int (*f) (int a);};
4299struct s2 {int (*f) (double a);};
4300int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4301int argc;
4302char **argv;
4303int
4304main ()
4305{
4306return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4307  ;
4308  return 0;
4309}
4310_ACEOF
4311for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4312	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4313do
4314  CC="$ac_save_CC $ac_arg"
4315  if ac_fn_c_try_compile "$LINENO"; then :
4316  ac_cv_prog_cc_c89=$ac_arg
4317fi
4318rm -f core conftest.err conftest.$ac_objext
4319  test "x$ac_cv_prog_cc_c89" != "xno" && break
4320done
4321rm -f conftest.$ac_ext
4322CC=$ac_save_CC
4323
4324fi
4325# AC_CACHE_VAL
4326case "x$ac_cv_prog_cc_c89" in
4327  x)
4328    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4329$as_echo "none needed" >&6; } ;;
4330  xno)
4331    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4332$as_echo "unsupported" >&6; } ;;
4333  *)
4334    CC="$CC $ac_cv_prog_cc_c89"
4335    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4336$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4337esac
4338if test "x$ac_cv_prog_cc_c89" != xno; then :
4339
4340fi
4341
4342ac_ext=c
4343ac_cpp='$CPP $CPPFLAGS'
4344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346ac_compiler_gnu=$ac_cv_c_compiler_gnu
4347
4348ac_ext=c
4349ac_cpp='$CPP $CPPFLAGS'
4350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4352ac_compiler_gnu=$ac_cv_c_compiler_gnu
4353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4354$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4355if ${am_cv_prog_cc_c_o+:} false; then :
4356  $as_echo_n "(cached) " >&6
4357else
4358  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4359/* end confdefs.h.  */
4360
4361int
4362main ()
4363{
4364
4365  ;
4366  return 0;
4367}
4368_ACEOF
4369  # Make sure it works both with $CC and with simple cc.
4370  # Following AC_PROG_CC_C_O, we do the test twice because some
4371  # compilers refuse to overwrite an existing .o file with -o,
4372  # though they will create one.
4373  am_cv_prog_cc_c_o=yes
4374  for am_i in 1 2; do
4375    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4376   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4377   ac_status=$?
4378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379   (exit $ac_status); } \
4380         && test -f conftest2.$ac_objext; then
4381      : OK
4382    else
4383      am_cv_prog_cc_c_o=no
4384      break
4385    fi
4386  done
4387  rm -f core conftest*
4388  unset am_i
4389fi
4390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4391$as_echo "$am_cv_prog_cc_c_o" >&6; }
4392if test "$am_cv_prog_cc_c_o" != yes; then
4393   # Losing compiler, so override with the script.
4394   # FIXME: It is wrong to rewrite CC.
4395   # But if we don't then we get into trouble of one sort or another.
4396   # A longer-term fix would be to have automake use am__CC in this case,
4397   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4398   CC="$am_aux_dir/compile $CC"
4399fi
4400ac_ext=c
4401ac_cpp='$CPP $CPPFLAGS'
4402ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4403ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4404ac_compiler_gnu=$ac_cv_c_compiler_gnu
4405
4406
4407depcc="$CC"   am_compiler_list=
4408
4409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4410$as_echo_n "checking dependency style of $depcc... " >&6; }
4411if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4412  $as_echo_n "(cached) " >&6
4413else
4414  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4415  # We make a subdir and do the tests there.  Otherwise we can end up
4416  # making bogus files that we don't know about and never remove.  For
4417  # instance it was reported that on HP-UX the gcc test will end up
4418  # making a dummy file named 'D' -- because '-MD' means "put the output
4419  # in D".
4420  rm -rf conftest.dir
4421  mkdir conftest.dir
4422  # Copy depcomp to subdir because otherwise we won't find it if we're
4423  # using a relative directory.
4424  cp "$am_depcomp" conftest.dir
4425  cd conftest.dir
4426  # We will build objects and dependencies in a subdirectory because
4427  # it helps to detect inapplicable dependency modes.  For instance
4428  # both Tru64's cc and ICC support -MD to output dependencies as a
4429  # side effect of compilation, but ICC will put the dependencies in
4430  # the current directory while Tru64 will put them in the object
4431  # directory.
4432  mkdir sub
4433
4434  am_cv_CC_dependencies_compiler_type=none
4435  if test "$am_compiler_list" = ""; then
4436     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4437  fi
4438  am__universal=false
4439  case " $depcc " in #(
4440     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4441     esac
4442
4443  for depmode in $am_compiler_list; do
4444    # Setup a source with many dependencies, because some compilers
4445    # like to wrap large dependency lists on column 80 (with \), and
4446    # we should not choose a depcomp mode which is confused by this.
4447    #
4448    # We need to recreate these files for each test, as the compiler may
4449    # overwrite some of them when testing with obscure command lines.
4450    # This happens at least with the AIX C compiler.
4451    : > sub/conftest.c
4452    for i in 1 2 3 4 5 6; do
4453      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4454      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4455      # Solaris 10 /bin/sh.
4456      echo '/* dummy */' > sub/conftst$i.h
4457    done
4458    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4459
4460    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4461    # mode.  It turns out that the SunPro C++ compiler does not properly
4462    # handle '-M -o', and we need to detect this.  Also, some Intel
4463    # versions had trouble with output in subdirs.
4464    am__obj=sub/conftest.${OBJEXT-o}
4465    am__minus_obj="-o $am__obj"
4466    case $depmode in
4467    gcc)
4468      # This depmode causes a compiler race in universal mode.
4469      test "$am__universal" = false || continue
4470      ;;
4471    nosideeffect)
4472      # After this tag, mechanisms are not by side-effect, so they'll
4473      # only be used when explicitly requested.
4474      if test "x$enable_dependency_tracking" = xyes; then
4475	continue
4476      else
4477	break
4478      fi
4479      ;;
4480    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4481      # This compiler won't grok '-c -o', but also, the minuso test has
4482      # not run yet.  These depmodes are late enough in the game, and
4483      # so weak that their functioning should not be impacted.
4484      am__obj=conftest.${OBJEXT-o}
4485      am__minus_obj=
4486      ;;
4487    none) break ;;
4488    esac
4489    if depmode=$depmode \
4490       source=sub/conftest.c object=$am__obj \
4491       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4492       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4493         >/dev/null 2>conftest.err &&
4494       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4495       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4496       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4497       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4498      # icc doesn't choke on unknown options, it will just issue warnings
4499      # or remarks (even with -Werror).  So we grep stderr for any message
4500      # that says an option was ignored or not supported.
4501      # When given -MP, icc 7.0 and 7.1 complain thusly:
4502      #   icc: Command line warning: ignoring option '-M'; no argument required
4503      # The diagnosis changed in icc 8.0:
4504      #   icc: Command line remark: option '-MP' not supported
4505      if (grep 'ignoring option' conftest.err ||
4506          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4507        am_cv_CC_dependencies_compiler_type=$depmode
4508        break
4509      fi
4510    fi
4511  done
4512
4513  cd ..
4514  rm -rf conftest.dir
4515else
4516  am_cv_CC_dependencies_compiler_type=none
4517fi
4518
4519fi
4520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4521$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4522CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4523
4524 if
4525  test "x$enable_dependency_tracking" != xno \
4526  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4527  am__fastdepCC_TRUE=
4528  am__fastdepCC_FALSE='#'
4529else
4530  am__fastdepCC_TRUE='#'
4531  am__fastdepCC_FALSE=
4532fi
4533
4534
4535
4536ac_ext=c
4537ac_cpp='$CPP $CPPFLAGS'
4538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4540ac_compiler_gnu=$ac_cv_c_compiler_gnu
4541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4542$as_echo_n "checking how to run the C preprocessor... " >&6; }
4543# On Suns, sometimes $CPP names a directory.
4544if test -n "$CPP" && test -d "$CPP"; then
4545  CPP=
4546fi
4547if test -z "$CPP"; then
4548  if ${ac_cv_prog_CPP+:} false; then :
4549  $as_echo_n "(cached) " >&6
4550else
4551      # Double quotes because CPP needs to be expanded
4552    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4553    do
4554      ac_preproc_ok=false
4555for ac_c_preproc_warn_flag in '' yes
4556do
4557  # Use a header file that comes with gcc, so configuring glibc
4558  # with a fresh cross-compiler works.
4559  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4560  # <limits.h> exists even on freestanding compilers.
4561  # On the NeXT, cc -E runs the code through the compiler's parser,
4562  # not just through cpp. "Syntax error" is here to catch this case.
4563  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564/* end confdefs.h.  */
4565#ifdef __STDC__
4566# include <limits.h>
4567#else
4568# include <assert.h>
4569#endif
4570		     Syntax error
4571_ACEOF
4572if ac_fn_c_try_cpp "$LINENO"; then :
4573
4574else
4575  # Broken: fails on valid input.
4576continue
4577fi
4578rm -f conftest.err conftest.i conftest.$ac_ext
4579
4580  # OK, works on sane cases.  Now check whether nonexistent headers
4581  # can be detected and how.
4582  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4583/* end confdefs.h.  */
4584#include <ac_nonexistent.h>
4585_ACEOF
4586if ac_fn_c_try_cpp "$LINENO"; then :
4587  # Broken: success on invalid input.
4588continue
4589else
4590  # Passes both tests.
4591ac_preproc_ok=:
4592break
4593fi
4594rm -f conftest.err conftest.i conftest.$ac_ext
4595
4596done
4597# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4598rm -f conftest.i conftest.err conftest.$ac_ext
4599if $ac_preproc_ok; then :
4600  break
4601fi
4602
4603    done
4604    ac_cv_prog_CPP=$CPP
4605
4606fi
4607  CPP=$ac_cv_prog_CPP
4608else
4609  ac_cv_prog_CPP=$CPP
4610fi
4611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4612$as_echo "$CPP" >&6; }
4613ac_preproc_ok=false
4614for ac_c_preproc_warn_flag in '' yes
4615do
4616  # Use a header file that comes with gcc, so configuring glibc
4617  # with a fresh cross-compiler works.
4618  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4619  # <limits.h> exists even on freestanding compilers.
4620  # On the NeXT, cc -E runs the code through the compiler's parser,
4621  # not just through cpp. "Syntax error" is here to catch this case.
4622  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623/* end confdefs.h.  */
4624#ifdef __STDC__
4625# include <limits.h>
4626#else
4627# include <assert.h>
4628#endif
4629		     Syntax error
4630_ACEOF
4631if ac_fn_c_try_cpp "$LINENO"; then :
4632
4633else
4634  # Broken: fails on valid input.
4635continue
4636fi
4637rm -f conftest.err conftest.i conftest.$ac_ext
4638
4639  # OK, works on sane cases.  Now check whether nonexistent headers
4640  # can be detected and how.
4641  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642/* end confdefs.h.  */
4643#include <ac_nonexistent.h>
4644_ACEOF
4645if ac_fn_c_try_cpp "$LINENO"; then :
4646  # Broken: success on invalid input.
4647continue
4648else
4649  # Passes both tests.
4650ac_preproc_ok=:
4651break
4652fi
4653rm -f conftest.err conftest.i conftest.$ac_ext
4654
4655done
4656# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4657rm -f conftest.i conftest.err conftest.$ac_ext
4658if $ac_preproc_ok; then :
4659
4660else
4661  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4662$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4663as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4664See \`config.log' for more details" "$LINENO" 5; }
4665fi
4666
4667ac_ext=c
4668ac_cpp='$CPP $CPPFLAGS'
4669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4671ac_compiler_gnu=$ac_cv_c_compiler_gnu
4672
4673
4674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4675$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4676if ${ac_cv_path_GREP+:} false; then :
4677  $as_echo_n "(cached) " >&6
4678else
4679  if test -z "$GREP"; then
4680  ac_path_GREP_found=false
4681  # Loop through the user's path and test for each of PROGNAME-LIST
4682  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4684do
4685  IFS=$as_save_IFS
4686  test -z "$as_dir" && as_dir=.
4687    for ac_prog in grep ggrep; do
4688    for ac_exec_ext in '' $ac_executable_extensions; do
4689      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4690      as_fn_executable_p "$ac_path_GREP" || continue
4691# Check for GNU ac_path_GREP and select it if it is found.
4692  # Check for GNU $ac_path_GREP
4693case `"$ac_path_GREP" --version 2>&1` in
4694*GNU*)
4695  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4696*)
4697  ac_count=0
4698  $as_echo_n 0123456789 >"conftest.in"
4699  while :
4700  do
4701    cat "conftest.in" "conftest.in" >"conftest.tmp"
4702    mv "conftest.tmp" "conftest.in"
4703    cp "conftest.in" "conftest.nl"
4704    $as_echo 'GREP' >> "conftest.nl"
4705    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4706    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4707    as_fn_arith $ac_count + 1 && ac_count=$as_val
4708    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4709      # Best one so far, save it but keep looking for a better one
4710      ac_cv_path_GREP="$ac_path_GREP"
4711      ac_path_GREP_max=$ac_count
4712    fi
4713    # 10*(2^10) chars as input seems more than enough
4714    test $ac_count -gt 10 && break
4715  done
4716  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4717esac
4718
4719      $ac_path_GREP_found && break 3
4720    done
4721  done
4722  done
4723IFS=$as_save_IFS
4724  if test -z "$ac_cv_path_GREP"; then
4725    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4726  fi
4727else
4728  ac_cv_path_GREP=$GREP
4729fi
4730
4731fi
4732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4733$as_echo "$ac_cv_path_GREP" >&6; }
4734 GREP="$ac_cv_path_GREP"
4735
4736
4737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4738$as_echo_n "checking for egrep... " >&6; }
4739if ${ac_cv_path_EGREP+:} false; then :
4740  $as_echo_n "(cached) " >&6
4741else
4742  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4743   then ac_cv_path_EGREP="$GREP -E"
4744   else
4745     if test -z "$EGREP"; then
4746  ac_path_EGREP_found=false
4747  # Loop through the user's path and test for each of PROGNAME-LIST
4748  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4749for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4750do
4751  IFS=$as_save_IFS
4752  test -z "$as_dir" && as_dir=.
4753    for ac_prog in egrep; do
4754    for ac_exec_ext in '' $ac_executable_extensions; do
4755      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4756      as_fn_executable_p "$ac_path_EGREP" || continue
4757# Check for GNU ac_path_EGREP and select it if it is found.
4758  # Check for GNU $ac_path_EGREP
4759case `"$ac_path_EGREP" --version 2>&1` in
4760*GNU*)
4761  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4762*)
4763  ac_count=0
4764  $as_echo_n 0123456789 >"conftest.in"
4765  while :
4766  do
4767    cat "conftest.in" "conftest.in" >"conftest.tmp"
4768    mv "conftest.tmp" "conftest.in"
4769    cp "conftest.in" "conftest.nl"
4770    $as_echo 'EGREP' >> "conftest.nl"
4771    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4772    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4773    as_fn_arith $ac_count + 1 && ac_count=$as_val
4774    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4775      # Best one so far, save it but keep looking for a better one
4776      ac_cv_path_EGREP="$ac_path_EGREP"
4777      ac_path_EGREP_max=$ac_count
4778    fi
4779    # 10*(2^10) chars as input seems more than enough
4780    test $ac_count -gt 10 && break
4781  done
4782  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4783esac
4784
4785      $ac_path_EGREP_found && break 3
4786    done
4787  done
4788  done
4789IFS=$as_save_IFS
4790  if test -z "$ac_cv_path_EGREP"; then
4791    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4792  fi
4793else
4794  ac_cv_path_EGREP=$EGREP
4795fi
4796
4797   fi
4798fi
4799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4800$as_echo "$ac_cv_path_EGREP" >&6; }
4801 EGREP="$ac_cv_path_EGREP"
4802
4803
4804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4805$as_echo_n "checking for ANSI C header files... " >&6; }
4806if ${ac_cv_header_stdc+:} false; then :
4807  $as_echo_n "(cached) " >&6
4808else
4809  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4810/* end confdefs.h.  */
4811#include <stdlib.h>
4812#include <stdarg.h>
4813#include <string.h>
4814#include <float.h>
4815
4816int
4817main ()
4818{
4819
4820  ;
4821  return 0;
4822}
4823_ACEOF
4824if ac_fn_c_try_compile "$LINENO"; then :
4825  ac_cv_header_stdc=yes
4826else
4827  ac_cv_header_stdc=no
4828fi
4829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4830
4831if test $ac_cv_header_stdc = yes; then
4832  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4833  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4834/* end confdefs.h.  */
4835#include <string.h>
4836
4837_ACEOF
4838if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4839  $EGREP "memchr" >/dev/null 2>&1; then :
4840
4841else
4842  ac_cv_header_stdc=no
4843fi
4844rm -f conftest*
4845
4846fi
4847
4848if test $ac_cv_header_stdc = yes; then
4849  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4850  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4851/* end confdefs.h.  */
4852#include <stdlib.h>
4853
4854_ACEOF
4855if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4856  $EGREP "free" >/dev/null 2>&1; then :
4857
4858else
4859  ac_cv_header_stdc=no
4860fi
4861rm -f conftest*
4862
4863fi
4864
4865if test $ac_cv_header_stdc = yes; then
4866  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4867  if test "$cross_compiling" = yes; then :
4868  :
4869else
4870  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4871/* end confdefs.h.  */
4872#include <ctype.h>
4873#include <stdlib.h>
4874#if ((' ' & 0x0FF) == 0x020)
4875# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4876# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4877#else
4878# define ISLOWER(c) \
4879		   (('a' <= (c) && (c) <= 'i') \
4880		     || ('j' <= (c) && (c) <= 'r') \
4881		     || ('s' <= (c) && (c) <= 'z'))
4882# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4883#endif
4884
4885#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4886int
4887main ()
4888{
4889  int i;
4890  for (i = 0; i < 256; i++)
4891    if (XOR (islower (i), ISLOWER (i))
4892	|| toupper (i) != TOUPPER (i))
4893      return 2;
4894  return 0;
4895}
4896_ACEOF
4897if ac_fn_c_try_run "$LINENO"; then :
4898
4899else
4900  ac_cv_header_stdc=no
4901fi
4902rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4903  conftest.$ac_objext conftest.beam conftest.$ac_ext
4904fi
4905
4906fi
4907fi
4908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4909$as_echo "$ac_cv_header_stdc" >&6; }
4910if test $ac_cv_header_stdc = yes; then
4911
4912$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4913
4914fi
4915
4916# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4917for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4918		  inttypes.h stdint.h unistd.h
4919do :
4920  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4921ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4922"
4923if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4924  cat >>confdefs.h <<_ACEOF
4925#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4926_ACEOF
4927
4928fi
4929
4930done
4931
4932
4933
4934  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4935if test "x$ac_cv_header_minix_config_h" = xyes; then :
4936  MINIX=yes
4937else
4938  MINIX=
4939fi
4940
4941
4942  if test "$MINIX" = yes; then
4943
4944$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4945
4946
4947$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4948
4949
4950$as_echo "#define _MINIX 1" >>confdefs.h
4951
4952  fi
4953
4954
4955  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4956$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4957if ${ac_cv_safe_to_define___extensions__+:} false; then :
4958  $as_echo_n "(cached) " >&6
4959else
4960  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961/* end confdefs.h.  */
4962
4963#         define __EXTENSIONS__ 1
4964          $ac_includes_default
4965int
4966main ()
4967{
4968
4969  ;
4970  return 0;
4971}
4972_ACEOF
4973if ac_fn_c_try_compile "$LINENO"; then :
4974  ac_cv_safe_to_define___extensions__=yes
4975else
4976  ac_cv_safe_to_define___extensions__=no
4977fi
4978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4979fi
4980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4981$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4982  test $ac_cv_safe_to_define___extensions__ = yes &&
4983    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4984
4985  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4986
4987  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4988
4989  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4990
4991  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4992
4993
4994
4995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4996$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4997if ${ac_cv_path_SED+:} false; then :
4998  $as_echo_n "(cached) " >&6
4999else
5000            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5001     for ac_i in 1 2 3 4 5 6 7; do
5002       ac_script="$ac_script$as_nl$ac_script"
5003     done
5004     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5005     { ac_script=; unset ac_script;}
5006     if test -z "$SED"; then
5007  ac_path_SED_found=false
5008  # Loop through the user's path and test for each of PROGNAME-LIST
5009  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5010for as_dir in $PATH
5011do
5012  IFS=$as_save_IFS
5013  test -z "$as_dir" && as_dir=.
5014    for ac_prog in sed gsed; do
5015    for ac_exec_ext in '' $ac_executable_extensions; do
5016      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5017      as_fn_executable_p "$ac_path_SED" || continue
5018# Check for GNU ac_path_SED and select it if it is found.
5019  # Check for GNU $ac_path_SED
5020case `"$ac_path_SED" --version 2>&1` in
5021*GNU*)
5022  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5023*)
5024  ac_count=0
5025  $as_echo_n 0123456789 >"conftest.in"
5026  while :
5027  do
5028    cat "conftest.in" "conftest.in" >"conftest.tmp"
5029    mv "conftest.tmp" "conftest.in"
5030    cp "conftest.in" "conftest.nl"
5031    $as_echo '' >> "conftest.nl"
5032    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5033    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5034    as_fn_arith $ac_count + 1 && ac_count=$as_val
5035    if test $ac_count -gt ${ac_path_SED_max-0}; then
5036      # Best one so far, save it but keep looking for a better one
5037      ac_cv_path_SED="$ac_path_SED"
5038      ac_path_SED_max=$ac_count
5039    fi
5040    # 10*(2^10) chars as input seems more than enough
5041    test $ac_count -gt 10 && break
5042  done
5043  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5044esac
5045
5046      $ac_path_SED_found && break 3
5047    done
5048  done
5049  done
5050IFS=$as_save_IFS
5051  if test -z "$ac_cv_path_SED"; then
5052    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5053  fi
5054else
5055  ac_cv_path_SED=$SED
5056fi
5057
5058fi
5059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5060$as_echo "$ac_cv_path_SED" >&6; }
5061 SED="$ac_cv_path_SED"
5062  rm -f conftest.sed
5063
5064
5065  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5066$as_echo_n "checking whether NLS is requested... " >&6; }
5067    # Check whether --enable-nls was given.
5068if test "${enable_nls+set}" = set; then :
5069  enableval=$enable_nls; USE_NLS=$enableval
5070else
5071  USE_NLS=yes
5072fi
5073
5074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5075$as_echo "$USE_NLS" >&6; }
5076
5077
5078
5079
5080      GETTEXT_MACRO_VERSION=0.19
5081
5082
5083
5084
5085# Prepare PATH_SEPARATOR.
5086# The user is always right.
5087if test "${PATH_SEPARATOR+set}" != set; then
5088  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5089  # contains only /bin. Note that ksh looks also at the FPATH variable,
5090  # so we have to set that as well for the test.
5091  PATH_SEPARATOR=:
5092  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5093    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5094           || PATH_SEPARATOR=';'
5095       }
5096fi
5097
5098# Find out how to test for executable files. Don't use a zero-byte file,
5099# as systems may use methods other than mode bits to determine executability.
5100cat >conf$$.file <<_ASEOF
5101#! /bin/sh
5102exit 0
5103_ASEOF
5104chmod +x conf$$.file
5105if test -x conf$$.file >/dev/null 2>&1; then
5106  ac_executable_p="test -x"
5107else
5108  ac_executable_p="test -f"
5109fi
5110rm -f conf$$.file
5111
5112# Extract the first word of "msgfmt", so it can be a program name with args.
5113set dummy msgfmt; ac_word=$2
5114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5115$as_echo_n "checking for $ac_word... " >&6; }
5116if ${ac_cv_path_MSGFMT+:} false; then :
5117  $as_echo_n "(cached) " >&6
5118else
5119  case "$MSGFMT" in
5120  [\\/]* | ?:[\\/]*)
5121    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5122    ;;
5123  *)
5124    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5125    for ac_dir in $PATH; do
5126      IFS="$ac_save_IFS"
5127      test -z "$ac_dir" && ac_dir=.
5128      for ac_exec_ext in '' $ac_executable_extensions; do
5129        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5130          echo "$as_me: trying $ac_dir/$ac_word..." >&5
5131          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
5132     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5133            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5134            break 2
5135          fi
5136        fi
5137      done
5138    done
5139    IFS="$ac_save_IFS"
5140  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5141    ;;
5142esac
5143fi
5144MSGFMT="$ac_cv_path_MSGFMT"
5145if test "$MSGFMT" != ":"; then
5146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5147$as_echo "$MSGFMT" >&6; }
5148else
5149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150$as_echo "no" >&6; }
5151fi
5152
5153  # Extract the first word of "gmsgfmt", so it can be a program name with args.
5154set dummy gmsgfmt; ac_word=$2
5155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156$as_echo_n "checking for $ac_word... " >&6; }
5157if ${ac_cv_path_GMSGFMT+:} false; then :
5158  $as_echo_n "(cached) " >&6
5159else
5160  case $GMSGFMT in
5161  [\\/]* | ?:[\\/]*)
5162  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5163  ;;
5164  *)
5165  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166for as_dir in $PATH
5167do
5168  IFS=$as_save_IFS
5169  test -z "$as_dir" && as_dir=.
5170    for ac_exec_ext in '' $ac_executable_extensions; do
5171  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5172    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5173    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174    break 2
5175  fi
5176done
5177  done
5178IFS=$as_save_IFS
5179
5180  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5181  ;;
5182esac
5183fi
5184GMSGFMT=$ac_cv_path_GMSGFMT
5185if test -n "$GMSGFMT"; then
5186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5187$as_echo "$GMSGFMT" >&6; }
5188else
5189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190$as_echo "no" >&6; }
5191fi
5192
5193
5194
5195    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5196    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
5197    *) MSGFMT_015=$MSGFMT ;;
5198  esac
5199
5200  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5201    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
5202    *) GMSGFMT_015=$GMSGFMT ;;
5203  esac
5204
5205
5206
5207# Prepare PATH_SEPARATOR.
5208# The user is always right.
5209if test "${PATH_SEPARATOR+set}" != set; then
5210  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5211  # contains only /bin. Note that ksh looks also at the FPATH variable,
5212  # so we have to set that as well for the test.
5213  PATH_SEPARATOR=:
5214  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5215    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5216           || PATH_SEPARATOR=';'
5217       }
5218fi
5219
5220# Find out how to test for executable files. Don't use a zero-byte file,
5221# as systems may use methods other than mode bits to determine executability.
5222cat >conf$$.file <<_ASEOF
5223#! /bin/sh
5224exit 0
5225_ASEOF
5226chmod +x conf$$.file
5227if test -x conf$$.file >/dev/null 2>&1; then
5228  ac_executable_p="test -x"
5229else
5230  ac_executable_p="test -f"
5231fi
5232rm -f conf$$.file
5233
5234# Extract the first word of "xgettext", so it can be a program name with args.
5235set dummy xgettext; ac_word=$2
5236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237$as_echo_n "checking for $ac_word... " >&6; }
5238if ${ac_cv_path_XGETTEXT+:} false; then :
5239  $as_echo_n "(cached) " >&6
5240else
5241  case "$XGETTEXT" in
5242  [\\/]* | ?:[\\/]*)
5243    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5244    ;;
5245  *)
5246    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5247    for ac_dir in $PATH; do
5248      IFS="$ac_save_IFS"
5249      test -z "$ac_dir" && ac_dir=.
5250      for ac_exec_ext in '' $ac_executable_extensions; do
5251        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5252          echo "$as_me: trying $ac_dir/$ac_word..." >&5
5253          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5254     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5255            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5256            break 2
5257          fi
5258        fi
5259      done
5260    done
5261    IFS="$ac_save_IFS"
5262  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5263    ;;
5264esac
5265fi
5266XGETTEXT="$ac_cv_path_XGETTEXT"
5267if test "$XGETTEXT" != ":"; then
5268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5269$as_echo "$XGETTEXT" >&6; }
5270else
5271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272$as_echo "no" >&6; }
5273fi
5274
5275    rm -f messages.po
5276
5277    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5278    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
5279    *) XGETTEXT_015=$XGETTEXT ;;
5280  esac
5281
5282
5283
5284# Prepare PATH_SEPARATOR.
5285# The user is always right.
5286if test "${PATH_SEPARATOR+set}" != set; then
5287  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5288  # contains only /bin. Note that ksh looks also at the FPATH variable,
5289  # so we have to set that as well for the test.
5290  PATH_SEPARATOR=:
5291  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5292    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5293           || PATH_SEPARATOR=';'
5294       }
5295fi
5296
5297# Find out how to test for executable files. Don't use a zero-byte file,
5298# as systems may use methods other than mode bits to determine executability.
5299cat >conf$$.file <<_ASEOF
5300#! /bin/sh
5301exit 0
5302_ASEOF
5303chmod +x conf$$.file
5304if test -x conf$$.file >/dev/null 2>&1; then
5305  ac_executable_p="test -x"
5306else
5307  ac_executable_p="test -f"
5308fi
5309rm -f conf$$.file
5310
5311# Extract the first word of "msgmerge", so it can be a program name with args.
5312set dummy msgmerge; ac_word=$2
5313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314$as_echo_n "checking for $ac_word... " >&6; }
5315if ${ac_cv_path_MSGMERGE+:} false; then :
5316  $as_echo_n "(cached) " >&6
5317else
5318  case "$MSGMERGE" in
5319  [\\/]* | ?:[\\/]*)
5320    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5321    ;;
5322  *)
5323    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5324    for ac_dir in $PATH; do
5325      IFS="$ac_save_IFS"
5326      test -z "$ac_dir" && ac_dir=.
5327      for ac_exec_ext in '' $ac_executable_extensions; do
5328        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5329          echo "$as_me: trying $ac_dir/$ac_word..." >&5
5330          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
5331            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5332            break 2
5333          fi
5334        fi
5335      done
5336    done
5337    IFS="$ac_save_IFS"
5338  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5339    ;;
5340esac
5341fi
5342MSGMERGE="$ac_cv_path_MSGMERGE"
5343if test "$MSGMERGE" != ":"; then
5344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5345$as_echo "$MSGMERGE" >&6; }
5346else
5347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348$as_echo "no" >&6; }
5349fi
5350
5351
5352        test -n "$localedir" || localedir='${datadir}/locale'
5353
5354
5355    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
5356
5357
5358  ac_config_commands="$ac_config_commands po-directories"
5359
5360
5361
5362      if test "X$prefix" = "XNONE"; then
5363    acl_final_prefix="$ac_default_prefix"
5364  else
5365    acl_final_prefix="$prefix"
5366  fi
5367  if test "X$exec_prefix" = "XNONE"; then
5368    acl_final_exec_prefix='${prefix}'
5369  else
5370    acl_final_exec_prefix="$exec_prefix"
5371  fi
5372  acl_save_prefix="$prefix"
5373  prefix="$acl_final_prefix"
5374  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5375  prefix="$acl_save_prefix"
5376
5377# Make sure we can run config.sub.
5378$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5379  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5380
5381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5382$as_echo_n "checking build system type... " >&6; }
5383if ${ac_cv_build+:} false; then :
5384  $as_echo_n "(cached) " >&6
5385else
5386  ac_build_alias=$build_alias
5387test "x$ac_build_alias" = x &&
5388  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5389test "x$ac_build_alias" = x &&
5390  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5391ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5392  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5393
5394fi
5395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5396$as_echo "$ac_cv_build" >&6; }
5397case $ac_cv_build in
5398*-*-*) ;;
5399*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5400esac
5401build=$ac_cv_build
5402ac_save_IFS=$IFS; IFS='-'
5403set x $ac_cv_build
5404shift
5405build_cpu=$1
5406build_vendor=$2
5407shift; shift
5408# Remember, the first character of IFS is used to create $*,
5409# except with old shells:
5410build_os=$*
5411IFS=$ac_save_IFS
5412case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5413
5414
5415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5416$as_echo_n "checking host system type... " >&6; }
5417if ${ac_cv_host+:} false; then :
5418  $as_echo_n "(cached) " >&6
5419else
5420  if test "x$host_alias" = x; then
5421  ac_cv_host=$ac_cv_build
5422else
5423  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5424    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5425fi
5426
5427fi
5428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5429$as_echo "$ac_cv_host" >&6; }
5430case $ac_cv_host in
5431*-*-*) ;;
5432*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5433esac
5434host=$ac_cv_host
5435ac_save_IFS=$IFS; IFS='-'
5436set x $ac_cv_host
5437shift
5438host_cpu=$1
5439host_vendor=$2
5440shift; shift
5441# Remember, the first character of IFS is used to create $*,
5442# except with old shells:
5443host_os=$*
5444IFS=$ac_save_IFS
5445case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5446
5447
5448
5449
5450# Check whether --with-gnu-ld was given.
5451if test "${with_gnu_ld+set}" = set; then :
5452  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5453else
5454  with_gnu_ld=no
5455fi
5456
5457# Prepare PATH_SEPARATOR.
5458# The user is always right.
5459if test "${PATH_SEPARATOR+set}" != set; then
5460  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5461  # contains only /bin. Note that ksh looks also at the FPATH variable,
5462  # so we have to set that as well for the test.
5463  PATH_SEPARATOR=:
5464  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5465    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5466           || PATH_SEPARATOR=';'
5467       }
5468fi
5469
5470ac_prog=ld
5471if test "$GCC" = yes; then
5472  # Check if gcc -print-prog-name=ld gives a path.
5473  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5474$as_echo_n "checking for ld used by $CC... " >&6; }
5475  case $host in
5476  *-*-mingw*)
5477    # gcc leaves a trailing carriage return which upsets mingw
5478    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5479  *)
5480    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5481  esac
5482  case $ac_prog in
5483    # Accept absolute paths.
5484    [\\/]* | ?:[\\/]*)
5485      re_direlt='/[^/][^/]*/\.\./'
5486      # Canonicalize the pathname of ld
5487      ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
5488      while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
5489        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5490      done
5491      test -z "$LD" && LD="$ac_prog"
5492      ;;
5493  "")
5494    # If it fails, then pretend we aren't using GCC.
5495    ac_prog=ld
5496    ;;
5497  *)
5498    # If it is relative, then search for the first ld in PATH.
5499    with_gnu_ld=unknown
5500    ;;
5501  esac
5502elif test "$with_gnu_ld" = yes; then
5503  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5504$as_echo_n "checking for GNU ld... " >&6; }
5505else
5506  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5507$as_echo_n "checking for non-GNU ld... " >&6; }
5508fi
5509if ${acl_cv_path_LD+:} false; then :
5510  $as_echo_n "(cached) " >&6
5511else
5512  if test -z "$LD"; then
5513  acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5514  for ac_dir in $PATH; do
5515    IFS="$acl_save_ifs"
5516    test -z "$ac_dir" && ac_dir=.
5517    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5518      acl_cv_path_LD="$ac_dir/$ac_prog"
5519      # Check to see if the program is GNU ld.  I'd rather use --version,
5520      # but apparently some variants of GNU ld only accept -v.
5521      # Break only if it was the GNU/non-GNU ld that we prefer.
5522      case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
5523      *GNU* | *'with BFD'*)
5524        test "$with_gnu_ld" != no && break
5525        ;;
5526      *)
5527        test "$with_gnu_ld" != yes && break
5528        ;;
5529      esac
5530    fi
5531  done
5532  IFS="$acl_save_ifs"
5533else
5534  acl_cv_path_LD="$LD" # Let the user override the test with a path.
5535fi
5536fi
5537
5538LD="$acl_cv_path_LD"
5539if test -n "$LD"; then
5540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5541$as_echo "$LD" >&6; }
5542else
5543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544$as_echo "no" >&6; }
5545fi
5546test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5548$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5549if ${acl_cv_prog_gnu_ld+:} false; then :
5550  $as_echo_n "(cached) " >&6
5551else
5552  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5553case `$LD -v 2>&1 </dev/null` in
5554*GNU* | *'with BFD'*)
5555  acl_cv_prog_gnu_ld=yes
5556  ;;
5557*)
5558  acl_cv_prog_gnu_ld=no
5559  ;;
5560esac
5561fi
5562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5563$as_echo "$acl_cv_prog_gnu_ld" >&6; }
5564with_gnu_ld=$acl_cv_prog_gnu_ld
5565
5566
5567
5568
5569                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5570$as_echo_n "checking for shared library run path origin... " >&6; }
5571if ${acl_cv_rpath+:} false; then :
5572  $as_echo_n "(cached) " >&6
5573else
5574
5575    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5576    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5577    . ./conftest.sh
5578    rm -f ./conftest.sh
5579    acl_cv_rpath=done
5580
5581fi
5582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5583$as_echo "$acl_cv_rpath" >&6; }
5584  wl="$acl_cv_wl"
5585  acl_libext="$acl_cv_libext"
5586  acl_shlibext="$acl_cv_shlibext"
5587  acl_libname_spec="$acl_cv_libname_spec"
5588  acl_library_names_spec="$acl_cv_library_names_spec"
5589  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5590  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5591  acl_hardcode_direct="$acl_cv_hardcode_direct"
5592  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
5593    # Check whether --enable-rpath was given.
5594if test "${enable_rpath+set}" = set; then :
5595  enableval=$enable_rpath; :
5596else
5597  enable_rpath=yes
5598fi
5599
5600
5601
5602
5603  acl_libdirstem=lib
5604  acl_libdirstem2=
5605  case "$host_os" in
5606    solaris*)
5607                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5608$as_echo_n "checking for 64-bit host... " >&6; }
5609if ${gl_cv_solaris_64bit+:} false; then :
5610  $as_echo_n "(cached) " >&6
5611else
5612  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5613/* end confdefs.h.  */
5614
5615#ifdef _LP64
5616sixtyfour bits
5617#endif
5618
5619_ACEOF
5620if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5621  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
5622  gl_cv_solaris_64bit=yes
5623else
5624  gl_cv_solaris_64bit=no
5625fi
5626rm -f conftest*
5627
5628
5629fi
5630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5631$as_echo "$gl_cv_solaris_64bit" >&6; }
5632      if test $gl_cv_solaris_64bit = yes; then
5633        acl_libdirstem=lib/64
5634        case "$host_cpu" in
5635          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
5636          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
5637        esac
5638      fi
5639      ;;
5640    *)
5641      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5642      if test -n "$searchpath"; then
5643        acl_save_IFS="${IFS= 	}"; IFS=":"
5644        for searchdir in $searchpath; do
5645          if test -d "$searchdir"; then
5646            case "$searchdir" in
5647              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5648              */../ | */.. )
5649                # Better ignore directories of this form. They are misleading.
5650                ;;
5651              *) searchdir=`cd "$searchdir" && pwd`
5652                 case "$searchdir" in
5653                   */lib64 ) acl_libdirstem=lib64 ;;
5654                 esac ;;
5655            esac
5656          fi
5657        done
5658        IFS="$acl_save_IFS"
5659      fi
5660      ;;
5661  esac
5662  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675    use_additional=yes
5676
5677  acl_save_prefix="$prefix"
5678  prefix="$acl_final_prefix"
5679  acl_save_exec_prefix="$exec_prefix"
5680  exec_prefix="$acl_final_exec_prefix"
5681
5682    eval additional_includedir=\"$includedir\"
5683    eval additional_libdir=\"$libdir\"
5684
5685  exec_prefix="$acl_save_exec_prefix"
5686  prefix="$acl_save_prefix"
5687
5688
5689# Check whether --with-libiconv-prefix was given.
5690if test "${with_libiconv_prefix+set}" = set; then :
5691  withval=$with_libiconv_prefix;
5692    if test "X$withval" = "Xno"; then
5693      use_additional=no
5694    else
5695      if test "X$withval" = "X"; then
5696
5697  acl_save_prefix="$prefix"
5698  prefix="$acl_final_prefix"
5699  acl_save_exec_prefix="$exec_prefix"
5700  exec_prefix="$acl_final_exec_prefix"
5701
5702          eval additional_includedir=\"$includedir\"
5703          eval additional_libdir=\"$libdir\"
5704
5705  exec_prefix="$acl_save_exec_prefix"
5706  prefix="$acl_save_prefix"
5707
5708      else
5709        additional_includedir="$withval/include"
5710        additional_libdir="$withval/$acl_libdirstem"
5711        if test "$acl_libdirstem2" != "$acl_libdirstem" \
5712           && ! test -d "$withval/$acl_libdirstem"; then
5713          additional_libdir="$withval/$acl_libdirstem2"
5714        fi
5715      fi
5716    fi
5717
5718fi
5719
5720      LIBICONV=
5721  LTLIBICONV=
5722  INCICONV=
5723  LIBICONV_PREFIX=
5724      HAVE_LIBICONV=
5725  rpathdirs=
5726  ltrpathdirs=
5727  names_already_handled=
5728  names_next_round='iconv '
5729  while test -n "$names_next_round"; do
5730    names_this_round="$names_next_round"
5731    names_next_round=
5732    for name in $names_this_round; do
5733      already_handled=
5734      for n in $names_already_handled; do
5735        if test "$n" = "$name"; then
5736          already_handled=yes
5737          break
5738        fi
5739      done
5740      if test -z "$already_handled"; then
5741        names_already_handled="$names_already_handled $name"
5742                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5743        eval value=\"\$HAVE_LIB$uppername\"
5744        if test -n "$value"; then
5745          if test "$value" = yes; then
5746            eval value=\"\$LIB$uppername\"
5747            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5748            eval value=\"\$LTLIB$uppername\"
5749            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5750          else
5751                                    :
5752          fi
5753        else
5754                              found_dir=
5755          found_la=
5756          found_so=
5757          found_a=
5758          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
5759          if test -n "$acl_shlibext"; then
5760            shrext=".$acl_shlibext"             # typically: shrext=.so
5761          else
5762            shrext=
5763          fi
5764          if test $use_additional = yes; then
5765            dir="$additional_libdir"
5766                                    if test -n "$acl_shlibext"; then
5767              if test -f "$dir/$libname$shrext"; then
5768                found_dir="$dir"
5769                found_so="$dir/$libname$shrext"
5770              else
5771                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5772                  ver=`(cd "$dir" && \
5773                        for f in "$libname$shrext".*; do echo "$f"; done \
5774                        | sed -e "s,^$libname$shrext\\\\.,," \
5775                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5776                        | sed 1q ) 2>/dev/null`
5777                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5778                    found_dir="$dir"
5779                    found_so="$dir/$libname$shrext.$ver"
5780                  fi
5781                else
5782                  eval library_names=\"$acl_library_names_spec\"
5783                  for f in $library_names; do
5784                    if test -f "$dir/$f"; then
5785                      found_dir="$dir"
5786                      found_so="$dir/$f"
5787                      break
5788                    fi
5789                  done
5790                fi
5791              fi
5792            fi
5793                        if test "X$found_dir" = "X"; then
5794              if test -f "$dir/$libname.$acl_libext"; then
5795                found_dir="$dir"
5796                found_a="$dir/$libname.$acl_libext"
5797              fi
5798            fi
5799            if test "X$found_dir" != "X"; then
5800              if test -f "$dir/$libname.la"; then
5801                found_la="$dir/$libname.la"
5802              fi
5803            fi
5804          fi
5805          if test "X$found_dir" = "X"; then
5806            for x in $LDFLAGS $LTLIBICONV; do
5807
5808  acl_save_prefix="$prefix"
5809  prefix="$acl_final_prefix"
5810  acl_save_exec_prefix="$exec_prefix"
5811  exec_prefix="$acl_final_exec_prefix"
5812  eval x=\"$x\"
5813  exec_prefix="$acl_save_exec_prefix"
5814  prefix="$acl_save_prefix"
5815
5816              case "$x" in
5817                -L*)
5818                  dir=`echo "X$x" | sed -e 's/^X-L//'`
5819                                    if test -n "$acl_shlibext"; then
5820                    if test -f "$dir/$libname$shrext"; then
5821                      found_dir="$dir"
5822                      found_so="$dir/$libname$shrext"
5823                    else
5824                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5825                        ver=`(cd "$dir" && \
5826                              for f in "$libname$shrext".*; do echo "$f"; done \
5827                              | sed -e "s,^$libname$shrext\\\\.,," \
5828                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5829                              | sed 1q ) 2>/dev/null`
5830                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5831                          found_dir="$dir"
5832                          found_so="$dir/$libname$shrext.$ver"
5833                        fi
5834                      else
5835                        eval library_names=\"$acl_library_names_spec\"
5836                        for f in $library_names; do
5837                          if test -f "$dir/$f"; then
5838                            found_dir="$dir"
5839                            found_so="$dir/$f"
5840                            break
5841                          fi
5842                        done
5843                      fi
5844                    fi
5845                  fi
5846                                    if test "X$found_dir" = "X"; then
5847                    if test -f "$dir/$libname.$acl_libext"; then
5848                      found_dir="$dir"
5849                      found_a="$dir/$libname.$acl_libext"
5850                    fi
5851                  fi
5852                  if test "X$found_dir" != "X"; then
5853                    if test -f "$dir/$libname.la"; then
5854                      found_la="$dir/$libname.la"
5855                    fi
5856                  fi
5857                  ;;
5858              esac
5859              if test "X$found_dir" != "X"; then
5860                break
5861              fi
5862            done
5863          fi
5864          if test "X$found_dir" != "X"; then
5865                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5866            if test "X$found_so" != "X"; then
5867                                                        if test "$enable_rpath" = no \
5868                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5869                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5870                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5871              else
5872                                                                                haveit=
5873                for x in $ltrpathdirs; do
5874                  if test "X$x" = "X$found_dir"; then
5875                    haveit=yes
5876                    break
5877                  fi
5878                done
5879                if test -z "$haveit"; then
5880                  ltrpathdirs="$ltrpathdirs $found_dir"
5881                fi
5882                                if test "$acl_hardcode_direct" = yes; then
5883                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5884                else
5885                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5886                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5887                                                            haveit=
5888                    for x in $rpathdirs; do
5889                      if test "X$x" = "X$found_dir"; then
5890                        haveit=yes
5891                        break
5892                      fi
5893                    done
5894                    if test -z "$haveit"; then
5895                      rpathdirs="$rpathdirs $found_dir"
5896                    fi
5897                  else
5898                                                                                haveit=
5899                    for x in $LDFLAGS $LIBICONV; do
5900
5901  acl_save_prefix="$prefix"
5902  prefix="$acl_final_prefix"
5903  acl_save_exec_prefix="$exec_prefix"
5904  exec_prefix="$acl_final_exec_prefix"
5905  eval x=\"$x\"
5906  exec_prefix="$acl_save_exec_prefix"
5907  prefix="$acl_save_prefix"
5908
5909                      if test "X$x" = "X-L$found_dir"; then
5910                        haveit=yes
5911                        break
5912                      fi
5913                    done
5914                    if test -z "$haveit"; then
5915                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5916                    fi
5917                    if test "$acl_hardcode_minus_L" != no; then
5918                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5919                    else
5920                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5921                    fi
5922                  fi
5923                fi
5924              fi
5925            else
5926              if test "X$found_a" != "X"; then
5927                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5928              else
5929                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5930              fi
5931            fi
5932                        additional_includedir=
5933            case "$found_dir" in
5934              */$acl_libdirstem | */$acl_libdirstem/)
5935                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5936                if test "$name" = 'iconv'; then
5937                  LIBICONV_PREFIX="$basedir"
5938                fi
5939                additional_includedir="$basedir/include"
5940                ;;
5941              */$acl_libdirstem2 | */$acl_libdirstem2/)
5942                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5943                if test "$name" = 'iconv'; then
5944                  LIBICONV_PREFIX="$basedir"
5945                fi
5946                additional_includedir="$basedir/include"
5947                ;;
5948            esac
5949            if test "X$additional_includedir" != "X"; then
5950                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
5951                haveit=
5952                if test "X$additional_includedir" = "X/usr/local/include"; then
5953                  if test -n "$GCC"; then
5954                    case $host_os in
5955                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5956                    esac
5957                  fi
5958                fi
5959                if test -z "$haveit"; then
5960                  for x in $CPPFLAGS $INCICONV; do
5961
5962  acl_save_prefix="$prefix"
5963  prefix="$acl_final_prefix"
5964  acl_save_exec_prefix="$exec_prefix"
5965  exec_prefix="$acl_final_exec_prefix"
5966  eval x=\"$x\"
5967  exec_prefix="$acl_save_exec_prefix"
5968  prefix="$acl_save_prefix"
5969
5970                    if test "X$x" = "X-I$additional_includedir"; then
5971                      haveit=yes
5972                      break
5973                    fi
5974                  done
5975                  if test -z "$haveit"; then
5976                    if test -d "$additional_includedir"; then
5977                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5978                    fi
5979                  fi
5980                fi
5981              fi
5982            fi
5983                        if test -n "$found_la"; then
5984                                                        save_libdir="$libdir"
5985              case "$found_la" in
5986                */* | *\\*) . "$found_la" ;;
5987                *) . "./$found_la" ;;
5988              esac
5989              libdir="$save_libdir"
5990                            for dep in $dependency_libs; do
5991                case "$dep" in
5992                  -L*)
5993                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5994                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5995                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5996                      haveit=
5997                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5998                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5999                        if test -n "$GCC"; then
6000                          case $host_os in
6001                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6002                          esac
6003                        fi
6004                      fi
6005                      if test -z "$haveit"; then
6006                        haveit=
6007                        for x in $LDFLAGS $LIBICONV; do
6008
6009  acl_save_prefix="$prefix"
6010  prefix="$acl_final_prefix"
6011  acl_save_exec_prefix="$exec_prefix"
6012  exec_prefix="$acl_final_exec_prefix"
6013  eval x=\"$x\"
6014  exec_prefix="$acl_save_exec_prefix"
6015  prefix="$acl_save_prefix"
6016
6017                          if test "X$x" = "X-L$additional_libdir"; then
6018                            haveit=yes
6019                            break
6020                          fi
6021                        done
6022                        if test -z "$haveit"; then
6023                          if test -d "$additional_libdir"; then
6024                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6025                          fi
6026                        fi
6027                        haveit=
6028                        for x in $LDFLAGS $LTLIBICONV; do
6029
6030  acl_save_prefix="$prefix"
6031  prefix="$acl_final_prefix"
6032  acl_save_exec_prefix="$exec_prefix"
6033  exec_prefix="$acl_final_exec_prefix"
6034  eval x=\"$x\"
6035  exec_prefix="$acl_save_exec_prefix"
6036  prefix="$acl_save_prefix"
6037
6038                          if test "X$x" = "X-L$additional_libdir"; then
6039                            haveit=yes
6040                            break
6041                          fi
6042                        done
6043                        if test -z "$haveit"; then
6044                          if test -d "$additional_libdir"; then
6045                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6046                          fi
6047                        fi
6048                      fi
6049                    fi
6050                    ;;
6051                  -R*)
6052                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
6053                    if test "$enable_rpath" != no; then
6054                                                                  haveit=
6055                      for x in $rpathdirs; do
6056                        if test "X$x" = "X$dir"; then
6057                          haveit=yes
6058                          break
6059                        fi
6060                      done
6061                      if test -z "$haveit"; then
6062                        rpathdirs="$rpathdirs $dir"
6063                      fi
6064                                                                  haveit=
6065                      for x in $ltrpathdirs; do
6066                        if test "X$x" = "X$dir"; then
6067                          haveit=yes
6068                          break
6069                        fi
6070                      done
6071                      if test -z "$haveit"; then
6072                        ltrpathdirs="$ltrpathdirs $dir"
6073                      fi
6074                    fi
6075                    ;;
6076                  -l*)
6077                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6078                    ;;
6079                  *.la)
6080                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6081                    ;;
6082                  *)
6083                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
6084                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6085                    ;;
6086                esac
6087              done
6088            fi
6089          else
6090                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
6091            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6092          fi
6093        fi
6094      fi
6095    done
6096  done
6097  if test "X$rpathdirs" != "X"; then
6098    if test -n "$acl_hardcode_libdir_separator"; then
6099                        alldirs=
6100      for found_dir in $rpathdirs; do
6101        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6102      done
6103            acl_save_libdir="$libdir"
6104      libdir="$alldirs"
6105      eval flag=\"$acl_hardcode_libdir_flag_spec\"
6106      libdir="$acl_save_libdir"
6107      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6108    else
6109            for found_dir in $rpathdirs; do
6110        acl_save_libdir="$libdir"
6111        libdir="$found_dir"
6112        eval flag=\"$acl_hardcode_libdir_flag_spec\"
6113        libdir="$acl_save_libdir"
6114        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6115      done
6116    fi
6117  fi
6118  if test "X$ltrpathdirs" != "X"; then
6119            for found_dir in $ltrpathdirs; do
6120      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6121    done
6122  fi
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
6155$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
6156if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
6157  $as_echo_n "(cached) " >&6
6158else
6159  gt_save_LIBS="$LIBS"
6160     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6161     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6162/* end confdefs.h.  */
6163#include <CoreFoundation/CFPreferences.h>
6164int
6165main ()
6166{
6167CFPreferencesCopyAppValue(NULL, NULL)
6168  ;
6169  return 0;
6170}
6171_ACEOF
6172if ac_fn_c_try_link "$LINENO"; then :
6173  gt_cv_func_CFPreferencesCopyAppValue=yes
6174else
6175  gt_cv_func_CFPreferencesCopyAppValue=no
6176fi
6177rm -f core conftest.err conftest.$ac_objext \
6178    conftest$ac_exeext conftest.$ac_ext
6179     LIBS="$gt_save_LIBS"
6180fi
6181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6182$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6183  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6184
6185$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6186
6187  fi
6188    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6189$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6190if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
6191  $as_echo_n "(cached) " >&6
6192else
6193  gt_save_LIBS="$LIBS"
6194     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6195     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6196/* end confdefs.h.  */
6197#include <CoreFoundation/CFLocale.h>
6198int
6199main ()
6200{
6201CFLocaleCopyCurrent();
6202  ;
6203  return 0;
6204}
6205_ACEOF
6206if ac_fn_c_try_link "$LINENO"; then :
6207  gt_cv_func_CFLocaleCopyCurrent=yes
6208else
6209  gt_cv_func_CFLocaleCopyCurrent=no
6210fi
6211rm -f core conftest.err conftest.$ac_objext \
6212    conftest$ac_exeext conftest.$ac_ext
6213     LIBS="$gt_save_LIBS"
6214fi
6215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6216$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6217  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6218
6219$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6220
6221  fi
6222  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
6223$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
6224if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then :
6225  $as_echo_n "(cached) " >&6
6226else
6227  gt_save_LIBS="$LIBS"
6228     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6229     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6230/* end confdefs.h.  */
6231#include <CoreFoundation/CFLocale.h>
6232int
6233main ()
6234{
6235CFLocaleCopyPreferredLanguages();
6236  ;
6237  return 0;
6238}
6239_ACEOF
6240if ac_fn_c_try_link "$LINENO"; then :
6241  gt_cv_func_CFLocaleCopyPreferredLanguages=yes
6242else
6243  gt_cv_func_CFLocaleCopyPreferredLanguages=no
6244fi
6245rm -f core conftest.err conftest.$ac_objext \
6246    conftest$ac_exeext conftest.$ac_ext
6247     LIBS="$gt_save_LIBS"
6248fi
6249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
6250$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
6251  if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
6252
6253$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
6254
6255  fi
6256  INTL_MACOSX_LIBS=
6257  if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
6258     || test $gt_cv_func_CFLocaleCopyCurrent = yes \
6259     || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
6260    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
6261  fi
6262
6263
6264
6265
6266
6267
6268  LIBINTL=
6269  LTLIBINTL=
6270  POSUB=
6271
6272    case " $gt_needs " in
6273    *" need-formatstring-macros "*) gt_api_version=3 ;;
6274    *" need-ngettext "*) gt_api_version=2 ;;
6275    *) gt_api_version=1 ;;
6276  esac
6277  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
6278  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
6279
6280    if test "$USE_NLS" = "yes"; then
6281    gt_use_preinstalled_gnugettext=no
6282
6283
6284        if test $gt_api_version -ge 3; then
6285          gt_revision_test_code='
6286#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6287#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6288#endif
6289typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6290'
6291        else
6292          gt_revision_test_code=
6293        fi
6294        if test $gt_api_version -ge 2; then
6295          gt_expression_test_code=' + * ngettext ("", "", 0)'
6296        else
6297          gt_expression_test_code=
6298        fi
6299
6300        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6301$as_echo_n "checking for GNU gettext in libc... " >&6; }
6302if eval \${$gt_func_gnugettext_libc+:} false; then :
6303  $as_echo_n "(cached) " >&6
6304else
6305  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6306/* end confdefs.h.  */
6307
6308#include <libintl.h>
6309#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6310extern int _nl_msg_cat_cntr;
6311extern int *_nl_domain_bindings;
6312#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
6313#else
6314#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
6315#endif
6316$gt_revision_test_code
6317
6318int
6319main ()
6320{
6321
6322bindtextdomain ("", "");
6323return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
6324
6325  ;
6326  return 0;
6327}
6328_ACEOF
6329if ac_fn_c_try_link "$LINENO"; then :
6330  eval "$gt_func_gnugettext_libc=yes"
6331else
6332  eval "$gt_func_gnugettext_libc=no"
6333fi
6334rm -f core conftest.err conftest.$ac_objext \
6335    conftest$ac_exeext conftest.$ac_ext
6336fi
6337eval ac_res=\$$gt_func_gnugettext_libc
6338	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6339$as_echo "$ac_res" >&6; }
6340
6341        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6342
6343
6344
6345
6346
6347          am_save_CPPFLAGS="$CPPFLAGS"
6348
6349  for element in $INCICONV; do
6350    haveit=
6351    for x in $CPPFLAGS; do
6352
6353  acl_save_prefix="$prefix"
6354  prefix="$acl_final_prefix"
6355  acl_save_exec_prefix="$exec_prefix"
6356  exec_prefix="$acl_final_exec_prefix"
6357  eval x=\"$x\"
6358  exec_prefix="$acl_save_exec_prefix"
6359  prefix="$acl_save_prefix"
6360
6361      if test "X$x" = "X$element"; then
6362        haveit=yes
6363        break
6364      fi
6365    done
6366    if test -z "$haveit"; then
6367      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6368    fi
6369  done
6370
6371
6372  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6373$as_echo_n "checking for iconv... " >&6; }
6374if ${am_cv_func_iconv+:} false; then :
6375  $as_echo_n "(cached) " >&6
6376else
6377
6378    am_cv_func_iconv="no, consider installing GNU libiconv"
6379    am_cv_lib_iconv=no
6380    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6381/* end confdefs.h.  */
6382
6383#include <stdlib.h>
6384#include <iconv.h>
6385
6386int
6387main ()
6388{
6389iconv_t cd = iconv_open("","");
6390           iconv(cd,NULL,NULL,NULL,NULL);
6391           iconv_close(cd);
6392  ;
6393  return 0;
6394}
6395_ACEOF
6396if ac_fn_c_try_link "$LINENO"; then :
6397  am_cv_func_iconv=yes
6398fi
6399rm -f core conftest.err conftest.$ac_objext \
6400    conftest$ac_exeext conftest.$ac_ext
6401    if test "$am_cv_func_iconv" != yes; then
6402      am_save_LIBS="$LIBS"
6403      LIBS="$LIBS $LIBICONV"
6404      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6405/* end confdefs.h.  */
6406
6407#include <stdlib.h>
6408#include <iconv.h>
6409
6410int
6411main ()
6412{
6413iconv_t cd = iconv_open("","");
6414             iconv(cd,NULL,NULL,NULL,NULL);
6415             iconv_close(cd);
6416  ;
6417  return 0;
6418}
6419_ACEOF
6420if ac_fn_c_try_link "$LINENO"; then :
6421  am_cv_lib_iconv=yes
6422        am_cv_func_iconv=yes
6423fi
6424rm -f core conftest.err conftest.$ac_objext \
6425    conftest$ac_exeext conftest.$ac_ext
6426      LIBS="$am_save_LIBS"
6427    fi
6428
6429fi
6430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6431$as_echo "$am_cv_func_iconv" >&6; }
6432  if test "$am_cv_func_iconv" = yes; then
6433    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6434$as_echo_n "checking for working iconv... " >&6; }
6435if ${am_cv_func_iconv_works+:} false; then :
6436  $as_echo_n "(cached) " >&6
6437else
6438
6439                  am_save_LIBS="$LIBS"
6440      if test $am_cv_lib_iconv = yes; then
6441        LIBS="$LIBS $LIBICONV"
6442      fi
6443      am_cv_func_iconv_works=no
6444      for ac_iconv_const in '' 'const'; do
6445        if test "$cross_compiling" = yes; then :
6446  case "$host_os" in
6447             aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
6448             *)            am_cv_func_iconv_works="guessing yes" ;;
6449           esac
6450else
6451  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6452/* end confdefs.h.  */
6453
6454#include <iconv.h>
6455#include <string.h>
6456
6457#ifndef ICONV_CONST
6458# define ICONV_CONST $ac_iconv_const
6459#endif
6460
6461int
6462main ()
6463{
6464int result = 0;
6465  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6466     returns.  */
6467  {
6468    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6469    if (cd_utf8_to_88591 != (iconv_t)(-1))
6470      {
6471        static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
6472        char buf[10];
6473        ICONV_CONST char *inptr = input;
6474        size_t inbytesleft = strlen (input);
6475        char *outptr = buf;
6476        size_t outbytesleft = sizeof (buf);
6477        size_t res = iconv (cd_utf8_to_88591,
6478                            &inptr, &inbytesleft,
6479                            &outptr, &outbytesleft);
6480        if (res == 0)
6481          result |= 1;
6482        iconv_close (cd_utf8_to_88591);
6483      }
6484  }
6485  /* Test against Solaris 10 bug: Failures are not distinguishable from
6486     successful returns.  */
6487  {
6488    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6489    if (cd_ascii_to_88591 != (iconv_t)(-1))
6490      {
6491        static ICONV_CONST char input[] = "\263";
6492        char buf[10];
6493        ICONV_CONST char *inptr = input;
6494        size_t inbytesleft = strlen (input);
6495        char *outptr = buf;
6496        size_t outbytesleft = sizeof (buf);
6497        size_t res = iconv (cd_ascii_to_88591,
6498                            &inptr, &inbytesleft,
6499                            &outptr, &outbytesleft);
6500        if (res == 0)
6501          result |= 2;
6502        iconv_close (cd_ascii_to_88591);
6503      }
6504  }
6505  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
6506  {
6507    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
6508    if (cd_88591_to_utf8 != (iconv_t)(-1))
6509      {
6510        static ICONV_CONST char input[] = "\304";
6511        static char buf[2] = { (char)0xDE, (char)0xAD };
6512        ICONV_CONST char *inptr = input;
6513        size_t inbytesleft = 1;
6514        char *outptr = buf;
6515        size_t outbytesleft = 1;
6516        size_t res = iconv (cd_88591_to_utf8,
6517                            &inptr, &inbytesleft,
6518                            &outptr, &outbytesleft);
6519        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
6520          result |= 4;
6521        iconv_close (cd_88591_to_utf8);
6522      }
6523  }
6524#if 0 /* This bug could be worked around by the caller.  */
6525  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
6526  {
6527    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6528    if (cd_88591_to_utf8 != (iconv_t)(-1))
6529      {
6530        static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6531        char buf[50];
6532        ICONV_CONST char *inptr = input;
6533        size_t inbytesleft = strlen (input);
6534        char *outptr = buf;
6535        size_t outbytesleft = sizeof (buf);
6536        size_t res = iconv (cd_88591_to_utf8,
6537                            &inptr, &inbytesleft,
6538                            &outptr, &outbytesleft);
6539        if ((int)res > 0)
6540          result |= 8;
6541        iconv_close (cd_88591_to_utf8);
6542      }
6543  }
6544#endif
6545  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6546     provided.  */
6547  if (/* Try standardized names.  */
6548      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6549      /* Try IRIX, OSF/1 names.  */
6550      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6551      /* Try AIX names.  */
6552      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6553      /* Try HP-UX names.  */
6554      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6555    result |= 16;
6556  return result;
6557
6558  ;
6559  return 0;
6560}
6561_ACEOF
6562if ac_fn_c_try_run "$LINENO"; then :
6563  am_cv_func_iconv_works=yes
6564fi
6565rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6566  conftest.$ac_objext conftest.beam conftest.$ac_ext
6567fi
6568
6569        test "$am_cv_func_iconv_works" = no || break
6570      done
6571      LIBS="$am_save_LIBS"
6572
6573fi
6574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6575$as_echo "$am_cv_func_iconv_works" >&6; }
6576    case "$am_cv_func_iconv_works" in
6577      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
6578      *)   am_func_iconv=yes ;;
6579    esac
6580  else
6581    am_func_iconv=no am_cv_lib_iconv=no
6582  fi
6583  if test "$am_func_iconv" = yes; then
6584
6585$as_echo "#define HAVE_ICONV 1" >>confdefs.h
6586
6587  fi
6588  if test "$am_cv_lib_iconv" = yes; then
6589    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6590$as_echo_n "checking how to link with libiconv... " >&6; }
6591    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6592$as_echo "$LIBICONV" >&6; }
6593  else
6594            CPPFLAGS="$am_save_CPPFLAGS"
6595    LIBICONV=
6596    LTLIBICONV=
6597  fi
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609    use_additional=yes
6610
6611  acl_save_prefix="$prefix"
6612  prefix="$acl_final_prefix"
6613  acl_save_exec_prefix="$exec_prefix"
6614  exec_prefix="$acl_final_exec_prefix"
6615
6616    eval additional_includedir=\"$includedir\"
6617    eval additional_libdir=\"$libdir\"
6618
6619  exec_prefix="$acl_save_exec_prefix"
6620  prefix="$acl_save_prefix"
6621
6622
6623# Check whether --with-libintl-prefix was given.
6624if test "${with_libintl_prefix+set}" = set; then :
6625  withval=$with_libintl_prefix;
6626    if test "X$withval" = "Xno"; then
6627      use_additional=no
6628    else
6629      if test "X$withval" = "X"; then
6630
6631  acl_save_prefix="$prefix"
6632  prefix="$acl_final_prefix"
6633  acl_save_exec_prefix="$exec_prefix"
6634  exec_prefix="$acl_final_exec_prefix"
6635
6636          eval additional_includedir=\"$includedir\"
6637          eval additional_libdir=\"$libdir\"
6638
6639  exec_prefix="$acl_save_exec_prefix"
6640  prefix="$acl_save_prefix"
6641
6642      else
6643        additional_includedir="$withval/include"
6644        additional_libdir="$withval/$acl_libdirstem"
6645        if test "$acl_libdirstem2" != "$acl_libdirstem" \
6646           && ! test -d "$withval/$acl_libdirstem"; then
6647          additional_libdir="$withval/$acl_libdirstem2"
6648        fi
6649      fi
6650    fi
6651
6652fi
6653
6654      LIBINTL=
6655  LTLIBINTL=
6656  INCINTL=
6657  LIBINTL_PREFIX=
6658      HAVE_LIBINTL=
6659  rpathdirs=
6660  ltrpathdirs=
6661  names_already_handled=
6662  names_next_round='intl '
6663  while test -n "$names_next_round"; do
6664    names_this_round="$names_next_round"
6665    names_next_round=
6666    for name in $names_this_round; do
6667      already_handled=
6668      for n in $names_already_handled; do
6669        if test "$n" = "$name"; then
6670          already_handled=yes
6671          break
6672        fi
6673      done
6674      if test -z "$already_handled"; then
6675        names_already_handled="$names_already_handled $name"
6676                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
6677        eval value=\"\$HAVE_LIB$uppername\"
6678        if test -n "$value"; then
6679          if test "$value" = yes; then
6680            eval value=\"\$LIB$uppername\"
6681            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6682            eval value=\"\$LTLIB$uppername\"
6683            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6684          else
6685                                    :
6686          fi
6687        else
6688                              found_dir=
6689          found_la=
6690          found_so=
6691          found_a=
6692          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
6693          if test -n "$acl_shlibext"; then
6694            shrext=".$acl_shlibext"             # typically: shrext=.so
6695          else
6696            shrext=
6697          fi
6698          if test $use_additional = yes; then
6699            dir="$additional_libdir"
6700                                    if test -n "$acl_shlibext"; then
6701              if test -f "$dir/$libname$shrext"; then
6702                found_dir="$dir"
6703                found_so="$dir/$libname$shrext"
6704              else
6705                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6706                  ver=`(cd "$dir" && \
6707                        for f in "$libname$shrext".*; do echo "$f"; done \
6708                        | sed -e "s,^$libname$shrext\\\\.,," \
6709                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6710                        | sed 1q ) 2>/dev/null`
6711                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6712                    found_dir="$dir"
6713                    found_so="$dir/$libname$shrext.$ver"
6714                  fi
6715                else
6716                  eval library_names=\"$acl_library_names_spec\"
6717                  for f in $library_names; do
6718                    if test -f "$dir/$f"; then
6719                      found_dir="$dir"
6720                      found_so="$dir/$f"
6721                      break
6722                    fi
6723                  done
6724                fi
6725              fi
6726            fi
6727                        if test "X$found_dir" = "X"; then
6728              if test -f "$dir/$libname.$acl_libext"; then
6729                found_dir="$dir"
6730                found_a="$dir/$libname.$acl_libext"
6731              fi
6732            fi
6733            if test "X$found_dir" != "X"; then
6734              if test -f "$dir/$libname.la"; then
6735                found_la="$dir/$libname.la"
6736              fi
6737            fi
6738          fi
6739          if test "X$found_dir" = "X"; then
6740            for x in $LDFLAGS $LTLIBINTL; do
6741
6742  acl_save_prefix="$prefix"
6743  prefix="$acl_final_prefix"
6744  acl_save_exec_prefix="$exec_prefix"
6745  exec_prefix="$acl_final_exec_prefix"
6746  eval x=\"$x\"
6747  exec_prefix="$acl_save_exec_prefix"
6748  prefix="$acl_save_prefix"
6749
6750              case "$x" in
6751                -L*)
6752                  dir=`echo "X$x" | sed -e 's/^X-L//'`
6753                                    if test -n "$acl_shlibext"; then
6754                    if test -f "$dir/$libname$shrext"; then
6755                      found_dir="$dir"
6756                      found_so="$dir/$libname$shrext"
6757                    else
6758                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6759                        ver=`(cd "$dir" && \
6760                              for f in "$libname$shrext".*; do echo "$f"; done \
6761                              | sed -e "s,^$libname$shrext\\\\.,," \
6762                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6763                              | sed 1q ) 2>/dev/null`
6764                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6765                          found_dir="$dir"
6766                          found_so="$dir/$libname$shrext.$ver"
6767                        fi
6768                      else
6769                        eval library_names=\"$acl_library_names_spec\"
6770                        for f in $library_names; do
6771                          if test -f "$dir/$f"; then
6772                            found_dir="$dir"
6773                            found_so="$dir/$f"
6774                            break
6775                          fi
6776                        done
6777                      fi
6778                    fi
6779                  fi
6780                                    if test "X$found_dir" = "X"; then
6781                    if test -f "$dir/$libname.$acl_libext"; then
6782                      found_dir="$dir"
6783                      found_a="$dir/$libname.$acl_libext"
6784                    fi
6785                  fi
6786                  if test "X$found_dir" != "X"; then
6787                    if test -f "$dir/$libname.la"; then
6788                      found_la="$dir/$libname.la"
6789                    fi
6790                  fi
6791                  ;;
6792              esac
6793              if test "X$found_dir" != "X"; then
6794                break
6795              fi
6796            done
6797          fi
6798          if test "X$found_dir" != "X"; then
6799                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6800            if test "X$found_so" != "X"; then
6801                                                        if test "$enable_rpath" = no \
6802                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6803                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6804                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6805              else
6806                                                                                haveit=
6807                for x in $ltrpathdirs; do
6808                  if test "X$x" = "X$found_dir"; then
6809                    haveit=yes
6810                    break
6811                  fi
6812                done
6813                if test -z "$haveit"; then
6814                  ltrpathdirs="$ltrpathdirs $found_dir"
6815                fi
6816                                if test "$acl_hardcode_direct" = yes; then
6817                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6818                else
6819                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6820                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6821                                                            haveit=
6822                    for x in $rpathdirs; do
6823                      if test "X$x" = "X$found_dir"; then
6824                        haveit=yes
6825                        break
6826                      fi
6827                    done
6828                    if test -z "$haveit"; then
6829                      rpathdirs="$rpathdirs $found_dir"
6830                    fi
6831                  else
6832                                                                                haveit=
6833                    for x in $LDFLAGS $LIBINTL; do
6834
6835  acl_save_prefix="$prefix"
6836  prefix="$acl_final_prefix"
6837  acl_save_exec_prefix="$exec_prefix"
6838  exec_prefix="$acl_final_exec_prefix"
6839  eval x=\"$x\"
6840  exec_prefix="$acl_save_exec_prefix"
6841  prefix="$acl_save_prefix"
6842
6843                      if test "X$x" = "X-L$found_dir"; then
6844                        haveit=yes
6845                        break
6846                      fi
6847                    done
6848                    if test -z "$haveit"; then
6849                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6850                    fi
6851                    if test "$acl_hardcode_minus_L" != no; then
6852                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6853                    else
6854                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6855                    fi
6856                  fi
6857                fi
6858              fi
6859            else
6860              if test "X$found_a" != "X"; then
6861                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6862              else
6863                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6864              fi
6865            fi
6866                        additional_includedir=
6867            case "$found_dir" in
6868              */$acl_libdirstem | */$acl_libdirstem/)
6869                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6870                if test "$name" = 'intl'; then
6871                  LIBINTL_PREFIX="$basedir"
6872                fi
6873                additional_includedir="$basedir/include"
6874                ;;
6875              */$acl_libdirstem2 | */$acl_libdirstem2/)
6876                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6877                if test "$name" = 'intl'; then
6878                  LIBINTL_PREFIX="$basedir"
6879                fi
6880                additional_includedir="$basedir/include"
6881                ;;
6882            esac
6883            if test "X$additional_includedir" != "X"; then
6884                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
6885                haveit=
6886                if test "X$additional_includedir" = "X/usr/local/include"; then
6887                  if test -n "$GCC"; then
6888                    case $host_os in
6889                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6890                    esac
6891                  fi
6892                fi
6893                if test -z "$haveit"; then
6894                  for x in $CPPFLAGS $INCINTL; do
6895
6896  acl_save_prefix="$prefix"
6897  prefix="$acl_final_prefix"
6898  acl_save_exec_prefix="$exec_prefix"
6899  exec_prefix="$acl_final_exec_prefix"
6900  eval x=\"$x\"
6901  exec_prefix="$acl_save_exec_prefix"
6902  prefix="$acl_save_prefix"
6903
6904                    if test "X$x" = "X-I$additional_includedir"; then
6905                      haveit=yes
6906                      break
6907                    fi
6908                  done
6909                  if test -z "$haveit"; then
6910                    if test -d "$additional_includedir"; then
6911                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6912                    fi
6913                  fi
6914                fi
6915              fi
6916            fi
6917                        if test -n "$found_la"; then
6918                                                        save_libdir="$libdir"
6919              case "$found_la" in
6920                */* | *\\*) . "$found_la" ;;
6921                *) . "./$found_la" ;;
6922              esac
6923              libdir="$save_libdir"
6924                            for dep in $dependency_libs; do
6925                case "$dep" in
6926                  -L*)
6927                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6928                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6929                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6930                      haveit=
6931                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6932                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6933                        if test -n "$GCC"; then
6934                          case $host_os in
6935                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6936                          esac
6937                        fi
6938                      fi
6939                      if test -z "$haveit"; then
6940                        haveit=
6941                        for x in $LDFLAGS $LIBINTL; do
6942
6943  acl_save_prefix="$prefix"
6944  prefix="$acl_final_prefix"
6945  acl_save_exec_prefix="$exec_prefix"
6946  exec_prefix="$acl_final_exec_prefix"
6947  eval x=\"$x\"
6948  exec_prefix="$acl_save_exec_prefix"
6949  prefix="$acl_save_prefix"
6950
6951                          if test "X$x" = "X-L$additional_libdir"; then
6952                            haveit=yes
6953                            break
6954                          fi
6955                        done
6956                        if test -z "$haveit"; then
6957                          if test -d "$additional_libdir"; then
6958                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6959                          fi
6960                        fi
6961                        haveit=
6962                        for x in $LDFLAGS $LTLIBINTL; do
6963
6964  acl_save_prefix="$prefix"
6965  prefix="$acl_final_prefix"
6966  acl_save_exec_prefix="$exec_prefix"
6967  exec_prefix="$acl_final_exec_prefix"
6968  eval x=\"$x\"
6969  exec_prefix="$acl_save_exec_prefix"
6970  prefix="$acl_save_prefix"
6971
6972                          if test "X$x" = "X-L$additional_libdir"; then
6973                            haveit=yes
6974                            break
6975                          fi
6976                        done
6977                        if test -z "$haveit"; then
6978                          if test -d "$additional_libdir"; then
6979                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6980                          fi
6981                        fi
6982                      fi
6983                    fi
6984                    ;;
6985                  -R*)
6986                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
6987                    if test "$enable_rpath" != no; then
6988                                                                  haveit=
6989                      for x in $rpathdirs; do
6990                        if test "X$x" = "X$dir"; then
6991                          haveit=yes
6992                          break
6993                        fi
6994                      done
6995                      if test -z "$haveit"; then
6996                        rpathdirs="$rpathdirs $dir"
6997                      fi
6998                                                                  haveit=
6999                      for x in $ltrpathdirs; do
7000                        if test "X$x" = "X$dir"; then
7001                          haveit=yes
7002                          break
7003                        fi
7004                      done
7005                      if test -z "$haveit"; then
7006                        ltrpathdirs="$ltrpathdirs $dir"
7007                      fi
7008                    fi
7009                    ;;
7010                  -l*)
7011                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7012                    ;;
7013                  *.la)
7014                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7015                    ;;
7016                  *)
7017                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
7018                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
7019                    ;;
7020                esac
7021              done
7022            fi
7023          else
7024                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
7025            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
7026          fi
7027        fi
7028      fi
7029    done
7030  done
7031  if test "X$rpathdirs" != "X"; then
7032    if test -n "$acl_hardcode_libdir_separator"; then
7033                        alldirs=
7034      for found_dir in $rpathdirs; do
7035        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7036      done
7037            acl_save_libdir="$libdir"
7038      libdir="$alldirs"
7039      eval flag=\"$acl_hardcode_libdir_flag_spec\"
7040      libdir="$acl_save_libdir"
7041      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
7042    else
7043            for found_dir in $rpathdirs; do
7044        acl_save_libdir="$libdir"
7045        libdir="$found_dir"
7046        eval flag=\"$acl_hardcode_libdir_flag_spec\"
7047        libdir="$acl_save_libdir"
7048        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
7049      done
7050    fi
7051  fi
7052  if test "X$ltrpathdirs" != "X"; then
7053            for found_dir in $ltrpathdirs; do
7054      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
7055    done
7056  fi
7057
7058
7059
7060
7061
7062
7063          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
7064$as_echo_n "checking for GNU gettext in libintl... " >&6; }
7065if eval \${$gt_func_gnugettext_libintl+:} false; then :
7066  $as_echo_n "(cached) " >&6
7067else
7068  gt_save_CPPFLAGS="$CPPFLAGS"
7069            CPPFLAGS="$CPPFLAGS $INCINTL"
7070            gt_save_LIBS="$LIBS"
7071            LIBS="$LIBS $LIBINTL"
7072                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7073/* end confdefs.h.  */
7074
7075#include <libintl.h>
7076#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7077extern int _nl_msg_cat_cntr;
7078extern
7079#ifdef __cplusplus
7080"C"
7081#endif
7082const char *_nl_expand_alias (const char *);
7083#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
7084#else
7085#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7086#endif
7087$gt_revision_test_code
7088
7089int
7090main ()
7091{
7092
7093bindtextdomain ("", "");
7094return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7095
7096  ;
7097  return 0;
7098}
7099_ACEOF
7100if ac_fn_c_try_link "$LINENO"; then :
7101  eval "$gt_func_gnugettext_libintl=yes"
7102else
7103  eval "$gt_func_gnugettext_libintl=no"
7104fi
7105rm -f core conftest.err conftest.$ac_objext \
7106    conftest$ac_exeext conftest.$ac_ext
7107                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
7108              LIBS="$LIBS $LIBICONV"
7109              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7110/* end confdefs.h.  */
7111
7112#include <libintl.h>
7113#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7114extern int _nl_msg_cat_cntr;
7115extern
7116#ifdef __cplusplus
7117"C"
7118#endif
7119const char *_nl_expand_alias (const char *);
7120#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
7121#else
7122#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7123#endif
7124$gt_revision_test_code
7125
7126int
7127main ()
7128{
7129
7130bindtextdomain ("", "");
7131return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7132
7133  ;
7134  return 0;
7135}
7136_ACEOF
7137if ac_fn_c_try_link "$LINENO"; then :
7138  LIBINTL="$LIBINTL $LIBICONV"
7139                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
7140                 eval "$gt_func_gnugettext_libintl=yes"
7141
7142fi
7143rm -f core conftest.err conftest.$ac_objext \
7144    conftest$ac_exeext conftest.$ac_ext
7145            fi
7146            CPPFLAGS="$gt_save_CPPFLAGS"
7147            LIBS="$gt_save_LIBS"
7148fi
7149eval ac_res=\$$gt_func_gnugettext_libintl
7150	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7151$as_echo "$ac_res" >&6; }
7152        fi
7153
7154                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
7155           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
7156                && test "$PACKAGE" != gettext-runtime \
7157                && test "$PACKAGE" != gettext-tools; }; then
7158          gt_use_preinstalled_gnugettext=yes
7159        else
7160                    LIBINTL=
7161          LTLIBINTL=
7162          INCINTL=
7163        fi
7164
7165
7166
7167    if test -n "$INTL_MACOSX_LIBS"; then
7168      if test "$gt_use_preinstalled_gnugettext" = "yes" \
7169         || test "$nls_cv_use_gnu_gettext" = "yes"; then
7170                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
7171        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
7172      fi
7173    fi
7174
7175    if test "$gt_use_preinstalled_gnugettext" = "yes" \
7176       || test "$nls_cv_use_gnu_gettext" = "yes"; then
7177
7178$as_echo "#define ENABLE_NLS 1" >>confdefs.h
7179
7180    else
7181      USE_NLS=no
7182    fi
7183  fi
7184
7185  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
7186$as_echo_n "checking whether to use NLS... " >&6; }
7187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7188$as_echo "$USE_NLS" >&6; }
7189  if test "$USE_NLS" = "yes"; then
7190    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
7191$as_echo_n "checking where the gettext function comes from... " >&6; }
7192    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7193      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7194        gt_source="external libintl"
7195      else
7196        gt_source="libc"
7197      fi
7198    else
7199      gt_source="included intl directory"
7200    fi
7201    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
7202$as_echo "$gt_source" >&6; }
7203  fi
7204
7205  if test "$USE_NLS" = "yes"; then
7206
7207    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7208      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7209        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
7210$as_echo_n "checking how to link with libintl... " >&6; }
7211        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
7212$as_echo "$LIBINTL" >&6; }
7213
7214  for element in $INCINTL; do
7215    haveit=
7216    for x in $CPPFLAGS; do
7217
7218  acl_save_prefix="$prefix"
7219  prefix="$acl_final_prefix"
7220  acl_save_exec_prefix="$exec_prefix"
7221  exec_prefix="$acl_final_exec_prefix"
7222  eval x=\"$x\"
7223  exec_prefix="$acl_save_exec_prefix"
7224  prefix="$acl_save_prefix"
7225
7226      if test "X$x" = "X$element"; then
7227        haveit=yes
7228        break
7229      fi
7230    done
7231    if test -z "$haveit"; then
7232      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7233    fi
7234  done
7235
7236      fi
7237
7238
7239$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7240
7241
7242$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
7243
7244    fi
7245
7246        POSUB=po
7247  fi
7248
7249
7250
7251    INTLLIBS="$LIBINTL"
7252
7253
7254
7255
7256
7257
7258
7259
7260# options
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274# Check whether --enable-public-libgsequencer was given.
7275if test "${enable_public_libgsequencer+set}" = set; then :
7276  enableval=$enable_public_libgsequencer;
7277else
7278  enable_public_libgsequencer=yes
7279fi
7280
7281
7282# Check whether --enable-upstream-gtk-doc was given.
7283if test "${enable_upstream_gtk_doc+set}" = set; then :
7284  enableval=$enable_upstream_gtk_doc;
7285else
7286  enable_upstream_gtk_doc=yes
7287fi
7288
7289
7290# Check whether --enable-single-docdir was given.
7291if test "${enable_single_docdir+set}" = set; then :
7292  enableval=$enable_single_docdir;
7293else
7294  enable_single_docdir=no
7295fi
7296
7297
7298# Check whether --enable-strip-rt-events was given.
7299if test "${enable_strip_rt_events+set}" = set; then :
7300  enableval=$enable_strip_rt_events;
7301else
7302  enable_strip_rt_events=yes
7303fi
7304
7305
7306# Check whether --enable-rt was given.
7307if test "${enable_rt+set}" = set; then :
7308  enableval=$enable_rt;
7309else
7310  enable_rt=yes
7311fi
7312
7313
7314# Check whether --enable-w32api was given.
7315if test "${enable_w32api+set}" = set; then :
7316  enableval=$enable_w32api;
7317else
7318  enable_w32api=no
7319fi
7320
7321
7322# Check whether --enable-osxapi was given.
7323if test "${enable_osxapi+set}" = set; then :
7324  enableval=$enable_osxapi;
7325else
7326  enable_osxapi=no
7327fi
7328
7329
7330# Check whether --enable-alsa was given.
7331if test "${enable_alsa+set}" = set; then :
7332  enableval=$enable_alsa;
7333else
7334  enable_alsa=yes
7335fi
7336
7337
7338# Check whether --enable-alsa-compat was given.
7339if test "${enable_alsa_compat+set}" = set; then :
7340  enableval=$enable_alsa_compat;
7341else
7342  enable_alsa_compat=no
7343fi
7344
7345
7346# Check whether --enable-oss was given.
7347if test "${enable_oss+set}" = set; then :
7348  enableval=$enable_oss;
7349else
7350  enable_oss=no
7351fi
7352
7353
7354# Check whether --enable-jack was given.
7355if test "${enable_jack+set}" = set; then :
7356  enableval=$enable_jack;
7357else
7358  enable_jack=yes
7359fi
7360
7361
7362# Check whether --enable-pulse was given.
7363if test "${enable_pulse+set}" = set; then :
7364  enableval=$enable_pulse;
7365else
7366  enable_pulse=yes
7367fi
7368
7369
7370# Check whether --enable-core-audio was given.
7371if test "${enable_core_audio+set}" = set; then :
7372  enableval=$enable_core_audio;
7373else
7374  enable_core_audio=no
7375fi
7376
7377
7378# Check whether --enable-audio-unit was given.
7379if test "${enable_audio_unit+set}" = set; then :
7380  enableval=$enable_audio_unit;
7381else
7382  enable_audio_unit=no
7383fi
7384
7385
7386# Check whether --enable-wasapi was given.
7387if test "${enable_wasapi+set}" = set; then :
7388  enableval=$enable_wasapi;
7389else
7390  enable_wasapi=no
7391fi
7392
7393
7394# Check whether --enable-libinstpatch was given.
7395if test "${enable_libinstpatch+set}" = set; then :
7396  enableval=$enable_libinstpatch;
7397else
7398  enable_libinstpatch=yes
7399fi
7400
7401
7402# Check whether --enable-vst3 was given.
7403if test "${enable_vst3+set}" = set; then :
7404  enableval=$enable_vst3;
7405else
7406  enable_vst3=no
7407fi
7408
7409
7410# Check whether --enable-pulse was given.
7411if test "${enable_pulse+set}" = set; then :
7412  enableval=$enable_pulse;
7413else
7414  enable_pulse=yes
7415fi
7416
7417
7418# Check whether --enable-x11 was given.
7419if test "${enable_x11+set}" = set; then :
7420  enableval=$enable_x11;
7421else
7422  enable_x11=yes
7423fi
7424
7425
7426# Check whether --enable-quartz was given.
7427if test "${enable_quartz+set}" = set; then :
7428  enableval=$enable_quartz;
7429else
7430  enable_quartz=no
7431fi
7432
7433
7434# Check whether --enable-run-functional-tests was given.
7435if test "${enable_run_functional_tests+set}" = set; then :
7436  enableval=$enable_run_functional_tests;
7437else
7438  enable_run_functional_tests=no
7439fi
7440
7441
7442# Check whether --enable-fast-test-mode was given.
7443if test "${enable_fast_test_mode+set}" = set; then :
7444  enableval=$enable_fast_test_mode;
7445else
7446  enable_fast_test_mode=no
7447fi
7448
7449
7450# Check whether --enable-run-system-tests was given.
7451if test "${enable_run_system_tests+set}" = set; then :
7452  enableval=$enable_run_system_tests;
7453else
7454  enable_run_system_tests=no
7455fi
7456
7457
7458# Check whether --enable-experimental was given.
7459if test "${enable_experimental+set}" = set; then :
7460  enableval=$enable_experimental;
7461else
7462  enable_experimental=no
7463fi
7464
7465
7466
7467# Check whether --with-webkit was given.
7468if test "${with_webkit+set}" = set; then :
7469  withval=$with_webkit;
7470else
7471  with_webkit=yes
7472fi
7473
7474
7475
7476# Check whether --with-poppler was given.
7477if test "${with_poppler+set}" = set; then :
7478  withval=$with_poppler;
7479else
7480  with_poppler=no
7481fi
7482
7483
7484
7485# Check whether --with-gstreamer was given.
7486if test "${with_gstreamer+set}" = set; then :
7487  withval=$with_gstreamer;
7488else
7489  with_gstreamer=yes
7490fi
7491
7492
7493# Checks for programs.
7494ac_ext=c
7495ac_cpp='$CPP $CPPFLAGS'
7496ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7497ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7498ac_compiler_gnu=$ac_cv_c_compiler_gnu
7499if test -n "$ac_tool_prefix"; then
7500  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
7501set dummy ${ac_tool_prefix}gcc; ac_word=$2
7502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7503$as_echo_n "checking for $ac_word... " >&6; }
7504if ${ac_cv_prog_CC+:} false; then :
7505  $as_echo_n "(cached) " >&6
7506else
7507  if test -n "$CC"; then
7508  ac_cv_prog_CC="$CC" # Let the user override the test.
7509else
7510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7511for as_dir in $PATH
7512do
7513  IFS=$as_save_IFS
7514  test -z "$as_dir" && as_dir=.
7515    for ac_exec_ext in '' $ac_executable_extensions; do
7516  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7517    ac_cv_prog_CC="${ac_tool_prefix}gcc"
7518    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7519    break 2
7520  fi
7521done
7522  done
7523IFS=$as_save_IFS
7524
7525fi
7526fi
7527CC=$ac_cv_prog_CC
7528if test -n "$CC"; then
7529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7530$as_echo "$CC" >&6; }
7531else
7532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7533$as_echo "no" >&6; }
7534fi
7535
7536
7537fi
7538if test -z "$ac_cv_prog_CC"; then
7539  ac_ct_CC=$CC
7540  # Extract the first word of "gcc", so it can be a program name with args.
7541set dummy gcc; ac_word=$2
7542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7543$as_echo_n "checking for $ac_word... " >&6; }
7544if ${ac_cv_prog_ac_ct_CC+:} false; then :
7545  $as_echo_n "(cached) " >&6
7546else
7547  if test -n "$ac_ct_CC"; then
7548  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7549else
7550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7551for as_dir in $PATH
7552do
7553  IFS=$as_save_IFS
7554  test -z "$as_dir" && as_dir=.
7555    for ac_exec_ext in '' $ac_executable_extensions; do
7556  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7557    ac_cv_prog_ac_ct_CC="gcc"
7558    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7559    break 2
7560  fi
7561done
7562  done
7563IFS=$as_save_IFS
7564
7565fi
7566fi
7567ac_ct_CC=$ac_cv_prog_ac_ct_CC
7568if test -n "$ac_ct_CC"; then
7569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
7570$as_echo "$ac_ct_CC" >&6; }
7571else
7572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7573$as_echo "no" >&6; }
7574fi
7575
7576  if test "x$ac_ct_CC" = x; then
7577    CC=""
7578  else
7579    case $cross_compiling:$ac_tool_warned in
7580yes:)
7581{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7582$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7583ac_tool_warned=yes ;;
7584esac
7585    CC=$ac_ct_CC
7586  fi
7587else
7588  CC="$ac_cv_prog_CC"
7589fi
7590
7591if test -z "$CC"; then
7592          if test -n "$ac_tool_prefix"; then
7593    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7594set dummy ${ac_tool_prefix}cc; ac_word=$2
7595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7596$as_echo_n "checking for $ac_word... " >&6; }
7597if ${ac_cv_prog_CC+:} false; then :
7598  $as_echo_n "(cached) " >&6
7599else
7600  if test -n "$CC"; then
7601  ac_cv_prog_CC="$CC" # Let the user override the test.
7602else
7603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7604for as_dir in $PATH
7605do
7606  IFS=$as_save_IFS
7607  test -z "$as_dir" && as_dir=.
7608    for ac_exec_ext in '' $ac_executable_extensions; do
7609  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7610    ac_cv_prog_CC="${ac_tool_prefix}cc"
7611    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612    break 2
7613  fi
7614done
7615  done
7616IFS=$as_save_IFS
7617
7618fi
7619fi
7620CC=$ac_cv_prog_CC
7621if test -n "$CC"; then
7622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7623$as_echo "$CC" >&6; }
7624else
7625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7626$as_echo "no" >&6; }
7627fi
7628
7629
7630  fi
7631fi
7632if test -z "$CC"; then
7633  # Extract the first word of "cc", so it can be a program name with args.
7634set dummy cc; ac_word=$2
7635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7636$as_echo_n "checking for $ac_word... " >&6; }
7637if ${ac_cv_prog_CC+:} false; then :
7638  $as_echo_n "(cached) " >&6
7639else
7640  if test -n "$CC"; then
7641  ac_cv_prog_CC="$CC" # Let the user override the test.
7642else
7643  ac_prog_rejected=no
7644as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7645for as_dir in $PATH
7646do
7647  IFS=$as_save_IFS
7648  test -z "$as_dir" && as_dir=.
7649    for ac_exec_ext in '' $ac_executable_extensions; do
7650  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7651    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
7652       ac_prog_rejected=yes
7653       continue
7654     fi
7655    ac_cv_prog_CC="cc"
7656    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7657    break 2
7658  fi
7659done
7660  done
7661IFS=$as_save_IFS
7662
7663if test $ac_prog_rejected = yes; then
7664  # We found a bogon in the path, so make sure we never use it.
7665  set dummy $ac_cv_prog_CC
7666  shift
7667  if test $# != 0; then
7668    # We chose a different compiler from the bogus one.
7669    # However, it has the same basename, so the bogon will be chosen
7670    # first if we set CC to just the basename; use the full file name.
7671    shift
7672    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
7673  fi
7674fi
7675fi
7676fi
7677CC=$ac_cv_prog_CC
7678if test -n "$CC"; then
7679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7680$as_echo "$CC" >&6; }
7681else
7682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7683$as_echo "no" >&6; }
7684fi
7685
7686
7687fi
7688if test -z "$CC"; then
7689  if test -n "$ac_tool_prefix"; then
7690  for ac_prog in cl.exe
7691  do
7692    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7693set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7695$as_echo_n "checking for $ac_word... " >&6; }
7696if ${ac_cv_prog_CC+:} false; then :
7697  $as_echo_n "(cached) " >&6
7698else
7699  if test -n "$CC"; then
7700  ac_cv_prog_CC="$CC" # Let the user override the test.
7701else
7702as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7703for as_dir in $PATH
7704do
7705  IFS=$as_save_IFS
7706  test -z "$as_dir" && as_dir=.
7707    for ac_exec_ext in '' $ac_executable_extensions; do
7708  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7709    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
7710    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7711    break 2
7712  fi
7713done
7714  done
7715IFS=$as_save_IFS
7716
7717fi
7718fi
7719CC=$ac_cv_prog_CC
7720if test -n "$CC"; then
7721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7722$as_echo "$CC" >&6; }
7723else
7724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725$as_echo "no" >&6; }
7726fi
7727
7728
7729    test -n "$CC" && break
7730  done
7731fi
7732if test -z "$CC"; then
7733  ac_ct_CC=$CC
7734  for ac_prog in cl.exe
7735do
7736  # Extract the first word of "$ac_prog", so it can be a program name with args.
7737set dummy $ac_prog; ac_word=$2
7738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7739$as_echo_n "checking for $ac_word... " >&6; }
7740if ${ac_cv_prog_ac_ct_CC+:} false; then :
7741  $as_echo_n "(cached) " >&6
7742else
7743  if test -n "$ac_ct_CC"; then
7744  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7745else
7746as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7747for as_dir in $PATH
7748do
7749  IFS=$as_save_IFS
7750  test -z "$as_dir" && as_dir=.
7751    for ac_exec_ext in '' $ac_executable_extensions; do
7752  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7753    ac_cv_prog_ac_ct_CC="$ac_prog"
7754    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7755    break 2
7756  fi
7757done
7758  done
7759IFS=$as_save_IFS
7760
7761fi
7762fi
7763ac_ct_CC=$ac_cv_prog_ac_ct_CC
7764if test -n "$ac_ct_CC"; then
7765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
7766$as_echo "$ac_ct_CC" >&6; }
7767else
7768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7769$as_echo "no" >&6; }
7770fi
7771
7772
7773  test -n "$ac_ct_CC" && break
7774done
7775
7776  if test "x$ac_ct_CC" = x; then
7777    CC=""
7778  else
7779    case $cross_compiling:$ac_tool_warned in
7780yes:)
7781{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7782$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7783ac_tool_warned=yes ;;
7784esac
7785    CC=$ac_ct_CC
7786  fi
7787fi
7788
7789fi
7790
7791
7792test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7793$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7794as_fn_error $? "no acceptable C compiler found in \$PATH
7795See \`config.log' for more details" "$LINENO" 5; }
7796
7797# Provide some information about the compiler.
7798$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
7799set X $ac_compile
7800ac_compiler=$2
7801for ac_option in --version -v -V -qversion; do
7802  { { ac_try="$ac_compiler $ac_option >&5"
7803case "(($ac_try" in
7804  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7805  *) ac_try_echo=$ac_try;;
7806esac
7807eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7808$as_echo "$ac_try_echo"; } >&5
7809  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7810  ac_status=$?
7811  if test -s conftest.err; then
7812    sed '10a\
7813... rest of stderr output deleted ...
7814         10q' conftest.err >conftest.er1
7815    cat conftest.er1 >&5
7816  fi
7817  rm -f conftest.er1 conftest.err
7818  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7819  test $ac_status = 0; }
7820done
7821
7822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
7823$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
7824if ${ac_cv_c_compiler_gnu+:} false; then :
7825  $as_echo_n "(cached) " >&6
7826else
7827  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7828/* end confdefs.h.  */
7829
7830int
7831main ()
7832{
7833#ifndef __GNUC__
7834       choke me
7835#endif
7836
7837  ;
7838  return 0;
7839}
7840_ACEOF
7841if ac_fn_c_try_compile "$LINENO"; then :
7842  ac_compiler_gnu=yes
7843else
7844  ac_compiler_gnu=no
7845fi
7846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7847ac_cv_c_compiler_gnu=$ac_compiler_gnu
7848
7849fi
7850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
7851$as_echo "$ac_cv_c_compiler_gnu" >&6; }
7852if test $ac_compiler_gnu = yes; then
7853  GCC=yes
7854else
7855  GCC=
7856fi
7857ac_test_CFLAGS=${CFLAGS+set}
7858ac_save_CFLAGS=$CFLAGS
7859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
7860$as_echo_n "checking whether $CC accepts -g... " >&6; }
7861if ${ac_cv_prog_cc_g+:} false; then :
7862  $as_echo_n "(cached) " >&6
7863else
7864  ac_save_c_werror_flag=$ac_c_werror_flag
7865   ac_c_werror_flag=yes
7866   ac_cv_prog_cc_g=no
7867   CFLAGS="-g"
7868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7869/* end confdefs.h.  */
7870
7871int
7872main ()
7873{
7874
7875  ;
7876  return 0;
7877}
7878_ACEOF
7879if ac_fn_c_try_compile "$LINENO"; then :
7880  ac_cv_prog_cc_g=yes
7881else
7882  CFLAGS=""
7883      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7884/* end confdefs.h.  */
7885
7886int
7887main ()
7888{
7889
7890  ;
7891  return 0;
7892}
7893_ACEOF
7894if ac_fn_c_try_compile "$LINENO"; then :
7895
7896else
7897  ac_c_werror_flag=$ac_save_c_werror_flag
7898	 CFLAGS="-g"
7899	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7900/* end confdefs.h.  */
7901
7902int
7903main ()
7904{
7905
7906  ;
7907  return 0;
7908}
7909_ACEOF
7910if ac_fn_c_try_compile "$LINENO"; then :
7911  ac_cv_prog_cc_g=yes
7912fi
7913rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7914fi
7915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7916fi
7917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7918   ac_c_werror_flag=$ac_save_c_werror_flag
7919fi
7920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
7921$as_echo "$ac_cv_prog_cc_g" >&6; }
7922if test "$ac_test_CFLAGS" = set; then
7923  CFLAGS=$ac_save_CFLAGS
7924elif test $ac_cv_prog_cc_g = yes; then
7925  if test "$GCC" = yes; then
7926    CFLAGS="-g -O2"
7927  else
7928    CFLAGS="-g"
7929  fi
7930else
7931  if test "$GCC" = yes; then
7932    CFLAGS="-O2"
7933  else
7934    CFLAGS=
7935  fi
7936fi
7937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
7938$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
7939if ${ac_cv_prog_cc_c89+:} false; then :
7940  $as_echo_n "(cached) " >&6
7941else
7942  ac_cv_prog_cc_c89=no
7943ac_save_CC=$CC
7944cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7945/* end confdefs.h.  */
7946#include <stdarg.h>
7947#include <stdio.h>
7948struct stat;
7949/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
7950struct buf { int x; };
7951FILE * (*rcsopen) (struct buf *, struct stat *, int);
7952static char *e (p, i)
7953     char **p;
7954     int i;
7955{
7956  return p[i];
7957}
7958static char *f (char * (*g) (char **, int), char **p, ...)
7959{
7960  char *s;
7961  va_list v;
7962  va_start (v,p);
7963  s = g (p, va_arg (v,int));
7964  va_end (v);
7965  return s;
7966}
7967
7968/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
7969   function prototypes and stuff, but not '\xHH' hex character constants.
7970   These don't provoke an error unfortunately, instead are silently treated
7971   as 'x'.  The following induces an error, until -std is added to get
7972   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
7973   array size at least.  It's necessary to write '\x00'==0 to get something
7974   that's true only with -std.  */
7975int osf4_cc_array ['\x00' == 0 ? 1 : -1];
7976
7977/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
7978   inside strings and character constants.  */
7979#define FOO(x) 'x'
7980int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
7981
7982int test (int i, double x);
7983struct s1 {int (*f) (int a);};
7984struct s2 {int (*f) (double a);};
7985int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
7986int argc;
7987char **argv;
7988int
7989main ()
7990{
7991return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
7992  ;
7993  return 0;
7994}
7995_ACEOF
7996for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
7997	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
7998do
7999  CC="$ac_save_CC $ac_arg"
8000  if ac_fn_c_try_compile "$LINENO"; then :
8001  ac_cv_prog_cc_c89=$ac_arg
8002fi
8003rm -f core conftest.err conftest.$ac_objext
8004  test "x$ac_cv_prog_cc_c89" != "xno" && break
8005done
8006rm -f conftest.$ac_ext
8007CC=$ac_save_CC
8008
8009fi
8010# AC_CACHE_VAL
8011case "x$ac_cv_prog_cc_c89" in
8012  x)
8013    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
8014$as_echo "none needed" >&6; } ;;
8015  xno)
8016    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
8017$as_echo "unsupported" >&6; } ;;
8018  *)
8019    CC="$CC $ac_cv_prog_cc_c89"
8020    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
8021$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
8022esac
8023if test "x$ac_cv_prog_cc_c89" != xno; then :
8024
8025fi
8026
8027ac_ext=c
8028ac_cpp='$CPP $CPPFLAGS'
8029ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8030ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8031ac_compiler_gnu=$ac_cv_c_compiler_gnu
8032
8033ac_ext=c
8034ac_cpp='$CPP $CPPFLAGS'
8035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8037ac_compiler_gnu=$ac_cv_c_compiler_gnu
8038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
8039$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
8040if ${am_cv_prog_cc_c_o+:} false; then :
8041  $as_echo_n "(cached) " >&6
8042else
8043  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8044/* end confdefs.h.  */
8045
8046int
8047main ()
8048{
8049
8050  ;
8051  return 0;
8052}
8053_ACEOF
8054  # Make sure it works both with $CC and with simple cc.
8055  # Following AC_PROG_CC_C_O, we do the test twice because some
8056  # compilers refuse to overwrite an existing .o file with -o,
8057  # though they will create one.
8058  am_cv_prog_cc_c_o=yes
8059  for am_i in 1 2; do
8060    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
8061   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
8062   ac_status=$?
8063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064   (exit $ac_status); } \
8065         && test -f conftest2.$ac_objext; then
8066      : OK
8067    else
8068      am_cv_prog_cc_c_o=no
8069      break
8070    fi
8071  done
8072  rm -f core conftest*
8073  unset am_i
8074fi
8075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
8076$as_echo "$am_cv_prog_cc_c_o" >&6; }
8077if test "$am_cv_prog_cc_c_o" != yes; then
8078   # Losing compiler, so override with the script.
8079   # FIXME: It is wrong to rewrite CC.
8080   # But if we don't then we get into trouble of one sort or another.
8081   # A longer-term fix would be to have automake use am__CC in this case,
8082   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
8083   CC="$am_aux_dir/compile $CC"
8084fi
8085ac_ext=c
8086ac_cpp='$CPP $CPPFLAGS'
8087ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8088ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8089ac_compiler_gnu=$ac_cv_c_compiler_gnu
8090
8091
8092depcc="$CC"   am_compiler_list=
8093
8094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8095$as_echo_n "checking dependency style of $depcc... " >&6; }
8096if ${am_cv_CC_dependencies_compiler_type+:} false; then :
8097  $as_echo_n "(cached) " >&6
8098else
8099  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8100  # We make a subdir and do the tests there.  Otherwise we can end up
8101  # making bogus files that we don't know about and never remove.  For
8102  # instance it was reported that on HP-UX the gcc test will end up
8103  # making a dummy file named 'D' -- because '-MD' means "put the output
8104  # in D".
8105  rm -rf conftest.dir
8106  mkdir conftest.dir
8107  # Copy depcomp to subdir because otherwise we won't find it if we're
8108  # using a relative directory.
8109  cp "$am_depcomp" conftest.dir
8110  cd conftest.dir
8111  # We will build objects and dependencies in a subdirectory because
8112  # it helps to detect inapplicable dependency modes.  For instance
8113  # both Tru64's cc and ICC support -MD to output dependencies as a
8114  # side effect of compilation, but ICC will put the dependencies in
8115  # the current directory while Tru64 will put them in the object
8116  # directory.
8117  mkdir sub
8118
8119  am_cv_CC_dependencies_compiler_type=none
8120  if test "$am_compiler_list" = ""; then
8121     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8122  fi
8123  am__universal=false
8124  case " $depcc " in #(
8125     *\ -arch\ *\ -arch\ *) am__universal=true ;;
8126     esac
8127
8128  for depmode in $am_compiler_list; do
8129    # Setup a source with many dependencies, because some compilers
8130    # like to wrap large dependency lists on column 80 (with \), and
8131    # we should not choose a depcomp mode which is confused by this.
8132    #
8133    # We need to recreate these files for each test, as the compiler may
8134    # overwrite some of them when testing with obscure command lines.
8135    # This happens at least with the AIX C compiler.
8136    : > sub/conftest.c
8137    for i in 1 2 3 4 5 6; do
8138      echo '#include "conftst'$i'.h"' >> sub/conftest.c
8139      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
8140      # Solaris 10 /bin/sh.
8141      echo '/* dummy */' > sub/conftst$i.h
8142    done
8143    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8144
8145    # We check with '-c' and '-o' for the sake of the "dashmstdout"
8146    # mode.  It turns out that the SunPro C++ compiler does not properly
8147    # handle '-M -o', and we need to detect this.  Also, some Intel
8148    # versions had trouble with output in subdirs.
8149    am__obj=sub/conftest.${OBJEXT-o}
8150    am__minus_obj="-o $am__obj"
8151    case $depmode in
8152    gcc)
8153      # This depmode causes a compiler race in universal mode.
8154      test "$am__universal" = false || continue
8155      ;;
8156    nosideeffect)
8157      # After this tag, mechanisms are not by side-effect, so they'll
8158      # only be used when explicitly requested.
8159      if test "x$enable_dependency_tracking" = xyes; then
8160	continue
8161      else
8162	break
8163      fi
8164      ;;
8165    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
8166      # This compiler won't grok '-c -o', but also, the minuso test has
8167      # not run yet.  These depmodes are late enough in the game, and
8168      # so weak that their functioning should not be impacted.
8169      am__obj=conftest.${OBJEXT-o}
8170      am__minus_obj=
8171      ;;
8172    none) break ;;
8173    esac
8174    if depmode=$depmode \
8175       source=sub/conftest.c object=$am__obj \
8176       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8177       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8178         >/dev/null 2>conftest.err &&
8179       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8180       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8181       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8182       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8183      # icc doesn't choke on unknown options, it will just issue warnings
8184      # or remarks (even with -Werror).  So we grep stderr for any message
8185      # that says an option was ignored or not supported.
8186      # When given -MP, icc 7.0 and 7.1 complain thusly:
8187      #   icc: Command line warning: ignoring option '-M'; no argument required
8188      # The diagnosis changed in icc 8.0:
8189      #   icc: Command line remark: option '-MP' not supported
8190      if (grep 'ignoring option' conftest.err ||
8191          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8192        am_cv_CC_dependencies_compiler_type=$depmode
8193        break
8194      fi
8195    fi
8196  done
8197
8198  cd ..
8199  rm -rf conftest.dir
8200else
8201  am_cv_CC_dependencies_compiler_type=none
8202fi
8203
8204fi
8205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
8206$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
8207CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
8208
8209 if
8210  test "x$enable_dependency_tracking" != xno \
8211  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
8212  am__fastdepCC_TRUE=
8213  am__fastdepCC_FALSE='#'
8214else
8215  am__fastdepCC_TRUE='#'
8216  am__fastdepCC_FALSE=
8217fi
8218
8219
8220ac_ext=c
8221ac_cpp='$CPP $CPPFLAGS'
8222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8224ac_compiler_gnu=$ac_cv_c_compiler_gnu
8225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8226$as_echo_n "checking how to run the C preprocessor... " >&6; }
8227# On Suns, sometimes $CPP names a directory.
8228if test -n "$CPP" && test -d "$CPP"; then
8229  CPP=
8230fi
8231if test -z "$CPP"; then
8232  if ${ac_cv_prog_CPP+:} false; then :
8233  $as_echo_n "(cached) " >&6
8234else
8235      # Double quotes because CPP needs to be expanded
8236    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8237    do
8238      ac_preproc_ok=false
8239for ac_c_preproc_warn_flag in '' yes
8240do
8241  # Use a header file that comes with gcc, so configuring glibc
8242  # with a fresh cross-compiler works.
8243  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8244  # <limits.h> exists even on freestanding compilers.
8245  # On the NeXT, cc -E runs the code through the compiler's parser,
8246  # not just through cpp. "Syntax error" is here to catch this case.
8247  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248/* end confdefs.h.  */
8249#ifdef __STDC__
8250# include <limits.h>
8251#else
8252# include <assert.h>
8253#endif
8254		     Syntax error
8255_ACEOF
8256if ac_fn_c_try_cpp "$LINENO"; then :
8257
8258else
8259  # Broken: fails on valid input.
8260continue
8261fi
8262rm -f conftest.err conftest.i conftest.$ac_ext
8263
8264  # OK, works on sane cases.  Now check whether nonexistent headers
8265  # can be detected and how.
8266  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8267/* end confdefs.h.  */
8268#include <ac_nonexistent.h>
8269_ACEOF
8270if ac_fn_c_try_cpp "$LINENO"; then :
8271  # Broken: success on invalid input.
8272continue
8273else
8274  # Passes both tests.
8275ac_preproc_ok=:
8276break
8277fi
8278rm -f conftest.err conftest.i conftest.$ac_ext
8279
8280done
8281# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8282rm -f conftest.i conftest.err conftest.$ac_ext
8283if $ac_preproc_ok; then :
8284  break
8285fi
8286
8287    done
8288    ac_cv_prog_CPP=$CPP
8289
8290fi
8291  CPP=$ac_cv_prog_CPP
8292else
8293  ac_cv_prog_CPP=$CPP
8294fi
8295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8296$as_echo "$CPP" >&6; }
8297ac_preproc_ok=false
8298for ac_c_preproc_warn_flag in '' yes
8299do
8300  # Use a header file that comes with gcc, so configuring glibc
8301  # with a fresh cross-compiler works.
8302  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8303  # <limits.h> exists even on freestanding compilers.
8304  # On the NeXT, cc -E runs the code through the compiler's parser,
8305  # not just through cpp. "Syntax error" is here to catch this case.
8306  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8307/* end confdefs.h.  */
8308#ifdef __STDC__
8309# include <limits.h>
8310#else
8311# include <assert.h>
8312#endif
8313		     Syntax error
8314_ACEOF
8315if ac_fn_c_try_cpp "$LINENO"; then :
8316
8317else
8318  # Broken: fails on valid input.
8319continue
8320fi
8321rm -f conftest.err conftest.i conftest.$ac_ext
8322
8323  # OK, works on sane cases.  Now check whether nonexistent headers
8324  # can be detected and how.
8325  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326/* end confdefs.h.  */
8327#include <ac_nonexistent.h>
8328_ACEOF
8329if ac_fn_c_try_cpp "$LINENO"; then :
8330  # Broken: success on invalid input.
8331continue
8332else
8333  # Passes both tests.
8334ac_preproc_ok=:
8335break
8336fi
8337rm -f conftest.err conftest.i conftest.$ac_ext
8338
8339done
8340# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8341rm -f conftest.i conftest.err conftest.$ac_ext
8342if $ac_preproc_ok; then :
8343
8344else
8345  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8346$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8347as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8348See \`config.log' for more details" "$LINENO" 5; }
8349fi
8350
8351ac_ext=c
8352ac_cpp='$CPP $CPPFLAGS'
8353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8355ac_compiler_gnu=$ac_cv_c_compiler_gnu
8356
8357ac_ext=cpp
8358ac_cpp='$CXXCPP $CPPFLAGS'
8359ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8360ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8361ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8362if test -z "$CXX"; then
8363  if test -n "$CCC"; then
8364    CXX=$CCC
8365  else
8366    if test -n "$ac_tool_prefix"; then
8367  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8368  do
8369    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8370set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8372$as_echo_n "checking for $ac_word... " >&6; }
8373if ${ac_cv_prog_CXX+:} false; then :
8374  $as_echo_n "(cached) " >&6
8375else
8376  if test -n "$CXX"; then
8377  ac_cv_prog_CXX="$CXX" # Let the user override the test.
8378else
8379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8380for as_dir in $PATH
8381do
8382  IFS=$as_save_IFS
8383  test -z "$as_dir" && as_dir=.
8384    for ac_exec_ext in '' $ac_executable_extensions; do
8385  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8386    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8387    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8388    break 2
8389  fi
8390done
8391  done
8392IFS=$as_save_IFS
8393
8394fi
8395fi
8396CXX=$ac_cv_prog_CXX
8397if test -n "$CXX"; then
8398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
8399$as_echo "$CXX" >&6; }
8400else
8401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8402$as_echo "no" >&6; }
8403fi
8404
8405
8406    test -n "$CXX" && break
8407  done
8408fi
8409if test -z "$CXX"; then
8410  ac_ct_CXX=$CXX
8411  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8412do
8413  # Extract the first word of "$ac_prog", so it can be a program name with args.
8414set dummy $ac_prog; ac_word=$2
8415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8416$as_echo_n "checking for $ac_word... " >&6; }
8417if ${ac_cv_prog_ac_ct_CXX+:} false; then :
8418  $as_echo_n "(cached) " >&6
8419else
8420  if test -n "$ac_ct_CXX"; then
8421  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8422else
8423as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8424for as_dir in $PATH
8425do
8426  IFS=$as_save_IFS
8427  test -z "$as_dir" && as_dir=.
8428    for ac_exec_ext in '' $ac_executable_extensions; do
8429  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8430    ac_cv_prog_ac_ct_CXX="$ac_prog"
8431    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8432    break 2
8433  fi
8434done
8435  done
8436IFS=$as_save_IFS
8437
8438fi
8439fi
8440ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8441if test -n "$ac_ct_CXX"; then
8442  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
8443$as_echo "$ac_ct_CXX" >&6; }
8444else
8445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8446$as_echo "no" >&6; }
8447fi
8448
8449
8450  test -n "$ac_ct_CXX" && break
8451done
8452
8453  if test "x$ac_ct_CXX" = x; then
8454    CXX="g++"
8455  else
8456    case $cross_compiling:$ac_tool_warned in
8457yes:)
8458{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8459$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8460ac_tool_warned=yes ;;
8461esac
8462    CXX=$ac_ct_CXX
8463  fi
8464fi
8465
8466  fi
8467fi
8468# Provide some information about the compiler.
8469$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
8470set X $ac_compile
8471ac_compiler=$2
8472for ac_option in --version -v -V -qversion; do
8473  { { ac_try="$ac_compiler $ac_option >&5"
8474case "(($ac_try" in
8475  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8476  *) ac_try_echo=$ac_try;;
8477esac
8478eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8479$as_echo "$ac_try_echo"; } >&5
8480  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8481  ac_status=$?
8482  if test -s conftest.err; then
8483    sed '10a\
8484... rest of stderr output deleted ...
8485         10q' conftest.err >conftest.er1
8486    cat conftest.er1 >&5
8487  fi
8488  rm -f conftest.er1 conftest.err
8489  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8490  test $ac_status = 0; }
8491done
8492
8493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
8494$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8495if ${ac_cv_cxx_compiler_gnu+:} false; then :
8496  $as_echo_n "(cached) " >&6
8497else
8498  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8499/* end confdefs.h.  */
8500
8501int
8502main ()
8503{
8504#ifndef __GNUC__
8505       choke me
8506#endif
8507
8508  ;
8509  return 0;
8510}
8511_ACEOF
8512if ac_fn_cxx_try_compile "$LINENO"; then :
8513  ac_compiler_gnu=yes
8514else
8515  ac_compiler_gnu=no
8516fi
8517rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8518ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8519
8520fi
8521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
8522$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8523if test $ac_compiler_gnu = yes; then
8524  GXX=yes
8525else
8526  GXX=
8527fi
8528ac_test_CXXFLAGS=${CXXFLAGS+set}
8529ac_save_CXXFLAGS=$CXXFLAGS
8530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
8531$as_echo_n "checking whether $CXX accepts -g... " >&6; }
8532if ${ac_cv_prog_cxx_g+:} false; then :
8533  $as_echo_n "(cached) " >&6
8534else
8535  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8536   ac_cxx_werror_flag=yes
8537   ac_cv_prog_cxx_g=no
8538   CXXFLAGS="-g"
8539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540/* end confdefs.h.  */
8541
8542int
8543main ()
8544{
8545
8546  ;
8547  return 0;
8548}
8549_ACEOF
8550if ac_fn_cxx_try_compile "$LINENO"; then :
8551  ac_cv_prog_cxx_g=yes
8552else
8553  CXXFLAGS=""
8554      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555/* end confdefs.h.  */
8556
8557int
8558main ()
8559{
8560
8561  ;
8562  return 0;
8563}
8564_ACEOF
8565if ac_fn_cxx_try_compile "$LINENO"; then :
8566
8567else
8568  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8569	 CXXFLAGS="-g"
8570	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8571/* end confdefs.h.  */
8572
8573int
8574main ()
8575{
8576
8577  ;
8578  return 0;
8579}
8580_ACEOF
8581if ac_fn_cxx_try_compile "$LINENO"; then :
8582  ac_cv_prog_cxx_g=yes
8583fi
8584rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8585fi
8586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8587fi
8588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8589   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8590fi
8591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
8592$as_echo "$ac_cv_prog_cxx_g" >&6; }
8593if test "$ac_test_CXXFLAGS" = set; then
8594  CXXFLAGS=$ac_save_CXXFLAGS
8595elif test $ac_cv_prog_cxx_g = yes; then
8596  if test "$GXX" = yes; then
8597    CXXFLAGS="-g -O2"
8598  else
8599    CXXFLAGS="-g"
8600  fi
8601else
8602  if test "$GXX" = yes; then
8603    CXXFLAGS="-O2"
8604  else
8605    CXXFLAGS=
8606  fi
8607fi
8608ac_ext=c
8609ac_cpp='$CPP $CPPFLAGS'
8610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8612ac_compiler_gnu=$ac_cv_c_compiler_gnu
8613
8614depcc="$CXX"  am_compiler_list=
8615
8616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8617$as_echo_n "checking dependency style of $depcc... " >&6; }
8618if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
8619  $as_echo_n "(cached) " >&6
8620else
8621  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8622  # We make a subdir and do the tests there.  Otherwise we can end up
8623  # making bogus files that we don't know about and never remove.  For
8624  # instance it was reported that on HP-UX the gcc test will end up
8625  # making a dummy file named 'D' -- because '-MD' means "put the output
8626  # in D".
8627  rm -rf conftest.dir
8628  mkdir conftest.dir
8629  # Copy depcomp to subdir because otherwise we won't find it if we're
8630  # using a relative directory.
8631  cp "$am_depcomp" conftest.dir
8632  cd conftest.dir
8633  # We will build objects and dependencies in a subdirectory because
8634  # it helps to detect inapplicable dependency modes.  For instance
8635  # both Tru64's cc and ICC support -MD to output dependencies as a
8636  # side effect of compilation, but ICC will put the dependencies in
8637  # the current directory while Tru64 will put them in the object
8638  # directory.
8639  mkdir sub
8640
8641  am_cv_CXX_dependencies_compiler_type=none
8642  if test "$am_compiler_list" = ""; then
8643     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8644  fi
8645  am__universal=false
8646  case " $depcc " in #(
8647     *\ -arch\ *\ -arch\ *) am__universal=true ;;
8648     esac
8649
8650  for depmode in $am_compiler_list; do
8651    # Setup a source with many dependencies, because some compilers
8652    # like to wrap large dependency lists on column 80 (with \), and
8653    # we should not choose a depcomp mode which is confused by this.
8654    #
8655    # We need to recreate these files for each test, as the compiler may
8656    # overwrite some of them when testing with obscure command lines.
8657    # This happens at least with the AIX C compiler.
8658    : > sub/conftest.c
8659    for i in 1 2 3 4 5 6; do
8660      echo '#include "conftst'$i'.h"' >> sub/conftest.c
8661      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
8662      # Solaris 10 /bin/sh.
8663      echo '/* dummy */' > sub/conftst$i.h
8664    done
8665    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8666
8667    # We check with '-c' and '-o' for the sake of the "dashmstdout"
8668    # mode.  It turns out that the SunPro C++ compiler does not properly
8669    # handle '-M -o', and we need to detect this.  Also, some Intel
8670    # versions had trouble with output in subdirs.
8671    am__obj=sub/conftest.${OBJEXT-o}
8672    am__minus_obj="-o $am__obj"
8673    case $depmode in
8674    gcc)
8675      # This depmode causes a compiler race in universal mode.
8676      test "$am__universal" = false || continue
8677      ;;
8678    nosideeffect)
8679      # After this tag, mechanisms are not by side-effect, so they'll
8680      # only be used when explicitly requested.
8681      if test "x$enable_dependency_tracking" = xyes; then
8682	continue
8683      else
8684	break
8685      fi
8686      ;;
8687    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
8688      # This compiler won't grok '-c -o', but also, the minuso test has
8689      # not run yet.  These depmodes are late enough in the game, and
8690      # so weak that their functioning should not be impacted.
8691      am__obj=conftest.${OBJEXT-o}
8692      am__minus_obj=
8693      ;;
8694    none) break ;;
8695    esac
8696    if depmode=$depmode \
8697       source=sub/conftest.c object=$am__obj \
8698       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8699       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8700         >/dev/null 2>conftest.err &&
8701       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8702       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8703       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8704       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8705      # icc doesn't choke on unknown options, it will just issue warnings
8706      # or remarks (even with -Werror).  So we grep stderr for any message
8707      # that says an option was ignored or not supported.
8708      # When given -MP, icc 7.0 and 7.1 complain thusly:
8709      #   icc: Command line warning: ignoring option '-M'; no argument required
8710      # The diagnosis changed in icc 8.0:
8711      #   icc: Command line remark: option '-MP' not supported
8712      if (grep 'ignoring option' conftest.err ||
8713          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8714        am_cv_CXX_dependencies_compiler_type=$depmode
8715        break
8716      fi
8717    fi
8718  done
8719
8720  cd ..
8721  rm -rf conftest.dir
8722else
8723  am_cv_CXX_dependencies_compiler_type=none
8724fi
8725
8726fi
8727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8728$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8729CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8730
8731 if
8732  test "x$enable_dependency_tracking" != xno \
8733  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8734  am__fastdepCXX_TRUE=
8735  am__fastdepCXX_FALSE='#'
8736else
8737  am__fastdepCXX_TRUE='#'
8738  am__fastdepCXX_FALSE=
8739fi
8740
8741
8742
8743
8744{ $as_echo "$as_me:${as_lineno-$LINENO}: gnulib not installed" >&5
8745$as_echo "$as_me: gnulib not installed" >&6;}
8746
8747# libtool
8748
8749case `pwd` in
8750  *\ * | *\	*)
8751    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
8752$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
8753esac
8754
8755
8756
8757macro_version='2.4.6'
8758macro_revision='2.4.6'
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772ltmain=$ac_aux_dir/ltmain.sh
8773
8774# Backslashify metacharacters that are still active within
8775# double-quoted strings.
8776sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8777
8778# Same as above, but do not quote variable references.
8779double_quote_subst='s/\(["`\\]\)/\\\1/g'
8780
8781# Sed substitution to delay expansion of an escaped shell variable in a
8782# double_quote_subst'ed string.
8783delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8784
8785# Sed substitution to delay expansion of an escaped single quote.
8786delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8787
8788# Sed substitution to avoid accidental globbing in evaled expressions
8789no_glob_subst='s/\*/\\\*/g'
8790
8791ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8792ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
8793ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
8794
8795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
8796$as_echo_n "checking how to print strings... " >&6; }
8797# Test print first, because it will be a builtin if present.
8798if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
8799   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
8800  ECHO='print -r --'
8801elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
8802  ECHO='printf %s\n'
8803else
8804  # Use this function as a fallback that always works.
8805  func_fallback_echo ()
8806  {
8807    eval 'cat <<_LTECHO_EOF
8808$1
8809_LTECHO_EOF'
8810  }
8811  ECHO='func_fallback_echo'
8812fi
8813
8814# func_echo_all arg...
8815# Invoke $ECHO with all args, space-separated.
8816func_echo_all ()
8817{
8818    $ECHO ""
8819}
8820
8821case $ECHO in
8822  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
8823$as_echo "printf" >&6; } ;;
8824  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
8825$as_echo "print -r" >&6; } ;;
8826  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
8827$as_echo "cat" >&6; } ;;
8828esac
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8844$as_echo_n "checking for a sed that does not truncate output... " >&6; }
8845if ${ac_cv_path_SED+:} false; then :
8846  $as_echo_n "(cached) " >&6
8847else
8848            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
8849     for ac_i in 1 2 3 4 5 6 7; do
8850       ac_script="$ac_script$as_nl$ac_script"
8851     done
8852     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
8853     { ac_script=; unset ac_script;}
8854     if test -z "$SED"; then
8855  ac_path_SED_found=false
8856  # Loop through the user's path and test for each of PROGNAME-LIST
8857  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8858for as_dir in $PATH
8859do
8860  IFS=$as_save_IFS
8861  test -z "$as_dir" && as_dir=.
8862    for ac_prog in sed gsed; do
8863    for ac_exec_ext in '' $ac_executable_extensions; do
8864      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
8865      as_fn_executable_p "$ac_path_SED" || continue
8866# Check for GNU ac_path_SED and select it if it is found.
8867  # Check for GNU $ac_path_SED
8868case `"$ac_path_SED" --version 2>&1` in
8869*GNU*)
8870  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
8871*)
8872  ac_count=0
8873  $as_echo_n 0123456789 >"conftest.in"
8874  while :
8875  do
8876    cat "conftest.in" "conftest.in" >"conftest.tmp"
8877    mv "conftest.tmp" "conftest.in"
8878    cp "conftest.in" "conftest.nl"
8879    $as_echo '' >> "conftest.nl"
8880    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
8881    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8882    as_fn_arith $ac_count + 1 && ac_count=$as_val
8883    if test $ac_count -gt ${ac_path_SED_max-0}; then
8884      # Best one so far, save it but keep looking for a better one
8885      ac_cv_path_SED="$ac_path_SED"
8886      ac_path_SED_max=$ac_count
8887    fi
8888    # 10*(2^10) chars as input seems more than enough
8889    test $ac_count -gt 10 && break
8890  done
8891  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8892esac
8893
8894      $ac_path_SED_found && break 3
8895    done
8896  done
8897  done
8898IFS=$as_save_IFS
8899  if test -z "$ac_cv_path_SED"; then
8900    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
8901  fi
8902else
8903  ac_cv_path_SED=$SED
8904fi
8905
8906fi
8907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8908$as_echo "$ac_cv_path_SED" >&6; }
8909 SED="$ac_cv_path_SED"
8910  rm -f conftest.sed
8911
8912test -z "$SED" && SED=sed
8913Xsed="$SED -e 1s/^X//"
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8926$as_echo_n "checking for fgrep... " >&6; }
8927if ${ac_cv_path_FGREP+:} false; then :
8928  $as_echo_n "(cached) " >&6
8929else
8930  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
8931   then ac_cv_path_FGREP="$GREP -F"
8932   else
8933     if test -z "$FGREP"; then
8934  ac_path_FGREP_found=false
8935  # Loop through the user's path and test for each of PROGNAME-LIST
8936  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8937for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8938do
8939  IFS=$as_save_IFS
8940  test -z "$as_dir" && as_dir=.
8941    for ac_prog in fgrep; do
8942    for ac_exec_ext in '' $ac_executable_extensions; do
8943      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
8944      as_fn_executable_p "$ac_path_FGREP" || continue
8945# Check for GNU ac_path_FGREP and select it if it is found.
8946  # Check for GNU $ac_path_FGREP
8947case `"$ac_path_FGREP" --version 2>&1` in
8948*GNU*)
8949  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
8950*)
8951  ac_count=0
8952  $as_echo_n 0123456789 >"conftest.in"
8953  while :
8954  do
8955    cat "conftest.in" "conftest.in" >"conftest.tmp"
8956    mv "conftest.tmp" "conftest.in"
8957    cp "conftest.in" "conftest.nl"
8958    $as_echo 'FGREP' >> "conftest.nl"
8959    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
8960    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8961    as_fn_arith $ac_count + 1 && ac_count=$as_val
8962    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8963      # Best one so far, save it but keep looking for a better one
8964      ac_cv_path_FGREP="$ac_path_FGREP"
8965      ac_path_FGREP_max=$ac_count
8966    fi
8967    # 10*(2^10) chars as input seems more than enough
8968    test $ac_count -gt 10 && break
8969  done
8970  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8971esac
8972
8973      $ac_path_FGREP_found && break 3
8974    done
8975  done
8976  done
8977IFS=$as_save_IFS
8978  if test -z "$ac_cv_path_FGREP"; then
8979    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8980  fi
8981else
8982  ac_cv_path_FGREP=$FGREP
8983fi
8984
8985   fi
8986fi
8987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8988$as_echo "$ac_cv_path_FGREP" >&6; }
8989 FGREP="$ac_cv_path_FGREP"
8990
8991
8992test -z "$GREP" && GREP=grep
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012# Check whether --with-gnu-ld was given.
9013if test "${with_gnu_ld+set}" = set; then :
9014  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
9015else
9016  with_gnu_ld=no
9017fi
9018
9019ac_prog=ld
9020if test yes = "$GCC"; then
9021  # Check if gcc -print-prog-name=ld gives a path.
9022  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
9023$as_echo_n "checking for ld used by $CC... " >&6; }
9024  case $host in
9025  *-*-mingw*)
9026    # gcc leaves a trailing carriage return, which upsets mingw
9027    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9028  *)
9029    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9030  esac
9031  case $ac_prog in
9032    # Accept absolute paths.
9033    [\\/]* | ?:[\\/]*)
9034      re_direlt='/[^/][^/]*/\.\./'
9035      # Canonicalize the pathname of ld
9036      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
9037      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
9038	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
9039      done
9040      test -z "$LD" && LD=$ac_prog
9041      ;;
9042  "")
9043    # If it fails, then pretend we aren't using GCC.
9044    ac_prog=ld
9045    ;;
9046  *)
9047    # If it is relative, then search for the first ld in PATH.
9048    with_gnu_ld=unknown
9049    ;;
9050  esac
9051elif test yes = "$with_gnu_ld"; then
9052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
9053$as_echo_n "checking for GNU ld... " >&6; }
9054else
9055  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
9056$as_echo_n "checking for non-GNU ld... " >&6; }
9057fi
9058if ${lt_cv_path_LD+:} false; then :
9059  $as_echo_n "(cached) " >&6
9060else
9061  if test -z "$LD"; then
9062  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9063  for ac_dir in $PATH; do
9064    IFS=$lt_save_ifs
9065    test -z "$ac_dir" && ac_dir=.
9066    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9067      lt_cv_path_LD=$ac_dir/$ac_prog
9068      # Check to see if the program is GNU ld.  I'd rather use --version,
9069      # but apparently some variants of GNU ld only accept -v.
9070      # Break only if it was the GNU/non-GNU ld that we prefer.
9071      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9072      *GNU* | *'with BFD'*)
9073	test no != "$with_gnu_ld" && break
9074	;;
9075      *)
9076	test yes != "$with_gnu_ld" && break
9077	;;
9078      esac
9079    fi
9080  done
9081  IFS=$lt_save_ifs
9082else
9083  lt_cv_path_LD=$LD # Let the user override the test with a path.
9084fi
9085fi
9086
9087LD=$lt_cv_path_LD
9088if test -n "$LD"; then
9089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
9090$as_echo "$LD" >&6; }
9091else
9092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9093$as_echo "no" >&6; }
9094fi
9095test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
9096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
9097$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
9098if ${lt_cv_prog_gnu_ld+:} false; then :
9099  $as_echo_n "(cached) " >&6
9100else
9101  # I'd rather use --version here, but apparently some GNU lds only accept -v.
9102case `$LD -v 2>&1 </dev/null` in
9103*GNU* | *'with BFD'*)
9104  lt_cv_prog_gnu_ld=yes
9105  ;;
9106*)
9107  lt_cv_prog_gnu_ld=no
9108  ;;
9109esac
9110fi
9111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
9112$as_echo "$lt_cv_prog_gnu_ld" >&6; }
9113with_gnu_ld=$lt_cv_prog_gnu_ld
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
9124$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
9125if ${lt_cv_path_NM+:} false; then :
9126  $as_echo_n "(cached) " >&6
9127else
9128  if test -n "$NM"; then
9129  # Let the user override the test.
9130  lt_cv_path_NM=$NM
9131else
9132  lt_nm_to_check=${ac_tool_prefix}nm
9133  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
9134    lt_nm_to_check="$lt_nm_to_check nm"
9135  fi
9136  for lt_tmp_nm in $lt_nm_to_check; do
9137    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9138    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
9139      IFS=$lt_save_ifs
9140      test -z "$ac_dir" && ac_dir=.
9141      tmp_nm=$ac_dir/$lt_tmp_nm
9142      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
9143	# Check to see if the nm accepts a BSD-compat flag.
9144	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
9145	#   nm: unknown option "B" ignored
9146	# Tru64's nm complains that /dev/null is an invalid object file
9147	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
9148	case $build_os in
9149	mingw*) lt_bad_file=conftest.nm/nofile ;;
9150	*) lt_bad_file=/dev/null ;;
9151	esac
9152	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
9153	*$lt_bad_file* | *'Invalid file or object type'*)
9154	  lt_cv_path_NM="$tmp_nm -B"
9155	  break 2
9156	  ;;
9157	*)
9158	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
9159	  */dev/null*)
9160	    lt_cv_path_NM="$tmp_nm -p"
9161	    break 2
9162	    ;;
9163	  *)
9164	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
9165	    continue # so that we can try to find one that supports BSD flags
9166	    ;;
9167	  esac
9168	  ;;
9169	esac
9170      fi
9171    done
9172    IFS=$lt_save_ifs
9173  done
9174  : ${lt_cv_path_NM=no}
9175fi
9176fi
9177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
9178$as_echo "$lt_cv_path_NM" >&6; }
9179if test no != "$lt_cv_path_NM"; then
9180  NM=$lt_cv_path_NM
9181else
9182  # Didn't find any BSD compatible name lister, look for dumpbin.
9183  if test -n "$DUMPBIN"; then :
9184    # Let the user override the test.
9185  else
9186    if test -n "$ac_tool_prefix"; then
9187  for ac_prog in dumpbin "link -dump"
9188  do
9189    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9190set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9192$as_echo_n "checking for $ac_word... " >&6; }
9193if ${ac_cv_prog_DUMPBIN+:} false; then :
9194  $as_echo_n "(cached) " >&6
9195else
9196  if test -n "$DUMPBIN"; then
9197  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
9198else
9199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9200for as_dir in $PATH
9201do
9202  IFS=$as_save_IFS
9203  test -z "$as_dir" && as_dir=.
9204    for ac_exec_ext in '' $ac_executable_extensions; do
9205  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9206    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
9207    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9208    break 2
9209  fi
9210done
9211  done
9212IFS=$as_save_IFS
9213
9214fi
9215fi
9216DUMPBIN=$ac_cv_prog_DUMPBIN
9217if test -n "$DUMPBIN"; then
9218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
9219$as_echo "$DUMPBIN" >&6; }
9220else
9221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9222$as_echo "no" >&6; }
9223fi
9224
9225
9226    test -n "$DUMPBIN" && break
9227  done
9228fi
9229if test -z "$DUMPBIN"; then
9230  ac_ct_DUMPBIN=$DUMPBIN
9231  for ac_prog in dumpbin "link -dump"
9232do
9233  # Extract the first word of "$ac_prog", so it can be a program name with args.
9234set dummy $ac_prog; ac_word=$2
9235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9236$as_echo_n "checking for $ac_word... " >&6; }
9237if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
9238  $as_echo_n "(cached) " >&6
9239else
9240  if test -n "$ac_ct_DUMPBIN"; then
9241  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
9242else
9243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9244for as_dir in $PATH
9245do
9246  IFS=$as_save_IFS
9247  test -z "$as_dir" && as_dir=.
9248    for ac_exec_ext in '' $ac_executable_extensions; do
9249  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9250    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
9251    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9252    break 2
9253  fi
9254done
9255  done
9256IFS=$as_save_IFS
9257
9258fi
9259fi
9260ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
9261if test -n "$ac_ct_DUMPBIN"; then
9262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
9263$as_echo "$ac_ct_DUMPBIN" >&6; }
9264else
9265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9266$as_echo "no" >&6; }
9267fi
9268
9269
9270  test -n "$ac_ct_DUMPBIN" && break
9271done
9272
9273  if test "x$ac_ct_DUMPBIN" = x; then
9274    DUMPBIN=":"
9275  else
9276    case $cross_compiling:$ac_tool_warned in
9277yes:)
9278{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9279$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9280ac_tool_warned=yes ;;
9281esac
9282    DUMPBIN=$ac_ct_DUMPBIN
9283  fi
9284fi
9285
9286    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
9287    *COFF*)
9288      DUMPBIN="$DUMPBIN -symbols -headers"
9289      ;;
9290    *)
9291      DUMPBIN=:
9292      ;;
9293    esac
9294  fi
9295
9296  if test : != "$DUMPBIN"; then
9297    NM=$DUMPBIN
9298  fi
9299fi
9300test -z "$NM" && NM=nm
9301
9302
9303
9304
9305
9306
9307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
9308$as_echo_n "checking the name lister ($NM) interface... " >&6; }
9309if ${lt_cv_nm_interface+:} false; then :
9310  $as_echo_n "(cached) " >&6
9311else
9312  lt_cv_nm_interface="BSD nm"
9313  echo "int some_variable = 0;" > conftest.$ac_ext
9314  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
9315  (eval "$ac_compile" 2>conftest.err)
9316  cat conftest.err >&5
9317  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
9318  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
9319  cat conftest.err >&5
9320  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
9321  cat conftest.out >&5
9322  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
9323    lt_cv_nm_interface="MS dumpbin"
9324  fi
9325  rm -f conftest*
9326fi
9327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
9328$as_echo "$lt_cv_nm_interface" >&6; }
9329
9330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
9331$as_echo_n "checking whether ln -s works... " >&6; }
9332LN_S=$as_ln_s
9333if test "$LN_S" = "ln -s"; then
9334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9335$as_echo "yes" >&6; }
9336else
9337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
9338$as_echo "no, using $LN_S" >&6; }
9339fi
9340
9341# find the maximum length of command line arguments
9342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
9343$as_echo_n "checking the maximum length of command line arguments... " >&6; }
9344if ${lt_cv_sys_max_cmd_len+:} false; then :
9345  $as_echo_n "(cached) " >&6
9346else
9347    i=0
9348  teststring=ABCD
9349
9350  case $build_os in
9351  msdosdjgpp*)
9352    # On DJGPP, this test can blow up pretty badly due to problems in libc
9353    # (any single argument exceeding 2000 bytes causes a buffer overrun
9354    # during glob expansion).  Even if it were fixed, the result of this
9355    # check would be larger than it should be.
9356    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
9357    ;;
9358
9359  gnu*)
9360    # Under GNU Hurd, this test is not required because there is
9361    # no limit to the length of command line arguments.
9362    # Libtool will interpret -1 as no limit whatsoever
9363    lt_cv_sys_max_cmd_len=-1;
9364    ;;
9365
9366  cygwin* | mingw* | cegcc*)
9367    # On Win9x/ME, this test blows up -- it succeeds, but takes
9368    # about 5 minutes as the teststring grows exponentially.
9369    # Worse, since 9x/ME are not pre-emptively multitasking,
9370    # you end up with a "frozen" computer, even though with patience
9371    # the test eventually succeeds (with a max line length of 256k).
9372    # Instead, let's just punt: use the minimum linelength reported by
9373    # all of the supported platforms: 8192 (on NT/2K/XP).
9374    lt_cv_sys_max_cmd_len=8192;
9375    ;;
9376
9377  mint*)
9378    # On MiNT this can take a long time and run out of memory.
9379    lt_cv_sys_max_cmd_len=8192;
9380    ;;
9381
9382  amigaos*)
9383    # On AmigaOS with pdksh, this test takes hours, literally.
9384    # So we just punt and use a minimum line length of 8192.
9385    lt_cv_sys_max_cmd_len=8192;
9386    ;;
9387
9388  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
9389    # This has been around since 386BSD, at least.  Likely further.
9390    if test -x /sbin/sysctl; then
9391      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
9392    elif test -x /usr/sbin/sysctl; then
9393      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
9394    else
9395      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
9396    fi
9397    # And add a safety zone
9398    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9399    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9400    ;;
9401
9402  interix*)
9403    # We know the value 262144 and hardcode it with a safety zone (like BSD)
9404    lt_cv_sys_max_cmd_len=196608
9405    ;;
9406
9407  os2*)
9408    # The test takes a long time on OS/2.
9409    lt_cv_sys_max_cmd_len=8192
9410    ;;
9411
9412  osf*)
9413    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
9414    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9415    # nice to cause kernel panics so lets avoid the loop below.
9416    # First set a reasonable default.
9417    lt_cv_sys_max_cmd_len=16384
9418    #
9419    if test -x /sbin/sysconfig; then
9420      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9421        *1*) lt_cv_sys_max_cmd_len=-1 ;;
9422      esac
9423    fi
9424    ;;
9425  sco3.2v5*)
9426    lt_cv_sys_max_cmd_len=102400
9427    ;;
9428  sysv5* | sco5v6* | sysv4.2uw2*)
9429    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
9430    if test -n "$kargmax"; then
9431      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
9432    else
9433      lt_cv_sys_max_cmd_len=32768
9434    fi
9435    ;;
9436  *)
9437    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
9438    if test -n "$lt_cv_sys_max_cmd_len" && \
9439       test undefined != "$lt_cv_sys_max_cmd_len"; then
9440      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9441      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9442    else
9443      # Make teststring a little bigger before we do anything with it.
9444      # a 1K string should be a reasonable start.
9445      for i in 1 2 3 4 5 6 7 8; do
9446        teststring=$teststring$teststring
9447      done
9448      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9449      # If test is not a shell built-in, we'll probably end up computing a
9450      # maximum length that is only half of the actual maximum length, but
9451      # we can't tell.
9452      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
9453	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
9454	      test 17 != "$i" # 1/2 MB should be enough
9455      do
9456        i=`expr $i + 1`
9457        teststring=$teststring$teststring
9458      done
9459      # Only check the string length outside the loop.
9460      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
9461      teststring=
9462      # Add a significant safety factor because C++ compilers can tack on
9463      # massive amounts of additional arguments before passing them to the
9464      # linker.  It appears as though 1/2 is a usable value.
9465      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9466    fi
9467    ;;
9468  esac
9469
9470fi
9471
9472if test -n "$lt_cv_sys_max_cmd_len"; then
9473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
9474$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
9475else
9476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
9477$as_echo "none" >&6; }
9478fi
9479max_cmd_len=$lt_cv_sys_max_cmd_len
9480
9481
9482
9483
9484
9485
9486: ${CP="cp -f"}
9487: ${MV="mv -f"}
9488: ${RM="rm -f"}
9489
9490if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9491  lt_unset=unset
9492else
9493  lt_unset=false
9494fi
9495
9496
9497
9498
9499
9500# test EBCDIC or ASCII
9501case `echo X|tr X '\101'` in
9502 A) # ASCII based system
9503    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
9504  lt_SP2NL='tr \040 \012'
9505  lt_NL2SP='tr \015\012 \040\040'
9506  ;;
9507 *) # EBCDIC based system
9508  lt_SP2NL='tr \100 \n'
9509  lt_NL2SP='tr \r\n \100\100'
9510  ;;
9511esac
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
9522$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
9523if ${lt_cv_to_host_file_cmd+:} false; then :
9524  $as_echo_n "(cached) " >&6
9525else
9526  case $host in
9527  *-*-mingw* )
9528    case $build in
9529      *-*-mingw* ) # actually msys
9530        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
9531        ;;
9532      *-*-cygwin* )
9533        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
9534        ;;
9535      * ) # otherwise, assume *nix
9536        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
9537        ;;
9538    esac
9539    ;;
9540  *-*-cygwin* )
9541    case $build in
9542      *-*-mingw* ) # actually msys
9543        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
9544        ;;
9545      *-*-cygwin* )
9546        lt_cv_to_host_file_cmd=func_convert_file_noop
9547        ;;
9548      * ) # otherwise, assume *nix
9549        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
9550        ;;
9551    esac
9552    ;;
9553  * ) # unhandled hosts (and "normal" native builds)
9554    lt_cv_to_host_file_cmd=func_convert_file_noop
9555    ;;
9556esac
9557
9558fi
9559
9560to_host_file_cmd=$lt_cv_to_host_file_cmd
9561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
9562$as_echo "$lt_cv_to_host_file_cmd" >&6; }
9563
9564
9565
9566
9567
9568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
9569$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
9570if ${lt_cv_to_tool_file_cmd+:} false; then :
9571  $as_echo_n "(cached) " >&6
9572else
9573  #assume ordinary cross tools, or native build.
9574lt_cv_to_tool_file_cmd=func_convert_file_noop
9575case $host in
9576  *-*-mingw* )
9577    case $build in
9578      *-*-mingw* ) # actually msys
9579        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
9580        ;;
9581    esac
9582    ;;
9583esac
9584
9585fi
9586
9587to_tool_file_cmd=$lt_cv_to_tool_file_cmd
9588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
9589$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
9590
9591
9592
9593
9594
9595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
9596$as_echo_n "checking for $LD option to reload object files... " >&6; }
9597if ${lt_cv_ld_reload_flag+:} false; then :
9598  $as_echo_n "(cached) " >&6
9599else
9600  lt_cv_ld_reload_flag='-r'
9601fi
9602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
9603$as_echo "$lt_cv_ld_reload_flag" >&6; }
9604reload_flag=$lt_cv_ld_reload_flag
9605case $reload_flag in
9606"" | " "*) ;;
9607*) reload_flag=" $reload_flag" ;;
9608esac
9609reload_cmds='$LD$reload_flag -o $output$reload_objs'
9610case $host_os in
9611  cygwin* | mingw* | pw32* | cegcc*)
9612    if test yes != "$GCC"; then
9613      reload_cmds=false
9614    fi
9615    ;;
9616  darwin*)
9617    if test yes = "$GCC"; then
9618      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
9619    else
9620      reload_cmds='$LD$reload_flag -o $output$reload_objs'
9621    fi
9622    ;;
9623esac
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633if test -n "$ac_tool_prefix"; then
9634  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9635set dummy ${ac_tool_prefix}objdump; ac_word=$2
9636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9637$as_echo_n "checking for $ac_word... " >&6; }
9638if ${ac_cv_prog_OBJDUMP+:} false; then :
9639  $as_echo_n "(cached) " >&6
9640else
9641  if test -n "$OBJDUMP"; then
9642  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9643else
9644as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9645for as_dir in $PATH
9646do
9647  IFS=$as_save_IFS
9648  test -z "$as_dir" && as_dir=.
9649    for ac_exec_ext in '' $ac_executable_extensions; do
9650  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9651    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9652    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9653    break 2
9654  fi
9655done
9656  done
9657IFS=$as_save_IFS
9658
9659fi
9660fi
9661OBJDUMP=$ac_cv_prog_OBJDUMP
9662if test -n "$OBJDUMP"; then
9663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9664$as_echo "$OBJDUMP" >&6; }
9665else
9666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9667$as_echo "no" >&6; }
9668fi
9669
9670
9671fi
9672if test -z "$ac_cv_prog_OBJDUMP"; then
9673  ac_ct_OBJDUMP=$OBJDUMP
9674  # Extract the first word of "objdump", so it can be a program name with args.
9675set dummy objdump; ac_word=$2
9676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9677$as_echo_n "checking for $ac_word... " >&6; }
9678if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9679  $as_echo_n "(cached) " >&6
9680else
9681  if test -n "$ac_ct_OBJDUMP"; then
9682  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9683else
9684as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9685for as_dir in $PATH
9686do
9687  IFS=$as_save_IFS
9688  test -z "$as_dir" && as_dir=.
9689    for ac_exec_ext in '' $ac_executable_extensions; do
9690  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9691    ac_cv_prog_ac_ct_OBJDUMP="objdump"
9692    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9693    break 2
9694  fi
9695done
9696  done
9697IFS=$as_save_IFS
9698
9699fi
9700fi
9701ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9702if test -n "$ac_ct_OBJDUMP"; then
9703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9704$as_echo "$ac_ct_OBJDUMP" >&6; }
9705else
9706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9707$as_echo "no" >&6; }
9708fi
9709
9710  if test "x$ac_ct_OBJDUMP" = x; then
9711    OBJDUMP="false"
9712  else
9713    case $cross_compiling:$ac_tool_warned in
9714yes:)
9715{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9716$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9717ac_tool_warned=yes ;;
9718esac
9719    OBJDUMP=$ac_ct_OBJDUMP
9720  fi
9721else
9722  OBJDUMP="$ac_cv_prog_OBJDUMP"
9723fi
9724
9725test -z "$OBJDUMP" && OBJDUMP=objdump
9726
9727
9728
9729
9730
9731
9732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
9733$as_echo_n "checking how to recognize dependent libraries... " >&6; }
9734if ${lt_cv_deplibs_check_method+:} false; then :
9735  $as_echo_n "(cached) " >&6
9736else
9737  lt_cv_file_magic_cmd='$MAGIC_CMD'
9738lt_cv_file_magic_test_file=
9739lt_cv_deplibs_check_method='unknown'
9740# Need to set the preceding variable on all platforms that support
9741# interlibrary dependencies.
9742# 'none' -- dependencies not supported.
9743# 'unknown' -- same as none, but documents that we really don't know.
9744# 'pass_all' -- all dependencies passed with no checks.
9745# 'test_compile' -- check by making test program.
9746# 'file_magic [[regex]]' -- check by looking for files in library path
9747# that responds to the $file_magic_cmd with a given extended regex.
9748# If you have 'file' or equivalent on your system and you're not sure
9749# whether 'pass_all' will *always* work, you probably want this one.
9750
9751case $host_os in
9752aix[4-9]*)
9753  lt_cv_deplibs_check_method=pass_all
9754  ;;
9755
9756beos*)
9757  lt_cv_deplibs_check_method=pass_all
9758  ;;
9759
9760bsdi[45]*)
9761  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9762  lt_cv_file_magic_cmd='/usr/bin/file -L'
9763  lt_cv_file_magic_test_file=/shlib/libc.so
9764  ;;
9765
9766cygwin*)
9767  # func_win32_libid is a shell function defined in ltmain.sh
9768  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9769  lt_cv_file_magic_cmd='func_win32_libid'
9770  ;;
9771
9772mingw* | pw32*)
9773  # Base MSYS/MinGW do not provide the 'file' command needed by
9774  # func_win32_libid shell function, so use a weaker test based on 'objdump',
9775  # unless we find 'file', for example because we are cross-compiling.
9776  if ( file / ) >/dev/null 2>&1; then
9777    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9778    lt_cv_file_magic_cmd='func_win32_libid'
9779  else
9780    # Keep this pattern in sync with the one in func_win32_libid.
9781    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
9782    lt_cv_file_magic_cmd='$OBJDUMP -f'
9783  fi
9784  ;;
9785
9786cegcc*)
9787  # use the weaker test based on 'objdump'. See mingw*.
9788  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9789  lt_cv_file_magic_cmd='$OBJDUMP -f'
9790  ;;
9791
9792darwin* | rhapsody*)
9793  lt_cv_deplibs_check_method=pass_all
9794  ;;
9795
9796freebsd* | dragonfly*)
9797  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9798    case $host_cpu in
9799    i*86 )
9800      # Not sure whether the presence of OpenBSD here was a mistake.
9801      # Let's accept both of them until this is cleared up.
9802      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
9803      lt_cv_file_magic_cmd=/usr/bin/file
9804      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
9805      ;;
9806    esac
9807  else
9808    lt_cv_deplibs_check_method=pass_all
9809  fi
9810  ;;
9811
9812haiku*)
9813  lt_cv_deplibs_check_method=pass_all
9814  ;;
9815
9816hpux10.20* | hpux11*)
9817  lt_cv_file_magic_cmd=/usr/bin/file
9818  case $host_cpu in
9819  ia64*)
9820    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9821    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
9822    ;;
9823  hppa*64*)
9824    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]'
9825    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
9826    ;;
9827  *)
9828    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
9829    lt_cv_file_magic_test_file=/usr/lib/libc.sl
9830    ;;
9831  esac
9832  ;;
9833
9834interix[3-9]*)
9835  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
9836  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
9837  ;;
9838
9839irix5* | irix6* | nonstopux*)
9840  case $LD in
9841  *-32|*"-32 ") libmagic=32-bit;;
9842  *-n32|*"-n32 ") libmagic=N32;;
9843  *-64|*"-64 ") libmagic=64-bit;;
9844  *) libmagic=never-match;;
9845  esac
9846  lt_cv_deplibs_check_method=pass_all
9847  ;;
9848
9849# This must be glibc/ELF.
9850linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9851  lt_cv_deplibs_check_method=pass_all
9852  ;;
9853
9854netbsd* | netbsdelf*-gnu)
9855  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9856    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9857  else
9858    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
9859  fi
9860  ;;
9861
9862newos6*)
9863  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9864  lt_cv_file_magic_cmd=/usr/bin/file
9865  lt_cv_file_magic_test_file=/usr/lib/libnls.so
9866  ;;
9867
9868*nto* | *qnx*)
9869  lt_cv_deplibs_check_method=pass_all
9870  ;;
9871
9872openbsd* | bitrig*)
9873  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9874    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9875  else
9876    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9877  fi
9878  ;;
9879
9880osf3* | osf4* | osf5*)
9881  lt_cv_deplibs_check_method=pass_all
9882  ;;
9883
9884rdos*)
9885  lt_cv_deplibs_check_method=pass_all
9886  ;;
9887
9888solaris*)
9889  lt_cv_deplibs_check_method=pass_all
9890  ;;
9891
9892sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9893  lt_cv_deplibs_check_method=pass_all
9894  ;;
9895
9896sysv4 | sysv4.3*)
9897  case $host_vendor in
9898  motorola)
9899    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]'
9900    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
9901    ;;
9902  ncr)
9903    lt_cv_deplibs_check_method=pass_all
9904    ;;
9905  sequent)
9906    lt_cv_file_magic_cmd='/bin/file'
9907    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9908    ;;
9909  sni)
9910    lt_cv_file_magic_cmd='/bin/file'
9911    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
9912    lt_cv_file_magic_test_file=/lib/libc.so
9913    ;;
9914  siemens)
9915    lt_cv_deplibs_check_method=pass_all
9916    ;;
9917  pc)
9918    lt_cv_deplibs_check_method=pass_all
9919    ;;
9920  esac
9921  ;;
9922
9923tpf*)
9924  lt_cv_deplibs_check_method=pass_all
9925  ;;
9926os2*)
9927  lt_cv_deplibs_check_method=pass_all
9928  ;;
9929esac
9930
9931fi
9932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9933$as_echo "$lt_cv_deplibs_check_method" >&6; }
9934
9935file_magic_glob=
9936want_nocaseglob=no
9937if test "$build" = "$host"; then
9938  case $host_os in
9939  mingw* | pw32*)
9940    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
9941      want_nocaseglob=yes
9942    else
9943      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
9944    fi
9945    ;;
9946  esac
9947fi
9948
9949file_magic_cmd=$lt_cv_file_magic_cmd
9950deplibs_check_method=$lt_cv_deplibs_check_method
9951test -z "$deplibs_check_method" && deplibs_check_method=unknown
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974if test -n "$ac_tool_prefix"; then
9975  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9976set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9978$as_echo_n "checking for $ac_word... " >&6; }
9979if ${ac_cv_prog_DLLTOOL+:} false; then :
9980  $as_echo_n "(cached) " >&6
9981else
9982  if test -n "$DLLTOOL"; then
9983  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9984else
9985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9986for as_dir in $PATH
9987do
9988  IFS=$as_save_IFS
9989  test -z "$as_dir" && as_dir=.
9990    for ac_exec_ext in '' $ac_executable_extensions; do
9991  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9992    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9993    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9994    break 2
9995  fi
9996done
9997  done
9998IFS=$as_save_IFS
9999
10000fi
10001fi
10002DLLTOOL=$ac_cv_prog_DLLTOOL
10003if test -n "$DLLTOOL"; then
10004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
10005$as_echo "$DLLTOOL" >&6; }
10006else
10007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10008$as_echo "no" >&6; }
10009fi
10010
10011
10012fi
10013if test -z "$ac_cv_prog_DLLTOOL"; then
10014  ac_ct_DLLTOOL=$DLLTOOL
10015  # Extract the first word of "dlltool", so it can be a program name with args.
10016set dummy dlltool; ac_word=$2
10017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10018$as_echo_n "checking for $ac_word... " >&6; }
10019if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
10020  $as_echo_n "(cached) " >&6
10021else
10022  if test -n "$ac_ct_DLLTOOL"; then
10023  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
10024else
10025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10026for as_dir in $PATH
10027do
10028  IFS=$as_save_IFS
10029  test -z "$as_dir" && as_dir=.
10030    for ac_exec_ext in '' $ac_executable_extensions; do
10031  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10032    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
10033    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10034    break 2
10035  fi
10036done
10037  done
10038IFS=$as_save_IFS
10039
10040fi
10041fi
10042ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
10043if test -n "$ac_ct_DLLTOOL"; then
10044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
10045$as_echo "$ac_ct_DLLTOOL" >&6; }
10046else
10047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10048$as_echo "no" >&6; }
10049fi
10050
10051  if test "x$ac_ct_DLLTOOL" = x; then
10052    DLLTOOL="false"
10053  else
10054    case $cross_compiling:$ac_tool_warned in
10055yes:)
10056{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10057$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10058ac_tool_warned=yes ;;
10059esac
10060    DLLTOOL=$ac_ct_DLLTOOL
10061  fi
10062else
10063  DLLTOOL="$ac_cv_prog_DLLTOOL"
10064fi
10065
10066test -z "$DLLTOOL" && DLLTOOL=dlltool
10067
10068
10069
10070
10071
10072
10073
10074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
10075$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
10076if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
10077  $as_echo_n "(cached) " >&6
10078else
10079  lt_cv_sharedlib_from_linklib_cmd='unknown'
10080
10081case $host_os in
10082cygwin* | mingw* | pw32* | cegcc*)
10083  # two different shell functions defined in ltmain.sh;
10084  # decide which one to use based on capabilities of $DLLTOOL
10085  case `$DLLTOOL --help 2>&1` in
10086  *--identify-strict*)
10087    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
10088    ;;
10089  *)
10090    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
10091    ;;
10092  esac
10093  ;;
10094*)
10095  # fallback: assume linklib IS sharedlib
10096  lt_cv_sharedlib_from_linklib_cmd=$ECHO
10097  ;;
10098esac
10099
10100fi
10101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
10102$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
10103sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
10104test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
10105
10106
10107
10108
10109
10110
10111
10112if test -n "$ac_tool_prefix"; then
10113  for ac_prog in ar
10114  do
10115    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10116set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10118$as_echo_n "checking for $ac_word... " >&6; }
10119if ${ac_cv_prog_AR+:} false; then :
10120  $as_echo_n "(cached) " >&6
10121else
10122  if test -n "$AR"; then
10123  ac_cv_prog_AR="$AR" # Let the user override the test.
10124else
10125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10126for as_dir in $PATH
10127do
10128  IFS=$as_save_IFS
10129  test -z "$as_dir" && as_dir=.
10130    for ac_exec_ext in '' $ac_executable_extensions; do
10131  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10132    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
10133    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10134    break 2
10135  fi
10136done
10137  done
10138IFS=$as_save_IFS
10139
10140fi
10141fi
10142AR=$ac_cv_prog_AR
10143if test -n "$AR"; then
10144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
10145$as_echo "$AR" >&6; }
10146else
10147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10148$as_echo "no" >&6; }
10149fi
10150
10151
10152    test -n "$AR" && break
10153  done
10154fi
10155if test -z "$AR"; then
10156  ac_ct_AR=$AR
10157  for ac_prog in ar
10158do
10159  # Extract the first word of "$ac_prog", so it can be a program name with args.
10160set dummy $ac_prog; ac_word=$2
10161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10162$as_echo_n "checking for $ac_word... " >&6; }
10163if ${ac_cv_prog_ac_ct_AR+:} false; then :
10164  $as_echo_n "(cached) " >&6
10165else
10166  if test -n "$ac_ct_AR"; then
10167  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10168else
10169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10170for as_dir in $PATH
10171do
10172  IFS=$as_save_IFS
10173  test -z "$as_dir" && as_dir=.
10174    for ac_exec_ext in '' $ac_executable_extensions; do
10175  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10176    ac_cv_prog_ac_ct_AR="$ac_prog"
10177    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10178    break 2
10179  fi
10180done
10181  done
10182IFS=$as_save_IFS
10183
10184fi
10185fi
10186ac_ct_AR=$ac_cv_prog_ac_ct_AR
10187if test -n "$ac_ct_AR"; then
10188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
10189$as_echo "$ac_ct_AR" >&6; }
10190else
10191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10192$as_echo "no" >&6; }
10193fi
10194
10195
10196  test -n "$ac_ct_AR" && break
10197done
10198
10199  if test "x$ac_ct_AR" = x; then
10200    AR="false"
10201  else
10202    case $cross_compiling:$ac_tool_warned in
10203yes:)
10204{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10205$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10206ac_tool_warned=yes ;;
10207esac
10208    AR=$ac_ct_AR
10209  fi
10210fi
10211
10212: ${AR=ar}
10213: ${AR_FLAGS=cr}
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
10226$as_echo_n "checking for archiver @FILE support... " >&6; }
10227if ${lt_cv_ar_at_file+:} false; then :
10228  $as_echo_n "(cached) " >&6
10229else
10230  lt_cv_ar_at_file=no
10231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232/* end confdefs.h.  */
10233
10234int
10235main ()
10236{
10237
10238  ;
10239  return 0;
10240}
10241_ACEOF
10242if ac_fn_c_try_compile "$LINENO"; then :
10243  echo conftest.$ac_objext > conftest.lst
10244      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
10245      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
10246  (eval $lt_ar_try) 2>&5
10247  ac_status=$?
10248  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10249  test $ac_status = 0; }
10250      if test 0 -eq "$ac_status"; then
10251	# Ensure the archiver fails upon bogus file names.
10252	rm -f conftest.$ac_objext libconftest.a
10253	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
10254  (eval $lt_ar_try) 2>&5
10255  ac_status=$?
10256  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10257  test $ac_status = 0; }
10258	if test 0 -ne "$ac_status"; then
10259          lt_cv_ar_at_file=@
10260        fi
10261      fi
10262      rm -f conftest.* libconftest.a
10263
10264fi
10265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10266
10267fi
10268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
10269$as_echo "$lt_cv_ar_at_file" >&6; }
10270
10271if test no = "$lt_cv_ar_at_file"; then
10272  archiver_list_spec=
10273else
10274  archiver_list_spec=$lt_cv_ar_at_file
10275fi
10276
10277
10278
10279
10280
10281
10282
10283if test -n "$ac_tool_prefix"; then
10284  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10285set dummy ${ac_tool_prefix}strip; ac_word=$2
10286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10287$as_echo_n "checking for $ac_word... " >&6; }
10288if ${ac_cv_prog_STRIP+:} false; then :
10289  $as_echo_n "(cached) " >&6
10290else
10291  if test -n "$STRIP"; then
10292  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10293else
10294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10295for as_dir in $PATH
10296do
10297  IFS=$as_save_IFS
10298  test -z "$as_dir" && as_dir=.
10299    for ac_exec_ext in '' $ac_executable_extensions; do
10300  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10301    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10302    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10303    break 2
10304  fi
10305done
10306  done
10307IFS=$as_save_IFS
10308
10309fi
10310fi
10311STRIP=$ac_cv_prog_STRIP
10312if test -n "$STRIP"; then
10313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
10314$as_echo "$STRIP" >&6; }
10315else
10316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10317$as_echo "no" >&6; }
10318fi
10319
10320
10321fi
10322if test -z "$ac_cv_prog_STRIP"; then
10323  ac_ct_STRIP=$STRIP
10324  # Extract the first word of "strip", so it can be a program name with args.
10325set dummy strip; ac_word=$2
10326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10327$as_echo_n "checking for $ac_word... " >&6; }
10328if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
10329  $as_echo_n "(cached) " >&6
10330else
10331  if test -n "$ac_ct_STRIP"; then
10332  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10333else
10334as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10335for as_dir in $PATH
10336do
10337  IFS=$as_save_IFS
10338  test -z "$as_dir" && as_dir=.
10339    for ac_exec_ext in '' $ac_executable_extensions; do
10340  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10341    ac_cv_prog_ac_ct_STRIP="strip"
10342    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10343    break 2
10344  fi
10345done
10346  done
10347IFS=$as_save_IFS
10348
10349fi
10350fi
10351ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10352if test -n "$ac_ct_STRIP"; then
10353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
10354$as_echo "$ac_ct_STRIP" >&6; }
10355else
10356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10357$as_echo "no" >&6; }
10358fi
10359
10360  if test "x$ac_ct_STRIP" = x; then
10361    STRIP=":"
10362  else
10363    case $cross_compiling:$ac_tool_warned in
10364yes:)
10365{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10366$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10367ac_tool_warned=yes ;;
10368esac
10369    STRIP=$ac_ct_STRIP
10370  fi
10371else
10372  STRIP="$ac_cv_prog_STRIP"
10373fi
10374
10375test -z "$STRIP" && STRIP=:
10376
10377
10378
10379
10380
10381
10382if test -n "$ac_tool_prefix"; then
10383  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10384set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10386$as_echo_n "checking for $ac_word... " >&6; }
10387if ${ac_cv_prog_RANLIB+:} false; then :
10388  $as_echo_n "(cached) " >&6
10389else
10390  if test -n "$RANLIB"; then
10391  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10392else
10393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10394for as_dir in $PATH
10395do
10396  IFS=$as_save_IFS
10397  test -z "$as_dir" && as_dir=.
10398    for ac_exec_ext in '' $ac_executable_extensions; do
10399  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10400    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
10401    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10402    break 2
10403  fi
10404done
10405  done
10406IFS=$as_save_IFS
10407
10408fi
10409fi
10410RANLIB=$ac_cv_prog_RANLIB
10411if test -n "$RANLIB"; then
10412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10413$as_echo "$RANLIB" >&6; }
10414else
10415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10416$as_echo "no" >&6; }
10417fi
10418
10419
10420fi
10421if test -z "$ac_cv_prog_RANLIB"; then
10422  ac_ct_RANLIB=$RANLIB
10423  # Extract the first word of "ranlib", so it can be a program name with args.
10424set dummy ranlib; ac_word=$2
10425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10426$as_echo_n "checking for $ac_word... " >&6; }
10427if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
10428  $as_echo_n "(cached) " >&6
10429else
10430  if test -n "$ac_ct_RANLIB"; then
10431  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10432else
10433as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10434for as_dir in $PATH
10435do
10436  IFS=$as_save_IFS
10437  test -z "$as_dir" && as_dir=.
10438    for ac_exec_ext in '' $ac_executable_extensions; do
10439  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10440    ac_cv_prog_ac_ct_RANLIB="ranlib"
10441    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10442    break 2
10443  fi
10444done
10445  done
10446IFS=$as_save_IFS
10447
10448fi
10449fi
10450ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
10451if test -n "$ac_ct_RANLIB"; then
10452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10453$as_echo "$ac_ct_RANLIB" >&6; }
10454else
10455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10456$as_echo "no" >&6; }
10457fi
10458
10459  if test "x$ac_ct_RANLIB" = x; then
10460    RANLIB=":"
10461  else
10462    case $cross_compiling:$ac_tool_warned in
10463yes:)
10464{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10465$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10466ac_tool_warned=yes ;;
10467esac
10468    RANLIB=$ac_ct_RANLIB
10469  fi
10470else
10471  RANLIB="$ac_cv_prog_RANLIB"
10472fi
10473
10474test -z "$RANLIB" && RANLIB=:
10475
10476
10477
10478
10479
10480
10481# Determine commands to create old-style static archives.
10482old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
10483old_postinstall_cmds='chmod 644 $oldlib'
10484old_postuninstall_cmds=
10485
10486if test -n "$RANLIB"; then
10487  case $host_os in
10488  bitrig* | openbsd*)
10489    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
10490    ;;
10491  *)
10492    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
10493    ;;
10494  esac
10495  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
10496fi
10497
10498case $host_os in
10499  darwin*)
10500    lock_old_archive_extraction=yes ;;
10501  *)
10502    lock_old_archive_extraction=no ;;
10503esac
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543# If no C compiler was specified, use CC.
10544LTCC=${LTCC-"$CC"}
10545
10546# If no C compiler flags were specified, use CFLAGS.
10547LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10548
10549# Allow CC to be a program name with arguments.
10550compiler=$CC
10551
10552
10553# Check for command to grab the raw symbol name followed by C symbol from nm.
10554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
10555$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
10556if ${lt_cv_sys_global_symbol_pipe+:} false; then :
10557  $as_echo_n "(cached) " >&6
10558else
10559
10560# These are sane defaults that work on at least a few old systems.
10561# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
10562
10563# Character class describing NM global symbol codes.
10564symcode='[BCDEGRST]'
10565
10566# Regexp to match symbols that can be accessed directly from C.
10567sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10568
10569# Define system-specific variables.
10570case $host_os in
10571aix*)
10572  symcode='[BCDT]'
10573  ;;
10574cygwin* | mingw* | pw32* | cegcc*)
10575  symcode='[ABCDGISTW]'
10576  ;;
10577hpux*)
10578  if test ia64 = "$host_cpu"; then
10579    symcode='[ABCDEGRST]'
10580  fi
10581  ;;
10582irix* | nonstopux*)
10583  symcode='[BCDEGRST]'
10584  ;;
10585osf*)
10586  symcode='[BCDEGQRST]'
10587  ;;
10588solaris*)
10589  symcode='[BDRT]'
10590  ;;
10591sco3.2v5*)
10592  symcode='[DT]'
10593  ;;
10594sysv4.2uw2*)
10595  symcode='[DT]'
10596  ;;
10597sysv5* | sco5v6* | unixware* | OpenUNIX*)
10598  symcode='[ABDT]'
10599  ;;
10600sysv4)
10601  symcode='[DFNSTU]'
10602  ;;
10603esac
10604
10605# If we're using GNU nm, then use its standard symbol codes.
10606case `$NM -V 2>&1` in
10607*GNU* | *'with BFD'*)
10608  symcode='[ABCDGIRSTW]' ;;
10609esac
10610
10611if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10612  # Gets list of data symbols to import.
10613  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
10614  # Adjust the below global symbol transforms to fixup imported variables.
10615  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
10616  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
10617  lt_c_name_lib_hook="\
10618  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
10619  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
10620else
10621  # Disable hooks by default.
10622  lt_cv_sys_global_symbol_to_import=
10623  lt_cdecl_hook=
10624  lt_c_name_hook=
10625  lt_c_name_lib_hook=
10626fi
10627
10628# Transform an extracted symbol line into a proper C declaration.
10629# Some systems (esp. on ia64) link data and code symbols differently,
10630# so use this general approach.
10631lt_cv_sys_global_symbol_to_cdecl="sed -n"\
10632$lt_cdecl_hook\
10633" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
10634" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
10635
10636# Transform an extracted symbol line into symbol name and symbol address
10637lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
10638$lt_c_name_hook\
10639" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
10640" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
10641
10642# Transform an extracted symbol line into symbol name with lib prefix and
10643# symbol address.
10644lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
10645$lt_c_name_lib_hook\
10646" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
10647" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
10648" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
10649
10650# Handle CRLF in mingw tool chain
10651opt_cr=
10652case $build_os in
10653mingw*)
10654  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10655  ;;
10656esac
10657
10658# Try without a prefix underscore, then with it.
10659for ac_symprfx in "" "_"; do
10660
10661  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
10662  symxfrm="\\1 $ac_symprfx\\2 \\2"
10663
10664  # Write the raw and C identifiers.
10665  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10666    # Fake it for dumpbin and say T for any non-static function,
10667    # D for any global variable and I for any imported variable.
10668    # Also find C++ and __fastcall symbols from MSVC++,
10669    # which start with @ or ?.
10670    lt_cv_sys_global_symbol_pipe="$AWK '"\
10671"     {last_section=section; section=\$ 3};"\
10672"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
10673"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
10674"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
10675"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
10676"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
10677"     \$ 0!~/External *\|/{next};"\
10678"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
10679"     {if(hide[section]) next};"\
10680"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
10681"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
10682"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
10683"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
10684"     ' prfx=^$ac_symprfx"
10685  else
10686    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
10687  fi
10688  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
10689
10690  # Check to see that the pipe works correctly.
10691  pipe_works=no
10692
10693  rm -f conftest*
10694  cat > conftest.$ac_ext <<_LT_EOF
10695#ifdef __cplusplus
10696extern "C" {
10697#endif
10698char nm_test_var;
10699void nm_test_func(void);
10700void nm_test_func(void){}
10701#ifdef __cplusplus
10702}
10703#endif
10704int main(){nm_test_var='a';nm_test_func();return(0);}
10705_LT_EOF
10706
10707  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10708  (eval $ac_compile) 2>&5
10709  ac_status=$?
10710  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10711  test $ac_status = 0; }; then
10712    # Now try to grab the symbols.
10713    nlist=conftest.nm
10714    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
10715    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
10716      # Try sorting and uniquifying the output.
10717      if sort "$nlist" | uniq > "$nlist"T; then
10718	mv -f "$nlist"T "$nlist"
10719      else
10720	rm -f "$nlist"T
10721      fi
10722
10723      # Make sure that we snagged all the symbols we need.
10724      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
10725	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
10726	  cat <<_LT_EOF > conftest.$ac_ext
10727/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
10728#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
10729/* DATA imports from DLLs on WIN32 can't be const, because runtime
10730   relocations are performed -- see ld's documentation on pseudo-relocs.  */
10731# define LT_DLSYM_CONST
10732#elif defined __osf__
10733/* This system does not cope well with relocations in const data.  */
10734# define LT_DLSYM_CONST
10735#else
10736# define LT_DLSYM_CONST const
10737#endif
10738
10739#ifdef __cplusplus
10740extern "C" {
10741#endif
10742
10743_LT_EOF
10744	  # Now generate the symbol file.
10745	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10746
10747	  cat <<_LT_EOF >> conftest.$ac_ext
10748
10749/* The mapping between symbol names and symbols.  */
10750LT_DLSYM_CONST struct {
10751  const char *name;
10752  void       *address;
10753}
10754lt__PROGRAM__LTX_preloaded_symbols[] =
10755{
10756  { "@PROGRAM@", (void *) 0 },
10757_LT_EOF
10758	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
10759	  cat <<\_LT_EOF >> conftest.$ac_ext
10760  {0, (void *) 0}
10761};
10762
10763/* This works around a problem in FreeBSD linker */
10764#ifdef FREEBSD_WORKAROUND
10765static const void *lt_preloaded_setup() {
10766  return lt__PROGRAM__LTX_preloaded_symbols;
10767}
10768#endif
10769
10770#ifdef __cplusplus
10771}
10772#endif
10773_LT_EOF
10774	  # Now try linking the two files.
10775	  mv conftest.$ac_objext conftstm.$ac_objext
10776	  lt_globsym_save_LIBS=$LIBS
10777	  lt_globsym_save_CFLAGS=$CFLAGS
10778	  LIBS=conftstm.$ac_objext
10779	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10780	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10781  (eval $ac_link) 2>&5
10782  ac_status=$?
10783  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10784  test $ac_status = 0; } && test -s conftest$ac_exeext; then
10785	    pipe_works=yes
10786	  fi
10787	  LIBS=$lt_globsym_save_LIBS
10788	  CFLAGS=$lt_globsym_save_CFLAGS
10789	else
10790	  echo "cannot find nm_test_func in $nlist" >&5
10791	fi
10792      else
10793	echo "cannot find nm_test_var in $nlist" >&5
10794      fi
10795    else
10796      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
10797    fi
10798  else
10799    echo "$progname: failed program was:" >&5
10800    cat conftest.$ac_ext >&5
10801  fi
10802  rm -rf conftest* conftst*
10803
10804  # Do not use the global_symbol_pipe unless it works.
10805  if test yes = "$pipe_works"; then
10806    break
10807  else
10808    lt_cv_sys_global_symbol_pipe=
10809  fi
10810done
10811
10812fi
10813
10814if test -z "$lt_cv_sys_global_symbol_pipe"; then
10815  lt_cv_sys_global_symbol_to_cdecl=
10816fi
10817if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
10819$as_echo "failed" >&6; }
10820else
10821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
10822$as_echo "ok" >&6; }
10823fi
10824
10825# Response file support.
10826if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10827  nm_file_list_spec='@'
10828elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
10829  nm_file_list_spec='@'
10830fi
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
10869$as_echo_n "checking for sysroot... " >&6; }
10870
10871# Check whether --with-sysroot was given.
10872if test "${with_sysroot+set}" = set; then :
10873  withval=$with_sysroot;
10874else
10875  with_sysroot=no
10876fi
10877
10878
10879lt_sysroot=
10880case $with_sysroot in #(
10881 yes)
10882   if test yes = "$GCC"; then
10883     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
10884   fi
10885   ;; #(
10886 /*)
10887   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
10888   ;; #(
10889 no|'')
10890   ;; #(
10891 *)
10892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
10893$as_echo "$with_sysroot" >&6; }
10894   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
10895   ;;
10896esac
10897
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
10899$as_echo "${lt_sysroot:-no}" >&6; }
10900
10901
10902
10903
10904
10905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
10906$as_echo_n "checking for a working dd... " >&6; }
10907if ${ac_cv_path_lt_DD+:} false; then :
10908  $as_echo_n "(cached) " >&6
10909else
10910  printf 0123456789abcdef0123456789abcdef >conftest.i
10911cat conftest.i conftest.i >conftest2.i
10912: ${lt_DD:=$DD}
10913if test -z "$lt_DD"; then
10914  ac_path_lt_DD_found=false
10915  # Loop through the user's path and test for each of PROGNAME-LIST
10916  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10917for as_dir in $PATH
10918do
10919  IFS=$as_save_IFS
10920  test -z "$as_dir" && as_dir=.
10921    for ac_prog in dd; do
10922    for ac_exec_ext in '' $ac_executable_extensions; do
10923      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
10924      as_fn_executable_p "$ac_path_lt_DD" || continue
10925if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
10926  cmp -s conftest.i conftest.out \
10927  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
10928fi
10929      $ac_path_lt_DD_found && break 3
10930    done
10931  done
10932  done
10933IFS=$as_save_IFS
10934  if test -z "$ac_cv_path_lt_DD"; then
10935    :
10936  fi
10937else
10938  ac_cv_path_lt_DD=$lt_DD
10939fi
10940
10941rm -f conftest.i conftest2.i conftest.out
10942fi
10943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
10944$as_echo "$ac_cv_path_lt_DD" >&6; }
10945
10946
10947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
10948$as_echo_n "checking how to truncate binary pipes... " >&6; }
10949if ${lt_cv_truncate_bin+:} false; then :
10950  $as_echo_n "(cached) " >&6
10951else
10952  printf 0123456789abcdef0123456789abcdef >conftest.i
10953cat conftest.i conftest.i >conftest2.i
10954lt_cv_truncate_bin=
10955if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
10956  cmp -s conftest.i conftest.out \
10957  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
10958fi
10959rm -f conftest.i conftest2.i conftest.out
10960test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
10961fi
10962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
10963$as_echo "$lt_cv_truncate_bin" >&6; }
10964
10965
10966
10967
10968
10969
10970
10971# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
10972func_cc_basename ()
10973{
10974    for cc_temp in $*""; do
10975      case $cc_temp in
10976        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10977        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10978        \-*) ;;
10979        *) break;;
10980      esac
10981    done
10982    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10983}
10984
10985# Check whether --enable-libtool-lock was given.
10986if test "${enable_libtool_lock+set}" = set; then :
10987  enableval=$enable_libtool_lock;
10988fi
10989
10990test no = "$enable_libtool_lock" || enable_libtool_lock=yes
10991
10992# Some flags need to be propagated to the compiler or linker for good
10993# libtool support.
10994case $host in
10995ia64-*-hpux*)
10996  # Find out what ABI is being produced by ac_compile, and set mode
10997  # options accordingly.
10998  echo 'int i;' > conftest.$ac_ext
10999  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11000  (eval $ac_compile) 2>&5
11001  ac_status=$?
11002  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11003  test $ac_status = 0; }; then
11004    case `/usr/bin/file conftest.$ac_objext` in
11005      *ELF-32*)
11006	HPUX_IA64_MODE=32
11007	;;
11008      *ELF-64*)
11009	HPUX_IA64_MODE=64
11010	;;
11011    esac
11012  fi
11013  rm -rf conftest*
11014  ;;
11015*-*-irix6*)
11016  # Find out what ABI is being produced by ac_compile, and set linker
11017  # options accordingly.
11018  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
11019  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11020  (eval $ac_compile) 2>&5
11021  ac_status=$?
11022  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11023  test $ac_status = 0; }; then
11024    if test yes = "$lt_cv_prog_gnu_ld"; then
11025      case `/usr/bin/file conftest.$ac_objext` in
11026	*32-bit*)
11027	  LD="${LD-ld} -melf32bsmip"
11028	  ;;
11029	*N32*)
11030	  LD="${LD-ld} -melf32bmipn32"
11031	  ;;
11032	*64-bit*)
11033	  LD="${LD-ld} -melf64bmip"
11034	;;
11035      esac
11036    else
11037      case `/usr/bin/file conftest.$ac_objext` in
11038	*32-bit*)
11039	  LD="${LD-ld} -32"
11040	  ;;
11041	*N32*)
11042	  LD="${LD-ld} -n32"
11043	  ;;
11044	*64-bit*)
11045	  LD="${LD-ld} -64"
11046	  ;;
11047      esac
11048    fi
11049  fi
11050  rm -rf conftest*
11051  ;;
11052
11053mips64*-*linux*)
11054  # Find out what ABI is being produced by ac_compile, and set linker
11055  # options accordingly.
11056  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
11057  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11058  (eval $ac_compile) 2>&5
11059  ac_status=$?
11060  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11061  test $ac_status = 0; }; then
11062    emul=elf
11063    case `/usr/bin/file conftest.$ac_objext` in
11064      *32-bit*)
11065	emul="${emul}32"
11066	;;
11067      *64-bit*)
11068	emul="${emul}64"
11069	;;
11070    esac
11071    case `/usr/bin/file conftest.$ac_objext` in
11072      *MSB*)
11073	emul="${emul}btsmip"
11074	;;
11075      *LSB*)
11076	emul="${emul}ltsmip"
11077	;;
11078    esac
11079    case `/usr/bin/file conftest.$ac_objext` in
11080      *N32*)
11081	emul="${emul}n32"
11082	;;
11083    esac
11084    LD="${LD-ld} -m $emul"
11085  fi
11086  rm -rf conftest*
11087  ;;
11088
11089x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
11090s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
11091  # Find out what ABI is being produced by ac_compile, and set linker
11092  # options accordingly.  Note that the listed cases only cover the
11093  # situations where additional linker options are needed (such as when
11094  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
11095  # vice versa); the common cases where no linker options are needed do
11096  # not appear in the list.
11097  echo 'int i;' > conftest.$ac_ext
11098  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11099  (eval $ac_compile) 2>&5
11100  ac_status=$?
11101  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11102  test $ac_status = 0; }; then
11103    case `/usr/bin/file conftest.o` in
11104      *32-bit*)
11105	case $host in
11106	  x86_64-*kfreebsd*-gnu)
11107	    LD="${LD-ld} -m elf_i386_fbsd"
11108	    ;;
11109	  x86_64-*linux*)
11110	    case `/usr/bin/file conftest.o` in
11111	      *x86-64*)
11112		LD="${LD-ld} -m elf32_x86_64"
11113		;;
11114	      *)
11115		LD="${LD-ld} -m elf_i386"
11116		;;
11117	    esac
11118	    ;;
11119	  powerpc64le-*linux*)
11120	    LD="${LD-ld} -m elf32lppclinux"
11121	    ;;
11122	  powerpc64-*linux*)
11123	    LD="${LD-ld} -m elf32ppclinux"
11124	    ;;
11125	  s390x-*linux*)
11126	    LD="${LD-ld} -m elf_s390"
11127	    ;;
11128	  sparc64-*linux*)
11129	    LD="${LD-ld} -m elf32_sparc"
11130	    ;;
11131	esac
11132	;;
11133      *64-bit*)
11134	case $host in
11135	  x86_64-*kfreebsd*-gnu)
11136	    LD="${LD-ld} -m elf_x86_64_fbsd"
11137	    ;;
11138	  x86_64-*linux*)
11139	    LD="${LD-ld} -m elf_x86_64"
11140	    ;;
11141	  powerpcle-*linux*)
11142	    LD="${LD-ld} -m elf64lppc"
11143	    ;;
11144	  powerpc-*linux*)
11145	    LD="${LD-ld} -m elf64ppc"
11146	    ;;
11147	  s390*-*linux*|s390*-*tpf*)
11148	    LD="${LD-ld} -m elf64_s390"
11149	    ;;
11150	  sparc*-*linux*)
11151	    LD="${LD-ld} -m elf64_sparc"
11152	    ;;
11153	esac
11154	;;
11155    esac
11156  fi
11157  rm -rf conftest*
11158  ;;
11159
11160*-*-sco3.2v5*)
11161  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
11162  SAVE_CFLAGS=$CFLAGS
11163  CFLAGS="$CFLAGS -belf"
11164  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
11165$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
11166if ${lt_cv_cc_needs_belf+:} false; then :
11167  $as_echo_n "(cached) " >&6
11168else
11169  ac_ext=c
11170ac_cpp='$CPP $CPPFLAGS'
11171ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11172ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11173ac_compiler_gnu=$ac_cv_c_compiler_gnu
11174
11175     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11176/* end confdefs.h.  */
11177
11178int
11179main ()
11180{
11181
11182  ;
11183  return 0;
11184}
11185_ACEOF
11186if ac_fn_c_try_link "$LINENO"; then :
11187  lt_cv_cc_needs_belf=yes
11188else
11189  lt_cv_cc_needs_belf=no
11190fi
11191rm -f core conftest.err conftest.$ac_objext \
11192    conftest$ac_exeext conftest.$ac_ext
11193     ac_ext=c
11194ac_cpp='$CPP $CPPFLAGS'
11195ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11196ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11197ac_compiler_gnu=$ac_cv_c_compiler_gnu
11198
11199fi
11200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
11201$as_echo "$lt_cv_cc_needs_belf" >&6; }
11202  if test yes != "$lt_cv_cc_needs_belf"; then
11203    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11204    CFLAGS=$SAVE_CFLAGS
11205  fi
11206  ;;
11207*-*solaris*)
11208  # Find out what ABI is being produced by ac_compile, and set linker
11209  # options accordingly.
11210  echo 'int i;' > conftest.$ac_ext
11211  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11212  (eval $ac_compile) 2>&5
11213  ac_status=$?
11214  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11215  test $ac_status = 0; }; then
11216    case `/usr/bin/file conftest.o` in
11217    *64-bit*)
11218      case $lt_cv_prog_gnu_ld in
11219      yes*)
11220        case $host in
11221        i?86-*-solaris*|x86_64-*-solaris*)
11222          LD="${LD-ld} -m elf_x86_64"
11223          ;;
11224        sparc*-*-solaris*)
11225          LD="${LD-ld} -m elf64_sparc"
11226          ;;
11227        esac
11228        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
11229        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
11230          LD=${LD-ld}_sol2
11231        fi
11232        ;;
11233      *)
11234	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
11235	  LD="${LD-ld} -64"
11236	fi
11237	;;
11238      esac
11239      ;;
11240    esac
11241  fi
11242  rm -rf conftest*
11243  ;;
11244esac
11245
11246need_locks=$enable_libtool_lock
11247
11248if test -n "$ac_tool_prefix"; then
11249  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
11250set dummy ${ac_tool_prefix}mt; ac_word=$2
11251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11252$as_echo_n "checking for $ac_word... " >&6; }
11253if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
11254  $as_echo_n "(cached) " >&6
11255else
11256  if test -n "$MANIFEST_TOOL"; then
11257  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
11258else
11259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11260for as_dir in $PATH
11261do
11262  IFS=$as_save_IFS
11263  test -z "$as_dir" && as_dir=.
11264    for ac_exec_ext in '' $ac_executable_extensions; do
11265  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11266    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
11267    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11268    break 2
11269  fi
11270done
11271  done
11272IFS=$as_save_IFS
11273
11274fi
11275fi
11276MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
11277if test -n "$MANIFEST_TOOL"; then
11278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
11279$as_echo "$MANIFEST_TOOL" >&6; }
11280else
11281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11282$as_echo "no" >&6; }
11283fi
11284
11285
11286fi
11287if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
11288  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
11289  # Extract the first word of "mt", so it can be a program name with args.
11290set dummy mt; ac_word=$2
11291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11292$as_echo_n "checking for $ac_word... " >&6; }
11293if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
11294  $as_echo_n "(cached) " >&6
11295else
11296  if test -n "$ac_ct_MANIFEST_TOOL"; then
11297  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
11298else
11299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11300for as_dir in $PATH
11301do
11302  IFS=$as_save_IFS
11303  test -z "$as_dir" && as_dir=.
11304    for ac_exec_ext in '' $ac_executable_extensions; do
11305  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11306    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
11307    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11308    break 2
11309  fi
11310done
11311  done
11312IFS=$as_save_IFS
11313
11314fi
11315fi
11316ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
11317if test -n "$ac_ct_MANIFEST_TOOL"; then
11318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
11319$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
11320else
11321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11322$as_echo "no" >&6; }
11323fi
11324
11325  if test "x$ac_ct_MANIFEST_TOOL" = x; then
11326    MANIFEST_TOOL=":"
11327  else
11328    case $cross_compiling:$ac_tool_warned in
11329yes:)
11330{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11331$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11332ac_tool_warned=yes ;;
11333esac
11334    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
11335  fi
11336else
11337  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
11338fi
11339
11340test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
11341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
11342$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
11343if ${lt_cv_path_mainfest_tool+:} false; then :
11344  $as_echo_n "(cached) " >&6
11345else
11346  lt_cv_path_mainfest_tool=no
11347  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
11348  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
11349  cat conftest.err >&5
11350  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
11351    lt_cv_path_mainfest_tool=yes
11352  fi
11353  rm -f conftest*
11354fi
11355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
11356$as_echo "$lt_cv_path_mainfest_tool" >&6; }
11357if test yes != "$lt_cv_path_mainfest_tool"; then
11358  MANIFEST_TOOL=:
11359fi
11360
11361
11362
11363
11364
11365
11366  case $host_os in
11367    rhapsody* | darwin*)
11368    if test -n "$ac_tool_prefix"; then
11369  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
11370set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
11371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11372$as_echo_n "checking for $ac_word... " >&6; }
11373if ${ac_cv_prog_DSYMUTIL+:} false; then :
11374  $as_echo_n "(cached) " >&6
11375else
11376  if test -n "$DSYMUTIL"; then
11377  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11378else
11379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11380for as_dir in $PATH
11381do
11382  IFS=$as_save_IFS
11383  test -z "$as_dir" && as_dir=.
11384    for ac_exec_ext in '' $ac_executable_extensions; do
11385  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11386    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
11387    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11388    break 2
11389  fi
11390done
11391  done
11392IFS=$as_save_IFS
11393
11394fi
11395fi
11396DSYMUTIL=$ac_cv_prog_DSYMUTIL
11397if test -n "$DSYMUTIL"; then
11398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
11399$as_echo "$DSYMUTIL" >&6; }
11400else
11401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11402$as_echo "no" >&6; }
11403fi
11404
11405
11406fi
11407if test -z "$ac_cv_prog_DSYMUTIL"; then
11408  ac_ct_DSYMUTIL=$DSYMUTIL
11409  # Extract the first word of "dsymutil", so it can be a program name with args.
11410set dummy dsymutil; ac_word=$2
11411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11412$as_echo_n "checking for $ac_word... " >&6; }
11413if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
11414  $as_echo_n "(cached) " >&6
11415else
11416  if test -n "$ac_ct_DSYMUTIL"; then
11417  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
11418else
11419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11420for as_dir in $PATH
11421do
11422  IFS=$as_save_IFS
11423  test -z "$as_dir" && as_dir=.
11424    for ac_exec_ext in '' $ac_executable_extensions; do
11425  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11426    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
11427    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11428    break 2
11429  fi
11430done
11431  done
11432IFS=$as_save_IFS
11433
11434fi
11435fi
11436ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
11437if test -n "$ac_ct_DSYMUTIL"; then
11438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
11439$as_echo "$ac_ct_DSYMUTIL" >&6; }
11440else
11441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11442$as_echo "no" >&6; }
11443fi
11444
11445  if test "x$ac_ct_DSYMUTIL" = x; then
11446    DSYMUTIL=":"
11447  else
11448    case $cross_compiling:$ac_tool_warned in
11449yes:)
11450{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11451$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11452ac_tool_warned=yes ;;
11453esac
11454    DSYMUTIL=$ac_ct_DSYMUTIL
11455  fi
11456else
11457  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
11458fi
11459
11460    if test -n "$ac_tool_prefix"; then
11461  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
11462set dummy ${ac_tool_prefix}nmedit; ac_word=$2
11463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11464$as_echo_n "checking for $ac_word... " >&6; }
11465if ${ac_cv_prog_NMEDIT+:} false; then :
11466  $as_echo_n "(cached) " >&6
11467else
11468  if test -n "$NMEDIT"; then
11469  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
11470else
11471as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11472for as_dir in $PATH
11473do
11474  IFS=$as_save_IFS
11475  test -z "$as_dir" && as_dir=.
11476    for ac_exec_ext in '' $ac_executable_extensions; do
11477  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11478    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
11479    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11480    break 2
11481  fi
11482done
11483  done
11484IFS=$as_save_IFS
11485
11486fi
11487fi
11488NMEDIT=$ac_cv_prog_NMEDIT
11489if test -n "$NMEDIT"; then
11490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
11491$as_echo "$NMEDIT" >&6; }
11492else
11493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11494$as_echo "no" >&6; }
11495fi
11496
11497
11498fi
11499if test -z "$ac_cv_prog_NMEDIT"; then
11500  ac_ct_NMEDIT=$NMEDIT
11501  # Extract the first word of "nmedit", so it can be a program name with args.
11502set dummy nmedit; ac_word=$2
11503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11504$as_echo_n "checking for $ac_word... " >&6; }
11505if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
11506  $as_echo_n "(cached) " >&6
11507else
11508  if test -n "$ac_ct_NMEDIT"; then
11509  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
11510else
11511as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11512for as_dir in $PATH
11513do
11514  IFS=$as_save_IFS
11515  test -z "$as_dir" && as_dir=.
11516    for ac_exec_ext in '' $ac_executable_extensions; do
11517  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11518    ac_cv_prog_ac_ct_NMEDIT="nmedit"
11519    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11520    break 2
11521  fi
11522done
11523  done
11524IFS=$as_save_IFS
11525
11526fi
11527fi
11528ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
11529if test -n "$ac_ct_NMEDIT"; then
11530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
11531$as_echo "$ac_ct_NMEDIT" >&6; }
11532else
11533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11534$as_echo "no" >&6; }
11535fi
11536
11537  if test "x$ac_ct_NMEDIT" = x; then
11538    NMEDIT=":"
11539  else
11540    case $cross_compiling:$ac_tool_warned in
11541yes:)
11542{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11543$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11544ac_tool_warned=yes ;;
11545esac
11546    NMEDIT=$ac_ct_NMEDIT
11547  fi
11548else
11549  NMEDIT="$ac_cv_prog_NMEDIT"
11550fi
11551
11552    if test -n "$ac_tool_prefix"; then
11553  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
11554set dummy ${ac_tool_prefix}lipo; ac_word=$2
11555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11556$as_echo_n "checking for $ac_word... " >&6; }
11557if ${ac_cv_prog_LIPO+:} false; then :
11558  $as_echo_n "(cached) " >&6
11559else
11560  if test -n "$LIPO"; then
11561  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11562else
11563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11564for as_dir in $PATH
11565do
11566  IFS=$as_save_IFS
11567  test -z "$as_dir" && as_dir=.
11568    for ac_exec_ext in '' $ac_executable_extensions; do
11569  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11570    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
11571    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11572    break 2
11573  fi
11574done
11575  done
11576IFS=$as_save_IFS
11577
11578fi
11579fi
11580LIPO=$ac_cv_prog_LIPO
11581if test -n "$LIPO"; then
11582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
11583$as_echo "$LIPO" >&6; }
11584else
11585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11586$as_echo "no" >&6; }
11587fi
11588
11589
11590fi
11591if test -z "$ac_cv_prog_LIPO"; then
11592  ac_ct_LIPO=$LIPO
11593  # Extract the first word of "lipo", so it can be a program name with args.
11594set dummy lipo; ac_word=$2
11595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11596$as_echo_n "checking for $ac_word... " >&6; }
11597if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
11598  $as_echo_n "(cached) " >&6
11599else
11600  if test -n "$ac_ct_LIPO"; then
11601  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
11602else
11603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11604for as_dir in $PATH
11605do
11606  IFS=$as_save_IFS
11607  test -z "$as_dir" && as_dir=.
11608    for ac_exec_ext in '' $ac_executable_extensions; do
11609  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11610    ac_cv_prog_ac_ct_LIPO="lipo"
11611    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11612    break 2
11613  fi
11614done
11615  done
11616IFS=$as_save_IFS
11617
11618fi
11619fi
11620ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
11621if test -n "$ac_ct_LIPO"; then
11622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
11623$as_echo "$ac_ct_LIPO" >&6; }
11624else
11625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11626$as_echo "no" >&6; }
11627fi
11628
11629  if test "x$ac_ct_LIPO" = x; then
11630    LIPO=":"
11631  else
11632    case $cross_compiling:$ac_tool_warned in
11633yes:)
11634{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11635$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11636ac_tool_warned=yes ;;
11637esac
11638    LIPO=$ac_ct_LIPO
11639  fi
11640else
11641  LIPO="$ac_cv_prog_LIPO"
11642fi
11643
11644    if test -n "$ac_tool_prefix"; then
11645  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
11646set dummy ${ac_tool_prefix}otool; ac_word=$2
11647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11648$as_echo_n "checking for $ac_word... " >&6; }
11649if ${ac_cv_prog_OTOOL+:} false; then :
11650  $as_echo_n "(cached) " >&6
11651else
11652  if test -n "$OTOOL"; then
11653  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
11654else
11655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11656for as_dir in $PATH
11657do
11658  IFS=$as_save_IFS
11659  test -z "$as_dir" && as_dir=.
11660    for ac_exec_ext in '' $ac_executable_extensions; do
11661  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11662    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
11663    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11664    break 2
11665  fi
11666done
11667  done
11668IFS=$as_save_IFS
11669
11670fi
11671fi
11672OTOOL=$ac_cv_prog_OTOOL
11673if test -n "$OTOOL"; then
11674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
11675$as_echo "$OTOOL" >&6; }
11676else
11677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11678$as_echo "no" >&6; }
11679fi
11680
11681
11682fi
11683if test -z "$ac_cv_prog_OTOOL"; then
11684  ac_ct_OTOOL=$OTOOL
11685  # Extract the first word of "otool", so it can be a program name with args.
11686set dummy otool; ac_word=$2
11687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11688$as_echo_n "checking for $ac_word... " >&6; }
11689if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
11690  $as_echo_n "(cached) " >&6
11691else
11692  if test -n "$ac_ct_OTOOL"; then
11693  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
11694else
11695as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11696for as_dir in $PATH
11697do
11698  IFS=$as_save_IFS
11699  test -z "$as_dir" && as_dir=.
11700    for ac_exec_ext in '' $ac_executable_extensions; do
11701  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11702    ac_cv_prog_ac_ct_OTOOL="otool"
11703    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11704    break 2
11705  fi
11706done
11707  done
11708IFS=$as_save_IFS
11709
11710fi
11711fi
11712ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
11713if test -n "$ac_ct_OTOOL"; then
11714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
11715$as_echo "$ac_ct_OTOOL" >&6; }
11716else
11717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11718$as_echo "no" >&6; }
11719fi
11720
11721  if test "x$ac_ct_OTOOL" = x; then
11722    OTOOL=":"
11723  else
11724    case $cross_compiling:$ac_tool_warned in
11725yes:)
11726{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11727$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11728ac_tool_warned=yes ;;
11729esac
11730    OTOOL=$ac_ct_OTOOL
11731  fi
11732else
11733  OTOOL="$ac_cv_prog_OTOOL"
11734fi
11735
11736    if test -n "$ac_tool_prefix"; then
11737  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
11738set dummy ${ac_tool_prefix}otool64; ac_word=$2
11739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11740$as_echo_n "checking for $ac_word... " >&6; }
11741if ${ac_cv_prog_OTOOL64+:} false; then :
11742  $as_echo_n "(cached) " >&6
11743else
11744  if test -n "$OTOOL64"; then
11745  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
11746else
11747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11748for as_dir in $PATH
11749do
11750  IFS=$as_save_IFS
11751  test -z "$as_dir" && as_dir=.
11752    for ac_exec_ext in '' $ac_executable_extensions; do
11753  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11754    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
11755    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11756    break 2
11757  fi
11758done
11759  done
11760IFS=$as_save_IFS
11761
11762fi
11763fi
11764OTOOL64=$ac_cv_prog_OTOOL64
11765if test -n "$OTOOL64"; then
11766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
11767$as_echo "$OTOOL64" >&6; }
11768else
11769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11770$as_echo "no" >&6; }
11771fi
11772
11773
11774fi
11775if test -z "$ac_cv_prog_OTOOL64"; then
11776  ac_ct_OTOOL64=$OTOOL64
11777  # Extract the first word of "otool64", so it can be a program name with args.
11778set dummy otool64; ac_word=$2
11779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11780$as_echo_n "checking for $ac_word... " >&6; }
11781if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
11782  $as_echo_n "(cached) " >&6
11783else
11784  if test -n "$ac_ct_OTOOL64"; then
11785  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
11786else
11787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11788for as_dir in $PATH
11789do
11790  IFS=$as_save_IFS
11791  test -z "$as_dir" && as_dir=.
11792    for ac_exec_ext in '' $ac_executable_extensions; do
11793  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11794    ac_cv_prog_ac_ct_OTOOL64="otool64"
11795    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11796    break 2
11797  fi
11798done
11799  done
11800IFS=$as_save_IFS
11801
11802fi
11803fi
11804ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
11805if test -n "$ac_ct_OTOOL64"; then
11806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
11807$as_echo "$ac_ct_OTOOL64" >&6; }
11808else
11809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11810$as_echo "no" >&6; }
11811fi
11812
11813  if test "x$ac_ct_OTOOL64" = x; then
11814    OTOOL64=":"
11815  else
11816    case $cross_compiling:$ac_tool_warned in
11817yes:)
11818{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11819$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11820ac_tool_warned=yes ;;
11821esac
11822    OTOOL64=$ac_ct_OTOOL64
11823  fi
11824else
11825  OTOOL64="$ac_cv_prog_OTOOL64"
11826fi
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
11855$as_echo_n "checking for -single_module linker flag... " >&6; }
11856if ${lt_cv_apple_cc_single_mod+:} false; then :
11857  $as_echo_n "(cached) " >&6
11858else
11859  lt_cv_apple_cc_single_mod=no
11860      if test -z "$LT_MULTI_MODULE"; then
11861	# By default we will add the -single_module flag. You can override
11862	# by either setting the environment variable LT_MULTI_MODULE
11863	# non-empty at configure time, or by adding -multi_module to the
11864	# link flags.
11865	rm -rf libconftest.dylib*
11866	echo "int foo(void){return 1;}" > conftest.c
11867	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11868-dynamiclib -Wl,-single_module conftest.c" >&5
11869	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11870	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11871        _lt_result=$?
11872	# If there is a non-empty error log, and "single_module"
11873	# appears in it, assume the flag caused a linker warning
11874        if test -s conftest.err && $GREP single_module conftest.err; then
11875	  cat conftest.err >&5
11876	# Otherwise, if the output was created with a 0 exit code from
11877	# the compiler, it worked.
11878	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
11879	  lt_cv_apple_cc_single_mod=yes
11880	else
11881	  cat conftest.err >&5
11882	fi
11883	rm -rf libconftest.dylib*
11884	rm -f conftest.*
11885      fi
11886fi
11887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
11888$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
11889
11890    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
11891$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
11892if ${lt_cv_ld_exported_symbols_list+:} false; then :
11893  $as_echo_n "(cached) " >&6
11894else
11895  lt_cv_ld_exported_symbols_list=no
11896      save_LDFLAGS=$LDFLAGS
11897      echo "_main" > conftest.sym
11898      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
11899      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900/* end confdefs.h.  */
11901
11902int
11903main ()
11904{
11905
11906  ;
11907  return 0;
11908}
11909_ACEOF
11910if ac_fn_c_try_link "$LINENO"; then :
11911  lt_cv_ld_exported_symbols_list=yes
11912else
11913  lt_cv_ld_exported_symbols_list=no
11914fi
11915rm -f core conftest.err conftest.$ac_objext \
11916    conftest$ac_exeext conftest.$ac_ext
11917	LDFLAGS=$save_LDFLAGS
11918
11919fi
11920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
11921$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
11922
11923    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
11924$as_echo_n "checking for -force_load linker flag... " >&6; }
11925if ${lt_cv_ld_force_load+:} false; then :
11926  $as_echo_n "(cached) " >&6
11927else
11928  lt_cv_ld_force_load=no
11929      cat > conftest.c << _LT_EOF
11930int forced_loaded() { return 2;}
11931_LT_EOF
11932      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
11933      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11934      echo "$AR cr libconftest.a conftest.o" >&5
11935      $AR cr libconftest.a conftest.o 2>&5
11936      echo "$RANLIB libconftest.a" >&5
11937      $RANLIB libconftest.a 2>&5
11938      cat > conftest.c << _LT_EOF
11939int main() { return 0;}
11940_LT_EOF
11941      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
11942      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
11943      _lt_result=$?
11944      if test -s conftest.err && $GREP force_load conftest.err; then
11945	cat conftest.err >&5
11946      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
11947	lt_cv_ld_force_load=yes
11948      else
11949	cat conftest.err >&5
11950      fi
11951        rm -f conftest.err libconftest.a conftest conftest.c
11952        rm -rf conftest.dSYM
11953
11954fi
11955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
11956$as_echo "$lt_cv_ld_force_load" >&6; }
11957    case $host_os in
11958    rhapsody* | darwin1.[012])
11959      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
11960    darwin1.*)
11961      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11962    darwin*) # darwin 5.x on
11963      # if running on 10.5 or later, the deployment target defaults
11964      # to the OS version, if on x86, and 10.4, the deployment
11965      # target defaults to 10.4. Don't you love it?
11966      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
11967	10.0,*86*-darwin8*|10.0,*-darwin[912]*)
11968	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
11969	10.[012][,.]*)
11970	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11971	10.*|11.*)
11972	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
11973      esac
11974    ;;
11975  esac
11976    if test yes = "$lt_cv_apple_cc_single_mod"; then
11977      _lt_dar_single_mod='$single_module'
11978    fi
11979    if test yes = "$lt_cv_ld_exported_symbols_list"; then
11980      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
11981    else
11982      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
11983    fi
11984    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
11985      _lt_dsymutil='~$DSYMUTIL $lib || :'
11986    else
11987      _lt_dsymutil=
11988    fi
11989    ;;
11990  esac
11991
11992# func_munge_path_list VARIABLE PATH
11993# -----------------------------------
11994# VARIABLE is name of variable containing _space_ separated list of
11995# directories to be munged by the contents of PATH, which is string
11996# having a format:
11997# "DIR[:DIR]:"
11998#       string "DIR[ DIR]" will be prepended to VARIABLE
11999# ":DIR[:DIR]"
12000#       string "DIR[ DIR]" will be appended to VARIABLE
12001# "DIRP[:DIRP]::[DIRA:]DIRA"
12002#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
12003#       "DIRA[ DIRA]" will be appended to VARIABLE
12004# "DIR[:DIR]"
12005#       VARIABLE will be replaced by "DIR[ DIR]"
12006func_munge_path_list ()
12007{
12008    case x$2 in
12009    x)
12010        ;;
12011    *:)
12012        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
12013        ;;
12014    x:*)
12015        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
12016        ;;
12017    *::*)
12018        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
12019        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
12020        ;;
12021    *)
12022        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
12023        ;;
12024    esac
12025}
12026
12027for ac_header in dlfcn.h
12028do :
12029  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
12030"
12031if test "x$ac_cv_header_dlfcn_h" = xyes; then :
12032  cat >>confdefs.h <<_ACEOF
12033#define HAVE_DLFCN_H 1
12034_ACEOF
12035
12036fi
12037
12038done
12039
12040
12041
12042
12043func_stripname_cnf ()
12044{
12045  case $2 in
12046  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
12047  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
12048  esac
12049} # func_stripname_cnf
12050
12051
12052
12053
12054
12055# Set options
12056enable_win32_dll=yes
12057
12058case $host in
12059*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
12060  if test -n "$ac_tool_prefix"; then
12061  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
12062set dummy ${ac_tool_prefix}as; ac_word=$2
12063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12064$as_echo_n "checking for $ac_word... " >&6; }
12065if ${ac_cv_prog_AS+:} false; then :
12066  $as_echo_n "(cached) " >&6
12067else
12068  if test -n "$AS"; then
12069  ac_cv_prog_AS="$AS" # Let the user override the test.
12070else
12071as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12072for as_dir in $PATH
12073do
12074  IFS=$as_save_IFS
12075  test -z "$as_dir" && as_dir=.
12076    for ac_exec_ext in '' $ac_executable_extensions; do
12077  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12078    ac_cv_prog_AS="${ac_tool_prefix}as"
12079    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12080    break 2
12081  fi
12082done
12083  done
12084IFS=$as_save_IFS
12085
12086fi
12087fi
12088AS=$ac_cv_prog_AS
12089if test -n "$AS"; then
12090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
12091$as_echo "$AS" >&6; }
12092else
12093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12094$as_echo "no" >&6; }
12095fi
12096
12097
12098fi
12099if test -z "$ac_cv_prog_AS"; then
12100  ac_ct_AS=$AS
12101  # Extract the first word of "as", so it can be a program name with args.
12102set dummy as; ac_word=$2
12103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12104$as_echo_n "checking for $ac_word... " >&6; }
12105if ${ac_cv_prog_ac_ct_AS+:} false; then :
12106  $as_echo_n "(cached) " >&6
12107else
12108  if test -n "$ac_ct_AS"; then
12109  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
12110else
12111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12112for as_dir in $PATH
12113do
12114  IFS=$as_save_IFS
12115  test -z "$as_dir" && as_dir=.
12116    for ac_exec_ext in '' $ac_executable_extensions; do
12117  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12118    ac_cv_prog_ac_ct_AS="as"
12119    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12120    break 2
12121  fi
12122done
12123  done
12124IFS=$as_save_IFS
12125
12126fi
12127fi
12128ac_ct_AS=$ac_cv_prog_ac_ct_AS
12129if test -n "$ac_ct_AS"; then
12130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
12131$as_echo "$ac_ct_AS" >&6; }
12132else
12133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12134$as_echo "no" >&6; }
12135fi
12136
12137  if test "x$ac_ct_AS" = x; then
12138    AS="false"
12139  else
12140    case $cross_compiling:$ac_tool_warned in
12141yes:)
12142{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12143$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12144ac_tool_warned=yes ;;
12145esac
12146    AS=$ac_ct_AS
12147  fi
12148else
12149  AS="$ac_cv_prog_AS"
12150fi
12151
12152  if test -n "$ac_tool_prefix"; then
12153  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12154set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12156$as_echo_n "checking for $ac_word... " >&6; }
12157if ${ac_cv_prog_DLLTOOL+:} false; then :
12158  $as_echo_n "(cached) " >&6
12159else
12160  if test -n "$DLLTOOL"; then
12161  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12162else
12163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12164for as_dir in $PATH
12165do
12166  IFS=$as_save_IFS
12167  test -z "$as_dir" && as_dir=.
12168    for ac_exec_ext in '' $ac_executable_extensions; do
12169  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12170    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12171    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12172    break 2
12173  fi
12174done
12175  done
12176IFS=$as_save_IFS
12177
12178fi
12179fi
12180DLLTOOL=$ac_cv_prog_DLLTOOL
12181if test -n "$DLLTOOL"; then
12182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
12183$as_echo "$DLLTOOL" >&6; }
12184else
12185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186$as_echo "no" >&6; }
12187fi
12188
12189
12190fi
12191if test -z "$ac_cv_prog_DLLTOOL"; then
12192  ac_ct_DLLTOOL=$DLLTOOL
12193  # Extract the first word of "dlltool", so it can be a program name with args.
12194set dummy dlltool; ac_word=$2
12195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12196$as_echo_n "checking for $ac_word... " >&6; }
12197if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
12198  $as_echo_n "(cached) " >&6
12199else
12200  if test -n "$ac_ct_DLLTOOL"; then
12201  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
12202else
12203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12204for as_dir in $PATH
12205do
12206  IFS=$as_save_IFS
12207  test -z "$as_dir" && as_dir=.
12208    for ac_exec_ext in '' $ac_executable_extensions; do
12209  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12210    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
12211    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12212    break 2
12213  fi
12214done
12215  done
12216IFS=$as_save_IFS
12217
12218fi
12219fi
12220ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
12221if test -n "$ac_ct_DLLTOOL"; then
12222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
12223$as_echo "$ac_ct_DLLTOOL" >&6; }
12224else
12225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12226$as_echo "no" >&6; }
12227fi
12228
12229  if test "x$ac_ct_DLLTOOL" = x; then
12230    DLLTOOL="false"
12231  else
12232    case $cross_compiling:$ac_tool_warned in
12233yes:)
12234{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12235$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12236ac_tool_warned=yes ;;
12237esac
12238    DLLTOOL=$ac_ct_DLLTOOL
12239  fi
12240else
12241  DLLTOOL="$ac_cv_prog_DLLTOOL"
12242fi
12243
12244  if test -n "$ac_tool_prefix"; then
12245  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
12246set dummy ${ac_tool_prefix}objdump; ac_word=$2
12247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12248$as_echo_n "checking for $ac_word... " >&6; }
12249if ${ac_cv_prog_OBJDUMP+:} false; then :
12250  $as_echo_n "(cached) " >&6
12251else
12252  if test -n "$OBJDUMP"; then
12253  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12254else
12255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12256for as_dir in $PATH
12257do
12258  IFS=$as_save_IFS
12259  test -z "$as_dir" && as_dir=.
12260    for ac_exec_ext in '' $ac_executable_extensions; do
12261  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12262    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
12263    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12264    break 2
12265  fi
12266done
12267  done
12268IFS=$as_save_IFS
12269
12270fi
12271fi
12272OBJDUMP=$ac_cv_prog_OBJDUMP
12273if test -n "$OBJDUMP"; then
12274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
12275$as_echo "$OBJDUMP" >&6; }
12276else
12277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12278$as_echo "no" >&6; }
12279fi
12280
12281
12282fi
12283if test -z "$ac_cv_prog_OBJDUMP"; then
12284  ac_ct_OBJDUMP=$OBJDUMP
12285  # Extract the first word of "objdump", so it can be a program name with args.
12286set dummy objdump; ac_word=$2
12287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12288$as_echo_n "checking for $ac_word... " >&6; }
12289if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
12290  $as_echo_n "(cached) " >&6
12291else
12292  if test -n "$ac_ct_OBJDUMP"; then
12293  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
12294else
12295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12296for as_dir in $PATH
12297do
12298  IFS=$as_save_IFS
12299  test -z "$as_dir" && as_dir=.
12300    for ac_exec_ext in '' $ac_executable_extensions; do
12301  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12302    ac_cv_prog_ac_ct_OBJDUMP="objdump"
12303    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12304    break 2
12305  fi
12306done
12307  done
12308IFS=$as_save_IFS
12309
12310fi
12311fi
12312ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
12313if test -n "$ac_ct_OBJDUMP"; then
12314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
12315$as_echo "$ac_ct_OBJDUMP" >&6; }
12316else
12317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12318$as_echo "no" >&6; }
12319fi
12320
12321  if test "x$ac_ct_OBJDUMP" = x; then
12322    OBJDUMP="false"
12323  else
12324    case $cross_compiling:$ac_tool_warned in
12325yes:)
12326{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12327$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12328ac_tool_warned=yes ;;
12329esac
12330    OBJDUMP=$ac_ct_OBJDUMP
12331  fi
12332else
12333  OBJDUMP="$ac_cv_prog_OBJDUMP"
12334fi
12335
12336  ;;
12337esac
12338
12339test -z "$AS" && AS=as
12340
12341
12342
12343
12344
12345test -z "$DLLTOOL" && DLLTOOL=dlltool
12346
12347
12348
12349
12350
12351test -z "$OBJDUMP" && OBJDUMP=objdump
12352
12353
12354
12355
12356
12357
12358
12359        enable_dlopen=no
12360
12361
12362
12363            # Check whether --enable-shared was given.
12364if test "${enable_shared+set}" = set; then :
12365  enableval=$enable_shared; p=${PACKAGE-default}
12366    case $enableval in
12367    yes) enable_shared=yes ;;
12368    no) enable_shared=no ;;
12369    *)
12370      enable_shared=no
12371      # Look at the argument we got.  We use all the common list separators.
12372      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
12373      for pkg in $enableval; do
12374	IFS=$lt_save_ifs
12375	if test "X$pkg" = "X$p"; then
12376	  enable_shared=yes
12377	fi
12378      done
12379      IFS=$lt_save_ifs
12380      ;;
12381    esac
12382else
12383  enable_shared=yes
12384fi
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394  # Check whether --enable-static was given.
12395if test "${enable_static+set}" = set; then :
12396  enableval=$enable_static; p=${PACKAGE-default}
12397    case $enableval in
12398    yes) enable_static=yes ;;
12399    no) enable_static=no ;;
12400    *)
12401     enable_static=no
12402      # Look at the argument we got.  We use all the common list separators.
12403      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
12404      for pkg in $enableval; do
12405	IFS=$lt_save_ifs
12406	if test "X$pkg" = "X$p"; then
12407	  enable_static=yes
12408	fi
12409      done
12410      IFS=$lt_save_ifs
12411      ;;
12412    esac
12413else
12414  enable_static=yes
12415fi
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426# Check whether --with-pic was given.
12427if test "${with_pic+set}" = set; then :
12428  withval=$with_pic; lt_p=${PACKAGE-default}
12429    case $withval in
12430    yes|no) pic_mode=$withval ;;
12431    *)
12432      pic_mode=default
12433      # Look at the argument we got.  We use all the common list separators.
12434      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
12435      for lt_pkg in $withval; do
12436	IFS=$lt_save_ifs
12437	if test "X$lt_pkg" = "X$lt_p"; then
12438	  pic_mode=yes
12439	fi
12440      done
12441      IFS=$lt_save_ifs
12442      ;;
12443    esac
12444else
12445  pic_mode=default
12446fi
12447
12448
12449
12450
12451
12452
12453
12454
12455  # Check whether --enable-fast-install was given.
12456if test "${enable_fast_install+set}" = set; then :
12457  enableval=$enable_fast_install; p=${PACKAGE-default}
12458    case $enableval in
12459    yes) enable_fast_install=yes ;;
12460    no) enable_fast_install=no ;;
12461    *)
12462      enable_fast_install=no
12463      # Look at the argument we got.  We use all the common list separators.
12464      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
12465      for pkg in $enableval; do
12466	IFS=$lt_save_ifs
12467	if test "X$pkg" = "X$p"; then
12468	  enable_fast_install=yes
12469	fi
12470      done
12471      IFS=$lt_save_ifs
12472      ;;
12473    esac
12474else
12475  enable_fast_install=yes
12476fi
12477
12478
12479
12480
12481
12482
12483
12484
12485  shared_archive_member_spec=
12486case $host,$enable_shared in
12487power*-*-aix[5-9]*,yes)
12488  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
12489$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
12490
12491# Check whether --with-aix-soname was given.
12492if test "${with_aix_soname+set}" = set; then :
12493  withval=$with_aix_soname; case $withval in
12494    aix|svr4|both)
12495      ;;
12496    *)
12497      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
12498      ;;
12499    esac
12500    lt_cv_with_aix_soname=$with_aix_soname
12501else
12502  if ${lt_cv_with_aix_soname+:} false; then :
12503  $as_echo_n "(cached) " >&6
12504else
12505  lt_cv_with_aix_soname=aix
12506fi
12507
12508    with_aix_soname=$lt_cv_with_aix_soname
12509fi
12510
12511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
12512$as_echo "$with_aix_soname" >&6; }
12513  if test aix != "$with_aix_soname"; then
12514    # For the AIX way of multilib, we name the shared archive member
12515    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
12516    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
12517    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
12518    # the AIX toolchain works better with OBJECT_MODE set (default 32).
12519    if test 64 = "${OBJECT_MODE-32}"; then
12520      shared_archive_member_spec=shr_64
12521    else
12522      shared_archive_member_spec=shr
12523    fi
12524  fi
12525  ;;
12526*)
12527  with_aix_soname=aix
12528  ;;
12529esac
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540# This can be used to rebuild libtool when needed
12541LIBTOOL_DEPS=$ltmain
12542
12543# Always use our own libtool.
12544LIBTOOL='$(SHELL) $(top_builddir)/libtool'
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575test -z "$LN_S" && LN_S="ln -s"
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590if test -n "${ZSH_VERSION+set}"; then
12591   setopt NO_GLOB_SUBST
12592fi
12593
12594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
12595$as_echo_n "checking for objdir... " >&6; }
12596if ${lt_cv_objdir+:} false; then :
12597  $as_echo_n "(cached) " >&6
12598else
12599  rm -f .libs 2>/dev/null
12600mkdir .libs 2>/dev/null
12601if test -d .libs; then
12602  lt_cv_objdir=.libs
12603else
12604  # MS-DOS does not allow filenames that begin with a dot.
12605  lt_cv_objdir=_libs
12606fi
12607rmdir .libs 2>/dev/null
12608fi
12609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
12610$as_echo "$lt_cv_objdir" >&6; }
12611objdir=$lt_cv_objdir
12612
12613
12614
12615
12616
12617cat >>confdefs.h <<_ACEOF
12618#define LT_OBJDIR "$lt_cv_objdir/"
12619_ACEOF
12620
12621
12622
12623
12624case $host_os in
12625aix3*)
12626  # AIX sometimes has problems with the GCC collect2 program.  For some
12627  # reason, if we set the COLLECT_NAMES environment variable, the problems
12628  # vanish in a puff of smoke.
12629  if test set != "${COLLECT_NAMES+set}"; then
12630    COLLECT_NAMES=
12631    export COLLECT_NAMES
12632  fi
12633  ;;
12634esac
12635
12636# Global variables:
12637ofile=libtool
12638can_build_shared=yes
12639
12640# All known linkers require a '.a' archive for static linking (except MSVC,
12641# which needs '.lib').
12642libext=a
12643
12644with_gnu_ld=$lt_cv_prog_gnu_ld
12645
12646old_CC=$CC
12647old_CFLAGS=$CFLAGS
12648
12649# Set sane defaults for various variables
12650test -z "$CC" && CC=cc
12651test -z "$LTCC" && LTCC=$CC
12652test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
12653test -z "$LD" && LD=ld
12654test -z "$ac_objext" && ac_objext=o
12655
12656func_cc_basename $compiler
12657cc_basename=$func_cc_basename_result
12658
12659
12660# Only perform the check for file, if the check method requires it
12661test -z "$MAGIC_CMD" && MAGIC_CMD=file
12662case $deplibs_check_method in
12663file_magic*)
12664  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12665    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
12666$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
12667if ${lt_cv_path_MAGIC_CMD+:} false; then :
12668  $as_echo_n "(cached) " >&6
12669else
12670  case $MAGIC_CMD in
12671[\\/*] |  ?:[\\/]*)
12672  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
12673  ;;
12674*)
12675  lt_save_MAGIC_CMD=$MAGIC_CMD
12676  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
12677  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12678  for ac_dir in $ac_dummy; do
12679    IFS=$lt_save_ifs
12680    test -z "$ac_dir" && ac_dir=.
12681    if test -f "$ac_dir/${ac_tool_prefix}file"; then
12682      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
12683      if test -n "$file_magic_test_file"; then
12684	case $deplibs_check_method in
12685	"file_magic "*)
12686	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
12687	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
12688	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12689	    $EGREP "$file_magic_regex" > /dev/null; then
12690	    :
12691	  else
12692	    cat <<_LT_EOF 1>&2
12693
12694*** Warning: the command libtool uses to detect shared libraries,
12695*** $file_magic_cmd, produces output that libtool cannot recognize.
12696*** The result is that libtool may fail to recognize shared libraries
12697*** as such.  This will affect the creation of libtool libraries that
12698*** depend on shared libraries, but programs linked with such libtool
12699*** libraries will work regardless of this problem.  Nevertheless, you
12700*** may want to report the problem to your system manager and/or to
12701*** bug-libtool@gnu.org
12702
12703_LT_EOF
12704	  fi ;;
12705	esac
12706      fi
12707      break
12708    fi
12709  done
12710  IFS=$lt_save_ifs
12711  MAGIC_CMD=$lt_save_MAGIC_CMD
12712  ;;
12713esac
12714fi
12715
12716MAGIC_CMD=$lt_cv_path_MAGIC_CMD
12717if test -n "$MAGIC_CMD"; then
12718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12719$as_echo "$MAGIC_CMD" >&6; }
12720else
12721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12722$as_echo "no" >&6; }
12723fi
12724
12725
12726
12727
12728
12729if test -z "$lt_cv_path_MAGIC_CMD"; then
12730  if test -n "$ac_tool_prefix"; then
12731    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
12732$as_echo_n "checking for file... " >&6; }
12733if ${lt_cv_path_MAGIC_CMD+:} false; then :
12734  $as_echo_n "(cached) " >&6
12735else
12736  case $MAGIC_CMD in
12737[\\/*] |  ?:[\\/]*)
12738  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
12739  ;;
12740*)
12741  lt_save_MAGIC_CMD=$MAGIC_CMD
12742  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
12743  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12744  for ac_dir in $ac_dummy; do
12745    IFS=$lt_save_ifs
12746    test -z "$ac_dir" && ac_dir=.
12747    if test -f "$ac_dir/file"; then
12748      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
12749      if test -n "$file_magic_test_file"; then
12750	case $deplibs_check_method in
12751	"file_magic "*)
12752	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
12753	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
12754	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12755	    $EGREP "$file_magic_regex" > /dev/null; then
12756	    :
12757	  else
12758	    cat <<_LT_EOF 1>&2
12759
12760*** Warning: the command libtool uses to detect shared libraries,
12761*** $file_magic_cmd, produces output that libtool cannot recognize.
12762*** The result is that libtool may fail to recognize shared libraries
12763*** as such.  This will affect the creation of libtool libraries that
12764*** depend on shared libraries, but programs linked with such libtool
12765*** libraries will work regardless of this problem.  Nevertheless, you
12766*** may want to report the problem to your system manager and/or to
12767*** bug-libtool@gnu.org
12768
12769_LT_EOF
12770	  fi ;;
12771	esac
12772      fi
12773      break
12774    fi
12775  done
12776  IFS=$lt_save_ifs
12777  MAGIC_CMD=$lt_save_MAGIC_CMD
12778  ;;
12779esac
12780fi
12781
12782MAGIC_CMD=$lt_cv_path_MAGIC_CMD
12783if test -n "$MAGIC_CMD"; then
12784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12785$as_echo "$MAGIC_CMD" >&6; }
12786else
12787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12788$as_echo "no" >&6; }
12789fi
12790
12791
12792  else
12793    MAGIC_CMD=:
12794  fi
12795fi
12796
12797  fi
12798  ;;
12799esac
12800
12801# Use C for the default configuration in the libtool script
12802
12803lt_save_CC=$CC
12804ac_ext=c
12805ac_cpp='$CPP $CPPFLAGS'
12806ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12807ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12808ac_compiler_gnu=$ac_cv_c_compiler_gnu
12809
12810
12811# Source file extension for C test sources.
12812ac_ext=c
12813
12814# Object file extension for compiled C test sources.
12815objext=o
12816objext=$objext
12817
12818# Code to be used in simple compile tests
12819lt_simple_compile_test_code="int some_variable = 0;"
12820
12821# Code to be used in simple link tests
12822lt_simple_link_test_code='int main(){return(0);}'
12823
12824
12825
12826
12827
12828
12829
12830# If no C compiler was specified, use CC.
12831LTCC=${LTCC-"$CC"}
12832
12833# If no C compiler flags were specified, use CFLAGS.
12834LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12835
12836# Allow CC to be a program name with arguments.
12837compiler=$CC
12838
12839# Save the default compiler, since it gets overwritten when the other
12840# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
12841compiler_DEFAULT=$CC
12842
12843# save warnings/boilerplate of simple test code
12844ac_outfile=conftest.$ac_objext
12845echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12846eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12847_lt_compiler_boilerplate=`cat conftest.err`
12848$RM conftest*
12849
12850ac_outfile=conftest.$ac_objext
12851echo "$lt_simple_link_test_code" >conftest.$ac_ext
12852eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12853_lt_linker_boilerplate=`cat conftest.err`
12854$RM -r conftest*
12855
12856
12857## CAVEAT EMPTOR:
12858## There is no encapsulation within the following macros, do not change
12859## the running order or otherwise move them around unless you know exactly
12860## what you are doing...
12861if test -n "$compiler"; then
12862
12863lt_prog_compiler_no_builtin_flag=
12864
12865if test yes = "$GCC"; then
12866  case $cc_basename in
12867  nvcc*)
12868    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
12869  *)
12870    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
12871  esac
12872
12873  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12874$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
12875if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
12876  $as_echo_n "(cached) " >&6
12877else
12878  lt_cv_prog_compiler_rtti_exceptions=no
12879   ac_outfile=conftest.$ac_objext
12880   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12881   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
12882   # Insert the option either (1) after the last *FLAGS variable, or
12883   # (2) before a word containing "conftest.", or (3) at the end.
12884   # Note that $ac_compile itself does not contain backslashes and begins
12885   # with a dollar sign (not a hyphen), so the echo should work correctly.
12886   # The option is referenced via a variable to avoid confusing sed.
12887   lt_compile=`echo "$ac_compile" | $SED \
12888   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12889   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12890   -e 's:$: $lt_compiler_flag:'`
12891   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12892   (eval "$lt_compile" 2>conftest.err)
12893   ac_status=$?
12894   cat conftest.err >&5
12895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896   if (exit $ac_status) && test -s "$ac_outfile"; then
12897     # The compiler can only warn and ignore the option if not recognized
12898     # So say no if there are warnings other than the usual output.
12899     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12900     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12901     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12902       lt_cv_prog_compiler_rtti_exceptions=yes
12903     fi
12904   fi
12905   $RM conftest*
12906
12907fi
12908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12909$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12910
12911if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
12912    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12913else
12914    :
12915fi
12916
12917fi
12918
12919
12920
12921
12922
12923
12924  lt_prog_compiler_wl=
12925lt_prog_compiler_pic=
12926lt_prog_compiler_static=
12927
12928
12929  if test yes = "$GCC"; then
12930    lt_prog_compiler_wl='-Wl,'
12931    lt_prog_compiler_static='-static'
12932
12933    case $host_os in
12934      aix*)
12935      # All AIX code is PIC.
12936      if test ia64 = "$host_cpu"; then
12937	# AIX 5 now supports IA64 processor
12938	lt_prog_compiler_static='-Bstatic'
12939      fi
12940      lt_prog_compiler_pic='-fPIC'
12941      ;;
12942
12943    amigaos*)
12944      case $host_cpu in
12945      powerpc)
12946            # see comment about AmigaOS4 .so support
12947            lt_prog_compiler_pic='-fPIC'
12948        ;;
12949      m68k)
12950            # FIXME: we need at least 68020 code to build shared libraries, but
12951            # adding the '-m68020' flag to GCC prevents building anything better,
12952            # like '-m68040'.
12953            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
12954        ;;
12955      esac
12956      ;;
12957
12958    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12959      # PIC is the default for these OSes.
12960      ;;
12961
12962    mingw* | cygwin* | pw32* | os2* | cegcc*)
12963      # This hack is so that the source file can tell whether it is being
12964      # built for inclusion in a dll (and should export symbols for example).
12965      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12966      # (--disable-auto-import) libraries
12967      lt_prog_compiler_pic='-DDLL_EXPORT'
12968      case $host_os in
12969      os2*)
12970	lt_prog_compiler_static='$wl-static'
12971	;;
12972      esac
12973      ;;
12974
12975    darwin* | rhapsody*)
12976      # PIC is the default on this platform
12977      # Common symbols not allowed in MH_DYLIB files
12978      lt_prog_compiler_pic='-fno-common'
12979      ;;
12980
12981    haiku*)
12982      # PIC is the default for Haiku.
12983      # The "-static" flag exists, but is broken.
12984      lt_prog_compiler_static=
12985      ;;
12986
12987    hpux*)
12988      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12989      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
12990      # sets the default TLS model and affects inlining.
12991      case $host_cpu in
12992      hppa*64*)
12993	# +Z the default
12994	;;
12995      *)
12996	lt_prog_compiler_pic='-fPIC'
12997	;;
12998      esac
12999      ;;
13000
13001    interix[3-9]*)
13002      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13003      # Instead, we relocate shared libraries at runtime.
13004      ;;
13005
13006    msdosdjgpp*)
13007      # Just because we use GCC doesn't mean we suddenly get shared libraries
13008      # on systems that don't support them.
13009      lt_prog_compiler_can_build_shared=no
13010      enable_shared=no
13011      ;;
13012
13013    *nto* | *qnx*)
13014      # QNX uses GNU C++, but need to define -shared option too, otherwise
13015      # it will coredump.
13016      lt_prog_compiler_pic='-fPIC -shared'
13017      ;;
13018
13019    sysv4*MP*)
13020      if test -d /usr/nec; then
13021	lt_prog_compiler_pic=-Kconform_pic
13022      fi
13023      ;;
13024
13025    *)
13026      lt_prog_compiler_pic='-fPIC'
13027      ;;
13028    esac
13029
13030    case $cc_basename in
13031    nvcc*) # Cuda Compiler Driver 2.2
13032      lt_prog_compiler_wl='-Xlinker '
13033      if test -n "$lt_prog_compiler_pic"; then
13034        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13035      fi
13036      ;;
13037    esac
13038  else
13039    # PORTME Check for flag to pass linker flags through the system compiler.
13040    case $host_os in
13041    aix*)
13042      lt_prog_compiler_wl='-Wl,'
13043      if test ia64 = "$host_cpu"; then
13044	# AIX 5 now supports IA64 processor
13045	lt_prog_compiler_static='-Bstatic'
13046      else
13047	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13048      fi
13049      ;;
13050
13051    darwin* | rhapsody*)
13052      # PIC is the default on this platform
13053      # Common symbols not allowed in MH_DYLIB files
13054      lt_prog_compiler_pic='-fno-common'
13055      case $cc_basename in
13056      nagfor*)
13057        # NAG Fortran compiler
13058        lt_prog_compiler_wl='-Wl,-Wl,,'
13059        lt_prog_compiler_pic='-PIC'
13060        lt_prog_compiler_static='-Bstatic'
13061        ;;
13062      esac
13063      ;;
13064
13065    mingw* | cygwin* | pw32* | os2* | cegcc*)
13066      # This hack is so that the source file can tell whether it is being
13067      # built for inclusion in a dll (and should export symbols for example).
13068      lt_prog_compiler_pic='-DDLL_EXPORT'
13069      case $host_os in
13070      os2*)
13071	lt_prog_compiler_static='$wl-static'
13072	;;
13073      esac
13074      ;;
13075
13076    hpux9* | hpux10* | hpux11*)
13077      lt_prog_compiler_wl='-Wl,'
13078      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13079      # not for PA HP-UX.
13080      case $host_cpu in
13081      hppa*64*|ia64*)
13082	# +Z the default
13083	;;
13084      *)
13085	lt_prog_compiler_pic='+Z'
13086	;;
13087      esac
13088      # Is there a better lt_prog_compiler_static that works with the bundled CC?
13089      lt_prog_compiler_static='$wl-a ${wl}archive'
13090      ;;
13091
13092    irix5* | irix6* | nonstopux*)
13093      lt_prog_compiler_wl='-Wl,'
13094      # PIC (with -KPIC) is the default.
13095      lt_prog_compiler_static='-non_shared'
13096      ;;
13097
13098    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13099      case $cc_basename in
13100      # old Intel for x86_64, which still supported -KPIC.
13101      ecc*)
13102	lt_prog_compiler_wl='-Wl,'
13103	lt_prog_compiler_pic='-KPIC'
13104	lt_prog_compiler_static='-static'
13105        ;;
13106      # flang / f18. f95 an alias for gfortran or flang on Debian
13107      flang* | f18* | f95*)
13108	lt_prog_compiler_wl='-Wl,'
13109	lt_prog_compiler_pic='-fPIC'
13110	lt_prog_compiler_static='-static'
13111        ;;
13112      # icc used to be incompatible with GCC.
13113      # ICC 10 doesn't accept -KPIC any more.
13114      icc* | ifort*)
13115	lt_prog_compiler_wl='-Wl,'
13116	lt_prog_compiler_pic='-fPIC'
13117	lt_prog_compiler_static='-static'
13118        ;;
13119      # Lahey Fortran 8.1.
13120      lf95*)
13121	lt_prog_compiler_wl='-Wl,'
13122	lt_prog_compiler_pic='--shared'
13123	lt_prog_compiler_static='--static'
13124	;;
13125      nagfor*)
13126	# NAG Fortran compiler
13127	lt_prog_compiler_wl='-Wl,-Wl,,'
13128	lt_prog_compiler_pic='-PIC'
13129	lt_prog_compiler_static='-Bstatic'
13130	;;
13131      tcc*)
13132	# Fabrice Bellard et al's Tiny C Compiler
13133	lt_prog_compiler_wl='-Wl,'
13134	lt_prog_compiler_pic='-fPIC'
13135	lt_prog_compiler_static='-static'
13136	;;
13137      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13138        # Portland Group compilers (*not* the Pentium gcc compiler,
13139	# which looks to be a dead project)
13140	lt_prog_compiler_wl='-Wl,'
13141	lt_prog_compiler_pic='-fpic'
13142	lt_prog_compiler_static='-Bstatic'
13143        ;;
13144      ccc*)
13145        lt_prog_compiler_wl='-Wl,'
13146        # All Alpha code is PIC.
13147        lt_prog_compiler_static='-non_shared'
13148        ;;
13149      xl* | bgxl* | bgf* | mpixl*)
13150	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13151	lt_prog_compiler_wl='-Wl,'
13152	lt_prog_compiler_pic='-qpic'
13153	lt_prog_compiler_static='-qstaticlink'
13154	;;
13155      *)
13156	case `$CC -V 2>&1 | sed 5q` in
13157	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13158	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
13159	  lt_prog_compiler_pic='-KPIC'
13160	  lt_prog_compiler_static='-Bstatic'
13161	  lt_prog_compiler_wl=''
13162	  ;;
13163	*Sun\ F* | *Sun*Fortran*)
13164	  lt_prog_compiler_pic='-KPIC'
13165	  lt_prog_compiler_static='-Bstatic'
13166	  lt_prog_compiler_wl='-Qoption ld '
13167	  ;;
13168	*Sun\ C*)
13169	  # Sun C 5.9
13170	  lt_prog_compiler_pic='-KPIC'
13171	  lt_prog_compiler_static='-Bstatic'
13172	  lt_prog_compiler_wl='-Wl,'
13173	  ;;
13174        *Intel*\ [CF]*Compiler*)
13175	  lt_prog_compiler_wl='-Wl,'
13176	  lt_prog_compiler_pic='-fPIC'
13177	  lt_prog_compiler_static='-static'
13178	  ;;
13179	*Portland\ Group*)
13180	  lt_prog_compiler_wl='-Wl,'
13181	  lt_prog_compiler_pic='-fpic'
13182	  lt_prog_compiler_static='-Bstatic'
13183	  ;;
13184	esac
13185	;;
13186      esac
13187      ;;
13188
13189    newsos6)
13190      lt_prog_compiler_pic='-KPIC'
13191      lt_prog_compiler_static='-Bstatic'
13192      ;;
13193
13194    *nto* | *qnx*)
13195      # QNX uses GNU C++, but need to define -shared option too, otherwise
13196      # it will coredump.
13197      lt_prog_compiler_pic='-fPIC -shared'
13198      ;;
13199
13200    osf3* | osf4* | osf5*)
13201      lt_prog_compiler_wl='-Wl,'
13202      # All OSF/1 code is PIC.
13203      lt_prog_compiler_static='-non_shared'
13204      ;;
13205
13206    rdos*)
13207      lt_prog_compiler_static='-non_shared'
13208      ;;
13209
13210    solaris*)
13211      lt_prog_compiler_pic='-KPIC'
13212      lt_prog_compiler_static='-Bstatic'
13213      case $cc_basename in
13214      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
13215	lt_prog_compiler_wl='-Qoption ld ';;
13216      *)
13217	lt_prog_compiler_wl='-Wl,';;
13218      esac
13219      ;;
13220
13221    sunos4*)
13222      lt_prog_compiler_wl='-Qoption ld '
13223      lt_prog_compiler_pic='-PIC'
13224      lt_prog_compiler_static='-Bstatic'
13225      ;;
13226
13227    sysv4 | sysv4.2uw2* | sysv4.3*)
13228      lt_prog_compiler_wl='-Wl,'
13229      lt_prog_compiler_pic='-KPIC'
13230      lt_prog_compiler_static='-Bstatic'
13231      ;;
13232
13233    sysv4*MP*)
13234      if test -d /usr/nec; then
13235	lt_prog_compiler_pic='-Kconform_pic'
13236	lt_prog_compiler_static='-Bstatic'
13237      fi
13238      ;;
13239
13240    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13241      lt_prog_compiler_wl='-Wl,'
13242      lt_prog_compiler_pic='-KPIC'
13243      lt_prog_compiler_static='-Bstatic'
13244      ;;
13245
13246    unicos*)
13247      lt_prog_compiler_wl='-Wl,'
13248      lt_prog_compiler_can_build_shared=no
13249      ;;
13250
13251    uts4*)
13252      lt_prog_compiler_pic='-pic'
13253      lt_prog_compiler_static='-Bstatic'
13254      ;;
13255
13256    *)
13257      lt_prog_compiler_can_build_shared=no
13258      ;;
13259    esac
13260  fi
13261
13262case $host_os in
13263  # For platforms that do not support PIC, -DPIC is meaningless:
13264  *djgpp*)
13265    lt_prog_compiler_pic=
13266    ;;
13267  *)
13268    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13269    ;;
13270esac
13271
13272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13273$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13274if ${lt_cv_prog_compiler_pic+:} false; then :
13275  $as_echo_n "(cached) " >&6
13276else
13277  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
13278fi
13279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
13280$as_echo "$lt_cv_prog_compiler_pic" >&6; }
13281lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
13282
13283#
13284# Check to make sure the PIC flag actually works.
13285#
13286if test -n "$lt_prog_compiler_pic"; then
13287  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
13288$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
13289if ${lt_cv_prog_compiler_pic_works+:} false; then :
13290  $as_echo_n "(cached) " >&6
13291else
13292  lt_cv_prog_compiler_pic_works=no
13293   ac_outfile=conftest.$ac_objext
13294   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13295   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
13296   # Insert the option either (1) after the last *FLAGS variable, or
13297   # (2) before a word containing "conftest.", or (3) at the end.
13298   # Note that $ac_compile itself does not contain backslashes and begins
13299   # with a dollar sign (not a hyphen), so the echo should work correctly.
13300   # The option is referenced via a variable to avoid confusing sed.
13301   lt_compile=`echo "$ac_compile" | $SED \
13302   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13303   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13304   -e 's:$: $lt_compiler_flag:'`
13305   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13306   (eval "$lt_compile" 2>conftest.err)
13307   ac_status=$?
13308   cat conftest.err >&5
13309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310   if (exit $ac_status) && test -s "$ac_outfile"; then
13311     # The compiler can only warn and ignore the option if not recognized
13312     # So say no if there are warnings other than the usual output.
13313     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13314     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13315     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13316       lt_cv_prog_compiler_pic_works=yes
13317     fi
13318   fi
13319   $RM conftest*
13320
13321fi
13322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
13323$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
13324
13325if test yes = "$lt_cv_prog_compiler_pic_works"; then
13326    case $lt_prog_compiler_pic in
13327     "" | " "*) ;;
13328     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
13329     esac
13330else
13331    lt_prog_compiler_pic=
13332     lt_prog_compiler_can_build_shared=no
13333fi
13334
13335fi
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347#
13348# Check to make sure the static flag actually works.
13349#
13350wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
13351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13352$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13353if ${lt_cv_prog_compiler_static_works+:} false; then :
13354  $as_echo_n "(cached) " >&6
13355else
13356  lt_cv_prog_compiler_static_works=no
13357   save_LDFLAGS=$LDFLAGS
13358   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13359   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13360   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13361     # The linker can only warn and ignore the option if not recognized
13362     # So say no if there are warnings
13363     if test -s conftest.err; then
13364       # Append any errors to the config.log.
13365       cat conftest.err 1>&5
13366       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13367       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13368       if diff conftest.exp conftest.er2 >/dev/null; then
13369         lt_cv_prog_compiler_static_works=yes
13370       fi
13371     else
13372       lt_cv_prog_compiler_static_works=yes
13373     fi
13374   fi
13375   $RM -r conftest*
13376   LDFLAGS=$save_LDFLAGS
13377
13378fi
13379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
13380$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
13381
13382if test yes = "$lt_cv_prog_compiler_static_works"; then
13383    :
13384else
13385    lt_prog_compiler_static=
13386fi
13387
13388
13389
13390
13391
13392
13393
13394  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13395$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13396if ${lt_cv_prog_compiler_c_o+:} false; then :
13397  $as_echo_n "(cached) " >&6
13398else
13399  lt_cv_prog_compiler_c_o=no
13400   $RM -r conftest 2>/dev/null
13401   mkdir conftest
13402   cd conftest
13403   mkdir out
13404   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13405
13406   lt_compiler_flag="-o out/conftest2.$ac_objext"
13407   # Insert the option either (1) after the last *FLAGS variable, or
13408   # (2) before a word containing "conftest.", or (3) at the end.
13409   # Note that $ac_compile itself does not contain backslashes and begins
13410   # with a dollar sign (not a hyphen), so the echo should work correctly.
13411   lt_compile=`echo "$ac_compile" | $SED \
13412   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13413   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13414   -e 's:$: $lt_compiler_flag:'`
13415   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13416   (eval "$lt_compile" 2>out/conftest.err)
13417   ac_status=$?
13418   cat out/conftest.err >&5
13419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13421   then
13422     # The compiler can only warn and ignore the option if not recognized
13423     # So say no if there are warnings
13424     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13425     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13426     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13427       lt_cv_prog_compiler_c_o=yes
13428     fi
13429   fi
13430   chmod u+w . 2>&5
13431   $RM conftest*
13432   # SGI C++ compiler will create directory out/ii_files/ for
13433   # template instantiation
13434   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13435   $RM out/* && rmdir out
13436   cd ..
13437   $RM -r conftest
13438   $RM conftest*
13439
13440fi
13441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
13442$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
13443
13444
13445
13446
13447
13448
13449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13450$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13451if ${lt_cv_prog_compiler_c_o+:} false; then :
13452  $as_echo_n "(cached) " >&6
13453else
13454  lt_cv_prog_compiler_c_o=no
13455   $RM -r conftest 2>/dev/null
13456   mkdir conftest
13457   cd conftest
13458   mkdir out
13459   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13460
13461   lt_compiler_flag="-o out/conftest2.$ac_objext"
13462   # Insert the option either (1) after the last *FLAGS variable, or
13463   # (2) before a word containing "conftest.", or (3) at the end.
13464   # Note that $ac_compile itself does not contain backslashes and begins
13465   # with a dollar sign (not a hyphen), so the echo should work correctly.
13466   lt_compile=`echo "$ac_compile" | $SED \
13467   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13468   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13469   -e 's:$: $lt_compiler_flag:'`
13470   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13471   (eval "$lt_compile" 2>out/conftest.err)
13472   ac_status=$?
13473   cat out/conftest.err >&5
13474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13476   then
13477     # The compiler can only warn and ignore the option if not recognized
13478     # So say no if there are warnings
13479     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13480     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13481     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13482       lt_cv_prog_compiler_c_o=yes
13483     fi
13484   fi
13485   chmod u+w . 2>&5
13486   $RM conftest*
13487   # SGI C++ compiler will create directory out/ii_files/ for
13488   # template instantiation
13489   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13490   $RM out/* && rmdir out
13491   cd ..
13492   $RM -r conftest
13493   $RM conftest*
13494
13495fi
13496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
13497$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
13498
13499
13500
13501
13502hard_links=nottested
13503if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
13504  # do not overwrite the value of need_locks provided by the user
13505  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13506$as_echo_n "checking if we can lock with hard links... " >&6; }
13507  hard_links=yes
13508  $RM conftest*
13509  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13510  touch conftest.a
13511  ln conftest.a conftest.b 2>&5 || hard_links=no
13512  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13514$as_echo "$hard_links" >&6; }
13515  if test no = "$hard_links"; then
13516    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
13517$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
13518    need_locks=warn
13519  fi
13520else
13521  need_locks=no
13522fi
13523
13524
13525
13526
13527
13528
13529  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13530$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13531
13532  runpath_var=
13533  allow_undefined_flag=
13534  always_export_symbols=no
13535  archive_cmds=
13536  archive_expsym_cmds=
13537  compiler_needs_object=no
13538  enable_shared_with_static_runtimes=no
13539  export_dynamic_flag_spec=
13540  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13541  hardcode_automatic=no
13542  hardcode_direct=no
13543  hardcode_direct_absolute=no
13544  hardcode_libdir_flag_spec=
13545  hardcode_libdir_separator=
13546  hardcode_minus_L=no
13547  hardcode_shlibpath_var=unsupported
13548  inherit_rpath=no
13549  link_all_deplibs=unknown
13550  module_cmds=
13551  module_expsym_cmds=
13552  old_archive_from_new_cmds=
13553  old_archive_from_expsyms_cmds=
13554  thread_safe_flag_spec=
13555  whole_archive_flag_spec=
13556  # include_expsyms should be a list of space-separated symbols to be *always*
13557  # included in the symbol list
13558  include_expsyms=
13559  # exclude_expsyms can be an extended regexp of symbols to exclude
13560  # it will be wrapped by ' (' and ')$', so one must not match beginning or
13561  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
13562  # as well as any symbol that contains 'd'.
13563  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13564  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13565  # platforms (ab)use it in PIC code, but their linkers get confused if
13566  # the symbol is explicitly referenced.  Since portable code cannot
13567  # rely on this symbol name, it's probably fine to never include it in
13568  # preloaded symbol tables.
13569  # Exclude shared library initialization/finalization symbols.
13570  extract_expsyms_cmds=
13571
13572  case $host_os in
13573  cygwin* | mingw* | pw32* | cegcc*)
13574    # FIXME: the MSVC++ port hasn't been tested in a loooong time
13575    # When not using gcc, we currently assume that we are using
13576    # Microsoft Visual C++.
13577    if test yes != "$GCC"; then
13578      with_gnu_ld=no
13579    fi
13580    ;;
13581  interix*)
13582    # we just hope/assume this is gcc and not c89 (= MSVC++)
13583    with_gnu_ld=yes
13584    ;;
13585  openbsd* | bitrig*)
13586    with_gnu_ld=no
13587    ;;
13588  linux* | k*bsd*-gnu | gnu*)
13589    link_all_deplibs=no
13590    ;;
13591  esac
13592
13593  ld_shlibs=yes
13594
13595  # On some targets, GNU ld is compatible enough with the native linker
13596  # that we're better off using the native interface for both.
13597  lt_use_gnu_ld_interface=no
13598  if test yes = "$with_gnu_ld"; then
13599    case $host_os in
13600      aix*)
13601	# The AIX port of GNU ld has always aspired to compatibility
13602	# with the native linker.  However, as the warning in the GNU ld
13603	# block says, versions before 2.19.5* couldn't really create working
13604	# shared libraries, regardless of the interface used.
13605	case `$LD -v 2>&1` in
13606	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13607	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13608	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13609	  *)
13610	    lt_use_gnu_ld_interface=yes
13611	    ;;
13612	esac
13613	;;
13614      *)
13615	lt_use_gnu_ld_interface=yes
13616	;;
13617    esac
13618  fi
13619
13620  if test yes = "$lt_use_gnu_ld_interface"; then
13621    # If archive_cmds runs LD, not CC, wlarc should be empty
13622    wlarc='$wl'
13623
13624    # Set some defaults for GNU ld with shared library support. These
13625    # are reset later if shared libraries are not supported. Putting them
13626    # here allows them to be overridden if necessary.
13627    runpath_var=LD_RUN_PATH
13628    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13629    export_dynamic_flag_spec='$wl--export-dynamic'
13630    # ancient GNU ld didn't support --whole-archive et. al.
13631    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13632      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13633    else
13634      whole_archive_flag_spec=
13635    fi
13636    supports_anon_versioning=no
13637    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
13638      *GNU\ gold*) supports_anon_versioning=yes ;;
13639      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13640      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13641      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13642      *\ 2.11.*) ;; # other 2.11 versions
13643      *) supports_anon_versioning=yes ;;
13644    esac
13645
13646    # See if GNU ld supports shared libraries.
13647    case $host_os in
13648    aix[3-9]*)
13649      # On AIX/PPC, the GNU linker is very broken
13650      if test ia64 != "$host_cpu"; then
13651	ld_shlibs=no
13652	cat <<_LT_EOF 1>&2
13653
13654*** Warning: the GNU linker, at least up to release 2.19, is reported
13655*** to be unable to reliably create shared libraries on AIX.
13656*** Therefore, libtool is disabling shared libraries support.  If you
13657*** really care for shared libraries, you may want to install binutils
13658*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13659*** You will then need to restart the configuration process.
13660
13661_LT_EOF
13662      fi
13663      ;;
13664
13665    amigaos*)
13666      case $host_cpu in
13667      powerpc)
13668            # see comment about AmigaOS4 .so support
13669            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13670            archive_expsym_cmds=''
13671        ;;
13672      m68k)
13673            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)'
13674            hardcode_libdir_flag_spec='-L$libdir'
13675            hardcode_minus_L=yes
13676        ;;
13677      esac
13678      ;;
13679
13680    beos*)
13681      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13682	allow_undefined_flag=unsupported
13683	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13684	# support --undefined.  This deserves some investigation.  FIXME
13685	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13686      else
13687	ld_shlibs=no
13688      fi
13689      ;;
13690
13691    cygwin* | mingw* | pw32* | cegcc*)
13692      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
13693      # as there is no search path for DLLs.
13694      hardcode_libdir_flag_spec='-L$libdir'
13695      export_dynamic_flag_spec='$wl--export-all-symbols'
13696      allow_undefined_flag=unsupported
13697      always_export_symbols=no
13698      enable_shared_with_static_runtimes=yes
13699      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'
13700      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
13701
13702      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13703        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13704	# If the export-symbols file already is a .def file, use it as
13705	# is; otherwise, prepend EXPORTS...
13706	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13707          cp $export_symbols $output_objdir/$soname.def;
13708        else
13709          echo EXPORTS > $output_objdir/$soname.def;
13710          cat $export_symbols >> $output_objdir/$soname.def;
13711        fi~
13712        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13713      else
13714	ld_shlibs=no
13715      fi
13716      ;;
13717
13718    haiku*)
13719      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13720      link_all_deplibs=yes
13721      ;;
13722
13723    os2*)
13724      hardcode_libdir_flag_spec='-L$libdir'
13725      hardcode_minus_L=yes
13726      allow_undefined_flag=unsupported
13727      shrext_cmds=.dll
13728      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13729	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13730	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13731	$ECHO EXPORTS >> $output_objdir/$libname.def~
13732	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13733	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13734	emximp -o $lib $output_objdir/$libname.def'
13735      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13736	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13737	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13738	$ECHO EXPORTS >> $output_objdir/$libname.def~
13739	prefix_cmds="$SED"~
13740	if test EXPORTS = "`$SED 1q $export_symbols`"; then
13741	  prefix_cmds="$prefix_cmds -e 1d";
13742	fi~
13743	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13744	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13745	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13746	emximp -o $lib $output_objdir/$libname.def'
13747      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13748      enable_shared_with_static_runtimes=yes
13749      ;;
13750
13751    interix[3-9]*)
13752      hardcode_direct=no
13753      hardcode_shlibpath_var=no
13754      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13755      export_dynamic_flag_spec='$wl-E'
13756      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13757      # Instead, shared libraries are loaded at an image base (0x10000000 by
13758      # default) and relocated if they conflict, which is a slow very memory
13759      # consuming and fragmenting process.  To avoid this, we pick a random,
13760      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13761      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13762      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13763      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'
13764      ;;
13765
13766    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13767      tmp_diet=no
13768      if test linux-dietlibc = "$host_os"; then
13769	case $cc_basename in
13770	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
13771	esac
13772      fi
13773      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13774	 && test no = "$tmp_diet"
13775      then
13776	tmp_addflag=' $pic_flag'
13777	tmp_sharedflag='-shared'
13778	case $cc_basename,$host_cpu in
13779        pgcc*)				# Portland Group C compiler
13780	  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'
13781	  tmp_addflag=' $pic_flag'
13782	  ;;
13783	pgf77* | pgf90* | pgf95* | pgfortran*)
13784					# Portland Group f77 and f90 compilers
13785	  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'
13786	  tmp_addflag=' $pic_flag -Mnomain' ;;
13787	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
13788	  tmp_addflag=' -i_dynamic' ;;
13789	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
13790	  tmp_addflag=' -i_dynamic -nofor_main' ;;
13791	ifc* | ifort*)			# Intel Fortran compiler
13792	  tmp_addflag=' -nofor_main' ;;
13793	lf95*)				# Lahey Fortran 8.1
13794	  whole_archive_flag_spec=
13795	  tmp_sharedflag='--shared' ;;
13796        nagfor*)                        # NAGFOR 5.3
13797          tmp_sharedflag='-Wl,-shared' ;;
13798	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13799	  tmp_sharedflag='-qmkshrobj'
13800	  tmp_addflag= ;;
13801	nvcc*)	# Cuda Compiler Driver 2.2
13802	  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'
13803	  compiler_needs_object=yes
13804	  ;;
13805	esac
13806	case `$CC -V 2>&1 | sed 5q` in
13807	*Sun\ C*)			# Sun C 5.9
13808	  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'
13809	  compiler_needs_object=yes
13810	  tmp_sharedflag='-G' ;;
13811	*Sun\ F*)			# Sun Fortran 8.3
13812	  tmp_sharedflag='-G' ;;
13813	esac
13814	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13815
13816        if test yes = "$supports_anon_versioning"; then
13817          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
13818            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13819            echo "local: *; };" >> $output_objdir/$libname.ver~
13820            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
13821        fi
13822
13823	case $cc_basename in
13824	tcc*)
13825	  export_dynamic_flag_spec='-rdynamic'
13826	  ;;
13827	xlf* | bgf* | bgxlf* | mpixlf*)
13828	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13829	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
13830	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13831	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
13832	  if test yes = "$supports_anon_versioning"; then
13833	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
13834              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13835              echo "local: *; };" >> $output_objdir/$libname.ver~
13836              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13837	  fi
13838	  ;;
13839	esac
13840      else
13841        ld_shlibs=no
13842      fi
13843      ;;
13844
13845    netbsd* | netbsdelf*-gnu)
13846      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13847	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13848	wlarc=
13849      else
13850	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13851	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13852      fi
13853      ;;
13854
13855    solaris*)
13856      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13857	ld_shlibs=no
13858	cat <<_LT_EOF 1>&2
13859
13860*** Warning: The releases 2.8.* of the GNU linker cannot reliably
13861*** create shared libraries on Solaris systems.  Therefore, libtool
13862*** is disabling shared libraries support.  We urge you to upgrade GNU
13863*** binutils to release 2.9.1 or newer.  Another option is to modify
13864*** your PATH or compiler configuration so that the native linker is
13865*** used, and then restart.
13866
13867_LT_EOF
13868      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13869	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13870	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13871      else
13872	ld_shlibs=no
13873      fi
13874      ;;
13875
13876    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13877      case `$LD -v 2>&1` in
13878        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13879	ld_shlibs=no
13880	cat <<_LT_EOF 1>&2
13881
13882*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
13883*** reliably create shared libraries on SCO systems.  Therefore, libtool
13884*** is disabling shared libraries support.  We urge you to upgrade GNU
13885*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
13886*** your PATH or compiler configuration so that the native linker is
13887*** used, and then restart.
13888
13889_LT_EOF
13890	;;
13891	*)
13892	  # For security reasons, it is highly recommended that you always
13893	  # use absolute paths for naming shared libraries, and exclude the
13894	  # DT_RUNPATH tag from executables and libraries.  But doing so
13895	  # requires that you compile everything twice, which is a pain.
13896	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13897	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13898	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13899	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13900	  else
13901	    ld_shlibs=no
13902	  fi
13903	;;
13904      esac
13905      ;;
13906
13907    sunos4*)
13908      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13909      wlarc=
13910      hardcode_direct=yes
13911      hardcode_shlibpath_var=no
13912      ;;
13913
13914    *)
13915      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13916	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13917	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13918      else
13919	ld_shlibs=no
13920      fi
13921      ;;
13922    esac
13923
13924    if test no = "$ld_shlibs"; then
13925      runpath_var=
13926      hardcode_libdir_flag_spec=
13927      export_dynamic_flag_spec=
13928      whole_archive_flag_spec=
13929    fi
13930  else
13931    # PORTME fill in a description of your system's linker (not GNU ld)
13932    case $host_os in
13933    aix3*)
13934      allow_undefined_flag=unsupported
13935      always_export_symbols=yes
13936      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'
13937      # Note: this linker hardcodes the directories in LIBPATH if there
13938      # are no directories specified by -L.
13939      hardcode_minus_L=yes
13940      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
13941	# Neither direct hardcoding nor static linking is supported with a
13942	# broken collect2.
13943	hardcode_direct=unsupported
13944      fi
13945      ;;
13946
13947    aix[4-9]*)
13948      if test ia64 = "$host_cpu"; then
13949	# On IA64, the linker does run time linking by default, so we don't
13950	# have to do anything special.
13951	aix_use_runtimelinking=no
13952	exp_sym_flag='-Bexport'
13953	no_entry_flag=
13954      else
13955	# If we're using GNU nm, then we don't want the "-C" option.
13956	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
13957	# Without the "-l" option, or with the "-B" option, AIX nm treats
13958	# weak defined symbols like other global defined symbols, whereas
13959	# GNU nm marks them as "W".
13960	# While the 'weak' keyword is ignored in the Export File, we need
13961	# it in the Import File for the 'aix-soname' feature, so we have
13962	# to replace the "-B" option with "-P" for AIX nm.
13963	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13964	  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'
13965	else
13966	  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'
13967	fi
13968	aix_use_runtimelinking=no
13969
13970	# Test if we are trying to use run time linking or normal
13971	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
13972	# have runtime linking enabled, and use it for executables.
13973	# For shared libraries, we enable/disable runtime linking
13974	# depending on the kind of the shared library created -
13975	# when "with_aix_soname,aix_use_runtimelinking" is:
13976	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
13977	# "aix,yes"  lib.so          shared, rtl:yes, for executables
13978	#            lib.a           static archive
13979	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
13980	#            lib.a(lib.so.V) shared, rtl:no,  for executables
13981	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13982	#            lib.a(lib.so.V) shared, rtl:no
13983	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
13984	#            lib.a           static archive
13985	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13986	  for ld_flag in $LDFLAGS; do
13987	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
13988	    aix_use_runtimelinking=yes
13989	    break
13990	  fi
13991	  done
13992	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13993	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
13994	    # so we don't have lib.a shared libs to link our executables.
13995	    # We have to force runtime linking in this case.
13996	    aix_use_runtimelinking=yes
13997	    LDFLAGS="$LDFLAGS -Wl,-brtl"
13998	  fi
13999	  ;;
14000	esac
14001
14002	exp_sym_flag='-bexport'
14003	no_entry_flag='-bnoentry'
14004      fi
14005
14006      # When large executables or shared objects are built, AIX ld can
14007      # have problems creating the table of contents.  If linking a library
14008      # or program results in "error TOC overflow" add -mminimal-toc to
14009      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14010      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14011
14012      archive_cmds=''
14013      hardcode_direct=yes
14014      hardcode_direct_absolute=yes
14015      hardcode_libdir_separator=':'
14016      link_all_deplibs=yes
14017      file_list_spec='$wl-f,'
14018      case $with_aix_soname,$aix_use_runtimelinking in
14019      aix,*) ;; # traditional, no import file
14020      svr4,* | *,yes) # use import file
14021	# The Import File defines what to hardcode.
14022	hardcode_direct=no
14023	hardcode_direct_absolute=no
14024	;;
14025      esac
14026
14027      if test yes = "$GCC"; then
14028	case $host_os in aix4.[012]|aix4.[012].*)
14029	# We only want to do this on AIX 4.2 and lower, the check
14030	# below for broken collect2 doesn't work under 4.3+
14031	  collect2name=`$CC -print-prog-name=collect2`
14032	  if test -f "$collect2name" &&
14033	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14034	  then
14035	  # We have reworked collect2
14036	  :
14037	  else
14038	  # We have old collect2
14039	  hardcode_direct=unsupported
14040	  # It fails to find uninstalled libraries when the uninstalled
14041	  # path is not listed in the libpath.  Setting hardcode_minus_L
14042	  # to unsupported forces relinking
14043	  hardcode_minus_L=yes
14044	  hardcode_libdir_flag_spec='-L$libdir'
14045	  hardcode_libdir_separator=
14046	  fi
14047	  ;;
14048	esac
14049	shared_flag='-shared'
14050	if test yes = "$aix_use_runtimelinking"; then
14051	  shared_flag="$shared_flag "'$wl-G'
14052	fi
14053	# Need to ensure runtime linking is disabled for the traditional
14054	# shared library, or the linker may eventually find shared libraries
14055	# /with/ Import File - we do not want to mix them.
14056	shared_flag_aix='-shared'
14057	shared_flag_svr4='-shared $wl-G'
14058      else
14059	# not using gcc
14060	if test ia64 = "$host_cpu"; then
14061	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14062	# chokes on -Wl,-G. The following line is correct:
14063	  shared_flag='-G'
14064	else
14065	  if test yes = "$aix_use_runtimelinking"; then
14066	    shared_flag='$wl-G'
14067	  else
14068	    shared_flag='$wl-bM:SRE'
14069	  fi
14070	  shared_flag_aix='$wl-bM:SRE'
14071	  shared_flag_svr4='$wl-G'
14072	fi
14073      fi
14074
14075      export_dynamic_flag_spec='$wl-bexpall'
14076      # It seems that -bexpall does not export symbols beginning with
14077      # underscore (_), so it is better to generate a list of symbols to export.
14078      always_export_symbols=yes
14079      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14080	# Warning - without using the other runtime loading flags (-brtl),
14081	# -berok will link without error, but may produce a broken library.
14082	allow_undefined_flag='-berok'
14083        # Determine the default libpath from the value encoded in an
14084        # empty executable.
14085        if test set = "${lt_cv_aix_libpath+set}"; then
14086  aix_libpath=$lt_cv_aix_libpath
14087else
14088  if ${lt_cv_aix_libpath_+:} false; then :
14089  $as_echo_n "(cached) " >&6
14090else
14091  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14092/* end confdefs.h.  */
14093
14094int
14095main ()
14096{
14097
14098  ;
14099  return 0;
14100}
14101_ACEOF
14102if ac_fn_c_try_link "$LINENO"; then :
14103
14104  lt_aix_libpath_sed='
14105      /Import File Strings/,/^$/ {
14106	  /^0/ {
14107	      s/^0  *\([^ ]*\) *$/\1/
14108	      p
14109	  }
14110      }'
14111  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14112  # Check for a 64-bit object if we didn't find anything.
14113  if test -z "$lt_cv_aix_libpath_"; then
14114    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14115  fi
14116fi
14117rm -f core conftest.err conftest.$ac_objext \
14118    conftest$ac_exeext conftest.$ac_ext
14119  if test -z "$lt_cv_aix_libpath_"; then
14120    lt_cv_aix_libpath_=/usr/lib:/lib
14121  fi
14122
14123fi
14124
14125  aix_libpath=$lt_cv_aix_libpath_
14126fi
14127
14128        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
14129        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
14130      else
14131	if test ia64 = "$host_cpu"; then
14132	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
14133	  allow_undefined_flag="-z nodefs"
14134	  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"
14135	else
14136	 # Determine the default libpath from the value encoded in an
14137	 # empty executable.
14138	 if test set = "${lt_cv_aix_libpath+set}"; then
14139  aix_libpath=$lt_cv_aix_libpath
14140else
14141  if ${lt_cv_aix_libpath_+:} false; then :
14142  $as_echo_n "(cached) " >&6
14143else
14144  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14145/* end confdefs.h.  */
14146
14147int
14148main ()
14149{
14150
14151  ;
14152  return 0;
14153}
14154_ACEOF
14155if ac_fn_c_try_link "$LINENO"; then :
14156
14157  lt_aix_libpath_sed='
14158      /Import File Strings/,/^$/ {
14159	  /^0/ {
14160	      s/^0  *\([^ ]*\) *$/\1/
14161	      p
14162	  }
14163      }'
14164  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14165  # Check for a 64-bit object if we didn't find anything.
14166  if test -z "$lt_cv_aix_libpath_"; then
14167    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14168  fi
14169fi
14170rm -f core conftest.err conftest.$ac_objext \
14171    conftest$ac_exeext conftest.$ac_ext
14172  if test -z "$lt_cv_aix_libpath_"; then
14173    lt_cv_aix_libpath_=/usr/lib:/lib
14174  fi
14175
14176fi
14177
14178  aix_libpath=$lt_cv_aix_libpath_
14179fi
14180
14181	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
14182	  # Warning - without using the other run time loading flags,
14183	  # -berok will link without error, but may produce a broken library.
14184	  no_undefined_flag=' $wl-bernotok'
14185	  allow_undefined_flag=' $wl-berok'
14186	  if test yes = "$with_gnu_ld"; then
14187	    # We only use this code for GNU lds that support --whole-archive.
14188	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
14189	  else
14190	    # Exported symbols can be pulled into shared objects from archives
14191	    whole_archive_flag_spec='$convenience'
14192	  fi
14193	  archive_cmds_need_lc=yes
14194	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14195	  # -brtl affects multiple linker settings, -berok does not and is overridden later
14196	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14197	  if test svr4 != "$with_aix_soname"; then
14198	    # This is similar to how AIX traditionally builds its shared libraries.
14199	    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'
14200	  fi
14201	  if test aix != "$with_aix_soname"; then
14202	    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'
14203	  else
14204	    # used by -dlpreopen to get the symbols
14205	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14206	  fi
14207	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
14208	fi
14209      fi
14210      ;;
14211
14212    amigaos*)
14213      case $host_cpu in
14214      powerpc)
14215            # see comment about AmigaOS4 .so support
14216            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14217            archive_expsym_cmds=''
14218        ;;
14219      m68k)
14220            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)'
14221            hardcode_libdir_flag_spec='-L$libdir'
14222            hardcode_minus_L=yes
14223        ;;
14224      esac
14225      ;;
14226
14227    bsdi[45]*)
14228      export_dynamic_flag_spec=-rdynamic
14229      ;;
14230
14231    cygwin* | mingw* | pw32* | cegcc*)
14232      # When not using gcc, we currently assume that we are using
14233      # Microsoft Visual C++.
14234      # hardcode_libdir_flag_spec is actually meaningless, as there is
14235      # no search path for DLLs.
14236      case $cc_basename in
14237      cl*)
14238	# Native MSVC
14239	hardcode_libdir_flag_spec=' '
14240	allow_undefined_flag=unsupported
14241	always_export_symbols=yes
14242	file_list_spec='@'
14243	# Tell ltmain to make .lib files, not .a files.
14244	libext=lib
14245	# Tell ltmain to make .dll files, not .so files.
14246	shrext_cmds=.dll
14247	# FIXME: Setting linknames here is a bad hack.
14248	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14249	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14250            cp "$export_symbols" "$output_objdir/$soname.def";
14251            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14252          else
14253            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14254          fi~
14255          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14256          linknames='
14257	# The linker will not automatically build a static lib if we build a DLL.
14258	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
14259	enable_shared_with_static_runtimes=yes
14260	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14261	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14262	# Don't use ranlib
14263	old_postinstall_cmds='chmod 644 $oldlib'
14264	postlink_cmds='lt_outputfile="@OUTPUT@"~
14265          lt_tool_outputfile="@TOOL_OUTPUT@"~
14266          case $lt_outputfile in
14267            *.exe|*.EXE) ;;
14268            *)
14269              lt_outputfile=$lt_outputfile.exe
14270              lt_tool_outputfile=$lt_tool_outputfile.exe
14271              ;;
14272          esac~
14273          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14274            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14275            $RM "$lt_outputfile.manifest";
14276          fi'
14277	;;
14278      *)
14279	# Assume MSVC wrapper
14280	hardcode_libdir_flag_spec=' '
14281	allow_undefined_flag=unsupported
14282	# Tell ltmain to make .lib files, not .a files.
14283	libext=lib
14284	# Tell ltmain to make .dll files, not .so files.
14285	shrext_cmds=.dll
14286	# FIXME: Setting linknames here is a bad hack.
14287	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14288	# The linker will automatically build a .lib file if we build a DLL.
14289	old_archive_from_new_cmds='true'
14290	# FIXME: Should let the user specify the lib program.
14291	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
14292	enable_shared_with_static_runtimes=yes
14293	;;
14294      esac
14295      ;;
14296
14297    darwin* | rhapsody*)
14298
14299
14300  archive_cmds_need_lc=no
14301  hardcode_direct=no
14302  hardcode_automatic=yes
14303  hardcode_shlibpath_var=unsupported
14304  if test yes = "$lt_cv_ld_force_load"; then
14305    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\"`'
14306
14307  else
14308    whole_archive_flag_spec=''
14309  fi
14310  link_all_deplibs=yes
14311  allow_undefined_flag=$_lt_dar_allow_undefined
14312  case $cc_basename in
14313     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14314     *) _lt_dar_can_shared=$GCC ;;
14315  esac
14316  if test yes = "$_lt_dar_can_shared"; then
14317    output_verbose_link_cmd=func_echo_all
14318    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
14319    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14320    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"
14321    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"
14322
14323  else
14324  ld_shlibs=no
14325  fi
14326
14327      ;;
14328
14329    dgux*)
14330      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14331      hardcode_libdir_flag_spec='-L$libdir'
14332      hardcode_shlibpath_var=no
14333      ;;
14334
14335    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14336    # support.  Future versions do this automatically, but an explicit c++rt0.o
14337    # does not break anything, and helps significantly (at the cost of a little
14338    # extra space).
14339    freebsd2.2*)
14340      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14341      hardcode_libdir_flag_spec='-R$libdir'
14342      hardcode_direct=yes
14343      hardcode_shlibpath_var=no
14344      ;;
14345
14346    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14347    freebsd2.*)
14348      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14349      hardcode_direct=yes
14350      hardcode_minus_L=yes
14351      hardcode_shlibpath_var=no
14352      ;;
14353
14354    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14355    freebsd* | dragonfly*)
14356      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14357      hardcode_libdir_flag_spec='-R$libdir'
14358      hardcode_direct=yes
14359      hardcode_shlibpath_var=no
14360      ;;
14361
14362    hpux9*)
14363      if test yes = "$GCC"; then
14364	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'
14365      else
14366	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'
14367      fi
14368      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
14369      hardcode_libdir_separator=:
14370      hardcode_direct=yes
14371
14372      # hardcode_minus_L: Not really in the search PATH,
14373      # but as the default location of the library.
14374      hardcode_minus_L=yes
14375      export_dynamic_flag_spec='$wl-E'
14376      ;;
14377
14378    hpux10*)
14379      if test yes,no = "$GCC,$with_gnu_ld"; then
14380	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14381      else
14382	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14383      fi
14384      if test no = "$with_gnu_ld"; then
14385	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
14386	hardcode_libdir_separator=:
14387	hardcode_direct=yes
14388	hardcode_direct_absolute=yes
14389	export_dynamic_flag_spec='$wl-E'
14390	# hardcode_minus_L: Not really in the search PATH,
14391	# but as the default location of the library.
14392	hardcode_minus_L=yes
14393      fi
14394      ;;
14395
14396    hpux11*)
14397      if test yes,no = "$GCC,$with_gnu_ld"; then
14398	case $host_cpu in
14399	hppa*64*)
14400	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14401	  ;;
14402	ia64*)
14403	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14404	  ;;
14405	*)
14406	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14407	  ;;
14408	esac
14409      else
14410	case $host_cpu in
14411	hppa*64*)
14412	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14413	  ;;
14414	ia64*)
14415	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14416	  ;;
14417	*)
14418
14419	  # Older versions of the 11.00 compiler do not understand -b yet
14420	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
14421	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
14422$as_echo_n "checking if $CC understands -b... " >&6; }
14423if ${lt_cv_prog_compiler__b+:} false; then :
14424  $as_echo_n "(cached) " >&6
14425else
14426  lt_cv_prog_compiler__b=no
14427   save_LDFLAGS=$LDFLAGS
14428   LDFLAGS="$LDFLAGS -b"
14429   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14430   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14431     # The linker can only warn and ignore the option if not recognized
14432     # So say no if there are warnings
14433     if test -s conftest.err; then
14434       # Append any errors to the config.log.
14435       cat conftest.err 1>&5
14436       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14437       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14438       if diff conftest.exp conftest.er2 >/dev/null; then
14439         lt_cv_prog_compiler__b=yes
14440       fi
14441     else
14442       lt_cv_prog_compiler__b=yes
14443     fi
14444   fi
14445   $RM -r conftest*
14446   LDFLAGS=$save_LDFLAGS
14447
14448fi
14449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
14450$as_echo "$lt_cv_prog_compiler__b" >&6; }
14451
14452if test yes = "$lt_cv_prog_compiler__b"; then
14453    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14454else
14455    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14456fi
14457
14458	  ;;
14459	esac
14460      fi
14461      if test no = "$with_gnu_ld"; then
14462	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
14463	hardcode_libdir_separator=:
14464
14465	case $host_cpu in
14466	hppa*64*|ia64*)
14467	  hardcode_direct=no
14468	  hardcode_shlibpath_var=no
14469	  ;;
14470	*)
14471	  hardcode_direct=yes
14472	  hardcode_direct_absolute=yes
14473	  export_dynamic_flag_spec='$wl-E'
14474
14475	  # hardcode_minus_L: Not really in the search PATH,
14476	  # but as the default location of the library.
14477	  hardcode_minus_L=yes
14478	  ;;
14479	esac
14480      fi
14481      ;;
14482
14483    irix5* | irix6* | nonstopux*)
14484      if test yes = "$GCC"; then
14485	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'
14486	# Try to use the -exported_symbol ld option, if it does not
14487	# work, assume that -exports_file does not work either and
14488	# implicitly export all symbols.
14489	# This should be the same for all languages, so no per-tag cache variable.
14490	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
14491$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
14492if ${lt_cv_irix_exported_symbol+:} false; then :
14493  $as_echo_n "(cached) " >&6
14494else
14495  save_LDFLAGS=$LDFLAGS
14496	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
14497	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14498/* end confdefs.h.  */
14499int foo (void) { return 0; }
14500_ACEOF
14501if ac_fn_c_try_link "$LINENO"; then :
14502  lt_cv_irix_exported_symbol=yes
14503else
14504  lt_cv_irix_exported_symbol=no
14505fi
14506rm -f core conftest.err conftest.$ac_objext \
14507    conftest$ac_exeext conftest.$ac_ext
14508           LDFLAGS=$save_LDFLAGS
14509fi
14510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
14511$as_echo "$lt_cv_irix_exported_symbol" >&6; }
14512	if test yes = "$lt_cv_irix_exported_symbol"; then
14513          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'
14514	fi
14515	link_all_deplibs=no
14516      else
14517	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'
14518	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'
14519      fi
14520      archive_cmds_need_lc='no'
14521      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14522      hardcode_libdir_separator=:
14523      inherit_rpath=yes
14524      link_all_deplibs=yes
14525      ;;
14526
14527    linux*)
14528      case $cc_basename in
14529      tcc*)
14530	# Fabrice Bellard et al's Tiny C Compiler
14531	ld_shlibs=yes
14532	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14533	;;
14534      esac
14535      ;;
14536
14537    netbsd* | netbsdelf*-gnu)
14538      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14539	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14540      else
14541	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14542      fi
14543      hardcode_libdir_flag_spec='-R$libdir'
14544      hardcode_direct=yes
14545      hardcode_shlibpath_var=no
14546      ;;
14547
14548    newsos6)
14549      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14550      hardcode_direct=yes
14551      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14552      hardcode_libdir_separator=:
14553      hardcode_shlibpath_var=no
14554      ;;
14555
14556    *nto* | *qnx*)
14557      ;;
14558
14559    openbsd* | bitrig*)
14560      if test -f /usr/libexec/ld.so; then
14561	hardcode_direct=yes
14562	hardcode_shlibpath_var=no
14563	hardcode_direct_absolute=yes
14564	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14565	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14566	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
14567	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14568	  export_dynamic_flag_spec='$wl-E'
14569	else
14570	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14571	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14572	fi
14573      else
14574	ld_shlibs=no
14575      fi
14576      ;;
14577
14578    os2*)
14579      hardcode_libdir_flag_spec='-L$libdir'
14580      hardcode_minus_L=yes
14581      allow_undefined_flag=unsupported
14582      shrext_cmds=.dll
14583      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14584	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14585	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14586	$ECHO EXPORTS >> $output_objdir/$libname.def~
14587	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14588	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14589	emximp -o $lib $output_objdir/$libname.def'
14590      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14591	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14592	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14593	$ECHO EXPORTS >> $output_objdir/$libname.def~
14594	prefix_cmds="$SED"~
14595	if test EXPORTS = "`$SED 1q $export_symbols`"; then
14596	  prefix_cmds="$prefix_cmds -e 1d";
14597	fi~
14598	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14599	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14600	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14601	emximp -o $lib $output_objdir/$libname.def'
14602      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14603      enable_shared_with_static_runtimes=yes
14604      ;;
14605
14606    osf3*)
14607      if test yes = "$GCC"; then
14608	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
14609	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'
14610      else
14611	allow_undefined_flag=' -expect_unresolved \*'
14612	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'
14613      fi
14614      archive_cmds_need_lc='no'
14615      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14616      hardcode_libdir_separator=:
14617      ;;
14618
14619    osf4* | osf5*)	# as osf3* with the addition of -msym flag
14620      if test yes = "$GCC"; then
14621	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
14622	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'
14623	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14624      else
14625	allow_undefined_flag=' -expect_unresolved \*'
14626	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'
14627	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~
14628          $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'
14629
14630	# Both c and cxx compiler support -rpath directly
14631	hardcode_libdir_flag_spec='-rpath $libdir'
14632      fi
14633      archive_cmds_need_lc='no'
14634      hardcode_libdir_separator=:
14635      ;;
14636
14637    solaris*)
14638      no_undefined_flag=' -z defs'
14639      if test yes = "$GCC"; then
14640	wlarc='$wl'
14641	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14642	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14643          $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'
14644      else
14645	case `$CC -V 2>&1` in
14646	*"Compilers 5.0"*)
14647	  wlarc=''
14648	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
14649	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14650            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14651	  ;;
14652	*)
14653	  wlarc='$wl'
14654	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14655	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14656            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14657	  ;;
14658	esac
14659      fi
14660      hardcode_libdir_flag_spec='-R$libdir'
14661      hardcode_shlibpath_var=no
14662      case $host_os in
14663      solaris2.[0-5] | solaris2.[0-5].*) ;;
14664      *)
14665	# The compiler driver will combine and reorder linker options,
14666	# but understands '-z linker_flag'.  GCC discards it without '$wl',
14667	# but is careful enough not to reorder.
14668	# Supported since Solaris 2.6 (maybe 2.5.1?)
14669	if test yes = "$GCC"; then
14670	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14671	else
14672	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
14673	fi
14674	;;
14675      esac
14676      link_all_deplibs=yes
14677      ;;
14678
14679    sunos4*)
14680      if test sequent = "$host_vendor"; then
14681	# Use $CC to link under sequent, because it throws in some extra .o
14682	# files that make .init and .fini sections work.
14683	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14684      else
14685	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14686      fi
14687      hardcode_libdir_flag_spec='-L$libdir'
14688      hardcode_direct=yes
14689      hardcode_minus_L=yes
14690      hardcode_shlibpath_var=no
14691      ;;
14692
14693    sysv4)
14694      case $host_vendor in
14695	sni)
14696	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14697	  hardcode_direct=yes # is this really true???
14698	;;
14699	siemens)
14700	  ## LD is ld it makes a PLAMLIB
14701	  ## CC just makes a GrossModule.
14702	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14703	  reload_cmds='$CC -r -o $output$reload_objs'
14704	  hardcode_direct=no
14705        ;;
14706	motorola)
14707	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14708	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
14709	;;
14710      esac
14711      runpath_var='LD_RUN_PATH'
14712      hardcode_shlibpath_var=no
14713      ;;
14714
14715    sysv4.3*)
14716      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14717      hardcode_shlibpath_var=no
14718      export_dynamic_flag_spec='-Bexport'
14719      ;;
14720
14721    sysv4*MP*)
14722      if test -d /usr/nec; then
14723	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14724	hardcode_shlibpath_var=no
14725	runpath_var=LD_RUN_PATH
14726	hardcode_runpath_var=yes
14727	ld_shlibs=yes
14728      fi
14729      ;;
14730
14731    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14732      no_undefined_flag='$wl-z,text'
14733      archive_cmds_need_lc=no
14734      hardcode_shlibpath_var=no
14735      runpath_var='LD_RUN_PATH'
14736
14737      if test yes = "$GCC"; then
14738	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14739	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14740      else
14741	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14742	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14743      fi
14744      ;;
14745
14746    sysv5* | sco3.2v5* | sco5v6*)
14747      # Note: We CANNOT use -z defs as we might desire, because we do not
14748      # link with -lc, and that would cause any symbols used from libc to
14749      # always be unresolved, which means just about no library would
14750      # ever link correctly.  If we're not using GNU ld we use -z text
14751      # though, which does catch some bad symbols but isn't as heavy-handed
14752      # as -z defs.
14753      no_undefined_flag='$wl-z,text'
14754      allow_undefined_flag='$wl-z,nodefs'
14755      archive_cmds_need_lc=no
14756      hardcode_shlibpath_var=no
14757      hardcode_libdir_flag_spec='$wl-R,$libdir'
14758      hardcode_libdir_separator=':'
14759      link_all_deplibs=yes
14760      export_dynamic_flag_spec='$wl-Bexport'
14761      runpath_var='LD_RUN_PATH'
14762
14763      if test yes = "$GCC"; then
14764	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14765	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14766      else
14767	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14768	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14769      fi
14770      ;;
14771
14772    uts4*)
14773      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14774      hardcode_libdir_flag_spec='-L$libdir'
14775      hardcode_shlibpath_var=no
14776      ;;
14777
14778    *)
14779      ld_shlibs=no
14780      ;;
14781    esac
14782
14783    if test sni = "$host_vendor"; then
14784      case $host in
14785      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14786	export_dynamic_flag_spec='$wl-Blargedynsym'
14787	;;
14788      esac
14789    fi
14790  fi
14791
14792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
14793$as_echo "$ld_shlibs" >&6; }
14794test no = "$ld_shlibs" && can_build_shared=no
14795
14796with_gnu_ld=$with_gnu_ld
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812#
14813# Do we need to explicitly link libc?
14814#
14815case "x$archive_cmds_need_lc" in
14816x|xyes)
14817  # Assume -lc should be added
14818  archive_cmds_need_lc=yes
14819
14820  if test yes,yes = "$GCC,$enable_shared"; then
14821    case $archive_cmds in
14822    *'~'*)
14823      # FIXME: we may have to deal with multi-command sequences.
14824      ;;
14825    '$CC '*)
14826      # Test whether the compiler implicitly links with -lc since on some
14827      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14828      # to ld, don't add -lc before -lgcc.
14829      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14830$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14831if ${lt_cv_archive_cmds_need_lc+:} false; then :
14832  $as_echo_n "(cached) " >&6
14833else
14834  $RM conftest*
14835	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14836
14837	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14838  (eval $ac_compile) 2>&5
14839  ac_status=$?
14840  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14841  test $ac_status = 0; } 2>conftest.err; then
14842	  soname=conftest
14843	  lib=conftest
14844	  libobjs=conftest.$ac_objext
14845	  deplibs=
14846	  wl=$lt_prog_compiler_wl
14847	  pic_flag=$lt_prog_compiler_pic
14848	  compiler_flags=-v
14849	  linker_flags=-v
14850	  verstring=
14851	  output_objdir=.
14852	  libname=conftest
14853	  lt_save_allow_undefined_flag=$allow_undefined_flag
14854	  allow_undefined_flag=
14855	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14856  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14857  ac_status=$?
14858  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14859  test $ac_status = 0; }
14860	  then
14861	    lt_cv_archive_cmds_need_lc=no
14862	  else
14863	    lt_cv_archive_cmds_need_lc=yes
14864	  fi
14865	  allow_undefined_flag=$lt_save_allow_undefined_flag
14866	else
14867	  cat conftest.err 1>&5
14868	fi
14869	$RM conftest*
14870
14871fi
14872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
14873$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
14874      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
14875      ;;
14876    esac
14877  fi
14878  ;;
14879esac
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15033$as_echo_n "checking dynamic linker characteristics... " >&6; }
15034
15035if test yes = "$GCC"; then
15036  case $host_os in
15037    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
15038    *) lt_awk_arg='/^libraries:/' ;;
15039  esac
15040  case $host_os in
15041    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
15042    *) lt_sed_strip_eq='s|=/|/|g' ;;
15043  esac
15044  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
15045  case $lt_search_path_spec in
15046  *\;*)
15047    # if the path contains ";" then we assume it to be the separator
15048    # otherwise default to the standard path separator (i.e. ":") - it is
15049    # assumed that no part of a normal pathname contains ";" but that should
15050    # okay in the real world where ";" in dirpaths is itself problematic.
15051    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
15052    ;;
15053  *)
15054    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
15055    ;;
15056  esac
15057  # Ok, now we have the path, separated by spaces, we can step through it
15058  # and add multilib dir if necessary...
15059  lt_tmp_lt_search_path_spec=
15060  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
15061  # ...but if some path component already ends with the multilib dir we assume
15062  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
15063  case "$lt_multi_os_dir; $lt_search_path_spec " in
15064  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
15065    lt_multi_os_dir=
15066    ;;
15067  esac
15068  for lt_sys_path in $lt_search_path_spec; do
15069    if test -d "$lt_sys_path$lt_multi_os_dir"; then
15070      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
15071    elif test -n "$lt_multi_os_dir"; then
15072      test -d "$lt_sys_path" && \
15073	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
15074    fi
15075  done
15076  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
15077BEGIN {RS = " "; FS = "/|\n";} {
15078  lt_foo = "";
15079  lt_count = 0;
15080  for (lt_i = NF; lt_i > 0; lt_i--) {
15081    if ($lt_i != "" && $lt_i != ".") {
15082      if ($lt_i == "..") {
15083        lt_count++;
15084      } else {
15085        if (lt_count == 0) {
15086          lt_foo = "/" $lt_i lt_foo;
15087        } else {
15088          lt_count--;
15089        }
15090      }
15091    }
15092  }
15093  if (lt_foo != "") { lt_freq[lt_foo]++; }
15094  if (lt_freq[lt_foo] == 1) { print lt_foo; }
15095}'`
15096  # AWK program above erroneously prepends '/' to C:/dos/paths
15097  # for these hosts.
15098  case $host_os in
15099    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
15100      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
15101  esac
15102  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
15103else
15104  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15105fi
15106library_names_spec=
15107libname_spec='lib$name'
15108soname_spec=
15109shrext_cmds=.so
15110postinstall_cmds=
15111postuninstall_cmds=
15112finish_cmds=
15113finish_eval=
15114shlibpath_var=
15115shlibpath_overrides_runpath=unknown
15116version_type=none
15117dynamic_linker="$host_os ld.so"
15118sys_lib_dlsearch_path_spec="/lib /usr/lib"
15119need_lib_prefix=unknown
15120hardcode_into_libs=no
15121
15122# when you set need_version to no, make sure it does not cause -set_version
15123# flags to be left without arguments
15124need_version=unknown
15125
15126
15127
15128case $host_os in
15129aix3*)
15130  version_type=linux # correct to gnu/linux during the next big refactor
15131  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15132  shlibpath_var=LIBPATH
15133
15134  # AIX 3 has no versioning support, so we append a major version to the name.
15135  soname_spec='$libname$release$shared_ext$major'
15136  ;;
15137
15138aix[4-9]*)
15139  version_type=linux # correct to gnu/linux during the next big refactor
15140  need_lib_prefix=no
15141  need_version=no
15142  hardcode_into_libs=yes
15143  if test ia64 = "$host_cpu"; then
15144    # AIX 5 supports IA64
15145    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15146    shlibpath_var=LD_LIBRARY_PATH
15147  else
15148    # With GCC up to 2.95.x, collect2 would create an import file
15149    # for dependence libraries.  The import file would start with
15150    # the line '#! .'.  This would cause the generated library to
15151    # depend on '.', always an invalid library.  This was fixed in
15152    # development snapshots of GCC prior to 3.0.
15153    case $host_os in
15154      aix4 | aix4.[01] | aix4.[01].*)
15155      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15156	   echo ' yes '
15157	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15158	:
15159      else
15160	can_build_shared=no
15161      fi
15162      ;;
15163    esac
15164    # Using Import Files as archive members, it is possible to support
15165    # filename-based versioning of shared library archives on AIX. While
15166    # this would work for both with and without runtime linking, it will
15167    # prevent static linking of such archives. So we do filename-based
15168    # shared library versioning with .so extension only, which is used
15169    # when both runtime linking and shared linking is enabled.
15170    # Unfortunately, runtime linking may impact performance, so we do
15171    # not want this to be the default eventually. Also, we use the
15172    # versioned .so libs for executables only if there is the -brtl
15173    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15174    # To allow for filename-based versioning support, we need to create
15175    # libNAME.so.V as an archive file, containing:
15176    # *) an Import File, referring to the versioned filename of the
15177    #    archive as well as the shared archive member, telling the
15178    #    bitwidth (32 or 64) of that shared object, and providing the
15179    #    list of exported symbols of that shared object, eventually
15180    #    decorated with the 'weak' keyword
15181    # *) the shared object with the F_LOADONLY flag set, to really avoid
15182    #    it being seen by the linker.
15183    # At run time we better use the real file rather than another symlink,
15184    # but for link time we create the symlink libNAME.so -> libNAME.so.V
15185
15186    case $with_aix_soname,$aix_use_runtimelinking in
15187    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15188    # soname into executable. Probably we can add versioning support to
15189    # collect2, so additional links can be useful in future.
15190    aix,yes) # traditional libtool
15191      dynamic_linker='AIX unversionable lib.so'
15192      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15193      # instead of lib<name>.a to let people know that these are not
15194      # typical AIX shared libraries.
15195      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15196      ;;
15197    aix,no) # traditional AIX only
15198      dynamic_linker='AIX lib.a(lib.so.V)'
15199      # We preserve .a as extension for shared libraries through AIX4.2
15200      # and later when we are not doing run time linking.
15201      library_names_spec='$libname$release.a $libname.a'
15202      soname_spec='$libname$release$shared_ext$major'
15203      ;;
15204    svr4,*) # full svr4 only
15205      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15206      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15207      # We do not specify a path in Import Files, so LIBPATH fires.
15208      shlibpath_overrides_runpath=yes
15209      ;;
15210    *,yes) # both, prefer svr4
15211      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15212      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15213      # unpreferred sharedlib libNAME.a needs extra handling
15214      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"'
15215      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"'
15216      # We do not specify a path in Import Files, so LIBPATH fires.
15217      shlibpath_overrides_runpath=yes
15218      ;;
15219    *,no) # both, prefer aix
15220      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15221      library_names_spec='$libname$release.a $libname.a'
15222      soname_spec='$libname$release$shared_ext$major'
15223      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15224      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)'
15225      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"'
15226      ;;
15227    esac
15228    shlibpath_var=LIBPATH
15229  fi
15230  ;;
15231
15232amigaos*)
15233  case $host_cpu in
15234  powerpc)
15235    # Since July 2007 AmigaOS4 officially supports .so libraries.
15236    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15237    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15238    ;;
15239  m68k)
15240    library_names_spec='$libname.ixlibrary $libname.a'
15241    # Create ${libname}_ixlibrary.a entries in /sys/libs.
15242    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'
15243    ;;
15244  esac
15245  ;;
15246
15247beos*)
15248  library_names_spec='$libname$shared_ext'
15249  dynamic_linker="$host_os ld.so"
15250  shlibpath_var=LIBRARY_PATH
15251  ;;
15252
15253bsdi[45]*)
15254  version_type=linux # correct to gnu/linux during the next big refactor
15255  need_version=no
15256  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15257  soname_spec='$libname$release$shared_ext$major'
15258  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15259  shlibpath_var=LD_LIBRARY_PATH
15260  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15261  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15262  # the default ld.so.conf also contains /usr/contrib/lib and
15263  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15264  # libtool to hard-code these into programs
15265  ;;
15266
15267cygwin* | mingw* | pw32* | cegcc*)
15268  version_type=windows
15269  shrext_cmds=.dll
15270  need_version=no
15271  need_lib_prefix=no
15272
15273  case $GCC,$cc_basename in
15274  yes,*)
15275    # gcc
15276    library_names_spec='$libname.dll.a'
15277    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15278    postinstall_cmds='base_file=`basename \$file`~
15279      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15280      dldir=$destdir/`dirname \$dlpath`~
15281      test -d \$dldir || mkdir -p \$dldir~
15282      $install_prog $dir/$dlname \$dldir/$dlname~
15283      chmod a+x \$dldir/$dlname~
15284      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15285        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15286      fi'
15287    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15288      dlpath=$dir/\$dldll~
15289       $RM \$dlpath'
15290    shlibpath_overrides_runpath=yes
15291
15292    case $host_os in
15293    cygwin*)
15294      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15295      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15296
15297      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
15298      ;;
15299    mingw* | cegcc*)
15300      # MinGW DLLs use traditional 'lib' prefix
15301      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15302      ;;
15303    pw32*)
15304      # pw32 DLLs use 'pw' prefix rather than 'lib'
15305      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15306      ;;
15307    esac
15308    dynamic_linker='Win32 ld.exe'
15309    ;;
15310
15311  *,cl*)
15312    # Native MSVC
15313    libname_spec='$name'
15314    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15315    library_names_spec='$libname.dll.lib'
15316
15317    case $build_os in
15318    mingw*)
15319      sys_lib_search_path_spec=
15320      lt_save_ifs=$IFS
15321      IFS=';'
15322      for lt_path in $LIB
15323      do
15324        IFS=$lt_save_ifs
15325        # Let DOS variable expansion print the short 8.3 style file name.
15326        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15327        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15328      done
15329      IFS=$lt_save_ifs
15330      # Convert to MSYS style.
15331      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15332      ;;
15333    cygwin*)
15334      # Convert to unix form, then to dos form, then back to unix form
15335      # but this time dos style (no spaces!) so that the unix form looks
15336      # like /cygdrive/c/PROGRA~1:/cygdr...
15337      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15338      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15339      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15340      ;;
15341    *)
15342      sys_lib_search_path_spec=$LIB
15343      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15344        # It is most probably a Windows format PATH.
15345        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15346      else
15347        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15348      fi
15349      # FIXME: find the short name or the path components, as spaces are
15350      # common. (e.g. "Program Files" -> "PROGRA~1")
15351      ;;
15352    esac
15353
15354    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15355    postinstall_cmds='base_file=`basename \$file`~
15356      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15357      dldir=$destdir/`dirname \$dlpath`~
15358      test -d \$dldir || mkdir -p \$dldir~
15359      $install_prog $dir/$dlname \$dldir/$dlname'
15360    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15361      dlpath=$dir/\$dldll~
15362       $RM \$dlpath'
15363    shlibpath_overrides_runpath=yes
15364    dynamic_linker='Win32 link.exe'
15365    ;;
15366
15367  *)
15368    # Assume MSVC wrapper
15369    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15370    dynamic_linker='Win32 ld.exe'
15371    ;;
15372  esac
15373  # FIXME: first we should search . and the directory the executable is in
15374  shlibpath_var=PATH
15375  ;;
15376
15377darwin* | rhapsody*)
15378  dynamic_linker="$host_os dyld"
15379  version_type=darwin
15380  need_lib_prefix=no
15381  need_version=no
15382  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15383  soname_spec='$libname$release$major$shared_ext'
15384  shlibpath_overrides_runpath=yes
15385  shlibpath_var=DYLD_LIBRARY_PATH
15386  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15387
15388  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
15389  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15390  ;;
15391
15392dgux*)
15393  version_type=linux # correct to gnu/linux during the next big refactor
15394  need_lib_prefix=no
15395  need_version=no
15396  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15397  soname_spec='$libname$release$shared_ext$major'
15398  shlibpath_var=LD_LIBRARY_PATH
15399  ;;
15400
15401freebsd* | dragonfly*)
15402  # DragonFly does not have aout.  When/if they implement a new
15403  # versioning mechanism, adjust this.
15404  if test -x /usr/bin/objformat; then
15405    objformat=`/usr/bin/objformat`
15406  else
15407    case $host_os in
15408    freebsd[23].*) objformat=aout ;;
15409    *) objformat=elf ;;
15410    esac
15411  fi
15412  version_type=freebsd-$objformat
15413  case $version_type in
15414    freebsd-elf*)
15415      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15416      soname_spec='$libname$release$shared_ext$major'
15417      need_version=no
15418      need_lib_prefix=no
15419      ;;
15420    freebsd-*)
15421      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15422      need_version=yes
15423      ;;
15424  esac
15425  shlibpath_var=LD_LIBRARY_PATH
15426  case $host_os in
15427  freebsd2.*)
15428    shlibpath_overrides_runpath=yes
15429    ;;
15430  freebsd3.[01]* | freebsdelf3.[01]*)
15431    shlibpath_overrides_runpath=yes
15432    hardcode_into_libs=yes
15433    ;;
15434  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15435  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15436    shlibpath_overrides_runpath=no
15437    hardcode_into_libs=yes
15438    ;;
15439  *) # from 4.6 on, and DragonFly
15440    shlibpath_overrides_runpath=yes
15441    hardcode_into_libs=yes
15442    ;;
15443  esac
15444  ;;
15445
15446haiku*)
15447  version_type=linux # correct to gnu/linux during the next big refactor
15448  need_lib_prefix=no
15449  need_version=no
15450  dynamic_linker="$host_os runtime_loader"
15451  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15452  soname_spec='$libname$release$shared_ext$major'
15453  shlibpath_var=LIBRARY_PATH
15454  shlibpath_overrides_runpath=no
15455  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15456  hardcode_into_libs=yes
15457  ;;
15458
15459hpux9* | hpux10* | hpux11*)
15460  # Give a soname corresponding to the major version so that dld.sl refuses to
15461  # link against other versions.
15462  version_type=sunos
15463  need_lib_prefix=no
15464  need_version=no
15465  case $host_cpu in
15466  ia64*)
15467    shrext_cmds='.so'
15468    hardcode_into_libs=yes
15469    dynamic_linker="$host_os dld.so"
15470    shlibpath_var=LD_LIBRARY_PATH
15471    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15472    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15473    soname_spec='$libname$release$shared_ext$major'
15474    if test 32 = "$HPUX_IA64_MODE"; then
15475      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15476      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15477    else
15478      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15479      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15480    fi
15481    ;;
15482  hppa*64*)
15483    shrext_cmds='.sl'
15484    hardcode_into_libs=yes
15485    dynamic_linker="$host_os dld.sl"
15486    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15487    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15488    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15489    soname_spec='$libname$release$shared_ext$major'
15490    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15491    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15492    ;;
15493  *)
15494    shrext_cmds='.sl'
15495    dynamic_linker="$host_os dld.sl"
15496    shlibpath_var=SHLIB_PATH
15497    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15498    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15499    soname_spec='$libname$release$shared_ext$major'
15500    ;;
15501  esac
15502  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15503  postinstall_cmds='chmod 555 $lib'
15504  # or fails outright, so override atomically:
15505  install_override_mode=555
15506  ;;
15507
15508interix[3-9]*)
15509  version_type=linux # correct to gnu/linux during the next big refactor
15510  need_lib_prefix=no
15511  need_version=no
15512  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15513  soname_spec='$libname$release$shared_ext$major'
15514  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15515  shlibpath_var=LD_LIBRARY_PATH
15516  shlibpath_overrides_runpath=no
15517  hardcode_into_libs=yes
15518  ;;
15519
15520irix5* | irix6* | nonstopux*)
15521  case $host_os in
15522    nonstopux*) version_type=nonstopux ;;
15523    *)
15524	if test yes = "$lt_cv_prog_gnu_ld"; then
15525		version_type=linux # correct to gnu/linux during the next big refactor
15526	else
15527		version_type=irix
15528	fi ;;
15529  esac
15530  need_lib_prefix=no
15531  need_version=no
15532  soname_spec='$libname$release$shared_ext$major'
15533  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
15534  case $host_os in
15535  irix5* | nonstopux*)
15536    libsuff= shlibsuff=
15537    ;;
15538  *)
15539    case $LD in # libtool.m4 will add one of these switches to LD
15540    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15541      libsuff= shlibsuff= libmagic=32-bit;;
15542    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15543      libsuff=32 shlibsuff=N32 libmagic=N32;;
15544    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15545      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15546    *) libsuff= shlibsuff= libmagic=never-match;;
15547    esac
15548    ;;
15549  esac
15550  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15551  shlibpath_overrides_runpath=no
15552  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
15553  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
15554  hardcode_into_libs=yes
15555  ;;
15556
15557# No shared lib support for Linux oldld, aout, or coff.
15558linux*oldld* | linux*aout* | linux*coff*)
15559  dynamic_linker=no
15560  ;;
15561
15562linux*android*)
15563  version_type=none # Android doesn't support versioned libraries.
15564  need_lib_prefix=no
15565  need_version=no
15566  library_names_spec='$libname$release$shared_ext'
15567  soname_spec='$libname$release$shared_ext'
15568  finish_cmds=
15569  shlibpath_var=LD_LIBRARY_PATH
15570  shlibpath_overrides_runpath=yes
15571
15572  # This implies no fast_install, which is unacceptable.
15573  # Some rework will be needed to allow for fast_install
15574  # before this can be enabled.
15575  hardcode_into_libs=yes
15576
15577  dynamic_linker='Android linker'
15578  # Don't embed -rpath directories since the linker doesn't support them.
15579  hardcode_libdir_flag_spec='-L$libdir'
15580  ;;
15581
15582# This must be glibc/ELF.
15583linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15584  version_type=linux # correct to gnu/linux during the next big refactor
15585  need_lib_prefix=no
15586  need_version=no
15587  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15588  soname_spec='$libname$release$shared_ext$major'
15589  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15590  shlibpath_var=LD_LIBRARY_PATH
15591  shlibpath_overrides_runpath=no
15592
15593  # Some binutils ld are patched to set DT_RUNPATH
15594  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15595  $as_echo_n "(cached) " >&6
15596else
15597  lt_cv_shlibpath_overrides_runpath=no
15598    save_LDFLAGS=$LDFLAGS
15599    save_libdir=$libdir
15600    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
15601	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
15602    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15603/* end confdefs.h.  */
15604
15605int
15606main ()
15607{
15608
15609  ;
15610  return 0;
15611}
15612_ACEOF
15613if ac_fn_c_try_link "$LINENO"; then :
15614  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15615  lt_cv_shlibpath_overrides_runpath=yes
15616fi
15617fi
15618rm -f core conftest.err conftest.$ac_objext \
15619    conftest$ac_exeext conftest.$ac_ext
15620    LDFLAGS=$save_LDFLAGS
15621    libdir=$save_libdir
15622
15623fi
15624
15625  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15626
15627  # This implies no fast_install, which is unacceptable.
15628  # Some rework will be needed to allow for fast_install
15629  # before this can be enabled.
15630  hardcode_into_libs=yes
15631
15632  # Ideally, we could use ldconfig to report *all* directores which are
15633  # searched for libraries, however this is still not possible.  Aside from not
15634  # being certain /sbin/ldconfig is available, command
15635  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15636  # even though it is searched at run-time.  Try to do the best guess by
15637  # appending ld.so.conf contents (and includes) to the search path.
15638  if test -f /etc/ld.so.conf; then
15639    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' ' '`
15640    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15641  fi
15642
15643  # We used to test for /lib/ld.so.1 and disable shared libraries on
15644  # powerpc, because MkLinux only supported shared libraries with the
15645  # GNU dynamic linker.  Since this was broken with cross compilers,
15646  # most powerpc-linux boxes support dynamic linking these days and
15647  # people can always --disable-shared, the test was removed, and we
15648  # assume the GNU/Linux dynamic linker is in use.
15649  dynamic_linker='GNU/Linux ld.so'
15650  ;;
15651
15652netbsdelf*-gnu)
15653  version_type=linux
15654  need_lib_prefix=no
15655  need_version=no
15656  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15657  soname_spec='${libname}${release}${shared_ext}$major'
15658  shlibpath_var=LD_LIBRARY_PATH
15659  shlibpath_overrides_runpath=no
15660  hardcode_into_libs=yes
15661  dynamic_linker='NetBSD ld.elf_so'
15662  ;;
15663
15664netbsd*)
15665  version_type=sunos
15666  need_lib_prefix=no
15667  need_version=no
15668  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15669    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15670    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15671    dynamic_linker='NetBSD (a.out) ld.so'
15672  else
15673    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15674    soname_spec='$libname$release$shared_ext$major'
15675    dynamic_linker='NetBSD ld.elf_so'
15676  fi
15677  shlibpath_var=LD_LIBRARY_PATH
15678  shlibpath_overrides_runpath=yes
15679  hardcode_into_libs=yes
15680  ;;
15681
15682newsos6)
15683  version_type=linux # correct to gnu/linux during the next big refactor
15684  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15685  shlibpath_var=LD_LIBRARY_PATH
15686  shlibpath_overrides_runpath=yes
15687  ;;
15688
15689*nto* | *qnx*)
15690  version_type=qnx
15691  need_lib_prefix=no
15692  need_version=no
15693  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15694  soname_spec='$libname$release$shared_ext$major'
15695  shlibpath_var=LD_LIBRARY_PATH
15696  shlibpath_overrides_runpath=no
15697  hardcode_into_libs=yes
15698  dynamic_linker='ldqnx.so'
15699  ;;
15700
15701openbsd* | bitrig*)
15702  version_type=sunos
15703  sys_lib_dlsearch_path_spec=/usr/lib
15704  need_lib_prefix=no
15705  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15706    need_version=no
15707  else
15708    need_version=yes
15709  fi
15710  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15711  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15712  shlibpath_var=LD_LIBRARY_PATH
15713  shlibpath_overrides_runpath=yes
15714  ;;
15715
15716os2*)
15717  libname_spec='$name'
15718  version_type=windows
15719  shrext_cmds=.dll
15720  need_version=no
15721  need_lib_prefix=no
15722  # OS/2 can only load a DLL with a base name of 8 characters or less.
15723  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
15724    v=$($ECHO $release$versuffix | tr -d .-);
15725    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
15726    $ECHO $n$v`$shared_ext'
15727  library_names_spec='${libname}_dll.$libext'
15728  dynamic_linker='OS/2 ld.exe'
15729  shlibpath_var=BEGINLIBPATH
15730  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15731  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15732  postinstall_cmds='base_file=`basename \$file`~
15733    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
15734    dldir=$destdir/`dirname \$dlpath`~
15735    test -d \$dldir || mkdir -p \$dldir~
15736    $install_prog $dir/$dlname \$dldir/$dlname~
15737    chmod a+x \$dldir/$dlname~
15738    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15739      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15740    fi'
15741  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
15742    dlpath=$dir/\$dldll~
15743    $RM \$dlpath'
15744  ;;
15745
15746osf3* | osf4* | osf5*)
15747  version_type=osf
15748  need_lib_prefix=no
15749  need_version=no
15750  soname_spec='$libname$release$shared_ext$major'
15751  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15752  shlibpath_var=LD_LIBRARY_PATH
15753  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15754  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15755  ;;
15756
15757rdos*)
15758  dynamic_linker=no
15759  ;;
15760
15761solaris*)
15762  version_type=linux # correct to gnu/linux during the next big refactor
15763  need_lib_prefix=no
15764  need_version=no
15765  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15766  soname_spec='$libname$release$shared_ext$major'
15767  shlibpath_var=LD_LIBRARY_PATH
15768  shlibpath_overrides_runpath=yes
15769  hardcode_into_libs=yes
15770  # ldd complains unless libraries are executable
15771  postinstall_cmds='chmod +x $lib'
15772  ;;
15773
15774sunos4*)
15775  version_type=sunos
15776  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15777  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15778  shlibpath_var=LD_LIBRARY_PATH
15779  shlibpath_overrides_runpath=yes
15780  if test yes = "$with_gnu_ld"; then
15781    need_lib_prefix=no
15782  fi
15783  need_version=yes
15784  ;;
15785
15786sysv4 | sysv4.3*)
15787  version_type=linux # correct to gnu/linux during the next big refactor
15788  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15789  soname_spec='$libname$release$shared_ext$major'
15790  shlibpath_var=LD_LIBRARY_PATH
15791  case $host_vendor in
15792    sni)
15793      shlibpath_overrides_runpath=no
15794      need_lib_prefix=no
15795      runpath_var=LD_RUN_PATH
15796      ;;
15797    siemens)
15798      need_lib_prefix=no
15799      ;;
15800    motorola)
15801      need_lib_prefix=no
15802      need_version=no
15803      shlibpath_overrides_runpath=no
15804      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15805      ;;
15806  esac
15807  ;;
15808
15809sysv4*MP*)
15810  if test -d /usr/nec; then
15811    version_type=linux # correct to gnu/linux during the next big refactor
15812    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
15813    soname_spec='$libname$shared_ext.$major'
15814    shlibpath_var=LD_LIBRARY_PATH
15815  fi
15816  ;;
15817
15818sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15819  version_type=sco
15820  need_lib_prefix=no
15821  need_version=no
15822  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
15823  soname_spec='$libname$release$shared_ext$major'
15824  shlibpath_var=LD_LIBRARY_PATH
15825  shlibpath_overrides_runpath=yes
15826  hardcode_into_libs=yes
15827  if test yes = "$with_gnu_ld"; then
15828    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15829  else
15830    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15831    case $host_os in
15832      sco3.2v5*)
15833        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15834	;;
15835    esac
15836  fi
15837  sys_lib_dlsearch_path_spec='/usr/lib'
15838  ;;
15839
15840tpf*)
15841  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15842  version_type=linux # correct to gnu/linux during the next big refactor
15843  need_lib_prefix=no
15844  need_version=no
15845  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15846  shlibpath_var=LD_LIBRARY_PATH
15847  shlibpath_overrides_runpath=no
15848  hardcode_into_libs=yes
15849  ;;
15850
15851uts4*)
15852  version_type=linux # correct to gnu/linux during the next big refactor
15853  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15854  soname_spec='$libname$release$shared_ext$major'
15855  shlibpath_var=LD_LIBRARY_PATH
15856  ;;
15857
15858*)
15859  dynamic_linker=no
15860  ;;
15861esac
15862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15863$as_echo "$dynamic_linker" >&6; }
15864test no = "$dynamic_linker" && can_build_shared=no
15865
15866variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15867if test yes = "$GCC"; then
15868  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15869fi
15870
15871if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
15872  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
15873fi
15874
15875if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
15876  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
15877fi
15878
15879# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
15880configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
15881
15882# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
15883func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
15884
15885# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
15886configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15985$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15986hardcode_action=
15987if test -n "$hardcode_libdir_flag_spec" ||
15988   test -n "$runpath_var" ||
15989   test yes = "$hardcode_automatic"; then
15990
15991  # We can hardcode non-existent directories.
15992  if test no != "$hardcode_direct" &&
15993     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15994     # have to relink, otherwise we might link with an installed library
15995     # when we should be linking with a yet-to-be-installed one
15996     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
15997     test no != "$hardcode_minus_L"; then
15998    # Linking always hardcodes the temporary library directory.
15999    hardcode_action=relink
16000  else
16001    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16002    hardcode_action=immediate
16003  fi
16004else
16005  # We cannot hardcode anything, or else we can only hardcode existing
16006  # directories.
16007  hardcode_action=unsupported
16008fi
16009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
16010$as_echo "$hardcode_action" >&6; }
16011
16012if test relink = "$hardcode_action" ||
16013   test yes = "$inherit_rpath"; then
16014  # Fast installation is not supported
16015  enable_fast_install=no
16016elif test yes = "$shlibpath_overrides_runpath" ||
16017     test no = "$enable_shared"; then
16018  # Fast installation is not necessary
16019  enable_fast_install=needless
16020fi
16021
16022
16023
16024
16025
16026
16027  if test yes != "$enable_dlopen"; then
16028  enable_dlopen=unknown
16029  enable_dlopen_self=unknown
16030  enable_dlopen_self_static=unknown
16031else
16032  lt_cv_dlopen=no
16033  lt_cv_dlopen_libs=
16034
16035  case $host_os in
16036  beos*)
16037    lt_cv_dlopen=load_add_on
16038    lt_cv_dlopen_libs=
16039    lt_cv_dlopen_self=yes
16040    ;;
16041
16042  mingw* | pw32* | cegcc*)
16043    lt_cv_dlopen=LoadLibrary
16044    lt_cv_dlopen_libs=
16045    ;;
16046
16047  cygwin*)
16048    lt_cv_dlopen=dlopen
16049    lt_cv_dlopen_libs=
16050    ;;
16051
16052  darwin*)
16053    # if libdl is installed we need to link against it
16054    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16055$as_echo_n "checking for dlopen in -ldl... " >&6; }
16056if ${ac_cv_lib_dl_dlopen+:} false; then :
16057  $as_echo_n "(cached) " >&6
16058else
16059  ac_check_lib_save_LIBS=$LIBS
16060LIBS="-ldl  $LIBS"
16061cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16062/* end confdefs.h.  */
16063
16064/* Override any GCC internal prototype to avoid an error.
16065   Use char because int might match the return type of a GCC
16066   builtin and then its argument prototype would still apply.  */
16067#ifdef __cplusplus
16068extern "C"
16069#endif
16070char dlopen ();
16071int
16072main ()
16073{
16074return dlopen ();
16075  ;
16076  return 0;
16077}
16078_ACEOF
16079if ac_fn_c_try_link "$LINENO"; then :
16080  ac_cv_lib_dl_dlopen=yes
16081else
16082  ac_cv_lib_dl_dlopen=no
16083fi
16084rm -f core conftest.err conftest.$ac_objext \
16085    conftest$ac_exeext conftest.$ac_ext
16086LIBS=$ac_check_lib_save_LIBS
16087fi
16088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16089$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16090if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16091  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
16092else
16093
16094    lt_cv_dlopen=dyld
16095    lt_cv_dlopen_libs=
16096    lt_cv_dlopen_self=yes
16097
16098fi
16099
16100    ;;
16101
16102  tpf*)
16103    # Don't try to run any link tests for TPF.  We know it's impossible
16104    # because TPF is a cross-compiler, and we know how we open DSOs.
16105    lt_cv_dlopen=dlopen
16106    lt_cv_dlopen_libs=
16107    lt_cv_dlopen_self=no
16108    ;;
16109
16110  *)
16111    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
16112if test "x$ac_cv_func_shl_load" = xyes; then :
16113  lt_cv_dlopen=shl_load
16114else
16115  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
16116$as_echo_n "checking for shl_load in -ldld... " >&6; }
16117if ${ac_cv_lib_dld_shl_load+:} false; then :
16118  $as_echo_n "(cached) " >&6
16119else
16120  ac_check_lib_save_LIBS=$LIBS
16121LIBS="-ldld  $LIBS"
16122cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16123/* end confdefs.h.  */
16124
16125/* Override any GCC internal prototype to avoid an error.
16126   Use char because int might match the return type of a GCC
16127   builtin and then its argument prototype would still apply.  */
16128#ifdef __cplusplus
16129extern "C"
16130#endif
16131char shl_load ();
16132int
16133main ()
16134{
16135return shl_load ();
16136  ;
16137  return 0;
16138}
16139_ACEOF
16140if ac_fn_c_try_link "$LINENO"; then :
16141  ac_cv_lib_dld_shl_load=yes
16142else
16143  ac_cv_lib_dld_shl_load=no
16144fi
16145rm -f core conftest.err conftest.$ac_objext \
16146    conftest$ac_exeext conftest.$ac_ext
16147LIBS=$ac_check_lib_save_LIBS
16148fi
16149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
16150$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
16151if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
16152  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
16153else
16154  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
16155if test "x$ac_cv_func_dlopen" = xyes; then :
16156  lt_cv_dlopen=dlopen
16157else
16158  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16159$as_echo_n "checking for dlopen in -ldl... " >&6; }
16160if ${ac_cv_lib_dl_dlopen+:} false; then :
16161  $as_echo_n "(cached) " >&6
16162else
16163  ac_check_lib_save_LIBS=$LIBS
16164LIBS="-ldl  $LIBS"
16165cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16166/* end confdefs.h.  */
16167
16168/* Override any GCC internal prototype to avoid an error.
16169   Use char because int might match the return type of a GCC
16170   builtin and then its argument prototype would still apply.  */
16171#ifdef __cplusplus
16172extern "C"
16173#endif
16174char dlopen ();
16175int
16176main ()
16177{
16178return dlopen ();
16179  ;
16180  return 0;
16181}
16182_ACEOF
16183if ac_fn_c_try_link "$LINENO"; then :
16184  ac_cv_lib_dl_dlopen=yes
16185else
16186  ac_cv_lib_dl_dlopen=no
16187fi
16188rm -f core conftest.err conftest.$ac_objext \
16189    conftest$ac_exeext conftest.$ac_ext
16190LIBS=$ac_check_lib_save_LIBS
16191fi
16192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16193$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16194if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16195  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
16196else
16197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
16198$as_echo_n "checking for dlopen in -lsvld... " >&6; }
16199if ${ac_cv_lib_svld_dlopen+:} false; then :
16200  $as_echo_n "(cached) " >&6
16201else
16202  ac_check_lib_save_LIBS=$LIBS
16203LIBS="-lsvld  $LIBS"
16204cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16205/* end confdefs.h.  */
16206
16207/* Override any GCC internal prototype to avoid an error.
16208   Use char because int might match the return type of a GCC
16209   builtin and then its argument prototype would still apply.  */
16210#ifdef __cplusplus
16211extern "C"
16212#endif
16213char dlopen ();
16214int
16215main ()
16216{
16217return dlopen ();
16218  ;
16219  return 0;
16220}
16221_ACEOF
16222if ac_fn_c_try_link "$LINENO"; then :
16223  ac_cv_lib_svld_dlopen=yes
16224else
16225  ac_cv_lib_svld_dlopen=no
16226fi
16227rm -f core conftest.err conftest.$ac_objext \
16228    conftest$ac_exeext conftest.$ac_ext
16229LIBS=$ac_check_lib_save_LIBS
16230fi
16231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
16232$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
16233if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
16234  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
16235else
16236  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
16237$as_echo_n "checking for dld_link in -ldld... " >&6; }
16238if ${ac_cv_lib_dld_dld_link+:} false; then :
16239  $as_echo_n "(cached) " >&6
16240else
16241  ac_check_lib_save_LIBS=$LIBS
16242LIBS="-ldld  $LIBS"
16243cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16244/* end confdefs.h.  */
16245
16246/* Override any GCC internal prototype to avoid an error.
16247   Use char because int might match the return type of a GCC
16248   builtin and then its argument prototype would still apply.  */
16249#ifdef __cplusplus
16250extern "C"
16251#endif
16252char dld_link ();
16253int
16254main ()
16255{
16256return dld_link ();
16257  ;
16258  return 0;
16259}
16260_ACEOF
16261if ac_fn_c_try_link "$LINENO"; then :
16262  ac_cv_lib_dld_dld_link=yes
16263else
16264  ac_cv_lib_dld_dld_link=no
16265fi
16266rm -f core conftest.err conftest.$ac_objext \
16267    conftest$ac_exeext conftest.$ac_ext
16268LIBS=$ac_check_lib_save_LIBS
16269fi
16270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
16271$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
16272if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
16273  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
16274fi
16275
16276
16277fi
16278
16279
16280fi
16281
16282
16283fi
16284
16285
16286fi
16287
16288
16289fi
16290
16291    ;;
16292  esac
16293
16294  if test no = "$lt_cv_dlopen"; then
16295    enable_dlopen=no
16296  else
16297    enable_dlopen=yes
16298  fi
16299
16300  case $lt_cv_dlopen in
16301  dlopen)
16302    save_CPPFLAGS=$CPPFLAGS
16303    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16304
16305    save_LDFLAGS=$LDFLAGS
16306    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16307
16308    save_LIBS=$LIBS
16309    LIBS="$lt_cv_dlopen_libs $LIBS"
16310
16311    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
16312$as_echo_n "checking whether a program can dlopen itself... " >&6; }
16313if ${lt_cv_dlopen_self+:} false; then :
16314  $as_echo_n "(cached) " >&6
16315else
16316  	  if test yes = "$cross_compiling"; then :
16317  lt_cv_dlopen_self=cross
16318else
16319  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16320  lt_status=$lt_dlunknown
16321  cat > conftest.$ac_ext <<_LT_EOF
16322#line $LINENO "configure"
16323#include "confdefs.h"
16324
16325#if HAVE_DLFCN_H
16326#include <dlfcn.h>
16327#endif
16328
16329#include <stdio.h>
16330
16331#ifdef RTLD_GLOBAL
16332#  define LT_DLGLOBAL		RTLD_GLOBAL
16333#else
16334#  ifdef DL_GLOBAL
16335#    define LT_DLGLOBAL		DL_GLOBAL
16336#  else
16337#    define LT_DLGLOBAL		0
16338#  endif
16339#endif
16340
16341/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16342   find out it does not work in some platform. */
16343#ifndef LT_DLLAZY_OR_NOW
16344#  ifdef RTLD_LAZY
16345#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
16346#  else
16347#    ifdef DL_LAZY
16348#      define LT_DLLAZY_OR_NOW		DL_LAZY
16349#    else
16350#      ifdef RTLD_NOW
16351#        define LT_DLLAZY_OR_NOW	RTLD_NOW
16352#      else
16353#        ifdef DL_NOW
16354#          define LT_DLLAZY_OR_NOW	DL_NOW
16355#        else
16356#          define LT_DLLAZY_OR_NOW	0
16357#        endif
16358#      endif
16359#    endif
16360#  endif
16361#endif
16362
16363/* When -fvisibility=hidden is used, assume the code has been annotated
16364   correspondingly for the symbols needed.  */
16365#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
16366int fnord () __attribute__((visibility("default")));
16367#endif
16368
16369int fnord () { return 42; }
16370int main ()
16371{
16372  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16373  int status = $lt_dlunknown;
16374
16375  if (self)
16376    {
16377      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16378      else
16379        {
16380	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
16381          else puts (dlerror ());
16382	}
16383      /* dlclose (self); */
16384    }
16385  else
16386    puts (dlerror ());
16387
16388  return status;
16389}
16390_LT_EOF
16391  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16392  (eval $ac_link) 2>&5
16393  ac_status=$?
16394  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16395  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16396    (./conftest; exit; ) >&5 2>/dev/null
16397    lt_status=$?
16398    case x$lt_status in
16399      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
16400      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
16401      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
16402    esac
16403  else :
16404    # compilation failed
16405    lt_cv_dlopen_self=no
16406  fi
16407fi
16408rm -fr conftest*
16409
16410
16411fi
16412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
16413$as_echo "$lt_cv_dlopen_self" >&6; }
16414
16415    if test yes = "$lt_cv_dlopen_self"; then
16416      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
16417      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
16418$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
16419if ${lt_cv_dlopen_self_static+:} false; then :
16420  $as_echo_n "(cached) " >&6
16421else
16422  	  if test yes = "$cross_compiling"; then :
16423  lt_cv_dlopen_self_static=cross
16424else
16425  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16426  lt_status=$lt_dlunknown
16427  cat > conftest.$ac_ext <<_LT_EOF
16428#line $LINENO "configure"
16429#include "confdefs.h"
16430
16431#if HAVE_DLFCN_H
16432#include <dlfcn.h>
16433#endif
16434
16435#include <stdio.h>
16436
16437#ifdef RTLD_GLOBAL
16438#  define LT_DLGLOBAL		RTLD_GLOBAL
16439#else
16440#  ifdef DL_GLOBAL
16441#    define LT_DLGLOBAL		DL_GLOBAL
16442#  else
16443#    define LT_DLGLOBAL		0
16444#  endif
16445#endif
16446
16447/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16448   find out it does not work in some platform. */
16449#ifndef LT_DLLAZY_OR_NOW
16450#  ifdef RTLD_LAZY
16451#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
16452#  else
16453#    ifdef DL_LAZY
16454#      define LT_DLLAZY_OR_NOW		DL_LAZY
16455#    else
16456#      ifdef RTLD_NOW
16457#        define LT_DLLAZY_OR_NOW	RTLD_NOW
16458#      else
16459#        ifdef DL_NOW
16460#          define LT_DLLAZY_OR_NOW	DL_NOW
16461#        else
16462#          define LT_DLLAZY_OR_NOW	0
16463#        endif
16464#      endif
16465#    endif
16466#  endif
16467#endif
16468
16469/* When -fvisibility=hidden is used, assume the code has been annotated
16470   correspondingly for the symbols needed.  */
16471#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
16472int fnord () __attribute__((visibility("default")));
16473#endif
16474
16475int fnord () { return 42; }
16476int main ()
16477{
16478  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16479  int status = $lt_dlunknown;
16480
16481  if (self)
16482    {
16483      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16484      else
16485        {
16486	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
16487          else puts (dlerror ());
16488	}
16489      /* dlclose (self); */
16490    }
16491  else
16492    puts (dlerror ());
16493
16494  return status;
16495}
16496_LT_EOF
16497  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16498  (eval $ac_link) 2>&5
16499  ac_status=$?
16500  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16501  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16502    (./conftest; exit; ) >&5 2>/dev/null
16503    lt_status=$?
16504    case x$lt_status in
16505      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16506      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16507      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
16508    esac
16509  else :
16510    # compilation failed
16511    lt_cv_dlopen_self_static=no
16512  fi
16513fi
16514rm -fr conftest*
16515
16516
16517fi
16518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
16519$as_echo "$lt_cv_dlopen_self_static" >&6; }
16520    fi
16521
16522    CPPFLAGS=$save_CPPFLAGS
16523    LDFLAGS=$save_LDFLAGS
16524    LIBS=$save_LIBS
16525    ;;
16526  esac
16527
16528  case $lt_cv_dlopen_self in
16529  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16530  *) enable_dlopen_self=unknown ;;
16531  esac
16532
16533  case $lt_cv_dlopen_self_static in
16534  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16535  *) enable_dlopen_self_static=unknown ;;
16536  esac
16537fi
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555striplib=
16556old_striplib=
16557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
16558$as_echo_n "checking whether stripping libraries is possible... " >&6; }
16559if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
16560  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16561  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16563$as_echo "yes" >&6; }
16564else
16565# FIXME - insert some real tests, host_os isn't really good enough
16566  case $host_os in
16567  darwin*)
16568    if test -n "$STRIP"; then
16569      striplib="$STRIP -x"
16570      old_striplib="$STRIP -S"
16571      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16572$as_echo "yes" >&6; }
16573    else
16574      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16575$as_echo "no" >&6; }
16576    fi
16577    ;;
16578  *)
16579    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16580$as_echo "no" >&6; }
16581    ;;
16582  esac
16583fi
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596  # Report what library types will actually be built
16597  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
16598$as_echo_n "checking if libtool supports shared libraries... " >&6; }
16599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
16600$as_echo "$can_build_shared" >&6; }
16601
16602  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
16603$as_echo_n "checking whether to build shared libraries... " >&6; }
16604  test no = "$can_build_shared" && enable_shared=no
16605
16606  # On AIX, shared libraries and static libraries use the same namespace, and
16607  # are all built from PIC.
16608  case $host_os in
16609  aix3*)
16610    test yes = "$enable_shared" && enable_static=no
16611    if test -n "$RANLIB"; then
16612      archive_cmds="$archive_cmds~\$RANLIB \$lib"
16613      postinstall_cmds='$RANLIB $lib'
16614    fi
16615    ;;
16616
16617  aix[4-9]*)
16618    if test ia64 != "$host_cpu"; then
16619      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
16620      yes,aix,yes) ;;			# shared object as lib.so file only
16621      yes,svr4,*) ;;			# shared object as lib.so archive member only
16622      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
16623      esac
16624    fi
16625    ;;
16626  esac
16627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
16628$as_echo "$enable_shared" >&6; }
16629
16630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
16631$as_echo_n "checking whether to build static libraries... " >&6; }
16632  # Make sure either enable_shared or enable_static is yes.
16633  test yes = "$enable_shared" || enable_static=yes
16634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
16635$as_echo "$enable_static" >&6; }
16636
16637
16638
16639
16640fi
16641ac_ext=c
16642ac_cpp='$CPP $CPPFLAGS'
16643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16645ac_compiler_gnu=$ac_cv_c_compiler_gnu
16646
16647CC=$lt_save_CC
16648
16649      if test -n "$CXX" && ( test no != "$CXX" &&
16650    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
16651    (test g++ != "$CXX"))); then
16652  ac_ext=cpp
16653ac_cpp='$CXXCPP $CPPFLAGS'
16654ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16655ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16656ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
16658$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
16659if test -z "$CXXCPP"; then
16660  if ${ac_cv_prog_CXXCPP+:} false; then :
16661  $as_echo_n "(cached) " >&6
16662else
16663      # Double quotes because CXXCPP needs to be expanded
16664    for CXXCPP in "$CXX -E" "/lib/cpp"
16665    do
16666      ac_preproc_ok=false
16667for ac_cxx_preproc_warn_flag in '' yes
16668do
16669  # Use a header file that comes with gcc, so configuring glibc
16670  # with a fresh cross-compiler works.
16671  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16672  # <limits.h> exists even on freestanding compilers.
16673  # On the NeXT, cc -E runs the code through the compiler's parser,
16674  # not just through cpp. "Syntax error" is here to catch this case.
16675  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16676/* end confdefs.h.  */
16677#ifdef __STDC__
16678# include <limits.h>
16679#else
16680# include <assert.h>
16681#endif
16682		     Syntax error
16683_ACEOF
16684if ac_fn_cxx_try_cpp "$LINENO"; then :
16685
16686else
16687  # Broken: fails on valid input.
16688continue
16689fi
16690rm -f conftest.err conftest.i conftest.$ac_ext
16691
16692  # OK, works on sane cases.  Now check whether nonexistent headers
16693  # can be detected and how.
16694  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16695/* end confdefs.h.  */
16696#include <ac_nonexistent.h>
16697_ACEOF
16698if ac_fn_cxx_try_cpp "$LINENO"; then :
16699  # Broken: success on invalid input.
16700continue
16701else
16702  # Passes both tests.
16703ac_preproc_ok=:
16704break
16705fi
16706rm -f conftest.err conftest.i conftest.$ac_ext
16707
16708done
16709# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16710rm -f conftest.i conftest.err conftest.$ac_ext
16711if $ac_preproc_ok; then :
16712  break
16713fi
16714
16715    done
16716    ac_cv_prog_CXXCPP=$CXXCPP
16717
16718fi
16719  CXXCPP=$ac_cv_prog_CXXCPP
16720else
16721  ac_cv_prog_CXXCPP=$CXXCPP
16722fi
16723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
16724$as_echo "$CXXCPP" >&6; }
16725ac_preproc_ok=false
16726for ac_cxx_preproc_warn_flag in '' yes
16727do
16728  # Use a header file that comes with gcc, so configuring glibc
16729  # with a fresh cross-compiler works.
16730  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16731  # <limits.h> exists even on freestanding compilers.
16732  # On the NeXT, cc -E runs the code through the compiler's parser,
16733  # not just through cpp. "Syntax error" is here to catch this case.
16734  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16735/* end confdefs.h.  */
16736#ifdef __STDC__
16737# include <limits.h>
16738#else
16739# include <assert.h>
16740#endif
16741		     Syntax error
16742_ACEOF
16743if ac_fn_cxx_try_cpp "$LINENO"; then :
16744
16745else
16746  # Broken: fails on valid input.
16747continue
16748fi
16749rm -f conftest.err conftest.i conftest.$ac_ext
16750
16751  # OK, works on sane cases.  Now check whether nonexistent headers
16752  # can be detected and how.
16753  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16754/* end confdefs.h.  */
16755#include <ac_nonexistent.h>
16756_ACEOF
16757if ac_fn_cxx_try_cpp "$LINENO"; then :
16758  # Broken: success on invalid input.
16759continue
16760else
16761  # Passes both tests.
16762ac_preproc_ok=:
16763break
16764fi
16765rm -f conftest.err conftest.i conftest.$ac_ext
16766
16767done
16768# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16769rm -f conftest.i conftest.err conftest.$ac_ext
16770if $ac_preproc_ok; then :
16771
16772else
16773  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16774$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16775as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
16776See \`config.log' for more details" "$LINENO" 5; }
16777fi
16778
16779ac_ext=c
16780ac_cpp='$CPP $CPPFLAGS'
16781ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16782ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16783ac_compiler_gnu=$ac_cv_c_compiler_gnu
16784
16785else
16786  _lt_caught_CXX_error=yes
16787fi
16788
16789ac_ext=cpp
16790ac_cpp='$CXXCPP $CPPFLAGS'
16791ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16792ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16793ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16794
16795archive_cmds_need_lc_CXX=no
16796allow_undefined_flag_CXX=
16797always_export_symbols_CXX=no
16798archive_expsym_cmds_CXX=
16799compiler_needs_object_CXX=no
16800export_dynamic_flag_spec_CXX=
16801hardcode_direct_CXX=no
16802hardcode_direct_absolute_CXX=no
16803hardcode_libdir_flag_spec_CXX=
16804hardcode_libdir_separator_CXX=
16805hardcode_minus_L_CXX=no
16806hardcode_shlibpath_var_CXX=unsupported
16807hardcode_automatic_CXX=no
16808inherit_rpath_CXX=no
16809module_cmds_CXX=
16810module_expsym_cmds_CXX=
16811link_all_deplibs_CXX=unknown
16812old_archive_cmds_CXX=$old_archive_cmds
16813reload_flag_CXX=$reload_flag
16814reload_cmds_CXX=$reload_cmds
16815no_undefined_flag_CXX=
16816whole_archive_flag_spec_CXX=
16817enable_shared_with_static_runtimes_CXX=no
16818
16819# Source file extension for C++ test sources.
16820ac_ext=cpp
16821
16822# Object file extension for compiled C++ test sources.
16823objext=o
16824objext_CXX=$objext
16825
16826# No sense in running all these tests if we already determined that
16827# the CXX compiler isn't working.  Some variables (like enable_shared)
16828# are currently assumed to apply to all compilers on this platform,
16829# and will be corrupted by setting them based on a non-working compiler.
16830if test yes != "$_lt_caught_CXX_error"; then
16831  # Code to be used in simple compile tests
16832  lt_simple_compile_test_code="int some_variable = 0;"
16833
16834  # Code to be used in simple link tests
16835  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
16836
16837  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16838
16839
16840
16841
16842
16843
16844# If no C compiler was specified, use CC.
16845LTCC=${LTCC-"$CC"}
16846
16847# If no C compiler flags were specified, use CFLAGS.
16848LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16849
16850# Allow CC to be a program name with arguments.
16851compiler=$CC
16852
16853
16854  # save warnings/boilerplate of simple test code
16855  ac_outfile=conftest.$ac_objext
16856echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16857eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16858_lt_compiler_boilerplate=`cat conftest.err`
16859$RM conftest*
16860
16861  ac_outfile=conftest.$ac_objext
16862echo "$lt_simple_link_test_code" >conftest.$ac_ext
16863eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16864_lt_linker_boilerplate=`cat conftest.err`
16865$RM -r conftest*
16866
16867
16868  # Allow CC to be a program name with arguments.
16869  lt_save_CC=$CC
16870  lt_save_CFLAGS=$CFLAGS
16871  lt_save_LD=$LD
16872  lt_save_GCC=$GCC
16873  GCC=$GXX
16874  lt_save_with_gnu_ld=$with_gnu_ld
16875  lt_save_path_LD=$lt_cv_path_LD
16876  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16877    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
16878  else
16879    $as_unset lt_cv_prog_gnu_ld
16880  fi
16881  if test -n "${lt_cv_path_LDCXX+set}"; then
16882    lt_cv_path_LD=$lt_cv_path_LDCXX
16883  else
16884    $as_unset lt_cv_path_LD
16885  fi
16886  test -z "${LDCXX+set}" || LD=$LDCXX
16887  CC=${CXX-"c++"}
16888  CFLAGS=$CXXFLAGS
16889  compiler=$CC
16890  compiler_CXX=$CC
16891  func_cc_basename $compiler
16892cc_basename=$func_cc_basename_result
16893
16894
16895  if test -n "$compiler"; then
16896    # We don't want -fno-exception when compiling C++ code, so set the
16897    # no_builtin_flag separately
16898    if test yes = "$GXX"; then
16899      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
16900    else
16901      lt_prog_compiler_no_builtin_flag_CXX=
16902    fi
16903
16904    if test yes = "$GXX"; then
16905      # Set up default GNU C++ configuration
16906
16907
16908
16909# Check whether --with-gnu-ld was given.
16910if test "${with_gnu_ld+set}" = set; then :
16911  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
16912else
16913  with_gnu_ld=no
16914fi
16915
16916ac_prog=ld
16917if test yes = "$GCC"; then
16918  # Check if gcc -print-prog-name=ld gives a path.
16919  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16920$as_echo_n "checking for ld used by $CC... " >&6; }
16921  case $host in
16922  *-*-mingw*)
16923    # gcc leaves a trailing carriage return, which upsets mingw
16924    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16925  *)
16926    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16927  esac
16928  case $ac_prog in
16929    # Accept absolute paths.
16930    [\\/]* | ?:[\\/]*)
16931      re_direlt='/[^/][^/]*/\.\./'
16932      # Canonicalize the pathname of ld
16933      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16934      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
16935	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16936      done
16937      test -z "$LD" && LD=$ac_prog
16938      ;;
16939  "")
16940    # If it fails, then pretend we aren't using GCC.
16941    ac_prog=ld
16942    ;;
16943  *)
16944    # If it is relative, then search for the first ld in PATH.
16945    with_gnu_ld=unknown
16946    ;;
16947  esac
16948elif test yes = "$with_gnu_ld"; then
16949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16950$as_echo_n "checking for GNU ld... " >&6; }
16951else
16952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16953$as_echo_n "checking for non-GNU ld... " >&6; }
16954fi
16955if ${lt_cv_path_LD+:} false; then :
16956  $as_echo_n "(cached) " >&6
16957else
16958  if test -z "$LD"; then
16959  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
16960  for ac_dir in $PATH; do
16961    IFS=$lt_save_ifs
16962    test -z "$ac_dir" && ac_dir=.
16963    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16964      lt_cv_path_LD=$ac_dir/$ac_prog
16965      # Check to see if the program is GNU ld.  I'd rather use --version,
16966      # but apparently some variants of GNU ld only accept -v.
16967      # Break only if it was the GNU/non-GNU ld that we prefer.
16968      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16969      *GNU* | *'with BFD'*)
16970	test no != "$with_gnu_ld" && break
16971	;;
16972      *)
16973	test yes != "$with_gnu_ld" && break
16974	;;
16975      esac
16976    fi
16977  done
16978  IFS=$lt_save_ifs
16979else
16980  lt_cv_path_LD=$LD # Let the user override the test with a path.
16981fi
16982fi
16983
16984LD=$lt_cv_path_LD
16985if test -n "$LD"; then
16986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16987$as_echo "$LD" >&6; }
16988else
16989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16990$as_echo "no" >&6; }
16991fi
16992test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16994$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16995if ${lt_cv_prog_gnu_ld+:} false; then :
16996  $as_echo_n "(cached) " >&6
16997else
16998  # I'd rather use --version here, but apparently some GNU lds only accept -v.
16999case `$LD -v 2>&1 </dev/null` in
17000*GNU* | *'with BFD'*)
17001  lt_cv_prog_gnu_ld=yes
17002  ;;
17003*)
17004  lt_cv_prog_gnu_ld=no
17005  ;;
17006esac
17007fi
17008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
17009$as_echo "$lt_cv_prog_gnu_ld" >&6; }
17010with_gnu_ld=$lt_cv_prog_gnu_ld
17011
17012
17013
17014
17015
17016
17017
17018      # Check if GNU C++ uses GNU ld as the underlying linker, since the
17019      # archiving commands below assume that GNU ld is being used.
17020      if test yes = "$with_gnu_ld"; then
17021        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17022        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
17023
17024        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
17025        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
17026
17027        # If archive_cmds runs LD, not CC, wlarc should be empty
17028        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
17029        #     investigate it a little bit more. (MM)
17030        wlarc='$wl'
17031
17032        # ancient GNU ld didn't support --whole-archive et. al.
17033        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
17034	  $GREP 'no-whole-archive' > /dev/null; then
17035          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
17036        else
17037          whole_archive_flag_spec_CXX=
17038        fi
17039      else
17040        with_gnu_ld=no
17041        wlarc=
17042
17043        # A generic and very simple default shared library creation
17044        # command for GNU C++ for the case where it uses the native
17045        # linker, instead of GNU ld.  If possible, this setting should
17046        # overridden to take advantage of the native linker features on
17047        # the platform it is being used on.
17048        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17049      fi
17050
17051      # Commands to make compiler produce verbose output that lists
17052      # what "hidden" libraries, object files and flags are used when
17053      # linking a shared library.
17054      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
17055
17056    else
17057      GXX=no
17058      with_gnu_ld=no
17059      wlarc=
17060    fi
17061
17062    # PORTME: fill in a description of your system's C++ link characteristics
17063    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17064$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17065    ld_shlibs_CXX=yes
17066    case $host_os in
17067      aix3*)
17068        # FIXME: insert proper C++ library support
17069        ld_shlibs_CXX=no
17070        ;;
17071      aix[4-9]*)
17072        if test ia64 = "$host_cpu"; then
17073          # On IA64, the linker does run time linking by default, so we don't
17074          # have to do anything special.
17075          aix_use_runtimelinking=no
17076          exp_sym_flag='-Bexport'
17077          no_entry_flag=
17078        else
17079          aix_use_runtimelinking=no
17080
17081          # Test if we are trying to use run time linking or normal
17082          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17083          # have runtime linking enabled, and use it for executables.
17084          # For shared libraries, we enable/disable runtime linking
17085          # depending on the kind of the shared library created -
17086          # when "with_aix_soname,aix_use_runtimelinking" is:
17087          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
17088          # "aix,yes"  lib.so          shared, rtl:yes, for executables
17089          #            lib.a           static archive
17090          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
17091          #            lib.a(lib.so.V) shared, rtl:no,  for executables
17092          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
17093          #            lib.a(lib.so.V) shared, rtl:no
17094          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
17095          #            lib.a           static archive
17096          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17097	    for ld_flag in $LDFLAGS; do
17098	      case $ld_flag in
17099	      *-brtl*)
17100	        aix_use_runtimelinking=yes
17101	        break
17102	        ;;
17103	      esac
17104	    done
17105	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
17106	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
17107	      # so we don't have lib.a shared libs to link our executables.
17108	      # We have to force runtime linking in this case.
17109	      aix_use_runtimelinking=yes
17110	      LDFLAGS="$LDFLAGS -Wl,-brtl"
17111	    fi
17112	    ;;
17113          esac
17114
17115          exp_sym_flag='-bexport'
17116          no_entry_flag='-bnoentry'
17117        fi
17118
17119        # When large executables or shared objects are built, AIX ld can
17120        # have problems creating the table of contents.  If linking a library
17121        # or program results in "error TOC overflow" add -mminimal-toc to
17122        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17123        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17124
17125        archive_cmds_CXX=''
17126        hardcode_direct_CXX=yes
17127        hardcode_direct_absolute_CXX=yes
17128        hardcode_libdir_separator_CXX=':'
17129        link_all_deplibs_CXX=yes
17130        file_list_spec_CXX='$wl-f,'
17131        case $with_aix_soname,$aix_use_runtimelinking in
17132        aix,*) ;;	# no import file
17133        svr4,* | *,yes) # use import file
17134          # The Import File defines what to hardcode.
17135          hardcode_direct_CXX=no
17136          hardcode_direct_absolute_CXX=no
17137          ;;
17138        esac
17139
17140        if test yes = "$GXX"; then
17141          case $host_os in aix4.[012]|aix4.[012].*)
17142          # We only want to do this on AIX 4.2 and lower, the check
17143          # below for broken collect2 doesn't work under 4.3+
17144	  collect2name=`$CC -print-prog-name=collect2`
17145	  if test -f "$collect2name" &&
17146	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
17147	  then
17148	    # We have reworked collect2
17149	    :
17150	  else
17151	    # We have old collect2
17152	    hardcode_direct_CXX=unsupported
17153	    # It fails to find uninstalled libraries when the uninstalled
17154	    # path is not listed in the libpath.  Setting hardcode_minus_L
17155	    # to unsupported forces relinking
17156	    hardcode_minus_L_CXX=yes
17157	    hardcode_libdir_flag_spec_CXX='-L$libdir'
17158	    hardcode_libdir_separator_CXX=
17159	  fi
17160          esac
17161          shared_flag='-shared'
17162	  if test yes = "$aix_use_runtimelinking"; then
17163	    shared_flag=$shared_flag' $wl-G'
17164	  fi
17165	  # Need to ensure runtime linking is disabled for the traditional
17166	  # shared library, or the linker may eventually find shared libraries
17167	  # /with/ Import File - we do not want to mix them.
17168	  shared_flag_aix='-shared'
17169	  shared_flag_svr4='-shared $wl-G'
17170        else
17171          # not using gcc
17172          if test ia64 = "$host_cpu"; then
17173	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17174	  # chokes on -Wl,-G. The following line is correct:
17175	  shared_flag='-G'
17176          else
17177	    if test yes = "$aix_use_runtimelinking"; then
17178	      shared_flag='$wl-G'
17179	    else
17180	      shared_flag='$wl-bM:SRE'
17181	    fi
17182	    shared_flag_aix='$wl-bM:SRE'
17183	    shared_flag_svr4='$wl-G'
17184          fi
17185        fi
17186
17187        export_dynamic_flag_spec_CXX='$wl-bexpall'
17188        # It seems that -bexpall does not export symbols beginning with
17189        # underscore (_), so it is better to generate a list of symbols to
17190	# export.
17191        always_export_symbols_CXX=yes
17192	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
17193          # Warning - without using the other runtime loading flags (-brtl),
17194          # -berok will link without error, but may produce a broken library.
17195          # The "-G" linker flag allows undefined symbols.
17196          no_undefined_flag_CXX='-bernotok'
17197          # Determine the default libpath from the value encoded in an empty
17198          # executable.
17199          if test set = "${lt_cv_aix_libpath+set}"; then
17200  aix_libpath=$lt_cv_aix_libpath
17201else
17202  if ${lt_cv_aix_libpath__CXX+:} false; then :
17203  $as_echo_n "(cached) " >&6
17204else
17205  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206/* end confdefs.h.  */
17207
17208int
17209main ()
17210{
17211
17212  ;
17213  return 0;
17214}
17215_ACEOF
17216if ac_fn_cxx_try_link "$LINENO"; then :
17217
17218  lt_aix_libpath_sed='
17219      /Import File Strings/,/^$/ {
17220	  /^0/ {
17221	      s/^0  *\([^ ]*\) *$/\1/
17222	      p
17223	  }
17224      }'
17225  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17226  # Check for a 64-bit object if we didn't find anything.
17227  if test -z "$lt_cv_aix_libpath__CXX"; then
17228    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17229  fi
17230fi
17231rm -f core conftest.err conftest.$ac_objext \
17232    conftest$ac_exeext conftest.$ac_ext
17233  if test -z "$lt_cv_aix_libpath__CXX"; then
17234    lt_cv_aix_libpath__CXX=/usr/lib:/lib
17235  fi
17236
17237fi
17238
17239  aix_libpath=$lt_cv_aix_libpath__CXX
17240fi
17241
17242          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
17243
17244          archive_expsym_cmds_CXX='$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
17245        else
17246          if test ia64 = "$host_cpu"; then
17247	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
17248	    allow_undefined_flag_CXX="-z nodefs"
17249	    archive_expsym_cmds_CXX="\$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"
17250          else
17251	    # Determine the default libpath from the value encoded in an
17252	    # empty executable.
17253	    if test set = "${lt_cv_aix_libpath+set}"; then
17254  aix_libpath=$lt_cv_aix_libpath
17255else
17256  if ${lt_cv_aix_libpath__CXX+:} false; then :
17257  $as_echo_n "(cached) " >&6
17258else
17259  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260/* end confdefs.h.  */
17261
17262int
17263main ()
17264{
17265
17266  ;
17267  return 0;
17268}
17269_ACEOF
17270if ac_fn_cxx_try_link "$LINENO"; then :
17271
17272  lt_aix_libpath_sed='
17273      /Import File Strings/,/^$/ {
17274	  /^0/ {
17275	      s/^0  *\([^ ]*\) *$/\1/
17276	      p
17277	  }
17278      }'
17279  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17280  # Check for a 64-bit object if we didn't find anything.
17281  if test -z "$lt_cv_aix_libpath__CXX"; then
17282    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17283  fi
17284fi
17285rm -f core conftest.err conftest.$ac_objext \
17286    conftest$ac_exeext conftest.$ac_ext
17287  if test -z "$lt_cv_aix_libpath__CXX"; then
17288    lt_cv_aix_libpath__CXX=/usr/lib:/lib
17289  fi
17290
17291fi
17292
17293  aix_libpath=$lt_cv_aix_libpath__CXX
17294fi
17295
17296	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
17297	    # Warning - without using the other run time loading flags,
17298	    # -berok will link without error, but may produce a broken library.
17299	    no_undefined_flag_CXX=' $wl-bernotok'
17300	    allow_undefined_flag_CXX=' $wl-berok'
17301	    if test yes = "$with_gnu_ld"; then
17302	      # We only use this code for GNU lds that support --whole-archive.
17303	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
17304	    else
17305	      # Exported symbols can be pulled into shared objects from archives
17306	      whole_archive_flag_spec_CXX='$convenience'
17307	    fi
17308	    archive_cmds_need_lc_CXX=yes
17309	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
17310	    # -brtl affects multiple linker settings, -berok does not and is overridden later
17311	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
17312	    if test svr4 != "$with_aix_soname"; then
17313	      # This is similar to how AIX traditionally builds its shared
17314	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
17315	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
17316	    fi
17317	    if test aix != "$with_aix_soname"; then
17318	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
17319	    else
17320	      # used by -dlpreopen to get the symbols
17321	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
17322	    fi
17323	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
17324          fi
17325        fi
17326        ;;
17327
17328      beos*)
17329	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17330	  allow_undefined_flag_CXX=unsupported
17331	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17332	  # support --undefined.  This deserves some investigation.  FIXME
17333	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17334	else
17335	  ld_shlibs_CXX=no
17336	fi
17337	;;
17338
17339      chorus*)
17340        case $cc_basename in
17341          *)
17342	  # FIXME: insert proper C++ library support
17343	  ld_shlibs_CXX=no
17344	  ;;
17345        esac
17346        ;;
17347
17348      cygwin* | mingw* | pw32* | cegcc*)
17349	case $GXX,$cc_basename in
17350	,cl* | no,cl*)
17351	  # Native MSVC
17352	  # hardcode_libdir_flag_spec is actually meaningless, as there is
17353	  # no search path for DLLs.
17354	  hardcode_libdir_flag_spec_CXX=' '
17355	  allow_undefined_flag_CXX=unsupported
17356	  always_export_symbols_CXX=yes
17357	  file_list_spec_CXX='@'
17358	  # Tell ltmain to make .lib files, not .a files.
17359	  libext=lib
17360	  # Tell ltmain to make .dll files, not .so files.
17361	  shrext_cmds=.dll
17362	  # FIXME: Setting linknames here is a bad hack.
17363	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
17364	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
17365              cp "$export_symbols" "$output_objdir/$soname.def";
17366              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
17367            else
17368              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
17369            fi~
17370            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
17371            linknames='
17372	  # The linker will not automatically build a static lib if we build a DLL.
17373	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
17374	  enable_shared_with_static_runtimes_CXX=yes
17375	  # Don't use ranlib
17376	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
17377	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
17378            lt_tool_outputfile="@TOOL_OUTPUT@"~
17379            case $lt_outputfile in
17380              *.exe|*.EXE) ;;
17381              *)
17382                lt_outputfile=$lt_outputfile.exe
17383                lt_tool_outputfile=$lt_tool_outputfile.exe
17384                ;;
17385            esac~
17386            func_to_tool_file "$lt_outputfile"~
17387            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
17388              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
17389              $RM "$lt_outputfile.manifest";
17390            fi'
17391	  ;;
17392	*)
17393	  # g++
17394	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
17395	  # as there is no search path for DLLs.
17396	  hardcode_libdir_flag_spec_CXX='-L$libdir'
17397	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
17398	  allow_undefined_flag_CXX=unsupported
17399	  always_export_symbols_CXX=no
17400	  enable_shared_with_static_runtimes_CXX=yes
17401
17402	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17403	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17404	    # If the export-symbols file already is a .def file, use it as
17405	    # is; otherwise, prepend EXPORTS...
17406	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
17407              cp $export_symbols $output_objdir/$soname.def;
17408            else
17409              echo EXPORTS > $output_objdir/$soname.def;
17410              cat $export_symbols >> $output_objdir/$soname.def;
17411            fi~
17412            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17413	  else
17414	    ld_shlibs_CXX=no
17415	  fi
17416	  ;;
17417	esac
17418	;;
17419      darwin* | rhapsody*)
17420
17421
17422  archive_cmds_need_lc_CXX=no
17423  hardcode_direct_CXX=no
17424  hardcode_automatic_CXX=yes
17425  hardcode_shlibpath_var_CXX=unsupported
17426  if test yes = "$lt_cv_ld_force_load"; then
17427    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
17428
17429  else
17430    whole_archive_flag_spec_CXX=''
17431  fi
17432  link_all_deplibs_CXX=yes
17433  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
17434  case $cc_basename in
17435     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
17436     *) _lt_dar_can_shared=$GCC ;;
17437  esac
17438  if test yes = "$_lt_dar_can_shared"; then
17439    output_verbose_link_cmd=func_echo_all
17440    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
17441    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
17442    archive_expsym_cmds_CXX="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"
17443    module_expsym_cmds_CXX="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"
17444       if test yes != "$lt_cv_apple_cc_single_mod"; then
17445      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
17446      archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
17447    fi
17448
17449  else
17450  ld_shlibs_CXX=no
17451  fi
17452
17453	;;
17454
17455      os2*)
17456	hardcode_libdir_flag_spec_CXX='-L$libdir'
17457	hardcode_minus_L_CXX=yes
17458	allow_undefined_flag_CXX=unsupported
17459	shrext_cmds=.dll
17460	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
17461	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
17462	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
17463	  $ECHO EXPORTS >> $output_objdir/$libname.def~
17464	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
17465	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
17466	  emximp -o $lib $output_objdir/$libname.def'
17467	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
17468	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
17469	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
17470	  $ECHO EXPORTS >> $output_objdir/$libname.def~
17471	  prefix_cmds="$SED"~
17472	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
17473	    prefix_cmds="$prefix_cmds -e 1d";
17474	  fi~
17475	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
17476	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
17477	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
17478	  emximp -o $lib $output_objdir/$libname.def'
17479	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
17480	enable_shared_with_static_runtimes_CXX=yes
17481	;;
17482
17483      dgux*)
17484        case $cc_basename in
17485          ec++*)
17486	    # FIXME: insert proper C++ library support
17487	    ld_shlibs_CXX=no
17488	    ;;
17489          ghcx*)
17490	    # Green Hills C++ Compiler
17491	    # FIXME: insert proper C++ library support
17492	    ld_shlibs_CXX=no
17493	    ;;
17494          *)
17495	    # FIXME: insert proper C++ library support
17496	    ld_shlibs_CXX=no
17497	    ;;
17498        esac
17499        ;;
17500
17501      freebsd2.*)
17502        # C++ shared libraries reported to be fairly broken before
17503	# switch to ELF
17504        ld_shlibs_CXX=no
17505        ;;
17506
17507      freebsd-elf*)
17508        archive_cmds_need_lc_CXX=no
17509        ;;
17510
17511      freebsd* | dragonfly*)
17512        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
17513        # conventions
17514        ld_shlibs_CXX=yes
17515        ;;
17516
17517      haiku*)
17518        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17519        link_all_deplibs_CXX=yes
17520        ;;
17521
17522      hpux9*)
17523        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
17524        hardcode_libdir_separator_CXX=:
17525        export_dynamic_flag_spec_CXX='$wl-E'
17526        hardcode_direct_CXX=yes
17527        hardcode_minus_L_CXX=yes # Not in the search PATH,
17528				             # but as the default
17529				             # location of the library.
17530
17531        case $cc_basename in
17532          CC*)
17533            # FIXME: insert proper C++ library support
17534            ld_shlibs_CXX=no
17535            ;;
17536          aCC*)
17537            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
17538            # Commands to make compiler produce verbose output that lists
17539            # what "hidden" libraries, object files and flags are used when
17540            # linking a shared library.
17541            #
17542            # There doesn't appear to be a way to prevent this compiler from
17543            # explicitly linking system object files so we need to strip them
17544            # from the output so that they don't get included in the library
17545            # dependencies.
17546            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17547            ;;
17548          *)
17549            if test yes = "$GXX"; then
17550              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
17551            else
17552              # FIXME: insert proper C++ library support
17553              ld_shlibs_CXX=no
17554            fi
17555            ;;
17556        esac
17557        ;;
17558
17559      hpux10*|hpux11*)
17560        if test no = "$with_gnu_ld"; then
17561	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
17562	  hardcode_libdir_separator_CXX=:
17563
17564          case $host_cpu in
17565            hppa*64*|ia64*)
17566              ;;
17567            *)
17568	      export_dynamic_flag_spec_CXX='$wl-E'
17569              ;;
17570          esac
17571        fi
17572        case $host_cpu in
17573          hppa*64*|ia64*)
17574            hardcode_direct_CXX=no
17575            hardcode_shlibpath_var_CXX=no
17576            ;;
17577          *)
17578            hardcode_direct_CXX=yes
17579            hardcode_direct_absolute_CXX=yes
17580            hardcode_minus_L_CXX=yes # Not in the search PATH,
17581					         # but as the default
17582					         # location of the library.
17583            ;;
17584        esac
17585
17586        case $cc_basename in
17587          CC*)
17588	    # FIXME: insert proper C++ library support
17589	    ld_shlibs_CXX=no
17590	    ;;
17591          aCC*)
17592	    case $host_cpu in
17593	      hppa*64*)
17594	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17595	        ;;
17596	      ia64*)
17597	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17598	        ;;
17599	      *)
17600	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17601	        ;;
17602	    esac
17603	    # Commands to make compiler produce verbose output that lists
17604	    # what "hidden" libraries, object files and flags are used when
17605	    # linking a shared library.
17606	    #
17607	    # There doesn't appear to be a way to prevent this compiler from
17608	    # explicitly linking system object files so we need to strip them
17609	    # from the output so that they don't get included in the library
17610	    # dependencies.
17611	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17612	    ;;
17613          *)
17614	    if test yes = "$GXX"; then
17615	      if test no = "$with_gnu_ld"; then
17616	        case $host_cpu in
17617	          hppa*64*)
17618	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17619	            ;;
17620	          ia64*)
17621	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17622	            ;;
17623	          *)
17624	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17625	            ;;
17626	        esac
17627	      fi
17628	    else
17629	      # FIXME: insert proper C++ library support
17630	      ld_shlibs_CXX=no
17631	    fi
17632	    ;;
17633        esac
17634        ;;
17635
17636      interix[3-9]*)
17637	hardcode_direct_CXX=no
17638	hardcode_shlibpath_var_CXX=no
17639	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
17640	export_dynamic_flag_spec_CXX='$wl-E'
17641	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17642	# Instead, shared libraries are loaded at an image base (0x10000000 by
17643	# default) and relocated if they conflict, which is a slow very memory
17644	# consuming and fragmenting process.  To avoid this, we pick a random,
17645	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17646	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17647	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17648	archive_expsym_cmds_CXX='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'
17649	;;
17650      irix5* | irix6*)
17651        case $cc_basename in
17652          CC*)
17653	    # SGI C++
17654	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
17655
17656	    # Archives containing C++ object files must be created using
17657	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
17658	    # necessary to make sure instantiated templates are included
17659	    # in the archive.
17660	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
17661	    ;;
17662          *)
17663	    if test yes = "$GXX"; then
17664	      if test no = "$with_gnu_ld"; then
17665	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
17666	      else
17667	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
17668	      fi
17669	    fi
17670	    link_all_deplibs_CXX=yes
17671	    ;;
17672        esac
17673        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
17674        hardcode_libdir_separator_CXX=:
17675        inherit_rpath_CXX=yes
17676        ;;
17677
17678      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17679        case $cc_basename in
17680          KCC*)
17681	    # Kuck and Associates, Inc. (KAI) C++ Compiler
17682
17683	    # KCC will only create a shared library if the output file
17684	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
17685	    # to its proper name (with version) after linking.
17686	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
17687	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
17688	    # Commands to make compiler produce verbose output that lists
17689	    # what "hidden" libraries, object files and flags are used when
17690	    # linking a shared library.
17691	    #
17692	    # There doesn't appear to be a way to prevent this compiler from
17693	    # explicitly linking system object files so we need to strip them
17694	    # from the output so that they don't get included in the library
17695	    # dependencies.
17696	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17697
17698	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
17699	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
17700
17701	    # Archives containing C++ object files must be created using
17702	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
17703	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
17704	    ;;
17705	  icpc* | ecpc* )
17706	    # Intel C++
17707	    with_gnu_ld=yes
17708	    # version 8.0 and above of icpc choke on multiply defined symbols
17709	    # if we add $predep_objects and $postdep_objects, however 7.1 and
17710	    # earlier do not add the objects themselves.
17711	    case `$CC -V 2>&1` in
17712	      *"Version 7."*)
17713	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17714		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
17715		;;
17716	      *)  # Version 8.0 or newer
17717	        tmp_idyn=
17718	        case $host_cpu in
17719		  ia64*) tmp_idyn=' -i_dynamic';;
17720		esac
17721	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17722		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
17723		;;
17724	    esac
17725	    archive_cmds_need_lc_CXX=no
17726	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
17727	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
17728	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
17729	    ;;
17730          pgCC* | pgcpp*)
17731            # Portland Group C++ compiler
17732	    case `$CC -V` in
17733	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
17734	      prelink_cmds_CXX='tpldir=Template.dir~
17735               rm -rf $tpldir~
17736               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
17737               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
17738	      old_archive_cmds_CXX='tpldir=Template.dir~
17739                rm -rf $tpldir~
17740                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
17741                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
17742                $RANLIB $oldlib'
17743	      archive_cmds_CXX='tpldir=Template.dir~
17744                rm -rf $tpldir~
17745                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17746                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17747	      archive_expsym_cmds_CXX='tpldir=Template.dir~
17748                rm -rf $tpldir~
17749                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17750                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
17751	      ;;
17752	    *) # Version 6 and above use weak symbols
17753	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17754	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
17755	      ;;
17756	    esac
17757
17758	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
17759	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
17760	    whole_archive_flag_spec_CXX='$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'
17761            ;;
17762	  cxx*)
17763	    # Compaq C++
17764	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17765	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
17766
17767	    runpath_var=LD_RUN_PATH
17768	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17769	    hardcode_libdir_separator_CXX=:
17770
17771	    # Commands to make compiler produce verbose output that lists
17772	    # what "hidden" libraries, object files and flags are used when
17773	    # linking a shared library.
17774	    #
17775	    # There doesn't appear to be a way to prevent this compiler from
17776	    # explicitly linking system object files so we need to strip them
17777	    # from the output so that they don't get included in the library
17778	    # dependencies.
17779	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
17780	    ;;
17781	  xl* | mpixl* | bgxl*)
17782	    # IBM XL 8.0 on PPC, with GNU ld
17783	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
17784	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
17785	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17786	    if test yes = "$supports_anon_versioning"; then
17787	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
17788                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17789                echo "local: *; };" >> $output_objdir/$libname.ver~
17790                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
17791	    fi
17792	    ;;
17793	  *)
17794	    case `$CC -V 2>&1 | sed 5q` in
17795	    *Sun\ C*)
17796	      # Sun C++ 5.9
17797	      no_undefined_flag_CXX=' -zdefs'
17798	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17799	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
17800	      hardcode_libdir_flag_spec_CXX='-R$libdir'
17801	      whole_archive_flag_spec_CXX='$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'
17802	      compiler_needs_object_CXX=yes
17803
17804	      # Not sure whether something based on
17805	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
17806	      # would be better.
17807	      output_verbose_link_cmd='func_echo_all'
17808
17809	      # Archives containing C++ object files must be created using
17810	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
17811	      # necessary to make sure instantiated templates are included
17812	      # in the archive.
17813	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17814	      ;;
17815	    esac
17816	    ;;
17817	esac
17818	;;
17819
17820      lynxos*)
17821        # FIXME: insert proper C++ library support
17822	ld_shlibs_CXX=no
17823	;;
17824
17825      m88k*)
17826        # FIXME: insert proper C++ library support
17827        ld_shlibs_CXX=no
17828	;;
17829
17830      mvs*)
17831        case $cc_basename in
17832          cxx*)
17833	    # FIXME: insert proper C++ library support
17834	    ld_shlibs_CXX=no
17835	    ;;
17836	  *)
17837	    # FIXME: insert proper C++ library support
17838	    ld_shlibs_CXX=no
17839	    ;;
17840	esac
17841	;;
17842
17843      netbsd*)
17844        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17845	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
17846	  wlarc=
17847	  hardcode_libdir_flag_spec_CXX='-R$libdir'
17848	  hardcode_direct_CXX=yes
17849	  hardcode_shlibpath_var_CXX=no
17850	fi
17851	# Workaround some broken pre-1.5 toolchains
17852	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
17853	;;
17854
17855      *nto* | *qnx*)
17856        ld_shlibs_CXX=yes
17857	;;
17858
17859      openbsd* | bitrig*)
17860	if test -f /usr/libexec/ld.so; then
17861	  hardcode_direct_CXX=yes
17862	  hardcode_shlibpath_var_CXX=no
17863	  hardcode_direct_absolute_CXX=yes
17864	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17865	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
17866	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
17867	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
17868	    export_dynamic_flag_spec_CXX='$wl-E'
17869	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
17870	  fi
17871	  output_verbose_link_cmd=func_echo_all
17872	else
17873	  ld_shlibs_CXX=no
17874	fi
17875	;;
17876
17877      osf3* | osf4* | osf5*)
17878        case $cc_basename in
17879          KCC*)
17880	    # Kuck and Associates, Inc. (KAI) C++ Compiler
17881
17882	    # KCC will only create a shared library if the output file
17883	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
17884	    # to its proper name (with version) after linking.
17885	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
17886
17887	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
17888	    hardcode_libdir_separator_CXX=:
17889
17890	    # Archives containing C++ object files must be created using
17891	    # the KAI C++ compiler.
17892	    case $host in
17893	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
17894	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
17895	    esac
17896	    ;;
17897          RCC*)
17898	    # Rational C++ 2.4.1
17899	    # FIXME: insert proper C++ library support
17900	    ld_shlibs_CXX=no
17901	    ;;
17902          cxx*)
17903	    case $host in
17904	      osf3*)
17905	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
17906	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
17907	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
17908		;;
17909	      *)
17910	        allow_undefined_flag_CXX=' -expect_unresolved \*'
17911	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
17912	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
17913                  echo "-hidden">> $lib.exp~
17914                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
17915                  $RM $lib.exp'
17916	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17917		;;
17918	    esac
17919
17920	    hardcode_libdir_separator_CXX=:
17921
17922	    # Commands to make compiler produce verbose output that lists
17923	    # what "hidden" libraries, object files and flags are used when
17924	    # linking a shared library.
17925	    #
17926	    # There doesn't appear to be a way to prevent this compiler from
17927	    # explicitly linking system object files so we need to strip them
17928	    # from the output so that they don't get included in the library
17929	    # dependencies.
17930	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17931	    ;;
17932	  *)
17933	    if test yes,no = "$GXX,$with_gnu_ld"; then
17934	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
17935	      case $host in
17936	        osf3*)
17937	          archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
17938		  ;;
17939	        *)
17940	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
17941		  ;;
17942	      esac
17943
17944	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
17945	      hardcode_libdir_separator_CXX=:
17946
17947	      # Commands to make compiler produce verbose output that lists
17948	      # what "hidden" libraries, object files and flags are used when
17949	      # linking a shared library.
17950	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
17951
17952	    else
17953	      # FIXME: insert proper C++ library support
17954	      ld_shlibs_CXX=no
17955	    fi
17956	    ;;
17957        esac
17958        ;;
17959
17960      psos*)
17961        # FIXME: insert proper C++ library support
17962        ld_shlibs_CXX=no
17963        ;;
17964
17965      sunos4*)
17966        case $cc_basename in
17967          CC*)
17968	    # Sun C++ 4.x
17969	    # FIXME: insert proper C++ library support
17970	    ld_shlibs_CXX=no
17971	    ;;
17972          lcc*)
17973	    # Lucid
17974	    # FIXME: insert proper C++ library support
17975	    ld_shlibs_CXX=no
17976	    ;;
17977          *)
17978	    # FIXME: insert proper C++ library support
17979	    ld_shlibs_CXX=no
17980	    ;;
17981        esac
17982        ;;
17983
17984      solaris*)
17985        case $cc_basename in
17986          CC* | sunCC*)
17987	    # Sun C++ 4.2, 5.x and Centerline C++
17988            archive_cmds_need_lc_CXX=yes
17989	    no_undefined_flag_CXX=' -zdefs'
17990	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17991	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17992              $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
17993
17994	    hardcode_libdir_flag_spec_CXX='-R$libdir'
17995	    hardcode_shlibpath_var_CXX=no
17996	    case $host_os in
17997	      solaris2.[0-5] | solaris2.[0-5].*) ;;
17998	      *)
17999		# The compiler driver will combine and reorder linker options,
18000		# but understands '-z linker_flag'.
18001	        # Supported since Solaris 2.6 (maybe 2.5.1?)
18002		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
18003	        ;;
18004	    esac
18005	    link_all_deplibs_CXX=yes
18006
18007	    output_verbose_link_cmd='func_echo_all'
18008
18009	    # Archives containing C++ object files must be created using
18010	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
18011	    # necessary to make sure instantiated templates are included
18012	    # in the archive.
18013	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18014	    ;;
18015          gcx*)
18016	    # Green Hills C++ Compiler
18017	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
18018
18019	    # The C++ compiler must be used to create the archive.
18020	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18021	    ;;
18022          *)
18023	    # GNU C++ compiler with Solaris linker
18024	    if test yes,no = "$GXX,$with_gnu_ld"; then
18025	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
18026	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
18027	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
18028	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18029                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18030
18031	        # Commands to make compiler produce verbose output that lists
18032	        # what "hidden" libraries, object files and flags are used when
18033	        # linking a shared library.
18034	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
18035	      else
18036	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
18037	        # platform.
18038	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
18039	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18040                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18041
18042	        # Commands to make compiler produce verbose output that lists
18043	        # what "hidden" libraries, object files and flags are used when
18044	        # linking a shared library.
18045	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
18046	      fi
18047
18048	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
18049	      case $host_os in
18050		solaris2.[0-5] | solaris2.[0-5].*) ;;
18051		*)
18052		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
18053		  ;;
18054	      esac
18055	    fi
18056	    ;;
18057        esac
18058        ;;
18059
18060    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18061      no_undefined_flag_CXX='$wl-z,text'
18062      archive_cmds_need_lc_CXX=no
18063      hardcode_shlibpath_var_CXX=no
18064      runpath_var='LD_RUN_PATH'
18065
18066      case $cc_basename in
18067        CC*)
18068	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18069	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18070	  ;;
18071	*)
18072	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18073	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18074	  ;;
18075      esac
18076      ;;
18077
18078      sysv5* | sco3.2v5* | sco5v6*)
18079	# Note: We CANNOT use -z defs as we might desire, because we do not
18080	# link with -lc, and that would cause any symbols used from libc to
18081	# always be unresolved, which means just about no library would
18082	# ever link correctly.  If we're not using GNU ld we use -z text
18083	# though, which does catch some bad symbols but isn't as heavy-handed
18084	# as -z defs.
18085	no_undefined_flag_CXX='$wl-z,text'
18086	allow_undefined_flag_CXX='$wl-z,nodefs'
18087	archive_cmds_need_lc_CXX=no
18088	hardcode_shlibpath_var_CXX=no
18089	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
18090	hardcode_libdir_separator_CXX=':'
18091	link_all_deplibs_CXX=yes
18092	export_dynamic_flag_spec_CXX='$wl-Bexport'
18093	runpath_var='LD_RUN_PATH'
18094
18095	case $cc_basename in
18096          CC*)
18097	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18098	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18099	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
18100              '"$old_archive_cmds_CXX"
18101	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
18102              '"$reload_cmds_CXX"
18103	    ;;
18104	  *)
18105	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18106	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18107	    ;;
18108	esac
18109      ;;
18110
18111      tandem*)
18112        case $cc_basename in
18113          NCC*)
18114	    # NonStop-UX NCC 3.20
18115	    # FIXME: insert proper C++ library support
18116	    ld_shlibs_CXX=no
18117	    ;;
18118          *)
18119	    # FIXME: insert proper C++ library support
18120	    ld_shlibs_CXX=no
18121	    ;;
18122        esac
18123        ;;
18124
18125      vxworks*)
18126        # FIXME: insert proper C++ library support
18127        ld_shlibs_CXX=no
18128        ;;
18129
18130      *)
18131        # FIXME: insert proper C++ library support
18132        ld_shlibs_CXX=no
18133        ;;
18134    esac
18135
18136    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18137$as_echo "$ld_shlibs_CXX" >&6; }
18138    test no = "$ld_shlibs_CXX" && can_build_shared=no
18139
18140    GCC_CXX=$GXX
18141    LD_CXX=$LD
18142
18143    ## CAVEAT EMPTOR:
18144    ## There is no encapsulation within the following macros, do not change
18145    ## the running order or otherwise move them around unless you know exactly
18146    ## what you are doing...
18147    # Dependencies to place before and after the object being linked:
18148predep_objects_CXX=
18149postdep_objects_CXX=
18150predeps_CXX=
18151postdeps_CXX=
18152compiler_lib_search_path_CXX=
18153
18154cat > conftest.$ac_ext <<_LT_EOF
18155class Foo
18156{
18157public:
18158  Foo (void) { a = 0; }
18159private:
18160  int a;
18161};
18162_LT_EOF
18163
18164
18165_lt_libdeps_save_CFLAGS=$CFLAGS
18166case "$CC $CFLAGS " in #(
18167*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
18168*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
18169*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
18170esac
18171
18172if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18173  (eval $ac_compile) 2>&5
18174  ac_status=$?
18175  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18176  test $ac_status = 0; }; then
18177  # Parse the compiler output and extract the necessary
18178  # objects, libraries and library flags.
18179
18180  # Sentinel used to keep track of whether or not we are before
18181  # the conftest object file.
18182  pre_test_object_deps_done=no
18183
18184  for p in `eval "$output_verbose_link_cmd"`; do
18185    case $prev$p in
18186
18187    -L* | -R* | -l*)
18188       # Some compilers place space between "-{L,R}" and the path.
18189       # Remove the space.
18190       if test x-L = "$p" ||
18191          test x-R = "$p"; then
18192	 prev=$p
18193	 continue
18194       fi
18195
18196       # Expand the sysroot to ease extracting the directories later.
18197       if test -z "$prev"; then
18198         case $p in
18199         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
18200         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
18201         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
18202         esac
18203       fi
18204       case $p in
18205       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
18206       esac
18207       if test no = "$pre_test_object_deps_done"; then
18208	 case $prev in
18209	 -L | -R)
18210	   # Internal compiler library paths should come after those
18211	   # provided the user.  The postdeps already come after the
18212	   # user supplied libs so there is no need to process them.
18213	   if test -z "$compiler_lib_search_path_CXX"; then
18214	     compiler_lib_search_path_CXX=$prev$p
18215	   else
18216	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
18217	   fi
18218	   ;;
18219	 # The "-l" case would never come before the object being
18220	 # linked, so don't bother handling this case.
18221	 esac
18222       else
18223	 if test -z "$postdeps_CXX"; then
18224	   postdeps_CXX=$prev$p
18225	 else
18226	   postdeps_CXX="${postdeps_CXX} $prev$p"
18227	 fi
18228       fi
18229       prev=
18230       ;;
18231
18232    *.lto.$objext) ;; # Ignore GCC LTO objects
18233    *.$objext)
18234       # This assumes that the test object file only shows up
18235       # once in the compiler output.
18236       if test "$p" = "conftest.$objext"; then
18237	 pre_test_object_deps_done=yes
18238	 continue
18239       fi
18240
18241       if test no = "$pre_test_object_deps_done"; then
18242	 if test -z "$predep_objects_CXX"; then
18243	   predep_objects_CXX=$p
18244	 else
18245	   predep_objects_CXX="$predep_objects_CXX $p"
18246	 fi
18247       else
18248	 if test -z "$postdep_objects_CXX"; then
18249	   postdep_objects_CXX=$p
18250	 else
18251	   postdep_objects_CXX="$postdep_objects_CXX $p"
18252	 fi
18253       fi
18254       ;;
18255
18256    *) ;; # Ignore the rest.
18257
18258    esac
18259  done
18260
18261  # Clean up.
18262  rm -f a.out a.exe
18263else
18264  echo "libtool.m4: error: problem compiling CXX test program"
18265fi
18266
18267$RM -f confest.$objext
18268CFLAGS=$_lt_libdeps_save_CFLAGS
18269
18270# PORTME: override above test on systems where it is broken
18271case $host_os in
18272interix[3-9]*)
18273  # Interix 3.5 installs completely hosed .la files for C++, so rather than
18274  # hack all around it, let's just trust "g++" to DTRT.
18275  predep_objects_CXX=
18276  postdep_objects_CXX=
18277  postdeps_CXX=
18278  ;;
18279esac
18280
18281
18282case " $postdeps_CXX " in
18283*" -lc "*) archive_cmds_need_lc_CXX=no ;;
18284esac
18285 compiler_lib_search_dirs_CXX=
18286if test -n "${compiler_lib_search_path_CXX}"; then
18287 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
18288fi
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320    lt_prog_compiler_wl_CXX=
18321lt_prog_compiler_pic_CXX=
18322lt_prog_compiler_static_CXX=
18323
18324
18325  # C++ specific cases for pic, static, wl, etc.
18326  if test yes = "$GXX"; then
18327    lt_prog_compiler_wl_CXX='-Wl,'
18328    lt_prog_compiler_static_CXX='-static'
18329
18330    case $host_os in
18331    aix*)
18332      # All AIX code is PIC.
18333      if test ia64 = "$host_cpu"; then
18334	# AIX 5 now supports IA64 processor
18335	lt_prog_compiler_static_CXX='-Bstatic'
18336      fi
18337      lt_prog_compiler_pic_CXX='-fPIC'
18338      ;;
18339
18340    amigaos*)
18341      case $host_cpu in
18342      powerpc)
18343            # see comment about AmigaOS4 .so support
18344            lt_prog_compiler_pic_CXX='-fPIC'
18345        ;;
18346      m68k)
18347            # FIXME: we need at least 68020 code to build shared libraries, but
18348            # adding the '-m68020' flag to GCC prevents building anything better,
18349            # like '-m68040'.
18350            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
18351        ;;
18352      esac
18353      ;;
18354
18355    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18356      # PIC is the default for these OSes.
18357      ;;
18358    mingw* | cygwin* | os2* | pw32* | cegcc*)
18359      # This hack is so that the source file can tell whether it is being
18360      # built for inclusion in a dll (and should export symbols for example).
18361      # Although the cygwin gcc ignores -fPIC, still need this for old-style
18362      # (--disable-auto-import) libraries
18363      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
18364      case $host_os in
18365      os2*)
18366	lt_prog_compiler_static_CXX='$wl-static'
18367	;;
18368      esac
18369      ;;
18370    darwin* | rhapsody*)
18371      # PIC is the default on this platform
18372      # Common symbols not allowed in MH_DYLIB files
18373      lt_prog_compiler_pic_CXX='-fno-common'
18374      ;;
18375    *djgpp*)
18376      # DJGPP does not support shared libraries at all
18377      lt_prog_compiler_pic_CXX=
18378      ;;
18379    haiku*)
18380      # PIC is the default for Haiku.
18381      # The "-static" flag exists, but is broken.
18382      lt_prog_compiler_static_CXX=
18383      ;;
18384    interix[3-9]*)
18385      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18386      # Instead, we relocate shared libraries at runtime.
18387      ;;
18388    sysv4*MP*)
18389      if test -d /usr/nec; then
18390	lt_prog_compiler_pic_CXX=-Kconform_pic
18391      fi
18392      ;;
18393    hpux*)
18394      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18395      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
18396      # sets the default TLS model and affects inlining.
18397      case $host_cpu in
18398      hppa*64*)
18399	;;
18400      *)
18401	lt_prog_compiler_pic_CXX='-fPIC'
18402	;;
18403      esac
18404      ;;
18405    *qnx* | *nto*)
18406      # QNX uses GNU C++, but need to define -shared option too, otherwise
18407      # it will coredump.
18408      lt_prog_compiler_pic_CXX='-fPIC -shared'
18409      ;;
18410    *)
18411      lt_prog_compiler_pic_CXX='-fPIC'
18412      ;;
18413    esac
18414  else
18415    case $host_os in
18416      aix[4-9]*)
18417	# All AIX code is PIC.
18418	if test ia64 = "$host_cpu"; then
18419	  # AIX 5 now supports IA64 processor
18420	  lt_prog_compiler_static_CXX='-Bstatic'
18421	else
18422	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
18423	fi
18424	;;
18425      chorus*)
18426	case $cc_basename in
18427	cxch68*)
18428	  # Green Hills C++ Compiler
18429	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
18430	  ;;
18431	esac
18432	;;
18433      mingw* | cygwin* | os2* | pw32* | cegcc*)
18434	# This hack is so that the source file can tell whether it is being
18435	# built for inclusion in a dll (and should export symbols for example).
18436	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
18437	;;
18438      dgux*)
18439	case $cc_basename in
18440	  ec++*)
18441	    lt_prog_compiler_pic_CXX='-KPIC'
18442	    ;;
18443	  ghcx*)
18444	    # Green Hills C++ Compiler
18445	    lt_prog_compiler_pic_CXX='-pic'
18446	    ;;
18447	  *)
18448	    ;;
18449	esac
18450	;;
18451      freebsd* | dragonfly*)
18452	# FreeBSD uses GNU C++
18453	;;
18454      hpux9* | hpux10* | hpux11*)
18455	case $cc_basename in
18456	  CC*)
18457	    lt_prog_compiler_wl_CXX='-Wl,'
18458	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
18459	    if test ia64 != "$host_cpu"; then
18460	      lt_prog_compiler_pic_CXX='+Z'
18461	    fi
18462	    ;;
18463	  aCC*)
18464	    lt_prog_compiler_wl_CXX='-Wl,'
18465	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
18466	    case $host_cpu in
18467	    hppa*64*|ia64*)
18468	      # +Z the default
18469	      ;;
18470	    *)
18471	      lt_prog_compiler_pic_CXX='+Z'
18472	      ;;
18473	    esac
18474	    ;;
18475	  *)
18476	    ;;
18477	esac
18478	;;
18479      interix*)
18480	# This is c89, which is MS Visual C++ (no shared libs)
18481	# Anyone wants to do a port?
18482	;;
18483      irix5* | irix6* | nonstopux*)
18484	case $cc_basename in
18485	  CC*)
18486	    lt_prog_compiler_wl_CXX='-Wl,'
18487	    lt_prog_compiler_static_CXX='-non_shared'
18488	    # CC pic flag -KPIC is the default.
18489	    ;;
18490	  *)
18491	    ;;
18492	esac
18493	;;
18494      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
18495	case $cc_basename in
18496	  KCC*)
18497	    # KAI C++ Compiler
18498	    lt_prog_compiler_wl_CXX='--backend -Wl,'
18499	    lt_prog_compiler_pic_CXX='-fPIC'
18500	    ;;
18501	  ecpc* )
18502	    # old Intel C++ for x86_64, which still supported -KPIC.
18503	    lt_prog_compiler_wl_CXX='-Wl,'
18504	    lt_prog_compiler_pic_CXX='-KPIC'
18505	    lt_prog_compiler_static_CXX='-static'
18506	    ;;
18507	  icpc* )
18508	    # Intel C++, used to be incompatible with GCC.
18509	    # ICC 10 doesn't accept -KPIC any more.
18510	    lt_prog_compiler_wl_CXX='-Wl,'
18511	    lt_prog_compiler_pic_CXX='-fPIC'
18512	    lt_prog_compiler_static_CXX='-static'
18513	    ;;
18514	  pgCC* | pgcpp*)
18515	    # Portland Group C++ compiler
18516	    lt_prog_compiler_wl_CXX='-Wl,'
18517	    lt_prog_compiler_pic_CXX='-fpic'
18518	    lt_prog_compiler_static_CXX='-Bstatic'
18519	    ;;
18520	  cxx*)
18521	    # Compaq C++
18522	    # Make sure the PIC flag is empty.  It appears that all Alpha
18523	    # Linux and Compaq Tru64 Unix objects are PIC.
18524	    lt_prog_compiler_pic_CXX=
18525	    lt_prog_compiler_static_CXX='-non_shared'
18526	    ;;
18527	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
18528	    # IBM XL 8.0, 9.0 on PPC and BlueGene
18529	    lt_prog_compiler_wl_CXX='-Wl,'
18530	    lt_prog_compiler_pic_CXX='-qpic'
18531	    lt_prog_compiler_static_CXX='-qstaticlink'
18532	    ;;
18533	  *)
18534	    case `$CC -V 2>&1 | sed 5q` in
18535	    *Sun\ C*)
18536	      # Sun C++ 5.9
18537	      lt_prog_compiler_pic_CXX='-KPIC'
18538	      lt_prog_compiler_static_CXX='-Bstatic'
18539	      lt_prog_compiler_wl_CXX='-Qoption ld '
18540	      ;;
18541	    esac
18542	    ;;
18543	esac
18544	;;
18545      lynxos*)
18546	;;
18547      m88k*)
18548	;;
18549      mvs*)
18550	case $cc_basename in
18551	  cxx*)
18552	    lt_prog_compiler_pic_CXX='-W c,exportall'
18553	    ;;
18554	  *)
18555	    ;;
18556	esac
18557	;;
18558      netbsd* | netbsdelf*-gnu)
18559	;;
18560      *qnx* | *nto*)
18561        # QNX uses GNU C++, but need to define -shared option too, otherwise
18562        # it will coredump.
18563        lt_prog_compiler_pic_CXX='-fPIC -shared'
18564        ;;
18565      osf3* | osf4* | osf5*)
18566	case $cc_basename in
18567	  KCC*)
18568	    lt_prog_compiler_wl_CXX='--backend -Wl,'
18569	    ;;
18570	  RCC*)
18571	    # Rational C++ 2.4.1
18572	    lt_prog_compiler_pic_CXX='-pic'
18573	    ;;
18574	  cxx*)
18575	    # Digital/Compaq C++
18576	    lt_prog_compiler_wl_CXX='-Wl,'
18577	    # Make sure the PIC flag is empty.  It appears that all Alpha
18578	    # Linux and Compaq Tru64 Unix objects are PIC.
18579	    lt_prog_compiler_pic_CXX=
18580	    lt_prog_compiler_static_CXX='-non_shared'
18581	    ;;
18582	  *)
18583	    ;;
18584	esac
18585	;;
18586      psos*)
18587	;;
18588      solaris*)
18589	case $cc_basename in
18590	  CC* | sunCC*)
18591	    # Sun C++ 4.2, 5.x and Centerline C++
18592	    lt_prog_compiler_pic_CXX='-KPIC'
18593	    lt_prog_compiler_static_CXX='-Bstatic'
18594	    lt_prog_compiler_wl_CXX='-Qoption ld '
18595	    ;;
18596	  gcx*)
18597	    # Green Hills C++ Compiler
18598	    lt_prog_compiler_pic_CXX='-PIC'
18599	    ;;
18600	  *)
18601	    ;;
18602	esac
18603	;;
18604      sunos4*)
18605	case $cc_basename in
18606	  CC*)
18607	    # Sun C++ 4.x
18608	    lt_prog_compiler_pic_CXX='-pic'
18609	    lt_prog_compiler_static_CXX='-Bstatic'
18610	    ;;
18611	  lcc*)
18612	    # Lucid
18613	    lt_prog_compiler_pic_CXX='-pic'
18614	    ;;
18615	  *)
18616	    ;;
18617	esac
18618	;;
18619      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18620	case $cc_basename in
18621	  CC*)
18622	    lt_prog_compiler_wl_CXX='-Wl,'
18623	    lt_prog_compiler_pic_CXX='-KPIC'
18624	    lt_prog_compiler_static_CXX='-Bstatic'
18625	    ;;
18626	esac
18627	;;
18628      tandem*)
18629	case $cc_basename in
18630	  NCC*)
18631	    # NonStop-UX NCC 3.20
18632	    lt_prog_compiler_pic_CXX='-KPIC'
18633	    ;;
18634	  *)
18635	    ;;
18636	esac
18637	;;
18638      vxworks*)
18639	;;
18640      *)
18641	lt_prog_compiler_can_build_shared_CXX=no
18642	;;
18643    esac
18644  fi
18645
18646case $host_os in
18647  # For platforms that do not support PIC, -DPIC is meaningless:
18648  *djgpp*)
18649    lt_prog_compiler_pic_CXX=
18650    ;;
18651  *)
18652    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
18653    ;;
18654esac
18655
18656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18657$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18658if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
18659  $as_echo_n "(cached) " >&6
18660else
18661  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
18662fi
18663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
18664$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
18665lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
18666
18667#
18668# Check to make sure the PIC flag actually works.
18669#
18670if test -n "$lt_prog_compiler_pic_CXX"; then
18671  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
18672$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
18673if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
18674  $as_echo_n "(cached) " >&6
18675else
18676  lt_cv_prog_compiler_pic_works_CXX=no
18677   ac_outfile=conftest.$ac_objext
18678   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18679   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
18680   # Insert the option either (1) after the last *FLAGS variable, or
18681   # (2) before a word containing "conftest.", or (3) at the end.
18682   # Note that $ac_compile itself does not contain backslashes and begins
18683   # with a dollar sign (not a hyphen), so the echo should work correctly.
18684   # The option is referenced via a variable to avoid confusing sed.
18685   lt_compile=`echo "$ac_compile" | $SED \
18686   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18687   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18688   -e 's:$: $lt_compiler_flag:'`
18689   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18690   (eval "$lt_compile" 2>conftest.err)
18691   ac_status=$?
18692   cat conftest.err >&5
18693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694   if (exit $ac_status) && test -s "$ac_outfile"; then
18695     # The compiler can only warn and ignore the option if not recognized
18696     # So say no if there are warnings other than the usual output.
18697     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
18698     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18699     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18700       lt_cv_prog_compiler_pic_works_CXX=yes
18701     fi
18702   fi
18703   $RM conftest*
18704
18705fi
18706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
18707$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
18708
18709if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
18710    case $lt_prog_compiler_pic_CXX in
18711     "" | " "*) ;;
18712     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
18713     esac
18714else
18715    lt_prog_compiler_pic_CXX=
18716     lt_prog_compiler_can_build_shared_CXX=no
18717fi
18718
18719fi
18720
18721
18722
18723
18724
18725#
18726# Check to make sure the static flag actually works.
18727#
18728wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
18729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18730$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18731if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
18732  $as_echo_n "(cached) " >&6
18733else
18734  lt_cv_prog_compiler_static_works_CXX=no
18735   save_LDFLAGS=$LDFLAGS
18736   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18737   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18738   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18739     # The linker can only warn and ignore the option if not recognized
18740     # So say no if there are warnings
18741     if test -s conftest.err; then
18742       # Append any errors to the config.log.
18743       cat conftest.err 1>&5
18744       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
18745       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18746       if diff conftest.exp conftest.er2 >/dev/null; then
18747         lt_cv_prog_compiler_static_works_CXX=yes
18748       fi
18749     else
18750       lt_cv_prog_compiler_static_works_CXX=yes
18751     fi
18752   fi
18753   $RM -r conftest*
18754   LDFLAGS=$save_LDFLAGS
18755
18756fi
18757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
18758$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
18759
18760if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
18761    :
18762else
18763    lt_prog_compiler_static_CXX=
18764fi
18765
18766
18767
18768
18769    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18770$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18771if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
18772  $as_echo_n "(cached) " >&6
18773else
18774  lt_cv_prog_compiler_c_o_CXX=no
18775   $RM -r conftest 2>/dev/null
18776   mkdir conftest
18777   cd conftest
18778   mkdir out
18779   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18780
18781   lt_compiler_flag="-o out/conftest2.$ac_objext"
18782   # Insert the option either (1) after the last *FLAGS variable, or
18783   # (2) before a word containing "conftest.", or (3) at the end.
18784   # Note that $ac_compile itself does not contain backslashes and begins
18785   # with a dollar sign (not a hyphen), so the echo should work correctly.
18786   lt_compile=`echo "$ac_compile" | $SED \
18787   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18788   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18789   -e 's:$: $lt_compiler_flag:'`
18790   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18791   (eval "$lt_compile" 2>out/conftest.err)
18792   ac_status=$?
18793   cat out/conftest.err >&5
18794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18796   then
18797     # The compiler can only warn and ignore the option if not recognized
18798     # So say no if there are warnings
18799     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18800     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18801     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18802       lt_cv_prog_compiler_c_o_CXX=yes
18803     fi
18804   fi
18805   chmod u+w . 2>&5
18806   $RM conftest*
18807   # SGI C++ compiler will create directory out/ii_files/ for
18808   # template instantiation
18809   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18810   $RM out/* && rmdir out
18811   cd ..
18812   $RM -r conftest
18813   $RM conftest*
18814
18815fi
18816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18817$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18818
18819
18820
18821    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18822$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18823if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
18824  $as_echo_n "(cached) " >&6
18825else
18826  lt_cv_prog_compiler_c_o_CXX=no
18827   $RM -r conftest 2>/dev/null
18828   mkdir conftest
18829   cd conftest
18830   mkdir out
18831   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18832
18833   lt_compiler_flag="-o out/conftest2.$ac_objext"
18834   # Insert the option either (1) after the last *FLAGS variable, or
18835   # (2) before a word containing "conftest.", or (3) at the end.
18836   # Note that $ac_compile itself does not contain backslashes and begins
18837   # with a dollar sign (not a hyphen), so the echo should work correctly.
18838   lt_compile=`echo "$ac_compile" | $SED \
18839   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18840   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18841   -e 's:$: $lt_compiler_flag:'`
18842   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18843   (eval "$lt_compile" 2>out/conftest.err)
18844   ac_status=$?
18845   cat out/conftest.err >&5
18846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18848   then
18849     # The compiler can only warn and ignore the option if not recognized
18850     # So say no if there are warnings
18851     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18852     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18853     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18854       lt_cv_prog_compiler_c_o_CXX=yes
18855     fi
18856   fi
18857   chmod u+w . 2>&5
18858   $RM conftest*
18859   # SGI C++ compiler will create directory out/ii_files/ for
18860   # template instantiation
18861   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18862   $RM out/* && rmdir out
18863   cd ..
18864   $RM -r conftest
18865   $RM conftest*
18866
18867fi
18868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18869$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18870
18871
18872
18873
18874hard_links=nottested
18875if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
18876  # do not overwrite the value of need_locks provided by the user
18877  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
18878$as_echo_n "checking if we can lock with hard links... " >&6; }
18879  hard_links=yes
18880  $RM conftest*
18881  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18882  touch conftest.a
18883  ln conftest.a conftest.b 2>&5 || hard_links=no
18884  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
18886$as_echo "$hard_links" >&6; }
18887  if test no = "$hard_links"; then
18888    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
18889$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
18890    need_locks=warn
18891  fi
18892else
18893  need_locks=no
18894fi
18895
18896
18897
18898    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18899$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18900
18901  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18902  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18903  case $host_os in
18904  aix[4-9]*)
18905    # If we're using GNU nm, then we don't want the "-C" option.
18906    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
18907    # Without the "-l" option, or with the "-B" option, AIX nm treats
18908    # weak defined symbols like other global defined symbols, whereas
18909    # GNU nm marks them as "W".
18910    # While the 'weak' keyword is ignored in the Export File, we need
18911    # it in the Import File for the 'aix-soname' feature, so we have
18912    # to replace the "-B" option with "-P" for AIX nm.
18913    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
18914      export_symbols_cmds_CXX='$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'
18915    else
18916      export_symbols_cmds_CXX='`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'
18917    fi
18918    ;;
18919  pw32*)
18920    export_symbols_cmds_CXX=$ltdll_cmds
18921    ;;
18922  cygwin* | mingw* | cegcc*)
18923    case $cc_basename in
18924    cl*)
18925      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
18926      ;;
18927    *)
18928      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
18929      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
18930      ;;
18931    esac
18932    ;;
18933  linux* | k*bsd*-gnu | gnu*)
18934    link_all_deplibs_CXX=no
18935    ;;
18936  *)
18937    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18938    ;;
18939  esac
18940
18941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18942$as_echo "$ld_shlibs_CXX" >&6; }
18943test no = "$ld_shlibs_CXX" && can_build_shared=no
18944
18945with_gnu_ld_CXX=$with_gnu_ld
18946
18947
18948
18949
18950
18951
18952#
18953# Do we need to explicitly link libc?
18954#
18955case "x$archive_cmds_need_lc_CXX" in
18956x|xyes)
18957  # Assume -lc should be added
18958  archive_cmds_need_lc_CXX=yes
18959
18960  if test yes,yes = "$GCC,$enable_shared"; then
18961    case $archive_cmds_CXX in
18962    *'~'*)
18963      # FIXME: we may have to deal with multi-command sequences.
18964      ;;
18965    '$CC '*)
18966      # Test whether the compiler implicitly links with -lc since on some
18967      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18968      # to ld, don't add -lc before -lgcc.
18969      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18970$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18971if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
18972  $as_echo_n "(cached) " >&6
18973else
18974  $RM conftest*
18975	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18976
18977	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18978  (eval $ac_compile) 2>&5
18979  ac_status=$?
18980  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18981  test $ac_status = 0; } 2>conftest.err; then
18982	  soname=conftest
18983	  lib=conftest
18984	  libobjs=conftest.$ac_objext
18985	  deplibs=
18986	  wl=$lt_prog_compiler_wl_CXX
18987	  pic_flag=$lt_prog_compiler_pic_CXX
18988	  compiler_flags=-v
18989	  linker_flags=-v
18990	  verstring=
18991	  output_objdir=.
18992	  libname=conftest
18993	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
18994	  allow_undefined_flag_CXX=
18995	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18996  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
18997  ac_status=$?
18998  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18999  test $ac_status = 0; }
19000	  then
19001	    lt_cv_archive_cmds_need_lc_CXX=no
19002	  else
19003	    lt_cv_archive_cmds_need_lc_CXX=yes
19004	  fi
19005	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19006	else
19007	  cat conftest.err 1>&5
19008	fi
19009	$RM conftest*
19010
19011fi
19012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
19013$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
19014      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
19015      ;;
19016    esac
19017  fi
19018  ;;
19019esac
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
19083$as_echo_n "checking dynamic linker characteristics... " >&6; }
19084
19085library_names_spec=
19086libname_spec='lib$name'
19087soname_spec=
19088shrext_cmds=.so
19089postinstall_cmds=
19090postuninstall_cmds=
19091finish_cmds=
19092finish_eval=
19093shlibpath_var=
19094shlibpath_overrides_runpath=unknown
19095version_type=none
19096dynamic_linker="$host_os ld.so"
19097sys_lib_dlsearch_path_spec="/lib /usr/lib"
19098need_lib_prefix=unknown
19099hardcode_into_libs=no
19100
19101# when you set need_version to no, make sure it does not cause -set_version
19102# flags to be left without arguments
19103need_version=unknown
19104
19105
19106
19107case $host_os in
19108aix3*)
19109  version_type=linux # correct to gnu/linux during the next big refactor
19110  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
19111  shlibpath_var=LIBPATH
19112
19113  # AIX 3 has no versioning support, so we append a major version to the name.
19114  soname_spec='$libname$release$shared_ext$major'
19115  ;;
19116
19117aix[4-9]*)
19118  version_type=linux # correct to gnu/linux during the next big refactor
19119  need_lib_prefix=no
19120  need_version=no
19121  hardcode_into_libs=yes
19122  if test ia64 = "$host_cpu"; then
19123    # AIX 5 supports IA64
19124    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
19125    shlibpath_var=LD_LIBRARY_PATH
19126  else
19127    # With GCC up to 2.95.x, collect2 would create an import file
19128    # for dependence libraries.  The import file would start with
19129    # the line '#! .'.  This would cause the generated library to
19130    # depend on '.', always an invalid library.  This was fixed in
19131    # development snapshots of GCC prior to 3.0.
19132    case $host_os in
19133      aix4 | aix4.[01] | aix4.[01].*)
19134      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19135	   echo ' yes '
19136	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
19137	:
19138      else
19139	can_build_shared=no
19140      fi
19141      ;;
19142    esac
19143    # Using Import Files as archive members, it is possible to support
19144    # filename-based versioning of shared library archives on AIX. While
19145    # this would work for both with and without runtime linking, it will
19146    # prevent static linking of such archives. So we do filename-based
19147    # shared library versioning with .so extension only, which is used
19148    # when both runtime linking and shared linking is enabled.
19149    # Unfortunately, runtime linking may impact performance, so we do
19150    # not want this to be the default eventually. Also, we use the
19151    # versioned .so libs for executables only if there is the -brtl
19152    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
19153    # To allow for filename-based versioning support, we need to create
19154    # libNAME.so.V as an archive file, containing:
19155    # *) an Import File, referring to the versioned filename of the
19156    #    archive as well as the shared archive member, telling the
19157    #    bitwidth (32 or 64) of that shared object, and providing the
19158    #    list of exported symbols of that shared object, eventually
19159    #    decorated with the 'weak' keyword
19160    # *) the shared object with the F_LOADONLY flag set, to really avoid
19161    #    it being seen by the linker.
19162    # At run time we better use the real file rather than another symlink,
19163    # but for link time we create the symlink libNAME.so -> libNAME.so.V
19164
19165    case $with_aix_soname,$aix_use_runtimelinking in
19166    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
19167    # soname into executable. Probably we can add versioning support to
19168    # collect2, so additional links can be useful in future.
19169    aix,yes) # traditional libtool
19170      dynamic_linker='AIX unversionable lib.so'
19171      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19172      # instead of lib<name>.a to let people know that these are not
19173      # typical AIX shared libraries.
19174      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19175      ;;
19176    aix,no) # traditional AIX only
19177      dynamic_linker='AIX lib.a(lib.so.V)'
19178      # We preserve .a as extension for shared libraries through AIX4.2
19179      # and later when we are not doing run time linking.
19180      library_names_spec='$libname$release.a $libname.a'
19181      soname_spec='$libname$release$shared_ext$major'
19182      ;;
19183    svr4,*) # full svr4 only
19184      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
19185      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
19186      # We do not specify a path in Import Files, so LIBPATH fires.
19187      shlibpath_overrides_runpath=yes
19188      ;;
19189    *,yes) # both, prefer svr4
19190      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
19191      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
19192      # unpreferred sharedlib libNAME.a needs extra handling
19193      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"'
19194      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"'
19195      # We do not specify a path in Import Files, so LIBPATH fires.
19196      shlibpath_overrides_runpath=yes
19197      ;;
19198    *,no) # both, prefer aix
19199      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
19200      library_names_spec='$libname$release.a $libname.a'
19201      soname_spec='$libname$release$shared_ext$major'
19202      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
19203      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)'
19204      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"'
19205      ;;
19206    esac
19207    shlibpath_var=LIBPATH
19208  fi
19209  ;;
19210
19211amigaos*)
19212  case $host_cpu in
19213  powerpc)
19214    # Since July 2007 AmigaOS4 officially supports .so libraries.
19215    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
19216    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19217    ;;
19218  m68k)
19219    library_names_spec='$libname.ixlibrary $libname.a'
19220    # Create ${libname}_ixlibrary.a entries in /sys/libs.
19221    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'
19222    ;;
19223  esac
19224  ;;
19225
19226beos*)
19227  library_names_spec='$libname$shared_ext'
19228  dynamic_linker="$host_os ld.so"
19229  shlibpath_var=LIBRARY_PATH
19230  ;;
19231
19232bsdi[45]*)
19233  version_type=linux # correct to gnu/linux during the next big refactor
19234  need_version=no
19235  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19236  soname_spec='$libname$release$shared_ext$major'
19237  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19238  shlibpath_var=LD_LIBRARY_PATH
19239  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19240  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19241  # the default ld.so.conf also contains /usr/contrib/lib and
19242  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19243  # libtool to hard-code these into programs
19244  ;;
19245
19246cygwin* | mingw* | pw32* | cegcc*)
19247  version_type=windows
19248  shrext_cmds=.dll
19249  need_version=no
19250  need_lib_prefix=no
19251
19252  case $GCC,$cc_basename in
19253  yes,*)
19254    # gcc
19255    library_names_spec='$libname.dll.a'
19256    # DLL is installed to $(libdir)/../bin by postinstall_cmds
19257    postinstall_cmds='base_file=`basename \$file`~
19258      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
19259      dldir=$destdir/`dirname \$dlpath`~
19260      test -d \$dldir || mkdir -p \$dldir~
19261      $install_prog $dir/$dlname \$dldir/$dlname~
19262      chmod a+x \$dldir/$dlname~
19263      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19264        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19265      fi'
19266    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19267      dlpath=$dir/\$dldll~
19268       $RM \$dlpath'
19269    shlibpath_overrides_runpath=yes
19270
19271    case $host_os in
19272    cygwin*)
19273      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19274      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
19275
19276      ;;
19277    mingw* | cegcc*)
19278      # MinGW DLLs use traditional 'lib' prefix
19279      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
19280      ;;
19281    pw32*)
19282      # pw32 DLLs use 'pw' prefix rather than 'lib'
19283      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
19284      ;;
19285    esac
19286    dynamic_linker='Win32 ld.exe'
19287    ;;
19288
19289  *,cl*)
19290    # Native MSVC
19291    libname_spec='$name'
19292    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
19293    library_names_spec='$libname.dll.lib'
19294
19295    case $build_os in
19296    mingw*)
19297      sys_lib_search_path_spec=
19298      lt_save_ifs=$IFS
19299      IFS=';'
19300      for lt_path in $LIB
19301      do
19302        IFS=$lt_save_ifs
19303        # Let DOS variable expansion print the short 8.3 style file name.
19304        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
19305        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
19306      done
19307      IFS=$lt_save_ifs
19308      # Convert to MSYS style.
19309      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
19310      ;;
19311    cygwin*)
19312      # Convert to unix form, then to dos form, then back to unix form
19313      # but this time dos style (no spaces!) so that the unix form looks
19314      # like /cygdrive/c/PROGRA~1:/cygdr...
19315      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
19316      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
19317      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19318      ;;
19319    *)
19320      sys_lib_search_path_spec=$LIB
19321      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
19322        # It is most probably a Windows format PATH.
19323        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19324      else
19325        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19326      fi
19327      # FIXME: find the short name or the path components, as spaces are
19328      # common. (e.g. "Program Files" -> "PROGRA~1")
19329      ;;
19330    esac
19331
19332    # DLL is installed to $(libdir)/../bin by postinstall_cmds
19333    postinstall_cmds='base_file=`basename \$file`~
19334      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
19335      dldir=$destdir/`dirname \$dlpath`~
19336      test -d \$dldir || mkdir -p \$dldir~
19337      $install_prog $dir/$dlname \$dldir/$dlname'
19338    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19339      dlpath=$dir/\$dldll~
19340       $RM \$dlpath'
19341    shlibpath_overrides_runpath=yes
19342    dynamic_linker='Win32 link.exe'
19343    ;;
19344
19345  *)
19346    # Assume MSVC wrapper
19347    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
19348    dynamic_linker='Win32 ld.exe'
19349    ;;
19350  esac
19351  # FIXME: first we should search . and the directory the executable is in
19352  shlibpath_var=PATH
19353  ;;
19354
19355darwin* | rhapsody*)
19356  dynamic_linker="$host_os dyld"
19357  version_type=darwin
19358  need_lib_prefix=no
19359  need_version=no
19360  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
19361  soname_spec='$libname$release$major$shared_ext'
19362  shlibpath_overrides_runpath=yes
19363  shlibpath_var=DYLD_LIBRARY_PATH
19364  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19365
19366  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19367  ;;
19368
19369dgux*)
19370  version_type=linux # correct to gnu/linux during the next big refactor
19371  need_lib_prefix=no
19372  need_version=no
19373  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19374  soname_spec='$libname$release$shared_ext$major'
19375  shlibpath_var=LD_LIBRARY_PATH
19376  ;;
19377
19378freebsd* | dragonfly*)
19379  # DragonFly does not have aout.  When/if they implement a new
19380  # versioning mechanism, adjust this.
19381  if test -x /usr/bin/objformat; then
19382    objformat=`/usr/bin/objformat`
19383  else
19384    case $host_os in
19385    freebsd[23].*) objformat=aout ;;
19386    *) objformat=elf ;;
19387    esac
19388  fi
19389  version_type=freebsd-$objformat
19390  case $version_type in
19391    freebsd-elf*)
19392      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19393      soname_spec='$libname$release$shared_ext$major'
19394      need_version=no
19395      need_lib_prefix=no
19396      ;;
19397    freebsd-*)
19398      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19399      need_version=yes
19400      ;;
19401  esac
19402  shlibpath_var=LD_LIBRARY_PATH
19403  case $host_os in
19404  freebsd2.*)
19405    shlibpath_overrides_runpath=yes
19406    ;;
19407  freebsd3.[01]* | freebsdelf3.[01]*)
19408    shlibpath_overrides_runpath=yes
19409    hardcode_into_libs=yes
19410    ;;
19411  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19412  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19413    shlibpath_overrides_runpath=no
19414    hardcode_into_libs=yes
19415    ;;
19416  *) # from 4.6 on, and DragonFly
19417    shlibpath_overrides_runpath=yes
19418    hardcode_into_libs=yes
19419    ;;
19420  esac
19421  ;;
19422
19423haiku*)
19424  version_type=linux # correct to gnu/linux during the next big refactor
19425  need_lib_prefix=no
19426  need_version=no
19427  dynamic_linker="$host_os runtime_loader"
19428  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19429  soname_spec='$libname$release$shared_ext$major'
19430  shlibpath_var=LIBRARY_PATH
19431  shlibpath_overrides_runpath=no
19432  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
19433  hardcode_into_libs=yes
19434  ;;
19435
19436hpux9* | hpux10* | hpux11*)
19437  # Give a soname corresponding to the major version so that dld.sl refuses to
19438  # link against other versions.
19439  version_type=sunos
19440  need_lib_prefix=no
19441  need_version=no
19442  case $host_cpu in
19443  ia64*)
19444    shrext_cmds='.so'
19445    hardcode_into_libs=yes
19446    dynamic_linker="$host_os dld.so"
19447    shlibpath_var=LD_LIBRARY_PATH
19448    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19449    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19450    soname_spec='$libname$release$shared_ext$major'
19451    if test 32 = "$HPUX_IA64_MODE"; then
19452      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19453      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
19454    else
19455      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19456      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
19457    fi
19458    ;;
19459  hppa*64*)
19460    shrext_cmds='.sl'
19461    hardcode_into_libs=yes
19462    dynamic_linker="$host_os dld.sl"
19463    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19464    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19465    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19466    soname_spec='$libname$release$shared_ext$major'
19467    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19468    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19469    ;;
19470  *)
19471    shrext_cmds='.sl'
19472    dynamic_linker="$host_os dld.sl"
19473    shlibpath_var=SHLIB_PATH
19474    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19475    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19476    soname_spec='$libname$release$shared_ext$major'
19477    ;;
19478  esac
19479  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
19480  postinstall_cmds='chmod 555 $lib'
19481  # or fails outright, so override atomically:
19482  install_override_mode=555
19483  ;;
19484
19485interix[3-9]*)
19486  version_type=linux # correct to gnu/linux during the next big refactor
19487  need_lib_prefix=no
19488  need_version=no
19489  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19490  soname_spec='$libname$release$shared_ext$major'
19491  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19492  shlibpath_var=LD_LIBRARY_PATH
19493  shlibpath_overrides_runpath=no
19494  hardcode_into_libs=yes
19495  ;;
19496
19497irix5* | irix6* | nonstopux*)
19498  case $host_os in
19499    nonstopux*) version_type=nonstopux ;;
19500    *)
19501	if test yes = "$lt_cv_prog_gnu_ld"; then
19502		version_type=linux # correct to gnu/linux during the next big refactor
19503	else
19504		version_type=irix
19505	fi ;;
19506  esac
19507  need_lib_prefix=no
19508  need_version=no
19509  soname_spec='$libname$release$shared_ext$major'
19510  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
19511  case $host_os in
19512  irix5* | nonstopux*)
19513    libsuff= shlibsuff=
19514    ;;
19515  *)
19516    case $LD in # libtool.m4 will add one of these switches to LD
19517    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19518      libsuff= shlibsuff= libmagic=32-bit;;
19519    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19520      libsuff=32 shlibsuff=N32 libmagic=N32;;
19521    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19522      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19523    *) libsuff= shlibsuff= libmagic=never-match;;
19524    esac
19525    ;;
19526  esac
19527  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19528  shlibpath_overrides_runpath=no
19529  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
19530  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
19531  hardcode_into_libs=yes
19532  ;;
19533
19534# No shared lib support for Linux oldld, aout, or coff.
19535linux*oldld* | linux*aout* | linux*coff*)
19536  dynamic_linker=no
19537  ;;
19538
19539linux*android*)
19540  version_type=none # Android doesn't support versioned libraries.
19541  need_lib_prefix=no
19542  need_version=no
19543  library_names_spec='$libname$release$shared_ext'
19544  soname_spec='$libname$release$shared_ext'
19545  finish_cmds=
19546  shlibpath_var=LD_LIBRARY_PATH
19547  shlibpath_overrides_runpath=yes
19548
19549  # This implies no fast_install, which is unacceptable.
19550  # Some rework will be needed to allow for fast_install
19551  # before this can be enabled.
19552  hardcode_into_libs=yes
19553
19554  dynamic_linker='Android linker'
19555  # Don't embed -rpath directories since the linker doesn't support them.
19556  hardcode_libdir_flag_spec_CXX='-L$libdir'
19557  ;;
19558
19559# This must be glibc/ELF.
19560linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
19561  version_type=linux # correct to gnu/linux during the next big refactor
19562  need_lib_prefix=no
19563  need_version=no
19564  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19565  soname_spec='$libname$release$shared_ext$major'
19566  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19567  shlibpath_var=LD_LIBRARY_PATH
19568  shlibpath_overrides_runpath=no
19569
19570  # Some binutils ld are patched to set DT_RUNPATH
19571  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
19572  $as_echo_n "(cached) " >&6
19573else
19574  lt_cv_shlibpath_overrides_runpath=no
19575    save_LDFLAGS=$LDFLAGS
19576    save_libdir=$libdir
19577    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
19578	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
19579    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19580/* end confdefs.h.  */
19581
19582int
19583main ()
19584{
19585
19586  ;
19587  return 0;
19588}
19589_ACEOF
19590if ac_fn_cxx_try_link "$LINENO"; then :
19591  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
19592  lt_cv_shlibpath_overrides_runpath=yes
19593fi
19594fi
19595rm -f core conftest.err conftest.$ac_objext \
19596    conftest$ac_exeext conftest.$ac_ext
19597    LDFLAGS=$save_LDFLAGS
19598    libdir=$save_libdir
19599
19600fi
19601
19602  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
19603
19604  # This implies no fast_install, which is unacceptable.
19605  # Some rework will be needed to allow for fast_install
19606  # before this can be enabled.
19607  hardcode_into_libs=yes
19608
19609  # Ideally, we could use ldconfig to report *all* directores which are
19610  # searched for libraries, however this is still not possible.  Aside from not
19611  # being certain /sbin/ldconfig is available, command
19612  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
19613  # even though it is searched at run-time.  Try to do the best guess by
19614  # appending ld.so.conf contents (and includes) to the search path.
19615  if test -f /etc/ld.so.conf; then
19616    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' ' '`
19617    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19618  fi
19619
19620  # We used to test for /lib/ld.so.1 and disable shared libraries on
19621  # powerpc, because MkLinux only supported shared libraries with the
19622  # GNU dynamic linker.  Since this was broken with cross compilers,
19623  # most powerpc-linux boxes support dynamic linking these days and
19624  # people can always --disable-shared, the test was removed, and we
19625  # assume the GNU/Linux dynamic linker is in use.
19626  dynamic_linker='GNU/Linux ld.so'
19627  ;;
19628
19629netbsdelf*-gnu)
19630  version_type=linux
19631  need_lib_prefix=no
19632  need_version=no
19633  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19634  soname_spec='${libname}${release}${shared_ext}$major'
19635  shlibpath_var=LD_LIBRARY_PATH
19636  shlibpath_overrides_runpath=no
19637  hardcode_into_libs=yes
19638  dynamic_linker='NetBSD ld.elf_so'
19639  ;;
19640
19641netbsd*)
19642  version_type=sunos
19643  need_lib_prefix=no
19644  need_version=no
19645  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19646    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19647    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19648    dynamic_linker='NetBSD (a.out) ld.so'
19649  else
19650    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19651    soname_spec='$libname$release$shared_ext$major'
19652    dynamic_linker='NetBSD ld.elf_so'
19653  fi
19654  shlibpath_var=LD_LIBRARY_PATH
19655  shlibpath_overrides_runpath=yes
19656  hardcode_into_libs=yes
19657  ;;
19658
19659newsos6)
19660  version_type=linux # correct to gnu/linux during the next big refactor
19661  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19662  shlibpath_var=LD_LIBRARY_PATH
19663  shlibpath_overrides_runpath=yes
19664  ;;
19665
19666*nto* | *qnx*)
19667  version_type=qnx
19668  need_lib_prefix=no
19669  need_version=no
19670  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19671  soname_spec='$libname$release$shared_ext$major'
19672  shlibpath_var=LD_LIBRARY_PATH
19673  shlibpath_overrides_runpath=no
19674  hardcode_into_libs=yes
19675  dynamic_linker='ldqnx.so'
19676  ;;
19677
19678openbsd* | bitrig*)
19679  version_type=sunos
19680  sys_lib_dlsearch_path_spec=/usr/lib
19681  need_lib_prefix=no
19682  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
19683    need_version=no
19684  else
19685    need_version=yes
19686  fi
19687  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19688  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19689  shlibpath_var=LD_LIBRARY_PATH
19690  shlibpath_overrides_runpath=yes
19691  ;;
19692
19693os2*)
19694  libname_spec='$name'
19695  version_type=windows
19696  shrext_cmds=.dll
19697  need_version=no
19698  need_lib_prefix=no
19699  # OS/2 can only load a DLL with a base name of 8 characters or less.
19700  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
19701    v=$($ECHO $release$versuffix | tr -d .-);
19702    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
19703    $ECHO $n$v`$shared_ext'
19704  library_names_spec='${libname}_dll.$libext'
19705  dynamic_linker='OS/2 ld.exe'
19706  shlibpath_var=BEGINLIBPATH
19707  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19708  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19709  postinstall_cmds='base_file=`basename \$file`~
19710    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
19711    dldir=$destdir/`dirname \$dlpath`~
19712    test -d \$dldir || mkdir -p \$dldir~
19713    $install_prog $dir/$dlname \$dldir/$dlname~
19714    chmod a+x \$dldir/$dlname~
19715    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19716      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19717    fi'
19718  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
19719    dlpath=$dir/\$dldll~
19720    $RM \$dlpath'
19721  ;;
19722
19723osf3* | osf4* | osf5*)
19724  version_type=osf
19725  need_lib_prefix=no
19726  need_version=no
19727  soname_spec='$libname$release$shared_ext$major'
19728  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19729  shlibpath_var=LD_LIBRARY_PATH
19730  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19731  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19732  ;;
19733
19734rdos*)
19735  dynamic_linker=no
19736  ;;
19737
19738solaris*)
19739  version_type=linux # correct to gnu/linux during the next big refactor
19740  need_lib_prefix=no
19741  need_version=no
19742  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19743  soname_spec='$libname$release$shared_ext$major'
19744  shlibpath_var=LD_LIBRARY_PATH
19745  shlibpath_overrides_runpath=yes
19746  hardcode_into_libs=yes
19747  # ldd complains unless libraries are executable
19748  postinstall_cmds='chmod +x $lib'
19749  ;;
19750
19751sunos4*)
19752  version_type=sunos
19753  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19754  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19755  shlibpath_var=LD_LIBRARY_PATH
19756  shlibpath_overrides_runpath=yes
19757  if test yes = "$with_gnu_ld"; then
19758    need_lib_prefix=no
19759  fi
19760  need_version=yes
19761  ;;
19762
19763sysv4 | sysv4.3*)
19764  version_type=linux # correct to gnu/linux during the next big refactor
19765  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19766  soname_spec='$libname$release$shared_ext$major'
19767  shlibpath_var=LD_LIBRARY_PATH
19768  case $host_vendor in
19769    sni)
19770      shlibpath_overrides_runpath=no
19771      need_lib_prefix=no
19772      runpath_var=LD_RUN_PATH
19773      ;;
19774    siemens)
19775      need_lib_prefix=no
19776      ;;
19777    motorola)
19778      need_lib_prefix=no
19779      need_version=no
19780      shlibpath_overrides_runpath=no
19781      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19782      ;;
19783  esac
19784  ;;
19785
19786sysv4*MP*)
19787  if test -d /usr/nec; then
19788    version_type=linux # correct to gnu/linux during the next big refactor
19789    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
19790    soname_spec='$libname$shared_ext.$major'
19791    shlibpath_var=LD_LIBRARY_PATH
19792  fi
19793  ;;
19794
19795sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19796  version_type=sco
19797  need_lib_prefix=no
19798  need_version=no
19799  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
19800  soname_spec='$libname$release$shared_ext$major'
19801  shlibpath_var=LD_LIBRARY_PATH
19802  shlibpath_overrides_runpath=yes
19803  hardcode_into_libs=yes
19804  if test yes = "$with_gnu_ld"; then
19805    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19806  else
19807    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19808    case $host_os in
19809      sco3.2v5*)
19810        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19811	;;
19812    esac
19813  fi
19814  sys_lib_dlsearch_path_spec='/usr/lib'
19815  ;;
19816
19817tpf*)
19818  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
19819  version_type=linux # correct to gnu/linux during the next big refactor
19820  need_lib_prefix=no
19821  need_version=no
19822  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19823  shlibpath_var=LD_LIBRARY_PATH
19824  shlibpath_overrides_runpath=no
19825  hardcode_into_libs=yes
19826  ;;
19827
19828uts4*)
19829  version_type=linux # correct to gnu/linux during the next big refactor
19830  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19831  soname_spec='$libname$release$shared_ext$major'
19832  shlibpath_var=LD_LIBRARY_PATH
19833  ;;
19834
19835*)
19836  dynamic_linker=no
19837  ;;
19838esac
19839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
19840$as_echo "$dynamic_linker" >&6; }
19841test no = "$dynamic_linker" && can_build_shared=no
19842
19843variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19844if test yes = "$GCC"; then
19845  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19846fi
19847
19848if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
19849  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
19850fi
19851
19852if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
19853  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
19854fi
19855
19856# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
19857configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
19858
19859# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
19860func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
19861
19862# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
19863configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19905$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19906hardcode_action_CXX=
19907if test -n "$hardcode_libdir_flag_spec_CXX" ||
19908   test -n "$runpath_var_CXX" ||
19909   test yes = "$hardcode_automatic_CXX"; then
19910
19911  # We can hardcode non-existent directories.
19912  if test no != "$hardcode_direct_CXX" &&
19913     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19914     # have to relink, otherwise we might link with an installed library
19915     # when we should be linking with a yet-to-be-installed one
19916     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
19917     test no != "$hardcode_minus_L_CXX"; then
19918    # Linking always hardcodes the temporary library directory.
19919    hardcode_action_CXX=relink
19920  else
19921    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19922    hardcode_action_CXX=immediate
19923  fi
19924else
19925  # We cannot hardcode anything, or else we can only hardcode existing
19926  # directories.
19927  hardcode_action_CXX=unsupported
19928fi
19929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
19930$as_echo "$hardcode_action_CXX" >&6; }
19931
19932if test relink = "$hardcode_action_CXX" ||
19933   test yes = "$inherit_rpath_CXX"; then
19934  # Fast installation is not supported
19935  enable_fast_install=no
19936elif test yes = "$shlibpath_overrides_runpath" ||
19937     test no = "$enable_shared"; then
19938  # Fast installation is not necessary
19939  enable_fast_install=needless
19940fi
19941
19942
19943
19944
19945
19946
19947
19948  fi # test -n "$compiler"
19949
19950  CC=$lt_save_CC
19951  CFLAGS=$lt_save_CFLAGS
19952  LDCXX=$LD
19953  LD=$lt_save_LD
19954  GCC=$lt_save_GCC
19955  with_gnu_ld=$lt_save_with_gnu_ld
19956  lt_cv_path_LDCXX=$lt_cv_path_LD
19957  lt_cv_path_LD=$lt_save_path_LD
19958  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
19959  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
19960fi # test yes != "$_lt_caught_CXX_error"
19961
19962ac_ext=c
19963ac_cpp='$CPP $CPPFLAGS'
19964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19966ac_compiler_gnu=$ac_cv_c_compiler_gnu
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982        ac_config_commands="$ac_config_commands libtool"
19983
19984
19985
19986
19987# Only expand once:
19988
19989
19990
19991# Check whether --enable-shared was given.
19992if test "${enable_shared+set}" = set; then :
19993  enableval=$enable_shared; p=${PACKAGE-default}
19994    case $enableval in
19995    yes) enable_shared=yes ;;
19996    no) enable_shared=no ;;
19997    *)
19998      enable_shared=no
19999      # Look at the argument we got.  We use all the common list separators.
20000      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
20001      for pkg in $enableval; do
20002	IFS=$lt_save_ifs
20003	if test "X$pkg" = "X$p"; then
20004	  enable_shared=yes
20005	fi
20006      done
20007      IFS=$lt_save_ifs
20008      ;;
20009    esac
20010else
20011  enable_shared=yes
20012fi
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030# Checks for libraries.
20031# FIXME: Replace `main' with a function in `-lX11':
20032if test "x$enable_x11" != xno; then :
20033
20034$as_echo "#define AGS_WITH_X11 1" >>confdefs.h
20035
20036       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lX11" >&5
20037$as_echo_n "checking for main in -lX11... " >&6; }
20038if ${ac_cv_lib_X11_main+:} false; then :
20039  $as_echo_n "(cached) " >&6
20040else
20041  ac_check_lib_save_LIBS=$LIBS
20042LIBS="-lX11  $LIBS"
20043cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20044/* end confdefs.h.  */
20045
20046
20047int
20048main ()
20049{
20050return main ();
20051  ;
20052  return 0;
20053}
20054_ACEOF
20055if ac_fn_c_try_link "$LINENO"; then :
20056  ac_cv_lib_X11_main=yes
20057else
20058  ac_cv_lib_X11_main=no
20059fi
20060rm -f core conftest.err conftest.$ac_objext \
20061    conftest$ac_exeext conftest.$ac_ext
20062LIBS=$ac_check_lib_save_LIBS
20063fi
20064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_main" >&5
20065$as_echo "$ac_cv_lib_X11_main" >&6; }
20066if test "x$ac_cv_lib_X11_main" = xyes; then :
20067  cat >>confdefs.h <<_ACEOF
20068#define HAVE_LIBX11 1
20069_ACEOF
20070
20071  LIBS="-lX11 $LIBS"
20072
20073else
20074  as_fn_error $? "\"No X11 library present\"" "$LINENO" 5
20075fi
20076
20077       X11_LIBS="-lX11"
20078else
20079  { $as_echo "$as_me:${as_lineno-$LINENO}: X11 disabled" >&5
20080$as_echo "$as_me: X11 disabled" >&6;}
20081fi
20082
20083
20084
20085
20086
20087
20088
20089
20090if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20091	if test -n "$ac_tool_prefix"; then
20092  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20093set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20095$as_echo_n "checking for $ac_word... " >&6; }
20096if ${ac_cv_path_PKG_CONFIG+:} false; then :
20097  $as_echo_n "(cached) " >&6
20098else
20099  case $PKG_CONFIG in
20100  [\\/]* | ?:[\\/]*)
20101  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20102  ;;
20103  *)
20104  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20105for as_dir in $PATH
20106do
20107  IFS=$as_save_IFS
20108  test -z "$as_dir" && as_dir=.
20109    for ac_exec_ext in '' $ac_executable_extensions; do
20110  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20111    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20112    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20113    break 2
20114  fi
20115done
20116  done
20117IFS=$as_save_IFS
20118
20119  ;;
20120esac
20121fi
20122PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20123if test -n "$PKG_CONFIG"; then
20124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20125$as_echo "$PKG_CONFIG" >&6; }
20126else
20127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20128$as_echo "no" >&6; }
20129fi
20130
20131
20132fi
20133if test -z "$ac_cv_path_PKG_CONFIG"; then
20134  ac_pt_PKG_CONFIG=$PKG_CONFIG
20135  # Extract the first word of "pkg-config", so it can be a program name with args.
20136set dummy pkg-config; ac_word=$2
20137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20138$as_echo_n "checking for $ac_word... " >&6; }
20139if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
20140  $as_echo_n "(cached) " >&6
20141else
20142  case $ac_pt_PKG_CONFIG in
20143  [\\/]* | ?:[\\/]*)
20144  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20145  ;;
20146  *)
20147  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20148for as_dir in $PATH
20149do
20150  IFS=$as_save_IFS
20151  test -z "$as_dir" && as_dir=.
20152    for ac_exec_ext in '' $ac_executable_extensions; do
20153  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20154    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20155    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20156    break 2
20157  fi
20158done
20159  done
20160IFS=$as_save_IFS
20161
20162  ;;
20163esac
20164fi
20165ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20166if test -n "$ac_pt_PKG_CONFIG"; then
20167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20168$as_echo "$ac_pt_PKG_CONFIG" >&6; }
20169else
20170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20171$as_echo "no" >&6; }
20172fi
20173
20174  if test "x$ac_pt_PKG_CONFIG" = x; then
20175    PKG_CONFIG=""
20176  else
20177    case $cross_compiling:$ac_tool_warned in
20178yes:)
20179{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20180$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20181ac_tool_warned=yes ;;
20182esac
20183    PKG_CONFIG=$ac_pt_PKG_CONFIG
20184  fi
20185else
20186  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20187fi
20188
20189fi
20190if test -n "$PKG_CONFIG"; then
20191	_pkg_min_version=0.9.0
20192	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20193$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20194	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20195		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20196$as_echo "yes" >&6; }
20197	else
20198		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20199$as_echo "no" >&6; }
20200		PKG_CONFIG=""
20201	fi
20202fi
20203if test "x$enable_quartz" != xno; then :
20204
20205$as_echo "#define AGS_WITH_QUARTZ 1" >>confdefs.h
20206
20207
20208pkg_failed=no
20209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-mac-integration-gtk3 >= 2.0.7" >&5
20210$as_echo_n "checking for gtk-mac-integration-gtk3 >= 2.0.7... " >&6; }
20211
20212if test -n "$GTK_MAC_INTEGRATION_CFLAGS"; then
20213    pkg_cv_GTK_MAC_INTEGRATION_CFLAGS="$GTK_MAC_INTEGRATION_CFLAGS"
20214 elif test -n "$PKG_CONFIG"; then
20215    if test -n "$PKG_CONFIG" && \
20216    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration-gtk3 >= 2.0.7\""; } >&5
20217  ($PKG_CONFIG --exists --print-errors "gtk-mac-integration-gtk3 >= 2.0.7") 2>&5
20218  ac_status=$?
20219  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20220  test $ac_status = 0; }; then
20221  pkg_cv_GTK_MAC_INTEGRATION_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration-gtk3 >= 2.0.7" 2>/dev/null`
20222		      test "x$?" != "x0" && pkg_failed=yes
20223else
20224  pkg_failed=yes
20225fi
20226 else
20227    pkg_failed=untried
20228fi
20229if test -n "$GTK_MAC_INTEGRATION_LIBS"; then
20230    pkg_cv_GTK_MAC_INTEGRATION_LIBS="$GTK_MAC_INTEGRATION_LIBS"
20231 elif test -n "$PKG_CONFIG"; then
20232    if test -n "$PKG_CONFIG" && \
20233    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration-gtk3 >= 2.0.7\""; } >&5
20234  ($PKG_CONFIG --exists --print-errors "gtk-mac-integration-gtk3 >= 2.0.7") 2>&5
20235  ac_status=$?
20236  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20237  test $ac_status = 0; }; then
20238  pkg_cv_GTK_MAC_INTEGRATION_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration-gtk3 >= 2.0.7" 2>/dev/null`
20239		      test "x$?" != "x0" && pkg_failed=yes
20240else
20241  pkg_failed=yes
20242fi
20243 else
20244    pkg_failed=untried
20245fi
20246
20247
20248
20249if test $pkg_failed = yes; then
20250        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20251$as_echo "no" >&6; }
20252
20253if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20254        _pkg_short_errors_supported=yes
20255else
20256        _pkg_short_errors_supported=no
20257fi
20258        if test $_pkg_short_errors_supported = yes; then
20259	        GTK_MAC_INTEGRATION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration-gtk3 >= 2.0.7" 2>&1`
20260        else
20261	        GTK_MAC_INTEGRATION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration-gtk3 >= 2.0.7" 2>&1`
20262        fi
20263	# Put the nasty error message in config.log where it belongs
20264	echo "$GTK_MAC_INTEGRATION_PKG_ERRORS" >&5
20265
20266	as_fn_error $? "Package requirements (gtk-mac-integration-gtk3 >= 2.0.7) were not met:
20267
20268$GTK_MAC_INTEGRATION_PKG_ERRORS
20269
20270Consider adjusting the PKG_CONFIG_PATH environment variable if you
20271installed software in a non-standard prefix.
20272
20273Alternatively, you may set the environment variables GTK_MAC_INTEGRATION_CFLAGS
20274and GTK_MAC_INTEGRATION_LIBS to avoid the need to call pkg-config.
20275See the pkg-config man page for more details." "$LINENO" 5
20276elif test $pkg_failed = untried; then
20277        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20278$as_echo "no" >&6; }
20279	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20280$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20281as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20282is in your PATH or set the PKG_CONFIG environment variable to the full
20283path to pkg-config.
20284
20285Alternatively, you may set the environment variables GTK_MAC_INTEGRATION_CFLAGS
20286and GTK_MAC_INTEGRATION_LIBS to avoid the need to call pkg-config.
20287See the pkg-config man page for more details.
20288
20289To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20290See \`config.log' for more details" "$LINENO" 5; }
20291else
20292	GTK_MAC_INTEGRATION_CFLAGS=$pkg_cv_GTK_MAC_INTEGRATION_CFLAGS
20293	GTK_MAC_INTEGRATION_LIBS=$pkg_cv_GTK_MAC_INTEGRATION_LIBS
20294        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20295$as_echo "yes" >&6; }
20296
20297fi
20298
20299
20300       { $as_echo "$as_me:${as_lineno-$LINENO}: quartz enabled" >&5
20301$as_echo "$as_me: quartz enabled" >&6;}
20302else
20303  { $as_echo "$as_me:${as_lineno-$LINENO}: quartz disabled" >&5
20304$as_echo "$as_me: quartz disabled" >&6;}
20305fi
20306
20307# FIXME: Replace `main' with a function in `-ldl':
20308# AC_CHECK_LIB([dl], [main], , AC_MSG_ERROR("No dl library present"))
20309
20310# FIXME: Replace `main' with a function in `-lm':
20311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
20312$as_echo_n "checking for main in -lm... " >&6; }
20313if ${ac_cv_lib_m_main+:} false; then :
20314  $as_echo_n "(cached) " >&6
20315else
20316  ac_check_lib_save_LIBS=$LIBS
20317LIBS="-lm  $LIBS"
20318cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20319/* end confdefs.h.  */
20320
20321
20322int
20323main ()
20324{
20325return main ();
20326  ;
20327  return 0;
20328}
20329_ACEOF
20330if ac_fn_c_try_link "$LINENO"; then :
20331  ac_cv_lib_m_main=yes
20332else
20333  ac_cv_lib_m_main=no
20334fi
20335rm -f core conftest.err conftest.$ac_objext \
20336    conftest$ac_exeext conftest.$ac_ext
20337LIBS=$ac_check_lib_save_LIBS
20338fi
20339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
20340$as_echo "$ac_cv_lib_m_main" >&6; }
20341if test "x$ac_cv_lib_m_main" = xyes; then :
20342  cat >>confdefs.h <<_ACEOF
20343#define HAVE_LIBM 1
20344_ACEOF
20345
20346  LIBS="-lm $LIBS"
20347
20348else
20349  as_fn_error $? "\"No math library present\"" "$LINENO" 5
20350fi
20351
20352
20353if test "x$enable_strip_rt_events" != xno; then :
20354
20355$as_echo "#define AGS_STRIP_RT_EVENTS 1" >>confdefs.h
20356
20357      { $as_echo "$as_me:${as_lineno-$LINENO}: striping rt-events enabled" >&5
20358$as_echo "$as_me: striping rt-events enabled" >&6;}
20359else
20360  { $as_echo "$as_me:${as_lineno-$LINENO}: striping rt-events disabled" >&5
20361$as_echo "$as_me: striping rt-events disabled" >&6;}
20362fi
20363
20364# FIXME: Replace `main' with a function in `-lrt':
20365if test "x$enable_rt" != xno; then :
20366
20367$as_echo "#define AGS_WITH_RT 1" >>confdefs.h
20368
20369      RT_LIBS="-lrt"
20370      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrt" >&5
20371$as_echo_n "checking for main in -lrt... " >&6; }
20372if ${ac_cv_lib_rt_main+:} false; then :
20373  $as_echo_n "(cached) " >&6
20374else
20375  ac_check_lib_save_LIBS=$LIBS
20376LIBS="-lrt  $LIBS"
20377cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20378/* end confdefs.h.  */
20379
20380
20381int
20382main ()
20383{
20384return main ();
20385  ;
20386  return 0;
20387}
20388_ACEOF
20389if ac_fn_c_try_link "$LINENO"; then :
20390  ac_cv_lib_rt_main=yes
20391else
20392  ac_cv_lib_rt_main=no
20393fi
20394rm -f core conftest.err conftest.$ac_objext \
20395    conftest$ac_exeext conftest.$ac_ext
20396LIBS=$ac_check_lib_save_LIBS
20397fi
20398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_main" >&5
20399$as_echo "$ac_cv_lib_rt_main" >&6; }
20400if test "x$ac_cv_lib_rt_main" = xyes; then :
20401  cat >>confdefs.h <<_ACEOF
20402#define HAVE_LIBRT 1
20403_ACEOF
20404
20405  LIBS="-lrt $LIBS"
20406
20407else
20408  as_fn_error $? "\"No rt library present\"" "$LINENO" 5
20409fi
20410
20411      { $as_echo "$as_me:${as_lineno-$LINENO}: rt enabled" >&5
20412$as_echo "$as_me: rt enabled" >&6;}
20413else
20414  { $as_echo "$as_me:${as_lineno-$LINENO}: rt disabled" >&5
20415$as_echo "$as_me: rt disabled" >&6;}
20416fi
20417
20418# Checks for header files.
20419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
20420$as_echo_n "checking for X... " >&6; }
20421
20422
20423# Check whether --with-x was given.
20424if test "${with_x+set}" = set; then :
20425  withval=$with_x;
20426fi
20427
20428# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20429if test "x$with_x" = xno; then
20430  # The user explicitly disabled X.
20431  have_x=disabled
20432else
20433  case $x_includes,$x_libraries in #(
20434    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
20435    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
20436  $as_echo_n "(cached) " >&6
20437else
20438  # One or both of the vars are not set, and there is no cached value.
20439ac_x_includes=no ac_x_libraries=no
20440rm -f -r conftest.dir
20441if mkdir conftest.dir; then
20442  cd conftest.dir
20443  cat >Imakefile <<'_ACEOF'
20444incroot:
20445	@echo incroot='${INCROOT}'
20446usrlibdir:
20447	@echo usrlibdir='${USRLIBDIR}'
20448libdir:
20449	@echo libdir='${LIBDIR}'
20450_ACEOF
20451  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
20452    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
20453    for ac_var in incroot usrlibdir libdir; do
20454      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
20455    done
20456    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20457    for ac_extension in a so sl dylib la dll; do
20458      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
20459	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
20460	ac_im_usrlibdir=$ac_im_libdir; break
20461      fi
20462    done
20463    # Screen out bogus values from the imake configuration.  They are
20464    # bogus both because they are the default anyway, and because
20465    # using them would break gcc on systems where it needs fixed includes.
20466    case $ac_im_incroot in
20467	/usr/include) ac_x_includes= ;;
20468	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20469    esac
20470    case $ac_im_usrlibdir in
20471	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
20472	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20473    esac
20474  fi
20475  cd ..
20476  rm -f -r conftest.dir
20477fi
20478
20479# Standard set of common directories for X headers.
20480# Check X11 before X11Rn because it is often a symlink to the current release.
20481ac_x_header_dirs='
20482/usr/X11/include
20483/usr/X11R7/include
20484/usr/X11R6/include
20485/usr/X11R5/include
20486/usr/X11R4/include
20487
20488/usr/include/X11
20489/usr/include/X11R7
20490/usr/include/X11R6
20491/usr/include/X11R5
20492/usr/include/X11R4
20493
20494/usr/local/X11/include
20495/usr/local/X11R7/include
20496/usr/local/X11R6/include
20497/usr/local/X11R5/include
20498/usr/local/X11R4/include
20499
20500/usr/local/include/X11
20501/usr/local/include/X11R7
20502/usr/local/include/X11R6
20503/usr/local/include/X11R5
20504/usr/local/include/X11R4
20505
20506/usr/X386/include
20507/usr/x386/include
20508/usr/XFree86/include/X11
20509
20510/usr/include
20511/usr/local/include
20512/usr/unsupported/include
20513/usr/athena/include
20514/usr/local/x11r5/include
20515/usr/lpp/Xamples/include
20516
20517/usr/openwin/include
20518/usr/openwin/share/include'
20519
20520if test "$ac_x_includes" = no; then
20521  # Guess where to find include files, by looking for Xlib.h.
20522  # First, try using that file with no special directory specified.
20523  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20524/* end confdefs.h.  */
20525#include <X11/Xlib.h>
20526_ACEOF
20527if ac_fn_c_try_cpp "$LINENO"; then :
20528  # We can compile using X headers with no special include directory.
20529ac_x_includes=
20530else
20531  for ac_dir in $ac_x_header_dirs; do
20532  if test -r "$ac_dir/X11/Xlib.h"; then
20533    ac_x_includes=$ac_dir
20534    break
20535  fi
20536done
20537fi
20538rm -f conftest.err conftest.i conftest.$ac_ext
20539fi # $ac_x_includes = no
20540
20541if test "$ac_x_libraries" = no; then
20542  # Check for the libraries.
20543  # See if we find them without any special options.
20544  # Don't add to $LIBS permanently.
20545  ac_save_LIBS=$LIBS
20546  LIBS="-lX11 $LIBS"
20547  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20548/* end confdefs.h.  */
20549#include <X11/Xlib.h>
20550int
20551main ()
20552{
20553XrmInitialize ()
20554  ;
20555  return 0;
20556}
20557_ACEOF
20558if ac_fn_c_try_link "$LINENO"; then :
20559  LIBS=$ac_save_LIBS
20560# We can link X programs with no special library path.
20561ac_x_libraries=
20562else
20563  LIBS=$ac_save_LIBS
20564for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20565do
20566  # Don't even attempt the hair of trying to link an X program!
20567  for ac_extension in a so sl dylib la dll; do
20568    if test -r "$ac_dir/libX11.$ac_extension"; then
20569      ac_x_libraries=$ac_dir
20570      break 2
20571    fi
20572  done
20573done
20574fi
20575rm -f core conftest.err conftest.$ac_objext \
20576    conftest$ac_exeext conftest.$ac_ext
20577fi # $ac_x_libraries = no
20578
20579case $ac_x_includes,$ac_x_libraries in #(
20580  no,* | *,no | *\'*)
20581    # Didn't find X, or a directory has "'" in its name.
20582    ac_cv_have_x="have_x=no";; #(
20583  *)
20584    # Record where we found X for the cache.
20585    ac_cv_have_x="have_x=yes\
20586	ac_x_includes='$ac_x_includes'\
20587	ac_x_libraries='$ac_x_libraries'"
20588esac
20589fi
20590;; #(
20591    *) have_x=yes;;
20592  esac
20593  eval "$ac_cv_have_x"
20594fi # $with_x != no
20595
20596if test "$have_x" != yes; then
20597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
20598$as_echo "$have_x" >&6; }
20599  no_x=yes
20600else
20601  # If each of the values was on the command line, it overrides each guess.
20602  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20603  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20604  # Update the cache value to reflect the command line values.
20605  ac_cv_have_x="have_x=yes\
20606	ac_x_includes='$x_includes'\
20607	ac_x_libraries='$x_libraries'"
20608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
20609$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
20610fi
20611
20612ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20613if test "x$ac_cv_type_size_t" = xyes; then :
20614
20615else
20616
20617cat >>confdefs.h <<_ACEOF
20618#define size_t unsigned int
20619_ACEOF
20620
20621fi
20622
20623# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20624# for constant arguments.  Useless!
20625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
20626$as_echo_n "checking for working alloca.h... " >&6; }
20627if ${ac_cv_working_alloca_h+:} false; then :
20628  $as_echo_n "(cached) " >&6
20629else
20630  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20631/* end confdefs.h.  */
20632#include <alloca.h>
20633int
20634main ()
20635{
20636char *p = (char *) alloca (2 * sizeof (int));
20637			  if (p) return 0;
20638  ;
20639  return 0;
20640}
20641_ACEOF
20642if ac_fn_c_try_link "$LINENO"; then :
20643  ac_cv_working_alloca_h=yes
20644else
20645  ac_cv_working_alloca_h=no
20646fi
20647rm -f core conftest.err conftest.$ac_objext \
20648    conftest$ac_exeext conftest.$ac_ext
20649fi
20650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
20651$as_echo "$ac_cv_working_alloca_h" >&6; }
20652if test $ac_cv_working_alloca_h = yes; then
20653
20654$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
20655
20656fi
20657
20658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
20659$as_echo_n "checking for alloca... " >&6; }
20660if ${ac_cv_func_alloca_works+:} false; then :
20661  $as_echo_n "(cached) " >&6
20662else
20663  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20664/* end confdefs.h.  */
20665#ifdef __GNUC__
20666# define alloca __builtin_alloca
20667#else
20668# ifdef _MSC_VER
20669#  include <malloc.h>
20670#  define alloca _alloca
20671# else
20672#  ifdef HAVE_ALLOCA_H
20673#   include <alloca.h>
20674#  else
20675#   ifdef _AIX
20676 #pragma alloca
20677#   else
20678#    ifndef alloca /* predefined by HP cc +Olibcalls */
20679void *alloca (size_t);
20680#    endif
20681#   endif
20682#  endif
20683# endif
20684#endif
20685
20686int
20687main ()
20688{
20689char *p = (char *) alloca (1);
20690				    if (p) return 0;
20691  ;
20692  return 0;
20693}
20694_ACEOF
20695if ac_fn_c_try_link "$LINENO"; then :
20696  ac_cv_func_alloca_works=yes
20697else
20698  ac_cv_func_alloca_works=no
20699fi
20700rm -f core conftest.err conftest.$ac_objext \
20701    conftest$ac_exeext conftest.$ac_ext
20702fi
20703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
20704$as_echo "$ac_cv_func_alloca_works" >&6; }
20705
20706if test $ac_cv_func_alloca_works = yes; then
20707
20708$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
20709
20710else
20711  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
20712# that cause trouble.  Some versions do not even contain alloca or
20713# contain a buggy version.  If you still want to use their alloca,
20714# use ar to extract alloca.o from them instead of compiling alloca.c.
20715
20716ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
20717
20718$as_echo "#define C_ALLOCA 1" >>confdefs.h
20719
20720
20721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
20722$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
20723if ${ac_cv_os_cray+:} false; then :
20724  $as_echo_n "(cached) " >&6
20725else
20726  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20727/* end confdefs.h.  */
20728#if defined CRAY && ! defined CRAY2
20729webecray
20730#else
20731wenotbecray
20732#endif
20733
20734_ACEOF
20735if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20736  $EGREP "webecray" >/dev/null 2>&1; then :
20737  ac_cv_os_cray=yes
20738else
20739  ac_cv_os_cray=no
20740fi
20741rm -f conftest*
20742
20743fi
20744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
20745$as_echo "$ac_cv_os_cray" >&6; }
20746if test $ac_cv_os_cray = yes; then
20747  for ac_func in _getb67 GETB67 getb67; do
20748    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20749ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20750if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20751
20752cat >>confdefs.h <<_ACEOF
20753#define CRAY_STACKSEG_END $ac_func
20754_ACEOF
20755
20756    break
20757fi
20758
20759  done
20760fi
20761
20762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
20763$as_echo_n "checking stack direction for C alloca... " >&6; }
20764if ${ac_cv_c_stack_direction+:} false; then :
20765  $as_echo_n "(cached) " >&6
20766else
20767  if test "$cross_compiling" = yes; then :
20768  ac_cv_c_stack_direction=0
20769else
20770  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20771/* end confdefs.h.  */
20772$ac_includes_default
20773int
20774find_stack_direction (int *addr, int depth)
20775{
20776  int dir, dummy = 0;
20777  if (! addr)
20778    addr = &dummy;
20779  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
20780  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
20781  return dir + dummy;
20782}
20783
20784int
20785main (int argc, char **argv)
20786{
20787  return find_stack_direction (0, argc + !argv + 20) < 0;
20788}
20789_ACEOF
20790if ac_fn_c_try_run "$LINENO"; then :
20791  ac_cv_c_stack_direction=1
20792else
20793  ac_cv_c_stack_direction=-1
20794fi
20795rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20796  conftest.$ac_objext conftest.beam conftest.$ac_ext
20797fi
20798
20799fi
20800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
20801$as_echo "$ac_cv_c_stack_direction" >&6; }
20802cat >>confdefs.h <<_ACEOF
20803#define STACK_DIRECTION $ac_cv_c_stack_direction
20804_ACEOF
20805
20806
20807fi
20808
20809for ac_header in stdlib.h string.h unistd.h ladspa.h dssi.h lv2.h
20810do :
20811  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20812ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20813if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20814  cat >>confdefs.h <<_ACEOF
20815#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20816_ACEOF
20817
20818else
20819  as_fn_error $? "\"missing headers\"" "$LINENO" 5
20820fi
20821
20822done
20823
20824
20825# Checks for typedefs, structures, and compiler characteristics.
20826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
20827$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
20828if ${ac_cv_header_stdbool_h+:} false; then :
20829  $as_echo_n "(cached) " >&6
20830else
20831  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20832/* end confdefs.h.  */
20833
20834             #include <stdbool.h>
20835             #ifndef bool
20836              "error: bool is not defined"
20837             #endif
20838             #ifndef false
20839              "error: false is not defined"
20840             #endif
20841             #if false
20842              "error: false is not 0"
20843             #endif
20844             #ifndef true
20845              "error: true is not defined"
20846             #endif
20847             #if true != 1
20848              "error: true is not 1"
20849             #endif
20850             #ifndef __bool_true_false_are_defined
20851              "error: __bool_true_false_are_defined is not defined"
20852             #endif
20853
20854             struct s { _Bool s: 1; _Bool t; } s;
20855
20856             char a[true == 1 ? 1 : -1];
20857             char b[false == 0 ? 1 : -1];
20858             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
20859             char d[(bool) 0.5 == true ? 1 : -1];
20860             /* See body of main program for 'e'.  */
20861             char f[(_Bool) 0.0 == false ? 1 : -1];
20862             char g[true];
20863             char h[sizeof (_Bool)];
20864             char i[sizeof s.t];
20865             enum { j = false, k = true, l = false * true, m = true * 256 };
20866             /* The following fails for
20867                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
20868             _Bool n[m];
20869             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
20870             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
20871             /* Catch a bug in an HP-UX C compiler.  See
20872                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
20873                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
20874              */
20875             _Bool q = true;
20876             _Bool *pq = &q;
20877
20878int
20879main ()
20880{
20881
20882             bool e = &s;
20883             *pq |= q;
20884             *pq |= ! q;
20885             /* Refer to every declared value, to avoid compiler optimizations.  */
20886             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
20887                     + !m + !n + !o + !p + !q + !pq);
20888
20889  ;
20890  return 0;
20891}
20892_ACEOF
20893if ac_fn_c_try_compile "$LINENO"; then :
20894  ac_cv_header_stdbool_h=yes
20895else
20896  ac_cv_header_stdbool_h=no
20897fi
20898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20899fi
20900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
20901$as_echo "$ac_cv_header_stdbool_h" >&6; }
20902   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
20903if test "x$ac_cv_type__Bool" = xyes; then :
20904
20905cat >>confdefs.h <<_ACEOF
20906#define HAVE__BOOL 1
20907_ACEOF
20908
20909
20910fi
20911
20912
20913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20914$as_echo_n "checking for inline... " >&6; }
20915if ${ac_cv_c_inline+:} false; then :
20916  $as_echo_n "(cached) " >&6
20917else
20918  ac_cv_c_inline=no
20919for ac_kw in inline __inline__ __inline; do
20920  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20921/* end confdefs.h.  */
20922#ifndef __cplusplus
20923typedef int foo_t;
20924static $ac_kw foo_t static_foo () {return 0; }
20925$ac_kw foo_t foo () {return 0; }
20926#endif
20927
20928_ACEOF
20929if ac_fn_c_try_compile "$LINENO"; then :
20930  ac_cv_c_inline=$ac_kw
20931fi
20932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20933  test "$ac_cv_c_inline" != no && break
20934done
20935
20936fi
20937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20938$as_echo "$ac_cv_c_inline" >&6; }
20939
20940case $ac_cv_c_inline in
20941  inline | yes) ;;
20942  *)
20943    case $ac_cv_c_inline in
20944      no) ac_val=;;
20945      *) ac_val=$ac_cv_c_inline;;
20946    esac
20947    cat >>confdefs.h <<_ACEOF
20948#ifndef __cplusplus
20949#define inline $ac_val
20950#endif
20951_ACEOF
20952    ;;
20953esac
20954
20955ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
20956if test "x$ac_cv_type_pid_t" = xyes; then :
20957
20958else
20959
20960cat >>confdefs.h <<_ACEOF
20961#define pid_t int
20962_ACEOF
20963
20964fi
20965
20966ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20967if test "x$ac_cv_type_size_t" = xyes; then :
20968
20969else
20970
20971cat >>confdefs.h <<_ACEOF
20972#define size_t unsigned int
20973_ACEOF
20974
20975fi
20976
20977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
20978$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
20979if ${ac_cv_type_uid_t+:} false; then :
20980  $as_echo_n "(cached) " >&6
20981else
20982  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20983/* end confdefs.h.  */
20984#include <sys/types.h>
20985
20986_ACEOF
20987if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20988  $EGREP "uid_t" >/dev/null 2>&1; then :
20989  ac_cv_type_uid_t=yes
20990else
20991  ac_cv_type_uid_t=no
20992fi
20993rm -f conftest*
20994
20995fi
20996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
20997$as_echo "$ac_cv_type_uid_t" >&6; }
20998if test $ac_cv_type_uid_t = no; then
20999
21000$as_echo "#define uid_t int" >>confdefs.h
21001
21002
21003$as_echo "#define gid_t int" >>confdefs.h
21004
21005fi
21006
21007ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
21008case $ac_cv_c_uint16_t in #(
21009  no|yes) ;; #(
21010  *)
21011
21012
21013cat >>confdefs.h <<_ACEOF
21014#define uint16_t $ac_cv_c_uint16_t
21015_ACEOF
21016;;
21017  esac
21018
21019ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
21020case $ac_cv_c_uint32_t in #(
21021  no|yes) ;; #(
21022  *)
21023
21024$as_echo "#define _UINT32_T 1" >>confdefs.h
21025
21026
21027cat >>confdefs.h <<_ACEOF
21028#define uint32_t $ac_cv_c_uint32_t
21029_ACEOF
21030;;
21031  esac
21032
21033ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
21034case $ac_cv_c_uint8_t in #(
21035  no|yes) ;; #(
21036  *)
21037
21038$as_echo "#define _UINT8_T 1" >>confdefs.h
21039
21040
21041cat >>confdefs.h <<_ACEOF
21042#define uint8_t $ac_cv_c_uint8_t
21043_ACEOF
21044;;
21045  esac
21046
21047ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
21048if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
21049
21050cat >>confdefs.h <<_ACEOF
21051#define HAVE_PTRDIFF_T 1
21052_ACEOF
21053
21054
21055fi
21056
21057
21058WITH_W32API=0
21059
21060if test "x$enable_w32api" != xno; then :
21061
21062$as_echo "#define AGS_W32API 1" >>confdefs.h
21063
21064      W32API_CFLAGS="-nostdinc -I./lib -I/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include -I/usr/x86_64-w64-mingw32/sys-root/mingw/include -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/dssi -include ags/config.h "
21065      W32API_LIBS="-L./lib -lgnu"
21066
21067
21068      { $as_echo "$as_me:${as_lineno-$LINENO}: w32api enabled" >&5
21069$as_echo "$as_me: w32api enabled" >&6;}
21070else
21071  { $as_echo "$as_me:${as_lineno-$LINENO}: w32api disabled" >&5
21072$as_echo "$as_me: w32api disabled" >&6;}
21073fi
21074 if test "x$enable_w32api" == xyes; then
21075  WITH_W32API_TRUE=
21076  WITH_W32API_FALSE='#'
21077else
21078  WITH_W32API_TRUE='#'
21079  WITH_W32API_FALSE=
21080fi
21081
21082
21083if test "x$enable_osxapi" != xno; then :
21084
21085$as_echo "#define AGS_OSXAPI 1" >>confdefs.h
21086
21087      OSXAPI_CFLAGS=""
21088      OSXAPI_LIBS=""
21089
21090
21091      { $as_echo "$as_me:${as_lineno-$LINENO}: OS X api enabled" >&5
21092$as_echo "$as_me: OS X api enabled" >&6;}
21093else
21094  { $as_echo "$as_me:${as_lineno-$LINENO}: OS X api disabled" >&5
21095$as_echo "$as_me: OS X api disabled" >&6;}
21096fi
21097 if test "x$enable_osxapi" == xyes; then
21098  WITH_OSXAPI_TRUE=
21099  WITH_OSXAPI_FALSE='#'
21100else
21101  WITH_OSXAPI_TRUE='#'
21102  WITH_OSXAPI_FALSE=
21103fi
21104
21105
21106
21107pkg_failed=no
21108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid >= 1.0.1" >&5
21109$as_echo_n "checking for uuid >= 1.0.1... " >&6; }
21110
21111if test -n "$UUID_CFLAGS"; then
21112    pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
21113 elif test -n "$PKG_CONFIG"; then
21114    if test -n "$PKG_CONFIG" && \
21115    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 1.0.1\""; } >&5
21116  ($PKG_CONFIG --exists --print-errors "uuid >= 1.0.1") 2>&5
21117  ac_status=$?
21118  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21119  test $ac_status = 0; }; then
21120  pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= 1.0.1" 2>/dev/null`
21121		      test "x$?" != "x0" && pkg_failed=yes
21122else
21123  pkg_failed=yes
21124fi
21125 else
21126    pkg_failed=untried
21127fi
21128if test -n "$UUID_LIBS"; then
21129    pkg_cv_UUID_LIBS="$UUID_LIBS"
21130 elif test -n "$PKG_CONFIG"; then
21131    if test -n "$PKG_CONFIG" && \
21132    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 1.0.1\""; } >&5
21133  ($PKG_CONFIG --exists --print-errors "uuid >= 1.0.1") 2>&5
21134  ac_status=$?
21135  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21136  test $ac_status = 0; }; then
21137  pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid >= 1.0.1" 2>/dev/null`
21138		      test "x$?" != "x0" && pkg_failed=yes
21139else
21140  pkg_failed=yes
21141fi
21142 else
21143    pkg_failed=untried
21144fi
21145
21146
21147
21148if test $pkg_failed = yes; then
21149        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21150$as_echo "no" >&6; }
21151
21152if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21153        _pkg_short_errors_supported=yes
21154else
21155        _pkg_short_errors_supported=no
21156fi
21157        if test $_pkg_short_errors_supported = yes; then
21158	        UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 1.0.1" 2>&1`
21159        else
21160	        UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 1.0.1" 2>&1`
21161        fi
21162	# Put the nasty error message in config.log where it belongs
21163	echo "$UUID_PKG_ERRORS" >&5
21164
21165	as_fn_error $? "Package requirements (uuid >= 1.0.1) were not met:
21166
21167$UUID_PKG_ERRORS
21168
21169Consider adjusting the PKG_CONFIG_PATH environment variable if you
21170installed software in a non-standard prefix.
21171
21172Alternatively, you may set the environment variables UUID_CFLAGS
21173and UUID_LIBS to avoid the need to call pkg-config.
21174See the pkg-config man page for more details." "$LINENO" 5
21175elif test $pkg_failed = untried; then
21176        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21177$as_echo "no" >&6; }
21178	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21179$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21180as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21181is in your PATH or set the PKG_CONFIG environment variable to the full
21182path to pkg-config.
21183
21184Alternatively, you may set the environment variables UUID_CFLAGS
21185and UUID_LIBS to avoid the need to call pkg-config.
21186See the pkg-config man page for more details.
21187
21188To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21189See \`config.log' for more details" "$LINENO" 5; }
21190else
21191	UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
21192	UUID_LIBS=$pkg_cv_UUID_LIBS
21193        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21194$as_echo "yes" >&6; }
21195
21196fi
21197
21198
21199
21200if test "x$enable_alsa" != xno; then :
21201
21202pkg_failed=no
21203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alsa >= 1.0.25" >&5
21204$as_echo_n "checking for alsa >= 1.0.25... " >&6; }
21205
21206if test -n "$LIBASOUND2_CFLAGS"; then
21207    pkg_cv_LIBASOUND2_CFLAGS="$LIBASOUND2_CFLAGS"
21208 elif test -n "$PKG_CONFIG"; then
21209    if test -n "$PKG_CONFIG" && \
21210    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.25\""; } >&5
21211  ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.25") 2>&5
21212  ac_status=$?
21213  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21214  test $ac_status = 0; }; then
21215  pkg_cv_LIBASOUND2_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 1.0.25" 2>/dev/null`
21216		      test "x$?" != "x0" && pkg_failed=yes
21217else
21218  pkg_failed=yes
21219fi
21220 else
21221    pkg_failed=untried
21222fi
21223if test -n "$LIBASOUND2_LIBS"; then
21224    pkg_cv_LIBASOUND2_LIBS="$LIBASOUND2_LIBS"
21225 elif test -n "$PKG_CONFIG"; then
21226    if test -n "$PKG_CONFIG" && \
21227    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.25\""; } >&5
21228  ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.25") 2>&5
21229  ac_status=$?
21230  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21231  test $ac_status = 0; }; then
21232  pkg_cv_LIBASOUND2_LIBS=`$PKG_CONFIG --libs "alsa >= 1.0.25" 2>/dev/null`
21233		      test "x$?" != "x0" && pkg_failed=yes
21234else
21235  pkg_failed=yes
21236fi
21237 else
21238    pkg_failed=untried
21239fi
21240
21241
21242
21243if test $pkg_failed = yes; then
21244        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21245$as_echo "no" >&6; }
21246
21247if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21248        _pkg_short_errors_supported=yes
21249else
21250        _pkg_short_errors_supported=no
21251fi
21252        if test $_pkg_short_errors_supported = yes; then
21253	        LIBASOUND2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa >= 1.0.25" 2>&1`
21254        else
21255	        LIBASOUND2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa >= 1.0.25" 2>&1`
21256        fi
21257	# Put the nasty error message in config.log where it belongs
21258	echo "$LIBASOUND2_PKG_ERRORS" >&5
21259
21260	as_fn_error $? "Package requirements (alsa >= 1.0.25) were not met:
21261
21262$LIBASOUND2_PKG_ERRORS
21263
21264Consider adjusting the PKG_CONFIG_PATH environment variable if you
21265installed software in a non-standard prefix.
21266
21267Alternatively, you may set the environment variables LIBASOUND2_CFLAGS
21268and LIBASOUND2_LIBS to avoid the need to call pkg-config.
21269See the pkg-config man page for more details." "$LINENO" 5
21270elif test $pkg_failed = untried; then
21271        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21272$as_echo "no" >&6; }
21273	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21274$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21275as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21276is in your PATH or set the PKG_CONFIG environment variable to the full
21277path to pkg-config.
21278
21279Alternatively, you may set the environment variables LIBASOUND2_CFLAGS
21280and LIBASOUND2_LIBS to avoid the need to call pkg-config.
21281See the pkg-config man page for more details.
21282
21283To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21284See \`config.log' for more details" "$LINENO" 5; }
21285else
21286	LIBASOUND2_CFLAGS=$pkg_cv_LIBASOUND2_CFLAGS
21287	LIBASOUND2_LIBS=$pkg_cv_LIBASOUND2_LIBS
21288        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21289$as_echo "yes" >&6; }
21290
21291fi
21292
21293
21294
21295$as_echo "#define AGS_WITH_ALSA 1" >>confdefs.h
21296
21297       { $as_echo "$as_me:${as_lineno-$LINENO}: ALSA enabled" >&5
21298$as_echo "$as_me: ALSA enabled" >&6;}
21299else
21300  { $as_echo "$as_me:${as_lineno-$LINENO}: ALSA disabled" >&5
21301$as_echo "$as_me: ALSA disabled" >&6;}
21302fi
21303
21304if test "x$enable_alsa_compat" != xno; then :
21305
21306pkg_failed=no
21307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdssialsacompat >= 1.0.0" >&5
21308$as_echo_n "checking for libdssialsacompat >= 1.0.0... " >&6; }
21309
21310if test -n "$LIBDSSIALSACOMPAT_CFLAGS"; then
21311    pkg_cv_LIBDSSIALSACOMPAT_CFLAGS="$LIBDSSIALSACOMPAT_CFLAGS"
21312 elif test -n "$PKG_CONFIG"; then
21313    if test -n "$PKG_CONFIG" && \
21314    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat >= 1.0.0\""; } >&5
21315  ($PKG_CONFIG --exists --print-errors "libdssialsacompat >= 1.0.0") 2>&5
21316  ac_status=$?
21317  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21318  test $ac_status = 0; }; then
21319  pkg_cv_LIBDSSIALSACOMPAT_CFLAGS=`$PKG_CONFIG --cflags "libdssialsacompat >= 1.0.0" 2>/dev/null`
21320		      test "x$?" != "x0" && pkg_failed=yes
21321else
21322  pkg_failed=yes
21323fi
21324 else
21325    pkg_failed=untried
21326fi
21327if test -n "$LIBDSSIALSACOMPAT_LIBS"; then
21328    pkg_cv_LIBDSSIALSACOMPAT_LIBS="$LIBDSSIALSACOMPAT_LIBS"
21329 elif test -n "$PKG_CONFIG"; then
21330    if test -n "$PKG_CONFIG" && \
21331    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat >= 1.0.0\""; } >&5
21332  ($PKG_CONFIG --exists --print-errors "libdssialsacompat >= 1.0.0") 2>&5
21333  ac_status=$?
21334  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21335  test $ac_status = 0; }; then
21336  pkg_cv_LIBDSSIALSACOMPAT_LIBS=`$PKG_CONFIG --libs "libdssialsacompat >= 1.0.0" 2>/dev/null`
21337		      test "x$?" != "x0" && pkg_failed=yes
21338else
21339  pkg_failed=yes
21340fi
21341 else
21342    pkg_failed=untried
21343fi
21344
21345
21346
21347if test $pkg_failed = yes; then
21348        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21349$as_echo "no" >&6; }
21350
21351if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21352        _pkg_short_errors_supported=yes
21353else
21354        _pkg_short_errors_supported=no
21355fi
21356        if test $_pkg_short_errors_supported = yes; then
21357	        LIBDSSIALSACOMPAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdssialsacompat >= 1.0.0" 2>&1`
21358        else
21359	        LIBDSSIALSACOMPAT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdssialsacompat >= 1.0.0" 2>&1`
21360        fi
21361	# Put the nasty error message in config.log where it belongs
21362	echo "$LIBDSSIALSACOMPAT_PKG_ERRORS" >&5
21363
21364	as_fn_error $? "Package requirements (libdssialsacompat >= 1.0.0) were not met:
21365
21366$LIBDSSIALSACOMPAT_PKG_ERRORS
21367
21368Consider adjusting the PKG_CONFIG_PATH environment variable if you
21369installed software in a non-standard prefix.
21370
21371Alternatively, you may set the environment variables LIBDSSIALSACOMPAT_CFLAGS
21372and LIBDSSIALSACOMPAT_LIBS to avoid the need to call pkg-config.
21373See the pkg-config man page for more details." "$LINENO" 5
21374elif test $pkg_failed = untried; then
21375        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21376$as_echo "no" >&6; }
21377	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21378$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21379as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21380is in your PATH or set the PKG_CONFIG environment variable to the full
21381path to pkg-config.
21382
21383Alternatively, you may set the environment variables LIBDSSIALSACOMPAT_CFLAGS
21384and LIBDSSIALSACOMPAT_LIBS to avoid the need to call pkg-config.
21385See the pkg-config man page for more details.
21386
21387To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21388See \`config.log' for more details" "$LINENO" 5; }
21389else
21390	LIBDSSIALSACOMPAT_CFLAGS=$pkg_cv_LIBDSSIALSACOMPAT_CFLAGS
21391	LIBDSSIALSACOMPAT_LIBS=$pkg_cv_LIBDSSIALSACOMPAT_LIBS
21392        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21393$as_echo "yes" >&6; }
21394
21395fi
21396
21397
21398       { $as_echo "$as_me:${as_lineno-$LINENO}: ALSA compatibility library enabled" >&5
21399$as_echo "$as_me: ALSA compatibility library enabled" >&6;}
21400else
21401  { $as_echo "$as_me:${as_lineno-$LINENO}: ALSA compatibility library disabled" >&5
21402$as_echo "$as_me: ALSA compatibility library disabled" >&6;}
21403fi
21404
21405if test "x$enable_oss" != xno; then :
21406
21407$as_echo "#define AGS_WITH_OSS 1" >>confdefs.h
21408
21409       { $as_echo "$as_me:${as_lineno-$LINENO}: OSS enabled" >&5
21410$as_echo "$as_me: OSS enabled" >&6;}
21411else
21412  { $as_echo "$as_me:${as_lineno-$LINENO}: OSS disabled" >&5
21413$as_echo "$as_me: OSS disabled" >&6;}
21414fi
21415
21416if test "x$enable_core_audio" != xno; then :
21417
21418$as_echo "#define AGS_WITH_CORE_AUDIO 1" >>confdefs.h
21419
21420
21421      CORE_AUDIO_CFLAGS=
21422      CORE_AUDIO_LIBS="-framework CoreAudio -framework AudioToolbox -framework CoreMIDI"
21423
21424
21425
21426      { $as_echo "$as_me:${as_lineno-$LINENO}: core audio enabled" >&5
21427$as_echo "$as_me: core audio enabled" >&6;}
21428else
21429  { $as_echo "$as_me:${as_lineno-$LINENO}: core audio disabled" >&5
21430$as_echo "$as_me: core audio disabled" >&6;}
21431fi
21432
21433if test "x$enable_audio_unit" != xno; then :
21434
21435$as_echo "#define AGS_WITH_AUDIO_UNIT 1" >>confdefs.h
21436
21437
21438      AUDIO_UNIT_CFLAGS=
21439      AUDIO_UNIT_LIBS="-framework AudioUnit -framework AudioToolbox"
21440
21441
21442
21443      { $as_echo "$as_me:${as_lineno-$LINENO}: audio-unit enabled" >&5
21444$as_echo "$as_me: audio-unit enabled" >&6;}
21445else
21446  { $as_echo "$as_me:${as_lineno-$LINENO}: audio-unit disabled" >&5
21447$as_echo "$as_me: audio-unit disabled" >&6;}
21448fi
21449
21450if test "x$enable_wasapi" != xno; then :
21451
21452$as_echo "#define AGS_WITH_WASAPI 1" >>confdefs.h
21453
21454      WASAPI_CFLAGS=""
21455      WASAPI_LIBS="-lwinmm -ldsound -lsetupapi -lole32"
21456
21457
21458
21459      { $as_echo "$as_me:${as_lineno-$LINENO}: wasapi enabled" >&5
21460$as_echo "$as_me: wasapi enabled" >&6;}
21461else
21462  { $as_echo "$as_me:${as_lineno-$LINENO}: wasapi disabled" >&5
21463$as_echo "$as_me: wasapi disabled" >&6;}
21464fi
21465
21466if test "x$enable_jack" != xno; then :
21467
21468$as_echo "#define AGS_WITH_JACK 1" >>confdefs.h
21469
21470
21471
21472pkg_failed=no
21473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jack" >&5
21474$as_echo_n "checking for jack... " >&6; }
21475
21476if test -n "$JACK_CFLAGS"; then
21477    pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
21478 elif test -n "$PKG_CONFIG"; then
21479    if test -n "$PKG_CONFIG" && \
21480    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack\""; } >&5
21481  ($PKG_CONFIG --exists --print-errors "jack") 2>&5
21482  ac_status=$?
21483  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21484  test $ac_status = 0; }; then
21485  pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack" 2>/dev/null`
21486		      test "x$?" != "x0" && pkg_failed=yes
21487else
21488  pkg_failed=yes
21489fi
21490 else
21491    pkg_failed=untried
21492fi
21493if test -n "$JACK_LIBS"; then
21494    pkg_cv_JACK_LIBS="$JACK_LIBS"
21495 elif test -n "$PKG_CONFIG"; then
21496    if test -n "$PKG_CONFIG" && \
21497    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack\""; } >&5
21498  ($PKG_CONFIG --exists --print-errors "jack") 2>&5
21499  ac_status=$?
21500  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21501  test $ac_status = 0; }; then
21502  pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack" 2>/dev/null`
21503		      test "x$?" != "x0" && pkg_failed=yes
21504else
21505  pkg_failed=yes
21506fi
21507 else
21508    pkg_failed=untried
21509fi
21510
21511
21512
21513if test $pkg_failed = yes; then
21514        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21515$as_echo "no" >&6; }
21516
21517if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21518        _pkg_short_errors_supported=yes
21519else
21520        _pkg_short_errors_supported=no
21521fi
21522        if test $_pkg_short_errors_supported = yes; then
21523	        JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jack" 2>&1`
21524        else
21525	        JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jack" 2>&1`
21526        fi
21527	# Put the nasty error message in config.log where it belongs
21528	echo "$JACK_PKG_ERRORS" >&5
21529
21530	as_fn_error $? "Package requirements (jack) were not met:
21531
21532$JACK_PKG_ERRORS
21533
21534Consider adjusting the PKG_CONFIG_PATH environment variable if you
21535installed software in a non-standard prefix.
21536
21537Alternatively, you may set the environment variables JACK_CFLAGS
21538and JACK_LIBS to avoid the need to call pkg-config.
21539See the pkg-config man page for more details." "$LINENO" 5
21540elif test $pkg_failed = untried; then
21541        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21542$as_echo "no" >&6; }
21543	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21544$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21545as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21546is in your PATH or set the PKG_CONFIG environment variable to the full
21547path to pkg-config.
21548
21549Alternatively, you may set the environment variables JACK_CFLAGS
21550and JACK_LIBS to avoid the need to call pkg-config.
21551See the pkg-config man page for more details.
21552
21553To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21554See \`config.log' for more details" "$LINENO" 5; }
21555else
21556	JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
21557	JACK_LIBS=$pkg_cv_JACK_LIBS
21558        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21559$as_echo "yes" >&6; }
21560
21561fi
21562
21563
21564
21565      ac_fn_c_check_func "$LINENO" "jack_port_uuid" "ac_cv_func_jack_port_uuid"
21566if test "x$ac_cv_func_jack_port_uuid" = xyes; then :
21567
21568$as_echo "#define HAVE_JACK_PORT_UUID 1" >>confdefs.h
21569
21570fi
21571
21572      { $as_echo "$as_me:${as_lineno-$LINENO}: JACK enabled" >&5
21573$as_echo "$as_me: JACK enabled" >&6;}
21574else
21575  { $as_echo "$as_me:${as_lineno-$LINENO}: JACK disabled" >&5
21576$as_echo "$as_me: JACK disabled" >&6;}
21577fi
21578
21579if test "x$enable_pulse" != xno; then :
21580
21581$as_echo "#define AGS_WITH_PULSE 1" >>confdefs.h
21582
21583
21584
21585pkg_failed=no
21586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse-mainloop-glib" >&5
21587$as_echo_n "checking for libpulse-mainloop-glib... " >&6; }
21588
21589if test -n "$PULSE_CFLAGS"; then
21590    pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
21591 elif test -n "$PKG_CONFIG"; then
21592    if test -n "$PKG_CONFIG" && \
21593    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-mainloop-glib\""; } >&5
21594  ($PKG_CONFIG --exists --print-errors "libpulse-mainloop-glib") 2>&5
21595  ac_status=$?
21596  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21597  test $ac_status = 0; }; then
21598  pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse-mainloop-glib" 2>/dev/null`
21599		      test "x$?" != "x0" && pkg_failed=yes
21600else
21601  pkg_failed=yes
21602fi
21603 else
21604    pkg_failed=untried
21605fi
21606if test -n "$PULSE_LIBS"; then
21607    pkg_cv_PULSE_LIBS="$PULSE_LIBS"
21608 elif test -n "$PKG_CONFIG"; then
21609    if test -n "$PKG_CONFIG" && \
21610    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-mainloop-glib\""; } >&5
21611  ($PKG_CONFIG --exists --print-errors "libpulse-mainloop-glib") 2>&5
21612  ac_status=$?
21613  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21614  test $ac_status = 0; }; then
21615  pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse-mainloop-glib" 2>/dev/null`
21616		      test "x$?" != "x0" && pkg_failed=yes
21617else
21618  pkg_failed=yes
21619fi
21620 else
21621    pkg_failed=untried
21622fi
21623
21624
21625
21626if test $pkg_failed = yes; then
21627        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21628$as_echo "no" >&6; }
21629
21630if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21631        _pkg_short_errors_supported=yes
21632else
21633        _pkg_short_errors_supported=no
21634fi
21635        if test $_pkg_short_errors_supported = yes; then
21636	        PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpulse-mainloop-glib" 2>&1`
21637        else
21638	        PULSE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpulse-mainloop-glib" 2>&1`
21639        fi
21640	# Put the nasty error message in config.log where it belongs
21641	echo "$PULSE_PKG_ERRORS" >&5
21642
21643	as_fn_error $? "Package requirements (libpulse-mainloop-glib) were not met:
21644
21645$PULSE_PKG_ERRORS
21646
21647Consider adjusting the PKG_CONFIG_PATH environment variable if you
21648installed software in a non-standard prefix.
21649
21650Alternatively, you may set the environment variables PULSE_CFLAGS
21651and PULSE_LIBS to avoid the need to call pkg-config.
21652See the pkg-config man page for more details." "$LINENO" 5
21653elif test $pkg_failed = untried; then
21654        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21655$as_echo "no" >&6; }
21656	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21657$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21658as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21659is in your PATH or set the PKG_CONFIG environment variable to the full
21660path to pkg-config.
21661
21662Alternatively, you may set the environment variables PULSE_CFLAGS
21663and PULSE_LIBS to avoid the need to call pkg-config.
21664See the pkg-config man page for more details.
21665
21666To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21667See \`config.log' for more details" "$LINENO" 5; }
21668else
21669	PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
21670	PULSE_LIBS=$pkg_cv_PULSE_LIBS
21671        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21672$as_echo "yes" >&6; }
21673
21674fi
21675
21676
21677
21678      { $as_echo "$as_me:${as_lineno-$LINENO}: PULSE enabled" >&5
21679$as_echo "$as_me: PULSE enabled" >&6;}
21680else
21681  { $as_echo "$as_me:${as_lineno-$LINENO}: PULSE disabled" >&5
21682$as_echo "$as_me: PULSE disabled" >&6;}
21683fi
21684
21685
21686pkg_failed=no
21687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.8.0" >&5
21688$as_echo_n "checking for libxml-2.0 >= 2.8.0... " >&6; }
21689
21690if test -n "$LIBXML2_CFLAGS"; then
21691    pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
21692 elif test -n "$PKG_CONFIG"; then
21693    if test -n "$PKG_CONFIG" && \
21694    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.8.0\""; } >&5
21695  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0") 2>&5
21696  ac_status=$?
21697  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21698  test $ac_status = 0; }; then
21699  pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.8.0" 2>/dev/null`
21700		      test "x$?" != "x0" && pkg_failed=yes
21701else
21702  pkg_failed=yes
21703fi
21704 else
21705    pkg_failed=untried
21706fi
21707if test -n "$LIBXML2_LIBS"; then
21708    pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
21709 elif test -n "$PKG_CONFIG"; then
21710    if test -n "$PKG_CONFIG" && \
21711    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.8.0\""; } >&5
21712  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0") 2>&5
21713  ac_status=$?
21714  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21715  test $ac_status = 0; }; then
21716  pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.8.0" 2>/dev/null`
21717		      test "x$?" != "x0" && pkg_failed=yes
21718else
21719  pkg_failed=yes
21720fi
21721 else
21722    pkg_failed=untried
21723fi
21724
21725
21726
21727if test $pkg_failed = yes; then
21728        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21729$as_echo "no" >&6; }
21730
21731if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21732        _pkg_short_errors_supported=yes
21733else
21734        _pkg_short_errors_supported=no
21735fi
21736        if test $_pkg_short_errors_supported = yes; then
21737	        LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.8.0" 2>&1`
21738        else
21739	        LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.8.0" 2>&1`
21740        fi
21741	# Put the nasty error message in config.log where it belongs
21742	echo "$LIBXML2_PKG_ERRORS" >&5
21743
21744	as_fn_error $? "Package requirements (libxml-2.0 >= 2.8.0) were not met:
21745
21746$LIBXML2_PKG_ERRORS
21747
21748Consider adjusting the PKG_CONFIG_PATH environment variable if you
21749installed software in a non-standard prefix.
21750
21751Alternatively, you may set the environment variables LIBXML2_CFLAGS
21752and LIBXML2_LIBS to avoid the need to call pkg-config.
21753See the pkg-config man page for more details." "$LINENO" 5
21754elif test $pkg_failed = untried; then
21755        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21756$as_echo "no" >&6; }
21757	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21758$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21759as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21760is in your PATH or set the PKG_CONFIG environment variable to the full
21761path to pkg-config.
21762
21763Alternatively, you may set the environment variables LIBXML2_CFLAGS
21764and LIBXML2_LIBS to avoid the need to call pkg-config.
21765See the pkg-config man page for more details.
21766
21767To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21768See \`config.log' for more details" "$LINENO" 5; }
21769else
21770	LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
21771	LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
21772        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21773$as_echo "yes" >&6; }
21774
21775fi
21776
21777
21778
21779
21780pkg_failed=no
21781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for samplerate >= 0.1.8" >&5
21782$as_echo_n "checking for samplerate >= 0.1.8... " >&6; }
21783
21784if test -n "$SAMPLERATE_CFLAGS"; then
21785    pkg_cv_SAMPLERATE_CFLAGS="$SAMPLERATE_CFLAGS"
21786 elif test -n "$PKG_CONFIG"; then
21787    if test -n "$PKG_CONFIG" && \
21788    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= 0.1.8\""; } >&5
21789  ($PKG_CONFIG --exists --print-errors "samplerate >= 0.1.8") 2>&5
21790  ac_status=$?
21791  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21792  test $ac_status = 0; }; then
21793  pkg_cv_SAMPLERATE_CFLAGS=`$PKG_CONFIG --cflags "samplerate >= 0.1.8" 2>/dev/null`
21794		      test "x$?" != "x0" && pkg_failed=yes
21795else
21796  pkg_failed=yes
21797fi
21798 else
21799    pkg_failed=untried
21800fi
21801if test -n "$SAMPLERATE_LIBS"; then
21802    pkg_cv_SAMPLERATE_LIBS="$SAMPLERATE_LIBS"
21803 elif test -n "$PKG_CONFIG"; then
21804    if test -n "$PKG_CONFIG" && \
21805    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= 0.1.8\""; } >&5
21806  ($PKG_CONFIG --exists --print-errors "samplerate >= 0.1.8") 2>&5
21807  ac_status=$?
21808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21809  test $ac_status = 0; }; then
21810  pkg_cv_SAMPLERATE_LIBS=`$PKG_CONFIG --libs "samplerate >= 0.1.8" 2>/dev/null`
21811		      test "x$?" != "x0" && pkg_failed=yes
21812else
21813  pkg_failed=yes
21814fi
21815 else
21816    pkg_failed=untried
21817fi
21818
21819
21820
21821if test $pkg_failed = yes; then
21822        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21823$as_echo "no" >&6; }
21824
21825if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21826        _pkg_short_errors_supported=yes
21827else
21828        _pkg_short_errors_supported=no
21829fi
21830        if test $_pkg_short_errors_supported = yes; then
21831	        SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "samplerate >= 0.1.8" 2>&1`
21832        else
21833	        SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "samplerate >= 0.1.8" 2>&1`
21834        fi
21835	# Put the nasty error message in config.log where it belongs
21836	echo "$SAMPLERATE_PKG_ERRORS" >&5
21837
21838	as_fn_error $? "Package requirements (samplerate >= 0.1.8) were not met:
21839
21840$SAMPLERATE_PKG_ERRORS
21841
21842Consider adjusting the PKG_CONFIG_PATH environment variable if you
21843installed software in a non-standard prefix.
21844
21845Alternatively, you may set the environment variables SAMPLERATE_CFLAGS
21846and SAMPLERATE_LIBS to avoid the need to call pkg-config.
21847See the pkg-config man page for more details." "$LINENO" 5
21848elif test $pkg_failed = untried; then
21849        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21850$as_echo "no" >&6; }
21851	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21852$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21853as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21854is in your PATH or set the PKG_CONFIG environment variable to the full
21855path to pkg-config.
21856
21857Alternatively, you may set the environment variables SAMPLERATE_CFLAGS
21858and SAMPLERATE_LIBS to avoid the need to call pkg-config.
21859See the pkg-config man page for more details.
21860
21861To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21862See \`config.log' for more details" "$LINENO" 5; }
21863else
21864	SAMPLERATE_CFLAGS=$pkg_cv_SAMPLERATE_CFLAGS
21865	SAMPLERATE_LIBS=$pkg_cv_SAMPLERATE_LIBS
21866        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21867$as_echo "yes" >&6; }
21868
21869fi
21870
21871
21872
21873
21874pkg_failed=no
21875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sndfile >= 1.0.25" >&5
21876$as_echo_n "checking for sndfile >= 1.0.25... " >&6; }
21877
21878if test -n "$SNDFILE_CFLAGS"; then
21879    pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
21880 elif test -n "$PKG_CONFIG"; then
21881    if test -n "$PKG_CONFIG" && \
21882    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.25\""; } >&5
21883  ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25") 2>&5
21884  ac_status=$?
21885  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21886  test $ac_status = 0; }; then
21887  pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.25" 2>/dev/null`
21888		      test "x$?" != "x0" && pkg_failed=yes
21889else
21890  pkg_failed=yes
21891fi
21892 else
21893    pkg_failed=untried
21894fi
21895if test -n "$SNDFILE_LIBS"; then
21896    pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
21897 elif test -n "$PKG_CONFIG"; then
21898    if test -n "$PKG_CONFIG" && \
21899    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.25\""; } >&5
21900  ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25") 2>&5
21901  ac_status=$?
21902  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21903  test $ac_status = 0; }; then
21904  pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.25" 2>/dev/null`
21905		      test "x$?" != "x0" && pkg_failed=yes
21906else
21907  pkg_failed=yes
21908fi
21909 else
21910    pkg_failed=untried
21911fi
21912
21913
21914
21915if test $pkg_failed = yes; then
21916        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21917$as_echo "no" >&6; }
21918
21919if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21920        _pkg_short_errors_supported=yes
21921else
21922        _pkg_short_errors_supported=no
21923fi
21924        if test $_pkg_short_errors_supported = yes; then
21925	        SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile >= 1.0.25" 2>&1`
21926        else
21927	        SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile >= 1.0.25" 2>&1`
21928        fi
21929	# Put the nasty error message in config.log where it belongs
21930	echo "$SNDFILE_PKG_ERRORS" >&5
21931
21932	as_fn_error $? "Package requirements (sndfile >= 1.0.25) were not met:
21933
21934$SNDFILE_PKG_ERRORS
21935
21936Consider adjusting the PKG_CONFIG_PATH environment variable if you
21937installed software in a non-standard prefix.
21938
21939Alternatively, you may set the environment variables SNDFILE_CFLAGS
21940and SNDFILE_LIBS to avoid the need to call pkg-config.
21941See the pkg-config man page for more details." "$LINENO" 5
21942elif test $pkg_failed = untried; then
21943        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21944$as_echo "no" >&6; }
21945	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21946$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21947as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21948is in your PATH or set the PKG_CONFIG environment variable to the full
21949path to pkg-config.
21950
21951Alternatively, you may set the environment variables SNDFILE_CFLAGS
21952and SNDFILE_LIBS to avoid the need to call pkg-config.
21953See the pkg-config man page for more details.
21954
21955To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21956See \`config.log' for more details" "$LINENO" 5; }
21957else
21958	SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
21959	SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
21960        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21961$as_echo "yes" >&6; }
21962
21963fi
21964
21965
21966
21967
21968pkg_failed=no
21969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3 >= 3.3.4" >&5
21970$as_echo_n "checking for fftw3 >= 3.3.4... " >&6; }
21971
21972if test -n "$FFTW_CFLAGS"; then
21973    pkg_cv_FFTW_CFLAGS="$FFTW_CFLAGS"
21974 elif test -n "$PKG_CONFIG"; then
21975    if test -n "$PKG_CONFIG" && \
21976    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3 >= 3.3.4\""; } >&5
21977  ($PKG_CONFIG --exists --print-errors "fftw3 >= 3.3.4") 2>&5
21978  ac_status=$?
21979  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21980  test $ac_status = 0; }; then
21981  pkg_cv_FFTW_CFLAGS=`$PKG_CONFIG --cflags "fftw3 >= 3.3.4" 2>/dev/null`
21982		      test "x$?" != "x0" && pkg_failed=yes
21983else
21984  pkg_failed=yes
21985fi
21986 else
21987    pkg_failed=untried
21988fi
21989if test -n "$FFTW_LIBS"; then
21990    pkg_cv_FFTW_LIBS="$FFTW_LIBS"
21991 elif test -n "$PKG_CONFIG"; then
21992    if test -n "$PKG_CONFIG" && \
21993    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3 >= 3.3.4\""; } >&5
21994  ($PKG_CONFIG --exists --print-errors "fftw3 >= 3.3.4") 2>&5
21995  ac_status=$?
21996  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21997  test $ac_status = 0; }; then
21998  pkg_cv_FFTW_LIBS=`$PKG_CONFIG --libs "fftw3 >= 3.3.4" 2>/dev/null`
21999		      test "x$?" != "x0" && pkg_failed=yes
22000else
22001  pkg_failed=yes
22002fi
22003 else
22004    pkg_failed=untried
22005fi
22006
22007
22008
22009if test $pkg_failed = yes; then
22010        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22011$as_echo "no" >&6; }
22012
22013if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22014        _pkg_short_errors_supported=yes
22015else
22016        _pkg_short_errors_supported=no
22017fi
22018        if test $_pkg_short_errors_supported = yes; then
22019	        FFTW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fftw3 >= 3.3.4" 2>&1`
22020        else
22021	        FFTW_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fftw3 >= 3.3.4" 2>&1`
22022        fi
22023	# Put the nasty error message in config.log where it belongs
22024	echo "$FFTW_PKG_ERRORS" >&5
22025
22026	as_fn_error $? "Package requirements (fftw3 >= 3.3.4) were not met:
22027
22028$FFTW_PKG_ERRORS
22029
22030Consider adjusting the PKG_CONFIG_PATH environment variable if you
22031installed software in a non-standard prefix.
22032
22033Alternatively, you may set the environment variables FFTW_CFLAGS
22034and FFTW_LIBS to avoid the need to call pkg-config.
22035See the pkg-config man page for more details." "$LINENO" 5
22036elif test $pkg_failed = untried; then
22037        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22038$as_echo "no" >&6; }
22039	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22040$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22041as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22042is in your PATH or set the PKG_CONFIG environment variable to the full
22043path to pkg-config.
22044
22045Alternatively, you may set the environment variables FFTW_CFLAGS
22046and FFTW_LIBS to avoid the need to call pkg-config.
22047See the pkg-config man page for more details.
22048
22049To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22050See \`config.log' for more details" "$LINENO" 5; }
22051else
22052	FFTW_CFLAGS=$pkg_cv_FFTW_CFLAGS
22053	FFTW_LIBS=$pkg_cv_FFTW_LIBS
22054        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22055$as_echo "yes" >&6; }
22056
22057fi
22058
22059
22060
22061
22062pkg_failed=no
22063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.56.0" >&5
22064$as_echo_n "checking for glib-2.0 >= 2.56.0... " >&6; }
22065
22066if test -n "$GLIB_CFLAGS"; then
22067    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
22068 elif test -n "$PKG_CONFIG"; then
22069    if test -n "$PKG_CONFIG" && \
22070    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.56.0\""; } >&5
22071  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.56.0") 2>&5
22072  ac_status=$?
22073  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22074  test $ac_status = 0; }; then
22075  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.56.0" 2>/dev/null`
22076		      test "x$?" != "x0" && pkg_failed=yes
22077else
22078  pkg_failed=yes
22079fi
22080 else
22081    pkg_failed=untried
22082fi
22083if test -n "$GLIB_LIBS"; then
22084    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
22085 elif test -n "$PKG_CONFIG"; then
22086    if test -n "$PKG_CONFIG" && \
22087    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.56.0\""; } >&5
22088  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.56.0") 2>&5
22089  ac_status=$?
22090  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22091  test $ac_status = 0; }; then
22092  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.56.0" 2>/dev/null`
22093		      test "x$?" != "x0" && pkg_failed=yes
22094else
22095  pkg_failed=yes
22096fi
22097 else
22098    pkg_failed=untried
22099fi
22100
22101
22102
22103if test $pkg_failed = yes; then
22104        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22105$as_echo "no" >&6; }
22106
22107if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22108        _pkg_short_errors_supported=yes
22109else
22110        _pkg_short_errors_supported=no
22111fi
22112        if test $_pkg_short_errors_supported = yes; then
22113	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.56.0" 2>&1`
22114        else
22115	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.56.0" 2>&1`
22116        fi
22117	# Put the nasty error message in config.log where it belongs
22118	echo "$GLIB_PKG_ERRORS" >&5
22119
22120	as_fn_error $? "Package requirements (glib-2.0 >= 2.56.0) were not met:
22121
22122$GLIB_PKG_ERRORS
22123
22124Consider adjusting the PKG_CONFIG_PATH environment variable if you
22125installed software in a non-standard prefix.
22126
22127Alternatively, you may set the environment variables GLIB_CFLAGS
22128and GLIB_LIBS to avoid the need to call pkg-config.
22129See the pkg-config man page for more details." "$LINENO" 5
22130elif test $pkg_failed = untried; then
22131        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22132$as_echo "no" >&6; }
22133	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22134$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22135as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22136is in your PATH or set the PKG_CONFIG environment variable to the full
22137path to pkg-config.
22138
22139Alternatively, you may set the environment variables GLIB_CFLAGS
22140and GLIB_LIBS to avoid the need to call pkg-config.
22141See the pkg-config man page for more details.
22142
22143To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22144See \`config.log' for more details" "$LINENO" 5; }
22145else
22146	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
22147	GLIB_LIBS=$pkg_cv_GLIB_LIBS
22148        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22149$as_echo "yes" >&6; }
22150
22151fi
22152
22153
22154
22155
22156pkg_failed=no
22157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" >&5
22158$as_echo_n "checking for gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0... " >&6; }
22159
22160if test -n "$GOBJECT_CFLAGS"; then
22161    pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
22162 elif test -n "$PKG_CONFIG"; then
22163    if test -n "$PKG_CONFIG" && \
22164    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0\""; } >&5
22165  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0") 2>&5
22166  ac_status=$?
22167  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22168  test $ac_status = 0; }; then
22169  pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" 2>/dev/null`
22170		      test "x$?" != "x0" && pkg_failed=yes
22171else
22172  pkg_failed=yes
22173fi
22174 else
22175    pkg_failed=untried
22176fi
22177if test -n "$GOBJECT_LIBS"; then
22178    pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
22179 elif test -n "$PKG_CONFIG"; then
22180    if test -n "$PKG_CONFIG" && \
22181    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0\""; } >&5
22182  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0") 2>&5
22183  ac_status=$?
22184  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22185  test $ac_status = 0; }; then
22186  pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" 2>/dev/null`
22187		      test "x$?" != "x0" && pkg_failed=yes
22188else
22189  pkg_failed=yes
22190fi
22191 else
22192    pkg_failed=untried
22193fi
22194
22195
22196
22197if test $pkg_failed = yes; then
22198        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22199$as_echo "no" >&6; }
22200
22201if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22202        _pkg_short_errors_supported=yes
22203else
22204        _pkg_short_errors_supported=no
22205fi
22206        if test $_pkg_short_errors_supported = yes; then
22207	        GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" 2>&1`
22208        else
22209	        GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" 2>&1`
22210        fi
22211	# Put the nasty error message in config.log where it belongs
22212	echo "$GOBJECT_PKG_ERRORS" >&5
22213
22214	as_fn_error $? "Package requirements (gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0) were not met:
22215
22216$GOBJECT_PKG_ERRORS
22217
22218Consider adjusting the PKG_CONFIG_PATH environment variable if you
22219installed software in a non-standard prefix.
22220
22221Alternatively, you may set the environment variables GOBJECT_CFLAGS
22222and GOBJECT_LIBS to avoid the need to call pkg-config.
22223See the pkg-config man page for more details." "$LINENO" 5
22224elif test $pkg_failed = untried; then
22225        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22226$as_echo "no" >&6; }
22227	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22228$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22229as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22230is in your PATH or set the PKG_CONFIG environment variable to the full
22231path to pkg-config.
22232
22233Alternatively, you may set the environment variables GOBJECT_CFLAGS
22234and GOBJECT_LIBS to avoid the need to call pkg-config.
22235See the pkg-config man page for more details.
22236
22237To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22238See \`config.log' for more details" "$LINENO" 5; }
22239else
22240	GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
22241	GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
22242        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22243$as_echo "yes" >&6; }
22244
22245fi
22246
22247
22248
22249
22250$as_echo "#define HAVE_GLIB_2_6 1" >>confdefs.h
22251
22252
22253$as_echo "#define HAVE_GLIB_2_44 1" >>confdefs.h
22254
22255
22256$as_echo "#define HAVE_GLIB_2_52 1" >>confdefs.h
22257
22258
22259$as_echo "#define HAVE_GLIB_2_54 1" >>confdefs.h
22260
22261
22262$as_echo "#define HAVE_GLIB_2_56 1" >>confdefs.h
22263
22264
22265$as_echo "#define HAVE_GLIB_2_62 0" >>confdefs.h
22266
22267
22268
22269
22270
22271                # Check whether --enable-introspection was given.
22272if test "${enable_introspection+set}" = set; then :
22273  enableval=$enable_introspection;
22274else
22275  enable_introspection=auto
22276fi
22277
22278
22279    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
22280$as_echo_n "checking for gobject-introspection... " >&6; }
22281
22282        case $enable_introspection in #(
22283  no) :
22284            found_introspection="no (disabled, use --enable-introspection to enable)"
22285     ;; #(
22286      yes) :
22287            if test -n "$PKG_CONFIG" && \
22288    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
22289  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
22290  ac_status=$?
22291  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22292  test $ac_status = 0; }; then
22293  :
22294else
22295  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
22296fi
22297        if test -n "$PKG_CONFIG" && \
22298    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
22299  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
22300  ac_status=$?
22301  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22302  test $ac_status = 0; }; then
22303  found_introspection=yes
22304else
22305  as_fn_error $? "You need to have gobject-introspection >= 1.30.0 installed to build gsequencer" "$LINENO" 5
22306fi
22307     ;; #(
22308      auto) :
22309            if test -n "$PKG_CONFIG" && \
22310    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
22311  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
22312  ac_status=$?
22313  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22314  test $ac_status = 0; }; then
22315  found_introspection=yes
22316else
22317  found_introspection=no
22318fi
22319		enable_introspection=$found_introspection
22320     ;; #(
22321  *) :
22322                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
22323     ;;
22324esac
22325    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
22326$as_echo "$found_introspection" >&6; }
22327
22328
22329  EXP_VAR=_GI_EXP_DATADIR
22330  FROM_VAR="$datadir"
22331
22332    prefix_save=$prefix
22333  exec_prefix_save=$exec_prefix
22334
22335    if test "x$prefix" = "xNONE"; then
22336    prefix="$ac_default_prefix"
22337  fi
22338    if test "x$exec_prefix" = "xNONE"; then
22339    exec_prefix=$prefix
22340  fi
22341
22342  full_var="$FROM_VAR"
22343    while true; do
22344    new_full_var="`eval echo $full_var`"
22345    if test "x$new_full_var" = "x$full_var"; then break; fi
22346    full_var=$new_full_var
22347  done
22348
22349    full_var=$new_full_var
22350  _GI_EXP_DATADIR="$full_var"
22351
22352
22353    prefix=$prefix_save
22354  exec_prefix=$exec_prefix_save
22355
22356
22357  EXP_VAR=_GI_EXP_LIBDIR
22358  FROM_VAR="$libdir"
22359
22360    prefix_save=$prefix
22361  exec_prefix_save=$exec_prefix
22362
22363    if test "x$prefix" = "xNONE"; then
22364    prefix="$ac_default_prefix"
22365  fi
22366    if test "x$exec_prefix" = "xNONE"; then
22367    exec_prefix=$prefix
22368  fi
22369
22370  full_var="$FROM_VAR"
22371    while true; do
22372    new_full_var="`eval echo $full_var`"
22373    if test "x$new_full_var" = "x$full_var"; then break; fi
22374    full_var=$new_full_var
22375  done
22376
22377    full_var=$new_full_var
22378  _GI_EXP_LIBDIR="$full_var"
22379
22380
22381    prefix=$prefix_save
22382  exec_prefix=$exec_prefix_save
22383
22384
22385    INTROSPECTION_SCANNER=
22386    INTROSPECTION_COMPILER=
22387    INTROSPECTION_GENERATE=
22388    INTROSPECTION_GIRDIR=
22389    INTROSPECTION_TYPELIBDIR=
22390    if test "x$found_introspection" = "xyes"; then
22391       INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
22392       INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
22393       INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
22394       INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir="${_GI_EXP_DATADIR}" --variable=girdir gobject-introspection-1.0`
22395       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --define-variable=libdir="${_GI_EXP_LIBDIR}" --variable=typelibdir gobject-introspection-1.0)"
22396       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
22397       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
22398       INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
22399    fi
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409     if test "x$found_introspection" = "xyes"; then
22410  HAVE_INTROSPECTION_TRUE=
22411  HAVE_INTROSPECTION_FALSE='#'
22412else
22413  HAVE_INTROSPECTION_TRUE='#'
22414  HAVE_INTROSPECTION_FALSE=
22415fi
22416
22417
22418
22419
22420
22421pkg_failed=no
22422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" >&5
22423$as_echo_n "checking for gio-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0... " >&6; }
22424
22425if test -n "$GIO_CFLAGS"; then
22426    pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
22427 elif test -n "$PKG_CONFIG"; then
22428    if test -n "$PKG_CONFIG" && \
22429    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0\""; } >&5
22430  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0") 2>&5
22431  ac_status=$?
22432  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22433  test $ac_status = 0; }; then
22434  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" 2>/dev/null`
22435		      test "x$?" != "x0" && pkg_failed=yes
22436else
22437  pkg_failed=yes
22438fi
22439 else
22440    pkg_failed=untried
22441fi
22442if test -n "$GIO_LIBS"; then
22443    pkg_cv_GIO_LIBS="$GIO_LIBS"
22444 elif test -n "$PKG_CONFIG"; then
22445    if test -n "$PKG_CONFIG" && \
22446    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0\""; } >&5
22447  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0") 2>&5
22448  ac_status=$?
22449  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22450  test $ac_status = 0; }; then
22451  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" 2>/dev/null`
22452		      test "x$?" != "x0" && pkg_failed=yes
22453else
22454  pkg_failed=yes
22455fi
22456 else
22457    pkg_failed=untried
22458fi
22459
22460
22461
22462if test $pkg_failed = yes; then
22463        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22464$as_echo "no" >&6; }
22465
22466if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22467        _pkg_short_errors_supported=yes
22468else
22469        _pkg_short_errors_supported=no
22470fi
22471        if test $_pkg_short_errors_supported = yes; then
22472	        GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" 2>&1`
22473        else
22474	        GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" 2>&1`
22475        fi
22476	# Put the nasty error message in config.log where it belongs
22477	echo "$GIO_PKG_ERRORS" >&5
22478
22479	as_fn_error $? "Package requirements (gio-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0) were not met:
22480
22481$GIO_PKG_ERRORS
22482
22483Consider adjusting the PKG_CONFIG_PATH environment variable if you
22484installed software in a non-standard prefix.
22485
22486Alternatively, you may set the environment variables GIO_CFLAGS
22487and GIO_LIBS to avoid the need to call pkg-config.
22488See the pkg-config man page for more details." "$LINENO" 5
22489elif test $pkg_failed = untried; then
22490        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22491$as_echo "no" >&6; }
22492	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22493$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22494as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22495is in your PATH or set the PKG_CONFIG environment variable to the full
22496path to pkg-config.
22497
22498Alternatively, you may set the environment variables GIO_CFLAGS
22499and GIO_LIBS to avoid the need to call pkg-config.
22500See the pkg-config man page for more details.
22501
22502To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22503See \`config.log' for more details" "$LINENO" 5; }
22504else
22505	GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
22506	GIO_LIBS=$pkg_cv_GIO_LIBS
22507        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22508$as_echo "yes" >&6; }
22509
22510fi
22511
22512
22513
22514
22515pkg_failed=no
22516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup-2.4 >= 2.52.0" >&5
22517$as_echo_n "checking for libsoup-2.4 >= 2.52.0... " >&6; }
22518
22519if test -n "$LIBSOUP_CFLAGS"; then
22520    pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
22521 elif test -n "$PKG_CONFIG"; then
22522    if test -n "$PKG_CONFIG" && \
22523    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.52.0\""; } >&5
22524  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.52.0") 2>&5
22525  ac_status=$?
22526  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22527  test $ac_status = 0; }; then
22528  pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.52.0" 2>/dev/null`
22529		      test "x$?" != "x0" && pkg_failed=yes
22530else
22531  pkg_failed=yes
22532fi
22533 else
22534    pkg_failed=untried
22535fi
22536if test -n "$LIBSOUP_LIBS"; then
22537    pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
22538 elif test -n "$PKG_CONFIG"; then
22539    if test -n "$PKG_CONFIG" && \
22540    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.52.0\""; } >&5
22541  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.52.0") 2>&5
22542  ac_status=$?
22543  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22544  test $ac_status = 0; }; then
22545  pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.52.0" 2>/dev/null`
22546		      test "x$?" != "x0" && pkg_failed=yes
22547else
22548  pkg_failed=yes
22549fi
22550 else
22551    pkg_failed=untried
22552fi
22553
22554
22555
22556if test $pkg_failed = yes; then
22557        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22558$as_echo "no" >&6; }
22559
22560if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22561        _pkg_short_errors_supported=yes
22562else
22563        _pkg_short_errors_supported=no
22564fi
22565        if test $_pkg_short_errors_supported = yes; then
22566	        LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.52.0" 2>&1`
22567        else
22568	        LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.52.0" 2>&1`
22569        fi
22570	# Put the nasty error message in config.log where it belongs
22571	echo "$LIBSOUP_PKG_ERRORS" >&5
22572
22573	as_fn_error $? "Package requirements (libsoup-2.4 >= 2.52.0) were not met:
22574
22575$LIBSOUP_PKG_ERRORS
22576
22577Consider adjusting the PKG_CONFIG_PATH environment variable if you
22578installed software in a non-standard prefix.
22579
22580Alternatively, you may set the environment variables LIBSOUP_CFLAGS
22581and LIBSOUP_LIBS to avoid the need to call pkg-config.
22582See the pkg-config man page for more details." "$LINENO" 5
22583elif test $pkg_failed = untried; then
22584        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22585$as_echo "no" >&6; }
22586	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22587$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22588as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22589is in your PATH or set the PKG_CONFIG environment variable to the full
22590path to pkg-config.
22591
22592Alternatively, you may set the environment variables LIBSOUP_CFLAGS
22593and LIBSOUP_LIBS to avoid the need to call pkg-config.
22594See the pkg-config man page for more details.
22595
22596To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22597See \`config.log' for more details" "$LINENO" 5; }
22598else
22599	LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
22600	LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
22601        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22602$as_echo "yes" >&6; }
22603
22604fi
22605
22606
22607
22608
22609$as_echo "#define HAVE_ATK_2_12 1" >>confdefs.h
22610
22611
22612if test "x$enable_public_libgsequencer" != xno; then :
22613
22614$as_echo "#define AGS_WITH_PUBLIC_LIBGSEQUENCER 1" >>confdefs.h
22615
22616
22617      { $as_echo "$as_me:${as_lineno-$LINENO}: public libgsequencer enabled" >&5
22618$as_echo "$as_me: public libgsequencer enabled" >&6;}
22619else
22620  { $as_echo "$as_me:${as_lineno-$LINENO}: public libgsequencer disabled" >&5
22621$as_echo "$as_me: public libgsequencer disabled" >&6;}
22622fi
22623 if test "x$enable_public_libgsequencer" == xyes; then
22624  AGS_WITH_PUBLIC_LIBGSEQUENCER_TRUE=
22625  AGS_WITH_PUBLIC_LIBGSEQUENCER_FALSE='#'
22626else
22627  AGS_WITH_PUBLIC_LIBGSEQUENCER_TRUE='#'
22628  AGS_WITH_PUBLIC_LIBGSEQUENCER_FALSE=
22629fi
22630
22631
22632if test "x$enable_upstream_gtk_doc" != xno; then :
22633
22634$as_echo "#define AGS_WITH_UPSTREAM_GTK_DOC 1" >>confdefs.h
22635
22636
22637      { $as_echo "$as_me:${as_lineno-$LINENO}: upstream API reference directory enabled" >&5
22638$as_echo "$as_me: upstream API reference directory enabled" >&6;}
22639else
22640  { $as_echo "$as_me:${as_lineno-$LINENO}: upstream API reference directory disabled" >&5
22641$as_echo "$as_me: upstream API reference directory disabled" >&6;}
22642fi
22643 if test "x$enable_upstream_gtk_doc" == xyes; then
22644  AGS_WITH_UPSTREAM_GTK_DOC_TRUE=
22645  AGS_WITH_UPSTREAM_GTK_DOC_FALSE='#'
22646else
22647  AGS_WITH_UPSTREAM_GTK_DOC_TRUE='#'
22648  AGS_WITH_UPSTREAM_GTK_DOC_FALSE=
22649fi
22650
22651
22652if test "x$enable_single_docdir" != xno; then :
22653
22654$as_echo "#define AGS_WITH_SINGLE_DOCDIR 1" >>confdefs.h
22655
22656
22657      { $as_echo "$as_me:${as_lineno-$LINENO}: single documentation directory enabled" >&5
22658$as_echo "$as_me: single documentation directory enabled" >&6;}
22659else
22660  { $as_echo "$as_me:${as_lineno-$LINENO}: single documentation directory disabled" >&5
22661$as_echo "$as_me: single documentation directory disabled" >&6;}
22662fi
22663 if test "x$enable_single_docdir" == xyes; then
22664  AGS_WITH_SINGLE_DOCDIR_TRUE=
22665  AGS_WITH_SINGLE_DOCDIR_FALSE='#'
22666else
22667  AGS_WITH_SINGLE_DOCDIR_TRUE='#'
22668  AGS_WITH_SINGLE_DOCDIR_FALSE=
22669fi
22670
22671
22672if test "x$enable_libinstpatch" != xno; then :
22673
22674pkg_failed=no
22675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libinstpatch-1.0 >= 1.0" >&5
22676$as_echo_n "checking for libinstpatch-1.0 >= 1.0... " >&6; }
22677
22678if test -n "$LIBINSTPATCH_CFLAGS"; then
22679    pkg_cv_LIBINSTPATCH_CFLAGS="$LIBINSTPATCH_CFLAGS"
22680 elif test -n "$PKG_CONFIG"; then
22681    if test -n "$PKG_CONFIG" && \
22682    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinstpatch-1.0 >= 1.0\""; } >&5
22683  ($PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0") 2>&5
22684  ac_status=$?
22685  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22686  test $ac_status = 0; }; then
22687  pkg_cv_LIBINSTPATCH_CFLAGS=`$PKG_CONFIG --cflags "libinstpatch-1.0 >= 1.0" 2>/dev/null`
22688		      test "x$?" != "x0" && pkg_failed=yes
22689else
22690  pkg_failed=yes
22691fi
22692 else
22693    pkg_failed=untried
22694fi
22695if test -n "$LIBINSTPATCH_LIBS"; then
22696    pkg_cv_LIBINSTPATCH_LIBS="$LIBINSTPATCH_LIBS"
22697 elif test -n "$PKG_CONFIG"; then
22698    if test -n "$PKG_CONFIG" && \
22699    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinstpatch-1.0 >= 1.0\""; } >&5
22700  ($PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0") 2>&5
22701  ac_status=$?
22702  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22703  test $ac_status = 0; }; then
22704  pkg_cv_LIBINSTPATCH_LIBS=`$PKG_CONFIG --libs "libinstpatch-1.0 >= 1.0" 2>/dev/null`
22705		      test "x$?" != "x0" && pkg_failed=yes
22706else
22707  pkg_failed=yes
22708fi
22709 else
22710    pkg_failed=untried
22711fi
22712
22713
22714
22715if test $pkg_failed = yes; then
22716        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22717$as_echo "no" >&6; }
22718
22719if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22720        _pkg_short_errors_supported=yes
22721else
22722        _pkg_short_errors_supported=no
22723fi
22724        if test $_pkg_short_errors_supported = yes; then
22725	        LIBINSTPATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinstpatch-1.0 >= 1.0" 2>&1`
22726        else
22727	        LIBINSTPATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinstpatch-1.0 >= 1.0" 2>&1`
22728        fi
22729	# Put the nasty error message in config.log where it belongs
22730	echo "$LIBINSTPATCH_PKG_ERRORS" >&5
22731
22732	as_fn_error $? "Package requirements (libinstpatch-1.0 >= 1.0) were not met:
22733
22734$LIBINSTPATCH_PKG_ERRORS
22735
22736Consider adjusting the PKG_CONFIG_PATH environment variable if you
22737installed software in a non-standard prefix.
22738
22739Alternatively, you may set the environment variables LIBINSTPATCH_CFLAGS
22740and LIBINSTPATCH_LIBS to avoid the need to call pkg-config.
22741See the pkg-config man page for more details." "$LINENO" 5
22742elif test $pkg_failed = untried; then
22743        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22744$as_echo "no" >&6; }
22745	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22746$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22747as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22748is in your PATH or set the PKG_CONFIG environment variable to the full
22749path to pkg-config.
22750
22751Alternatively, you may set the environment variables LIBINSTPATCH_CFLAGS
22752and LIBINSTPATCH_LIBS to avoid the need to call pkg-config.
22753See the pkg-config man page for more details.
22754
22755To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22756See \`config.log' for more details" "$LINENO" 5; }
22757else
22758	LIBINSTPATCH_CFLAGS=$pkg_cv_LIBINSTPATCH_CFLAGS
22759	LIBINSTPATCH_LIBS=$pkg_cv_LIBINSTPATCH_LIBS
22760        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22761$as_echo "yes" >&6; }
22762
22763fi
22764
22765
22766
22767$as_echo "#define AGS_WITH_LIBINSTPATCH 1" >>confdefs.h
22768
22769else
22770  { $as_echo "$as_me:${as_lineno-$LINENO}: libinstpatch disabled" >&5
22771$as_echo "$as_me: libinstpatch disabled" >&6;}
22772fi
22773 if test "x$enable_libinstpatch" == xyes; then
22774  WITH_LIBINSTPATCH_TRUE=
22775  WITH_LIBINSTPATCH_FALSE='#'
22776else
22777  WITH_LIBINSTPATCH_TRUE='#'
22778  WITH_LIBINSTPATCH_FALSE=
22779fi
22780
22781
22782WITH_VST3=0
22783
22784if test "x$enable_vst3" != xno; then :
22785
22786$as_echo "#define AGS_WITH_VST3 1" >>confdefs.h
22787
22788      VST3_CXXFLAGS="-I/usr/include/vst3"
22789      VST3_LIBS="-L/usr/lib/vst3 -lbase -lpluginterfaces -lsdk -lsdk_common -lsdk_hosting -lvstgui -lvstgui_standalone -lvstgui_support -lvstgui_uidescription"
22790
22791
22792      { $as_echo "$as_me:${as_lineno-$LINENO}: VST3 enabled" >&5
22793$as_echo "$as_me: VST3 enabled" >&6;}
22794else
22795  { $as_echo "$as_me:${as_lineno-$LINENO}: VST3 disabled" >&5
22796$as_echo "$as_me: VST3 disabled" >&6;}
22797fi
22798 if test "x$enable_vst3" == xyes; then
22799  WITH_VST3_TRUE=
22800  WITH_VST3_FALSE='#'
22801else
22802  WITH_VST3_TRUE='#'
22803  WITH_VST3_FALSE=
22804fi
22805
22806
22807
22808pkg_failed=no
22809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.12.0" >&5
22810$as_echo_n "checking for cairo >= 1.12.0... " >&6; }
22811
22812if test -n "$CAIRO_CFLAGS"; then
22813    pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
22814 elif test -n "$PKG_CONFIG"; then
22815    if test -n "$PKG_CONFIG" && \
22816    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5
22817  ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5
22818  ac_status=$?
22819  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22820  test $ac_status = 0; }; then
22821  pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.12.0" 2>/dev/null`
22822		      test "x$?" != "x0" && pkg_failed=yes
22823else
22824  pkg_failed=yes
22825fi
22826 else
22827    pkg_failed=untried
22828fi
22829if test -n "$CAIRO_LIBS"; then
22830    pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
22831 elif test -n "$PKG_CONFIG"; then
22832    if test -n "$PKG_CONFIG" && \
22833    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5
22834  ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5
22835  ac_status=$?
22836  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22837  test $ac_status = 0; }; then
22838  pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.12.0" 2>/dev/null`
22839		      test "x$?" != "x0" && pkg_failed=yes
22840else
22841  pkg_failed=yes
22842fi
22843 else
22844    pkg_failed=untried
22845fi
22846
22847
22848
22849if test $pkg_failed = yes; then
22850        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22851$as_echo "no" >&6; }
22852
22853if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22854        _pkg_short_errors_supported=yes
22855else
22856        _pkg_short_errors_supported=no
22857fi
22858        if test $_pkg_short_errors_supported = yes; then
22859	        CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1`
22860        else
22861	        CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1`
22862        fi
22863	# Put the nasty error message in config.log where it belongs
22864	echo "$CAIRO_PKG_ERRORS" >&5
22865
22866	as_fn_error $? "Package requirements (cairo >= 1.12.0) were not met:
22867
22868$CAIRO_PKG_ERRORS
22869
22870Consider adjusting the PKG_CONFIG_PATH environment variable if you
22871installed software in a non-standard prefix.
22872
22873Alternatively, you may set the environment variables CAIRO_CFLAGS
22874and CAIRO_LIBS to avoid the need to call pkg-config.
22875See the pkg-config man page for more details." "$LINENO" 5
22876elif test $pkg_failed = untried; then
22877        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22878$as_echo "no" >&6; }
22879	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22880$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22881as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22882is in your PATH or set the PKG_CONFIG environment variable to the full
22883path to pkg-config.
22884
22885Alternatively, you may set the environment variables CAIRO_CFLAGS
22886and CAIRO_LIBS to avoid the need to call pkg-config.
22887See the pkg-config man page for more details.
22888
22889To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22890See \`config.log' for more details" "$LINENO" 5; }
22891else
22892	CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
22893	CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
22894        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22895$as_echo "yes" >&6; }
22896
22897fi
22898
22899
22900
22901
22902pkg_failed=no
22903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.18.0" >&5
22904$as_echo_n "checking for gtk+-3.0 >= 3.18.0... " >&6; }
22905
22906if test -n "$GTK_CFLAGS"; then
22907    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
22908 elif test -n "$PKG_CONFIG"; then
22909    if test -n "$PKG_CONFIG" && \
22910    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.18.0\""; } >&5
22911  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.18.0") 2>&5
22912  ac_status=$?
22913  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22914  test $ac_status = 0; }; then
22915  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.18.0" 2>/dev/null`
22916		      test "x$?" != "x0" && pkg_failed=yes
22917else
22918  pkg_failed=yes
22919fi
22920 else
22921    pkg_failed=untried
22922fi
22923if test -n "$GTK_LIBS"; then
22924    pkg_cv_GTK_LIBS="$GTK_LIBS"
22925 elif test -n "$PKG_CONFIG"; then
22926    if test -n "$PKG_CONFIG" && \
22927    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.18.0\""; } >&5
22928  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.18.0") 2>&5
22929  ac_status=$?
22930  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22931  test $ac_status = 0; }; then
22932  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.18.0" 2>/dev/null`
22933		      test "x$?" != "x0" && pkg_failed=yes
22934else
22935  pkg_failed=yes
22936fi
22937 else
22938    pkg_failed=untried
22939fi
22940
22941
22942
22943if test $pkg_failed = yes; then
22944        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22945$as_echo "no" >&6; }
22946
22947if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22948        _pkg_short_errors_supported=yes
22949else
22950        _pkg_short_errors_supported=no
22951fi
22952        if test $_pkg_short_errors_supported = yes; then
22953	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.18.0" 2>&1`
22954        else
22955	        GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.18.0" 2>&1`
22956        fi
22957	# Put the nasty error message in config.log where it belongs
22958	echo "$GTK_PKG_ERRORS" >&5
22959
22960	as_fn_error $? "Package requirements (gtk+-3.0 >= 3.18.0) were not met:
22961
22962$GTK_PKG_ERRORS
22963
22964Consider adjusting the PKG_CONFIG_PATH environment variable if you
22965installed software in a non-standard prefix.
22966
22967Alternatively, you may set the environment variables GTK_CFLAGS
22968and GTK_LIBS to avoid the need to call pkg-config.
22969See the pkg-config man page for more details." "$LINENO" 5
22970elif test $pkg_failed = untried; then
22971        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22972$as_echo "no" >&6; }
22973	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22974$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22975as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22976is in your PATH or set the PKG_CONFIG environment variable to the full
22977path to pkg-config.
22978
22979Alternatively, you may set the environment variables GTK_CFLAGS
22980and GTK_LIBS to avoid the need to call pkg-config.
22981See the pkg-config man page for more details.
22982
22983To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22984See \`config.log' for more details" "$LINENO" 5; }
22985else
22986	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
22987	GTK_LIBS=$pkg_cv_GTK_LIBS
22988        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22989$as_echo "yes" >&6; }
22990
22991fi
22992
22993
22994
22995if test "x$with_webkit" != xno; then :
22996
22997pkg_failed=no
22998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit2gtk-4.0 >= 2.10.0" >&5
22999$as_echo_n "checking for webkit2gtk-4.0 >= 2.10.0... " >&6; }
23000
23001if test -n "$WEBKITGTK_CFLAGS"; then
23002    pkg_cv_WEBKITGTK_CFLAGS="$WEBKITGTK_CFLAGS"
23003 elif test -n "$PKG_CONFIG"; then
23004    if test -n "$PKG_CONFIG" && \
23005    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.0 >= 2.10.0\""; } >&5
23006  ($PKG_CONFIG --exists --print-errors "webkit2gtk-4.0 >= 2.10.0") 2>&5
23007  ac_status=$?
23008  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23009  test $ac_status = 0; }; then
23010  pkg_cv_WEBKITGTK_CFLAGS=`$PKG_CONFIG --cflags "webkit2gtk-4.0 >= 2.10.0" 2>/dev/null`
23011		      test "x$?" != "x0" && pkg_failed=yes
23012else
23013  pkg_failed=yes
23014fi
23015 else
23016    pkg_failed=untried
23017fi
23018if test -n "$WEBKITGTK_LIBS"; then
23019    pkg_cv_WEBKITGTK_LIBS="$WEBKITGTK_LIBS"
23020 elif test -n "$PKG_CONFIG"; then
23021    if test -n "$PKG_CONFIG" && \
23022    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.0 >= 2.10.0\""; } >&5
23023  ($PKG_CONFIG --exists --print-errors "webkit2gtk-4.0 >= 2.10.0") 2>&5
23024  ac_status=$?
23025  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23026  test $ac_status = 0; }; then
23027  pkg_cv_WEBKITGTK_LIBS=`$PKG_CONFIG --libs "webkit2gtk-4.0 >= 2.10.0" 2>/dev/null`
23028		      test "x$?" != "x0" && pkg_failed=yes
23029else
23030  pkg_failed=yes
23031fi
23032 else
23033    pkg_failed=untried
23034fi
23035
23036
23037
23038if test $pkg_failed = yes; then
23039        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23040$as_echo "no" >&6; }
23041
23042if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23043        _pkg_short_errors_supported=yes
23044else
23045        _pkg_short_errors_supported=no
23046fi
23047        if test $_pkg_short_errors_supported = yes; then
23048	        WEBKITGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkit2gtk-4.0 >= 2.10.0" 2>&1`
23049        else
23050	        WEBKITGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkit2gtk-4.0 >= 2.10.0" 2>&1`
23051        fi
23052	# Put the nasty error message in config.log where it belongs
23053	echo "$WEBKITGTK_PKG_ERRORS" >&5
23054
23055	as_fn_error $? "Package requirements (webkit2gtk-4.0 >= 2.10.0) were not met:
23056
23057$WEBKITGTK_PKG_ERRORS
23058
23059Consider adjusting the PKG_CONFIG_PATH environment variable if you
23060installed software in a non-standard prefix.
23061
23062Alternatively, you may set the environment variables WEBKITGTK_CFLAGS
23063and WEBKITGTK_LIBS to avoid the need to call pkg-config.
23064See the pkg-config man page for more details." "$LINENO" 5
23065elif test $pkg_failed = untried; then
23066        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23067$as_echo "no" >&6; }
23068	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23069$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23070as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23071is in your PATH or set the PKG_CONFIG environment variable to the full
23072path to pkg-config.
23073
23074Alternatively, you may set the environment variables WEBKITGTK_CFLAGS
23075and WEBKITGTK_LIBS to avoid the need to call pkg-config.
23076See the pkg-config man page for more details.
23077
23078To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23079See \`config.log' for more details" "$LINENO" 5; }
23080else
23081	WEBKITGTK_CFLAGS=$pkg_cv_WEBKITGTK_CFLAGS
23082	WEBKITGTK_LIBS=$pkg_cv_WEBKITGTK_LIBS
23083        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23084$as_echo "yes" >&6; }
23085
23086fi
23087
23088
23089
23090$as_echo "#define AGS_WITH_WEBKIT 1" >>confdefs.h
23091
23092
23093fi
23094
23095if test "x$with_poppler" != xno; then :
23096
23097pkg_failed=no
23098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for poppler-glib >= 0.71.0" >&5
23099$as_echo_n "checking for poppler-glib >= 0.71.0... " >&6; }
23100
23101if test -n "$POPPLER_CFLAGS"; then
23102    pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
23103 elif test -n "$PKG_CONFIG"; then
23104    if test -n "$PKG_CONFIG" && \
23105    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.71.0\""; } >&5
23106  ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.71.0") 2>&5
23107  ac_status=$?
23108  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23109  test $ac_status = 0; }; then
23110  pkg_cv_POPPLER_CFLAGS=`$PKG_CONFIG --cflags "poppler-glib >= 0.71.0" 2>/dev/null`
23111		      test "x$?" != "x0" && pkg_failed=yes
23112else
23113  pkg_failed=yes
23114fi
23115 else
23116    pkg_failed=untried
23117fi
23118if test -n "$POPPLER_LIBS"; then
23119    pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
23120 elif test -n "$PKG_CONFIG"; then
23121    if test -n "$PKG_CONFIG" && \
23122    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.71.0\""; } >&5
23123  ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.71.0") 2>&5
23124  ac_status=$?
23125  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23126  test $ac_status = 0; }; then
23127  pkg_cv_POPPLER_LIBS=`$PKG_CONFIG --libs "poppler-glib >= 0.71.0" 2>/dev/null`
23128		      test "x$?" != "x0" && pkg_failed=yes
23129else
23130  pkg_failed=yes
23131fi
23132 else
23133    pkg_failed=untried
23134fi
23135
23136
23137
23138if test $pkg_failed = yes; then
23139        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23140$as_echo "no" >&6; }
23141
23142if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23143        _pkg_short_errors_supported=yes
23144else
23145        _pkg_short_errors_supported=no
23146fi
23147        if test $_pkg_short_errors_supported = yes; then
23148	        POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "poppler-glib >= 0.71.0" 2>&1`
23149        else
23150	        POPPLER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "poppler-glib >= 0.71.0" 2>&1`
23151        fi
23152	# Put the nasty error message in config.log where it belongs
23153	echo "$POPPLER_PKG_ERRORS" >&5
23154
23155	as_fn_error $? "Package requirements (poppler-glib >= 0.71.0) were not met:
23156
23157$POPPLER_PKG_ERRORS
23158
23159Consider adjusting the PKG_CONFIG_PATH environment variable if you
23160installed software in a non-standard prefix.
23161
23162Alternatively, you may set the environment variables POPPLER_CFLAGS
23163and POPPLER_LIBS to avoid the need to call pkg-config.
23164See the pkg-config man page for more details." "$LINENO" 5
23165elif test $pkg_failed = untried; then
23166        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23167$as_echo "no" >&6; }
23168	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23169$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23170as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23171is in your PATH or set the PKG_CONFIG environment variable to the full
23172path to pkg-config.
23173
23174Alternatively, you may set the environment variables POPPLER_CFLAGS
23175and POPPLER_LIBS to avoid the need to call pkg-config.
23176See the pkg-config man page for more details.
23177
23178To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23179See \`config.log' for more details" "$LINENO" 5; }
23180else
23181	POPPLER_CFLAGS=$pkg_cv_POPPLER_CFLAGS
23182	POPPLER_LIBS=$pkg_cv_POPPLER_LIBS
23183        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23184$as_echo "yes" >&6; }
23185
23186fi
23187
23188
23189
23190$as_echo "#define AGS_WITH_POPPLER 1" >>confdefs.h
23191
23192
23193fi
23194
23195if test "x$with_gstreamer" != xno; then :
23196
23197pkg_failed=no
23198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0" >&5
23199$as_echo_n "checking for gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0... " >&6; }
23200
23201if test -n "$GSTREAMER_CFLAGS"; then
23202    pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
23203 elif test -n "$PKG_CONFIG"; then
23204    if test -n "$PKG_CONFIG" && \
23205    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0\""; } >&5
23206  ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0") 2>&5
23207  ac_status=$?
23208  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23209  test $ac_status = 0; }; then
23210  pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0" 2>/dev/null`
23211		      test "x$?" != "x0" && pkg_failed=yes
23212else
23213  pkg_failed=yes
23214fi
23215 else
23216    pkg_failed=untried
23217fi
23218if test -n "$GSTREAMER_LIBS"; then
23219    pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
23220 elif test -n "$PKG_CONFIG"; then
23221    if test -n "$PKG_CONFIG" && \
23222    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0\""; } >&5
23223  ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0") 2>&5
23224  ac_status=$?
23225  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23226  test $ac_status = 0; }; then
23227  pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0" 2>/dev/null`
23228		      test "x$?" != "x0" && pkg_failed=yes
23229else
23230  pkg_failed=yes
23231fi
23232 else
23233    pkg_failed=untried
23234fi
23235
23236
23237
23238if test $pkg_failed = yes; then
23239        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23240$as_echo "no" >&6; }
23241
23242if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23243        _pkg_short_errors_supported=yes
23244else
23245        _pkg_short_errors_supported=no
23246fi
23247        if test $_pkg_short_errors_supported = yes; then
23248	        GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0" 2>&1`
23249        else
23250	        GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0" 2>&1`
23251        fi
23252	# Put the nasty error message in config.log where it belongs
23253	echo "$GSTREAMER_PKG_ERRORS" >&5
23254
23255	as_fn_error $? "Package requirements (gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0) were not met:
23256
23257$GSTREAMER_PKG_ERRORS
23258
23259Consider adjusting the PKG_CONFIG_PATH environment variable if you
23260installed software in a non-standard prefix.
23261
23262Alternatively, you may set the environment variables GSTREAMER_CFLAGS
23263and GSTREAMER_LIBS to avoid the need to call pkg-config.
23264See the pkg-config man page for more details." "$LINENO" 5
23265elif test $pkg_failed = untried; then
23266        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23267$as_echo "no" >&6; }
23268	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23269$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23270as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23271is in your PATH or set the PKG_CONFIG environment variable to the full
23272path to pkg-config.
23273
23274Alternatively, you may set the environment variables GSTREAMER_CFLAGS
23275and GSTREAMER_LIBS to avoid the need to call pkg-config.
23276See the pkg-config man page for more details.
23277
23278To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23279See \`config.log' for more details" "$LINENO" 5; }
23280else
23281	GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
23282	GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
23283        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23284$as_echo "yes" >&6; }
23285
23286fi
23287
23288
23289
23290$as_echo "#define AGS_WITH_GSTREAMER 1" >>confdefs.h
23291
23292
23293fi
23294 if test "x$with_gstreamer" == xyes; then
23295  WITH_GSTREAMER_TRUE=
23296  WITH_GSTREAMER_FALSE='#'
23297else
23298  WITH_GSTREAMER_TRUE='#'
23299  WITH_GSTREAMER_FALSE=
23300fi
23301
23302
23303if test "x$enable_run_functional_tests" == xyes; then :
23304  { $as_echo "$as_me:${as_lineno-$LINENO}: run functional tests enabled" >&5
23305$as_echo "$as_me: run functional tests enabled" >&6;}
23306else
23307  { $as_echo "$as_me:${as_lineno-$LINENO}: run functional tests disabled" >&5
23308$as_echo "$as_me: run functional tests disabled" >&6;}
23309fi
23310 if test "x$enable_run_functional_tests" == xyes; then
23311  RUN_FUNCTIONAL_TESTS_TRUE=
23312  RUN_FUNCTIONAL_TESTS_FALSE='#'
23313else
23314  RUN_FUNCTIONAL_TESTS_TRUE='#'
23315  RUN_FUNCTIONAL_TESTS_FALSE=
23316fi
23317
23318
23319if test "x$enable_fast_test_mode" == xyes; then :
23320  { $as_echo "$as_me:${as_lineno-$LINENO}: fast test mode enabled" >&5
23321$as_echo "$as_me: fast test mode enabled" >&6;}
23322else
23323  { $as_echo "$as_me:${as_lineno-$LINENO}: fast test mode disabled" >&5
23324$as_echo "$as_me: fast test mode disabled" >&6;}
23325fi
23326 if test "x$enable_fast_test_mode" == xyes; then
23327  FAST_TEST_MODE_TRUE=
23328  FAST_TEST_MODE_FALSE='#'
23329else
23330  FAST_TEST_MODE_TRUE='#'
23331  FAST_TEST_MODE_FALSE=
23332fi
23333
23334
23335# Checks for library functions.
23336for ac_header in stdlib.h
23337do :
23338  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
23339if test "x$ac_cv_header_stdlib_h" = xyes; then :
23340  cat >>confdefs.h <<_ACEOF
23341#define HAVE_STDLIB_H 1
23342_ACEOF
23343
23344fi
23345
23346done
23347
23348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
23349$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
23350if ${ac_cv_func_malloc_0_nonnull+:} false; then :
23351  $as_echo_n "(cached) " >&6
23352else
23353  if test "$cross_compiling" = yes; then :
23354  ac_cv_func_malloc_0_nonnull=no
23355else
23356  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23357/* end confdefs.h.  */
23358#if defined STDC_HEADERS || defined HAVE_STDLIB_H
23359# include <stdlib.h>
23360#else
23361char *malloc ();
23362#endif
23363
23364int
23365main ()
23366{
23367return ! malloc (0);
23368  ;
23369  return 0;
23370}
23371_ACEOF
23372if ac_fn_c_try_run "$LINENO"; then :
23373  ac_cv_func_malloc_0_nonnull=yes
23374else
23375  ac_cv_func_malloc_0_nonnull=no
23376fi
23377rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23378  conftest.$ac_objext conftest.beam conftest.$ac_ext
23379fi
23380
23381fi
23382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
23383$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
23384if test $ac_cv_func_malloc_0_nonnull = yes; then :
23385
23386$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
23387
23388else
23389  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
23390
23391   case " $LIBOBJS " in
23392  *" malloc.$ac_objext "* ) ;;
23393  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
23394 ;;
23395esac
23396
23397
23398$as_echo "#define malloc rpl_malloc" >>confdefs.h
23399
23400fi
23401
23402
23403
23404
23405
23406  for ac_header in $ac_header_list
23407do :
23408  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23409ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
23410"
23411if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
23412  cat >>confdefs.h <<_ACEOF
23413#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23414_ACEOF
23415
23416fi
23417
23418done
23419
23420
23421
23422
23423
23424
23425
23426
23427for ac_func in getpagesize
23428do :
23429  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
23430if test "x$ac_cv_func_getpagesize" = xyes; then :
23431  cat >>confdefs.h <<_ACEOF
23432#define HAVE_GETPAGESIZE 1
23433_ACEOF
23434
23435fi
23436done
23437
23438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
23439$as_echo_n "checking for working mmap... " >&6; }
23440if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
23441  $as_echo_n "(cached) " >&6
23442else
23443  if test "$cross_compiling" = yes; then :
23444  ac_cv_func_mmap_fixed_mapped=no
23445else
23446  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23447/* end confdefs.h.  */
23448$ac_includes_default
23449/* malloc might have been renamed as rpl_malloc. */
23450#undef malloc
23451
23452/* Thanks to Mike Haertel and Jim Avera for this test.
23453   Here is a matrix of mmap possibilities:
23454	mmap private not fixed
23455	mmap private fixed at somewhere currently unmapped
23456	mmap private fixed at somewhere already mapped
23457	mmap shared not fixed
23458	mmap shared fixed at somewhere currently unmapped
23459	mmap shared fixed at somewhere already mapped
23460   For private mappings, we should verify that changes cannot be read()
23461   back from the file, nor mmap's back from the file at a different
23462   address.  (There have been systems where private was not correctly
23463   implemented like the infamous i386 svr4.0, and systems where the
23464   VM page cache was not coherent with the file system buffer cache
23465   like early versions of FreeBSD and possibly contemporary NetBSD.)
23466   For shared mappings, we should conversely verify that changes get
23467   propagated back to all the places they're supposed to be.
23468
23469   Grep wants private fixed already mapped.
23470   The main things grep needs to know about mmap are:
23471   * does it exist and is it safe to write into the mmap'd area
23472   * how to use it (BSD variants)  */
23473
23474#include <fcntl.h>
23475#include <sys/mman.h>
23476
23477#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
23478char *malloc ();
23479#endif
23480
23481/* This mess was copied from the GNU getpagesize.h.  */
23482#ifndef HAVE_GETPAGESIZE
23483# ifdef _SC_PAGESIZE
23484#  define getpagesize() sysconf(_SC_PAGESIZE)
23485# else /* no _SC_PAGESIZE */
23486#  ifdef HAVE_SYS_PARAM_H
23487#   include <sys/param.h>
23488#   ifdef EXEC_PAGESIZE
23489#    define getpagesize() EXEC_PAGESIZE
23490#   else /* no EXEC_PAGESIZE */
23491#    ifdef NBPG
23492#     define getpagesize() NBPG * CLSIZE
23493#     ifndef CLSIZE
23494#      define CLSIZE 1
23495#     endif /* no CLSIZE */
23496#    else /* no NBPG */
23497#     ifdef NBPC
23498#      define getpagesize() NBPC
23499#     else /* no NBPC */
23500#      ifdef PAGESIZE
23501#       define getpagesize() PAGESIZE
23502#      endif /* PAGESIZE */
23503#     endif /* no NBPC */
23504#    endif /* no NBPG */
23505#   endif /* no EXEC_PAGESIZE */
23506#  else /* no HAVE_SYS_PARAM_H */
23507#   define getpagesize() 8192	/* punt totally */
23508#  endif /* no HAVE_SYS_PARAM_H */
23509# endif /* no _SC_PAGESIZE */
23510
23511#endif /* no HAVE_GETPAGESIZE */
23512
23513int
23514main ()
23515{
23516  char *data, *data2, *data3;
23517  const char *cdata2;
23518  int i, pagesize;
23519  int fd, fd2;
23520
23521  pagesize = getpagesize ();
23522
23523  /* First, make a file with some known garbage in it. */
23524  data = (char *) malloc (pagesize);
23525  if (!data)
23526    return 1;
23527  for (i = 0; i < pagesize; ++i)
23528    *(data + i) = rand ();
23529  umask (0);
23530  fd = creat ("conftest.mmap", 0600);
23531  if (fd < 0)
23532    return 2;
23533  if (write (fd, data, pagesize) != pagesize)
23534    return 3;
23535  close (fd);
23536
23537  /* Next, check that the tail of a page is zero-filled.  File must have
23538     non-zero length, otherwise we risk SIGBUS for entire page.  */
23539  fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
23540  if (fd2 < 0)
23541    return 4;
23542  cdata2 = "";
23543  if (write (fd2, cdata2, 1) != 1)
23544    return 5;
23545  data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
23546  if (data2 == MAP_FAILED)
23547    return 6;
23548  for (i = 0; i < pagesize; ++i)
23549    if (*(data2 + i))
23550      return 7;
23551  close (fd2);
23552  if (munmap (data2, pagesize))
23553    return 8;
23554
23555  /* Next, try to mmap the file at a fixed address which already has
23556     something else allocated at it.  If we can, also make sure that
23557     we see the same garbage.  */
23558  fd = open ("conftest.mmap", O_RDWR);
23559  if (fd < 0)
23560    return 9;
23561  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
23562		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
23563    return 10;
23564  for (i = 0; i < pagesize; ++i)
23565    if (*(data + i) != *(data2 + i))
23566      return 11;
23567
23568  /* Finally, make sure that changes to the mapped area do not
23569     percolate back to the file as seen by read().  (This is a bug on
23570     some variants of i386 svr4.0.)  */
23571  for (i = 0; i < pagesize; ++i)
23572    *(data2 + i) = *(data2 + i) + 1;
23573  data3 = (char *) malloc (pagesize);
23574  if (!data3)
23575    return 12;
23576  if (read (fd, data3, pagesize) != pagesize)
23577    return 13;
23578  for (i = 0; i < pagesize; ++i)
23579    if (*(data + i) != *(data3 + i))
23580      return 14;
23581  close (fd);
23582  free (data);
23583  free (data3);
23584  return 0;
23585}
23586_ACEOF
23587if ac_fn_c_try_run "$LINENO"; then :
23588  ac_cv_func_mmap_fixed_mapped=yes
23589else
23590  ac_cv_func_mmap_fixed_mapped=no
23591fi
23592rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23593  conftest.$ac_objext conftest.beam conftest.$ac_ext
23594fi
23595
23596fi
23597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
23598$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
23599if test $ac_cv_func_mmap_fixed_mapped = yes; then
23600
23601$as_echo "#define HAVE_MMAP 1" >>confdefs.h
23602
23603fi
23604rm -f conftest.mmap conftest.txt
23605
23606for ac_header in stdlib.h
23607do :
23608  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
23609if test "x$ac_cv_header_stdlib_h" = xyes; then :
23610  cat >>confdefs.h <<_ACEOF
23611#define HAVE_STDLIB_H 1
23612_ACEOF
23613
23614fi
23615
23616done
23617
23618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
23619$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
23620if ${ac_cv_func_realloc_0_nonnull+:} false; then :
23621  $as_echo_n "(cached) " >&6
23622else
23623  if test "$cross_compiling" = yes; then :
23624  ac_cv_func_realloc_0_nonnull=no
23625else
23626  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23627/* end confdefs.h.  */
23628#if defined STDC_HEADERS || defined HAVE_STDLIB_H
23629# include <stdlib.h>
23630#else
23631char *realloc ();
23632#endif
23633
23634int
23635main ()
23636{
23637return ! realloc (0, 0);
23638  ;
23639  return 0;
23640}
23641_ACEOF
23642if ac_fn_c_try_run "$LINENO"; then :
23643  ac_cv_func_realloc_0_nonnull=yes
23644else
23645  ac_cv_func_realloc_0_nonnull=no
23646fi
23647rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23648  conftest.$ac_objext conftest.beam conftest.$ac_ext
23649fi
23650
23651fi
23652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
23653$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
23654if test $ac_cv_func_realloc_0_nonnull = yes; then :
23655
23656$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
23657
23658else
23659  $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
23660
23661   case " $LIBOBJS " in
23662  *" realloc.$ac_objext "* ) ;;
23663  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
23664 ;;
23665esac
23666
23667
23668$as_echo "#define realloc rpl_realloc" >>confdefs.h
23669
23670fi
23671
23672
23673for ac_func in __argz_count __argz_next __argz_stringify atexit clock_gettime floor memmove memset pow putenv realpath regcomp setlocale sqrt strchr strdup strerror strrchr strstr strtoul
23674do :
23675  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23676ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23677if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23678  cat >>confdefs.h <<_ACEOF
23679#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23680_ACEOF
23681
23682fi
23683done
23684
23685
23686
23687
23688build_gnu=no
23689build_linux=no
23690build_windows=no
23691build_mac=no
23692build_freebsd=no
23693
23694# Detect the target system
23695case "${host_os}" in
23696    gnu*)
23697        build_gnu=yes
23698        ;;
23699    linux*)
23700        build_linux=yes
23701        ;;
23702    freebsd*)
23703        build_freebsd=yes
23704        ;;
23705    cygwin*|mingw*)
23706        build_windows=yes
23707        ;;
23708    darwin*)
23709        build_mac=yes
23710        ;;
23711    *)
23712        { $as_echo "$as_me:${as_lineno-$LINENO}: \"OS $host_os is not supported\"" >&5
23713$as_echo "$as_me: \"OS $host_os is not supported\"" >&6;}
23714        ;;
23715esac
23716
23717# Pass the conditionals to automake
23718 if test "$build_gnu" = "yes"; then
23719  GNU_TRUE=
23720  GNU_FALSE='#'
23721else
23722  GNU_TRUE='#'
23723  GNU_FALSE=
23724fi
23725
23726 if test "$build_linux" = "yes"; then
23727  LINUX_TRUE=
23728  LINUX_FALSE='#'
23729else
23730  LINUX_TRUE='#'
23731  LINUX_FALSE=
23732fi
23733
23734 if test "$build_freebsd" = "yes"; then
23735  FREEBSD_TRUE=
23736  FREEBSD_FALSE='#'
23737else
23738  FREEBSD_TRUE='#'
23739  FREEBSD_FALSE=
23740fi
23741
23742 if test "$build_windows" = "yes"; then
23743  WINDOWS_TRUE=
23744  WINDOWS_FALSE='#'
23745else
23746  WINDOWS_TRUE='#'
23747  WINDOWS_FALSE=
23748fi
23749
23750 if test "$build_mac" = "yes"; then
23751  OSX_TRUE=
23752  OSX_FALSE='#'
23753else
23754  OSX_TRUE='#'
23755  OSX_FALSE=
23756fi
23757
23758
23759
23760# check for gtk-doc
23761
23762
23763
23764
23765  gtk_doc_requires="gtk-doc >= 1.14"
23766  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
23767$as_echo_n "checking for gtk-doc... " >&6; }
23768  if test -n "$PKG_CONFIG" && \
23769    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
23770  ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
23771  ac_status=$?
23772  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23773  test $ac_status = 0; }; then
23774  have_gtk_doc=yes
23775else
23776  have_gtk_doc=no
23777fi
23778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
23779$as_echo "$have_gtk_doc" >&6; }
23780
23781  if test "$have_gtk_doc" = "no"; then
23782      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
23783  You will not be able to create source packages with 'make dist'
23784  because $gtk_doc_requires is not found." >&5
23785$as_echo "$as_me: WARNING:
23786  You will not be able to create source packages with 'make dist'
23787  because $gtk_doc_requires is not found." >&2;}
23788  fi
23789
23790            # Extract the first word of "gtkdoc-check", so it can be a program name with args.
23791set dummy gtkdoc-check; ac_word=$2
23792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23793$as_echo_n "checking for $ac_word... " >&6; }
23794if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
23795  $as_echo_n "(cached) " >&6
23796else
23797  if test -n "$GTKDOC_CHECK"; then
23798  ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
23799else
23800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23801for as_dir in $PATH
23802do
23803  IFS=$as_save_IFS
23804  test -z "$as_dir" && as_dir=.
23805    for ac_exec_ext in '' $ac_executable_extensions; do
23806  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23807    ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
23808    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23809    break 2
23810  fi
23811done
23812  done
23813IFS=$as_save_IFS
23814
23815fi
23816fi
23817GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
23818if test -n "$GTKDOC_CHECK"; then
23819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
23820$as_echo "$GTKDOC_CHECK" >&6; }
23821else
23822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23823$as_echo "no" >&6; }
23824fi
23825
23826
23827  # Extract the first word of "gtkdoc-check", so it can be a program name with args.
23828set dummy gtkdoc-check; ac_word=$2
23829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23830$as_echo_n "checking for $ac_word... " >&6; }
23831if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
23832  $as_echo_n "(cached) " >&6
23833else
23834  case $GTKDOC_CHECK_PATH in
23835  [\\/]* | ?:[\\/]*)
23836  ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
23837  ;;
23838  *)
23839  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23840for as_dir in $PATH
23841do
23842  IFS=$as_save_IFS
23843  test -z "$as_dir" && as_dir=.
23844    for ac_exec_ext in '' $ac_executable_extensions; do
23845  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23846    ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
23847    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23848    break 2
23849  fi
23850done
23851  done
23852IFS=$as_save_IFS
23853
23854  ;;
23855esac
23856fi
23857GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
23858if test -n "$GTKDOC_CHECK_PATH"; then
23859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
23860$as_echo "$GTKDOC_CHECK_PATH" >&6; }
23861else
23862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23863$as_echo "no" >&6; }
23864fi
23865
23866
23867  for ac_prog in gtkdoc-rebase
23868do
23869  # Extract the first word of "$ac_prog", so it can be a program name with args.
23870set dummy $ac_prog; ac_word=$2
23871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23872$as_echo_n "checking for $ac_word... " >&6; }
23873if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
23874  $as_echo_n "(cached) " >&6
23875else
23876  case $GTKDOC_REBASE in
23877  [\\/]* | ?:[\\/]*)
23878  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
23879  ;;
23880  *)
23881  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23882for as_dir in $PATH
23883do
23884  IFS=$as_save_IFS
23885  test -z "$as_dir" && as_dir=.
23886    for ac_exec_ext in '' $ac_executable_extensions; do
23887  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23888    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
23889    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23890    break 2
23891  fi
23892done
23893  done
23894IFS=$as_save_IFS
23895
23896  ;;
23897esac
23898fi
23899GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
23900if test -n "$GTKDOC_REBASE"; then
23901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
23902$as_echo "$GTKDOC_REBASE" >&6; }
23903else
23904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23905$as_echo "no" >&6; }
23906fi
23907
23908
23909  test -n "$GTKDOC_REBASE" && break
23910done
23911test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
23912
23913  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
23914set dummy gtkdoc-mkpdf; ac_word=$2
23915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23916$as_echo_n "checking for $ac_word... " >&6; }
23917if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
23918  $as_echo_n "(cached) " >&6
23919else
23920  case $GTKDOC_MKPDF in
23921  [\\/]* | ?:[\\/]*)
23922  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
23923  ;;
23924  *)
23925  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23926for as_dir in $PATH
23927do
23928  IFS=$as_save_IFS
23929  test -z "$as_dir" && as_dir=.
23930    for ac_exec_ext in '' $ac_executable_extensions; do
23931  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23932    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
23933    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23934    break 2
23935  fi
23936done
23937  done
23938IFS=$as_save_IFS
23939
23940  ;;
23941esac
23942fi
23943GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
23944if test -n "$GTKDOC_MKPDF"; then
23945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
23946$as_echo "$GTKDOC_MKPDF" >&6; }
23947else
23948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23949$as_echo "no" >&6; }
23950fi
23951
23952
23953
23954
23955# Check whether --with-html-dir was given.
23956if test "${with_html_dir+set}" = set; then :
23957  withval=$with_html_dir;
23958else
23959  with_html_dir='${datadir}/gtk-doc/html'
23960fi
23961
23962  HTML_DIR="$with_html_dir"
23963
23964
23965    # Check whether --enable-gtk-doc was given.
23966if test "${enable_gtk_doc+set}" = set; then :
23967  enableval=$enable_gtk_doc;
23968else
23969  enable_gtk_doc=no
23970fi
23971
23972
23973  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
23974$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
23975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
23976$as_echo "$enable_gtk_doc" >&6; }
23977
23978  if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
23979    as_fn_error $? "
23980  You must have $gtk_doc_requires installed to build documentation for
23981  $PACKAGE_NAME. Please install gtk-doc or disable building the
23982  documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
23983  fi
23984
23985    if test "x$PACKAGE_NAME" != "xglib"; then
23986
23987pkg_failed=no
23988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" >&5
23989$as_echo_n "checking for glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0... " >&6; }
23990
23991if test -n "$GTKDOC_DEPS_CFLAGS"; then
23992    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
23993 elif test -n "$PKG_CONFIG"; then
23994    if test -n "$PKG_CONFIG" && \
23995    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
23996  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
23997  ac_status=$?
23998  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23999  test $ac_status = 0; }; then
24000  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
24001		      test "x$?" != "x0" && pkg_failed=yes
24002else
24003  pkg_failed=yes
24004fi
24005 else
24006    pkg_failed=untried
24007fi
24008if test -n "$GTKDOC_DEPS_LIBS"; then
24009    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
24010 elif test -n "$PKG_CONFIG"; then
24011    if test -n "$PKG_CONFIG" && \
24012    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
24013  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
24014  ac_status=$?
24015  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24016  test $ac_status = 0; }; then
24017  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
24018		      test "x$?" != "x0" && pkg_failed=yes
24019else
24020  pkg_failed=yes
24021fi
24022 else
24023    pkg_failed=untried
24024fi
24025
24026
24027
24028if test $pkg_failed = yes; then
24029        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24030$as_echo "no" >&6; }
24031
24032if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24033        _pkg_short_errors_supported=yes
24034else
24035        _pkg_short_errors_supported=no
24036fi
24037        if test $_pkg_short_errors_supported = yes; then
24038	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
24039        else
24040	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
24041        fi
24042	# Put the nasty error message in config.log where it belongs
24043	echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
24044
24045	:
24046elif test $pkg_failed = untried; then
24047        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24048$as_echo "no" >&6; }
24049	:
24050else
24051	GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
24052	GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
24053        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24054$as_echo "yes" >&6; }
24055
24056fi
24057  fi
24058
24059    # Check whether --enable-gtk-doc-html was given.
24060if test "${enable_gtk_doc_html+set}" = set; then :
24061  enableval=$enable_gtk_doc_html;
24062else
24063  enable_gtk_doc_html=yes
24064fi
24065
24066    # Check whether --enable-gtk-doc-pdf was given.
24067if test "${enable_gtk_doc_pdf+set}" = set; then :
24068  enableval=$enable_gtk_doc_pdf;
24069else
24070  enable_gtk_doc_pdf=no
24071fi
24072
24073
24074  if test -z "$GTKDOC_MKPDF"; then
24075    enable_gtk_doc_pdf=no
24076  fi
24077
24078  if test -z "$AM_DEFAULT_VERBOSITY"; then
24079    AM_DEFAULT_VERBOSITY=1
24080  fi
24081
24082
24083   if test x$have_gtk_doc = xyes; then
24084  HAVE_GTK_DOC_TRUE=
24085  HAVE_GTK_DOC_FALSE='#'
24086else
24087  HAVE_GTK_DOC_TRUE='#'
24088  HAVE_GTK_DOC_FALSE=
24089fi
24090
24091   if test x$enable_gtk_doc = xyes; then
24092  ENABLE_GTK_DOC_TRUE=
24093  ENABLE_GTK_DOC_FALSE='#'
24094else
24095  ENABLE_GTK_DOC_TRUE='#'
24096  ENABLE_GTK_DOC_FALSE=
24097fi
24098
24099   if test x$enable_gtk_doc_html = xyes; then
24100  GTK_DOC_BUILD_HTML_TRUE=
24101  GTK_DOC_BUILD_HTML_FALSE='#'
24102else
24103  GTK_DOC_BUILD_HTML_TRUE='#'
24104  GTK_DOC_BUILD_HTML_FALSE=
24105fi
24106
24107   if test x$enable_gtk_doc_pdf = xyes; then
24108  GTK_DOC_BUILD_PDF_TRUE=
24109  GTK_DOC_BUILD_PDF_FALSE='#'
24110else
24111  GTK_DOC_BUILD_PDF_TRUE='#'
24112  GTK_DOC_BUILD_PDF_FALSE=
24113fi
24114
24115   if test -n "$LIBTOOL"; then
24116  GTK_DOC_USE_LIBTOOL_TRUE=
24117  GTK_DOC_USE_LIBTOOL_FALSE='#'
24118else
24119  GTK_DOC_USE_LIBTOOL_TRUE='#'
24120  GTK_DOC_USE_LIBTOOL_FALSE=
24121fi
24122
24123   if test -n "$GTKDOC_REBASE"; then
24124  GTK_DOC_USE_REBASE_TRUE=
24125  GTK_DOC_USE_REBASE_FALSE='#'
24126else
24127  GTK_DOC_USE_REBASE_TRUE='#'
24128  GTK_DOC_USE_REBASE_FALSE=
24129fi
24130
24131
24132
24133
24134 if test "x$enable_run_system_tests" == xyes; then
24135  WITH_SYSTEM_TESTS_TRUE=
24136  WITH_SYSTEM_TESTS_FALSE='#'
24137else
24138  WITH_SYSTEM_TESTS_TRUE='#'
24139  WITH_SYSTEM_TESTS_FALSE=
24140fi
24141
24142 if test "x$enable_vst3" == xyes; then
24143  WITH_VST3_TRUE=
24144  WITH_VST3_FALSE='#'
24145else
24146  WITH_VST3_TRUE='#'
24147  WITH_VST3_FALSE=
24148fi
24149
24150 if test "x$enable_experimental" == xyes; then
24151  WITH_EXPERIMENTAL_TRUE=
24152  WITH_EXPERIMENTAL_FALSE='#'
24153else
24154  WITH_EXPERIMENTAL_TRUE='#'
24155  WITH_EXPERIMENTAL_FALSE=
24156fi
24157
24158
24159
24160  { $as_echo "$as_me:${as_lineno-$LINENO}: generating po/POTFILES.in" >&5
24161$as_echo "$as_me: generating po/POTFILES.in" >&6;}
24162  `mkdir -p $PWD/po`
24163  `tail -n +19 $srcdir/po/POTFILES.in.in > $PWD/po/POTFILES.in`
24164
24165
24166
24167  { $as_echo "$as_me:${as_lineno-$LINENO}: generating libags.sym" >&5
24168$as_echo "$as_me: generating libags.sym" >&6;}
24169  `tail -n +19 $srcdir/libags.sym.in > $PWD/libags.sym`
24170
24171
24172  { $as_echo "$as_me:${as_lineno-$LINENO}: generating libags_thread.sym" >&5
24173$as_echo "$as_me: generating libags_thread.sym" >&6;}
24174  `tail -n +19 $srcdir/libags_thread.sym.in > $PWD/libags_thread.sym`
24175
24176
24177  { $as_echo "$as_me:${as_lineno-$LINENO}: generating libags_server.sym" >&5
24178$as_echo "$as_me: generating libags_server.sym" >&6;}
24179  `tail -n +19 $srcdir/libags_server.sym.in > $PWD/libags_server.sym`
24180
24181
24182  { $as_echo "$as_me:${as_lineno-$LINENO}: generating libags_audio.sym" >&5
24183$as_echo "$as_me: generating libags_audio.sym" >&6;}
24184  `tail -n +19 $srcdir/libags_audio.sym.in > $PWD/libags_audio.sym`
24185
24186
24187  { $as_echo "$as_me:${as_lineno-$LINENO}: generating libags_vst.sym" >&5
24188$as_echo "$as_me: generating libags_vst.sym" >&6;}
24189  `tail -n +19 $srcdir/libags_vst.sym.in > $PWD/libags_vst.sym`
24190
24191
24192  { $as_echo "$as_me:${as_lineno-$LINENO}: generating libags_gui.sym" >&5
24193$as_echo "$as_me: generating libags_gui.sym" >&6;}
24194  `tail -n +19 $srcdir/libags_gui.sym.in > $PWD/libags_gui.sym`
24195
24196
24197
24198  { $as_echo "$as_me:${as_lineno-$LINENO}: generating ags/object/ags_marshallers.list" >&5
24199$as_echo "$as_me: generating ags/object/ags_marshallers.list" >&6;}
24200  `mkdir -p ags/object/`
24201  `tail -n +19 $srcdir/ags/object/ags_marshallers.list.in > ags/object/ags_marshallers.list`
24202
24203
24204  { $as_echo "$as_me:${as_lineno-$LINENO}: generating ags/widget/ags_widget_marshallers.list" >&5
24205$as_echo "$as_me: generating ags/widget/ags_widget_marshallers.list" >&6;}
24206  `mkdir -p ags/widget/`
24207  `tail -n +19 $srcdir/ags/widget/ags_widget_marshallers.list.in > ags/widget/ags_widget_marshallers.list`
24208
24209
24210
24211  { $as_echo "$as_me:${as_lineno-$LINENO}: generating docs/listings/*" >&5
24212$as_echo "$as_me: generating docs/listings/*" >&6;}
24213  `mkdir -p $PWD/docs/listings/`
24214  `tail -n +10 $srcdir/docs/listings/add_pattern.c.in > $PWD/docs/listings/add_pattern.c`
24215  `tail -n +10 $srcdir/docs/listings/application_mutex.c.in > $PWD/docs/listings/application_mutex.c`
24216  `tail -n +10 $srcdir/docs/listings/audio.c.in > $PWD/docs/listings/audio.c`
24217  `tail -n +10 $srcdir/docs/listings/audio_application_context.c.in > $PWD/docs/listings/audio_application_context.c`
24218  `tail -n +10 $srcdir/docs/listings/complete_example.c.in > $PWD/docs/listings/complete_example.c`
24219  `tail -n +10 $srcdir/docs/listings/config.c.in > $PWD/docs/listings/config.c`
24220  `tail -n +10 $srcdir/docs/listings/effects_echo_audio.c.in > $PWD/docs/listings/effects_echo_audio.c`
24221  `tail -n +10 $srcdir/docs/listings/effects_echo_audio_run.c.in > $PWD/docs/listings/effects_echo_audio_run.c`
24222  `tail -n +10 $srcdir/docs/listings/effects_echo_channel.c.in > $PWD/docs/listings/effects_echo_channel.c`
24223  `tail -n +10 $srcdir/docs/listings/effects_echo_channel_run.c.in > $PWD/docs/listings/effects_echo_channel_run.c`
24224  `tail -n +10 $srcdir/docs/listings/effects_recall_container.c.in > $PWD/docs/listings/effects_recall_container.c`
24225  `tail -n +10 $srcdir/docs/listings/file_property.c.in > $PWD/docs/listings/file_property.c`
24226  `tail -n +10 $srcdir/docs/listings/file_read.c.in > $PWD/docs/listings/file_read.c`
24227  `tail -n +10 $srcdir/docs/listings/file_write.c.in > $PWD/docs/listings/file_write.c`
24228  `tail -n +10 $srcdir/docs/listings/find_port.c.in > $PWD/docs/listings/find_port.c`
24229  `tail -n +10 $srcdir/docs/listings/fx_factory.c.in > $PWD/docs/listings/fx_factory.c`
24230  `tail -n +10 $srcdir/docs/listings/linking_prerequisites.c.in > $PWD/docs/listings/linking_prerequisites.c`
24231  `tail -n +10 $srcdir/docs/listings/linking_safe.c.in > $PWD/docs/listings/linking_safe.c`
24232  `tail -n +10 $srcdir/docs/listings/linking_unsafe.c.in > $PWD/docs/listings/linking_unsafe.c`
24233  `tail -n +10 $srcdir/docs/listings/notation_clipboard.c.in > $PWD/docs/listings/notation_clipboard.c`
24234  `tail -n +10 $srcdir/docs/listings/pcm_info.c.in > $PWD/docs/listings/pcm_info.c`
24235  `tail -n +10 $srcdir/docs/listings/port.c.in > $PWD/docs/listings/port.c`
24236  `tail -n +10 $srcdir/docs/listings/pull_thread.c.in > $PWD/docs/listings/pull_thread.c`
24237  `tail -n +10 $srcdir/docs/listings/recycling.c.in > $PWD/docs/listings/recycling.c`
24238  `tail -n +10 $srcdir/docs/listings/start_thread.c.in > $PWD/docs/listings/start_thread.c`
24239  `tail -n +10 $srcdir/docs/listings/thread_application_context.c.in > $PWD/docs/listings/thread_application_context.c`
24240  `tail -n +10 $srcdir/docs/listings/thread_obj_mutex.c.in > $PWD/docs/listings/thread_obj_mutex.c`
24241
24242
24243
24244  { $as_echo "$as_me:${as_lineno-$LINENO}: generating docs/listings/*" >&5
24245$as_echo "$as_me: generating docs/listings/*" >&6;}
24246  `mkdir -p $PWD/html`
24247  `mkdir -p $PWD/html/user-manual`
24248  `mkdir -p $PWD/html/developer-manual`
24249  `mkdir -p $PWD/html/osc-manual`
24250  `mkdir -p $PWD/pdf`
24251  `cp -n $srcdir/docs/usersBook.xml $PWD/docs/ &2> /dev/null`
24252  `cp -n $srcdir/docs/developersBook.xml $PWD/docs/ &2> /dev/null`
24253  `cp -n $srcdir/docs/oscBook.xml $PWD/docs/ &2> /dev/null`
24254  `cp -n $srcdir/docs/appa.xml $PWD/docs/ &2> /dev/null`
24255  `cp $srcdir/docs/custom.css $PWD/html/user-manual/`
24256  `cp $srcdir/docs/custom.css $PWD/html/developer-manual/`
24257  `cp $srcdir/docs/custom.css $PWD/html/osc-manual/`
24258
24259
24260  { $as_echo "$as_me:${as_lineno-$LINENO}: generating resources for API Reference Manual" >&5
24261$as_echo "$as_me: generating resources for API Reference Manual" >&6;}
24262  `mkdir -p $PWD/docs/reference/libags/`
24263  `cp -n $srcdir/docs/reference/libags/libags.xml $PWD/docs/reference/libags/ &2> /dev/null`
24264  `tail -n +19 $srcdir/docs/reference/libags/libags-sections.txt.in > $PWD/docs/reference/libags/libags-sections.txt`
24265  `tail -n +19 $srcdir/docs/reference/libags/libags.types.in > $PWD/docs/reference/libags/libags.types`
24266  `tail -n +19 $srcdir/docs/reference/libags/libags.interfaces.in > $PWD/docs/reference/libags/libags.interfaces`
24267  `mkdir -p $PWD/docs/reference/libags-audio`
24268  `cp -n $srcdir/docs/reference/libags-audio/libags_audio.xml $PWD/docs/reference/libags-audio/ &2> /dev/null`
24269  `tail -n +19 $srcdir/docs/reference/libags-audio/libags_audio-sections.txt.in > $PWD/docs/reference/libags-audio/libags_audio-sections.txt`
24270  `tail -n +19 $srcdir/docs/reference/libags-audio/libags_audio.types.in > $PWD/docs/reference/libags-audio/libags_audio.types`
24271  `tail -n +19 $srcdir/docs/reference/libags-audio/libags_audio.interfaces.in > $PWD/docs/reference/libags-audio/libags_audio.interfaces`
24272  `mkdir -p $PWD/docs/reference/libags-gui`
24273  `cp -n $srcdir/docs/reference/libags-gui/libags_gui.xml $PWD/docs/reference/libags-gui/ &2> /dev/null`
24274  `tail -n +19 $srcdir/docs/reference/libags-gui/libags_gui-sections.txt.in > $PWD/docs/reference/libags-gui/libags_gui-sections.txt`
24275  `tail -n +19 $srcdir/docs/reference/libags-gui/libags_gui.types.in > $PWD/docs/reference/libags-gui/libags_gui.types`
24276  `tail -n +19 $srcdir/docs/reference/libags-gui/libags_gui.interfaces.in > $PWD/docs/reference/libags-gui/libags_gui.interfaces`
24277  `mkdir -p $PWD/docs/reference/libgsequencer`
24278  `cp -n $srcdir/docs/reference/libgsequencer/libgsequencer.xml $PWD/docs/reference/libgsequencer/ &2> /dev/null`
24279  `tail -n +19 $srcdir/docs/reference/libgsequencer/libgsequencer-sections.txt.in > $PWD/docs/reference/libgsequencer/libgsequencer-sections.txt`
24280  `tail -n +19 $srcdir/docs/reference/libgsequencer/libgsequencer.types.in > $PWD/docs/reference/libgsequencer/libgsequencer.types`
24281  `tail -n +19 $srcdir/docs/reference/libgsequencer/libgsequencer.interfaces.in > $PWD/docs/reference/libgsequencer/libgsequencer.interfaces`
24282
24283
24284if test "x$HTMLHELP_XSL" != x; then :
24285  HTMLHELP_XSL=$HTMLHELP_XSL
24286
24287       { $as_echo "$as_me:${as_lineno-$LINENO}: HTMLHELP_XSL = $HTMLHELP_XSL" >&5
24288$as_echo "$as_me: HTMLHELP_XSL = $HTMLHELP_XSL" >&6;}
24289else
24290  HTMLHELP_XSL=/usr/share/xml/docbook/stylesheet/docbook-xsl/htmlhelp/htmlhelp.xsl
24291
24292       { $as_echo "$as_me:${as_lineno-$LINENO}: HTMLHELP_XSL = $HTMLHELP_XSL" >&5
24293$as_echo "$as_me: HTMLHELP_XSL = $HTMLHELP_XSL" >&6;}
24294fi
24295
24296if test "x$enable_upstream_gtk_doc" != xno; then :
24297  if test "x$GOBJECT_API_DOC" != x; then :
24298  GOBJECT_API_DOC=$GOBJECT_API_DOC
24299
24300       { $as_echo "$as_me:${as_lineno-$LINENO}: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&5
24301$as_echo "$as_me: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&6;}
24302else
24303  GOBJECT_API_DOC='/usr/share/doc/libglib2.0-doc/gobject'
24304
24305       { $as_echo "$as_me:${as_lineno-$LINENO}: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&5
24306$as_echo "$as_me: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&6;}
24307fi
24308
24309if test "x$GTK_API_DOC" != x; then :
24310  GTK_API_DOC=$GTK_API_DOC
24311
24312       { $as_echo "$as_me:${as_lineno-$LINENO}: GTK_API_DOC = $GTK_API_DOC" >&5
24313$as_echo "$as_me: GTK_API_DOC = $GTK_API_DOC" >&6;}
24314else
24315  GTK_API_DOC='/usr/share/doc/libgtk-3-doc/gtk3'
24316
24317       { $as_echo "$as_me:${as_lineno-$LINENO}: GTK_API_DOC = $GTK_API_DOC" >&5
24318$as_echo "$as_me: GTK_API_DOC = $GTK_API_DOC" >&6;}
24319fi
24320
24321if test "x$LIBAGS_API_DOC" != x; then :
24322  LIBAGS_API_DOC=$LIBAGS_API_DOC
24323
24324       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&5
24325$as_echo "$as_me: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&6;}
24326else
24327  LIBAGS_API_DOC='/usr/share/doc/libags-doc/api'
24328
24329       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&5
24330$as_echo "$as_me: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&6;}
24331fi
24332
24333if test "x$LIBAGS_AUDIO_API_DOC" != x; then :
24334  LIBAGS_AUDIO_API_DOC=$LIBAGS_AUDIO_API_DOC
24335
24336       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&5
24337$as_echo "$as_me: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&6;}
24338else
24339  LIBAGS_AUDIO_API_DOC='/usr/share/doc/libags-audio-doc/api'
24340
24341       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&5
24342$as_echo "$as_me: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&6;}
24343fi
24344
24345if test "x$LIBAGS_GUI_API_DOC" != x; then :
24346  LIBAGS_GUI_API_DOC=$LIBAGS_GUI_API_DOC
24347
24348       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&5
24349$as_echo "$as_me: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&6;}
24350else
24351  LIBAGS_GUI_API_DOC='/usr/share/doc/libags-gui-doc/api'
24352
24353       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&5
24354$as_echo "$as_me: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&6;}
24355fi
24356
24357if test "x$LIBGSEQUENCER_API_DOC" != x; then :
24358  LIBGSEQUENCER_API_DOC=$LIBGSEQUENCER_API_DOC
24359
24360       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&5
24361$as_echo "$as_me: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&6;}
24362else
24363  LIBGSEQUENCER_API_DOC='/usr/share/doc/libgsequencer-doc/api'
24364
24365       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&5
24366$as_echo "$as_me: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&6;}
24367fi
24368
24369if test "x$LIBAGS_API_DIR" != x; then :
24370  LIBAGS_API_DIR=$LIBAGS_API_DIR
24371
24372       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&5
24373$as_echo "$as_me: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&6;}
24374else
24375  LIBAGS_API_DIR=$datadir/doc/libags-doc/api
24376
24377       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&5
24378$as_echo "$as_me: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&6;}
24379fi
24380
24381if test "x$LIBAGS_AUDIO_API_DIR" != x; then :
24382  LIBAGS_AUDIO_API_DIR=$LIBAGS_AUDIO_API_DIR
24383
24384       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&5
24385$as_echo "$as_me: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&6;}
24386else
24387  LIBAGS_AUDIO_API_DIR=$datadir/doc/libags-audio-doc/api
24388
24389       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&5
24390$as_echo "$as_me: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&6;}
24391fi
24392
24393if test "x$LIBAGS_GUI_API_DIR" != x; then :
24394  LIBAGS_GUI_API_DIR=$LIBAGS_GUI_API_DIR
24395
24396       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&5
24397$as_echo "$as_me: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&6;}
24398else
24399  LIBAGS_GUI_API_DIR=$datadir/doc/libags-gui-doc/api
24400
24401       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&5
24402$as_echo "$as_me: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&6;}
24403fi
24404
24405if test "x$LIBGSEQUENCER_API_DIR" != x; then :
24406  LIBGSEQUENCER_API_DIR=$LIBGSEQUENCER_API_DIR
24407
24408       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&5
24409$as_echo "$as_me: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&6;}
24410else
24411  LIBGSEQUENCER_API_DIR=$datadir/doc/libgsequencer-doc/api
24412
24413       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&5
24414$as_echo "$as_me: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&6;}
24415fi
24416
24417else
24418
24419if test "x$GOBJECT_API_DOC" != x; then :
24420  GOBJECT_API_DOC=$GOBJECT_API_DOC
24421
24422       { $as_echo "$as_me:${as_lineno-$LINENO}: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&5
24423$as_echo "$as_me: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&6;}
24424else
24425  GOBJECT_API_DOC='../gobject'
24426
24427       { $as_echo "$as_me:${as_lineno-$LINENO}: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&5
24428$as_echo "$as_me: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&6;}
24429fi
24430
24431if test "x$GTK_API_DOC" != x; then :
24432  GTK_API_DOC=$GTK_API_DOC
24433
24434       { $as_echo "$as_me:${as_lineno-$LINENO}: GTK_API_DOC = $GTK_API_DOC" >&5
24435$as_echo "$as_me: GTK_API_DOC = $GTK_API_DOC" >&6;}
24436else
24437  GTK_API_DOC='../gtk3'
24438
24439       { $as_echo "$as_me:${as_lineno-$LINENO}: GTK_API_DOC = $GTK_API_DOC" >&5
24440$as_echo "$as_me: GTK_API_DOC = $GTK_API_DOC" >&6;}
24441fi
24442
24443if test "x$LIBAGS_API_DOC" != x; then :
24444  LIBAGS_API_DOC=$LIBAGS_API_DOC
24445
24446       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&5
24447$as_echo "$as_me: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&6;}
24448else
24449  LIBAGS_API_DOC='../libags'
24450
24451       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&5
24452$as_echo "$as_me: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&6;}
24453fi
24454
24455if test "x$LIBAGS_AUDIO_API_DOC" != x; then :
24456  LIBAGS_AUDIO_API_DOC=$LIBAGS_AUDIO_API_DOC
24457
24458       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&5
24459$as_echo "$as_me: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&6;}
24460else
24461  LIBAGS_AUDIO_API_DOC='../libags_audio'
24462
24463       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&5
24464$as_echo "$as_me: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&6;}
24465fi
24466
24467if test "x$LIBAGS_GUI_API_DOC" != x; then :
24468  LIBAGS_GUI_API_DOC=$LIBAGS_GUI_API_DOC
24469
24470       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&5
24471$as_echo "$as_me: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&6;}
24472else
24473  LIBAGS_GUI_API_DOC='../libags_gui'
24474
24475       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&5
24476$as_echo "$as_me: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&6;}
24477fi
24478
24479if test "x$LIBGSEQUENCER_API_DOC" != x; then :
24480  LIBGSEQUENCER_API_DOC=$LIBGSEQUENCER_API_DOC
24481
24482       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&5
24483$as_echo "$as_me: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&6;}
24484else
24485  LIBGSEQUENCER_API_DOC='../libgsequencer'
24486
24487       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&5
24488$as_echo "$as_me: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&6;}
24489fi
24490
24491if test "x$LIBAGS_API_DIR" != x; then :
24492  LIBAGS_API_DIR=$LIBAGS_API_DIR
24493
24494       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&5
24495$as_echo "$as_me: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&6;}
24496else
24497  LIBAGS_API_DIR=$datadir/gtk-doc/html/libags
24498
24499       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&5
24500$as_echo "$as_me: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&6;}
24501fi
24502
24503if test "x$LIBAGS_AUDIO_API_DIR" != x; then :
24504  LIBAGS_AUDIO_API_DIR=$LIBAGS_AUDIO_API_DIR
24505
24506       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&5
24507$as_echo "$as_me: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&6;}
24508else
24509  LIBAGS_AUDIO_API_DIR=$datadir/gtk-doc/html/libags_audio
24510
24511       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&5
24512$as_echo "$as_me: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&6;}
24513fi
24514
24515if test "x$LIBAGS_GUI_API_DIR" != x; then :
24516  LIBAGS_GUI_API_DIR=$LIBAGS_GUI_API_DIR
24517
24518       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&5
24519$as_echo "$as_me: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&6;}
24520else
24521  LIBAGS_GUI_API_DIR=$datadir/gtk-doc/html/libags_gui
24522
24523       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&5
24524$as_echo "$as_me: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&6;}
24525fi
24526
24527if test "x$LIBGSEQUENCER_API_DIR" != x; then :
24528  LIBGSEQUENCER_API_DIR=$LIBGSEQUENCER_API_DIR
24529
24530       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&5
24531$as_echo "$as_me: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&6;}
24532else
24533  LIBGSEQUENCER_API_DIR=$datadir/gtk-doc/html/libgsequencer
24534
24535       { $as_echo "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&5
24536$as_echo "$as_me: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&6;}
24537fi
24538
24539fi
24540
24541{ $as_echo "$as_me:${as_lineno-$LINENO}: gnulib not installed" >&5
24542$as_echo "$as_me: gnulib not installed" >&6;}
24543
24544
24545ac_config_files="$ac_config_files lib/Makefile Makefile unit-system-tests.mk functional-system-tests.mk m4/Makefile po/Makefile.in po/Makefile docs/reference/libags/Makefile docs/reference/libags-audio/Makefile docs/reference/libags-gui/Makefile docs/reference/libgsequencer/Makefile libags.pc libags_audio.pc libags_gui.pc libgsequencer.pc"
24546
24547
24548cat >confcache <<\_ACEOF
24549# This file is a shell script that caches the results of configure
24550# tests run on this system so they can be shared between configure
24551# scripts and configure runs, see configure's option --config-cache.
24552# It is not useful on other systems.  If it contains results you don't
24553# want to keep, you may remove or edit it.
24554#
24555# config.status only pays attention to the cache file if you give it
24556# the --recheck option to rerun configure.
24557#
24558# `ac_cv_env_foo' variables (set or unset) will be overridden when
24559# loading this file, other *unset* `ac_cv_foo' will be assigned the
24560# following values.
24561
24562_ACEOF
24563
24564# The following way of writing the cache mishandles newlines in values,
24565# but we know of no workaround that is simple, portable, and efficient.
24566# So, we kill variables containing newlines.
24567# Ultrix sh set writes to stderr and can't be redirected directly,
24568# and sets the high bit in the cache file unless we assign to the vars.
24569(
24570  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24571    eval ac_val=\$$ac_var
24572    case $ac_val in #(
24573    *${as_nl}*)
24574      case $ac_var in #(
24575      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24576$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24577      esac
24578      case $ac_var in #(
24579      _ | IFS | as_nl) ;; #(
24580      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24581      *) { eval $ac_var=; unset $ac_var;} ;;
24582      esac ;;
24583    esac
24584  done
24585
24586  (set) 2>&1 |
24587    case $as_nl`(ac_space=' '; set) 2>&1` in #(
24588    *${as_nl}ac_space=\ *)
24589      # `set' does not quote correctly, so add quotes: double-quote
24590      # substitution turns \\\\ into \\, and sed turns \\ into \.
24591      sed -n \
24592	"s/'/'\\\\''/g;
24593	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24594      ;; #(
24595    *)
24596      # `set' quotes correctly as required by POSIX, so do not add quotes.
24597      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24598      ;;
24599    esac |
24600    sort
24601) |
24602  sed '
24603     /^ac_cv_env_/b end
24604     t clear
24605     :clear
24606     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24607     t end
24608     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24609     :end' >>confcache
24610if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24611  if test -w "$cache_file"; then
24612    if test "x$cache_file" != "x/dev/null"; then
24613      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24614$as_echo "$as_me: updating cache $cache_file" >&6;}
24615      if test ! -f "$cache_file" || test -h "$cache_file"; then
24616	cat confcache >"$cache_file"
24617      else
24618        case $cache_file in #(
24619        */* | ?:*)
24620	  mv -f confcache "$cache_file"$$ &&
24621	  mv -f "$cache_file"$$ "$cache_file" ;; #(
24622        *)
24623	  mv -f confcache "$cache_file" ;;
24624	esac
24625      fi
24626    fi
24627  else
24628    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24629$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24630  fi
24631fi
24632rm -f confcache
24633
24634test "x$prefix" = xNONE && prefix=$ac_default_prefix
24635# Let make expand exec_prefix.
24636test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24637
24638DEFS=-DHAVE_CONFIG_H
24639
24640ac_libobjs=
24641ac_ltlibobjs=
24642U=
24643for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24644  # 1. Remove the extension, and $U if already installed.
24645  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24646  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
24647  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
24648  #    will be set to the directory where LIBOBJS objects are built.
24649  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24650  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
24651done
24652LIBOBJS=$ac_libobjs
24653
24654LTLIBOBJS=$ac_ltlibobjs
24655
24656
24657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
24658$as_echo_n "checking that generated files are newer than configure... " >&6; }
24659   if test -n "$am_sleep_pid"; then
24660     # Hide warnings about reused PIDs.
24661     wait $am_sleep_pid 2>/dev/null
24662   fi
24663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
24664$as_echo "done" >&6; }
24665 if test -n "$EXEEXT"; then
24666  am__EXEEXT_TRUE=
24667  am__EXEEXT_FALSE='#'
24668else
24669  am__EXEEXT_TRUE='#'
24670  am__EXEEXT_FALSE=
24671fi
24672
24673if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24674  as_fn_error $? "conditional \"AMDEP\" was never defined.
24675Usually this means the macro was only invoked conditionally." "$LINENO" 5
24676fi
24677if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24678  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
24679Usually this means the macro was only invoked conditionally." "$LINENO" 5
24680fi
24681if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24682  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
24683Usually this means the macro was only invoked conditionally." "$LINENO" 5
24684fi
24685if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24686  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
24687Usually this means the macro was only invoked conditionally." "$LINENO" 5
24688fi
24689if test -z "${WITH_W32API_TRUE}" && test -z "${WITH_W32API_FALSE}"; then
24690  as_fn_error $? "conditional \"WITH_W32API\" was never defined.
24691Usually this means the macro was only invoked conditionally." "$LINENO" 5
24692fi
24693if test -z "${WITH_OSXAPI_TRUE}" && test -z "${WITH_OSXAPI_FALSE}"; then
24694  as_fn_error $? "conditional \"WITH_OSXAPI\" was never defined.
24695Usually this means the macro was only invoked conditionally." "$LINENO" 5
24696fi
24697if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
24698  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
24699Usually this means the macro was only invoked conditionally." "$LINENO" 5
24700fi
24701if test -z "${AGS_WITH_PUBLIC_LIBGSEQUENCER_TRUE}" && test -z "${AGS_WITH_PUBLIC_LIBGSEQUENCER_FALSE}"; then
24702  as_fn_error $? "conditional \"AGS_WITH_PUBLIC_LIBGSEQUENCER\" was never defined.
24703Usually this means the macro was only invoked conditionally." "$LINENO" 5
24704fi
24705if test -z "${AGS_WITH_UPSTREAM_GTK_DOC_TRUE}" && test -z "${AGS_WITH_UPSTREAM_GTK_DOC_FALSE}"; then
24706  as_fn_error $? "conditional \"AGS_WITH_UPSTREAM_GTK_DOC\" was never defined.
24707Usually this means the macro was only invoked conditionally." "$LINENO" 5
24708fi
24709if test -z "${AGS_WITH_SINGLE_DOCDIR_TRUE}" && test -z "${AGS_WITH_SINGLE_DOCDIR_FALSE}"; then
24710  as_fn_error $? "conditional \"AGS_WITH_SINGLE_DOCDIR\" was never defined.
24711Usually this means the macro was only invoked conditionally." "$LINENO" 5
24712fi
24713if test -z "${WITH_LIBINSTPATCH_TRUE}" && test -z "${WITH_LIBINSTPATCH_FALSE}"; then
24714  as_fn_error $? "conditional \"WITH_LIBINSTPATCH\" was never defined.
24715Usually this means the macro was only invoked conditionally." "$LINENO" 5
24716fi
24717if test -z "${WITH_VST3_TRUE}" && test -z "${WITH_VST3_FALSE}"; then
24718  as_fn_error $? "conditional \"WITH_VST3\" was never defined.
24719Usually this means the macro was only invoked conditionally." "$LINENO" 5
24720fi
24721if test -z "${WITH_GSTREAMER_TRUE}" && test -z "${WITH_GSTREAMER_FALSE}"; then
24722  as_fn_error $? "conditional \"WITH_GSTREAMER\" was never defined.
24723Usually this means the macro was only invoked conditionally." "$LINENO" 5
24724fi
24725if test -z "${RUN_FUNCTIONAL_TESTS_TRUE}" && test -z "${RUN_FUNCTIONAL_TESTS_FALSE}"; then
24726  as_fn_error $? "conditional \"RUN_FUNCTIONAL_TESTS\" was never defined.
24727Usually this means the macro was only invoked conditionally." "$LINENO" 5
24728fi
24729if test -z "${FAST_TEST_MODE_TRUE}" && test -z "${FAST_TEST_MODE_FALSE}"; then
24730  as_fn_error $? "conditional \"FAST_TEST_MODE\" was never defined.
24731Usually this means the macro was only invoked conditionally." "$LINENO" 5
24732fi
24733if test -z "${GNU_TRUE}" && test -z "${GNU_FALSE}"; then
24734  as_fn_error $? "conditional \"GNU\" was never defined.
24735Usually this means the macro was only invoked conditionally." "$LINENO" 5
24736fi
24737if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
24738  as_fn_error $? "conditional \"LINUX\" was never defined.
24739Usually this means the macro was only invoked conditionally." "$LINENO" 5
24740fi
24741if test -z "${FREEBSD_TRUE}" && test -z "${FREEBSD_FALSE}"; then
24742  as_fn_error $? "conditional \"FREEBSD\" was never defined.
24743Usually this means the macro was only invoked conditionally." "$LINENO" 5
24744fi
24745if test -z "${WINDOWS_TRUE}" && test -z "${WINDOWS_FALSE}"; then
24746  as_fn_error $? "conditional \"WINDOWS\" was never defined.
24747Usually this means the macro was only invoked conditionally." "$LINENO" 5
24748fi
24749if test -z "${OSX_TRUE}" && test -z "${OSX_FALSE}"; then
24750  as_fn_error $? "conditional \"OSX\" was never defined.
24751Usually this means the macro was only invoked conditionally." "$LINENO" 5
24752fi
24753if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
24754  as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
24755Usually this means the macro was only invoked conditionally." "$LINENO" 5
24756fi
24757if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
24758  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
24759Usually this means the macro was only invoked conditionally." "$LINENO" 5
24760fi
24761if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
24762  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
24763Usually this means the macro was only invoked conditionally." "$LINENO" 5
24764fi
24765if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
24766  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
24767Usually this means the macro was only invoked conditionally." "$LINENO" 5
24768fi
24769if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
24770  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
24771Usually this means the macro was only invoked conditionally." "$LINENO" 5
24772fi
24773if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
24774  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
24775Usually this means the macro was only invoked conditionally." "$LINENO" 5
24776fi
24777if test -z "${WITH_SYSTEM_TESTS_TRUE}" && test -z "${WITH_SYSTEM_TESTS_FALSE}"; then
24778  as_fn_error $? "conditional \"WITH_SYSTEM_TESTS\" was never defined.
24779Usually this means the macro was only invoked conditionally." "$LINENO" 5
24780fi
24781if test -z "${WITH_VST3_TRUE}" && test -z "${WITH_VST3_FALSE}"; then
24782  as_fn_error $? "conditional \"WITH_VST3\" was never defined.
24783Usually this means the macro was only invoked conditionally." "$LINENO" 5
24784fi
24785if test -z "${WITH_EXPERIMENTAL_TRUE}" && test -z "${WITH_EXPERIMENTAL_FALSE}"; then
24786  as_fn_error $? "conditional \"WITH_EXPERIMENTAL\" was never defined.
24787Usually this means the macro was only invoked conditionally." "$LINENO" 5
24788fi
24789
24790: "${CONFIG_STATUS=./config.status}"
24791ac_write_fail=0
24792ac_clean_files_save=$ac_clean_files
24793ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24794{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24795$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24796as_write_fail=0
24797cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24798#! $SHELL
24799# Generated by $as_me.
24800# Run this file to recreate the current configuration.
24801# Compiler output produced by configure, useful for debugging
24802# configure, is in config.log if it exists.
24803
24804debug=false
24805ac_cs_recheck=false
24806ac_cs_silent=false
24807
24808SHELL=\${CONFIG_SHELL-$SHELL}
24809export SHELL
24810_ASEOF
24811cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
24812## -------------------- ##
24813## M4sh Initialization. ##
24814## -------------------- ##
24815
24816# Be more Bourne compatible
24817DUALCASE=1; export DUALCASE # for MKS sh
24818if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24819  emulate sh
24820  NULLCMD=:
24821  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24822  # is contrary to our usage.  Disable this feature.
24823  alias -g '${1+"$@"}'='"$@"'
24824  setopt NO_GLOB_SUBST
24825else
24826  case `(set -o) 2>/dev/null` in #(
24827  *posix*) :
24828    set -o posix ;; #(
24829  *) :
24830     ;;
24831esac
24832fi
24833
24834
24835as_nl='
24836'
24837export as_nl
24838# Printing a long string crashes Solaris 7 /usr/bin/printf.
24839as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24840as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24841as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24842# Prefer a ksh shell builtin over an external printf program on Solaris,
24843# but without wasting forks for bash or zsh.
24844if test -z "$BASH_VERSION$ZSH_VERSION" \
24845    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24846  as_echo='print -r --'
24847  as_echo_n='print -rn --'
24848elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24849  as_echo='printf %s\n'
24850  as_echo_n='printf %s'
24851else
24852  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24853    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
24854    as_echo_n='/usr/ucb/echo -n'
24855  else
24856    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24857    as_echo_n_body='eval
24858      arg=$1;
24859      case $arg in #(
24860      *"$as_nl"*)
24861	expr "X$arg" : "X\\(.*\\)$as_nl";
24862	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24863      esac;
24864      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
24865    '
24866    export as_echo_n_body
24867    as_echo_n='sh -c $as_echo_n_body as_echo'
24868  fi
24869  export as_echo_body
24870  as_echo='sh -c $as_echo_body as_echo'
24871fi
24872
24873# The user is always right.
24874if test "${PATH_SEPARATOR+set}" != set; then
24875  PATH_SEPARATOR=:
24876  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24877    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24878      PATH_SEPARATOR=';'
24879  }
24880fi
24881
24882
24883# IFS
24884# We need space, tab and new line, in precisely that order.  Quoting is
24885# there to prevent editors from complaining about space-tab.
24886# (If _AS_PATH_WALK were called with IFS unset, it would disable word
24887# splitting by setting IFS to empty value.)
24888IFS=" ""	$as_nl"
24889
24890# Find who we are.  Look in the path if we contain no directory separator.
24891as_myself=
24892case $0 in #((
24893  *[\\/]* ) as_myself=$0 ;;
24894  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24895for as_dir in $PATH
24896do
24897  IFS=$as_save_IFS
24898  test -z "$as_dir" && as_dir=.
24899    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24900  done
24901IFS=$as_save_IFS
24902
24903     ;;
24904esac
24905# We did not find ourselves, most probably we were run as `sh COMMAND'
24906# in which case we are not to be found in the path.
24907if test "x$as_myself" = x; then
24908  as_myself=$0
24909fi
24910if test ! -f "$as_myself"; then
24911  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24912  exit 1
24913fi
24914
24915# Unset variables that we do not need and which cause bugs (e.g. in
24916# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
24917# suppresses any "Segmentation fault" message there.  '((' could
24918# trigger a bug in pdksh 5.2.14.
24919for as_var in BASH_ENV ENV MAIL MAILPATH
24920do eval test x\${$as_var+set} = xset \
24921  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
24922done
24923PS1='$ '
24924PS2='> '
24925PS4='+ '
24926
24927# NLS nuisances.
24928LC_ALL=C
24929export LC_ALL
24930LANGUAGE=C
24931export LANGUAGE
24932
24933# CDPATH.
24934(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
24935
24936
24937# as_fn_error STATUS ERROR [LINENO LOG_FD]
24938# ----------------------------------------
24939# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24940# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24941# script with STATUS, using 1 if that was 0.
24942as_fn_error ()
24943{
24944  as_status=$1; test $as_status -eq 0 && as_status=1
24945  if test "$4"; then
24946    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
24947    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
24948  fi
24949  $as_echo "$as_me: error: $2" >&2
24950  as_fn_exit $as_status
24951} # as_fn_error
24952
24953
24954# as_fn_set_status STATUS
24955# -----------------------
24956# Set $? to STATUS, without forking.
24957as_fn_set_status ()
24958{
24959  return $1
24960} # as_fn_set_status
24961
24962# as_fn_exit STATUS
24963# -----------------
24964# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24965as_fn_exit ()
24966{
24967  set +e
24968  as_fn_set_status $1
24969  exit $1
24970} # as_fn_exit
24971
24972# as_fn_unset VAR
24973# ---------------
24974# Portably unset VAR.
24975as_fn_unset ()
24976{
24977  { eval $1=; unset $1;}
24978}
24979as_unset=as_fn_unset
24980# as_fn_append VAR VALUE
24981# ----------------------
24982# Append the text in VALUE to the end of the definition contained in VAR. Take
24983# advantage of any shell optimizations that allow amortized linear growth over
24984# repeated appends, instead of the typical quadratic growth present in naive
24985# implementations.
24986if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
24987  eval 'as_fn_append ()
24988  {
24989    eval $1+=\$2
24990  }'
24991else
24992  as_fn_append ()
24993  {
24994    eval $1=\$$1\$2
24995  }
24996fi # as_fn_append
24997
24998# as_fn_arith ARG...
24999# ------------------
25000# Perform arithmetic evaluation on the ARGs, and store the result in the
25001# global $as_val. Take advantage of shells that can avoid forks. The arguments
25002# must be portable across $(()) and expr.
25003if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25004  eval 'as_fn_arith ()
25005  {
25006    as_val=$(( $* ))
25007  }'
25008else
25009  as_fn_arith ()
25010  {
25011    as_val=`expr "$@" || test $? -eq 1`
25012  }
25013fi # as_fn_arith
25014
25015
25016if expr a : '\(a\)' >/dev/null 2>&1 &&
25017   test "X`expr 00001 : '.*\(...\)'`" = X001; then
25018  as_expr=expr
25019else
25020  as_expr=false
25021fi
25022
25023if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25024  as_basename=basename
25025else
25026  as_basename=false
25027fi
25028
25029if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25030  as_dirname=dirname
25031else
25032  as_dirname=false
25033fi
25034
25035as_me=`$as_basename -- "$0" ||
25036$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25037	 X"$0" : 'X\(//\)$' \| \
25038	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25039$as_echo X/"$0" |
25040    sed '/^.*\/\([^/][^/]*\)\/*$/{
25041	    s//\1/
25042	    q
25043	  }
25044	  /^X\/\(\/\/\)$/{
25045	    s//\1/
25046	    q
25047	  }
25048	  /^X\/\(\/\).*/{
25049	    s//\1/
25050	    q
25051	  }
25052	  s/.*/./; q'`
25053
25054# Avoid depending upon Character Ranges.
25055as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25056as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25057as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25058as_cr_digits='0123456789'
25059as_cr_alnum=$as_cr_Letters$as_cr_digits
25060
25061ECHO_C= ECHO_N= ECHO_T=
25062case `echo -n x` in #(((((
25063-n*)
25064  case `echo 'xy\c'` in
25065  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
25066  xy)  ECHO_C='\c';;
25067  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
25068       ECHO_T='	';;
25069  esac;;
25070*)
25071  ECHO_N='-n';;
25072esac
25073
25074rm -f conf$$ conf$$.exe conf$$.file
25075if test -d conf$$.dir; then
25076  rm -f conf$$.dir/conf$$.file
25077else
25078  rm -f conf$$.dir
25079  mkdir conf$$.dir 2>/dev/null
25080fi
25081if (echo >conf$$.file) 2>/dev/null; then
25082  if ln -s conf$$.file conf$$ 2>/dev/null; then
25083    as_ln_s='ln -s'
25084    # ... but there are two gotchas:
25085    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25086    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25087    # In both cases, we have to default to `cp -pR'.
25088    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25089      as_ln_s='cp -pR'
25090  elif ln conf$$.file conf$$ 2>/dev/null; then
25091    as_ln_s=ln
25092  else
25093    as_ln_s='cp -pR'
25094  fi
25095else
25096  as_ln_s='cp -pR'
25097fi
25098rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25099rmdir conf$$.dir 2>/dev/null
25100
25101
25102# as_fn_mkdir_p
25103# -------------
25104# Create "$as_dir" as a directory, including parents if necessary.
25105as_fn_mkdir_p ()
25106{
25107
25108  case $as_dir in #(
25109  -*) as_dir=./$as_dir;;
25110  esac
25111  test -d "$as_dir" || eval $as_mkdir_p || {
25112    as_dirs=
25113    while :; do
25114      case $as_dir in #(
25115      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25116      *) as_qdir=$as_dir;;
25117      esac
25118      as_dirs="'$as_qdir' $as_dirs"
25119      as_dir=`$as_dirname -- "$as_dir" ||
25120$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25121	 X"$as_dir" : 'X\(//\)[^/]' \| \
25122	 X"$as_dir" : 'X\(//\)$' \| \
25123	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25124$as_echo X"$as_dir" |
25125    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25126	    s//\1/
25127	    q
25128	  }
25129	  /^X\(\/\/\)[^/].*/{
25130	    s//\1/
25131	    q
25132	  }
25133	  /^X\(\/\/\)$/{
25134	    s//\1/
25135	    q
25136	  }
25137	  /^X\(\/\).*/{
25138	    s//\1/
25139	    q
25140	  }
25141	  s/.*/./; q'`
25142      test -d "$as_dir" && break
25143    done
25144    test -z "$as_dirs" || eval "mkdir $as_dirs"
25145  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
25146
25147
25148} # as_fn_mkdir_p
25149if mkdir -p . 2>/dev/null; then
25150  as_mkdir_p='mkdir -p "$as_dir"'
25151else
25152  test -d ./-p && rmdir ./-p
25153  as_mkdir_p=false
25154fi
25155
25156
25157# as_fn_executable_p FILE
25158# -----------------------
25159# Test if FILE is an executable regular file.
25160as_fn_executable_p ()
25161{
25162  test -f "$1" && test -x "$1"
25163} # as_fn_executable_p
25164as_test_x='test -x'
25165as_executable_p=as_fn_executable_p
25166
25167# Sed expression to map a string onto a valid CPP name.
25168as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25169
25170# Sed expression to map a string onto a valid variable name.
25171as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25172
25173
25174exec 6>&1
25175## ----------------------------------- ##
25176## Main body of $CONFIG_STATUS script. ##
25177## ----------------------------------- ##
25178_ASEOF
25179test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25180
25181cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25182# Save the log message, to keep $0 and so on meaningful, and to
25183# report actual input values of CONFIG_FILES etc. instead of their
25184# values after options handling.
25185ac_log="
25186This file was extended by gsequencer $as_me 3.10.4, which was
25187generated by GNU Autoconf 2.69.  Invocation command line was
25188
25189  CONFIG_FILES    = $CONFIG_FILES
25190  CONFIG_HEADERS  = $CONFIG_HEADERS
25191  CONFIG_LINKS    = $CONFIG_LINKS
25192  CONFIG_COMMANDS = $CONFIG_COMMANDS
25193  $ $0 $@
25194
25195on `(hostname || uname -n) 2>/dev/null | sed 1q`
25196"
25197
25198_ACEOF
25199
25200case $ac_config_files in *"
25201"*) set x $ac_config_files; shift; ac_config_files=$*;;
25202esac
25203
25204case $ac_config_headers in *"
25205"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25206esac
25207
25208
25209cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25210# Files that config.status was made for.
25211config_files="$ac_config_files"
25212config_headers="$ac_config_headers"
25213config_commands="$ac_config_commands"
25214
25215_ACEOF
25216
25217cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25218ac_cs_usage="\
25219\`$as_me' instantiates files and other configuration actions
25220from templates according to the current configuration.  Unless the files
25221and actions are specified as TAGs, all are instantiated by default.
25222
25223Usage: $0 [OPTION]... [TAG]...
25224
25225  -h, --help       print this help, then exit
25226  -V, --version    print version number and configuration settings, then exit
25227      --config     print configuration, then exit
25228  -q, --quiet, --silent
25229                   do not print progress messages
25230  -d, --debug      don't remove temporary files
25231      --recheck    update $as_me by reconfiguring in the same conditions
25232      --file=FILE[:TEMPLATE]
25233                   instantiate the configuration file FILE
25234      --header=FILE[:TEMPLATE]
25235                   instantiate the configuration header FILE
25236
25237Configuration files:
25238$config_files
25239
25240Configuration headers:
25241$config_headers
25242
25243Configuration commands:
25244$config_commands
25245
25246Report bugs to <jkraehemann@gmail.com>."
25247
25248_ACEOF
25249cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25250ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
25251ac_cs_version="\\
25252gsequencer config.status 3.10.4
25253configured by $0, generated by GNU Autoconf 2.69,
25254  with options \\"\$ac_cs_config\\"
25255
25256Copyright (C) 2012 Free Software Foundation, Inc.
25257This config.status script is free software; the Free Software Foundation
25258gives unlimited permission to copy, distribute and modify it."
25259
25260ac_pwd='$ac_pwd'
25261srcdir='$srcdir'
25262INSTALL='$INSTALL'
25263MKDIR_P='$MKDIR_P'
25264AWK='$AWK'
25265test -n "\$AWK" || AWK=awk
25266_ACEOF
25267
25268cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25269# The default lists apply if the user does not specify any file.
25270ac_need_defaults=:
25271while test $# != 0
25272do
25273  case $1 in
25274  --*=?*)
25275    ac_option=`expr "X$1" : 'X\([^=]*\)='`
25276    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25277    ac_shift=:
25278    ;;
25279  --*=)
25280    ac_option=`expr "X$1" : 'X\([^=]*\)='`
25281    ac_optarg=
25282    ac_shift=:
25283    ;;
25284  *)
25285    ac_option=$1
25286    ac_optarg=$2
25287    ac_shift=shift
25288    ;;
25289  esac
25290
25291  case $ac_option in
25292  # Handling of the options.
25293  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25294    ac_cs_recheck=: ;;
25295  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25296    $as_echo "$ac_cs_version"; exit ;;
25297  --config | --confi | --conf | --con | --co | --c )
25298    $as_echo "$ac_cs_config"; exit ;;
25299  --debug | --debu | --deb | --de | --d | -d )
25300    debug=: ;;
25301  --file | --fil | --fi | --f )
25302    $ac_shift
25303    case $ac_optarg in
25304    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25305    '') as_fn_error $? "missing file argument" ;;
25306    esac
25307    as_fn_append CONFIG_FILES " '$ac_optarg'"
25308    ac_need_defaults=false;;
25309  --header | --heade | --head | --hea )
25310    $ac_shift
25311    case $ac_optarg in
25312    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25313    esac
25314    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25315    ac_need_defaults=false;;
25316  --he | --h)
25317    # Conflict between --help and --header
25318    as_fn_error $? "ambiguous option: \`$1'
25319Try \`$0 --help' for more information.";;
25320  --help | --hel | -h )
25321    $as_echo "$ac_cs_usage"; exit ;;
25322  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25323  | -silent | --silent | --silen | --sile | --sil | --si | --s)
25324    ac_cs_silent=: ;;
25325
25326  # This is an error.
25327  -*) as_fn_error $? "unrecognized option: \`$1'
25328Try \`$0 --help' for more information." ;;
25329
25330  *) as_fn_append ac_config_targets " $1"
25331     ac_need_defaults=false ;;
25332
25333  esac
25334  shift
25335done
25336
25337ac_configure_extra_args=
25338
25339if $ac_cs_silent; then
25340  exec 6>/dev/null
25341  ac_configure_extra_args="$ac_configure_extra_args --silent"
25342fi
25343
25344_ACEOF
25345cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25346if \$ac_cs_recheck; then
25347  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25348  shift
25349  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25350  CONFIG_SHELL='$SHELL'
25351  export CONFIG_SHELL
25352  exec "\$@"
25353fi
25354
25355_ACEOF
25356cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25357exec 5>>config.log
25358{
25359  echo
25360  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25361## Running $as_me. ##
25362_ASBOX
25363  $as_echo "$ac_log"
25364} >&5
25365
25366_ACEOF
25367cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25368#
25369# INIT-COMMANDS
25370#
25371AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
25372# Capture the value of obsolete ALL_LINGUAS because we need it to compute
25373    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
25374    # from automake < 1.5.
25375    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
25376    # Capture the value of LINGUAS because we need it to compute CATALOGS.
25377    LINGUAS="${LINGUAS-%UNSET%}"
25378
25379
25380
25381# The HP-UX ksh and POSIX shell print the target directory to stdout
25382# if CDPATH is set.
25383(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25384
25385sed_quote_subst='$sed_quote_subst'
25386double_quote_subst='$double_quote_subst'
25387delay_variable_subst='$delay_variable_subst'
25388macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25389macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25390AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
25391DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
25392OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25393enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25394enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25395pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25396enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25397shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
25398SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25399ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25400PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
25401host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25402host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25403host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25404build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25405build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25406build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25407SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25408Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25409GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25410EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25411FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25412LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25413NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25414LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25415max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25416ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25417exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25418lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25419lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25420lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25421lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
25422lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
25423reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25424reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25425deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25426file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25427file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
25428want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
25429sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
25430AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25431AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25432archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
25433STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25434RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25435old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25436old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25437old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25438lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25439CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25440CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25441compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25442GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25443lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25444lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25445lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
25446lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25447lt_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"`'
25448lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
25449nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
25450lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
25451lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
25452objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25453MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25454lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25455lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25456lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25457lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25458lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25459need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25460MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
25461DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25462NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25463LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25464OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25465OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25466libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25467shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25468extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25469archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25470enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25471export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25472whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25473compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25474old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25475old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25476archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25477archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25478module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25479module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25480with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25481allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25482no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25483hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25484hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25485hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25486hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25487hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25488hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25489hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25490inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25491link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25492always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25493export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25494exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25495include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25496prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25497postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
25498file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25499variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25500need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25501need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25502version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25503runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25504shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25505shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25506libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25507library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25508soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25509install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25510postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25511postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25512finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25513finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25514hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25515sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25516configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
25517configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
25518hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25519enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25520enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25521enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25522old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25523striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25524compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25525predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25526postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25527predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25528postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25529compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25530LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25531reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25532reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25533old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25534compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25535GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25536lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25537lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25538lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25539lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25540lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25541archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25542enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25543export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25544whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25545compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25546old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25547old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25548archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25549archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25550module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25551module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25552with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25553allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25554no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25555hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25556hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25557hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25558hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25559hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25560hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25561hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25562inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25563link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25564always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25565export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25566exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25567include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25568prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25569postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25570file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25571hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25572compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25573predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25574postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25575predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25576postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25577compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
25578
25579LTCC='$LTCC'
25580LTCFLAGS='$LTCFLAGS'
25581compiler='$compiler_DEFAULT'
25582
25583# A function that is used when there is no print builtin or printf.
25584func_fallback_echo ()
25585{
25586  eval 'cat <<_LTECHO_EOF
25587\$1
25588_LTECHO_EOF'
25589}
25590
25591# Quote evaled strings.
25592for var in AS \
25593DLLTOOL \
25594OBJDUMP \
25595SHELL \
25596ECHO \
25597PATH_SEPARATOR \
25598SED \
25599GREP \
25600EGREP \
25601FGREP \
25602LD \
25603NM \
25604LN_S \
25605lt_SP2NL \
25606lt_NL2SP \
25607reload_flag \
25608deplibs_check_method \
25609file_magic_cmd \
25610file_magic_glob \
25611want_nocaseglob \
25612sharedlib_from_linklib_cmd \
25613AR \
25614AR_FLAGS \
25615archiver_list_spec \
25616STRIP \
25617RANLIB \
25618CC \
25619CFLAGS \
25620compiler \
25621lt_cv_sys_global_symbol_pipe \
25622lt_cv_sys_global_symbol_to_cdecl \
25623lt_cv_sys_global_symbol_to_import \
25624lt_cv_sys_global_symbol_to_c_name_address \
25625lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25626lt_cv_nm_interface \
25627nm_file_list_spec \
25628lt_cv_truncate_bin \
25629lt_prog_compiler_no_builtin_flag \
25630lt_prog_compiler_pic \
25631lt_prog_compiler_wl \
25632lt_prog_compiler_static \
25633lt_cv_prog_compiler_c_o \
25634need_locks \
25635MANIFEST_TOOL \
25636DSYMUTIL \
25637NMEDIT \
25638LIPO \
25639OTOOL \
25640OTOOL64 \
25641shrext_cmds \
25642export_dynamic_flag_spec \
25643whole_archive_flag_spec \
25644compiler_needs_object \
25645with_gnu_ld \
25646allow_undefined_flag \
25647no_undefined_flag \
25648hardcode_libdir_flag_spec \
25649hardcode_libdir_separator \
25650exclude_expsyms \
25651include_expsyms \
25652file_list_spec \
25653variables_saved_for_relink \
25654libname_spec \
25655library_names_spec \
25656soname_spec \
25657install_override_mode \
25658finish_eval \
25659old_striplib \
25660striplib \
25661compiler_lib_search_dirs \
25662predep_objects \
25663postdep_objects \
25664predeps \
25665postdeps \
25666compiler_lib_search_path \
25667LD_CXX \
25668reload_flag_CXX \
25669compiler_CXX \
25670lt_prog_compiler_no_builtin_flag_CXX \
25671lt_prog_compiler_pic_CXX \
25672lt_prog_compiler_wl_CXX \
25673lt_prog_compiler_static_CXX \
25674lt_cv_prog_compiler_c_o_CXX \
25675export_dynamic_flag_spec_CXX \
25676whole_archive_flag_spec_CXX \
25677compiler_needs_object_CXX \
25678with_gnu_ld_CXX \
25679allow_undefined_flag_CXX \
25680no_undefined_flag_CXX \
25681hardcode_libdir_flag_spec_CXX \
25682hardcode_libdir_separator_CXX \
25683exclude_expsyms_CXX \
25684include_expsyms_CXX \
25685file_list_spec_CXX \
25686compiler_lib_search_dirs_CXX \
25687predep_objects_CXX \
25688postdep_objects_CXX \
25689predeps_CXX \
25690postdeps_CXX \
25691compiler_lib_search_path_CXX; do
25692    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25693    *[\\\\\\\`\\"\\\$]*)
25694      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25695      ;;
25696    *)
25697      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25698      ;;
25699    esac
25700done
25701
25702# Double-quote double-evaled strings.
25703for var in reload_cmds \
25704old_postinstall_cmds \
25705old_postuninstall_cmds \
25706old_archive_cmds \
25707extract_expsyms_cmds \
25708old_archive_from_new_cmds \
25709old_archive_from_expsyms_cmds \
25710archive_cmds \
25711archive_expsym_cmds \
25712module_cmds \
25713module_expsym_cmds \
25714export_symbols_cmds \
25715prelink_cmds \
25716postlink_cmds \
25717postinstall_cmds \
25718postuninstall_cmds \
25719finish_cmds \
25720sys_lib_search_path_spec \
25721configure_time_dlsearch_path \
25722configure_time_lt_sys_library_path \
25723reload_cmds_CXX \
25724old_archive_cmds_CXX \
25725old_archive_from_new_cmds_CXX \
25726old_archive_from_expsyms_cmds_CXX \
25727archive_cmds_CXX \
25728archive_expsym_cmds_CXX \
25729module_cmds_CXX \
25730module_expsym_cmds_CXX \
25731export_symbols_cmds_CXX \
25732prelink_cmds_CXX \
25733postlink_cmds_CXX; do
25734    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25735    *[\\\\\\\`\\"\\\$]*)
25736      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25737      ;;
25738    *)
25739      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25740      ;;
25741    esac
25742done
25743
25744ac_aux_dir='$ac_aux_dir'
25745
25746# See if we are running on zsh, and set the options that allow our
25747# commands through without removal of \ escapes INIT.
25748if test -n "\${ZSH_VERSION+set}"; then
25749   setopt NO_GLOB_SUBST
25750fi
25751
25752
25753    PACKAGE='$PACKAGE'
25754    VERSION='$VERSION'
25755    RM='$RM'
25756    ofile='$ofile'
25757
25758
25759
25760
25761
25762
25763_ACEOF
25764
25765cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25766
25767# Handling of arguments.
25768for ac_config_target in $ac_config_targets
25769do
25770  case $ac_config_target in
25771    "ags/config.h") CONFIG_HEADERS="$CONFIG_HEADERS ags/config.h" ;;
25772    "ags/ags_api_config.h") CONFIG_HEADERS="$CONFIG_HEADERS ags/ags_api_config.h" ;;
25773    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
25774    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
25775    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
25776    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
25777    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25778    "unit-system-tests.mk") CONFIG_FILES="$CONFIG_FILES unit-system-tests.mk" ;;
25779    "functional-system-tests.mk") CONFIG_FILES="$CONFIG_FILES functional-system-tests.mk" ;;
25780    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
25781    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
25782    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
25783    "docs/reference/libags/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libags/Makefile" ;;
25784    "docs/reference/libags-audio/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libags-audio/Makefile" ;;
25785    "docs/reference/libags-gui/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libags-gui/Makefile" ;;
25786    "docs/reference/libgsequencer/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libgsequencer/Makefile" ;;
25787    "libags.pc") CONFIG_FILES="$CONFIG_FILES libags.pc" ;;
25788    "libags_audio.pc") CONFIG_FILES="$CONFIG_FILES libags_audio.pc" ;;
25789    "libags_gui.pc") CONFIG_FILES="$CONFIG_FILES libags_gui.pc" ;;
25790    "libgsequencer.pc") CONFIG_FILES="$CONFIG_FILES libgsequencer.pc" ;;
25791
25792  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25793  esac
25794done
25795
25796
25797# If the user did not use the arguments to specify the items to instantiate,
25798# then the envvar interface is used.  Set only those that are not.
25799# We use the long form for the default assignment because of an extremely
25800# bizarre bug on SunOS 4.1.3.
25801if $ac_need_defaults; then
25802  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25803  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25804  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25805fi
25806
25807# Have a temporary directory for convenience.  Make it in the build tree
25808# simply because there is no reason against having it here, and in addition,
25809# creating and moving files from /tmp can sometimes cause problems.
25810# Hook for its removal unless debugging.
25811# Note that there is a small window in which the directory will not be cleaned:
25812# after its creation but before its name has been assigned to `$tmp'.
25813$debug ||
25814{
25815  tmp= ac_tmp=
25816  trap 'exit_status=$?
25817  : "${ac_tmp:=$tmp}"
25818  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
25819' 0
25820  trap 'as_fn_exit 1' 1 2 13 15
25821}
25822# Create a (secure) tmp directory for tmp files.
25823
25824{
25825  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25826  test -d "$tmp"
25827}  ||
25828{
25829  tmp=./conf$$-$RANDOM
25830  (umask 077 && mkdir "$tmp")
25831} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
25832ac_tmp=$tmp
25833
25834# Set up the scripts for CONFIG_FILES section.
25835# No need to generate them if there are no CONFIG_FILES.
25836# This happens for instance with `./config.status config.h'.
25837if test -n "$CONFIG_FILES"; then
25838
25839
25840ac_cr=`echo X | tr X '\015'`
25841# On cygwin, bash can eat \r inside `` if the user requested igncr.
25842# But we know of no other shell where ac_cr would be empty at this
25843# point, so we can use a bashism as a fallback.
25844if test "x$ac_cr" = x; then
25845  eval ac_cr=\$\'\\r\'
25846fi
25847ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25848if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25849  ac_cs_awk_cr='\\r'
25850else
25851  ac_cs_awk_cr=$ac_cr
25852fi
25853
25854echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
25855_ACEOF
25856
25857
25858{
25859  echo "cat >conf$$subs.awk <<_ACEOF" &&
25860  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25861  echo "_ACEOF"
25862} >conf$$subs.sh ||
25863  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25864ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
25865ac_delim='%!_!# '
25866for ac_last_try in false false false false false :; do
25867  . ./conf$$subs.sh ||
25868    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25869
25870  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
25871  if test $ac_delim_n = $ac_delim_num; then
25872    break
25873  elif $ac_last_try; then
25874    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25875  else
25876    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25877  fi
25878done
25879rm -f conf$$subs.sh
25880
25881cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25882cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
25883_ACEOF
25884sed -n '
25885h
25886s/^/S["/; s/!.*/"]=/
25887p
25888g
25889s/^[^!]*!//
25890:repl
25891t repl
25892s/'"$ac_delim"'$//
25893t delim
25894:nl
25895h
25896s/\(.\{148\}\)..*/\1/
25897t more1
25898s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
25899p
25900n
25901b repl
25902:more1
25903s/["\\]/\\&/g; s/^/"/; s/$/"\\/
25904p
25905g
25906s/.\{148\}//
25907t nl
25908:delim
25909h
25910s/\(.\{148\}\)..*/\1/
25911t more2
25912s/["\\]/\\&/g; s/^/"/; s/$/"/
25913p
25914b
25915:more2
25916s/["\\]/\\&/g; s/^/"/; s/$/"\\/
25917p
25918g
25919s/.\{148\}//
25920t delim
25921' <conf$$subs.awk | sed '
25922/^[^""]/{
25923  N
25924  s/\n//
25925}
25926' >>$CONFIG_STATUS || ac_write_fail=1
25927rm -f conf$$subs.awk
25928cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25929_ACAWK
25930cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
25931  for (key in S) S_is_set[key] = 1
25932  FS = ""
25933
25934}
25935{
25936  line = $ 0
25937  nfields = split(line, field, "@")
25938  substed = 0
25939  len = length(field[1])
25940  for (i = 2; i < nfields; i++) {
25941    key = field[i]
25942    keylen = length(key)
25943    if (S_is_set[key]) {
25944      value = S[key]
25945      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25946      len += length(value) + length(field[++i])
25947      substed = 1
25948    } else
25949      len += 1 + keylen
25950  }
25951
25952  print line
25953}
25954
25955_ACAWK
25956_ACEOF
25957cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25958if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25959  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
25960else
25961  cat
25962fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
25963  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
25964_ACEOF
25965
25966# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
25967# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
25968# trailing colons and then remove the whole line if VPATH becomes empty
25969# (actually we leave an empty line to preserve line numbers).
25970if test "x$srcdir" = x.; then
25971  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
25972h
25973s///
25974s/^/:/
25975s/[	 ]*$/:/
25976s/:\$(srcdir):/:/g
25977s/:\${srcdir}:/:/g
25978s/:@srcdir@:/:/g
25979s/^:*//
25980s/:*$//
25981x
25982s/\(=[	 ]*\).*/\1/
25983G
25984s/\n//
25985s/^[^=]*=[	 ]*$//
25986}'
25987fi
25988
25989cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25990fi # test -n "$CONFIG_FILES"
25991
25992# Set up the scripts for CONFIG_HEADERS section.
25993# No need to generate them if there are no CONFIG_HEADERS.
25994# This happens for instance with `./config.status Makefile'.
25995if test -n "$CONFIG_HEADERS"; then
25996cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
25997BEGIN {
25998_ACEOF
25999
26000# Transform confdefs.h into an awk script `defines.awk', embedded as
26001# here-document in config.status, that substitutes the proper values into
26002# config.h.in to produce config.h.
26003
26004# Create a delimiter string that does not exist in confdefs.h, to ease
26005# handling of long lines.
26006ac_delim='%!_!# '
26007for ac_last_try in false false :; do
26008  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
26009  if test -z "$ac_tt"; then
26010    break
26011  elif $ac_last_try; then
26012    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
26013  else
26014    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26015  fi
26016done
26017
26018# For the awk script, D is an array of macro values keyed by name,
26019# likewise P contains macro parameters if any.  Preserve backslash
26020# newline sequences.
26021
26022ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26023sed -n '
26024s/.\{148\}/&'"$ac_delim"'/g
26025t rset
26026:rset
26027s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
26028t def
26029d
26030:def
26031s/\\$//
26032t bsnl
26033s/["\\]/\\&/g
26034s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
26035D["\1"]=" \3"/p
26036s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
26037d
26038:bsnl
26039s/["\\]/\\&/g
26040s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
26041D["\1"]=" \3\\\\\\n"\\/p
26042t cont
26043s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26044t cont
26045d
26046:cont
26047n
26048s/.\{148\}/&'"$ac_delim"'/g
26049t clear
26050:clear
26051s/\\$//
26052t bsnlc
26053s/["\\]/\\&/g; s/^/"/; s/$/"/p
26054d
26055:bsnlc
26056s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26057b cont
26058' <confdefs.h | sed '
26059s/'"$ac_delim"'/"\\\
26060"/g' >>$CONFIG_STATUS || ac_write_fail=1
26061
26062cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26063  for (key in D) D_is_set[key] = 1
26064  FS = ""
26065}
26066/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26067  line = \$ 0
26068  split(line, arg, " ")
26069  if (arg[1] == "#") {
26070    defundef = arg[2]
26071    mac1 = arg[3]
26072  } else {
26073    defundef = substr(arg[1], 2)
26074    mac1 = arg[2]
26075  }
26076  split(mac1, mac2, "(") #)
26077  macro = mac2[1]
26078  prefix = substr(line, 1, index(line, defundef) - 1)
26079  if (D_is_set[macro]) {
26080    # Preserve the white space surrounding the "#".
26081    print prefix "define", macro P[macro] D[macro]
26082    next
26083  } else {
26084    # Replace #undef with comments.  This is necessary, for example,
26085    # in the case of _POSIX_SOURCE, which is predefined and required
26086    # on some systems where configure will not decide to define it.
26087    if (defundef == "undef") {
26088      print "/*", prefix defundef, macro, "*/"
26089      next
26090    }
26091  }
26092}
26093{ print }
26094_ACAWK
26095_ACEOF
26096cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26097  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
26098fi # test -n "$CONFIG_HEADERS"
26099
26100
26101eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
26102shift
26103for ac_tag
26104do
26105  case $ac_tag in
26106  :[FHLC]) ac_mode=$ac_tag; continue;;
26107  esac
26108  case $ac_mode$ac_tag in
26109  :[FHL]*:*);;
26110  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
26111  :[FH]-) ac_tag=-:-;;
26112  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26113  esac
26114  ac_save_IFS=$IFS
26115  IFS=:
26116  set x $ac_tag
26117  IFS=$ac_save_IFS
26118  shift
26119  ac_file=$1
26120  shift
26121
26122  case $ac_mode in
26123  :L) ac_source=$1;;
26124  :[FH])
26125    ac_file_inputs=
26126    for ac_f
26127    do
26128      case $ac_f in
26129      -) ac_f="$ac_tmp/stdin";;
26130      *) # Look for the file first in the build tree, then in the source tree
26131	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
26132	 # because $ac_f cannot contain `:'.
26133	 test -f "$ac_f" ||
26134	   case $ac_f in
26135	   [\\/$]*) false;;
26136	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26137	   esac ||
26138	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26139      esac
26140      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26141      as_fn_append ac_file_inputs " '$ac_f'"
26142    done
26143
26144    # Let's still pretend it is `configure' which instantiates (i.e., don't
26145    # use $as_me), people would be surprised to read:
26146    #    /* config.h.  Generated by config.status.  */
26147    configure_input='Generated from '`
26148	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26149	`' by configure.'
26150    if test x"$ac_file" != x-; then
26151      configure_input="$ac_file.  $configure_input"
26152      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26153$as_echo "$as_me: creating $ac_file" >&6;}
26154    fi
26155    # Neutralize special characters interpreted by sed in replacement strings.
26156    case $configure_input in #(
26157    *\&* | *\|* | *\\* )
26158       ac_sed_conf_input=`$as_echo "$configure_input" |
26159       sed 's/[\\\\&|]/\\\\&/g'`;; #(
26160    *) ac_sed_conf_input=$configure_input;;
26161    esac
26162
26163    case $ac_tag in
26164    *:-:* | *:-) cat >"$ac_tmp/stdin" \
26165      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
26166    esac
26167    ;;
26168  esac
26169
26170  ac_dir=`$as_dirname -- "$ac_file" ||
26171$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26172	 X"$ac_file" : 'X\(//\)[^/]' \| \
26173	 X"$ac_file" : 'X\(//\)$' \| \
26174	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26175$as_echo X"$ac_file" |
26176    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26177	    s//\1/
26178	    q
26179	  }
26180	  /^X\(\/\/\)[^/].*/{
26181	    s//\1/
26182	    q
26183	  }
26184	  /^X\(\/\/\)$/{
26185	    s//\1/
26186	    q
26187	  }
26188	  /^X\(\/\).*/{
26189	    s//\1/
26190	    q
26191	  }
26192	  s/.*/./; q'`
26193  as_dir="$ac_dir"; as_fn_mkdir_p
26194  ac_builddir=.
26195
26196case "$ac_dir" in
26197.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26198*)
26199  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26200  # A ".." for each directory in $ac_dir_suffix.
26201  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26202  case $ac_top_builddir_sub in
26203  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26204  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26205  esac ;;
26206esac
26207ac_abs_top_builddir=$ac_pwd
26208ac_abs_builddir=$ac_pwd$ac_dir_suffix
26209# for backward compatibility:
26210ac_top_builddir=$ac_top_build_prefix
26211
26212case $srcdir in
26213  .)  # We are building in place.
26214    ac_srcdir=.
26215    ac_top_srcdir=$ac_top_builddir_sub
26216    ac_abs_top_srcdir=$ac_pwd ;;
26217  [\\/]* | ?:[\\/]* )  # Absolute name.
26218    ac_srcdir=$srcdir$ac_dir_suffix;
26219    ac_top_srcdir=$srcdir
26220    ac_abs_top_srcdir=$srcdir ;;
26221  *) # Relative name.
26222    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26223    ac_top_srcdir=$ac_top_build_prefix$srcdir
26224    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26225esac
26226ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26227
26228
26229  case $ac_mode in
26230  :F)
26231  #
26232  # CONFIG_FILE
26233  #
26234
26235  case $INSTALL in
26236  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26237  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26238  esac
26239  ac_MKDIR_P=$MKDIR_P
26240  case $MKDIR_P in
26241  [\\/$]* | ?:[\\/]* ) ;;
26242  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26243  esac
26244_ACEOF
26245
26246cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26247# If the template does not know about datarootdir, expand it.
26248# FIXME: This hack should be removed a few years after 2.60.
26249ac_datarootdir_hack=; ac_datarootdir_seen=
26250ac_sed_dataroot='
26251/datarootdir/ {
26252  p
26253  q
26254}
26255/@datadir@/p
26256/@docdir@/p
26257/@infodir@/p
26258/@localedir@/p
26259/@mandir@/p'
26260case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26261*datarootdir*) ac_datarootdir_seen=yes;;
26262*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26263  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26264$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26265_ACEOF
26266cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26267  ac_datarootdir_hack='
26268  s&@datadir@&$datadir&g
26269  s&@docdir@&$docdir&g
26270  s&@infodir@&$infodir&g
26271  s&@localedir@&$localedir&g
26272  s&@mandir@&$mandir&g
26273  s&\\\${datarootdir}&$datarootdir&g' ;;
26274esac
26275_ACEOF
26276
26277# Neutralize VPATH when `$srcdir' = `.'.
26278# Shell code in configure.ac might set extrasub.
26279# FIXME: do we really want to maintain this feature?
26280cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26281ac_sed_extra="$ac_vpsub
26282$extrasub
26283_ACEOF
26284cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26285:t
26286/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26287s|@configure_input@|$ac_sed_conf_input|;t t
26288s&@top_builddir@&$ac_top_builddir_sub&;t t
26289s&@top_build_prefix@&$ac_top_build_prefix&;t t
26290s&@srcdir@&$ac_srcdir&;t t
26291s&@abs_srcdir@&$ac_abs_srcdir&;t t
26292s&@top_srcdir@&$ac_top_srcdir&;t t
26293s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26294s&@builddir@&$ac_builddir&;t t
26295s&@abs_builddir@&$ac_abs_builddir&;t t
26296s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26297s&@INSTALL@&$ac_INSTALL&;t t
26298s&@MKDIR_P@&$ac_MKDIR_P&;t t
26299$ac_datarootdir_hack
26300"
26301eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
26302  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26303
26304test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26305  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
26306  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
26307      "$ac_tmp/out"`; test -z "$ac_out"; } &&
26308  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26309which seems to be undefined.  Please make sure it is defined" >&5
26310$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26311which seems to be undefined.  Please make sure it is defined" >&2;}
26312
26313  rm -f "$ac_tmp/stdin"
26314  case $ac_file in
26315  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
26316  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
26317  esac \
26318  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26319 ;;
26320  :H)
26321  #
26322  # CONFIG_HEADER
26323  #
26324  if test x"$ac_file" != x-; then
26325    {
26326      $as_echo "/* $configure_input  */" \
26327      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
26328    } >"$ac_tmp/config.h" \
26329      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26330    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
26331      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26332$as_echo "$as_me: $ac_file is unchanged" >&6;}
26333    else
26334      rm -f "$ac_file"
26335      mv "$ac_tmp/config.h" "$ac_file" \
26336	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
26337    fi
26338  else
26339    $as_echo "/* $configure_input  */" \
26340      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
26341      || as_fn_error $? "could not create -" "$LINENO" 5
26342  fi
26343# Compute "$ac_file"'s index in $config_headers.
26344_am_arg="$ac_file"
26345_am_stamp_count=1
26346for _am_header in $config_headers :; do
26347  case $_am_header in
26348    $_am_arg | $_am_arg:* )
26349      break ;;
26350    * )
26351      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26352  esac
26353done
26354echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26355$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26356	 X"$_am_arg" : 'X\(//\)[^/]' \| \
26357	 X"$_am_arg" : 'X\(//\)$' \| \
26358	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26359$as_echo X"$_am_arg" |
26360    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26361	    s//\1/
26362	    q
26363	  }
26364	  /^X\(\/\/\)[^/].*/{
26365	    s//\1/
26366	    q
26367	  }
26368	  /^X\(\/\/\)$/{
26369	    s//\1/
26370	    q
26371	  }
26372	  /^X\(\/\).*/{
26373	    s//\1/
26374	    q
26375	  }
26376	  s/.*/./; q'`/stamp-h$_am_stamp_count
26377 ;;
26378
26379  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26380$as_echo "$as_me: executing $ac_file commands" >&6;}
26381 ;;
26382  esac
26383
26384
26385  case $ac_file$ac_mode in
26386    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26387  # Older Autoconf quotes --file arguments for eval, but not when files
26388  # are listed without --file.  Let's play safe and only enable the eval
26389  # if we detect the quoting.
26390  # TODO: see whether this extra hack can be removed once we start
26391  # requiring Autoconf 2.70 or later.
26392  case $CONFIG_FILES in #(
26393  *\'*) :
26394    eval set x "$CONFIG_FILES" ;; #(
26395  *) :
26396    set x $CONFIG_FILES ;; #(
26397  *) :
26398     ;;
26399esac
26400  shift
26401  # Used to flag and report bootstrapping failures.
26402  am_rc=0
26403  for am_mf
26404  do
26405    # Strip MF so we end up with the name of the file.
26406    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
26407    # Check whether this is an Automake generated Makefile which includes
26408    # dependency-tracking related rules and includes.
26409    # Grep'ing the whole file directly is not great: AIX grep has a line
26410    # limit of 2048, but all sed's we know have understand at least 4000.
26411    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
26412      || continue
26413    am_dirpart=`$as_dirname -- "$am_mf" ||
26414$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26415	 X"$am_mf" : 'X\(//\)[^/]' \| \
26416	 X"$am_mf" : 'X\(//\)$' \| \
26417	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
26418$as_echo X"$am_mf" |
26419    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26420	    s//\1/
26421	    q
26422	  }
26423	  /^X\(\/\/\)[^/].*/{
26424	    s//\1/
26425	    q
26426	  }
26427	  /^X\(\/\/\)$/{
26428	    s//\1/
26429	    q
26430	  }
26431	  /^X\(\/\).*/{
26432	    s//\1/
26433	    q
26434	  }
26435	  s/.*/./; q'`
26436    am_filepart=`$as_basename -- "$am_mf" ||
26437$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
26438	 X"$am_mf" : 'X\(//\)$' \| \
26439	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
26440$as_echo X/"$am_mf" |
26441    sed '/^.*\/\([^/][^/]*\)\/*$/{
26442	    s//\1/
26443	    q
26444	  }
26445	  /^X\/\(\/\/\)$/{
26446	    s//\1/
26447	    q
26448	  }
26449	  /^X\/\(\/\).*/{
26450	    s//\1/
26451	    q
26452	  }
26453	  s/.*/./; q'`
26454    { echo "$as_me:$LINENO: cd "$am_dirpart" \
26455      && sed -e '/# am--include-marker/d' "$am_filepart" \
26456        | $MAKE -f - am--depfiles" >&5
26457   (cd "$am_dirpart" \
26458      && sed -e '/# am--include-marker/d' "$am_filepart" \
26459        | $MAKE -f - am--depfiles) >&5 2>&5
26460   ac_status=$?
26461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462   (exit $ac_status); } || am_rc=$?
26463  done
26464  if test $am_rc -ne 0; then
26465    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26466$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26467as_fn_error $? "Something went wrong bootstrapping makefile fragments
26468    for automatic dependency tracking.  If GNU make was not used, consider
26469    re-running the configure script with MAKE=\"gmake\" (or whatever is
26470    necessary).  You can also try re-running configure with the
26471    '--disable-dependency-tracking' option to at least be able to build
26472    the package (albeit without support for automatic dependency tracking).
26473See \`config.log' for more details" "$LINENO" 5; }
26474  fi
26475  { am_dirpart=; unset am_dirpart;}
26476  { am_filepart=; unset am_filepart;}
26477  { am_mf=; unset am_mf;}
26478  { am_rc=; unset am_rc;}
26479  rm -f conftest-deps.mk
26480}
26481 ;;
26482    "po-directories":C)
26483    for ac_file in $CONFIG_FILES; do
26484      # Support "outfile[:infile[:infile...]]"
26485      case "$ac_file" in
26486        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
26487      esac
26488      # PO directories have a Makefile.in generated from Makefile.in.in.
26489      case "$ac_file" in */Makefile.in)
26490        # Adjust a relative srcdir.
26491        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
26492        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
26493        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
26494        # In autoconf-2.13 it is called $ac_given_srcdir.
26495        # In autoconf-2.50 it is called $srcdir.
26496        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
26497        case "$ac_given_srcdir" in
26498          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
26499          /*) top_srcdir="$ac_given_srcdir" ;;
26500          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
26501        esac
26502        # Treat a directory as a PO directory if and only if it has a
26503        # POTFILES.in file. This allows packages to have multiple PO
26504        # directories under different names or in different locations.
26505        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
26506          rm -f "$ac_dir/POTFILES"
26507          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
26508          gt_tab=`printf '\t'`
26509          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
26510          POMAKEFILEDEPS="POTFILES.in"
26511          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
26512          # on $ac_dir but don't depend on user-specified configuration
26513          # parameters.
26514          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
26515            # The LINGUAS file contains the set of available languages.
26516            if test -n "$OBSOLETE_ALL_LINGUAS"; then
26517              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
26518            fi
26519            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
26520            # Hide the ALL_LINGUAS assignment from automake < 1.5.
26521            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
26522            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
26523          else
26524            # The set of available languages was given in configure.in.
26525            # Hide the ALL_LINGUAS assignment from automake < 1.5.
26526            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
26527          fi
26528          # Compute POFILES
26529          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
26530          # Compute UPDATEPOFILES
26531          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
26532          # Compute DUMMYPOFILES
26533          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
26534          # Compute GMOFILES
26535          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
26536          case "$ac_given_srcdir" in
26537            .) srcdirpre= ;;
26538            *) srcdirpre='$(srcdir)/' ;;
26539          esac
26540          POFILES=
26541          UPDATEPOFILES=
26542          DUMMYPOFILES=
26543          GMOFILES=
26544          for lang in $ALL_LINGUAS; do
26545            POFILES="$POFILES $srcdirpre$lang.po"
26546            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
26547            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
26548            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
26549          done
26550          # CATALOGS depends on both $ac_dir and the user's LINGUAS
26551          # environment variable.
26552          INST_LINGUAS=
26553          if test -n "$ALL_LINGUAS"; then
26554            for presentlang in $ALL_LINGUAS; do
26555              useit=no
26556              if test "%UNSET%" != "$LINGUAS"; then
26557                desiredlanguages="$LINGUAS"
26558              else
26559                desiredlanguages="$ALL_LINGUAS"
26560              fi
26561              for desiredlang in $desiredlanguages; do
26562                # Use the presentlang catalog if desiredlang is
26563                #   a. equal to presentlang, or
26564                #   b. a variant of presentlang (because in this case,
26565                #      presentlang can be used as a fallback for messages
26566                #      which are not translated in the desiredlang catalog).
26567                case "$desiredlang" in
26568                  "$presentlang"*) useit=yes;;
26569                esac
26570              done
26571              if test $useit = yes; then
26572                INST_LINGUAS="$INST_LINGUAS $presentlang"
26573              fi
26574            done
26575          fi
26576          CATALOGS=
26577          if test -n "$INST_LINGUAS"; then
26578            for lang in $INST_LINGUAS; do
26579              CATALOGS="$CATALOGS $lang.gmo"
26580            done
26581          fi
26582          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
26583          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
26584          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
26585            if test -f "$f"; then
26586              case "$f" in
26587                *.orig | *.bak | *~) ;;
26588                *) cat "$f" >> "$ac_dir/Makefile" ;;
26589              esac
26590            fi
26591          done
26592        fi
26593        ;;
26594      esac
26595    done ;;
26596    "libtool":C)
26597
26598    # See if we are running on zsh, and set the options that allow our
26599    # commands through without removal of \ escapes.
26600    if test -n "${ZSH_VERSION+set}"; then
26601      setopt NO_GLOB_SUBST
26602    fi
26603
26604    cfgfile=${ofile}T
26605    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26606    $RM "$cfgfile"
26607
26608    cat <<_LT_EOF >> "$cfgfile"
26609#! $SHELL
26610# Generated automatically by $as_me ($PACKAGE) $VERSION
26611# NOTE: Changes made to this file will be lost: look at ltmain.sh.
26612
26613# Provide generalized library-building support services.
26614# Written by Gordon Matzigkeit, 1996
26615
26616# Copyright (C) 2014 Free Software Foundation, Inc.
26617# This is free software; see the source for copying conditions.  There is NO
26618# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26619
26620# GNU Libtool is free software; you can redistribute it and/or modify
26621# it under the terms of the GNU General Public License as published by
26622# the Free Software Foundation; either version 2 of of the License, or
26623# (at your option) any later version.
26624#
26625# As a special exception to the GNU General Public License, if you
26626# distribute this file as part of a program or library that is built
26627# using GNU Libtool, you may include this file under the  same
26628# distribution terms that you use for the rest of that program.
26629#
26630# GNU Libtool is distributed in the hope that it will be useful, but
26631# WITHOUT ANY WARRANTY; without even the implied warranty of
26632# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26633# GNU General Public License for more details.
26634#
26635# You should have received a copy of the GNU General Public License
26636# along with this program.  If not, see <http://www.gnu.org/licenses/>.
26637
26638
26639# The names of the tagged configurations supported by this script.
26640available_tags='CXX '
26641
26642# Configured defaults for sys_lib_dlsearch_path munging.
26643: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
26644
26645# ### BEGIN LIBTOOL CONFIG
26646
26647# Which release of libtool.m4 was used?
26648macro_version=$macro_version
26649macro_revision=$macro_revision
26650
26651# Assembler program.
26652AS=$lt_AS
26653
26654# DLL creation program.
26655DLLTOOL=$lt_DLLTOOL
26656
26657# Object dumper program.
26658OBJDUMP=$lt_OBJDUMP
26659
26660# Whether or not to build shared libraries.
26661build_libtool_libs=$enable_shared
26662
26663# Whether or not to build static libraries.
26664build_old_libs=$enable_static
26665
26666# What type of objects to build.
26667pic_mode=$pic_mode
26668
26669# Whether or not to optimize for fast installation.
26670fast_install=$enable_fast_install
26671
26672# Shared archive member basename,for filename based shared library versioning on AIX.
26673shared_archive_member_spec=$shared_archive_member_spec
26674
26675# Shell to use when invoking shell scripts.
26676SHELL=$lt_SHELL
26677
26678# An echo program that protects backslashes.
26679ECHO=$lt_ECHO
26680
26681# The PATH separator for the build system.
26682PATH_SEPARATOR=$lt_PATH_SEPARATOR
26683
26684# The host system.
26685host_alias=$host_alias
26686host=$host
26687host_os=$host_os
26688
26689# The build system.
26690build_alias=$build_alias
26691build=$build
26692build_os=$build_os
26693
26694# A sed program that does not truncate output.
26695SED=$lt_SED
26696
26697# Sed that helps us avoid accidentally triggering echo(1) options like -n.
26698Xsed="\$SED -e 1s/^X//"
26699
26700# A grep program that handles long lines.
26701GREP=$lt_GREP
26702
26703# An ERE matcher.
26704EGREP=$lt_EGREP
26705
26706# A literal string matcher.
26707FGREP=$lt_FGREP
26708
26709# A BSD- or MS-compatible name lister.
26710NM=$lt_NM
26711
26712# Whether we need soft or hard links.
26713LN_S=$lt_LN_S
26714
26715# What is the maximum length of a command?
26716max_cmd_len=$max_cmd_len
26717
26718# Object file suffix (normally "o").
26719objext=$ac_objext
26720
26721# Executable file suffix (normally "").
26722exeext=$exeext
26723
26724# whether the shell understands "unset".
26725lt_unset=$lt_unset
26726
26727# turn spaces into newlines.
26728SP2NL=$lt_lt_SP2NL
26729
26730# turn newlines into spaces.
26731NL2SP=$lt_lt_NL2SP
26732
26733# convert \$build file names to \$host format.
26734to_host_file_cmd=$lt_cv_to_host_file_cmd
26735
26736# convert \$build files to toolchain format.
26737to_tool_file_cmd=$lt_cv_to_tool_file_cmd
26738
26739# Method to check whether dependent libraries are shared objects.
26740deplibs_check_method=$lt_deplibs_check_method
26741
26742# Command to use when deplibs_check_method = "file_magic".
26743file_magic_cmd=$lt_file_magic_cmd
26744
26745# How to find potential files when deplibs_check_method = "file_magic".
26746file_magic_glob=$lt_file_magic_glob
26747
26748# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
26749want_nocaseglob=$lt_want_nocaseglob
26750
26751# Command to associate shared and link libraries.
26752sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
26753
26754# The archiver.
26755AR=$lt_AR
26756
26757# Flags to create an archive.
26758AR_FLAGS=$lt_AR_FLAGS
26759
26760# How to feed a file listing to the archiver.
26761archiver_list_spec=$lt_archiver_list_spec
26762
26763# A symbol stripping program.
26764STRIP=$lt_STRIP
26765
26766# Commands used to install an old-style archive.
26767RANLIB=$lt_RANLIB
26768old_postinstall_cmds=$lt_old_postinstall_cmds
26769old_postuninstall_cmds=$lt_old_postuninstall_cmds
26770
26771# Whether to use a lock for old archive extraction.
26772lock_old_archive_extraction=$lock_old_archive_extraction
26773
26774# A C compiler.
26775LTCC=$lt_CC
26776
26777# LTCC compiler flags.
26778LTCFLAGS=$lt_CFLAGS
26779
26780# Take the output of nm and produce a listing of raw symbols and C names.
26781global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26782
26783# Transform the output of nm in a proper C declaration.
26784global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26785
26786# Transform the output of nm into a list of symbols to manually relocate.
26787global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
26788
26789# Transform the output of nm in a C name address pair.
26790global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26791
26792# Transform the output of nm in a C name address pair when lib prefix is needed.
26793global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26794
26795# The name lister interface.
26796nm_interface=$lt_lt_cv_nm_interface
26797
26798# Specify filename containing input files for \$NM.
26799nm_file_list_spec=$lt_nm_file_list_spec
26800
26801# The root where to search for dependent libraries,and where our libraries should be installed.
26802lt_sysroot=$lt_sysroot
26803
26804# Command to truncate a binary pipe.
26805lt_truncate_bin=$lt_lt_cv_truncate_bin
26806
26807# The name of the directory that contains temporary libtool files.
26808objdir=$objdir
26809
26810# Used to examine libraries when file_magic_cmd begins with "file".
26811MAGIC_CMD=$MAGIC_CMD
26812
26813# Must we lock files when doing compilation?
26814need_locks=$lt_need_locks
26815
26816# Manifest tool.
26817MANIFEST_TOOL=$lt_MANIFEST_TOOL
26818
26819# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26820DSYMUTIL=$lt_DSYMUTIL
26821
26822# Tool to change global to local symbols on Mac OS X.
26823NMEDIT=$lt_NMEDIT
26824
26825# Tool to manipulate fat objects and archives on Mac OS X.
26826LIPO=$lt_LIPO
26827
26828# ldd/readelf like tool for Mach-O binaries on Mac OS X.
26829OTOOL=$lt_OTOOL
26830
26831# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26832OTOOL64=$lt_OTOOL64
26833
26834# Old archive suffix (normally "a").
26835libext=$libext
26836
26837# Shared library suffix (normally ".so").
26838shrext_cmds=$lt_shrext_cmds
26839
26840# The commands to extract the exported symbol list from a shared archive.
26841extract_expsyms_cmds=$lt_extract_expsyms_cmds
26842
26843# Variables whose values should be saved in libtool wrapper scripts and
26844# restored at link time.
26845variables_saved_for_relink=$lt_variables_saved_for_relink
26846
26847# Do we need the "lib" prefix for modules?
26848need_lib_prefix=$need_lib_prefix
26849
26850# Do we need a version for libraries?
26851need_version=$need_version
26852
26853# Library versioning type.
26854version_type=$version_type
26855
26856# Shared library runtime path variable.
26857runpath_var=$runpath_var
26858
26859# Shared library path variable.
26860shlibpath_var=$shlibpath_var
26861
26862# Is shlibpath searched before the hard-coded library search path?
26863shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26864
26865# Format of library name prefix.
26866libname_spec=$lt_libname_spec
26867
26868# List of archive names.  First name is the real one, the rest are links.
26869# The last name is the one that the linker finds with -lNAME
26870library_names_spec=$lt_library_names_spec
26871
26872# The coded name of the library, if different from the real name.
26873soname_spec=$lt_soname_spec
26874
26875# Permission mode override for installation of shared libraries.
26876install_override_mode=$lt_install_override_mode
26877
26878# Command to use after installation of a shared archive.
26879postinstall_cmds=$lt_postinstall_cmds
26880
26881# Command to use after uninstallation of a shared archive.
26882postuninstall_cmds=$lt_postuninstall_cmds
26883
26884# Commands used to finish a libtool library installation in a directory.
26885finish_cmds=$lt_finish_cmds
26886
26887# As "finish_cmds", except a single script fragment to be evaled but
26888# not shown.
26889finish_eval=$lt_finish_eval
26890
26891# Whether we should hardcode library paths into libraries.
26892hardcode_into_libs=$hardcode_into_libs
26893
26894# Compile-time system search path for libraries.
26895sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26896
26897# Detected run-time system search path for libraries.
26898sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
26899
26900# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
26901configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
26902
26903# Whether dlopen is supported.
26904dlopen_support=$enable_dlopen
26905
26906# Whether dlopen of programs is supported.
26907dlopen_self=$enable_dlopen_self
26908
26909# Whether dlopen of statically linked programs is supported.
26910dlopen_self_static=$enable_dlopen_self_static
26911
26912# Commands to strip libraries.
26913old_striplib=$lt_old_striplib
26914striplib=$lt_striplib
26915
26916
26917# The linker used to build libraries.
26918LD=$lt_LD
26919
26920# How to create reloadable object files.
26921reload_flag=$lt_reload_flag
26922reload_cmds=$lt_reload_cmds
26923
26924# Commands used to build an old-style archive.
26925old_archive_cmds=$lt_old_archive_cmds
26926
26927# A language specific compiler.
26928CC=$lt_compiler
26929
26930# Is the compiler the GNU compiler?
26931with_gcc=$GCC
26932
26933# Compiler flag to turn off builtin functions.
26934no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26935
26936# Additional compiler flags for building library objects.
26937pic_flag=$lt_lt_prog_compiler_pic
26938
26939# How to pass a linker flag through the compiler.
26940wl=$lt_lt_prog_compiler_wl
26941
26942# Compiler flag to prevent dynamic linking.
26943link_static_flag=$lt_lt_prog_compiler_static
26944
26945# Does compiler simultaneously support -c and -o options?
26946compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26947
26948# Whether or not to add -lc for building shared libraries.
26949build_libtool_need_lc=$archive_cmds_need_lc
26950
26951# Whether or not to disallow shared libs when runtime libs are static.
26952allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26953
26954# Compiler flag to allow reflexive dlopens.
26955export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26956
26957# Compiler flag to generate shared objects directly from archives.
26958whole_archive_flag_spec=$lt_whole_archive_flag_spec
26959
26960# Whether the compiler copes with passing no objects directly.
26961compiler_needs_object=$lt_compiler_needs_object
26962
26963# Create an old-style archive from a shared archive.
26964old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26965
26966# Create a temporary old-style archive to link instead of a shared archive.
26967old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26968
26969# Commands used to build a shared archive.
26970archive_cmds=$lt_archive_cmds
26971archive_expsym_cmds=$lt_archive_expsym_cmds
26972
26973# Commands used to build a loadable module if different from building
26974# a shared archive.
26975module_cmds=$lt_module_cmds
26976module_expsym_cmds=$lt_module_expsym_cmds
26977
26978# Whether we are building with GNU ld or not.
26979with_gnu_ld=$lt_with_gnu_ld
26980
26981# Flag that allows shared libraries with undefined symbols to be built.
26982allow_undefined_flag=$lt_allow_undefined_flag
26983
26984# Flag that enforces no undefined symbols.
26985no_undefined_flag=$lt_no_undefined_flag
26986
26987# Flag to hardcode \$libdir into a binary during linking.
26988# This must work even if \$libdir does not exist
26989hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26990
26991# Whether we need a single "-rpath" flag with a separated argument.
26992hardcode_libdir_separator=$lt_hardcode_libdir_separator
26993
26994# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26995# DIR into the resulting binary.
26996hardcode_direct=$hardcode_direct
26997
26998# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26999# DIR into the resulting binary and the resulting library dependency is
27000# "absolute",i.e impossible to change by setting \$shlibpath_var if the
27001# library is relocated.
27002hardcode_direct_absolute=$hardcode_direct_absolute
27003
27004# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27005# into the resulting binary.
27006hardcode_minus_L=$hardcode_minus_L
27007
27008# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27009# into the resulting binary.
27010hardcode_shlibpath_var=$hardcode_shlibpath_var
27011
27012# Set to "yes" if building a shared library automatically hardcodes DIR
27013# into the library and all subsequent libraries and executables linked
27014# against it.
27015hardcode_automatic=$hardcode_automatic
27016
27017# Set to yes if linker adds runtime paths of dependent libraries
27018# to runtime path list.
27019inherit_rpath=$inherit_rpath
27020
27021# Whether libtool must link a program against all its dependency libraries.
27022link_all_deplibs=$link_all_deplibs
27023
27024# Set to "yes" if exported symbols are required.
27025always_export_symbols=$always_export_symbols
27026
27027# The commands to list exported symbols.
27028export_symbols_cmds=$lt_export_symbols_cmds
27029
27030# Symbols that should not be listed in the preloaded symbols.
27031exclude_expsyms=$lt_exclude_expsyms
27032
27033# Symbols that must always be exported.
27034include_expsyms=$lt_include_expsyms
27035
27036# Commands necessary for linking programs (against libraries) with templates.
27037prelink_cmds=$lt_prelink_cmds
27038
27039# Commands necessary for finishing linking programs.
27040postlink_cmds=$lt_postlink_cmds
27041
27042# Specify filename containing input files.
27043file_list_spec=$lt_file_list_spec
27044
27045# How to hardcode a shared library path into an executable.
27046hardcode_action=$hardcode_action
27047
27048# The directories searched by this compiler when creating a shared library.
27049compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27050
27051# Dependencies to place before and after the objects being linked to
27052# create a shared library.
27053predep_objects=$lt_predep_objects
27054postdep_objects=$lt_postdep_objects
27055predeps=$lt_predeps
27056postdeps=$lt_postdeps
27057
27058# The library search path used internally by the compiler when linking
27059# a shared library.
27060compiler_lib_search_path=$lt_compiler_lib_search_path
27061
27062# ### END LIBTOOL CONFIG
27063
27064_LT_EOF
27065
27066    cat <<'_LT_EOF' >> "$cfgfile"
27067
27068# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
27069
27070# func_munge_path_list VARIABLE PATH
27071# -----------------------------------
27072# VARIABLE is name of variable containing _space_ separated list of
27073# directories to be munged by the contents of PATH, which is string
27074# having a format:
27075# "DIR[:DIR]:"
27076#       string "DIR[ DIR]" will be prepended to VARIABLE
27077# ":DIR[:DIR]"
27078#       string "DIR[ DIR]" will be appended to VARIABLE
27079# "DIRP[:DIRP]::[DIRA:]DIRA"
27080#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
27081#       "DIRA[ DIRA]" will be appended to VARIABLE
27082# "DIR[:DIR]"
27083#       VARIABLE will be replaced by "DIR[ DIR]"
27084func_munge_path_list ()
27085{
27086    case x$2 in
27087    x)
27088        ;;
27089    *:)
27090        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
27091        ;;
27092    x:*)
27093        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
27094        ;;
27095    *::*)
27096        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
27097        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
27098        ;;
27099    *)
27100        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
27101        ;;
27102    esac
27103}
27104
27105
27106# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
27107func_cc_basename ()
27108{
27109    for cc_temp in $*""; do
27110      case $cc_temp in
27111        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
27112        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
27113        \-*) ;;
27114        *) break;;
27115      esac
27116    done
27117    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
27118}
27119
27120
27121# ### END FUNCTIONS SHARED WITH CONFIGURE
27122
27123_LT_EOF
27124
27125  case $host_os in
27126  aix3*)
27127    cat <<\_LT_EOF >> "$cfgfile"
27128# AIX sometimes has problems with the GCC collect2 program.  For some
27129# reason, if we set the COLLECT_NAMES environment variable, the problems
27130# vanish in a puff of smoke.
27131if test set != "${COLLECT_NAMES+set}"; then
27132  COLLECT_NAMES=
27133  export COLLECT_NAMES
27134fi
27135_LT_EOF
27136    ;;
27137  esac
27138
27139
27140ltmain=$ac_aux_dir/ltmain.sh
27141
27142
27143  # We use sed instead of cat because bash on DJGPP gets confused if
27144  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
27145  # text mode, it properly converts lines to CR/LF.  This bash problem
27146  # is reportedly fixed, but why not run on old versions too?
27147  sed '$q' "$ltmain" >> "$cfgfile" \
27148     || (rm -f "$cfgfile"; exit 1)
27149
27150   mv -f "$cfgfile" "$ofile" ||
27151    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27152  chmod +x "$ofile"
27153
27154
27155    cat <<_LT_EOF >> "$ofile"
27156
27157# ### BEGIN LIBTOOL TAG CONFIG: CXX
27158
27159# The linker used to build libraries.
27160LD=$lt_LD_CXX
27161
27162# How to create reloadable object files.
27163reload_flag=$lt_reload_flag_CXX
27164reload_cmds=$lt_reload_cmds_CXX
27165
27166# Commands used to build an old-style archive.
27167old_archive_cmds=$lt_old_archive_cmds_CXX
27168
27169# A language specific compiler.
27170CC=$lt_compiler_CXX
27171
27172# Is the compiler the GNU compiler?
27173with_gcc=$GCC_CXX
27174
27175# Compiler flag to turn off builtin functions.
27176no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27177
27178# Additional compiler flags for building library objects.
27179pic_flag=$lt_lt_prog_compiler_pic_CXX
27180
27181# How to pass a linker flag through the compiler.
27182wl=$lt_lt_prog_compiler_wl_CXX
27183
27184# Compiler flag to prevent dynamic linking.
27185link_static_flag=$lt_lt_prog_compiler_static_CXX
27186
27187# Does compiler simultaneously support -c and -o options?
27188compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27189
27190# Whether or not to add -lc for building shared libraries.
27191build_libtool_need_lc=$archive_cmds_need_lc_CXX
27192
27193# Whether or not to disallow shared libs when runtime libs are static.
27194allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27195
27196# Compiler flag to allow reflexive dlopens.
27197export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27198
27199# Compiler flag to generate shared objects directly from archives.
27200whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27201
27202# Whether the compiler copes with passing no objects directly.
27203compiler_needs_object=$lt_compiler_needs_object_CXX
27204
27205# Create an old-style archive from a shared archive.
27206old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27207
27208# Create a temporary old-style archive to link instead of a shared archive.
27209old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27210
27211# Commands used to build a shared archive.
27212archive_cmds=$lt_archive_cmds_CXX
27213archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27214
27215# Commands used to build a loadable module if different from building
27216# a shared archive.
27217module_cmds=$lt_module_cmds_CXX
27218module_expsym_cmds=$lt_module_expsym_cmds_CXX
27219
27220# Whether we are building with GNU ld or not.
27221with_gnu_ld=$lt_with_gnu_ld_CXX
27222
27223# Flag that allows shared libraries with undefined symbols to be built.
27224allow_undefined_flag=$lt_allow_undefined_flag_CXX
27225
27226# Flag that enforces no undefined symbols.
27227no_undefined_flag=$lt_no_undefined_flag_CXX
27228
27229# Flag to hardcode \$libdir into a binary during linking.
27230# This must work even if \$libdir does not exist
27231hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27232
27233# Whether we need a single "-rpath" flag with a separated argument.
27234hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27235
27236# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27237# DIR into the resulting binary.
27238hardcode_direct=$hardcode_direct_CXX
27239
27240# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27241# DIR into the resulting binary and the resulting library dependency is
27242# "absolute",i.e impossible to change by setting \$shlibpath_var if the
27243# library is relocated.
27244hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27245
27246# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27247# into the resulting binary.
27248hardcode_minus_L=$hardcode_minus_L_CXX
27249
27250# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27251# into the resulting binary.
27252hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27253
27254# Set to "yes" if building a shared library automatically hardcodes DIR
27255# into the library and all subsequent libraries and executables linked
27256# against it.
27257hardcode_automatic=$hardcode_automatic_CXX
27258
27259# Set to yes if linker adds runtime paths of dependent libraries
27260# to runtime path list.
27261inherit_rpath=$inherit_rpath_CXX
27262
27263# Whether libtool must link a program against all its dependency libraries.
27264link_all_deplibs=$link_all_deplibs_CXX
27265
27266# Set to "yes" if exported symbols are required.
27267always_export_symbols=$always_export_symbols_CXX
27268
27269# The commands to list exported symbols.
27270export_symbols_cmds=$lt_export_symbols_cmds_CXX
27271
27272# Symbols that should not be listed in the preloaded symbols.
27273exclude_expsyms=$lt_exclude_expsyms_CXX
27274
27275# Symbols that must always be exported.
27276include_expsyms=$lt_include_expsyms_CXX
27277
27278# Commands necessary for linking programs (against libraries) with templates.
27279prelink_cmds=$lt_prelink_cmds_CXX
27280
27281# Commands necessary for finishing linking programs.
27282postlink_cmds=$lt_postlink_cmds_CXX
27283
27284# Specify filename containing input files.
27285file_list_spec=$lt_file_list_spec_CXX
27286
27287# How to hardcode a shared library path into an executable.
27288hardcode_action=$hardcode_action_CXX
27289
27290# The directories searched by this compiler when creating a shared library.
27291compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27292
27293# Dependencies to place before and after the objects being linked to
27294# create a shared library.
27295predep_objects=$lt_predep_objects_CXX
27296postdep_objects=$lt_postdep_objects_CXX
27297predeps=$lt_predeps_CXX
27298postdeps=$lt_postdeps_CXX
27299
27300# The library search path used internally by the compiler when linking
27301# a shared library.
27302compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27303
27304# ### END LIBTOOL TAG CONFIG: CXX
27305_LT_EOF
27306
27307 ;;
27308
27309  esac
27310done # for ac_tag
27311
27312
27313as_fn_exit 0
27314_ACEOF
27315ac_clean_files=$ac_clean_files_save
27316
27317test $ac_write_fail = 0 ||
27318  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
27319
27320
27321# configure is writing to config.log, and then calls config.status.
27322# config.status does its own redirection, appending to config.log.
27323# Unfortunately, on DOS this fails, as config.log is still kept open
27324# by configure, so config.status won't be able to write to it; its
27325# output is simply discarded.  So we exec the FD to /dev/null,
27326# effectively closing config.log, so it can be properly (re)opened and
27327# appended to by config.status.  When coming back to configure, we
27328# need to make the FD available again.
27329if test "$no_create" != yes; then
27330  ac_cs_success=:
27331  ac_config_status_args=
27332  test "$silent" = yes &&
27333    ac_config_status_args="$ac_config_status_args --quiet"
27334  exec 5>/dev/null
27335  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27336  exec 5>>config.log
27337  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27338  # would make configure fail if this is the last instruction.
27339  $ac_cs_success || as_fn_exit 1
27340fi
27341if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27342  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27343$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27344fi
27345
27346