1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for Geany 1.37.1.
4#
5# Report bugs to <https://github.com/geany/geany/issues>.
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: https://github.com/geany/geany/issues about your
279$0: system, including any error possibly output before this
280$0: message. Then install a modern shell, or manually run
281$0: the script under such a 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='Geany'
592PACKAGE_TARNAME='geany'
593PACKAGE_VERSION='1.37.1'
594PACKAGE_STRING='Geany 1.37.1'
595PACKAGE_BUGREPORT='https://github.com/geany/geany/issues'
596PACKAGE_URL=''
597
598ac_unique_file="src/geany.h"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639UNIQ
640SORT
641LIBGEANY_LDFLAGS
642LIBGEANY_CFLAGS
643LIBGEANY_EXPORT_CFLAGS
644ENABLE_GTKDOC_HEADER_FALSE
645ENABLE_GTKDOC_HEADER_TRUE
646pkgpyexecdir
647pyexecdir
648pkgpythondir
649pythondir
650PYTHON_PLATFORM
651PYTHON_EXEC_PREFIX
652PYTHON_PREFIX
653PYTHON_VERSION
654PYTHON
655WITH_DOXYGEN_FALSE
656WITH_DOXYGEN_TRUE
657DOXYGEN
658WITH_RST2PDF_FALSE
659WITH_RST2PDF_TRUE
660RST2PDF
661INSTALL_HTML_DOCS_FALSE
662INSTALL_HTML_DOCS_TRUE
663WITH_RST2HTML_FALSE
664WITH_RST2HTML_TRUE
665RST2HTML
666PYTHON_COMMAND
667pkgdatadir
668GEANY_DATA_DIR
669MKINSTALLDIRS
670POSUB
671POFILES
672PO_IN_DATADIR_FALSE
673PO_IN_DATADIR_TRUE
674INTLLIBS
675INSTOBJEXT
676GMOFILES
677DATADIRNAME
678CATOBJEXT
679CATALOGS
680MSGFMT_OPTS
681INTL_MACOSX_LIBS
682GETTEXT_PACKAGE
683ALL_LINGUAS
684INTLTOOL_PERL
685GMSGFMT
686MSGFMT
687MSGMERGE
688XGETTEXT
689INTLTOOL_POLICY_RULE
690INTLTOOL_SERVICE_RULE
691INTLTOOL_THEME_RULE
692INTLTOOL_SCHEMAS_RULE
693INTLTOOL_CAVES_RULE
694INTLTOOL_XML_NOMERGE_RULE
695INTLTOOL_XML_RULE
696INTLTOOL_KBD_RULE
697INTLTOOL_XAM_RULE
698INTLTOOL_UI_RULE
699INTLTOOL_SOUNDLIST_RULE
700INTLTOOL_SHEET_RULE
701INTLTOOL_SERVER_RULE
702INTLTOOL_PONG_RULE
703INTLTOOL_OAF_RULE
704INTLTOOL_PROP_RULE
705INTLTOOL_KEYS_RULE
706INTLTOOL_DIRECTORY_RULE
707INTLTOOL_DESKTOP_RULE
708intltool__v_merge_options_0
709intltool__v_merge_options_
710INTLTOOL_V_MERGE_OPTIONS
711INTLTOOL__v_MERGE_0
712INTLTOOL__v_MERGE_
713INTLTOOL_V_MERGE
714INTLTOOL_EXTRACT
715INTLTOOL_MERGE
716INTLTOOL_UPDATE
717USE_NLS
718MAC_INTEGRATION_LIBS
719MAC_INTEGRATION_CFLAGS
720ENABLE_MAC_INTEGRATION_FALSE
721ENABLE_MAC_INTEGRATION_TRUE
722MINGW_FALSE
723MINGW_TRUE
724PLUGINS_FALSE
725PLUGINS_TRUE
726ENABLE_BINRELOC_FALSE
727ENABLE_BINRELOC_TRUE
728GTHREAD_LIBS
729GTHREAD_CFLAGS
730GTK_VERSION
731DEPENDENCIES
732GTK_LIBS
733GTK_CFLAGS
734PKG_CONFIG_LIBDIR
735PKG_CONFIG_PATH
736PKG_CONFIG
737GTK3_FALSE
738GTK3_TRUE
739HAVE_CXX11
740CXXCPP
741am__fastdepCXX_FALSE
742am__fastdepCXX_TRUE
743CXXDEPMODE
744ac_ct_CXX
745CXXFLAGS
746CXX
747LT_SYS_LIBRARY_PATH
748OTOOL64
749OTOOL
750LIPO
751NMEDIT
752DSYMUTIL
753MANIFEST_TOOL
754RANLIB
755DLLTOOL
756OBJDUMP
757LN_S
758NM
759ac_ct_DUMPBIN
760DUMPBIN
761LD
762FGREP
763SED
764host_os
765host_vendor
766host_cpu
767host
768build_os
769build_vendor
770build_cpu
771build
772LIBTOOL
773ac_ct_AR
774AR
775EGREP
776GREP
777CPP
778am__fastdepCC_FALSE
779am__fastdepCC_TRUE
780CCDEPMODE
781am__nodep
782AMDEPBACKSLASH
783AMDEP_FALSE
784AMDEP_TRUE
785am__include
786DEPDIR
787OBJEXT
788EXEEXT
789ac_ct_CC
790CPPFLAGS
791LDFLAGS
792CFLAGS
793CC
794AM_BACKSLASH
795AM_DEFAULT_VERBOSITY
796AM_DEFAULT_V
797AM_V
798am__untar
799am__tar
800AMTAR
801am__leading_dot
802SET_MAKE
803AWK
804mkdir_p
805MKDIR_P
806INSTALL_STRIP_PROGRAM
807STRIP
808install_sh
809MAKEINFO
810AUTOHEADER
811AUTOMAKE
812AUTOCONF
813ACLOCAL
814VERSION
815PACKAGE
816CYGPATH_W
817am__isrc
818INSTALL_DATA
819INSTALL_SCRIPT
820INSTALL_PROGRAM
821target_alias
822host_alias
823build_alias
824LIBS
825ECHO_T
826ECHO_N
827ECHO_C
828DEFS
829mandir
830localedir
831libdir
832psdir
833pdfdir
834dvidir
835htmldir
836infodir
837docdir
838oldincludedir
839includedir
840runstatedir
841localstatedir
842sharedstatedir
843sysconfdir
844datadir
845datarootdir
846libexecdir
847sbindir
848bindir
849program_transform_name
850prefix
851exec_prefix
852PACKAGE_URL
853PACKAGE_BUGREPORT
854PACKAGE_STRING
855PACKAGE_VERSION
856PACKAGE_TARNAME
857PACKAGE_NAME
858PATH_SEPARATOR
859SHELL
860am__quote'
861ac_subst_files=''
862ac_user_opts='
863enable_option_checking
864enable_silent_rules
865enable_dependency_tracking
866enable_static
867enable_shared
868with_pic
869enable_fast_install
870with_aix_soname
871with_gnu_ld
872with_sysroot
873enable_libtool_lock
874enable_gtk2
875enable_deprecated
876enable_binreloc
877enable_plugins
878enable_vte
879with_vte_module_path
880enable_socket
881enable_mac_integration
882enable_the_force
883enable_nls
884with_python_command
885enable_html_docs
886enable_pdf_docs
887enable_api_docs
888enable_gtkdoc_header
889'
890      ac_precious_vars='build_alias
891host_alias
892target_alias
893CC
894CFLAGS
895LDFLAGS
896LIBS
897CPPFLAGS
898CPP
899LT_SYS_LIBRARY_PATH
900CXX
901CXXFLAGS
902CCC
903CXXCPP
904PKG_CONFIG
905PKG_CONFIG_PATH
906PKG_CONFIG_LIBDIR
907GTK_CFLAGS
908GTK_LIBS
909GTHREAD_CFLAGS
910GTHREAD_LIBS
911MAC_INTEGRATION_CFLAGS
912MAC_INTEGRATION_LIBS
913RST2HTML
914RST2PDF
915DOXYGEN
916PYTHON'
917
918
919# Initialize some variables set by options.
920ac_init_help=
921ac_init_version=false
922ac_unrecognized_opts=
923ac_unrecognized_sep=
924# The variables have the same names as the options, with
925# dashes changed to underlines.
926cache_file=/dev/null
927exec_prefix=NONE
928no_create=
929no_recursion=
930prefix=NONE
931program_prefix=NONE
932program_suffix=NONE
933program_transform_name=s,x,x,
934silent=
935site=
936srcdir=
937verbose=
938x_includes=NONE
939x_libraries=NONE
940
941# Installation directory options.
942# These are left unexpanded so users can "make install exec_prefix=/foo"
943# and all the variables that are supposed to be based on exec_prefix
944# by default will actually change.
945# Use braces instead of parens because sh, perl, etc. also accept them.
946# (The list follows the same order as the GNU Coding Standards.)
947bindir='${exec_prefix}/bin'
948sbindir='${exec_prefix}/sbin'
949libexecdir='${exec_prefix}/libexec'
950datarootdir='${prefix}/share'
951datadir='${datarootdir}'
952sysconfdir='${prefix}/etc'
953sharedstatedir='${prefix}/com'
954localstatedir='${prefix}/var'
955runstatedir='${localstatedir}/run'
956includedir='${prefix}/include'
957oldincludedir='/usr/include'
958docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
959infodir='${datarootdir}/info'
960htmldir='${docdir}'
961dvidir='${docdir}'
962pdfdir='${docdir}'
963psdir='${docdir}'
964libdir='${exec_prefix}/lib'
965localedir='${datarootdir}/locale'
966mandir='${datarootdir}/man'
967
968ac_prev=
969ac_dashdash=
970for ac_option
971do
972  # If the previous option needs an argument, assign it.
973  if test -n "$ac_prev"; then
974    eval $ac_prev=\$ac_option
975    ac_prev=
976    continue
977  fi
978
979  case $ac_option in
980  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
981  *=)   ac_optarg= ;;
982  *)    ac_optarg=yes ;;
983  esac
984
985  # Accept the important Cygnus configure options, so we can diagnose typos.
986
987  case $ac_dashdash$ac_option in
988  --)
989    ac_dashdash=yes ;;
990
991  -bindir | --bindir | --bindi | --bind | --bin | --bi)
992    ac_prev=bindir ;;
993  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
994    bindir=$ac_optarg ;;
995
996  -build | --build | --buil | --bui | --bu)
997    ac_prev=build_alias ;;
998  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
999    build_alias=$ac_optarg ;;
1000
1001  -cache-file | --cache-file | --cache-fil | --cache-fi \
1002  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1003    ac_prev=cache_file ;;
1004  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1005  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1006    cache_file=$ac_optarg ;;
1007
1008  --config-cache | -C)
1009    cache_file=config.cache ;;
1010
1011  -datadir | --datadir | --datadi | --datad)
1012    ac_prev=datadir ;;
1013  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1014    datadir=$ac_optarg ;;
1015
1016  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1017  | --dataroo | --dataro | --datar)
1018    ac_prev=datarootdir ;;
1019  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1020  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1021    datarootdir=$ac_optarg ;;
1022
1023  -disable-* | --disable-*)
1024    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1025    # Reject names that are not valid shell variable names.
1026    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027      as_fn_error $? "invalid feature name: $ac_useropt"
1028    ac_useropt_orig=$ac_useropt
1029    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030    case $ac_user_opts in
1031      *"
1032"enable_$ac_useropt"
1033"*) ;;
1034      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1035	 ac_unrecognized_sep=', ';;
1036    esac
1037    eval enable_$ac_useropt=no ;;
1038
1039  -docdir | --docdir | --docdi | --doc | --do)
1040    ac_prev=docdir ;;
1041  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1042    docdir=$ac_optarg ;;
1043
1044  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1045    ac_prev=dvidir ;;
1046  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1047    dvidir=$ac_optarg ;;
1048
1049  -enable-* | --enable-*)
1050    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1051    # Reject names that are not valid shell variable names.
1052    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1053      as_fn_error $? "invalid feature name: $ac_useropt"
1054    ac_useropt_orig=$ac_useropt
1055    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056    case $ac_user_opts in
1057      *"
1058"enable_$ac_useropt"
1059"*) ;;
1060      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1061	 ac_unrecognized_sep=', ';;
1062    esac
1063    eval enable_$ac_useropt=\$ac_optarg ;;
1064
1065  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1066  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1067  | --exec | --exe | --ex)
1068    ac_prev=exec_prefix ;;
1069  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1070  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1071  | --exec=* | --exe=* | --ex=*)
1072    exec_prefix=$ac_optarg ;;
1073
1074  -gas | --gas | --ga | --g)
1075    # Obsolete; use --with-gas.
1076    with_gas=yes ;;
1077
1078  -help | --help | --hel | --he | -h)
1079    ac_init_help=long ;;
1080  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1081    ac_init_help=recursive ;;
1082  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1083    ac_init_help=short ;;
1084
1085  -host | --host | --hos | --ho)
1086    ac_prev=host_alias ;;
1087  -host=* | --host=* | --hos=* | --ho=*)
1088    host_alias=$ac_optarg ;;
1089
1090  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1091    ac_prev=htmldir ;;
1092  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1093  | --ht=*)
1094    htmldir=$ac_optarg ;;
1095
1096  -includedir | --includedir | --includedi | --included | --include \
1097  | --includ | --inclu | --incl | --inc)
1098    ac_prev=includedir ;;
1099  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1100  | --includ=* | --inclu=* | --incl=* | --inc=*)
1101    includedir=$ac_optarg ;;
1102
1103  -infodir | --infodir | --infodi | --infod | --info | --inf)
1104    ac_prev=infodir ;;
1105  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1106    infodir=$ac_optarg ;;
1107
1108  -libdir | --libdir | --libdi | --libd)
1109    ac_prev=libdir ;;
1110  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1111    libdir=$ac_optarg ;;
1112
1113  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1114  | --libexe | --libex | --libe)
1115    ac_prev=libexecdir ;;
1116  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1117  | --libexe=* | --libex=* | --libe=*)
1118    libexecdir=$ac_optarg ;;
1119
1120  -localedir | --localedir | --localedi | --localed | --locale)
1121    ac_prev=localedir ;;
1122  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1123    localedir=$ac_optarg ;;
1124
1125  -localstatedir | --localstatedir | --localstatedi | --localstated \
1126  | --localstate | --localstat | --localsta | --localst | --locals)
1127    ac_prev=localstatedir ;;
1128  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1129  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1130    localstatedir=$ac_optarg ;;
1131
1132  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1133    ac_prev=mandir ;;
1134  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1135    mandir=$ac_optarg ;;
1136
1137  -nfp | --nfp | --nf)
1138    # Obsolete; use --without-fp.
1139    with_fp=no ;;
1140
1141  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1142  | --no-cr | --no-c | -n)
1143    no_create=yes ;;
1144
1145  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1146  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1147    no_recursion=yes ;;
1148
1149  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1150  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1151  | --oldin | --oldi | --old | --ol | --o)
1152    ac_prev=oldincludedir ;;
1153  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1154  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1155  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1156    oldincludedir=$ac_optarg ;;
1157
1158  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1159    ac_prev=prefix ;;
1160  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1161    prefix=$ac_optarg ;;
1162
1163  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1164  | --program-pre | --program-pr | --program-p)
1165    ac_prev=program_prefix ;;
1166  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1167  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1168    program_prefix=$ac_optarg ;;
1169
1170  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1171  | --program-suf | --program-su | --program-s)
1172    ac_prev=program_suffix ;;
1173  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1174  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1175    program_suffix=$ac_optarg ;;
1176
1177  -program-transform-name | --program-transform-name \
1178  | --program-transform-nam | --program-transform-na \
1179  | --program-transform-n | --program-transform- \
1180  | --program-transform | --program-transfor \
1181  | --program-transfo | --program-transf \
1182  | --program-trans | --program-tran \
1183  | --progr-tra | --program-tr | --program-t)
1184    ac_prev=program_transform_name ;;
1185  -program-transform-name=* | --program-transform-name=* \
1186  | --program-transform-nam=* | --program-transform-na=* \
1187  | --program-transform-n=* | --program-transform-=* \
1188  | --program-transform=* | --program-transfor=* \
1189  | --program-transfo=* | --program-transf=* \
1190  | --program-trans=* | --program-tran=* \
1191  | --progr-tra=* | --program-tr=* | --program-t=*)
1192    program_transform_name=$ac_optarg ;;
1193
1194  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1195    ac_prev=pdfdir ;;
1196  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1197    pdfdir=$ac_optarg ;;
1198
1199  -psdir | --psdir | --psdi | --psd | --ps)
1200    ac_prev=psdir ;;
1201  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1202    psdir=$ac_optarg ;;
1203
1204  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1205  | -silent | --silent | --silen | --sile | --sil)
1206    silent=yes ;;
1207
1208  -runstatedir | --runstatedir | --runstatedi | --runstated \
1209  | --runstate | --runstat | --runsta | --runst | --runs \
1210  | --run | --ru | --r)
1211    ac_prev=runstatedir ;;
1212  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1213  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1214  | --run=* | --ru=* | --r=*)
1215    runstatedir=$ac_optarg ;;
1216
1217  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1218    ac_prev=sbindir ;;
1219  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1220  | --sbi=* | --sb=*)
1221    sbindir=$ac_optarg ;;
1222
1223  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1224  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1225  | --sharedst | --shareds | --shared | --share | --shar \
1226  | --sha | --sh)
1227    ac_prev=sharedstatedir ;;
1228  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1229  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1230  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1231  | --sha=* | --sh=*)
1232    sharedstatedir=$ac_optarg ;;
1233
1234  -site | --site | --sit)
1235    ac_prev=site ;;
1236  -site=* | --site=* | --sit=*)
1237    site=$ac_optarg ;;
1238
1239  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1240    ac_prev=srcdir ;;
1241  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1242    srcdir=$ac_optarg ;;
1243
1244  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1245  | --syscon | --sysco | --sysc | --sys | --sy)
1246    ac_prev=sysconfdir ;;
1247  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1248  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1249    sysconfdir=$ac_optarg ;;
1250
1251  -target | --target | --targe | --targ | --tar | --ta | --t)
1252    ac_prev=target_alias ;;
1253  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1254    target_alias=$ac_optarg ;;
1255
1256  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1257    verbose=yes ;;
1258
1259  -version | --version | --versio | --versi | --vers | -V)
1260    ac_init_version=: ;;
1261
1262  -with-* | --with-*)
1263    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264    # Reject names that are not valid shell variable names.
1265    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266      as_fn_error $? "invalid package name: $ac_useropt"
1267    ac_useropt_orig=$ac_useropt
1268    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269    case $ac_user_opts in
1270      *"
1271"with_$ac_useropt"
1272"*) ;;
1273      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1274	 ac_unrecognized_sep=', ';;
1275    esac
1276    eval with_$ac_useropt=\$ac_optarg ;;
1277
1278  -without-* | --without-*)
1279    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1280    # Reject names that are not valid shell variable names.
1281    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1282      as_fn_error $? "invalid package name: $ac_useropt"
1283    ac_useropt_orig=$ac_useropt
1284    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1285    case $ac_user_opts in
1286      *"
1287"with_$ac_useropt"
1288"*) ;;
1289      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1290	 ac_unrecognized_sep=', ';;
1291    esac
1292    eval with_$ac_useropt=no ;;
1293
1294  --x)
1295    # Obsolete; use --with-x.
1296    with_x=yes ;;
1297
1298  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1299  | --x-incl | --x-inc | --x-in | --x-i)
1300    ac_prev=x_includes ;;
1301  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1302  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1303    x_includes=$ac_optarg ;;
1304
1305  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1306  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1307    ac_prev=x_libraries ;;
1308  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1309  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1310    x_libraries=$ac_optarg ;;
1311
1312  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1313Try \`$0 --help' for more information"
1314    ;;
1315
1316  *=*)
1317    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1318    # Reject names that are not valid shell variable names.
1319    case $ac_envvar in #(
1320      '' | [0-9]* | *[!_$as_cr_alnum]* )
1321      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1322    esac
1323    eval $ac_envvar=\$ac_optarg
1324    export $ac_envvar ;;
1325
1326  *)
1327    # FIXME: should be removed in autoconf 3.0.
1328    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1329    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1330      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1331    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1332    ;;
1333
1334  esac
1335done
1336
1337if test -n "$ac_prev"; then
1338  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1339  as_fn_error $? "missing argument to $ac_option"
1340fi
1341
1342if test -n "$ac_unrecognized_opts"; then
1343  case $enable_option_checking in
1344    no) ;;
1345    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1346    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1347  esac
1348fi
1349
1350# Check all directory arguments for consistency.
1351for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1352		datadir sysconfdir sharedstatedir localstatedir includedir \
1353		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1354		libdir localedir mandir runstatedir
1355do
1356  eval ac_val=\$$ac_var
1357  # Remove trailing slashes.
1358  case $ac_val in
1359    */ )
1360      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1361      eval $ac_var=\$ac_val;;
1362  esac
1363  # Be sure to have absolute directory names.
1364  case $ac_val in
1365    [\\/$]* | ?:[\\/]* )  continue;;
1366    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1367  esac
1368  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1369done
1370
1371# There might be people who depend on the old broken behavior: `$host'
1372# used to hold the argument of --host etc.
1373# FIXME: To remove some day.
1374build=$build_alias
1375host=$host_alias
1376target=$target_alias
1377
1378# FIXME: To remove some day.
1379if test "x$host_alias" != x; then
1380  if test "x$build_alias" = x; then
1381    cross_compiling=maybe
1382  elif test "x$build_alias" != "x$host_alias"; then
1383    cross_compiling=yes
1384  fi
1385fi
1386
1387ac_tool_prefix=
1388test -n "$host_alias" && ac_tool_prefix=$host_alias-
1389
1390test "$silent" = yes && exec 6>/dev/null
1391
1392
1393ac_pwd=`pwd` && test -n "$ac_pwd" &&
1394ac_ls_di=`ls -di .` &&
1395ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1396  as_fn_error $? "working directory cannot be determined"
1397test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1398  as_fn_error $? "pwd does not report name of working directory"
1399
1400
1401# Find the source files, if location was not specified.
1402if test -z "$srcdir"; then
1403  ac_srcdir_defaulted=yes
1404  # Try the directory containing this script, then the parent directory.
1405  ac_confdir=`$as_dirname -- "$as_myself" ||
1406$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1407	 X"$as_myself" : 'X\(//\)[^/]' \| \
1408	 X"$as_myself" : 'X\(//\)$' \| \
1409	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1410$as_echo X"$as_myself" |
1411    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1412	    s//\1/
1413	    q
1414	  }
1415	  /^X\(\/\/\)[^/].*/{
1416	    s//\1/
1417	    q
1418	  }
1419	  /^X\(\/\/\)$/{
1420	    s//\1/
1421	    q
1422	  }
1423	  /^X\(\/\).*/{
1424	    s//\1/
1425	    q
1426	  }
1427	  s/.*/./; q'`
1428  srcdir=$ac_confdir
1429  if test ! -r "$srcdir/$ac_unique_file"; then
1430    srcdir=..
1431  fi
1432else
1433  ac_srcdir_defaulted=no
1434fi
1435if test ! -r "$srcdir/$ac_unique_file"; then
1436  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1437  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1438fi
1439ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1440ac_abs_confdir=`(
1441	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1442	pwd)`
1443# When building in place, set srcdir=.
1444if test "$ac_abs_confdir" = "$ac_pwd"; then
1445  srcdir=.
1446fi
1447# Remove unnecessary trailing slashes from srcdir.
1448# Double slashes in file names in object file debugging info
1449# mess up M-x gdb in Emacs.
1450case $srcdir in
1451*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1452esac
1453for ac_var in $ac_precious_vars; do
1454  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1455  eval ac_env_${ac_var}_value=\$${ac_var}
1456  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1457  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1458done
1459
1460#
1461# Report the --help message.
1462#
1463if test "$ac_init_help" = "long"; then
1464  # Omit some internal or obsolete options to make the list less imposing.
1465  # This message is too long to be a string in the A/UX 3.1 sh.
1466  cat <<_ACEOF
1467\`configure' configures Geany 1.37.1 to adapt to many kinds of systems.
1468
1469Usage: $0 [OPTION]... [VAR=VALUE]...
1470
1471To assign environment variables (e.g., CC, CFLAGS...), specify them as
1472VAR=VALUE.  See below for descriptions of some of the useful variables.
1473
1474Defaults for the options are specified in brackets.
1475
1476Configuration:
1477  -h, --help              display this help and exit
1478      --help=short        display options specific to this package
1479      --help=recursive    display the short help of all the included packages
1480  -V, --version           display version information and exit
1481  -q, --quiet, --silent   do not print \`checking ...' messages
1482      --cache-file=FILE   cache test results in FILE [disabled]
1483  -C, --config-cache      alias for \`--cache-file=config.cache'
1484  -n, --no-create         do not create output files
1485      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1486
1487Installation directories:
1488  --prefix=PREFIX         install architecture-independent files in PREFIX
1489                          [$ac_default_prefix]
1490  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1491                          [PREFIX]
1492
1493By default, \`make install' will install all the files in
1494\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1495an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1496for instance \`--prefix=\$HOME'.
1497
1498For better control, use the options below.
1499
1500Fine tuning of the installation directories:
1501  --bindir=DIR            user executables [EPREFIX/bin]
1502  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1503  --libexecdir=DIR        program executables [EPREFIX/libexec]
1504  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1505  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1506  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1507  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1508  --libdir=DIR            object code libraries [EPREFIX/lib]
1509  --includedir=DIR        C header files [PREFIX/include]
1510  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1511  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1512  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1513  --infodir=DIR           info documentation [DATAROOTDIR/info]
1514  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1515  --mandir=DIR            man documentation [DATAROOTDIR/man]
1516  --docdir=DIR            documentation root [DATAROOTDIR/doc/geany]
1517  --htmldir=DIR           html documentation [DOCDIR]
1518  --dvidir=DIR            dvi documentation [DOCDIR]
1519  --pdfdir=DIR            pdf documentation [DOCDIR]
1520  --psdir=DIR             ps documentation [DOCDIR]
1521_ACEOF
1522
1523  cat <<\_ACEOF
1524
1525Program names:
1526  --program-prefix=PREFIX            prepend PREFIX to installed program names
1527  --program-suffix=SUFFIX            append SUFFIX to installed program names
1528  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1529
1530System types:
1531  --build=BUILD     configure for building on BUILD [guessed]
1532  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1533_ACEOF
1534fi
1535
1536if test -n "$ac_init_help"; then
1537  case $ac_init_help in
1538     short | recursive ) echo "Configuration of Geany 1.37.1:";;
1539   esac
1540  cat <<\_ACEOF
1541
1542Optional Features:
1543  --disable-option-checking  ignore unrecognized --enable/--with options
1544  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1545  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1546  --enable-silent-rules   less verbose build output (undo: "make V=1")
1547  --disable-silent-rules  verbose build output (undo: "make V=0")
1548  --enable-dependency-tracking
1549                          do not reject slow dependency extractors
1550  --disable-dependency-tracking
1551                          speeds up one-time build
1552  --enable-static[=PKGS]  build static libraries [default=no]
1553  --enable-shared[=PKGS]  build shared libraries [default=yes]
1554  --enable-fast-install[=PKGS]
1555                          optimize for fast installation [default=yes]
1556  --disable-libtool-lock  avoid locking (might break parallel builds)
1557  --enable-gtk2           compile against deprecated GTK2 [default=no]
1558  --disable-deprecated    Disable deprecated GTK functions.
1559  --enable-binreloc       compile with binary relocation support [default=no]
1560  --disable-plugins       compile without plugin support [default=no]
1561  --enable-vte            enable if you want virtual terminal support
1562                          [default=yes]
1563  --enable-socket         enable if you want to detect a running instance
1564                          [default=yes]
1565  --enable-mac-integration
1566                          use gtk-mac-integration to enable improved OS X
1567                          integration [default=no]
1568  --enable-the-force      enable if you are Luke Skywalker and the force is
1569                          with you [default=no]
1570  --disable-nls           do not use Native Language Support
1571  --enable-html-docs      generate HTML documentation using rst2html
1572                          [default=auto]
1573  --enable-pdf-docs       generate PDF documentation using rst2pdf
1574                          [default=auto]
1575  --enable-api-docs       generate API documentation using Doxygen
1576                          [default=auto]
1577  --enable-gtkdoc-header  generate the GtkDoc header suitable for GObject
1578                          introspection [default=auto]
1579
1580Optional Packages:
1581  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1582  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1583  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1584                          both]
1585  --with-aix-soname=aix|svr4|both
1586                          shared library versioning (aka "SONAME") variant to
1587                          provide on AIX, [default=aix].
1588  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1589  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1590                          compiler's sysroot if not specified).
1591  --with-vte-module-path=PATH
1592                          Path to a loadable libvte [default=None]
1593  --with-python-command   the default Python command [defaults to "py" on
1594                          Windows and "python" otherwise]
1595
1596Some influential environment variables:
1597  CC          C compiler command
1598  CFLAGS      C compiler flags
1599  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1600              nonstandard directory <lib dir>
1601  LIBS        libraries to pass to the linker, e.g. -l<library>
1602  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1603              you have headers in a nonstandard directory <include dir>
1604  CPP         C preprocessor
1605  LT_SYS_LIBRARY_PATH
1606              User-defined run-time library search path.
1607  CXX         C++ compiler command
1608  CXXFLAGS    C++ compiler flags
1609  CXXCPP      C++ preprocessor
1610  PKG_CONFIG  path to pkg-config utility
1611  PKG_CONFIG_PATH
1612              directories to add to pkg-config's search path
1613  PKG_CONFIG_LIBDIR
1614              path overriding pkg-config's built-in search path
1615  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1616  GTK_LIBS    linker flags for GTK, overriding pkg-config
1617  GTHREAD_CFLAGS
1618              C compiler flags for GTHREAD, overriding pkg-config
1619  GTHREAD_LIBS
1620              linker flags for GTHREAD, overriding pkg-config
1621  MAC_INTEGRATION_CFLAGS
1622              C compiler flags for MAC_INTEGRATION, overriding pkg-config
1623  MAC_INTEGRATION_LIBS
1624              linker flags for MAC_INTEGRATION, overriding pkg-config
1625  RST2HTML    Path to Docutils rst2html executable
1626  RST2PDF     Path to Docutils rst2pdf executable
1627  DOXYGEN     Path to Doxygen executable
1628  PYTHON      the Python interpreter
1629
1630Use these variables to override the choices made by `configure' or to help
1631it to find libraries and programs with nonstandard names/locations.
1632
1633Report bugs to <https://github.com/geany/geany/issues>.
1634_ACEOF
1635ac_status=$?
1636fi
1637
1638if test "$ac_init_help" = "recursive"; then
1639  # If there are subdirs, report their specific --help.
1640  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1641    test -d "$ac_dir" ||
1642      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1643      continue
1644    ac_builddir=.
1645
1646case "$ac_dir" in
1647.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1648*)
1649  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1650  # A ".." for each directory in $ac_dir_suffix.
1651  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1652  case $ac_top_builddir_sub in
1653  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1654  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1655  esac ;;
1656esac
1657ac_abs_top_builddir=$ac_pwd
1658ac_abs_builddir=$ac_pwd$ac_dir_suffix
1659# for backward compatibility:
1660ac_top_builddir=$ac_top_build_prefix
1661
1662case $srcdir in
1663  .)  # We are building in place.
1664    ac_srcdir=.
1665    ac_top_srcdir=$ac_top_builddir_sub
1666    ac_abs_top_srcdir=$ac_pwd ;;
1667  [\\/]* | ?:[\\/]* )  # Absolute name.
1668    ac_srcdir=$srcdir$ac_dir_suffix;
1669    ac_top_srcdir=$srcdir
1670    ac_abs_top_srcdir=$srcdir ;;
1671  *) # Relative name.
1672    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1673    ac_top_srcdir=$ac_top_build_prefix$srcdir
1674    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1675esac
1676ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1677
1678    cd "$ac_dir" || { ac_status=$?; continue; }
1679    # Check for guested configure.
1680    if test -f "$ac_srcdir/configure.gnu"; then
1681      echo &&
1682      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1683    elif test -f "$ac_srcdir/configure"; then
1684      echo &&
1685      $SHELL "$ac_srcdir/configure" --help=recursive
1686    else
1687      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1688    fi || ac_status=$?
1689    cd "$ac_pwd" || { ac_status=$?; break; }
1690  done
1691fi
1692
1693test -n "$ac_init_help" && exit $ac_status
1694if $ac_init_version; then
1695  cat <<\_ACEOF
1696Geany configure 1.37.1
1697generated by GNU Autoconf 2.69
1698
1699Copyright (C) 2012 Free Software Foundation, Inc.
1700This configure script is free software; the Free Software Foundation
1701gives unlimited permission to copy, distribute and modify it.
1702_ACEOF
1703  exit
1704fi
1705
1706## ------------------------ ##
1707## Autoconf initialization. ##
1708## ------------------------ ##
1709
1710# ac_fn_c_try_compile LINENO
1711# --------------------------
1712# Try to compile conftest.$ac_ext, and return whether this succeeded.
1713ac_fn_c_try_compile ()
1714{
1715  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716  rm -f conftest.$ac_objext
1717  if { { ac_try="$ac_compile"
1718case "(($ac_try" in
1719  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720  *) ac_try_echo=$ac_try;;
1721esac
1722eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723$as_echo "$ac_try_echo"; } >&5
1724  (eval "$ac_compile") 2>conftest.err
1725  ac_status=$?
1726  if test -s conftest.err; then
1727    grep -v '^ *+' conftest.err >conftest.er1
1728    cat conftest.er1 >&5
1729    mv -f conftest.er1 conftest.err
1730  fi
1731  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732  test $ac_status = 0; } && {
1733	 test -z "$ac_c_werror_flag" ||
1734	 test ! -s conftest.err
1735       } && test -s conftest.$ac_objext; then :
1736  ac_retval=0
1737else
1738  $as_echo "$as_me: failed program was:" >&5
1739sed 's/^/| /' conftest.$ac_ext >&5
1740
1741	ac_retval=1
1742fi
1743  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744  as_fn_set_status $ac_retval
1745
1746} # ac_fn_c_try_compile
1747
1748# ac_fn_c_try_cpp LINENO
1749# ----------------------
1750# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1751ac_fn_c_try_cpp ()
1752{
1753  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754  if { { ac_try="$ac_cpp conftest.$ac_ext"
1755case "(($ac_try" in
1756  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1757  *) ac_try_echo=$ac_try;;
1758esac
1759eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760$as_echo "$ac_try_echo"; } >&5
1761  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1762  ac_status=$?
1763  if test -s conftest.err; then
1764    grep -v '^ *+' conftest.err >conftest.er1
1765    cat conftest.er1 >&5
1766    mv -f conftest.er1 conftest.err
1767  fi
1768  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769  test $ac_status = 0; } > conftest.i && {
1770	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1771	 test ! -s conftest.err
1772       }; then :
1773  ac_retval=0
1774else
1775  $as_echo "$as_me: failed program was:" >&5
1776sed 's/^/| /' conftest.$ac_ext >&5
1777
1778    ac_retval=1
1779fi
1780  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781  as_fn_set_status $ac_retval
1782
1783} # ac_fn_c_try_cpp
1784
1785# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1786# -------------------------------------------------------
1787# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1788# the include files in INCLUDES and setting the cache variable VAR
1789# accordingly.
1790ac_fn_c_check_header_mongrel ()
1791{
1792  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793  if eval \${$3+:} false; then :
1794  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1795$as_echo_n "checking for $2... " >&6; }
1796if eval \${$3+:} false; then :
1797  $as_echo_n "(cached) " >&6
1798fi
1799eval ac_res=\$$3
1800	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801$as_echo "$ac_res" >&6; }
1802else
1803  # Is the header compilable?
1804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1805$as_echo_n "checking $2 usability... " >&6; }
1806cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807/* end confdefs.h.  */
1808$4
1809#include <$2>
1810_ACEOF
1811if ac_fn_c_try_compile "$LINENO"; then :
1812  ac_header_compiler=yes
1813else
1814  ac_header_compiler=no
1815fi
1816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1818$as_echo "$ac_header_compiler" >&6; }
1819
1820# Is the header present?
1821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1822$as_echo_n "checking $2 presence... " >&6; }
1823cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824/* end confdefs.h.  */
1825#include <$2>
1826_ACEOF
1827if ac_fn_c_try_cpp "$LINENO"; then :
1828  ac_header_preproc=yes
1829else
1830  ac_header_preproc=no
1831fi
1832rm -f conftest.err conftest.i conftest.$ac_ext
1833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1834$as_echo "$ac_header_preproc" >&6; }
1835
1836# So?  What about this header?
1837case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1838  yes:no: )
1839    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1840$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1841    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1842$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1843    ;;
1844  no:yes:* )
1845    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1846$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1847    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1848$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1849    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1850$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1852$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1853    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1854$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1855( $as_echo "## ---------------------------------------------------- ##
1856## Report this to https://github.com/geany/geany/issues ##
1857## ---------------------------------------------------- ##"
1858     ) | sed "s/^/$as_me: WARNING:     /" >&2
1859    ;;
1860esac
1861  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862$as_echo_n "checking for $2... " >&6; }
1863if eval \${$3+:} false; then :
1864  $as_echo_n "(cached) " >&6
1865else
1866  eval "$3=\$ac_header_compiler"
1867fi
1868eval ac_res=\$$3
1869	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870$as_echo "$ac_res" >&6; }
1871fi
1872  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873
1874} # ac_fn_c_check_header_mongrel
1875
1876# ac_fn_c_try_run LINENO
1877# ----------------------
1878# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1879# that executables *can* be run.
1880ac_fn_c_try_run ()
1881{
1882  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883  if { { ac_try="$ac_link"
1884case "(($ac_try" in
1885  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886  *) ac_try_echo=$ac_try;;
1887esac
1888eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889$as_echo "$ac_try_echo"; } >&5
1890  (eval "$ac_link") 2>&5
1891  ac_status=$?
1892  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1894  { { case "(($ac_try" in
1895  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1896  *) ac_try_echo=$ac_try;;
1897esac
1898eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899$as_echo "$ac_try_echo"; } >&5
1900  (eval "$ac_try") 2>&5
1901  ac_status=$?
1902  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903  test $ac_status = 0; }; }; then :
1904  ac_retval=0
1905else
1906  $as_echo "$as_me: program exited with status $ac_status" >&5
1907       $as_echo "$as_me: failed program was:" >&5
1908sed 's/^/| /' conftest.$ac_ext >&5
1909
1910       ac_retval=$ac_status
1911fi
1912  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1913  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914  as_fn_set_status $ac_retval
1915
1916} # ac_fn_c_try_run
1917
1918# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1919# -------------------------------------------------------
1920# Tests whether HEADER exists and can be compiled using the include files in
1921# INCLUDES, setting the cache variable VAR accordingly.
1922ac_fn_c_check_header_compile ()
1923{
1924  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926$as_echo_n "checking for $2... " >&6; }
1927if eval \${$3+:} false; then :
1928  $as_echo_n "(cached) " >&6
1929else
1930  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931/* end confdefs.h.  */
1932$4
1933#include <$2>
1934_ACEOF
1935if ac_fn_c_try_compile "$LINENO"; then :
1936  eval "$3=yes"
1937else
1938  eval "$3=no"
1939fi
1940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1941fi
1942eval ac_res=\$$3
1943	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944$as_echo "$ac_res" >&6; }
1945  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1946
1947} # ac_fn_c_check_header_compile
1948
1949# ac_fn_c_try_link LINENO
1950# -----------------------
1951# Try to link conftest.$ac_ext, and return whether this succeeded.
1952ac_fn_c_try_link ()
1953{
1954  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955  rm -f conftest.$ac_objext conftest$ac_exeext
1956  if { { ac_try="$ac_link"
1957case "(($ac_try" in
1958  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1959  *) ac_try_echo=$ac_try;;
1960esac
1961eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962$as_echo "$ac_try_echo"; } >&5
1963  (eval "$ac_link") 2>conftest.err
1964  ac_status=$?
1965  if test -s conftest.err; then
1966    grep -v '^ *+' conftest.err >conftest.er1
1967    cat conftest.er1 >&5
1968    mv -f conftest.er1 conftest.err
1969  fi
1970  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1971  test $ac_status = 0; } && {
1972	 test -z "$ac_c_werror_flag" ||
1973	 test ! -s conftest.err
1974       } && test -s conftest$ac_exeext && {
1975	 test "$cross_compiling" = yes ||
1976	 test -x conftest$ac_exeext
1977       }; then :
1978  ac_retval=0
1979else
1980  $as_echo "$as_me: failed program was:" >&5
1981sed 's/^/| /' conftest.$ac_ext >&5
1982
1983	ac_retval=1
1984fi
1985  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1986  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1987  # interfere with the next link command; also delete a directory that is
1988  # left behind by Apple's compiler.  We do this before executing the actions.
1989  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1990  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1991  as_fn_set_status $ac_retval
1992
1993} # ac_fn_c_try_link
1994
1995# ac_fn_c_check_func LINENO FUNC VAR
1996# ----------------------------------
1997# Tests whether FUNC exists, setting the cache variable VAR accordingly
1998ac_fn_c_check_func ()
1999{
2000  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2001  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2002$as_echo_n "checking for $2... " >&6; }
2003if eval \${$3+:} false; then :
2004  $as_echo_n "(cached) " >&6
2005else
2006  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007/* end confdefs.h.  */
2008/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2009   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2010#define $2 innocuous_$2
2011
2012/* System header to define __stub macros and hopefully few prototypes,
2013    which can conflict with char $2 (); below.
2014    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2015    <limits.h> exists even on freestanding compilers.  */
2016
2017#ifdef __STDC__
2018# include <limits.h>
2019#else
2020# include <assert.h>
2021#endif
2022
2023#undef $2
2024
2025/* Override any GCC internal prototype to avoid an error.
2026   Use char because int might match the return type of a GCC
2027   builtin and then its argument prototype would still apply.  */
2028#ifdef __cplusplus
2029extern "C"
2030#endif
2031char $2 ();
2032/* The GNU C library defines this for functions which it implements
2033    to always fail with ENOSYS.  Some functions are actually named
2034    something starting with __ and the normal name is an alias.  */
2035#if defined __stub_$2 || defined __stub___$2
2036choke me
2037#endif
2038
2039int
2040main ()
2041{
2042return $2 ();
2043  ;
2044  return 0;
2045}
2046_ACEOF
2047if ac_fn_c_try_link "$LINENO"; then :
2048  eval "$3=yes"
2049else
2050  eval "$3=no"
2051fi
2052rm -f core conftest.err conftest.$ac_objext \
2053    conftest$ac_exeext conftest.$ac_ext
2054fi
2055eval ac_res=\$$3
2056	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2057$as_echo "$ac_res" >&6; }
2058  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2059
2060} # ac_fn_c_check_func
2061
2062# ac_fn_cxx_try_compile LINENO
2063# ----------------------------
2064# Try to compile conftest.$ac_ext, and return whether this succeeded.
2065ac_fn_cxx_try_compile ()
2066{
2067  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068  rm -f conftest.$ac_objext
2069  if { { ac_try="$ac_compile"
2070case "(($ac_try" in
2071  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2072  *) ac_try_echo=$ac_try;;
2073esac
2074eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2075$as_echo "$ac_try_echo"; } >&5
2076  (eval "$ac_compile") 2>conftest.err
2077  ac_status=$?
2078  if test -s conftest.err; then
2079    grep -v '^ *+' conftest.err >conftest.er1
2080    cat conftest.er1 >&5
2081    mv -f conftest.er1 conftest.err
2082  fi
2083  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2084  test $ac_status = 0; } && {
2085	 test -z "$ac_cxx_werror_flag" ||
2086	 test ! -s conftest.err
2087       } && test -s conftest.$ac_objext; then :
2088  ac_retval=0
2089else
2090  $as_echo "$as_me: failed program was:" >&5
2091sed 's/^/| /' conftest.$ac_ext >&5
2092
2093	ac_retval=1
2094fi
2095  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2096  as_fn_set_status $ac_retval
2097
2098} # ac_fn_cxx_try_compile
2099
2100# ac_fn_cxx_try_cpp LINENO
2101# ------------------------
2102# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2103ac_fn_cxx_try_cpp ()
2104{
2105  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2106  if { { ac_try="$ac_cpp conftest.$ac_ext"
2107case "(($ac_try" in
2108  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2109  *) ac_try_echo=$ac_try;;
2110esac
2111eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2112$as_echo "$ac_try_echo"; } >&5
2113  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2114  ac_status=$?
2115  if test -s conftest.err; then
2116    grep -v '^ *+' conftest.err >conftest.er1
2117    cat conftest.er1 >&5
2118    mv -f conftest.er1 conftest.err
2119  fi
2120  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2121  test $ac_status = 0; } > conftest.i && {
2122	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2123	 test ! -s conftest.err
2124       }; then :
2125  ac_retval=0
2126else
2127  $as_echo "$as_me: failed program was:" >&5
2128sed 's/^/| /' conftest.$ac_ext >&5
2129
2130    ac_retval=1
2131fi
2132  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133  as_fn_set_status $ac_retval
2134
2135} # ac_fn_cxx_try_cpp
2136
2137# ac_fn_cxx_try_link LINENO
2138# -------------------------
2139# Try to link conftest.$ac_ext, and return whether this succeeded.
2140ac_fn_cxx_try_link ()
2141{
2142  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143  rm -f conftest.$ac_objext conftest$ac_exeext
2144  if { { ac_try="$ac_link"
2145case "(($ac_try" in
2146  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2147  *) ac_try_echo=$ac_try;;
2148esac
2149eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2150$as_echo "$ac_try_echo"; } >&5
2151  (eval "$ac_link") 2>conftest.err
2152  ac_status=$?
2153  if test -s conftest.err; then
2154    grep -v '^ *+' conftest.err >conftest.er1
2155    cat conftest.er1 >&5
2156    mv -f conftest.er1 conftest.err
2157  fi
2158  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2159  test $ac_status = 0; } && {
2160	 test -z "$ac_cxx_werror_flag" ||
2161	 test ! -s conftest.err
2162       } && test -s conftest$ac_exeext && {
2163	 test "$cross_compiling" = yes ||
2164	 test -x conftest$ac_exeext
2165       }; then :
2166  ac_retval=0
2167else
2168  $as_echo "$as_me: failed program was:" >&5
2169sed 's/^/| /' conftest.$ac_ext >&5
2170
2171	ac_retval=1
2172fi
2173  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2174  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2175  # interfere with the next link command; also delete a directory that is
2176  # left behind by Apple's compiler.  We do this before executing the actions.
2177  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2178  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179  as_fn_set_status $ac_retval
2180
2181} # ac_fn_cxx_try_link
2182
2183# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2184# -------------------------------------------
2185# Tests whether TYPE exists after having included INCLUDES, setting cache
2186# variable VAR accordingly.
2187ac_fn_c_check_type ()
2188{
2189  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2190  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2191$as_echo_n "checking for $2... " >&6; }
2192if eval \${$3+:} false; then :
2193  $as_echo_n "(cached) " >&6
2194else
2195  eval "$3=no"
2196  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197/* end confdefs.h.  */
2198$4
2199int
2200main ()
2201{
2202if (sizeof ($2))
2203	 return 0;
2204  ;
2205  return 0;
2206}
2207_ACEOF
2208if ac_fn_c_try_compile "$LINENO"; then :
2209  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210/* end confdefs.h.  */
2211$4
2212int
2213main ()
2214{
2215if (sizeof (($2)))
2216	    return 0;
2217  ;
2218  return 0;
2219}
2220_ACEOF
2221if ac_fn_c_try_compile "$LINENO"; then :
2222
2223else
2224  eval "$3=yes"
2225fi
2226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227fi
2228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229fi
2230eval ac_res=\$$3
2231	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2232$as_echo "$ac_res" >&6; }
2233  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2234
2235} # ac_fn_c_check_type
2236
2237# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2238# ---------------------------------------------
2239# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2240# accordingly.
2241ac_fn_c_check_decl ()
2242{
2243  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2244  as_decl_name=`echo $2|sed 's/ *(.*//'`
2245  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2246  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2247$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2248if eval \${$3+:} false; then :
2249  $as_echo_n "(cached) " >&6
2250else
2251  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2252/* end confdefs.h.  */
2253$4
2254int
2255main ()
2256{
2257#ifndef $as_decl_name
2258#ifdef __cplusplus
2259  (void) $as_decl_use;
2260#else
2261  (void) $as_decl_name;
2262#endif
2263#endif
2264
2265  ;
2266  return 0;
2267}
2268_ACEOF
2269if ac_fn_c_try_compile "$LINENO"; then :
2270  eval "$3=yes"
2271else
2272  eval "$3=no"
2273fi
2274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2275fi
2276eval ac_res=\$$3
2277	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2278$as_echo "$ac_res" >&6; }
2279  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2280
2281} # ac_fn_c_check_decl
2282cat >config.log <<_ACEOF
2283This file contains any messages produced by compilers while
2284running configure, to aid debugging if configure makes a mistake.
2285
2286It was created by Geany $as_me 1.37.1, which was
2287generated by GNU Autoconf 2.69.  Invocation command line was
2288
2289  $ $0 $@
2290
2291_ACEOF
2292exec 5>>config.log
2293{
2294cat <<_ASUNAME
2295## --------- ##
2296## Platform. ##
2297## --------- ##
2298
2299hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2300uname -m = `(uname -m) 2>/dev/null || echo unknown`
2301uname -r = `(uname -r) 2>/dev/null || echo unknown`
2302uname -s = `(uname -s) 2>/dev/null || echo unknown`
2303uname -v = `(uname -v) 2>/dev/null || echo unknown`
2304
2305/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2306/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2307
2308/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2309/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2310/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2311/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2312/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2313/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2314/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2315
2316_ASUNAME
2317
2318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2319for as_dir in $PATH
2320do
2321  IFS=$as_save_IFS
2322  test -z "$as_dir" && as_dir=.
2323    $as_echo "PATH: $as_dir"
2324  done
2325IFS=$as_save_IFS
2326
2327} >&5
2328
2329cat >&5 <<_ACEOF
2330
2331
2332## ----------- ##
2333## Core tests. ##
2334## ----------- ##
2335
2336_ACEOF
2337
2338
2339# Keep a trace of the command line.
2340# Strip out --no-create and --no-recursion so they do not pile up.
2341# Strip out --silent because we don't want to record it for future runs.
2342# Also quote any args containing shell meta-characters.
2343# Make two passes to allow for proper duplicate-argument suppression.
2344ac_configure_args=
2345ac_configure_args0=
2346ac_configure_args1=
2347ac_must_keep_next=false
2348for ac_pass in 1 2
2349do
2350  for ac_arg
2351  do
2352    case $ac_arg in
2353    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2354    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2355    | -silent | --silent | --silen | --sile | --sil)
2356      continue ;;
2357    *\'*)
2358      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2359    esac
2360    case $ac_pass in
2361    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2362    2)
2363      as_fn_append ac_configure_args1 " '$ac_arg'"
2364      if test $ac_must_keep_next = true; then
2365	ac_must_keep_next=false # Got value, back to normal.
2366      else
2367	case $ac_arg in
2368	  *=* | --config-cache | -C | -disable-* | --disable-* \
2369	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2370	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2371	  | -with-* | --with-* | -without-* | --without-* | --x)
2372	    case "$ac_configure_args0 " in
2373	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2374	    esac
2375	    ;;
2376	  -* ) ac_must_keep_next=true ;;
2377	esac
2378      fi
2379      as_fn_append ac_configure_args " '$ac_arg'"
2380      ;;
2381    esac
2382  done
2383done
2384{ ac_configure_args0=; unset ac_configure_args0;}
2385{ ac_configure_args1=; unset ac_configure_args1;}
2386
2387# When interrupted or exit'd, cleanup temporary files, and complete
2388# config.log.  We remove comments because anyway the quotes in there
2389# would cause problems or look ugly.
2390# WARNING: Use '\'' to represent an apostrophe within the trap.
2391# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2392trap 'exit_status=$?
2393  # Save into config.log some information that might help in debugging.
2394  {
2395    echo
2396
2397    $as_echo "## ---------------- ##
2398## Cache variables. ##
2399## ---------------- ##"
2400    echo
2401    # The following way of writing the cache mishandles newlines in values,
2402(
2403  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2404    eval ac_val=\$$ac_var
2405    case $ac_val in #(
2406    *${as_nl}*)
2407      case $ac_var in #(
2408      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2409$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2410      esac
2411      case $ac_var in #(
2412      _ | IFS | as_nl) ;; #(
2413      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2414      *) { eval $ac_var=; unset $ac_var;} ;;
2415      esac ;;
2416    esac
2417  done
2418  (set) 2>&1 |
2419    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2420    *${as_nl}ac_space=\ *)
2421      sed -n \
2422	"s/'\''/'\''\\\\'\'''\''/g;
2423	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2424      ;; #(
2425    *)
2426      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2427      ;;
2428    esac |
2429    sort
2430)
2431    echo
2432
2433    $as_echo "## ----------------- ##
2434## Output variables. ##
2435## ----------------- ##"
2436    echo
2437    for ac_var in $ac_subst_vars
2438    do
2439      eval ac_val=\$$ac_var
2440      case $ac_val in
2441      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2442      esac
2443      $as_echo "$ac_var='\''$ac_val'\''"
2444    done | sort
2445    echo
2446
2447    if test -n "$ac_subst_files"; then
2448      $as_echo "## ------------------- ##
2449## File substitutions. ##
2450## ------------------- ##"
2451      echo
2452      for ac_var in $ac_subst_files
2453      do
2454	eval ac_val=\$$ac_var
2455	case $ac_val in
2456	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2457	esac
2458	$as_echo "$ac_var='\''$ac_val'\''"
2459      done | sort
2460      echo
2461    fi
2462
2463    if test -s confdefs.h; then
2464      $as_echo "## ----------- ##
2465## confdefs.h. ##
2466## ----------- ##"
2467      echo
2468      cat confdefs.h
2469      echo
2470    fi
2471    test "$ac_signal" != 0 &&
2472      $as_echo "$as_me: caught signal $ac_signal"
2473    $as_echo "$as_me: exit $exit_status"
2474  } >&5
2475  rm -f core *.core core.conftest.* &&
2476    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2477    exit $exit_status
2478' 0
2479for ac_signal in 1 2 13 15; do
2480  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2481done
2482ac_signal=0
2483
2484# confdefs.h avoids OS command line length limits that DEFS can exceed.
2485rm -f -r conftest* confdefs.h
2486
2487$as_echo "/* confdefs.h */" > confdefs.h
2488
2489# Predefined preprocessor variables.
2490
2491cat >>confdefs.h <<_ACEOF
2492#define PACKAGE_NAME "$PACKAGE_NAME"
2493_ACEOF
2494
2495cat >>confdefs.h <<_ACEOF
2496#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2497_ACEOF
2498
2499cat >>confdefs.h <<_ACEOF
2500#define PACKAGE_VERSION "$PACKAGE_VERSION"
2501_ACEOF
2502
2503cat >>confdefs.h <<_ACEOF
2504#define PACKAGE_STRING "$PACKAGE_STRING"
2505_ACEOF
2506
2507cat >>confdefs.h <<_ACEOF
2508#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2509_ACEOF
2510
2511cat >>confdefs.h <<_ACEOF
2512#define PACKAGE_URL "$PACKAGE_URL"
2513_ACEOF
2514
2515
2516# Let the site file select an alternate cache file if it wants to.
2517# Prefer an explicitly selected file to automatically selected ones.
2518ac_site_file1=NONE
2519ac_site_file2=NONE
2520if test -n "$CONFIG_SITE"; then
2521  # We do not want a PATH search for config.site.
2522  case $CONFIG_SITE in #((
2523    -*)  ac_site_file1=./$CONFIG_SITE;;
2524    */*) ac_site_file1=$CONFIG_SITE;;
2525    *)   ac_site_file1=./$CONFIG_SITE;;
2526  esac
2527elif test "x$prefix" != xNONE; then
2528  ac_site_file1=$prefix/share/config.site
2529  ac_site_file2=$prefix/etc/config.site
2530else
2531  ac_site_file1=$ac_default_prefix/share/config.site
2532  ac_site_file2=$ac_default_prefix/etc/config.site
2533fi
2534for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2535do
2536  test "x$ac_site_file" = xNONE && continue
2537  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2538    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2539$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2540    sed 's/^/| /' "$ac_site_file" >&5
2541    . "$ac_site_file" \
2542      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2543$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2544as_fn_error $? "failed to load site script $ac_site_file
2545See \`config.log' for more details" "$LINENO" 5; }
2546  fi
2547done
2548
2549if test -r "$cache_file"; then
2550  # Some versions of bash will fail to source /dev/null (special files
2551  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2552  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2553    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2554$as_echo "$as_me: loading cache $cache_file" >&6;}
2555    case $cache_file in
2556      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2557      *)                      . "./$cache_file";;
2558    esac
2559  fi
2560else
2561  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2562$as_echo "$as_me: creating cache $cache_file" >&6;}
2563  >$cache_file
2564fi
2565
2566# Check that the precious variables saved in the cache have kept the same
2567# value.
2568ac_cache_corrupted=false
2569for ac_var in $ac_precious_vars; do
2570  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2571  eval ac_new_set=\$ac_env_${ac_var}_set
2572  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2573  eval ac_new_val=\$ac_env_${ac_var}_value
2574  case $ac_old_set,$ac_new_set in
2575    set,)
2576      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2577$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2578      ac_cache_corrupted=: ;;
2579    ,set)
2580      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2581$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2582      ac_cache_corrupted=: ;;
2583    ,);;
2584    *)
2585      if test "x$ac_old_val" != "x$ac_new_val"; then
2586	# differences in whitespace do not lead to failure.
2587	ac_old_val_w=`echo x $ac_old_val`
2588	ac_new_val_w=`echo x $ac_new_val`
2589	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2590	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2591$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2592	  ac_cache_corrupted=:
2593	else
2594	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2595$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2596	  eval $ac_var=\$ac_old_val
2597	fi
2598	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2599$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2600	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2601$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2602      fi;;
2603  esac
2604  # Pass precious variables to config.status.
2605  if test "$ac_new_set" = set; then
2606    case $ac_new_val in
2607    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2608    *) ac_arg=$ac_var=$ac_new_val ;;
2609    esac
2610    case " $ac_configure_args " in
2611      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2612      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2613    esac
2614  fi
2615done
2616if $ac_cache_corrupted; then
2617  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2618$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2619  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2620$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2621  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2622fi
2623## -------------------- ##
2624## Main body of script. ##
2625## -------------------- ##
2626
2627ac_ext=c
2628ac_cpp='$CPP $CPPFLAGS'
2629ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2630ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2631ac_compiler_gnu=$ac_cv_c_compiler_gnu
2632
2633
2634
2635ac_aux_dir=
2636for ac_dir in build-aux "$srcdir"/build-aux; do
2637  if test -f "$ac_dir/install-sh"; then
2638    ac_aux_dir=$ac_dir
2639    ac_install_sh="$ac_aux_dir/install-sh -c"
2640    break
2641  elif test -f "$ac_dir/install.sh"; then
2642    ac_aux_dir=$ac_dir
2643    ac_install_sh="$ac_aux_dir/install.sh -c"
2644    break
2645  elif test -f "$ac_dir/shtool"; then
2646    ac_aux_dir=$ac_dir
2647    ac_install_sh="$ac_aux_dir/shtool install -c"
2648    break
2649  fi
2650done
2651if test -z "$ac_aux_dir"; then
2652  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2653fi
2654
2655# These three variables are undocumented and unsupported,
2656# and are intended to be withdrawn in a future Autoconf release.
2657# They can cause serious problems if a builder's source tree is in a directory
2658# whose full name contains unusual characters.
2659ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2660ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2661ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2662
2663
2664
2665am__api_version='1.16'
2666
2667# Find a good install program.  We prefer a C program (faster),
2668# so one script is as good as another.  But avoid the broken or
2669# incompatible versions:
2670# SysV /etc/install, /usr/sbin/install
2671# SunOS /usr/etc/install
2672# IRIX /sbin/install
2673# AIX /bin/install
2674# AmigaOS /C/install, which installs bootblocks on floppy discs
2675# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2676# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2677# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2678# OS/2's system install, which has a completely different semantic
2679# ./install, which can be erroneously created by make from ./install.sh.
2680# Reject install programs that cannot install multiple files.
2681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2682$as_echo_n "checking for a BSD-compatible install... " >&6; }
2683if test -z "$INSTALL"; then
2684if ${ac_cv_path_install+:} false; then :
2685  $as_echo_n "(cached) " >&6
2686else
2687  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2688for as_dir in $PATH
2689do
2690  IFS=$as_save_IFS
2691  test -z "$as_dir" && as_dir=.
2692    # Account for people who put trailing slashes in PATH elements.
2693case $as_dir/ in #((
2694  ./ | .// | /[cC]/* | \
2695  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2696  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2697  /usr/ucb/* ) ;;
2698  *)
2699    # OSF1 and SCO ODT 3.0 have their own names for install.
2700    # Don't use installbsd from OSF since it installs stuff as root
2701    # by default.
2702    for ac_prog in ginstall scoinst install; do
2703      for ac_exec_ext in '' $ac_executable_extensions; do
2704	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2705	  if test $ac_prog = install &&
2706	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2707	    # AIX install.  It has an incompatible calling convention.
2708	    :
2709	  elif test $ac_prog = install &&
2710	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2711	    # program-specific install script used by HP pwplus--don't use.
2712	    :
2713	  else
2714	    rm -rf conftest.one conftest.two conftest.dir
2715	    echo one > conftest.one
2716	    echo two > conftest.two
2717	    mkdir conftest.dir
2718	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2719	      test -s conftest.one && test -s conftest.two &&
2720	      test -s conftest.dir/conftest.one &&
2721	      test -s conftest.dir/conftest.two
2722	    then
2723	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2724	      break 3
2725	    fi
2726	  fi
2727	fi
2728      done
2729    done
2730    ;;
2731esac
2732
2733  done
2734IFS=$as_save_IFS
2735
2736rm -rf conftest.one conftest.two conftest.dir
2737
2738fi
2739  if test "${ac_cv_path_install+set}" = set; then
2740    INSTALL=$ac_cv_path_install
2741  else
2742    # As a last resort, use the slow shell script.  Don't cache a
2743    # value for INSTALL within a source directory, because that will
2744    # break other packages using the cache if that directory is
2745    # removed, or if the value is a relative name.
2746    INSTALL=$ac_install_sh
2747  fi
2748fi
2749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2750$as_echo "$INSTALL" >&6; }
2751
2752# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2753# It thinks the first close brace ends the variable substitution.
2754test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2755
2756test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2757
2758test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2759
2760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2761$as_echo_n "checking whether build environment is sane... " >&6; }
2762# Reject unsafe characters in $srcdir or the absolute working directory
2763# name.  Accept space and tab only in the latter.
2764am_lf='
2765'
2766case `pwd` in
2767  *[\\\"\#\$\&\'\`$am_lf]*)
2768    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2769esac
2770case $srcdir in
2771  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2772    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2773esac
2774
2775# Do 'set' in a subshell so we don't clobber the current shell's
2776# arguments.  Must try -L first in case configure is actually a
2777# symlink; some systems play weird games with the mod time of symlinks
2778# (eg FreeBSD returns the mod time of the symlink's containing
2779# directory).
2780if (
2781   am_has_slept=no
2782   for am_try in 1 2; do
2783     echo "timestamp, slept: $am_has_slept" > conftest.file
2784     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2785     if test "$*" = "X"; then
2786	# -L didn't work.
2787	set X `ls -t "$srcdir/configure" conftest.file`
2788     fi
2789     if test "$*" != "X $srcdir/configure conftest.file" \
2790	&& test "$*" != "X conftest.file $srcdir/configure"; then
2791
2792	# If neither matched, then we have a broken ls.  This can happen
2793	# if, for instance, CONFIG_SHELL is bash and it inherits a
2794	# broken ls alias from the environment.  This has actually
2795	# happened.  Such a system could not be considered "sane".
2796	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2797  alias in your environment" "$LINENO" 5
2798     fi
2799     if test "$2" = conftest.file || test $am_try -eq 2; then
2800       break
2801     fi
2802     # Just in case.
2803     sleep 1
2804     am_has_slept=yes
2805   done
2806   test "$2" = conftest.file
2807   )
2808then
2809   # Ok.
2810   :
2811else
2812   as_fn_error $? "newly created file is older than distributed files!
2813Check your system clock" "$LINENO" 5
2814fi
2815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2816$as_echo "yes" >&6; }
2817# If we didn't sleep, we still need to ensure time stamps of config.status and
2818# generated files are strictly newer.
2819am_sleep_pid=
2820if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2821  ( sleep 1 ) &
2822  am_sleep_pid=$!
2823fi
2824
2825rm -f conftest.file
2826
2827test "$program_prefix" != NONE &&
2828  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2829# Use a double $ so make ignores it.
2830test "$program_suffix" != NONE &&
2831  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2832# Double any \ or $.
2833# By default was `s,x,x', remove it if useless.
2834ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2835program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2836
2837# Expand $ac_aux_dir to an absolute path.
2838am_aux_dir=`cd "$ac_aux_dir" && pwd`
2839
2840if test x"${MISSING+set}" != xset; then
2841  case $am_aux_dir in
2842  *\ * | *\	*)
2843    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2844  *)
2845    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2846  esac
2847fi
2848# Use eval to expand $SHELL
2849if eval "$MISSING --is-lightweight"; then
2850  am_missing_run="$MISSING "
2851else
2852  am_missing_run=
2853  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2854$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2855fi
2856
2857if test x"${install_sh+set}" != xset; then
2858  case $am_aux_dir in
2859  *\ * | *\	*)
2860    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2861  *)
2862    install_sh="\${SHELL} $am_aux_dir/install-sh"
2863  esac
2864fi
2865
2866# Installed binaries are usually stripped using 'strip' when the user
2867# run "make install-strip".  However 'strip' might not be the right
2868# tool to use in cross-compilation environments, therefore Automake
2869# will honor the 'STRIP' environment variable to overrule this program.
2870if test "$cross_compiling" != no; then
2871  if test -n "$ac_tool_prefix"; then
2872  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2873set dummy ${ac_tool_prefix}strip; ac_word=$2
2874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2875$as_echo_n "checking for $ac_word... " >&6; }
2876if ${ac_cv_prog_STRIP+:} false; then :
2877  $as_echo_n "(cached) " >&6
2878else
2879  if test -n "$STRIP"; then
2880  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2881else
2882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2883for as_dir in $PATH
2884do
2885  IFS=$as_save_IFS
2886  test -z "$as_dir" && as_dir=.
2887    for ac_exec_ext in '' $ac_executable_extensions; do
2888  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2889    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2890    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2891    break 2
2892  fi
2893done
2894  done
2895IFS=$as_save_IFS
2896
2897fi
2898fi
2899STRIP=$ac_cv_prog_STRIP
2900if test -n "$STRIP"; then
2901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2902$as_echo "$STRIP" >&6; }
2903else
2904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2905$as_echo "no" >&6; }
2906fi
2907
2908
2909fi
2910if test -z "$ac_cv_prog_STRIP"; then
2911  ac_ct_STRIP=$STRIP
2912  # Extract the first word of "strip", so it can be a program name with args.
2913set dummy strip; ac_word=$2
2914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915$as_echo_n "checking for $ac_word... " >&6; }
2916if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2917  $as_echo_n "(cached) " >&6
2918else
2919  if test -n "$ac_ct_STRIP"; then
2920  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2921else
2922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923for as_dir in $PATH
2924do
2925  IFS=$as_save_IFS
2926  test -z "$as_dir" && as_dir=.
2927    for ac_exec_ext in '' $ac_executable_extensions; do
2928  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2929    ac_cv_prog_ac_ct_STRIP="strip"
2930    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2931    break 2
2932  fi
2933done
2934  done
2935IFS=$as_save_IFS
2936
2937fi
2938fi
2939ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2940if test -n "$ac_ct_STRIP"; then
2941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2942$as_echo "$ac_ct_STRIP" >&6; }
2943else
2944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945$as_echo "no" >&6; }
2946fi
2947
2948  if test "x$ac_ct_STRIP" = x; then
2949    STRIP=":"
2950  else
2951    case $cross_compiling:$ac_tool_warned in
2952yes:)
2953{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2954$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2955ac_tool_warned=yes ;;
2956esac
2957    STRIP=$ac_ct_STRIP
2958  fi
2959else
2960  STRIP="$ac_cv_prog_STRIP"
2961fi
2962
2963fi
2964INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2965
2966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2967$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2968if test -z "$MKDIR_P"; then
2969  if ${ac_cv_path_mkdir+:} false; then :
2970  $as_echo_n "(cached) " >&6
2971else
2972  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2973for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2974do
2975  IFS=$as_save_IFS
2976  test -z "$as_dir" && as_dir=.
2977    for ac_prog in mkdir gmkdir; do
2978	 for ac_exec_ext in '' $ac_executable_extensions; do
2979	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2980	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2981	     'mkdir (GNU coreutils) '* | \
2982	     'mkdir (coreutils) '* | \
2983	     'mkdir (fileutils) '4.1*)
2984	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2985	       break 3;;
2986	   esac
2987	 done
2988       done
2989  done
2990IFS=$as_save_IFS
2991
2992fi
2993
2994  test -d ./--version && rmdir ./--version
2995  if test "${ac_cv_path_mkdir+set}" = set; then
2996    MKDIR_P="$ac_cv_path_mkdir -p"
2997  else
2998    # As a last resort, use the slow shell script.  Don't cache a
2999    # value for MKDIR_P within a source directory, because that will
3000    # break other packages using the cache if that directory is
3001    # removed, or if the value is a relative name.
3002    MKDIR_P="$ac_install_sh -d"
3003  fi
3004fi
3005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3006$as_echo "$MKDIR_P" >&6; }
3007
3008for ac_prog in gawk mawk nawk awk
3009do
3010  # Extract the first word of "$ac_prog", so it can be a program name with args.
3011set dummy $ac_prog; ac_word=$2
3012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013$as_echo_n "checking for $ac_word... " >&6; }
3014if ${ac_cv_prog_AWK+:} false; then :
3015  $as_echo_n "(cached) " >&6
3016else
3017  if test -n "$AWK"; then
3018  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3019else
3020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021for as_dir in $PATH
3022do
3023  IFS=$as_save_IFS
3024  test -z "$as_dir" && as_dir=.
3025    for ac_exec_ext in '' $ac_executable_extensions; do
3026  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027    ac_cv_prog_AWK="$ac_prog"
3028    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029    break 2
3030  fi
3031done
3032  done
3033IFS=$as_save_IFS
3034
3035fi
3036fi
3037AWK=$ac_cv_prog_AWK
3038if test -n "$AWK"; then
3039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3040$as_echo "$AWK" >&6; }
3041else
3042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043$as_echo "no" >&6; }
3044fi
3045
3046
3047  test -n "$AWK" && break
3048done
3049
3050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3051$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3052set x ${MAKE-make}
3053ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3054if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3055  $as_echo_n "(cached) " >&6
3056else
3057  cat >conftest.make <<\_ACEOF
3058SHELL = /bin/sh
3059all:
3060	@echo '@@@%%%=$(MAKE)=@@@%%%'
3061_ACEOF
3062# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3063case `${MAKE-make} -f conftest.make 2>/dev/null` in
3064  *@@@%%%=?*=@@@%%%*)
3065    eval ac_cv_prog_make_${ac_make}_set=yes;;
3066  *)
3067    eval ac_cv_prog_make_${ac_make}_set=no;;
3068esac
3069rm -f conftest.make
3070fi
3071if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3073$as_echo "yes" >&6; }
3074  SET_MAKE=
3075else
3076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077$as_echo "no" >&6; }
3078  SET_MAKE="MAKE=${MAKE-make}"
3079fi
3080
3081rm -rf .tst 2>/dev/null
3082mkdir .tst 2>/dev/null
3083if test -d .tst; then
3084  am__leading_dot=.
3085else
3086  am__leading_dot=_
3087fi
3088rmdir .tst 2>/dev/null
3089
3090# Check whether --enable-silent-rules was given.
3091if test "${enable_silent_rules+set}" = set; then :
3092  enableval=$enable_silent_rules;
3093fi
3094
3095case $enable_silent_rules in # (((
3096  yes) AM_DEFAULT_VERBOSITY=0;;
3097   no) AM_DEFAULT_VERBOSITY=1;;
3098    *) AM_DEFAULT_VERBOSITY=1;;
3099esac
3100am_make=${MAKE-make}
3101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3102$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3103if ${am_cv_make_support_nested_variables+:} false; then :
3104  $as_echo_n "(cached) " >&6
3105else
3106  if $as_echo 'TRUE=$(BAR$(V))
3107BAR0=false
3108BAR1=true
3109V=1
3110am__doit:
3111	@$(TRUE)
3112.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3113  am_cv_make_support_nested_variables=yes
3114else
3115  am_cv_make_support_nested_variables=no
3116fi
3117fi
3118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3119$as_echo "$am_cv_make_support_nested_variables" >&6; }
3120if test $am_cv_make_support_nested_variables = yes; then
3121    AM_V='$(V)'
3122  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3123else
3124  AM_V=$AM_DEFAULT_VERBOSITY
3125  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3126fi
3127AM_BACKSLASH='\'
3128
3129if test "`cd $srcdir && pwd`" != "`pwd`"; then
3130  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3131  # is not polluted with repeated "-I."
3132  am__isrc=' -I$(srcdir)'
3133  # test to see if srcdir already configured
3134  if test -f $srcdir/config.status; then
3135    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3136  fi
3137fi
3138
3139# test whether we have cygpath
3140if test -z "$CYGPATH_W"; then
3141  if (cygpath --version) >/dev/null 2>/dev/null; then
3142    CYGPATH_W='cygpath -w'
3143  else
3144    CYGPATH_W=echo
3145  fi
3146fi
3147
3148
3149# Define the identity of the package.
3150 PACKAGE='geany'
3151 VERSION='1.37.1'
3152
3153
3154cat >>confdefs.h <<_ACEOF
3155#define PACKAGE "$PACKAGE"
3156_ACEOF
3157
3158
3159cat >>confdefs.h <<_ACEOF
3160#define VERSION "$VERSION"
3161_ACEOF
3162
3163# Some tools Automake needs.
3164
3165ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3166
3167
3168AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3169
3170
3171AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3172
3173
3174AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3175
3176
3177MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3178
3179# For better backward compatibility.  To be removed once Automake 1.9.x
3180# dies out for good.  For more background, see:
3181# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3182# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3183mkdir_p='$(MKDIR_P)'
3184
3185# We need awk for the "check" target (and possibly the TAP driver).  The
3186# system "awk" is bad on some platforms.
3187# Always define AMTAR for backward compatibility.  Yes, it's still used
3188# in the wild :-(  We should find a proper way to deprecate it ...
3189AMTAR='$${TAR-tar}'
3190
3191
3192# We'll loop over all known methods to create a tar archive until one works.
3193_am_tools='gnutar  pax cpio none'
3194
3195am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3196
3197
3198
3199
3200
3201
3202# POSIX will say in a future version that running "rm -f" with no argument
3203# is OK; and we want to be able to make that assumption in our Makefile
3204# recipes.  So use an aggressive probe to check that the usage we want is
3205# actually supported "in the wild" to an acceptable degree.
3206# See automake bug#10828.
3207# To make any issue more visible, cause the running configure to be aborted
3208# by default if the 'rm' program in use doesn't match our expectations; the
3209# user can still override this though.
3210if rm -f && rm -fr && rm -rf; then : OK; else
3211  cat >&2 <<'END'
3212Oops!
3213
3214Your 'rm' program seems unable to run without file operands specified
3215on the command line, even when the '-f' option is present.  This is contrary
3216to the behaviour of most rm programs out there, and not conforming with
3217the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3218
3219Please tell bug-automake@gnu.org about your system, including the value
3220of your $PATH and any error possibly output before this message.  This
3221can help us improve future automake versions.
3222
3223END
3224  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3225    echo 'Configuration will proceed anyway, since you have set the' >&2
3226    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3227    echo >&2
3228  else
3229    cat >&2 <<'END'
3230Aborting the configuration process, to ensure you take notice of the issue.
3231
3232You can download and install GNU coreutils to get an 'rm' implementation
3233that behaves properly: <https://www.gnu.org/software/coreutils/>.
3234
3235If you want to complete the configuration process using your problematic
3236'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3237to "yes", and re-run configure.
3238
3239END
3240    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3241  fi
3242fi
3243
3244ac_config_headers="$ac_config_headers config.h"
3245
3246
3247# Check whether --enable-silent-rules was given.
3248if test "${enable_silent_rules+set}" = set; then :
3249  enableval=$enable_silent_rules;
3250fi
3251
3252case $enable_silent_rules in # (((
3253  yes) AM_DEFAULT_VERBOSITY=0;;
3254   no) AM_DEFAULT_VERBOSITY=1;;
3255    *) AM_DEFAULT_VERBOSITY=0;;
3256esac
3257am_make=${MAKE-make}
3258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3259$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3260if ${am_cv_make_support_nested_variables+:} false; then :
3261  $as_echo_n "(cached) " >&6
3262else
3263  if $as_echo 'TRUE=$(BAR$(V))
3264BAR0=false
3265BAR1=true
3266V=1
3267am__doit:
3268	@$(TRUE)
3269.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3270  am_cv_make_support_nested_variables=yes
3271else
3272  am_cv_make_support_nested_variables=no
3273fi
3274fi
3275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3276$as_echo "$am_cv_make_support_nested_variables" >&6; }
3277if test $am_cv_make_support_nested_variables = yes; then
3278    AM_V='$(V)'
3279  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3280else
3281  AM_V=$AM_DEFAULT_VERBOSITY
3282  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3283fi
3284AM_BACKSLASH='\'
3285
3286
3287
3288	if test "x$prefix" = xNONE; then
3289		prefix=$ac_default_prefix
3290	fi
3291
3292	if test "x$exec_prefix" = xNONE; then
3293		exec_prefix=$prefix
3294	fi
3295
3296
3297	if test -z "${docdir}"; then
3298		docdir='${datadir}/doc/${PACKAGE}'
3299
3300	fi
3301
3302
3303
3304	_GEANY_STATUS="$_GEANY_STATUS
3305Install Geany in:${prefix}"
3306
3307if test -n "${build}" -a -n "${target}"; then
3308
3309	_GEANY_STATUS="$_GEANY_STATUS
3310Building Geany on:${build}"
3311
3312
3313	_GEANY_STATUS="$_GEANY_STATUS
3314Building Geany for:${target}"
3315
3316fi
3317
3318# why do we use this?
3319DEPDIR="${am__leading_dot}deps"
3320
3321ac_config_commands="$ac_config_commands depfiles"
3322
3323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3324$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3325cat > confinc.mk << 'END'
3326am__doit:
3327	@echo this is the am__doit target >confinc.out
3328.PHONY: am__doit
3329END
3330am__include="#"
3331am__quote=
3332# BSD make does it like this.
3333echo '.include "confinc.mk" # ignored' > confmf.BSD
3334# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3335echo 'include confinc.mk # ignored' > confmf.GNU
3336_am_result=no
3337for s in GNU BSD; do
3338  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3339   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3340   ac_status=$?
3341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342   (exit $ac_status); }
3343  case $?:`cat confinc.out 2>/dev/null` in #(
3344  '0:this is the am__doit target') :
3345    case $s in #(
3346  BSD) :
3347    am__include='.include' am__quote='"' ;; #(
3348  *) :
3349    am__include='include' am__quote='' ;;
3350esac ;; #(
3351  *) :
3352     ;;
3353esac
3354  if test "$am__include" != "#"; then
3355    _am_result="yes ($s style)"
3356    break
3357  fi
3358done
3359rm -f confinc.* confmf.*
3360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3361$as_echo "${_am_result}" >&6; }
3362
3363# Check whether --enable-dependency-tracking was given.
3364if test "${enable_dependency_tracking+set}" = set; then :
3365  enableval=$enable_dependency_tracking;
3366fi
3367
3368if test "x$enable_dependency_tracking" != xno; then
3369  am_depcomp="$ac_aux_dir/depcomp"
3370  AMDEPBACKSLASH='\'
3371  am__nodep='_no'
3372fi
3373 if test "x$enable_dependency_tracking" != xno; then
3374  AMDEP_TRUE=
3375  AMDEP_FALSE='#'
3376else
3377  AMDEP_TRUE='#'
3378  AMDEP_FALSE=
3379fi
3380
3381
3382ac_ext=c
3383ac_cpp='$CPP $CPPFLAGS'
3384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3386ac_compiler_gnu=$ac_cv_c_compiler_gnu
3387if test -n "$ac_tool_prefix"; then
3388  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3389set dummy ${ac_tool_prefix}gcc; ac_word=$2
3390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3391$as_echo_n "checking for $ac_word... " >&6; }
3392if ${ac_cv_prog_CC+:} false; then :
3393  $as_echo_n "(cached) " >&6
3394else
3395  if test -n "$CC"; then
3396  ac_cv_prog_CC="$CC" # Let the user override the test.
3397else
3398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3399for as_dir in $PATH
3400do
3401  IFS=$as_save_IFS
3402  test -z "$as_dir" && as_dir=.
3403    for ac_exec_ext in '' $ac_executable_extensions; do
3404  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3405    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3406    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3407    break 2
3408  fi
3409done
3410  done
3411IFS=$as_save_IFS
3412
3413fi
3414fi
3415CC=$ac_cv_prog_CC
3416if test -n "$CC"; then
3417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3418$as_echo "$CC" >&6; }
3419else
3420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421$as_echo "no" >&6; }
3422fi
3423
3424
3425fi
3426if test -z "$ac_cv_prog_CC"; then
3427  ac_ct_CC=$CC
3428  # Extract the first word of "gcc", so it can be a program name with args.
3429set dummy gcc; ac_word=$2
3430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431$as_echo_n "checking for $ac_word... " >&6; }
3432if ${ac_cv_prog_ac_ct_CC+:} false; then :
3433  $as_echo_n "(cached) " >&6
3434else
3435  if test -n "$ac_ct_CC"; then
3436  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3437else
3438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439for as_dir in $PATH
3440do
3441  IFS=$as_save_IFS
3442  test -z "$as_dir" && as_dir=.
3443    for ac_exec_ext in '' $ac_executable_extensions; do
3444  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3445    ac_cv_prog_ac_ct_CC="gcc"
3446    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3447    break 2
3448  fi
3449done
3450  done
3451IFS=$as_save_IFS
3452
3453fi
3454fi
3455ac_ct_CC=$ac_cv_prog_ac_ct_CC
3456if test -n "$ac_ct_CC"; then
3457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3458$as_echo "$ac_ct_CC" >&6; }
3459else
3460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461$as_echo "no" >&6; }
3462fi
3463
3464  if test "x$ac_ct_CC" = x; then
3465    CC=""
3466  else
3467    case $cross_compiling:$ac_tool_warned in
3468yes:)
3469{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3470$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3471ac_tool_warned=yes ;;
3472esac
3473    CC=$ac_ct_CC
3474  fi
3475else
3476  CC="$ac_cv_prog_CC"
3477fi
3478
3479if test -z "$CC"; then
3480          if test -n "$ac_tool_prefix"; then
3481    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3482set dummy ${ac_tool_prefix}cc; ac_word=$2
3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484$as_echo_n "checking for $ac_word... " >&6; }
3485if ${ac_cv_prog_CC+:} false; then :
3486  $as_echo_n "(cached) " >&6
3487else
3488  if test -n "$CC"; then
3489  ac_cv_prog_CC="$CC" # Let the user override the test.
3490else
3491as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492for as_dir in $PATH
3493do
3494  IFS=$as_save_IFS
3495  test -z "$as_dir" && as_dir=.
3496    for ac_exec_ext in '' $ac_executable_extensions; do
3497  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3498    ac_cv_prog_CC="${ac_tool_prefix}cc"
3499    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500    break 2
3501  fi
3502done
3503  done
3504IFS=$as_save_IFS
3505
3506fi
3507fi
3508CC=$ac_cv_prog_CC
3509if test -n "$CC"; then
3510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3511$as_echo "$CC" >&6; }
3512else
3513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514$as_echo "no" >&6; }
3515fi
3516
3517
3518  fi
3519fi
3520if test -z "$CC"; then
3521  # Extract the first word of "cc", so it can be a program name with args.
3522set dummy cc; ac_word=$2
3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524$as_echo_n "checking for $ac_word... " >&6; }
3525if ${ac_cv_prog_CC+:} false; then :
3526  $as_echo_n "(cached) " >&6
3527else
3528  if test -n "$CC"; then
3529  ac_cv_prog_CC="$CC" # Let the user override the test.
3530else
3531  ac_prog_rejected=no
3532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533for as_dir in $PATH
3534do
3535  IFS=$as_save_IFS
3536  test -z "$as_dir" && as_dir=.
3537    for ac_exec_ext in '' $ac_executable_extensions; do
3538  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3539    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3540       ac_prog_rejected=yes
3541       continue
3542     fi
3543    ac_cv_prog_CC="cc"
3544    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3545    break 2
3546  fi
3547done
3548  done
3549IFS=$as_save_IFS
3550
3551if test $ac_prog_rejected = yes; then
3552  # We found a bogon in the path, so make sure we never use it.
3553  set dummy $ac_cv_prog_CC
3554  shift
3555  if test $# != 0; then
3556    # We chose a different compiler from the bogus one.
3557    # However, it has the same basename, so the bogon will be chosen
3558    # first if we set CC to just the basename; use the full file name.
3559    shift
3560    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3561  fi
3562fi
3563fi
3564fi
3565CC=$ac_cv_prog_CC
3566if test -n "$CC"; then
3567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3568$as_echo "$CC" >&6; }
3569else
3570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3571$as_echo "no" >&6; }
3572fi
3573
3574
3575fi
3576if test -z "$CC"; then
3577  if test -n "$ac_tool_prefix"; then
3578  for ac_prog in cl.exe
3579  do
3580    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3581set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583$as_echo_n "checking for $ac_word... " >&6; }
3584if ${ac_cv_prog_CC+:} false; then :
3585  $as_echo_n "(cached) " >&6
3586else
3587  if test -n "$CC"; then
3588  ac_cv_prog_CC="$CC" # Let the user override the test.
3589else
3590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591for as_dir in $PATH
3592do
3593  IFS=$as_save_IFS
3594  test -z "$as_dir" && as_dir=.
3595    for ac_exec_ext in '' $ac_executable_extensions; do
3596  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3597    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3598    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3599    break 2
3600  fi
3601done
3602  done
3603IFS=$as_save_IFS
3604
3605fi
3606fi
3607CC=$ac_cv_prog_CC
3608if test -n "$CC"; then
3609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3610$as_echo "$CC" >&6; }
3611else
3612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613$as_echo "no" >&6; }
3614fi
3615
3616
3617    test -n "$CC" && break
3618  done
3619fi
3620if test -z "$CC"; then
3621  ac_ct_CC=$CC
3622  for ac_prog in cl.exe
3623do
3624  # Extract the first word of "$ac_prog", so it can be a program name with args.
3625set dummy $ac_prog; ac_word=$2
3626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627$as_echo_n "checking for $ac_word... " >&6; }
3628if ${ac_cv_prog_ac_ct_CC+:} false; then :
3629  $as_echo_n "(cached) " >&6
3630else
3631  if test -n "$ac_ct_CC"; then
3632  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3633else
3634as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3635for as_dir in $PATH
3636do
3637  IFS=$as_save_IFS
3638  test -z "$as_dir" && as_dir=.
3639    for ac_exec_ext in '' $ac_executable_extensions; do
3640  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3641    ac_cv_prog_ac_ct_CC="$ac_prog"
3642    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3643    break 2
3644  fi
3645done
3646  done
3647IFS=$as_save_IFS
3648
3649fi
3650fi
3651ac_ct_CC=$ac_cv_prog_ac_ct_CC
3652if test -n "$ac_ct_CC"; then
3653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3654$as_echo "$ac_ct_CC" >&6; }
3655else
3656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657$as_echo "no" >&6; }
3658fi
3659
3660
3661  test -n "$ac_ct_CC" && break
3662done
3663
3664  if test "x$ac_ct_CC" = x; then
3665    CC=""
3666  else
3667    case $cross_compiling:$ac_tool_warned in
3668yes:)
3669{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3670$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3671ac_tool_warned=yes ;;
3672esac
3673    CC=$ac_ct_CC
3674  fi
3675fi
3676
3677fi
3678
3679
3680test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3681$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3682as_fn_error $? "no acceptable C compiler found in \$PATH
3683See \`config.log' for more details" "$LINENO" 5; }
3684
3685# Provide some information about the compiler.
3686$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3687set X $ac_compile
3688ac_compiler=$2
3689for ac_option in --version -v -V -qversion; do
3690  { { ac_try="$ac_compiler $ac_option >&5"
3691case "(($ac_try" in
3692  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3693  *) ac_try_echo=$ac_try;;
3694esac
3695eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3696$as_echo "$ac_try_echo"; } >&5
3697  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3698  ac_status=$?
3699  if test -s conftest.err; then
3700    sed '10a\
3701... rest of stderr output deleted ...
3702         10q' conftest.err >conftest.er1
3703    cat conftest.er1 >&5
3704  fi
3705  rm -f conftest.er1 conftest.err
3706  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3707  test $ac_status = 0; }
3708done
3709
3710cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711/* end confdefs.h.  */
3712
3713int
3714main ()
3715{
3716
3717  ;
3718  return 0;
3719}
3720_ACEOF
3721ac_clean_files_save=$ac_clean_files
3722ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3723# Try to create an executable without -o first, disregard a.out.
3724# It will help us diagnose broken compilers, and finding out an intuition
3725# of exeext.
3726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3727$as_echo_n "checking whether the C compiler works... " >&6; }
3728ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3729
3730# The possible output files:
3731ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3732
3733ac_rmfiles=
3734for ac_file in $ac_files
3735do
3736  case $ac_file in
3737    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3738    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3739  esac
3740done
3741rm -f $ac_rmfiles
3742
3743if { { ac_try="$ac_link_default"
3744case "(($ac_try" in
3745  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746  *) ac_try_echo=$ac_try;;
3747esac
3748eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3749$as_echo "$ac_try_echo"; } >&5
3750  (eval "$ac_link_default") 2>&5
3751  ac_status=$?
3752  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3753  test $ac_status = 0; }; then :
3754  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3755# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3756# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3757# so that the user can short-circuit this test for compilers unknown to
3758# Autoconf.
3759for ac_file in $ac_files ''
3760do
3761  test -f "$ac_file" || continue
3762  case $ac_file in
3763    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3764	;;
3765    [ab].out )
3766	# We found the default executable, but exeext='' is most
3767	# certainly right.
3768	break;;
3769    *.* )
3770	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3771	then :; else
3772	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3773	fi
3774	# We set ac_cv_exeext here because the later test for it is not
3775	# safe: cross compilers may not add the suffix if given an `-o'
3776	# argument, so we may need to know it at that point already.
3777	# Even if this section looks crufty: it has the advantage of
3778	# actually working.
3779	break;;
3780    * )
3781	break;;
3782  esac
3783done
3784test "$ac_cv_exeext" = no && ac_cv_exeext=
3785
3786else
3787  ac_file=''
3788fi
3789if test -z "$ac_file"; then :
3790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3791$as_echo "no" >&6; }
3792$as_echo "$as_me: failed program was:" >&5
3793sed 's/^/| /' conftest.$ac_ext >&5
3794
3795{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3796$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3797as_fn_error 77 "C compiler cannot create executables
3798See \`config.log' for more details" "$LINENO" 5; }
3799else
3800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3801$as_echo "yes" >&6; }
3802fi
3803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3804$as_echo_n "checking for C compiler default output file name... " >&6; }
3805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3806$as_echo "$ac_file" >&6; }
3807ac_exeext=$ac_cv_exeext
3808
3809rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3810ac_clean_files=$ac_clean_files_save
3811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3812$as_echo_n "checking for suffix of executables... " >&6; }
3813if { { ac_try="$ac_link"
3814case "(($ac_try" in
3815  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816  *) ac_try_echo=$ac_try;;
3817esac
3818eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3819$as_echo "$ac_try_echo"; } >&5
3820  (eval "$ac_link") 2>&5
3821  ac_status=$?
3822  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823  test $ac_status = 0; }; then :
3824  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3825# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3826# work properly (i.e., refer to `conftest.exe'), while it won't with
3827# `rm'.
3828for ac_file in conftest.exe conftest conftest.*; do
3829  test -f "$ac_file" || continue
3830  case $ac_file in
3831    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3832    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3833	  break;;
3834    * ) break;;
3835  esac
3836done
3837else
3838  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3839$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3840as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3841See \`config.log' for more details" "$LINENO" 5; }
3842fi
3843rm -f conftest conftest$ac_cv_exeext
3844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3845$as_echo "$ac_cv_exeext" >&6; }
3846
3847rm -f conftest.$ac_ext
3848EXEEXT=$ac_cv_exeext
3849ac_exeext=$EXEEXT
3850cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851/* end confdefs.h.  */
3852#include <stdio.h>
3853int
3854main ()
3855{
3856FILE *f = fopen ("conftest.out", "w");
3857 return ferror (f) || fclose (f) != 0;
3858
3859  ;
3860  return 0;
3861}
3862_ACEOF
3863ac_clean_files="$ac_clean_files conftest.out"
3864# Check that the compiler produces executables we can run.  If not, either
3865# the compiler is broken, or we cross compile.
3866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3867$as_echo_n "checking whether we are cross compiling... " >&6; }
3868if test "$cross_compiling" != yes; then
3869  { { ac_try="$ac_link"
3870case "(($ac_try" in
3871  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872  *) ac_try_echo=$ac_try;;
3873esac
3874eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875$as_echo "$ac_try_echo"; } >&5
3876  (eval "$ac_link") 2>&5
3877  ac_status=$?
3878  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879  test $ac_status = 0; }
3880  if { ac_try='./conftest$ac_cv_exeext'
3881  { { case "(($ac_try" in
3882  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3883  *) ac_try_echo=$ac_try;;
3884esac
3885eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886$as_echo "$ac_try_echo"; } >&5
3887  (eval "$ac_try") 2>&5
3888  ac_status=$?
3889  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890  test $ac_status = 0; }; }; then
3891    cross_compiling=no
3892  else
3893    if test "$cross_compiling" = maybe; then
3894	cross_compiling=yes
3895    else
3896	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3897$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3898as_fn_error $? "cannot run C compiled programs.
3899If you meant to cross compile, use \`--host'.
3900See \`config.log' for more details" "$LINENO" 5; }
3901    fi
3902  fi
3903fi
3904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3905$as_echo "$cross_compiling" >&6; }
3906
3907rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3908ac_clean_files=$ac_clean_files_save
3909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3910$as_echo_n "checking for suffix of object files... " >&6; }
3911if ${ac_cv_objext+:} false; then :
3912  $as_echo_n "(cached) " >&6
3913else
3914  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915/* end confdefs.h.  */
3916
3917int
3918main ()
3919{
3920
3921  ;
3922  return 0;
3923}
3924_ACEOF
3925rm -f conftest.o conftest.obj
3926if { { ac_try="$ac_compile"
3927case "(($ac_try" in
3928  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929  *) ac_try_echo=$ac_try;;
3930esac
3931eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932$as_echo "$ac_try_echo"; } >&5
3933  (eval "$ac_compile") 2>&5
3934  ac_status=$?
3935  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936  test $ac_status = 0; }; then :
3937  for ac_file in conftest.o conftest.obj conftest.*; do
3938  test -f "$ac_file" || continue;
3939  case $ac_file in
3940    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3941    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3942       break;;
3943  esac
3944done
3945else
3946  $as_echo "$as_me: failed program was:" >&5
3947sed 's/^/| /' conftest.$ac_ext >&5
3948
3949{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3950$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3951as_fn_error $? "cannot compute suffix of object files: cannot compile
3952See \`config.log' for more details" "$LINENO" 5; }
3953fi
3954rm -f conftest.$ac_cv_objext conftest.$ac_ext
3955fi
3956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3957$as_echo "$ac_cv_objext" >&6; }
3958OBJEXT=$ac_cv_objext
3959ac_objext=$OBJEXT
3960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3961$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3962if ${ac_cv_c_compiler_gnu+:} false; then :
3963  $as_echo_n "(cached) " >&6
3964else
3965  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966/* end confdefs.h.  */
3967
3968int
3969main ()
3970{
3971#ifndef __GNUC__
3972       choke me
3973#endif
3974
3975  ;
3976  return 0;
3977}
3978_ACEOF
3979if ac_fn_c_try_compile "$LINENO"; then :
3980  ac_compiler_gnu=yes
3981else
3982  ac_compiler_gnu=no
3983fi
3984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3985ac_cv_c_compiler_gnu=$ac_compiler_gnu
3986
3987fi
3988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3989$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3990if test $ac_compiler_gnu = yes; then
3991  GCC=yes
3992else
3993  GCC=
3994fi
3995ac_test_CFLAGS=${CFLAGS+set}
3996ac_save_CFLAGS=$CFLAGS
3997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3998$as_echo_n "checking whether $CC accepts -g... " >&6; }
3999if ${ac_cv_prog_cc_g+:} false; then :
4000  $as_echo_n "(cached) " >&6
4001else
4002  ac_save_c_werror_flag=$ac_c_werror_flag
4003   ac_c_werror_flag=yes
4004   ac_cv_prog_cc_g=no
4005   CFLAGS="-g"
4006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007/* end confdefs.h.  */
4008
4009int
4010main ()
4011{
4012
4013  ;
4014  return 0;
4015}
4016_ACEOF
4017if ac_fn_c_try_compile "$LINENO"; then :
4018  ac_cv_prog_cc_g=yes
4019else
4020  CFLAGS=""
4021      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022/* end confdefs.h.  */
4023
4024int
4025main ()
4026{
4027
4028  ;
4029  return 0;
4030}
4031_ACEOF
4032if ac_fn_c_try_compile "$LINENO"; then :
4033
4034else
4035  ac_c_werror_flag=$ac_save_c_werror_flag
4036	 CFLAGS="-g"
4037	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038/* end confdefs.h.  */
4039
4040int
4041main ()
4042{
4043
4044  ;
4045  return 0;
4046}
4047_ACEOF
4048if ac_fn_c_try_compile "$LINENO"; then :
4049  ac_cv_prog_cc_g=yes
4050fi
4051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4052fi
4053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4054fi
4055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4056   ac_c_werror_flag=$ac_save_c_werror_flag
4057fi
4058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4059$as_echo "$ac_cv_prog_cc_g" >&6; }
4060if test "$ac_test_CFLAGS" = set; then
4061  CFLAGS=$ac_save_CFLAGS
4062elif test $ac_cv_prog_cc_g = yes; then
4063  if test "$GCC" = yes; then
4064    CFLAGS="-g -O2"
4065  else
4066    CFLAGS="-g"
4067  fi
4068else
4069  if test "$GCC" = yes; then
4070    CFLAGS="-O2"
4071  else
4072    CFLAGS=
4073  fi
4074fi
4075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4076$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4077if ${ac_cv_prog_cc_c89+:} false; then :
4078  $as_echo_n "(cached) " >&6
4079else
4080  ac_cv_prog_cc_c89=no
4081ac_save_CC=$CC
4082cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083/* end confdefs.h.  */
4084#include <stdarg.h>
4085#include <stdio.h>
4086struct stat;
4087/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4088struct buf { int x; };
4089FILE * (*rcsopen) (struct buf *, struct stat *, int);
4090static char *e (p, i)
4091     char **p;
4092     int i;
4093{
4094  return p[i];
4095}
4096static char *f (char * (*g) (char **, int), char **p, ...)
4097{
4098  char *s;
4099  va_list v;
4100  va_start (v,p);
4101  s = g (p, va_arg (v,int));
4102  va_end (v);
4103  return s;
4104}
4105
4106/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4107   function prototypes and stuff, but not '\xHH' hex character constants.
4108   These don't provoke an error unfortunately, instead are silently treated
4109   as 'x'.  The following induces an error, until -std is added to get
4110   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4111   array size at least.  It's necessary to write '\x00'==0 to get something
4112   that's true only with -std.  */
4113int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4114
4115/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4116   inside strings and character constants.  */
4117#define FOO(x) 'x'
4118int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4119
4120int test (int i, double x);
4121struct s1 {int (*f) (int a);};
4122struct s2 {int (*f) (double a);};
4123int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4124int argc;
4125char **argv;
4126int
4127main ()
4128{
4129return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4130  ;
4131  return 0;
4132}
4133_ACEOF
4134for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4135	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4136do
4137  CC="$ac_save_CC $ac_arg"
4138  if ac_fn_c_try_compile "$LINENO"; then :
4139  ac_cv_prog_cc_c89=$ac_arg
4140fi
4141rm -f core conftest.err conftest.$ac_objext
4142  test "x$ac_cv_prog_cc_c89" != "xno" && break
4143done
4144rm -f conftest.$ac_ext
4145CC=$ac_save_CC
4146
4147fi
4148# AC_CACHE_VAL
4149case "x$ac_cv_prog_cc_c89" in
4150  x)
4151    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4152$as_echo "none needed" >&6; } ;;
4153  xno)
4154    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4155$as_echo "unsupported" >&6; } ;;
4156  *)
4157    CC="$CC $ac_cv_prog_cc_c89"
4158    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4159$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4160esac
4161if test "x$ac_cv_prog_cc_c89" != xno; then :
4162
4163fi
4164
4165ac_ext=c
4166ac_cpp='$CPP $CPPFLAGS'
4167ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4168ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4169ac_compiler_gnu=$ac_cv_c_compiler_gnu
4170
4171ac_ext=c
4172ac_cpp='$CPP $CPPFLAGS'
4173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4175ac_compiler_gnu=$ac_cv_c_compiler_gnu
4176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4177$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4178if ${am_cv_prog_cc_c_o+:} false; then :
4179  $as_echo_n "(cached) " >&6
4180else
4181  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182/* end confdefs.h.  */
4183
4184int
4185main ()
4186{
4187
4188  ;
4189  return 0;
4190}
4191_ACEOF
4192  # Make sure it works both with $CC and with simple cc.
4193  # Following AC_PROG_CC_C_O, we do the test twice because some
4194  # compilers refuse to overwrite an existing .o file with -o,
4195  # though they will create one.
4196  am_cv_prog_cc_c_o=yes
4197  for am_i in 1 2; do
4198    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4199   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4200   ac_status=$?
4201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202   (exit $ac_status); } \
4203         && test -f conftest2.$ac_objext; then
4204      : OK
4205    else
4206      am_cv_prog_cc_c_o=no
4207      break
4208    fi
4209  done
4210  rm -f core conftest*
4211  unset am_i
4212fi
4213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4214$as_echo "$am_cv_prog_cc_c_o" >&6; }
4215if test "$am_cv_prog_cc_c_o" != yes; then
4216   # Losing compiler, so override with the script.
4217   # FIXME: It is wrong to rewrite CC.
4218   # But if we don't then we get into trouble of one sort or another.
4219   # A longer-term fix would be to have automake use am__CC in this case,
4220   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4221   CC="$am_aux_dir/compile $CC"
4222fi
4223ac_ext=c
4224ac_cpp='$CPP $CPPFLAGS'
4225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4227ac_compiler_gnu=$ac_cv_c_compiler_gnu
4228
4229
4230depcc="$CC"   am_compiler_list=
4231
4232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4233$as_echo_n "checking dependency style of $depcc... " >&6; }
4234if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4235  $as_echo_n "(cached) " >&6
4236else
4237  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4238  # We make a subdir and do the tests there.  Otherwise we can end up
4239  # making bogus files that we don't know about and never remove.  For
4240  # instance it was reported that on HP-UX the gcc test will end up
4241  # making a dummy file named 'D' -- because '-MD' means "put the output
4242  # in D".
4243  rm -rf conftest.dir
4244  mkdir conftest.dir
4245  # Copy depcomp to subdir because otherwise we won't find it if we're
4246  # using a relative directory.
4247  cp "$am_depcomp" conftest.dir
4248  cd conftest.dir
4249  # We will build objects and dependencies in a subdirectory because
4250  # it helps to detect inapplicable dependency modes.  For instance
4251  # both Tru64's cc and ICC support -MD to output dependencies as a
4252  # side effect of compilation, but ICC will put the dependencies in
4253  # the current directory while Tru64 will put them in the object
4254  # directory.
4255  mkdir sub
4256
4257  am_cv_CC_dependencies_compiler_type=none
4258  if test "$am_compiler_list" = ""; then
4259     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4260  fi
4261  am__universal=false
4262  case " $depcc " in #(
4263     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4264     esac
4265
4266  for depmode in $am_compiler_list; do
4267    # Setup a source with many dependencies, because some compilers
4268    # like to wrap large dependency lists on column 80 (with \), and
4269    # we should not choose a depcomp mode which is confused by this.
4270    #
4271    # We need to recreate these files for each test, as the compiler may
4272    # overwrite some of them when testing with obscure command lines.
4273    # This happens at least with the AIX C compiler.
4274    : > sub/conftest.c
4275    for i in 1 2 3 4 5 6; do
4276      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4277      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4278      # Solaris 10 /bin/sh.
4279      echo '/* dummy */' > sub/conftst$i.h
4280    done
4281    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4282
4283    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4284    # mode.  It turns out that the SunPro C++ compiler does not properly
4285    # handle '-M -o', and we need to detect this.  Also, some Intel
4286    # versions had trouble with output in subdirs.
4287    am__obj=sub/conftest.${OBJEXT-o}
4288    am__minus_obj="-o $am__obj"
4289    case $depmode in
4290    gcc)
4291      # This depmode causes a compiler race in universal mode.
4292      test "$am__universal" = false || continue
4293      ;;
4294    nosideeffect)
4295      # After this tag, mechanisms are not by side-effect, so they'll
4296      # only be used when explicitly requested.
4297      if test "x$enable_dependency_tracking" = xyes; then
4298	continue
4299      else
4300	break
4301      fi
4302      ;;
4303    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4304      # This compiler won't grok '-c -o', but also, the minuso test has
4305      # not run yet.  These depmodes are late enough in the game, and
4306      # so weak that their functioning should not be impacted.
4307      am__obj=conftest.${OBJEXT-o}
4308      am__minus_obj=
4309      ;;
4310    none) break ;;
4311    esac
4312    if depmode=$depmode \
4313       source=sub/conftest.c object=$am__obj \
4314       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4315       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4316         >/dev/null 2>conftest.err &&
4317       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4318       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4319       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4320       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4321      # icc doesn't choke on unknown options, it will just issue warnings
4322      # or remarks (even with -Werror).  So we grep stderr for any message
4323      # that says an option was ignored or not supported.
4324      # When given -MP, icc 7.0 and 7.1 complain thusly:
4325      #   icc: Command line warning: ignoring option '-M'; no argument required
4326      # The diagnosis changed in icc 8.0:
4327      #   icc: Command line remark: option '-MP' not supported
4328      if (grep 'ignoring option' conftest.err ||
4329          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4330        am_cv_CC_dependencies_compiler_type=$depmode
4331        break
4332      fi
4333    fi
4334  done
4335
4336  cd ..
4337  rm -rf conftest.dir
4338else
4339  am_cv_CC_dependencies_compiler_type=none
4340fi
4341
4342fi
4343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4344$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4345CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4346
4347 if
4348  test "x$enable_dependency_tracking" != xno \
4349  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4350  am__fastdepCC_TRUE=
4351  am__fastdepCC_FALSE='#'
4352else
4353  am__fastdepCC_TRUE='#'
4354  am__fastdepCC_FALSE=
4355fi
4356
4357
4358
4359ac_ext=c
4360ac_cpp='$CPP $CPPFLAGS'
4361ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4362ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4363ac_compiler_gnu=$ac_cv_c_compiler_gnu
4364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4365$as_echo_n "checking how to run the C preprocessor... " >&6; }
4366# On Suns, sometimes $CPP names a directory.
4367if test -n "$CPP" && test -d "$CPP"; then
4368  CPP=
4369fi
4370if test -z "$CPP"; then
4371  if ${ac_cv_prog_CPP+:} false; then :
4372  $as_echo_n "(cached) " >&6
4373else
4374      # Double quotes because CPP needs to be expanded
4375    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4376    do
4377      ac_preproc_ok=false
4378for ac_c_preproc_warn_flag in '' yes
4379do
4380  # Use a header file that comes with gcc, so configuring glibc
4381  # with a fresh cross-compiler works.
4382  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4383  # <limits.h> exists even on freestanding compilers.
4384  # On the NeXT, cc -E runs the code through the compiler's parser,
4385  # not just through cpp. "Syntax error" is here to catch this case.
4386  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387/* end confdefs.h.  */
4388#ifdef __STDC__
4389# include <limits.h>
4390#else
4391# include <assert.h>
4392#endif
4393		     Syntax error
4394_ACEOF
4395if ac_fn_c_try_cpp "$LINENO"; then :
4396
4397else
4398  # Broken: fails on valid input.
4399continue
4400fi
4401rm -f conftest.err conftest.i conftest.$ac_ext
4402
4403  # OK, works on sane cases.  Now check whether nonexistent headers
4404  # can be detected and how.
4405  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406/* end confdefs.h.  */
4407#include <ac_nonexistent.h>
4408_ACEOF
4409if ac_fn_c_try_cpp "$LINENO"; then :
4410  # Broken: success on invalid input.
4411continue
4412else
4413  # Passes both tests.
4414ac_preproc_ok=:
4415break
4416fi
4417rm -f conftest.err conftest.i conftest.$ac_ext
4418
4419done
4420# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4421rm -f conftest.i conftest.err conftest.$ac_ext
4422if $ac_preproc_ok; then :
4423  break
4424fi
4425
4426    done
4427    ac_cv_prog_CPP=$CPP
4428
4429fi
4430  CPP=$ac_cv_prog_CPP
4431else
4432  ac_cv_prog_CPP=$CPP
4433fi
4434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4435$as_echo "$CPP" >&6; }
4436ac_preproc_ok=false
4437for ac_c_preproc_warn_flag in '' yes
4438do
4439  # Use a header file that comes with gcc, so configuring glibc
4440  # with a fresh cross-compiler works.
4441  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4442  # <limits.h> exists even on freestanding compilers.
4443  # On the NeXT, cc -E runs the code through the compiler's parser,
4444  # not just through cpp. "Syntax error" is here to catch this case.
4445  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446/* end confdefs.h.  */
4447#ifdef __STDC__
4448# include <limits.h>
4449#else
4450# include <assert.h>
4451#endif
4452		     Syntax error
4453_ACEOF
4454if ac_fn_c_try_cpp "$LINENO"; then :
4455
4456else
4457  # Broken: fails on valid input.
4458continue
4459fi
4460rm -f conftest.err conftest.i conftest.$ac_ext
4461
4462  # OK, works on sane cases.  Now check whether nonexistent headers
4463  # can be detected and how.
4464  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465/* end confdefs.h.  */
4466#include <ac_nonexistent.h>
4467_ACEOF
4468if ac_fn_c_try_cpp "$LINENO"; then :
4469  # Broken: success on invalid input.
4470continue
4471else
4472  # Passes both tests.
4473ac_preproc_ok=:
4474break
4475fi
4476rm -f conftest.err conftest.i conftest.$ac_ext
4477
4478done
4479# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4480rm -f conftest.i conftest.err conftest.$ac_ext
4481if $ac_preproc_ok; then :
4482
4483else
4484  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4485$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4486as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4487See \`config.log' for more details" "$LINENO" 5; }
4488fi
4489
4490ac_ext=c
4491ac_cpp='$CPP $CPPFLAGS'
4492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4494ac_compiler_gnu=$ac_cv_c_compiler_gnu
4495
4496
4497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4498$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4499if ${ac_cv_path_GREP+:} false; then :
4500  $as_echo_n "(cached) " >&6
4501else
4502  if test -z "$GREP"; then
4503  ac_path_GREP_found=false
4504  # Loop through the user's path and test for each of PROGNAME-LIST
4505  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4507do
4508  IFS=$as_save_IFS
4509  test -z "$as_dir" && as_dir=.
4510    for ac_prog in grep ggrep; do
4511    for ac_exec_ext in '' $ac_executable_extensions; do
4512      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4513      as_fn_executable_p "$ac_path_GREP" || continue
4514# Check for GNU ac_path_GREP and select it if it is found.
4515  # Check for GNU $ac_path_GREP
4516case `"$ac_path_GREP" --version 2>&1` in
4517*GNU*)
4518  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4519*)
4520  ac_count=0
4521  $as_echo_n 0123456789 >"conftest.in"
4522  while :
4523  do
4524    cat "conftest.in" "conftest.in" >"conftest.tmp"
4525    mv "conftest.tmp" "conftest.in"
4526    cp "conftest.in" "conftest.nl"
4527    $as_echo 'GREP' >> "conftest.nl"
4528    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4529    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4530    as_fn_arith $ac_count + 1 && ac_count=$as_val
4531    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4532      # Best one so far, save it but keep looking for a better one
4533      ac_cv_path_GREP="$ac_path_GREP"
4534      ac_path_GREP_max=$ac_count
4535    fi
4536    # 10*(2^10) chars as input seems more than enough
4537    test $ac_count -gt 10 && break
4538  done
4539  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4540esac
4541
4542      $ac_path_GREP_found && break 3
4543    done
4544  done
4545  done
4546IFS=$as_save_IFS
4547  if test -z "$ac_cv_path_GREP"; then
4548    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4549  fi
4550else
4551  ac_cv_path_GREP=$GREP
4552fi
4553
4554fi
4555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4556$as_echo "$ac_cv_path_GREP" >&6; }
4557 GREP="$ac_cv_path_GREP"
4558
4559
4560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4561$as_echo_n "checking for egrep... " >&6; }
4562if ${ac_cv_path_EGREP+:} false; then :
4563  $as_echo_n "(cached) " >&6
4564else
4565  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4566   then ac_cv_path_EGREP="$GREP -E"
4567   else
4568     if test -z "$EGREP"; then
4569  ac_path_EGREP_found=false
4570  # Loop through the user's path and test for each of PROGNAME-LIST
4571  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4572for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4573do
4574  IFS=$as_save_IFS
4575  test -z "$as_dir" && as_dir=.
4576    for ac_prog in egrep; do
4577    for ac_exec_ext in '' $ac_executable_extensions; do
4578      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4579      as_fn_executable_p "$ac_path_EGREP" || continue
4580# Check for GNU ac_path_EGREP and select it if it is found.
4581  # Check for GNU $ac_path_EGREP
4582case `"$ac_path_EGREP" --version 2>&1` in
4583*GNU*)
4584  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4585*)
4586  ac_count=0
4587  $as_echo_n 0123456789 >"conftest.in"
4588  while :
4589  do
4590    cat "conftest.in" "conftest.in" >"conftest.tmp"
4591    mv "conftest.tmp" "conftest.in"
4592    cp "conftest.in" "conftest.nl"
4593    $as_echo 'EGREP' >> "conftest.nl"
4594    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4595    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4596    as_fn_arith $ac_count + 1 && ac_count=$as_val
4597    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4598      # Best one so far, save it but keep looking for a better one
4599      ac_cv_path_EGREP="$ac_path_EGREP"
4600      ac_path_EGREP_max=$ac_count
4601    fi
4602    # 10*(2^10) chars as input seems more than enough
4603    test $ac_count -gt 10 && break
4604  done
4605  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4606esac
4607
4608      $ac_path_EGREP_found && break 3
4609    done
4610  done
4611  done
4612IFS=$as_save_IFS
4613  if test -z "$ac_cv_path_EGREP"; then
4614    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4615  fi
4616else
4617  ac_cv_path_EGREP=$EGREP
4618fi
4619
4620   fi
4621fi
4622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4623$as_echo "$ac_cv_path_EGREP" >&6; }
4624 EGREP="$ac_cv_path_EGREP"
4625
4626
4627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4628$as_echo_n "checking for ANSI C header files... " >&6; }
4629if ${ac_cv_header_stdc+:} false; then :
4630  $as_echo_n "(cached) " >&6
4631else
4632  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633/* end confdefs.h.  */
4634#include <stdlib.h>
4635#include <stdarg.h>
4636#include <string.h>
4637#include <float.h>
4638
4639int
4640main ()
4641{
4642
4643  ;
4644  return 0;
4645}
4646_ACEOF
4647if ac_fn_c_try_compile "$LINENO"; then :
4648  ac_cv_header_stdc=yes
4649else
4650  ac_cv_header_stdc=no
4651fi
4652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653
4654if test $ac_cv_header_stdc = yes; then
4655  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4656  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657/* end confdefs.h.  */
4658#include <string.h>
4659
4660_ACEOF
4661if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4662  $EGREP "memchr" >/dev/null 2>&1; then :
4663
4664else
4665  ac_cv_header_stdc=no
4666fi
4667rm -f conftest*
4668
4669fi
4670
4671if test $ac_cv_header_stdc = yes; then
4672  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4673  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674/* end confdefs.h.  */
4675#include <stdlib.h>
4676
4677_ACEOF
4678if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4679  $EGREP "free" >/dev/null 2>&1; then :
4680
4681else
4682  ac_cv_header_stdc=no
4683fi
4684rm -f conftest*
4685
4686fi
4687
4688if test $ac_cv_header_stdc = yes; then
4689  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4690  if test "$cross_compiling" = yes; then :
4691  :
4692else
4693  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694/* end confdefs.h.  */
4695#include <ctype.h>
4696#include <stdlib.h>
4697#if ((' ' & 0x0FF) == 0x020)
4698# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4699# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4700#else
4701# define ISLOWER(c) \
4702		   (('a' <= (c) && (c) <= 'i') \
4703		     || ('j' <= (c) && (c) <= 'r') \
4704		     || ('s' <= (c) && (c) <= 'z'))
4705# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4706#endif
4707
4708#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4709int
4710main ()
4711{
4712  int i;
4713  for (i = 0; i < 256; i++)
4714    if (XOR (islower (i), ISLOWER (i))
4715	|| toupper (i) != TOUPPER (i))
4716      return 2;
4717  return 0;
4718}
4719_ACEOF
4720if ac_fn_c_try_run "$LINENO"; then :
4721
4722else
4723  ac_cv_header_stdc=no
4724fi
4725rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4726  conftest.$ac_objext conftest.beam conftest.$ac_ext
4727fi
4728
4729fi
4730fi
4731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4732$as_echo "$ac_cv_header_stdc" >&6; }
4733if test $ac_cv_header_stdc = yes; then
4734
4735$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4736
4737fi
4738
4739# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4740for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4741		  inttypes.h stdint.h unistd.h
4742do :
4743  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4744ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4745"
4746if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4747  cat >>confdefs.h <<_ACEOF
4748#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4749_ACEOF
4750
4751fi
4752
4753done
4754
4755
4756
4757  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4758if test "x$ac_cv_header_minix_config_h" = xyes; then :
4759  MINIX=yes
4760else
4761  MINIX=
4762fi
4763
4764
4765  if test "$MINIX" = yes; then
4766
4767$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4768
4769
4770$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4771
4772
4773$as_echo "#define _MINIX 1" >>confdefs.h
4774
4775  fi
4776
4777
4778  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4779$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4780if ${ac_cv_safe_to_define___extensions__+:} false; then :
4781  $as_echo_n "(cached) " >&6
4782else
4783  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784/* end confdefs.h.  */
4785
4786#         define __EXTENSIONS__ 1
4787          $ac_includes_default
4788int
4789main ()
4790{
4791
4792  ;
4793  return 0;
4794}
4795_ACEOF
4796if ac_fn_c_try_compile "$LINENO"; then :
4797  ac_cv_safe_to_define___extensions__=yes
4798else
4799  ac_cv_safe_to_define___extensions__=no
4800fi
4801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4802fi
4803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4804$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4805  test $ac_cv_safe_to_define___extensions__ = yes &&
4806    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4807
4808  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4809
4810  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4811
4812  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4813
4814  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4815
4816
4817
4818if test -n "$ac_tool_prefix"; then
4819  for ac_prog in ar lib "link -lib"
4820  do
4821    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4822set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4824$as_echo_n "checking for $ac_word... " >&6; }
4825if ${ac_cv_prog_AR+:} false; then :
4826  $as_echo_n "(cached) " >&6
4827else
4828  if test -n "$AR"; then
4829  ac_cv_prog_AR="$AR" # Let the user override the test.
4830else
4831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832for as_dir in $PATH
4833do
4834  IFS=$as_save_IFS
4835  test -z "$as_dir" && as_dir=.
4836    for ac_exec_ext in '' $ac_executable_extensions; do
4837  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4838    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4839    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4840    break 2
4841  fi
4842done
4843  done
4844IFS=$as_save_IFS
4845
4846fi
4847fi
4848AR=$ac_cv_prog_AR
4849if test -n "$AR"; then
4850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4851$as_echo "$AR" >&6; }
4852else
4853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854$as_echo "no" >&6; }
4855fi
4856
4857
4858    test -n "$AR" && break
4859  done
4860fi
4861if test -z "$AR"; then
4862  ac_ct_AR=$AR
4863  for ac_prog in ar lib "link -lib"
4864do
4865  # Extract the first word of "$ac_prog", so it can be a program name with args.
4866set dummy $ac_prog; ac_word=$2
4867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868$as_echo_n "checking for $ac_word... " >&6; }
4869if ${ac_cv_prog_ac_ct_AR+:} false; then :
4870  $as_echo_n "(cached) " >&6
4871else
4872  if test -n "$ac_ct_AR"; then
4873  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4874else
4875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876for as_dir in $PATH
4877do
4878  IFS=$as_save_IFS
4879  test -z "$as_dir" && as_dir=.
4880    for ac_exec_ext in '' $ac_executable_extensions; do
4881  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4882    ac_cv_prog_ac_ct_AR="$ac_prog"
4883    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884    break 2
4885  fi
4886done
4887  done
4888IFS=$as_save_IFS
4889
4890fi
4891fi
4892ac_ct_AR=$ac_cv_prog_ac_ct_AR
4893if test -n "$ac_ct_AR"; then
4894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4895$as_echo "$ac_ct_AR" >&6; }
4896else
4897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898$as_echo "no" >&6; }
4899fi
4900
4901
4902  test -n "$ac_ct_AR" && break
4903done
4904
4905  if test "x$ac_ct_AR" = x; then
4906    AR="false"
4907  else
4908    case $cross_compiling:$ac_tool_warned in
4909yes:)
4910{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4911$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4912ac_tool_warned=yes ;;
4913esac
4914    AR=$ac_ct_AR
4915  fi
4916fi
4917
4918: ${AR=ar}
4919
4920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4921$as_echo_n "checking the archiver ($AR) interface... " >&6; }
4922if ${am_cv_ar_interface+:} false; then :
4923  $as_echo_n "(cached) " >&6
4924else
4925  ac_ext=c
4926ac_cpp='$CPP $CPPFLAGS'
4927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4929ac_compiler_gnu=$ac_cv_c_compiler_gnu
4930
4931   am_cv_ar_interface=ar
4932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4933/* end confdefs.h.  */
4934int some_variable = 0;
4935_ACEOF
4936if ac_fn_c_try_compile "$LINENO"; then :
4937  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4938      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4939  (eval $am_ar_try) 2>&5
4940  ac_status=$?
4941  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4942  test $ac_status = 0; }
4943      if test "$ac_status" -eq 0; then
4944        am_cv_ar_interface=ar
4945      else
4946        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4947        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4948  (eval $am_ar_try) 2>&5
4949  ac_status=$?
4950  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4951  test $ac_status = 0; }
4952        if test "$ac_status" -eq 0; then
4953          am_cv_ar_interface=lib
4954        else
4955          am_cv_ar_interface=unknown
4956        fi
4957      fi
4958      rm -f conftest.lib libconftest.a
4959
4960fi
4961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4962   ac_ext=c
4963ac_cpp='$CPP $CPPFLAGS'
4964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4966ac_compiler_gnu=$ac_cv_c_compiler_gnu
4967
4968fi
4969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4970$as_echo "$am_cv_ar_interface" >&6; }
4971
4972case $am_cv_ar_interface in
4973ar)
4974  ;;
4975lib)
4976  # Microsoft lib, so override with the ar-lib wrapper script.
4977  # FIXME: It is wrong to rewrite AR.
4978  # But if we don't then we get into trouble of one sort or another.
4979  # A longer-term fix would be to have automake use am__AR in this case,
4980  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4981  # similar.
4982  AR="$am_aux_dir/ar-lib $AR"
4983  ;;
4984unknown)
4985  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4986  ;;
4987esac
4988
4989case `pwd` in
4990  *\ * | *\	*)
4991    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4992$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4993esac
4994
4995
4996
4997macro_version='2.4.6'
4998macro_revision='2.4.6'
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012ltmain=$ac_aux_dir/ltmain.sh
5013
5014# Make sure we can run config.sub.
5015$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5016  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5017
5018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5019$as_echo_n "checking build system type... " >&6; }
5020if ${ac_cv_build+:} false; then :
5021  $as_echo_n "(cached) " >&6
5022else
5023  ac_build_alias=$build_alias
5024test "x$ac_build_alias" = x &&
5025  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5026test "x$ac_build_alias" = x &&
5027  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5028ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5029  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5030
5031fi
5032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5033$as_echo "$ac_cv_build" >&6; }
5034case $ac_cv_build in
5035*-*-*) ;;
5036*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5037esac
5038build=$ac_cv_build
5039ac_save_IFS=$IFS; IFS='-'
5040set x $ac_cv_build
5041shift
5042build_cpu=$1
5043build_vendor=$2
5044shift; shift
5045# Remember, the first character of IFS is used to create $*,
5046# except with old shells:
5047build_os=$*
5048IFS=$ac_save_IFS
5049case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5050
5051
5052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5053$as_echo_n "checking host system type... " >&6; }
5054if ${ac_cv_host+:} false; then :
5055  $as_echo_n "(cached) " >&6
5056else
5057  if test "x$host_alias" = x; then
5058  ac_cv_host=$ac_cv_build
5059else
5060  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5061    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5062fi
5063
5064fi
5065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5066$as_echo "$ac_cv_host" >&6; }
5067case $ac_cv_host in
5068*-*-*) ;;
5069*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5070esac
5071host=$ac_cv_host
5072ac_save_IFS=$IFS; IFS='-'
5073set x $ac_cv_host
5074shift
5075host_cpu=$1
5076host_vendor=$2
5077shift; shift
5078# Remember, the first character of IFS is used to create $*,
5079# except with old shells:
5080host_os=$*
5081IFS=$ac_save_IFS
5082case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5083
5084
5085# Backslashify metacharacters that are still active within
5086# double-quoted strings.
5087sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5088
5089# Same as above, but do not quote variable references.
5090double_quote_subst='s/\(["`\\]\)/\\\1/g'
5091
5092# Sed substitution to delay expansion of an escaped shell variable in a
5093# double_quote_subst'ed string.
5094delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5095
5096# Sed substitution to delay expansion of an escaped single quote.
5097delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5098
5099# Sed substitution to avoid accidental globbing in evaled expressions
5100no_glob_subst='s/\*/\\\*/g'
5101
5102ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5103ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5104ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5105
5106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5107$as_echo_n "checking how to print strings... " >&6; }
5108# Test print first, because it will be a builtin if present.
5109if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5110   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5111  ECHO='print -r --'
5112elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5113  ECHO='printf %s\n'
5114else
5115  # Use this function as a fallback that always works.
5116  func_fallback_echo ()
5117  {
5118    eval 'cat <<_LTECHO_EOF
5119$1
5120_LTECHO_EOF'
5121  }
5122  ECHO='func_fallback_echo'
5123fi
5124
5125# func_echo_all arg...
5126# Invoke $ECHO with all args, space-separated.
5127func_echo_all ()
5128{
5129    $ECHO ""
5130}
5131
5132case $ECHO in
5133  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5134$as_echo "printf" >&6; } ;;
5135  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5136$as_echo "print -r" >&6; } ;;
5137  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5138$as_echo "cat" >&6; } ;;
5139esac
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5155$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5156if ${ac_cv_path_SED+:} false; then :
5157  $as_echo_n "(cached) " >&6
5158else
5159            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5160     for ac_i in 1 2 3 4 5 6 7; do
5161       ac_script="$ac_script$as_nl$ac_script"
5162     done
5163     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5164     { ac_script=; unset ac_script;}
5165     if test -z "$SED"; then
5166  ac_path_SED_found=false
5167  # Loop through the user's path and test for each of PROGNAME-LIST
5168  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5169for as_dir in $PATH
5170do
5171  IFS=$as_save_IFS
5172  test -z "$as_dir" && as_dir=.
5173    for ac_prog in sed gsed; do
5174    for ac_exec_ext in '' $ac_executable_extensions; do
5175      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5176      as_fn_executable_p "$ac_path_SED" || continue
5177# Check for GNU ac_path_SED and select it if it is found.
5178  # Check for GNU $ac_path_SED
5179case `"$ac_path_SED" --version 2>&1` in
5180*GNU*)
5181  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5182*)
5183  ac_count=0
5184  $as_echo_n 0123456789 >"conftest.in"
5185  while :
5186  do
5187    cat "conftest.in" "conftest.in" >"conftest.tmp"
5188    mv "conftest.tmp" "conftest.in"
5189    cp "conftest.in" "conftest.nl"
5190    $as_echo '' >> "conftest.nl"
5191    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5192    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5193    as_fn_arith $ac_count + 1 && ac_count=$as_val
5194    if test $ac_count -gt ${ac_path_SED_max-0}; then
5195      # Best one so far, save it but keep looking for a better one
5196      ac_cv_path_SED="$ac_path_SED"
5197      ac_path_SED_max=$ac_count
5198    fi
5199    # 10*(2^10) chars as input seems more than enough
5200    test $ac_count -gt 10 && break
5201  done
5202  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5203esac
5204
5205      $ac_path_SED_found && break 3
5206    done
5207  done
5208  done
5209IFS=$as_save_IFS
5210  if test -z "$ac_cv_path_SED"; then
5211    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5212  fi
5213else
5214  ac_cv_path_SED=$SED
5215fi
5216
5217fi
5218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5219$as_echo "$ac_cv_path_SED" >&6; }
5220 SED="$ac_cv_path_SED"
5221  rm -f conftest.sed
5222
5223test -z "$SED" && SED=sed
5224Xsed="$SED -e 1s/^X//"
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5237$as_echo_n "checking for fgrep... " >&6; }
5238if ${ac_cv_path_FGREP+:} false; then :
5239  $as_echo_n "(cached) " >&6
5240else
5241  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5242   then ac_cv_path_FGREP="$GREP -F"
5243   else
5244     if test -z "$FGREP"; then
5245  ac_path_FGREP_found=false
5246  # Loop through the user's path and test for each of PROGNAME-LIST
5247  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5249do
5250  IFS=$as_save_IFS
5251  test -z "$as_dir" && as_dir=.
5252    for ac_prog in fgrep; do
5253    for ac_exec_ext in '' $ac_executable_extensions; do
5254      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5255      as_fn_executable_p "$ac_path_FGREP" || continue
5256# Check for GNU ac_path_FGREP and select it if it is found.
5257  # Check for GNU $ac_path_FGREP
5258case `"$ac_path_FGREP" --version 2>&1` in
5259*GNU*)
5260  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5261*)
5262  ac_count=0
5263  $as_echo_n 0123456789 >"conftest.in"
5264  while :
5265  do
5266    cat "conftest.in" "conftest.in" >"conftest.tmp"
5267    mv "conftest.tmp" "conftest.in"
5268    cp "conftest.in" "conftest.nl"
5269    $as_echo 'FGREP' >> "conftest.nl"
5270    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5271    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5272    as_fn_arith $ac_count + 1 && ac_count=$as_val
5273    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5274      # Best one so far, save it but keep looking for a better one
5275      ac_cv_path_FGREP="$ac_path_FGREP"
5276      ac_path_FGREP_max=$ac_count
5277    fi
5278    # 10*(2^10) chars as input seems more than enough
5279    test $ac_count -gt 10 && break
5280  done
5281  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5282esac
5283
5284      $ac_path_FGREP_found && break 3
5285    done
5286  done
5287  done
5288IFS=$as_save_IFS
5289  if test -z "$ac_cv_path_FGREP"; then
5290    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5291  fi
5292else
5293  ac_cv_path_FGREP=$FGREP
5294fi
5295
5296   fi
5297fi
5298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5299$as_echo "$ac_cv_path_FGREP" >&6; }
5300 FGREP="$ac_cv_path_FGREP"
5301
5302
5303test -z "$GREP" && GREP=grep
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323# Check whether --with-gnu-ld was given.
5324if test "${with_gnu_ld+set}" = set; then :
5325  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5326else
5327  with_gnu_ld=no
5328fi
5329
5330ac_prog=ld
5331if test yes = "$GCC"; then
5332  # Check if gcc -print-prog-name=ld gives a path.
5333  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5334$as_echo_n "checking for ld used by $CC... " >&6; }
5335  case $host in
5336  *-*-mingw*)
5337    # gcc leaves a trailing carriage return, which upsets mingw
5338    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5339  *)
5340    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5341  esac
5342  case $ac_prog in
5343    # Accept absolute paths.
5344    [\\/]* | ?:[\\/]*)
5345      re_direlt='/[^/][^/]*/\.\./'
5346      # Canonicalize the pathname of ld
5347      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5348      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5349	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5350      done
5351      test -z "$LD" && LD=$ac_prog
5352      ;;
5353  "")
5354    # If it fails, then pretend we aren't using GCC.
5355    ac_prog=ld
5356    ;;
5357  *)
5358    # If it is relative, then search for the first ld in PATH.
5359    with_gnu_ld=unknown
5360    ;;
5361  esac
5362elif test yes = "$with_gnu_ld"; then
5363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5364$as_echo_n "checking for GNU ld... " >&6; }
5365else
5366  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5367$as_echo_n "checking for non-GNU ld... " >&6; }
5368fi
5369if ${lt_cv_path_LD+:} false; then :
5370  $as_echo_n "(cached) " >&6
5371else
5372  if test -z "$LD"; then
5373  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5374  for ac_dir in $PATH; do
5375    IFS=$lt_save_ifs
5376    test -z "$ac_dir" && ac_dir=.
5377    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5378      lt_cv_path_LD=$ac_dir/$ac_prog
5379      # Check to see if the program is GNU ld.  I'd rather use --version,
5380      # but apparently some variants of GNU ld only accept -v.
5381      # Break only if it was the GNU/non-GNU ld that we prefer.
5382      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5383      *GNU* | *'with BFD'*)
5384	test no != "$with_gnu_ld" && break
5385	;;
5386      *)
5387	test yes != "$with_gnu_ld" && break
5388	;;
5389      esac
5390    fi
5391  done
5392  IFS=$lt_save_ifs
5393else
5394  lt_cv_path_LD=$LD # Let the user override the test with a path.
5395fi
5396fi
5397
5398LD=$lt_cv_path_LD
5399if test -n "$LD"; then
5400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5401$as_echo "$LD" >&6; }
5402else
5403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404$as_echo "no" >&6; }
5405fi
5406test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5408$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5409if ${lt_cv_prog_gnu_ld+:} false; then :
5410  $as_echo_n "(cached) " >&6
5411else
5412  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5413case `$LD -v 2>&1 </dev/null` in
5414*GNU* | *'with BFD'*)
5415  lt_cv_prog_gnu_ld=yes
5416  ;;
5417*)
5418  lt_cv_prog_gnu_ld=no
5419  ;;
5420esac
5421fi
5422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5423$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5424with_gnu_ld=$lt_cv_prog_gnu_ld
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5435$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5436if ${lt_cv_path_NM+:} false; then :
5437  $as_echo_n "(cached) " >&6
5438else
5439  if test -n "$NM"; then
5440  # Let the user override the test.
5441  lt_cv_path_NM=$NM
5442else
5443  lt_nm_to_check=${ac_tool_prefix}nm
5444  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5445    lt_nm_to_check="$lt_nm_to_check nm"
5446  fi
5447  for lt_tmp_nm in $lt_nm_to_check; do
5448    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5449    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5450      IFS=$lt_save_ifs
5451      test -z "$ac_dir" && ac_dir=.
5452      tmp_nm=$ac_dir/$lt_tmp_nm
5453      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5454	# Check to see if the nm accepts a BSD-compat flag.
5455	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5456	#   nm: unknown option "B" ignored
5457	# Tru64's nm complains that /dev/null is an invalid object file
5458	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5459	case $build_os in
5460	mingw*) lt_bad_file=conftest.nm/nofile ;;
5461	*) lt_bad_file=/dev/null ;;
5462	esac
5463	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5464	*$lt_bad_file* | *'Invalid file or object type'*)
5465	  lt_cv_path_NM="$tmp_nm -B"
5466	  break 2
5467	  ;;
5468	*)
5469	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5470	  */dev/null*)
5471	    lt_cv_path_NM="$tmp_nm -p"
5472	    break 2
5473	    ;;
5474	  *)
5475	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5476	    continue # so that we can try to find one that supports BSD flags
5477	    ;;
5478	  esac
5479	  ;;
5480	esac
5481      fi
5482    done
5483    IFS=$lt_save_ifs
5484  done
5485  : ${lt_cv_path_NM=no}
5486fi
5487fi
5488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5489$as_echo "$lt_cv_path_NM" >&6; }
5490if test no != "$lt_cv_path_NM"; then
5491  NM=$lt_cv_path_NM
5492else
5493  # Didn't find any BSD compatible name lister, look for dumpbin.
5494  if test -n "$DUMPBIN"; then :
5495    # Let the user override the test.
5496  else
5497    if test -n "$ac_tool_prefix"; then
5498  for ac_prog in dumpbin "link -dump"
5499  do
5500    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5501set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503$as_echo_n "checking for $ac_word... " >&6; }
5504if ${ac_cv_prog_DUMPBIN+:} false; then :
5505  $as_echo_n "(cached) " >&6
5506else
5507  if test -n "$DUMPBIN"; then
5508  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5509else
5510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511for as_dir in $PATH
5512do
5513  IFS=$as_save_IFS
5514  test -z "$as_dir" && as_dir=.
5515    for ac_exec_ext in '' $ac_executable_extensions; do
5516  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5517    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5518    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5519    break 2
5520  fi
5521done
5522  done
5523IFS=$as_save_IFS
5524
5525fi
5526fi
5527DUMPBIN=$ac_cv_prog_DUMPBIN
5528if test -n "$DUMPBIN"; then
5529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5530$as_echo "$DUMPBIN" >&6; }
5531else
5532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533$as_echo "no" >&6; }
5534fi
5535
5536
5537    test -n "$DUMPBIN" && break
5538  done
5539fi
5540if test -z "$DUMPBIN"; then
5541  ac_ct_DUMPBIN=$DUMPBIN
5542  for ac_prog in dumpbin "link -dump"
5543do
5544  # Extract the first word of "$ac_prog", so it can be a program name with args.
5545set dummy $ac_prog; ac_word=$2
5546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547$as_echo_n "checking for $ac_word... " >&6; }
5548if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5549  $as_echo_n "(cached) " >&6
5550else
5551  if test -n "$ac_ct_DUMPBIN"; then
5552  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5553else
5554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555for as_dir in $PATH
5556do
5557  IFS=$as_save_IFS
5558  test -z "$as_dir" && as_dir=.
5559    for ac_exec_ext in '' $ac_executable_extensions; do
5560  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5561    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5562    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563    break 2
5564  fi
5565done
5566  done
5567IFS=$as_save_IFS
5568
5569fi
5570fi
5571ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5572if test -n "$ac_ct_DUMPBIN"; then
5573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5574$as_echo "$ac_ct_DUMPBIN" >&6; }
5575else
5576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577$as_echo "no" >&6; }
5578fi
5579
5580
5581  test -n "$ac_ct_DUMPBIN" && break
5582done
5583
5584  if test "x$ac_ct_DUMPBIN" = x; then
5585    DUMPBIN=":"
5586  else
5587    case $cross_compiling:$ac_tool_warned in
5588yes:)
5589{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5590$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5591ac_tool_warned=yes ;;
5592esac
5593    DUMPBIN=$ac_ct_DUMPBIN
5594  fi
5595fi
5596
5597    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5598    *COFF*)
5599      DUMPBIN="$DUMPBIN -symbols -headers"
5600      ;;
5601    *)
5602      DUMPBIN=:
5603      ;;
5604    esac
5605  fi
5606
5607  if test : != "$DUMPBIN"; then
5608    NM=$DUMPBIN
5609  fi
5610fi
5611test -z "$NM" && NM=nm
5612
5613
5614
5615
5616
5617
5618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5619$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5620if ${lt_cv_nm_interface+:} false; then :
5621  $as_echo_n "(cached) " >&6
5622else
5623  lt_cv_nm_interface="BSD nm"
5624  echo "int some_variable = 0;" > conftest.$ac_ext
5625  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5626  (eval "$ac_compile" 2>conftest.err)
5627  cat conftest.err >&5
5628  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5629  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5630  cat conftest.err >&5
5631  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5632  cat conftest.out >&5
5633  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5634    lt_cv_nm_interface="MS dumpbin"
5635  fi
5636  rm -f conftest*
5637fi
5638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5639$as_echo "$lt_cv_nm_interface" >&6; }
5640
5641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5642$as_echo_n "checking whether ln -s works... " >&6; }
5643LN_S=$as_ln_s
5644if test "$LN_S" = "ln -s"; then
5645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5646$as_echo "yes" >&6; }
5647else
5648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5649$as_echo "no, using $LN_S" >&6; }
5650fi
5651
5652# find the maximum length of command line arguments
5653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5654$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5655if ${lt_cv_sys_max_cmd_len+:} false; then :
5656  $as_echo_n "(cached) " >&6
5657else
5658    i=0
5659  teststring=ABCD
5660
5661  case $build_os in
5662  msdosdjgpp*)
5663    # On DJGPP, this test can blow up pretty badly due to problems in libc
5664    # (any single argument exceeding 2000 bytes causes a buffer overrun
5665    # during glob expansion).  Even if it were fixed, the result of this
5666    # check would be larger than it should be.
5667    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5668    ;;
5669
5670  gnu*)
5671    # Under GNU Hurd, this test is not required because there is
5672    # no limit to the length of command line arguments.
5673    # Libtool will interpret -1 as no limit whatsoever
5674    lt_cv_sys_max_cmd_len=-1;
5675    ;;
5676
5677  cygwin* | mingw* | cegcc*)
5678    # On Win9x/ME, this test blows up -- it succeeds, but takes
5679    # about 5 minutes as the teststring grows exponentially.
5680    # Worse, since 9x/ME are not pre-emptively multitasking,
5681    # you end up with a "frozen" computer, even though with patience
5682    # the test eventually succeeds (with a max line length of 256k).
5683    # Instead, let's just punt: use the minimum linelength reported by
5684    # all of the supported platforms: 8192 (on NT/2K/XP).
5685    lt_cv_sys_max_cmd_len=8192;
5686    ;;
5687
5688  mint*)
5689    # On MiNT this can take a long time and run out of memory.
5690    lt_cv_sys_max_cmd_len=8192;
5691    ;;
5692
5693  amigaos*)
5694    # On AmigaOS with pdksh, this test takes hours, literally.
5695    # So we just punt and use a minimum line length of 8192.
5696    lt_cv_sys_max_cmd_len=8192;
5697    ;;
5698
5699  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5700    # This has been around since 386BSD, at least.  Likely further.
5701    if test -x /sbin/sysctl; then
5702      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5703    elif test -x /usr/sbin/sysctl; then
5704      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5705    else
5706      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5707    fi
5708    # And add a safety zone
5709    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5710    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5711    ;;
5712
5713  interix*)
5714    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5715    lt_cv_sys_max_cmd_len=196608
5716    ;;
5717
5718  os2*)
5719    # The test takes a long time on OS/2.
5720    lt_cv_sys_max_cmd_len=8192
5721    ;;
5722
5723  osf*)
5724    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5725    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5726    # nice to cause kernel panics so lets avoid the loop below.
5727    # First set a reasonable default.
5728    lt_cv_sys_max_cmd_len=16384
5729    #
5730    if test -x /sbin/sysconfig; then
5731      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5732        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5733      esac
5734    fi
5735    ;;
5736  sco3.2v5*)
5737    lt_cv_sys_max_cmd_len=102400
5738    ;;
5739  sysv5* | sco5v6* | sysv4.2uw2*)
5740    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5741    if test -n "$kargmax"; then
5742      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5743    else
5744      lt_cv_sys_max_cmd_len=32768
5745    fi
5746    ;;
5747  *)
5748    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5749    if test -n "$lt_cv_sys_max_cmd_len" && \
5750       test undefined != "$lt_cv_sys_max_cmd_len"; then
5751      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5752      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5753    else
5754      # Make teststring a little bigger before we do anything with it.
5755      # a 1K string should be a reasonable start.
5756      for i in 1 2 3 4 5 6 7 8; do
5757        teststring=$teststring$teststring
5758      done
5759      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5760      # If test is not a shell built-in, we'll probably end up computing a
5761      # maximum length that is only half of the actual maximum length, but
5762      # we can't tell.
5763      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5764	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5765	      test 17 != "$i" # 1/2 MB should be enough
5766      do
5767        i=`expr $i + 1`
5768        teststring=$teststring$teststring
5769      done
5770      # Only check the string length outside the loop.
5771      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5772      teststring=
5773      # Add a significant safety factor because C++ compilers can tack on
5774      # massive amounts of additional arguments before passing them to the
5775      # linker.  It appears as though 1/2 is a usable value.
5776      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5777    fi
5778    ;;
5779  esac
5780
5781fi
5782
5783if test -n "$lt_cv_sys_max_cmd_len"; then
5784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5785$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5786else
5787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5788$as_echo "none" >&6; }
5789fi
5790max_cmd_len=$lt_cv_sys_max_cmd_len
5791
5792
5793
5794
5795
5796
5797: ${CP="cp -f"}
5798: ${MV="mv -f"}
5799: ${RM="rm -f"}
5800
5801if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5802  lt_unset=unset
5803else
5804  lt_unset=false
5805fi
5806
5807
5808
5809
5810
5811# test EBCDIC or ASCII
5812case `echo X|tr X '\101'` in
5813 A) # ASCII based system
5814    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5815  lt_SP2NL='tr \040 \012'
5816  lt_NL2SP='tr \015\012 \040\040'
5817  ;;
5818 *) # EBCDIC based system
5819  lt_SP2NL='tr \100 \n'
5820  lt_NL2SP='tr \r\n \100\100'
5821  ;;
5822esac
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5833$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5834if ${lt_cv_to_host_file_cmd+:} false; then :
5835  $as_echo_n "(cached) " >&6
5836else
5837  case $host in
5838  *-*-mingw* )
5839    case $build in
5840      *-*-mingw* ) # actually msys
5841        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5842        ;;
5843      *-*-cygwin* )
5844        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5845        ;;
5846      * ) # otherwise, assume *nix
5847        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5848        ;;
5849    esac
5850    ;;
5851  *-*-cygwin* )
5852    case $build in
5853      *-*-mingw* ) # actually msys
5854        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5855        ;;
5856      *-*-cygwin* )
5857        lt_cv_to_host_file_cmd=func_convert_file_noop
5858        ;;
5859      * ) # otherwise, assume *nix
5860        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5861        ;;
5862    esac
5863    ;;
5864  * ) # unhandled hosts (and "normal" native builds)
5865    lt_cv_to_host_file_cmd=func_convert_file_noop
5866    ;;
5867esac
5868
5869fi
5870
5871to_host_file_cmd=$lt_cv_to_host_file_cmd
5872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5873$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5874
5875
5876
5877
5878
5879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5880$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5881if ${lt_cv_to_tool_file_cmd+:} false; then :
5882  $as_echo_n "(cached) " >&6
5883else
5884  #assume ordinary cross tools, or native build.
5885lt_cv_to_tool_file_cmd=func_convert_file_noop
5886case $host in
5887  *-*-mingw* )
5888    case $build in
5889      *-*-mingw* ) # actually msys
5890        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5891        ;;
5892    esac
5893    ;;
5894esac
5895
5896fi
5897
5898to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5900$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5901
5902
5903
5904
5905
5906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5907$as_echo_n "checking for $LD option to reload object files... " >&6; }
5908if ${lt_cv_ld_reload_flag+:} false; then :
5909  $as_echo_n "(cached) " >&6
5910else
5911  lt_cv_ld_reload_flag='-r'
5912fi
5913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5914$as_echo "$lt_cv_ld_reload_flag" >&6; }
5915reload_flag=$lt_cv_ld_reload_flag
5916case $reload_flag in
5917"" | " "*) ;;
5918*) reload_flag=" $reload_flag" ;;
5919esac
5920reload_cmds='$LD$reload_flag -o $output$reload_objs'
5921case $host_os in
5922  cygwin* | mingw* | pw32* | cegcc*)
5923    if test yes != "$GCC"; then
5924      reload_cmds=false
5925    fi
5926    ;;
5927  darwin*)
5928    if test yes = "$GCC"; then
5929      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5930    else
5931      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5932    fi
5933    ;;
5934esac
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944if test -n "$ac_tool_prefix"; then
5945  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5946set dummy ${ac_tool_prefix}objdump; ac_word=$2
5947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5948$as_echo_n "checking for $ac_word... " >&6; }
5949if ${ac_cv_prog_OBJDUMP+:} false; then :
5950  $as_echo_n "(cached) " >&6
5951else
5952  if test -n "$OBJDUMP"; then
5953  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5954else
5955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956for as_dir in $PATH
5957do
5958  IFS=$as_save_IFS
5959  test -z "$as_dir" && as_dir=.
5960    for ac_exec_ext in '' $ac_executable_extensions; do
5961  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5963    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5964    break 2
5965  fi
5966done
5967  done
5968IFS=$as_save_IFS
5969
5970fi
5971fi
5972OBJDUMP=$ac_cv_prog_OBJDUMP
5973if test -n "$OBJDUMP"; then
5974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5975$as_echo "$OBJDUMP" >&6; }
5976else
5977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978$as_echo "no" >&6; }
5979fi
5980
5981
5982fi
5983if test -z "$ac_cv_prog_OBJDUMP"; then
5984  ac_ct_OBJDUMP=$OBJDUMP
5985  # Extract the first word of "objdump", so it can be a program name with args.
5986set dummy objdump; ac_word=$2
5987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5988$as_echo_n "checking for $ac_word... " >&6; }
5989if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5990  $as_echo_n "(cached) " >&6
5991else
5992  if test -n "$ac_ct_OBJDUMP"; then
5993  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5994else
5995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5996for as_dir in $PATH
5997do
5998  IFS=$as_save_IFS
5999  test -z "$as_dir" && as_dir=.
6000    for ac_exec_ext in '' $ac_executable_extensions; do
6001  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6002    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6003    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6004    break 2
6005  fi
6006done
6007  done
6008IFS=$as_save_IFS
6009
6010fi
6011fi
6012ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6013if test -n "$ac_ct_OBJDUMP"; then
6014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6015$as_echo "$ac_ct_OBJDUMP" >&6; }
6016else
6017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6018$as_echo "no" >&6; }
6019fi
6020
6021  if test "x$ac_ct_OBJDUMP" = x; then
6022    OBJDUMP="false"
6023  else
6024    case $cross_compiling:$ac_tool_warned in
6025yes:)
6026{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6027$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6028ac_tool_warned=yes ;;
6029esac
6030    OBJDUMP=$ac_ct_OBJDUMP
6031  fi
6032else
6033  OBJDUMP="$ac_cv_prog_OBJDUMP"
6034fi
6035
6036test -z "$OBJDUMP" && OBJDUMP=objdump
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6047$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6048if ${lt_cv_deplibs_check_method+:} false; then :
6049  $as_echo_n "(cached) " >&6
6050else
6051  lt_cv_file_magic_cmd='$MAGIC_CMD'
6052lt_cv_file_magic_test_file=
6053lt_cv_deplibs_check_method='unknown'
6054# Need to set the preceding variable on all platforms that support
6055# interlibrary dependencies.
6056# 'none' -- dependencies not supported.
6057# 'unknown' -- same as none, but documents that we really don't know.
6058# 'pass_all' -- all dependencies passed with no checks.
6059# 'test_compile' -- check by making test program.
6060# 'file_magic [[regex]]' -- check by looking for files in library path
6061# that responds to the $file_magic_cmd with a given extended regex.
6062# If you have 'file' or equivalent on your system and you're not sure
6063# whether 'pass_all' will *always* work, you probably want this one.
6064
6065case $host_os in
6066aix[4-9]*)
6067  lt_cv_deplibs_check_method=pass_all
6068  ;;
6069
6070beos*)
6071  lt_cv_deplibs_check_method=pass_all
6072  ;;
6073
6074bsdi[45]*)
6075  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6076  lt_cv_file_magic_cmd='/usr/bin/file -L'
6077  lt_cv_file_magic_test_file=/shlib/libc.so
6078  ;;
6079
6080cygwin*)
6081  # func_win32_libid is a shell function defined in ltmain.sh
6082  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6083  lt_cv_file_magic_cmd='func_win32_libid'
6084  ;;
6085
6086mingw* | pw32*)
6087  # Base MSYS/MinGW do not provide the 'file' command needed by
6088  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6089  # unless we find 'file', for example because we are cross-compiling.
6090  if ( file / ) >/dev/null 2>&1; then
6091    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6092    lt_cv_file_magic_cmd='func_win32_libid'
6093  else
6094    # Keep this pattern in sync with the one in func_win32_libid.
6095    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6096    lt_cv_file_magic_cmd='$OBJDUMP -f'
6097  fi
6098  ;;
6099
6100cegcc*)
6101  # use the weaker test based on 'objdump'. See mingw*.
6102  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6103  lt_cv_file_magic_cmd='$OBJDUMP -f'
6104  ;;
6105
6106darwin* | rhapsody*)
6107  lt_cv_deplibs_check_method=pass_all
6108  ;;
6109
6110freebsd* | dragonfly*)
6111  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6112    case $host_cpu in
6113    i*86 )
6114      # Not sure whether the presence of OpenBSD here was a mistake.
6115      # Let's accept both of them until this is cleared up.
6116      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6117      lt_cv_file_magic_cmd=/usr/bin/file
6118      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6119      ;;
6120    esac
6121  else
6122    lt_cv_deplibs_check_method=pass_all
6123  fi
6124  ;;
6125
6126haiku*)
6127  lt_cv_deplibs_check_method=pass_all
6128  ;;
6129
6130hpux10.20* | hpux11*)
6131  lt_cv_file_magic_cmd=/usr/bin/file
6132  case $host_cpu in
6133  ia64*)
6134    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6135    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6136    ;;
6137  hppa*64*)
6138    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]'
6139    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6140    ;;
6141  *)
6142    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6143    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6144    ;;
6145  esac
6146  ;;
6147
6148interix[3-9]*)
6149  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6150  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6151  ;;
6152
6153irix5* | irix6* | nonstopux*)
6154  case $LD in
6155  *-32|*"-32 ") libmagic=32-bit;;
6156  *-n32|*"-n32 ") libmagic=N32;;
6157  *-64|*"-64 ") libmagic=64-bit;;
6158  *) libmagic=never-match;;
6159  esac
6160  lt_cv_deplibs_check_method=pass_all
6161  ;;
6162
6163# This must be glibc/ELF.
6164linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6165  lt_cv_deplibs_check_method=pass_all
6166  ;;
6167
6168netbsd* | netbsdelf*-gnu)
6169  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6170    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6171  else
6172    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6173  fi
6174  ;;
6175
6176newos6*)
6177  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6178  lt_cv_file_magic_cmd=/usr/bin/file
6179  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6180  ;;
6181
6182*nto* | *qnx*)
6183  lt_cv_deplibs_check_method=pass_all
6184  ;;
6185
6186openbsd* | bitrig*)
6187  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6188    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6189  else
6190    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6191  fi
6192  ;;
6193
6194osf3* | osf4* | osf5*)
6195  lt_cv_deplibs_check_method=pass_all
6196  ;;
6197
6198rdos*)
6199  lt_cv_deplibs_check_method=pass_all
6200  ;;
6201
6202solaris*)
6203  lt_cv_deplibs_check_method=pass_all
6204  ;;
6205
6206sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6207  lt_cv_deplibs_check_method=pass_all
6208  ;;
6209
6210sysv4 | sysv4.3*)
6211  case $host_vendor in
6212  motorola)
6213    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]'
6214    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6215    ;;
6216  ncr)
6217    lt_cv_deplibs_check_method=pass_all
6218    ;;
6219  sequent)
6220    lt_cv_file_magic_cmd='/bin/file'
6221    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6222    ;;
6223  sni)
6224    lt_cv_file_magic_cmd='/bin/file'
6225    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6226    lt_cv_file_magic_test_file=/lib/libc.so
6227    ;;
6228  siemens)
6229    lt_cv_deplibs_check_method=pass_all
6230    ;;
6231  pc)
6232    lt_cv_deplibs_check_method=pass_all
6233    ;;
6234  esac
6235  ;;
6236
6237tpf*)
6238  lt_cv_deplibs_check_method=pass_all
6239  ;;
6240os2*)
6241  lt_cv_deplibs_check_method=pass_all
6242  ;;
6243esac
6244
6245fi
6246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6247$as_echo "$lt_cv_deplibs_check_method" >&6; }
6248
6249file_magic_glob=
6250want_nocaseglob=no
6251if test "$build" = "$host"; then
6252  case $host_os in
6253  mingw* | pw32*)
6254    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6255      want_nocaseglob=yes
6256    else
6257      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6258    fi
6259    ;;
6260  esac
6261fi
6262
6263file_magic_cmd=$lt_cv_file_magic_cmd
6264deplibs_check_method=$lt_cv_deplibs_check_method
6265test -z "$deplibs_check_method" && deplibs_check_method=unknown
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288if test -n "$ac_tool_prefix"; then
6289  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6290set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6292$as_echo_n "checking for $ac_word... " >&6; }
6293if ${ac_cv_prog_DLLTOOL+:} false; then :
6294  $as_echo_n "(cached) " >&6
6295else
6296  if test -n "$DLLTOOL"; then
6297  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6298else
6299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300for as_dir in $PATH
6301do
6302  IFS=$as_save_IFS
6303  test -z "$as_dir" && as_dir=.
6304    for ac_exec_ext in '' $ac_executable_extensions; do
6305  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6306    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6307    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6308    break 2
6309  fi
6310done
6311  done
6312IFS=$as_save_IFS
6313
6314fi
6315fi
6316DLLTOOL=$ac_cv_prog_DLLTOOL
6317if test -n "$DLLTOOL"; then
6318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6319$as_echo "$DLLTOOL" >&6; }
6320else
6321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6322$as_echo "no" >&6; }
6323fi
6324
6325
6326fi
6327if test -z "$ac_cv_prog_DLLTOOL"; then
6328  ac_ct_DLLTOOL=$DLLTOOL
6329  # Extract the first word of "dlltool", so it can be a program name with args.
6330set dummy dlltool; ac_word=$2
6331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6332$as_echo_n "checking for $ac_word... " >&6; }
6333if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6334  $as_echo_n "(cached) " >&6
6335else
6336  if test -n "$ac_ct_DLLTOOL"; then
6337  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6338else
6339as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340for as_dir in $PATH
6341do
6342  IFS=$as_save_IFS
6343  test -z "$as_dir" && as_dir=.
6344    for ac_exec_ext in '' $ac_executable_extensions; do
6345  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6346    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6347    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6348    break 2
6349  fi
6350done
6351  done
6352IFS=$as_save_IFS
6353
6354fi
6355fi
6356ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6357if test -n "$ac_ct_DLLTOOL"; then
6358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6359$as_echo "$ac_ct_DLLTOOL" >&6; }
6360else
6361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6362$as_echo "no" >&6; }
6363fi
6364
6365  if test "x$ac_ct_DLLTOOL" = x; then
6366    DLLTOOL="false"
6367  else
6368    case $cross_compiling:$ac_tool_warned in
6369yes:)
6370{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6371$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6372ac_tool_warned=yes ;;
6373esac
6374    DLLTOOL=$ac_ct_DLLTOOL
6375  fi
6376else
6377  DLLTOOL="$ac_cv_prog_DLLTOOL"
6378fi
6379
6380test -z "$DLLTOOL" && DLLTOOL=dlltool
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6392$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6393if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6394  $as_echo_n "(cached) " >&6
6395else
6396  lt_cv_sharedlib_from_linklib_cmd='unknown'
6397
6398case $host_os in
6399cygwin* | mingw* | pw32* | cegcc*)
6400  # two different shell functions defined in ltmain.sh;
6401  # decide which one to use based on capabilities of $DLLTOOL
6402  case `$DLLTOOL --help 2>&1` in
6403  *--identify-strict*)
6404    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6405    ;;
6406  *)
6407    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6408    ;;
6409  esac
6410  ;;
6411*)
6412  # fallback: assume linklib IS sharedlib
6413  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6414  ;;
6415esac
6416
6417fi
6418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6419$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6420sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6421test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6422
6423
6424
6425
6426
6427
6428
6429if test -n "$ac_tool_prefix"; then
6430  for ac_prog in ar
6431  do
6432    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6433set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435$as_echo_n "checking for $ac_word... " >&6; }
6436if ${ac_cv_prog_AR+:} false; then :
6437  $as_echo_n "(cached) " >&6
6438else
6439  if test -n "$AR"; then
6440  ac_cv_prog_AR="$AR" # Let the user override the test.
6441else
6442as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443for as_dir in $PATH
6444do
6445  IFS=$as_save_IFS
6446  test -z "$as_dir" && as_dir=.
6447    for ac_exec_ext in '' $ac_executable_extensions; do
6448  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6449    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6450    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451    break 2
6452  fi
6453done
6454  done
6455IFS=$as_save_IFS
6456
6457fi
6458fi
6459AR=$ac_cv_prog_AR
6460if test -n "$AR"; then
6461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6462$as_echo "$AR" >&6; }
6463else
6464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465$as_echo "no" >&6; }
6466fi
6467
6468
6469    test -n "$AR" && break
6470  done
6471fi
6472if test -z "$AR"; then
6473  ac_ct_AR=$AR
6474  for ac_prog in ar
6475do
6476  # Extract the first word of "$ac_prog", so it can be a program name with args.
6477set dummy $ac_prog; ac_word=$2
6478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6479$as_echo_n "checking for $ac_word... " >&6; }
6480if ${ac_cv_prog_ac_ct_AR+:} false; then :
6481  $as_echo_n "(cached) " >&6
6482else
6483  if test -n "$ac_ct_AR"; then
6484  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6485else
6486as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487for as_dir in $PATH
6488do
6489  IFS=$as_save_IFS
6490  test -z "$as_dir" && as_dir=.
6491    for ac_exec_ext in '' $ac_executable_extensions; do
6492  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6493    ac_cv_prog_ac_ct_AR="$ac_prog"
6494    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6495    break 2
6496  fi
6497done
6498  done
6499IFS=$as_save_IFS
6500
6501fi
6502fi
6503ac_ct_AR=$ac_cv_prog_ac_ct_AR
6504if test -n "$ac_ct_AR"; then
6505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6506$as_echo "$ac_ct_AR" >&6; }
6507else
6508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509$as_echo "no" >&6; }
6510fi
6511
6512
6513  test -n "$ac_ct_AR" && break
6514done
6515
6516  if test "x$ac_ct_AR" = x; then
6517    AR="false"
6518  else
6519    case $cross_compiling:$ac_tool_warned in
6520yes:)
6521{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6522$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6523ac_tool_warned=yes ;;
6524esac
6525    AR=$ac_ct_AR
6526  fi
6527fi
6528
6529: ${AR=ar}
6530: ${AR_FLAGS=cru}
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6543$as_echo_n "checking for archiver @FILE support... " >&6; }
6544if ${lt_cv_ar_at_file+:} false; then :
6545  $as_echo_n "(cached) " >&6
6546else
6547  lt_cv_ar_at_file=no
6548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6549/* end confdefs.h.  */
6550
6551int
6552main ()
6553{
6554
6555  ;
6556  return 0;
6557}
6558_ACEOF
6559if ac_fn_c_try_compile "$LINENO"; then :
6560  echo conftest.$ac_objext > conftest.lst
6561      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6562      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6563  (eval $lt_ar_try) 2>&5
6564  ac_status=$?
6565  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6566  test $ac_status = 0; }
6567      if test 0 -eq "$ac_status"; then
6568	# Ensure the archiver fails upon bogus file names.
6569	rm -f conftest.$ac_objext libconftest.a
6570	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6571  (eval $lt_ar_try) 2>&5
6572  ac_status=$?
6573  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6574  test $ac_status = 0; }
6575	if test 0 -ne "$ac_status"; then
6576          lt_cv_ar_at_file=@
6577        fi
6578      fi
6579      rm -f conftest.* libconftest.a
6580
6581fi
6582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6583
6584fi
6585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6586$as_echo "$lt_cv_ar_at_file" >&6; }
6587
6588if test no = "$lt_cv_ar_at_file"; then
6589  archiver_list_spec=
6590else
6591  archiver_list_spec=$lt_cv_ar_at_file
6592fi
6593
6594
6595
6596
6597
6598
6599
6600if test -n "$ac_tool_prefix"; then
6601  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6602set dummy ${ac_tool_prefix}strip; ac_word=$2
6603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604$as_echo_n "checking for $ac_word... " >&6; }
6605if ${ac_cv_prog_STRIP+:} false; then :
6606  $as_echo_n "(cached) " >&6
6607else
6608  if test -n "$STRIP"; then
6609  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6610else
6611as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6612for as_dir in $PATH
6613do
6614  IFS=$as_save_IFS
6615  test -z "$as_dir" && as_dir=.
6616    for ac_exec_ext in '' $ac_executable_extensions; do
6617  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6618    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6619    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6620    break 2
6621  fi
6622done
6623  done
6624IFS=$as_save_IFS
6625
6626fi
6627fi
6628STRIP=$ac_cv_prog_STRIP
6629if test -n "$STRIP"; then
6630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6631$as_echo "$STRIP" >&6; }
6632else
6633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6634$as_echo "no" >&6; }
6635fi
6636
6637
6638fi
6639if test -z "$ac_cv_prog_STRIP"; then
6640  ac_ct_STRIP=$STRIP
6641  # Extract the first word of "strip", so it can be a program name with args.
6642set dummy strip; ac_word=$2
6643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644$as_echo_n "checking for $ac_word... " >&6; }
6645if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6646  $as_echo_n "(cached) " >&6
6647else
6648  if test -n "$ac_ct_STRIP"; then
6649  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6650else
6651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652for as_dir in $PATH
6653do
6654  IFS=$as_save_IFS
6655  test -z "$as_dir" && as_dir=.
6656    for ac_exec_ext in '' $ac_executable_extensions; do
6657  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6658    ac_cv_prog_ac_ct_STRIP="strip"
6659    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660    break 2
6661  fi
6662done
6663  done
6664IFS=$as_save_IFS
6665
6666fi
6667fi
6668ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6669if test -n "$ac_ct_STRIP"; then
6670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6671$as_echo "$ac_ct_STRIP" >&6; }
6672else
6673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674$as_echo "no" >&6; }
6675fi
6676
6677  if test "x$ac_ct_STRIP" = x; then
6678    STRIP=":"
6679  else
6680    case $cross_compiling:$ac_tool_warned in
6681yes:)
6682{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6683$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6684ac_tool_warned=yes ;;
6685esac
6686    STRIP=$ac_ct_STRIP
6687  fi
6688else
6689  STRIP="$ac_cv_prog_STRIP"
6690fi
6691
6692test -z "$STRIP" && STRIP=:
6693
6694
6695
6696
6697
6698
6699if test -n "$ac_tool_prefix"; then
6700  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6701set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703$as_echo_n "checking for $ac_word... " >&6; }
6704if ${ac_cv_prog_RANLIB+:} false; then :
6705  $as_echo_n "(cached) " >&6
6706else
6707  if test -n "$RANLIB"; then
6708  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6709else
6710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711for as_dir in $PATH
6712do
6713  IFS=$as_save_IFS
6714  test -z "$as_dir" && as_dir=.
6715    for ac_exec_ext in '' $ac_executable_extensions; do
6716  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6717    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6718    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6719    break 2
6720  fi
6721done
6722  done
6723IFS=$as_save_IFS
6724
6725fi
6726fi
6727RANLIB=$ac_cv_prog_RANLIB
6728if test -n "$RANLIB"; then
6729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6730$as_echo "$RANLIB" >&6; }
6731else
6732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733$as_echo "no" >&6; }
6734fi
6735
6736
6737fi
6738if test -z "$ac_cv_prog_RANLIB"; then
6739  ac_ct_RANLIB=$RANLIB
6740  # Extract the first word of "ranlib", so it can be a program name with args.
6741set dummy ranlib; ac_word=$2
6742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6743$as_echo_n "checking for $ac_word... " >&6; }
6744if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6745  $as_echo_n "(cached) " >&6
6746else
6747  if test -n "$ac_ct_RANLIB"; then
6748  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6749else
6750as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6751for as_dir in $PATH
6752do
6753  IFS=$as_save_IFS
6754  test -z "$as_dir" && as_dir=.
6755    for ac_exec_ext in '' $ac_executable_extensions; do
6756  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6757    ac_cv_prog_ac_ct_RANLIB="ranlib"
6758    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6759    break 2
6760  fi
6761done
6762  done
6763IFS=$as_save_IFS
6764
6765fi
6766fi
6767ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6768if test -n "$ac_ct_RANLIB"; then
6769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6770$as_echo "$ac_ct_RANLIB" >&6; }
6771else
6772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6773$as_echo "no" >&6; }
6774fi
6775
6776  if test "x$ac_ct_RANLIB" = x; then
6777    RANLIB=":"
6778  else
6779    case $cross_compiling:$ac_tool_warned in
6780yes:)
6781{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6782$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6783ac_tool_warned=yes ;;
6784esac
6785    RANLIB=$ac_ct_RANLIB
6786  fi
6787else
6788  RANLIB="$ac_cv_prog_RANLIB"
6789fi
6790
6791test -z "$RANLIB" && RANLIB=:
6792
6793
6794
6795
6796
6797
6798# Determine commands to create old-style static archives.
6799old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6800old_postinstall_cmds='chmod 644 $oldlib'
6801old_postuninstall_cmds=
6802
6803if test -n "$RANLIB"; then
6804  case $host_os in
6805  bitrig* | openbsd*)
6806    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6807    ;;
6808  *)
6809    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6810    ;;
6811  esac
6812  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6813fi
6814
6815case $host_os in
6816  darwin*)
6817    lock_old_archive_extraction=yes ;;
6818  *)
6819    lock_old_archive_extraction=no ;;
6820esac
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860# If no C compiler was specified, use CC.
6861LTCC=${LTCC-"$CC"}
6862
6863# If no C compiler flags were specified, use CFLAGS.
6864LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6865
6866# Allow CC to be a program name with arguments.
6867compiler=$CC
6868
6869
6870# Check for command to grab the raw symbol name followed by C symbol from nm.
6871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6872$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6873if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6874  $as_echo_n "(cached) " >&6
6875else
6876
6877# These are sane defaults that work on at least a few old systems.
6878# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6879
6880# Character class describing NM global symbol codes.
6881symcode='[BCDEGRST]'
6882
6883# Regexp to match symbols that can be accessed directly from C.
6884sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6885
6886# Define system-specific variables.
6887case $host_os in
6888aix*)
6889  symcode='[BCDT]'
6890  ;;
6891cygwin* | mingw* | pw32* | cegcc*)
6892  symcode='[ABCDGISTW]'
6893  ;;
6894hpux*)
6895  if test ia64 = "$host_cpu"; then
6896    symcode='[ABCDEGRST]'
6897  fi
6898  ;;
6899irix* | nonstopux*)
6900  symcode='[BCDEGRST]'
6901  ;;
6902osf*)
6903  symcode='[BCDEGQRST]'
6904  ;;
6905solaris*)
6906  symcode='[BDRT]'
6907  ;;
6908sco3.2v5*)
6909  symcode='[DT]'
6910  ;;
6911sysv4.2uw2*)
6912  symcode='[DT]'
6913  ;;
6914sysv5* | sco5v6* | unixware* | OpenUNIX*)
6915  symcode='[ABDT]'
6916  ;;
6917sysv4)
6918  symcode='[DFNSTU]'
6919  ;;
6920esac
6921
6922# If we're using GNU nm, then use its standard symbol codes.
6923case `$NM -V 2>&1` in
6924*GNU* | *'with BFD'*)
6925  symcode='[ABCDGIRSTW]' ;;
6926esac
6927
6928if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6929  # Gets list of data symbols to import.
6930  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6931  # Adjust the below global symbol transforms to fixup imported variables.
6932  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6933  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6934  lt_c_name_lib_hook="\
6935  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6936  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6937else
6938  # Disable hooks by default.
6939  lt_cv_sys_global_symbol_to_import=
6940  lt_cdecl_hook=
6941  lt_c_name_hook=
6942  lt_c_name_lib_hook=
6943fi
6944
6945# Transform an extracted symbol line into a proper C declaration.
6946# Some systems (esp. on ia64) link data and code symbols differently,
6947# so use this general approach.
6948lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6949$lt_cdecl_hook\
6950" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6951" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6952
6953# Transform an extracted symbol line into symbol name and symbol address
6954lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6955$lt_c_name_hook\
6956" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6957" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6958
6959# Transform an extracted symbol line into symbol name with lib prefix and
6960# symbol address.
6961lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6962$lt_c_name_lib_hook\
6963" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6964" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6965" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6966
6967# Handle CRLF in mingw tool chain
6968opt_cr=
6969case $build_os in
6970mingw*)
6971  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6972  ;;
6973esac
6974
6975# Try without a prefix underscore, then with it.
6976for ac_symprfx in "" "_"; do
6977
6978  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6979  symxfrm="\\1 $ac_symprfx\\2 \\2"
6980
6981  # Write the raw and C identifiers.
6982  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6983    # Fake it for dumpbin and say T for any non-static function,
6984    # D for any global variable and I for any imported variable.
6985    # Also find C++ and __fastcall symbols from MSVC++,
6986    # which start with @ or ?.
6987    lt_cv_sys_global_symbol_pipe="$AWK '"\
6988"     {last_section=section; section=\$ 3};"\
6989"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6990"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6991"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6992"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6993"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6994"     \$ 0!~/External *\|/{next};"\
6995"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6996"     {if(hide[section]) next};"\
6997"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6998"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6999"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7000"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7001"     ' prfx=^$ac_symprfx"
7002  else
7003    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7004  fi
7005  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7006
7007  # Check to see that the pipe works correctly.
7008  pipe_works=no
7009
7010  rm -f conftest*
7011  cat > conftest.$ac_ext <<_LT_EOF
7012#ifdef __cplusplus
7013extern "C" {
7014#endif
7015char nm_test_var;
7016void nm_test_func(void);
7017void nm_test_func(void){}
7018#ifdef __cplusplus
7019}
7020#endif
7021int main(){nm_test_var='a';nm_test_func();return(0);}
7022_LT_EOF
7023
7024  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7025  (eval $ac_compile) 2>&5
7026  ac_status=$?
7027  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7028  test $ac_status = 0; }; then
7029    # Now try to grab the symbols.
7030    nlist=conftest.nm
7031    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7032    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7033      # Try sorting and uniquifying the output.
7034      if sort "$nlist" | uniq > "$nlist"T; then
7035	mv -f "$nlist"T "$nlist"
7036      else
7037	rm -f "$nlist"T
7038      fi
7039
7040      # Make sure that we snagged all the symbols we need.
7041      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7042	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7043	  cat <<_LT_EOF > conftest.$ac_ext
7044/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7045#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7046/* DATA imports from DLLs on WIN32 can't be const, because runtime
7047   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7048# define LT_DLSYM_CONST
7049#elif defined __osf__
7050/* This system does not cope well with relocations in const data.  */
7051# define LT_DLSYM_CONST
7052#else
7053# define LT_DLSYM_CONST const
7054#endif
7055
7056#ifdef __cplusplus
7057extern "C" {
7058#endif
7059
7060_LT_EOF
7061	  # Now generate the symbol file.
7062	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7063
7064	  cat <<_LT_EOF >> conftest.$ac_ext
7065
7066/* The mapping between symbol names and symbols.  */
7067LT_DLSYM_CONST struct {
7068  const char *name;
7069  void       *address;
7070}
7071lt__PROGRAM__LTX_preloaded_symbols[] =
7072{
7073  { "@PROGRAM@", (void *) 0 },
7074_LT_EOF
7075	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7076	  cat <<\_LT_EOF >> conftest.$ac_ext
7077  {0, (void *) 0}
7078};
7079
7080/* This works around a problem in FreeBSD linker */
7081#ifdef FREEBSD_WORKAROUND
7082static const void *lt_preloaded_setup() {
7083  return lt__PROGRAM__LTX_preloaded_symbols;
7084}
7085#endif
7086
7087#ifdef __cplusplus
7088}
7089#endif
7090_LT_EOF
7091	  # Now try linking the two files.
7092	  mv conftest.$ac_objext conftstm.$ac_objext
7093	  lt_globsym_save_LIBS=$LIBS
7094	  lt_globsym_save_CFLAGS=$CFLAGS
7095	  LIBS=conftstm.$ac_objext
7096	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7097	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7098  (eval $ac_link) 2>&5
7099  ac_status=$?
7100  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7101  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7102	    pipe_works=yes
7103	  fi
7104	  LIBS=$lt_globsym_save_LIBS
7105	  CFLAGS=$lt_globsym_save_CFLAGS
7106	else
7107	  echo "cannot find nm_test_func in $nlist" >&5
7108	fi
7109      else
7110	echo "cannot find nm_test_var in $nlist" >&5
7111      fi
7112    else
7113      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7114    fi
7115  else
7116    echo "$progname: failed program was:" >&5
7117    cat conftest.$ac_ext >&5
7118  fi
7119  rm -rf conftest* conftst*
7120
7121  # Do not use the global_symbol_pipe unless it works.
7122  if test yes = "$pipe_works"; then
7123    break
7124  else
7125    lt_cv_sys_global_symbol_pipe=
7126  fi
7127done
7128
7129fi
7130
7131if test -z "$lt_cv_sys_global_symbol_pipe"; then
7132  lt_cv_sys_global_symbol_to_cdecl=
7133fi
7134if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7136$as_echo "failed" >&6; }
7137else
7138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7139$as_echo "ok" >&6; }
7140fi
7141
7142# Response file support.
7143if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7144  nm_file_list_spec='@'
7145elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7146  nm_file_list_spec='@'
7147fi
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7186$as_echo_n "checking for sysroot... " >&6; }
7187
7188# Check whether --with-sysroot was given.
7189if test "${with_sysroot+set}" = set; then :
7190  withval=$with_sysroot;
7191else
7192  with_sysroot=no
7193fi
7194
7195
7196lt_sysroot=
7197case $with_sysroot in #(
7198 yes)
7199   if test yes = "$GCC"; then
7200     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7201   fi
7202   ;; #(
7203 /*)
7204   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7205   ;; #(
7206 no|'')
7207   ;; #(
7208 *)
7209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7210$as_echo "$with_sysroot" >&6; }
7211   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7212   ;;
7213esac
7214
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7216$as_echo "${lt_sysroot:-no}" >&6; }
7217
7218
7219
7220
7221
7222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7223$as_echo_n "checking for a working dd... " >&6; }
7224if ${ac_cv_path_lt_DD+:} false; then :
7225  $as_echo_n "(cached) " >&6
7226else
7227  printf 0123456789abcdef0123456789abcdef >conftest.i
7228cat conftest.i conftest.i >conftest2.i
7229: ${lt_DD:=$DD}
7230if test -z "$lt_DD"; then
7231  ac_path_lt_DD_found=false
7232  # Loop through the user's path and test for each of PROGNAME-LIST
7233  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234for as_dir in $PATH
7235do
7236  IFS=$as_save_IFS
7237  test -z "$as_dir" && as_dir=.
7238    for ac_prog in dd; do
7239    for ac_exec_ext in '' $ac_executable_extensions; do
7240      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7241      as_fn_executable_p "$ac_path_lt_DD" || continue
7242if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7243  cmp -s conftest.i conftest.out \
7244  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7245fi
7246      $ac_path_lt_DD_found && break 3
7247    done
7248  done
7249  done
7250IFS=$as_save_IFS
7251  if test -z "$ac_cv_path_lt_DD"; then
7252    :
7253  fi
7254else
7255  ac_cv_path_lt_DD=$lt_DD
7256fi
7257
7258rm -f conftest.i conftest2.i conftest.out
7259fi
7260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7261$as_echo "$ac_cv_path_lt_DD" >&6; }
7262
7263
7264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7265$as_echo_n "checking how to truncate binary pipes... " >&6; }
7266if ${lt_cv_truncate_bin+:} false; then :
7267  $as_echo_n "(cached) " >&6
7268else
7269  printf 0123456789abcdef0123456789abcdef >conftest.i
7270cat conftest.i conftest.i >conftest2.i
7271lt_cv_truncate_bin=
7272if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7273  cmp -s conftest.i conftest.out \
7274  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7275fi
7276rm -f conftest.i conftest2.i conftest.out
7277test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7278fi
7279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7280$as_echo "$lt_cv_truncate_bin" >&6; }
7281
7282
7283
7284
7285
7286
7287
7288# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7289func_cc_basename ()
7290{
7291    for cc_temp in $*""; do
7292      case $cc_temp in
7293        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7294        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7295        \-*) ;;
7296        *) break;;
7297      esac
7298    done
7299    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7300}
7301
7302# Check whether --enable-libtool-lock was given.
7303if test "${enable_libtool_lock+set}" = set; then :
7304  enableval=$enable_libtool_lock;
7305fi
7306
7307test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7308
7309# Some flags need to be propagated to the compiler or linker for good
7310# libtool support.
7311case $host in
7312ia64-*-hpux*)
7313  # Find out what ABI is being produced by ac_compile, and set mode
7314  # options accordingly.
7315  echo 'int i;' > conftest.$ac_ext
7316  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7317  (eval $ac_compile) 2>&5
7318  ac_status=$?
7319  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7320  test $ac_status = 0; }; then
7321    case `/usr/bin/file conftest.$ac_objext` in
7322      *ELF-32*)
7323	HPUX_IA64_MODE=32
7324	;;
7325      *ELF-64*)
7326	HPUX_IA64_MODE=64
7327	;;
7328    esac
7329  fi
7330  rm -rf conftest*
7331  ;;
7332*-*-irix6*)
7333  # Find out what ABI is being produced by ac_compile, and set linker
7334  # options accordingly.
7335  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7336  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7337  (eval $ac_compile) 2>&5
7338  ac_status=$?
7339  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7340  test $ac_status = 0; }; then
7341    if test yes = "$lt_cv_prog_gnu_ld"; then
7342      case `/usr/bin/file conftest.$ac_objext` in
7343	*32-bit*)
7344	  LD="${LD-ld} -melf32bsmip"
7345	  ;;
7346	*N32*)
7347	  LD="${LD-ld} -melf32bmipn32"
7348	  ;;
7349	*64-bit*)
7350	  LD="${LD-ld} -melf64bmip"
7351	;;
7352      esac
7353    else
7354      case `/usr/bin/file conftest.$ac_objext` in
7355	*32-bit*)
7356	  LD="${LD-ld} -32"
7357	  ;;
7358	*N32*)
7359	  LD="${LD-ld} -n32"
7360	  ;;
7361	*64-bit*)
7362	  LD="${LD-ld} -64"
7363	  ;;
7364      esac
7365    fi
7366  fi
7367  rm -rf conftest*
7368  ;;
7369
7370mips64*-*linux*)
7371  # Find out what ABI is being produced by ac_compile, and set linker
7372  # options accordingly.
7373  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7374  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7375  (eval $ac_compile) 2>&5
7376  ac_status=$?
7377  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7378  test $ac_status = 0; }; then
7379    emul=elf
7380    case `/usr/bin/file conftest.$ac_objext` in
7381      *32-bit*)
7382	emul="${emul}32"
7383	;;
7384      *64-bit*)
7385	emul="${emul}64"
7386	;;
7387    esac
7388    case `/usr/bin/file conftest.$ac_objext` in
7389      *MSB*)
7390	emul="${emul}btsmip"
7391	;;
7392      *LSB*)
7393	emul="${emul}ltsmip"
7394	;;
7395    esac
7396    case `/usr/bin/file conftest.$ac_objext` in
7397      *N32*)
7398	emul="${emul}n32"
7399	;;
7400    esac
7401    LD="${LD-ld} -m $emul"
7402  fi
7403  rm -rf conftest*
7404  ;;
7405
7406x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7407s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7408  # Find out what ABI is being produced by ac_compile, and set linker
7409  # options accordingly.  Note that the listed cases only cover the
7410  # situations where additional linker options are needed (such as when
7411  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7412  # vice versa); the common cases where no linker options are needed do
7413  # not appear in the list.
7414  echo 'int i;' > conftest.$ac_ext
7415  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7416  (eval $ac_compile) 2>&5
7417  ac_status=$?
7418  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7419  test $ac_status = 0; }; then
7420    case `/usr/bin/file conftest.o` in
7421      *32-bit*)
7422	case $host in
7423	  x86_64-*kfreebsd*-gnu)
7424	    LD="${LD-ld} -m elf_i386_fbsd"
7425	    ;;
7426	  x86_64-*linux*)
7427	    case `/usr/bin/file conftest.o` in
7428	      *x86-64*)
7429		LD="${LD-ld} -m elf32_x86_64"
7430		;;
7431	      *)
7432		LD="${LD-ld} -m elf_i386"
7433		;;
7434	    esac
7435	    ;;
7436	  powerpc64le-*linux*)
7437	    LD="${LD-ld} -m elf32lppclinux"
7438	    ;;
7439	  powerpc64-*linux*)
7440	    LD="${LD-ld} -m elf32ppclinux"
7441	    ;;
7442	  s390x-*linux*)
7443	    LD="${LD-ld} -m elf_s390"
7444	    ;;
7445	  sparc64-*linux*)
7446	    LD="${LD-ld} -m elf32_sparc"
7447	    ;;
7448	esac
7449	;;
7450      *64-bit*)
7451	case $host in
7452	  x86_64-*kfreebsd*-gnu)
7453	    LD="${LD-ld} -m elf_x86_64_fbsd"
7454	    ;;
7455	  x86_64-*linux*)
7456	    LD="${LD-ld} -m elf_x86_64"
7457	    ;;
7458	  powerpcle-*linux*)
7459	    LD="${LD-ld} -m elf64lppc"
7460	    ;;
7461	  powerpc-*linux*)
7462	    LD="${LD-ld} -m elf64ppc"
7463	    ;;
7464	  s390*-*linux*|s390*-*tpf*)
7465	    LD="${LD-ld} -m elf64_s390"
7466	    ;;
7467	  sparc*-*linux*)
7468	    LD="${LD-ld} -m elf64_sparc"
7469	    ;;
7470	esac
7471	;;
7472    esac
7473  fi
7474  rm -rf conftest*
7475  ;;
7476
7477*-*-sco3.2v5*)
7478  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7479  SAVE_CFLAGS=$CFLAGS
7480  CFLAGS="$CFLAGS -belf"
7481  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7482$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7483if ${lt_cv_cc_needs_belf+:} false; then :
7484  $as_echo_n "(cached) " >&6
7485else
7486  ac_ext=c
7487ac_cpp='$CPP $CPPFLAGS'
7488ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7489ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7490ac_compiler_gnu=$ac_cv_c_compiler_gnu
7491
7492     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7493/* end confdefs.h.  */
7494
7495int
7496main ()
7497{
7498
7499  ;
7500  return 0;
7501}
7502_ACEOF
7503if ac_fn_c_try_link "$LINENO"; then :
7504  lt_cv_cc_needs_belf=yes
7505else
7506  lt_cv_cc_needs_belf=no
7507fi
7508rm -f core conftest.err conftest.$ac_objext \
7509    conftest$ac_exeext conftest.$ac_ext
7510     ac_ext=c
7511ac_cpp='$CPP $CPPFLAGS'
7512ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7513ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7514ac_compiler_gnu=$ac_cv_c_compiler_gnu
7515
7516fi
7517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7518$as_echo "$lt_cv_cc_needs_belf" >&6; }
7519  if test yes != "$lt_cv_cc_needs_belf"; then
7520    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7521    CFLAGS=$SAVE_CFLAGS
7522  fi
7523  ;;
7524*-*solaris*)
7525  # Find out what ABI is being produced by ac_compile, and set linker
7526  # options accordingly.
7527  echo 'int i;' > conftest.$ac_ext
7528  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7529  (eval $ac_compile) 2>&5
7530  ac_status=$?
7531  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7532  test $ac_status = 0; }; then
7533    case `/usr/bin/file conftest.o` in
7534    *64-bit*)
7535      case $lt_cv_prog_gnu_ld in
7536      yes*)
7537        case $host in
7538        i?86-*-solaris*|x86_64-*-solaris*)
7539          LD="${LD-ld} -m elf_x86_64"
7540          ;;
7541        sparc*-*-solaris*)
7542          LD="${LD-ld} -m elf64_sparc"
7543          ;;
7544        esac
7545        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7546        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7547          LD=${LD-ld}_sol2
7548        fi
7549        ;;
7550      *)
7551	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7552	  LD="${LD-ld} -64"
7553	fi
7554	;;
7555      esac
7556      ;;
7557    esac
7558  fi
7559  rm -rf conftest*
7560  ;;
7561esac
7562
7563need_locks=$enable_libtool_lock
7564
7565if test -n "$ac_tool_prefix"; then
7566  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7567set dummy ${ac_tool_prefix}mt; ac_word=$2
7568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569$as_echo_n "checking for $ac_word... " >&6; }
7570if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7571  $as_echo_n "(cached) " >&6
7572else
7573  if test -n "$MANIFEST_TOOL"; then
7574  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7575else
7576as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577for as_dir in $PATH
7578do
7579  IFS=$as_save_IFS
7580  test -z "$as_dir" && as_dir=.
7581    for ac_exec_ext in '' $ac_executable_extensions; do
7582  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7583    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7584    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7585    break 2
7586  fi
7587done
7588  done
7589IFS=$as_save_IFS
7590
7591fi
7592fi
7593MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7594if test -n "$MANIFEST_TOOL"; then
7595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7596$as_echo "$MANIFEST_TOOL" >&6; }
7597else
7598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599$as_echo "no" >&6; }
7600fi
7601
7602
7603fi
7604if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7605  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7606  # Extract the first word of "mt", so it can be a program name with args.
7607set dummy mt; ac_word=$2
7608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7609$as_echo_n "checking for $ac_word... " >&6; }
7610if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7611  $as_echo_n "(cached) " >&6
7612else
7613  if test -n "$ac_ct_MANIFEST_TOOL"; then
7614  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7615else
7616as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617for as_dir in $PATH
7618do
7619  IFS=$as_save_IFS
7620  test -z "$as_dir" && as_dir=.
7621    for ac_exec_ext in '' $ac_executable_extensions; do
7622  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7623    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7624    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7625    break 2
7626  fi
7627done
7628  done
7629IFS=$as_save_IFS
7630
7631fi
7632fi
7633ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7634if test -n "$ac_ct_MANIFEST_TOOL"; then
7635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7636$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7637else
7638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7639$as_echo "no" >&6; }
7640fi
7641
7642  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7643    MANIFEST_TOOL=":"
7644  else
7645    case $cross_compiling:$ac_tool_warned in
7646yes:)
7647{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7648$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7649ac_tool_warned=yes ;;
7650esac
7651    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7652  fi
7653else
7654  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7655fi
7656
7657test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7659$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7660if ${lt_cv_path_mainfest_tool+:} false; then :
7661  $as_echo_n "(cached) " >&6
7662else
7663  lt_cv_path_mainfest_tool=no
7664  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7665  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7666  cat conftest.err >&5
7667  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7668    lt_cv_path_mainfest_tool=yes
7669  fi
7670  rm -f conftest*
7671fi
7672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7673$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7674if test yes != "$lt_cv_path_mainfest_tool"; then
7675  MANIFEST_TOOL=:
7676fi
7677
7678
7679
7680
7681
7682
7683  case $host_os in
7684    rhapsody* | darwin*)
7685    if test -n "$ac_tool_prefix"; then
7686  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7687set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7689$as_echo_n "checking for $ac_word... " >&6; }
7690if ${ac_cv_prog_DSYMUTIL+:} false; then :
7691  $as_echo_n "(cached) " >&6
7692else
7693  if test -n "$DSYMUTIL"; then
7694  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7695else
7696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7697for as_dir in $PATH
7698do
7699  IFS=$as_save_IFS
7700  test -z "$as_dir" && as_dir=.
7701    for ac_exec_ext in '' $ac_executable_extensions; do
7702  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7703    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7704    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7705    break 2
7706  fi
7707done
7708  done
7709IFS=$as_save_IFS
7710
7711fi
7712fi
7713DSYMUTIL=$ac_cv_prog_DSYMUTIL
7714if test -n "$DSYMUTIL"; then
7715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7716$as_echo "$DSYMUTIL" >&6; }
7717else
7718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7719$as_echo "no" >&6; }
7720fi
7721
7722
7723fi
7724if test -z "$ac_cv_prog_DSYMUTIL"; then
7725  ac_ct_DSYMUTIL=$DSYMUTIL
7726  # Extract the first word of "dsymutil", so it can be a program name with args.
7727set dummy dsymutil; ac_word=$2
7728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7729$as_echo_n "checking for $ac_word... " >&6; }
7730if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7731  $as_echo_n "(cached) " >&6
7732else
7733  if test -n "$ac_ct_DSYMUTIL"; then
7734  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7735else
7736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7737for as_dir in $PATH
7738do
7739  IFS=$as_save_IFS
7740  test -z "$as_dir" && as_dir=.
7741    for ac_exec_ext in '' $ac_executable_extensions; do
7742  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7743    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7744    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7745    break 2
7746  fi
7747done
7748  done
7749IFS=$as_save_IFS
7750
7751fi
7752fi
7753ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7754if test -n "$ac_ct_DSYMUTIL"; then
7755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7756$as_echo "$ac_ct_DSYMUTIL" >&6; }
7757else
7758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7759$as_echo "no" >&6; }
7760fi
7761
7762  if test "x$ac_ct_DSYMUTIL" = x; then
7763    DSYMUTIL=":"
7764  else
7765    case $cross_compiling:$ac_tool_warned in
7766yes:)
7767{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7768$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7769ac_tool_warned=yes ;;
7770esac
7771    DSYMUTIL=$ac_ct_DSYMUTIL
7772  fi
7773else
7774  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7775fi
7776
7777    if test -n "$ac_tool_prefix"; then
7778  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7779set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7781$as_echo_n "checking for $ac_word... " >&6; }
7782if ${ac_cv_prog_NMEDIT+:} false; then :
7783  $as_echo_n "(cached) " >&6
7784else
7785  if test -n "$NMEDIT"; then
7786  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7787else
7788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7789for as_dir in $PATH
7790do
7791  IFS=$as_save_IFS
7792  test -z "$as_dir" && as_dir=.
7793    for ac_exec_ext in '' $ac_executable_extensions; do
7794  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7795    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7796    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7797    break 2
7798  fi
7799done
7800  done
7801IFS=$as_save_IFS
7802
7803fi
7804fi
7805NMEDIT=$ac_cv_prog_NMEDIT
7806if test -n "$NMEDIT"; then
7807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7808$as_echo "$NMEDIT" >&6; }
7809else
7810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7811$as_echo "no" >&6; }
7812fi
7813
7814
7815fi
7816if test -z "$ac_cv_prog_NMEDIT"; then
7817  ac_ct_NMEDIT=$NMEDIT
7818  # Extract the first word of "nmedit", so it can be a program name with args.
7819set dummy nmedit; ac_word=$2
7820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7821$as_echo_n "checking for $ac_word... " >&6; }
7822if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7823  $as_echo_n "(cached) " >&6
7824else
7825  if test -n "$ac_ct_NMEDIT"; then
7826  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7827else
7828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7829for as_dir in $PATH
7830do
7831  IFS=$as_save_IFS
7832  test -z "$as_dir" && as_dir=.
7833    for ac_exec_ext in '' $ac_executable_extensions; do
7834  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7835    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7836    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7837    break 2
7838  fi
7839done
7840  done
7841IFS=$as_save_IFS
7842
7843fi
7844fi
7845ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7846if test -n "$ac_ct_NMEDIT"; then
7847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7848$as_echo "$ac_ct_NMEDIT" >&6; }
7849else
7850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851$as_echo "no" >&6; }
7852fi
7853
7854  if test "x$ac_ct_NMEDIT" = x; then
7855    NMEDIT=":"
7856  else
7857    case $cross_compiling:$ac_tool_warned in
7858yes:)
7859{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7860$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7861ac_tool_warned=yes ;;
7862esac
7863    NMEDIT=$ac_ct_NMEDIT
7864  fi
7865else
7866  NMEDIT="$ac_cv_prog_NMEDIT"
7867fi
7868
7869    if test -n "$ac_tool_prefix"; then
7870  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7871set dummy ${ac_tool_prefix}lipo; ac_word=$2
7872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7873$as_echo_n "checking for $ac_word... " >&6; }
7874if ${ac_cv_prog_LIPO+:} false; then :
7875  $as_echo_n "(cached) " >&6
7876else
7877  if test -n "$LIPO"; then
7878  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7879else
7880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7881for as_dir in $PATH
7882do
7883  IFS=$as_save_IFS
7884  test -z "$as_dir" && as_dir=.
7885    for ac_exec_ext in '' $ac_executable_extensions; do
7886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7887    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7889    break 2
7890  fi
7891done
7892  done
7893IFS=$as_save_IFS
7894
7895fi
7896fi
7897LIPO=$ac_cv_prog_LIPO
7898if test -n "$LIPO"; then
7899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7900$as_echo "$LIPO" >&6; }
7901else
7902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7903$as_echo "no" >&6; }
7904fi
7905
7906
7907fi
7908if test -z "$ac_cv_prog_LIPO"; then
7909  ac_ct_LIPO=$LIPO
7910  # Extract the first word of "lipo", so it can be a program name with args.
7911set dummy lipo; ac_word=$2
7912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7913$as_echo_n "checking for $ac_word... " >&6; }
7914if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7915  $as_echo_n "(cached) " >&6
7916else
7917  if test -n "$ac_ct_LIPO"; then
7918  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7919else
7920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7921for as_dir in $PATH
7922do
7923  IFS=$as_save_IFS
7924  test -z "$as_dir" && as_dir=.
7925    for ac_exec_ext in '' $ac_executable_extensions; do
7926  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7927    ac_cv_prog_ac_ct_LIPO="lipo"
7928    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7929    break 2
7930  fi
7931done
7932  done
7933IFS=$as_save_IFS
7934
7935fi
7936fi
7937ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7938if test -n "$ac_ct_LIPO"; then
7939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7940$as_echo "$ac_ct_LIPO" >&6; }
7941else
7942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943$as_echo "no" >&6; }
7944fi
7945
7946  if test "x$ac_ct_LIPO" = x; then
7947    LIPO=":"
7948  else
7949    case $cross_compiling:$ac_tool_warned in
7950yes:)
7951{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7952$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7953ac_tool_warned=yes ;;
7954esac
7955    LIPO=$ac_ct_LIPO
7956  fi
7957else
7958  LIPO="$ac_cv_prog_LIPO"
7959fi
7960
7961    if test -n "$ac_tool_prefix"; then
7962  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7963set dummy ${ac_tool_prefix}otool; ac_word=$2
7964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7965$as_echo_n "checking for $ac_word... " >&6; }
7966if ${ac_cv_prog_OTOOL+:} false; then :
7967  $as_echo_n "(cached) " >&6
7968else
7969  if test -n "$OTOOL"; then
7970  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7971else
7972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7973for as_dir in $PATH
7974do
7975  IFS=$as_save_IFS
7976  test -z "$as_dir" && as_dir=.
7977    for ac_exec_ext in '' $ac_executable_extensions; do
7978  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7979    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7980    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7981    break 2
7982  fi
7983done
7984  done
7985IFS=$as_save_IFS
7986
7987fi
7988fi
7989OTOOL=$ac_cv_prog_OTOOL
7990if test -n "$OTOOL"; then
7991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7992$as_echo "$OTOOL" >&6; }
7993else
7994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7995$as_echo "no" >&6; }
7996fi
7997
7998
7999fi
8000if test -z "$ac_cv_prog_OTOOL"; then
8001  ac_ct_OTOOL=$OTOOL
8002  # Extract the first word of "otool", so it can be a program name with args.
8003set dummy otool; ac_word=$2
8004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8005$as_echo_n "checking for $ac_word... " >&6; }
8006if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8007  $as_echo_n "(cached) " >&6
8008else
8009  if test -n "$ac_ct_OTOOL"; then
8010  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8011else
8012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8013for as_dir in $PATH
8014do
8015  IFS=$as_save_IFS
8016  test -z "$as_dir" && as_dir=.
8017    for ac_exec_ext in '' $ac_executable_extensions; do
8018  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8019    ac_cv_prog_ac_ct_OTOOL="otool"
8020    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8021    break 2
8022  fi
8023done
8024  done
8025IFS=$as_save_IFS
8026
8027fi
8028fi
8029ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8030if test -n "$ac_ct_OTOOL"; then
8031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8032$as_echo "$ac_ct_OTOOL" >&6; }
8033else
8034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8035$as_echo "no" >&6; }
8036fi
8037
8038  if test "x$ac_ct_OTOOL" = x; then
8039    OTOOL=":"
8040  else
8041    case $cross_compiling:$ac_tool_warned in
8042yes:)
8043{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8044$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8045ac_tool_warned=yes ;;
8046esac
8047    OTOOL=$ac_ct_OTOOL
8048  fi
8049else
8050  OTOOL="$ac_cv_prog_OTOOL"
8051fi
8052
8053    if test -n "$ac_tool_prefix"; then
8054  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8055set dummy ${ac_tool_prefix}otool64; ac_word=$2
8056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8057$as_echo_n "checking for $ac_word... " >&6; }
8058if ${ac_cv_prog_OTOOL64+:} false; then :
8059  $as_echo_n "(cached) " >&6
8060else
8061  if test -n "$OTOOL64"; then
8062  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8063else
8064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8065for as_dir in $PATH
8066do
8067  IFS=$as_save_IFS
8068  test -z "$as_dir" && as_dir=.
8069    for ac_exec_ext in '' $ac_executable_extensions; do
8070  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8071    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8073    break 2
8074  fi
8075done
8076  done
8077IFS=$as_save_IFS
8078
8079fi
8080fi
8081OTOOL64=$ac_cv_prog_OTOOL64
8082if test -n "$OTOOL64"; then
8083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8084$as_echo "$OTOOL64" >&6; }
8085else
8086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087$as_echo "no" >&6; }
8088fi
8089
8090
8091fi
8092if test -z "$ac_cv_prog_OTOOL64"; then
8093  ac_ct_OTOOL64=$OTOOL64
8094  # Extract the first word of "otool64", so it can be a program name with args.
8095set dummy otool64; ac_word=$2
8096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8097$as_echo_n "checking for $ac_word... " >&6; }
8098if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8099  $as_echo_n "(cached) " >&6
8100else
8101  if test -n "$ac_ct_OTOOL64"; then
8102  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8103else
8104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8105for as_dir in $PATH
8106do
8107  IFS=$as_save_IFS
8108  test -z "$as_dir" && as_dir=.
8109    for ac_exec_ext in '' $ac_executable_extensions; do
8110  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8111    ac_cv_prog_ac_ct_OTOOL64="otool64"
8112    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8113    break 2
8114  fi
8115done
8116  done
8117IFS=$as_save_IFS
8118
8119fi
8120fi
8121ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8122if test -n "$ac_ct_OTOOL64"; then
8123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8124$as_echo "$ac_ct_OTOOL64" >&6; }
8125else
8126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8127$as_echo "no" >&6; }
8128fi
8129
8130  if test "x$ac_ct_OTOOL64" = x; then
8131    OTOOL64=":"
8132  else
8133    case $cross_compiling:$ac_tool_warned in
8134yes:)
8135{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8136$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8137ac_tool_warned=yes ;;
8138esac
8139    OTOOL64=$ac_ct_OTOOL64
8140  fi
8141else
8142  OTOOL64="$ac_cv_prog_OTOOL64"
8143fi
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8172$as_echo_n "checking for -single_module linker flag... " >&6; }
8173if ${lt_cv_apple_cc_single_mod+:} false; then :
8174  $as_echo_n "(cached) " >&6
8175else
8176  lt_cv_apple_cc_single_mod=no
8177      if test -z "$LT_MULTI_MODULE"; then
8178	# By default we will add the -single_module flag. You can override
8179	# by either setting the environment variable LT_MULTI_MODULE
8180	# non-empty at configure time, or by adding -multi_module to the
8181	# link flags.
8182	rm -rf libconftest.dylib*
8183	echo "int foo(void){return 1;}" > conftest.c
8184	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8185-dynamiclib -Wl,-single_module conftest.c" >&5
8186	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8187	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8188        _lt_result=$?
8189	# If there is a non-empty error log, and "single_module"
8190	# appears in it, assume the flag caused a linker warning
8191        if test -s conftest.err && $GREP single_module conftest.err; then
8192	  cat conftest.err >&5
8193	# Otherwise, if the output was created with a 0 exit code from
8194	# the compiler, it worked.
8195	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8196	  lt_cv_apple_cc_single_mod=yes
8197	else
8198	  cat conftest.err >&5
8199	fi
8200	rm -rf libconftest.dylib*
8201	rm -f conftest.*
8202      fi
8203fi
8204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8205$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8206
8207    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8208$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8209if ${lt_cv_ld_exported_symbols_list+:} false; then :
8210  $as_echo_n "(cached) " >&6
8211else
8212  lt_cv_ld_exported_symbols_list=no
8213      save_LDFLAGS=$LDFLAGS
8214      echo "_main" > conftest.sym
8215      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8216      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8217/* end confdefs.h.  */
8218
8219int
8220main ()
8221{
8222
8223  ;
8224  return 0;
8225}
8226_ACEOF
8227if ac_fn_c_try_link "$LINENO"; then :
8228  lt_cv_ld_exported_symbols_list=yes
8229else
8230  lt_cv_ld_exported_symbols_list=no
8231fi
8232rm -f core conftest.err conftest.$ac_objext \
8233    conftest$ac_exeext conftest.$ac_ext
8234	LDFLAGS=$save_LDFLAGS
8235
8236fi
8237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8238$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8239
8240    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8241$as_echo_n "checking for -force_load linker flag... " >&6; }
8242if ${lt_cv_ld_force_load+:} false; then :
8243  $as_echo_n "(cached) " >&6
8244else
8245  lt_cv_ld_force_load=no
8246      cat > conftest.c << _LT_EOF
8247int forced_loaded() { return 2;}
8248_LT_EOF
8249      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8250      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8251      echo "$AR cru libconftest.a conftest.o" >&5
8252      $AR cru libconftest.a conftest.o 2>&5
8253      echo "$RANLIB libconftest.a" >&5
8254      $RANLIB libconftest.a 2>&5
8255      cat > conftest.c << _LT_EOF
8256int main() { return 0;}
8257_LT_EOF
8258      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8259      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8260      _lt_result=$?
8261      if test -s conftest.err && $GREP force_load conftest.err; then
8262	cat conftest.err >&5
8263      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8264	lt_cv_ld_force_load=yes
8265      else
8266	cat conftest.err >&5
8267      fi
8268        rm -f conftest.err libconftest.a conftest conftest.c
8269        rm -rf conftest.dSYM
8270
8271fi
8272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8273$as_echo "$lt_cv_ld_force_load" >&6; }
8274    case $host_os in
8275    rhapsody* | darwin1.[012])
8276      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8277    darwin1.*)
8278      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8279    darwin*) # darwin 5.x on
8280      # if running on 10.5 or later, the deployment target defaults
8281      # to the OS version, if on x86, and 10.4, the deployment
8282      # target defaults to 10.4. Don't you love it?
8283      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8284	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8285	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8286	10.[012][,.]*)
8287	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8288	10.*)
8289	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8290      esac
8291    ;;
8292  esac
8293    if test yes = "$lt_cv_apple_cc_single_mod"; then
8294      _lt_dar_single_mod='$single_module'
8295    fi
8296    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8297      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8298    else
8299      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8300    fi
8301    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8302      _lt_dsymutil='~$DSYMUTIL $lib || :'
8303    else
8304      _lt_dsymutil=
8305    fi
8306    ;;
8307  esac
8308
8309# func_munge_path_list VARIABLE PATH
8310# -----------------------------------
8311# VARIABLE is name of variable containing _space_ separated list of
8312# directories to be munged by the contents of PATH, which is string
8313# having a format:
8314# "DIR[:DIR]:"
8315#       string "DIR[ DIR]" will be prepended to VARIABLE
8316# ":DIR[:DIR]"
8317#       string "DIR[ DIR]" will be appended to VARIABLE
8318# "DIRP[:DIRP]::[DIRA:]DIRA"
8319#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8320#       "DIRA[ DIRA]" will be appended to VARIABLE
8321# "DIR[:DIR]"
8322#       VARIABLE will be replaced by "DIR[ DIR]"
8323func_munge_path_list ()
8324{
8325    case x$2 in
8326    x)
8327        ;;
8328    *:)
8329        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8330        ;;
8331    x:*)
8332        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8333        ;;
8334    *::*)
8335        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8336        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8337        ;;
8338    *)
8339        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8340        ;;
8341    esac
8342}
8343
8344for ac_header in dlfcn.h
8345do :
8346  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8347"
8348if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8349  cat >>confdefs.h <<_ACEOF
8350#define HAVE_DLFCN_H 1
8351_ACEOF
8352
8353fi
8354
8355done
8356
8357
8358
8359
8360
8361# Set options
8362# Check whether --enable-static was given.
8363if test "${enable_static+set}" = set; then :
8364  enableval=$enable_static; p=${PACKAGE-default}
8365    case $enableval in
8366    yes) enable_static=yes ;;
8367    no) enable_static=no ;;
8368    *)
8369     enable_static=no
8370      # Look at the argument we got.  We use all the common list separators.
8371      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8372      for pkg in $enableval; do
8373	IFS=$lt_save_ifs
8374	if test "X$pkg" = "X$p"; then
8375	  enable_static=yes
8376	fi
8377      done
8378      IFS=$lt_save_ifs
8379      ;;
8380    esac
8381else
8382  enable_static=no
8383fi
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394        enable_dlopen=no
8395
8396
8397  enable_win32_dll=no
8398
8399
8400            # Check whether --enable-shared was given.
8401if test "${enable_shared+set}" = set; then :
8402  enableval=$enable_shared; p=${PACKAGE-default}
8403    case $enableval in
8404    yes) enable_shared=yes ;;
8405    no) enable_shared=no ;;
8406    *)
8407      enable_shared=no
8408      # Look at the argument we got.  We use all the common list separators.
8409      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8410      for pkg in $enableval; do
8411	IFS=$lt_save_ifs
8412	if test "X$pkg" = "X$p"; then
8413	  enable_shared=yes
8414	fi
8415      done
8416      IFS=$lt_save_ifs
8417      ;;
8418    esac
8419else
8420  enable_shared=yes
8421fi
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433# Check whether --with-pic was given.
8434if test "${with_pic+set}" = set; then :
8435  withval=$with_pic; lt_p=${PACKAGE-default}
8436    case $withval in
8437    yes|no) pic_mode=$withval ;;
8438    *)
8439      pic_mode=default
8440      # Look at the argument we got.  We use all the common list separators.
8441      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8442      for lt_pkg in $withval; do
8443	IFS=$lt_save_ifs
8444	if test "X$lt_pkg" = "X$lt_p"; then
8445	  pic_mode=yes
8446	fi
8447      done
8448      IFS=$lt_save_ifs
8449      ;;
8450    esac
8451else
8452  pic_mode=default
8453fi
8454
8455
8456
8457
8458
8459
8460
8461
8462  # Check whether --enable-fast-install was given.
8463if test "${enable_fast_install+set}" = set; then :
8464  enableval=$enable_fast_install; p=${PACKAGE-default}
8465    case $enableval in
8466    yes) enable_fast_install=yes ;;
8467    no) enable_fast_install=no ;;
8468    *)
8469      enable_fast_install=no
8470      # Look at the argument we got.  We use all the common list separators.
8471      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8472      for pkg in $enableval; do
8473	IFS=$lt_save_ifs
8474	if test "X$pkg" = "X$p"; then
8475	  enable_fast_install=yes
8476	fi
8477      done
8478      IFS=$lt_save_ifs
8479      ;;
8480    esac
8481else
8482  enable_fast_install=yes
8483fi
8484
8485
8486
8487
8488
8489
8490
8491
8492  shared_archive_member_spec=
8493case $host,$enable_shared in
8494power*-*-aix[5-9]*,yes)
8495  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8496$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8497
8498# Check whether --with-aix-soname was given.
8499if test "${with_aix_soname+set}" = set; then :
8500  withval=$with_aix_soname; case $withval in
8501    aix|svr4|both)
8502      ;;
8503    *)
8504      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8505      ;;
8506    esac
8507    lt_cv_with_aix_soname=$with_aix_soname
8508else
8509  if ${lt_cv_with_aix_soname+:} false; then :
8510  $as_echo_n "(cached) " >&6
8511else
8512  lt_cv_with_aix_soname=aix
8513fi
8514
8515    with_aix_soname=$lt_cv_with_aix_soname
8516fi
8517
8518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8519$as_echo "$with_aix_soname" >&6; }
8520  if test aix != "$with_aix_soname"; then
8521    # For the AIX way of multilib, we name the shared archive member
8522    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8523    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8524    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8525    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8526    if test 64 = "${OBJECT_MODE-32}"; then
8527      shared_archive_member_spec=shr_64
8528    else
8529      shared_archive_member_spec=shr
8530    fi
8531  fi
8532  ;;
8533*)
8534  with_aix_soname=aix
8535  ;;
8536esac
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547# This can be used to rebuild libtool when needed
8548LIBTOOL_DEPS=$ltmain
8549
8550# Always use our own libtool.
8551LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582test -z "$LN_S" && LN_S="ln -s"
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597if test -n "${ZSH_VERSION+set}"; then
8598   setopt NO_GLOB_SUBST
8599fi
8600
8601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8602$as_echo_n "checking for objdir... " >&6; }
8603if ${lt_cv_objdir+:} false; then :
8604  $as_echo_n "(cached) " >&6
8605else
8606  rm -f .libs 2>/dev/null
8607mkdir .libs 2>/dev/null
8608if test -d .libs; then
8609  lt_cv_objdir=.libs
8610else
8611  # MS-DOS does not allow filenames that begin with a dot.
8612  lt_cv_objdir=_libs
8613fi
8614rmdir .libs 2>/dev/null
8615fi
8616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8617$as_echo "$lt_cv_objdir" >&6; }
8618objdir=$lt_cv_objdir
8619
8620
8621
8622
8623
8624cat >>confdefs.h <<_ACEOF
8625#define LT_OBJDIR "$lt_cv_objdir/"
8626_ACEOF
8627
8628
8629
8630
8631case $host_os in
8632aix3*)
8633  # AIX sometimes has problems with the GCC collect2 program.  For some
8634  # reason, if we set the COLLECT_NAMES environment variable, the problems
8635  # vanish in a puff of smoke.
8636  if test set != "${COLLECT_NAMES+set}"; then
8637    COLLECT_NAMES=
8638    export COLLECT_NAMES
8639  fi
8640  ;;
8641esac
8642
8643# Global variables:
8644ofile=libtool
8645can_build_shared=yes
8646
8647# All known linkers require a '.a' archive for static linking (except MSVC,
8648# which needs '.lib').
8649libext=a
8650
8651with_gnu_ld=$lt_cv_prog_gnu_ld
8652
8653old_CC=$CC
8654old_CFLAGS=$CFLAGS
8655
8656# Set sane defaults for various variables
8657test -z "$CC" && CC=cc
8658test -z "$LTCC" && LTCC=$CC
8659test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8660test -z "$LD" && LD=ld
8661test -z "$ac_objext" && ac_objext=o
8662
8663func_cc_basename $compiler
8664cc_basename=$func_cc_basename_result
8665
8666
8667# Only perform the check for file, if the check method requires it
8668test -z "$MAGIC_CMD" && MAGIC_CMD=file
8669case $deplibs_check_method in
8670file_magic*)
8671  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8672    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8673$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8674if ${lt_cv_path_MAGIC_CMD+:} false; then :
8675  $as_echo_n "(cached) " >&6
8676else
8677  case $MAGIC_CMD in
8678[\\/*] |  ?:[\\/]*)
8679  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8680  ;;
8681*)
8682  lt_save_MAGIC_CMD=$MAGIC_CMD
8683  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8684  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8685  for ac_dir in $ac_dummy; do
8686    IFS=$lt_save_ifs
8687    test -z "$ac_dir" && ac_dir=.
8688    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8689      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8690      if test -n "$file_magic_test_file"; then
8691	case $deplibs_check_method in
8692	"file_magic "*)
8693	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8694	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8695	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8696	    $EGREP "$file_magic_regex" > /dev/null; then
8697	    :
8698	  else
8699	    cat <<_LT_EOF 1>&2
8700
8701*** Warning: the command libtool uses to detect shared libraries,
8702*** $file_magic_cmd, produces output that libtool cannot recognize.
8703*** The result is that libtool may fail to recognize shared libraries
8704*** as such.  This will affect the creation of libtool libraries that
8705*** depend on shared libraries, but programs linked with such libtool
8706*** libraries will work regardless of this problem.  Nevertheless, you
8707*** may want to report the problem to your system manager and/or to
8708*** bug-libtool@gnu.org
8709
8710_LT_EOF
8711	  fi ;;
8712	esac
8713      fi
8714      break
8715    fi
8716  done
8717  IFS=$lt_save_ifs
8718  MAGIC_CMD=$lt_save_MAGIC_CMD
8719  ;;
8720esac
8721fi
8722
8723MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8724if test -n "$MAGIC_CMD"; then
8725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8726$as_echo "$MAGIC_CMD" >&6; }
8727else
8728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8729$as_echo "no" >&6; }
8730fi
8731
8732
8733
8734
8735
8736if test -z "$lt_cv_path_MAGIC_CMD"; then
8737  if test -n "$ac_tool_prefix"; then
8738    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8739$as_echo_n "checking for file... " >&6; }
8740if ${lt_cv_path_MAGIC_CMD+:} false; then :
8741  $as_echo_n "(cached) " >&6
8742else
8743  case $MAGIC_CMD in
8744[\\/*] |  ?:[\\/]*)
8745  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8746  ;;
8747*)
8748  lt_save_MAGIC_CMD=$MAGIC_CMD
8749  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8750  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8751  for ac_dir in $ac_dummy; do
8752    IFS=$lt_save_ifs
8753    test -z "$ac_dir" && ac_dir=.
8754    if test -f "$ac_dir/file"; then
8755      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8756      if test -n "$file_magic_test_file"; then
8757	case $deplibs_check_method in
8758	"file_magic "*)
8759	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8760	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8761	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8762	    $EGREP "$file_magic_regex" > /dev/null; then
8763	    :
8764	  else
8765	    cat <<_LT_EOF 1>&2
8766
8767*** Warning: the command libtool uses to detect shared libraries,
8768*** $file_magic_cmd, produces output that libtool cannot recognize.
8769*** The result is that libtool may fail to recognize shared libraries
8770*** as such.  This will affect the creation of libtool libraries that
8771*** depend on shared libraries, but programs linked with such libtool
8772*** libraries will work regardless of this problem.  Nevertheless, you
8773*** may want to report the problem to your system manager and/or to
8774*** bug-libtool@gnu.org
8775
8776_LT_EOF
8777	  fi ;;
8778	esac
8779      fi
8780      break
8781    fi
8782  done
8783  IFS=$lt_save_ifs
8784  MAGIC_CMD=$lt_save_MAGIC_CMD
8785  ;;
8786esac
8787fi
8788
8789MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8790if test -n "$MAGIC_CMD"; then
8791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8792$as_echo "$MAGIC_CMD" >&6; }
8793else
8794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8795$as_echo "no" >&6; }
8796fi
8797
8798
8799  else
8800    MAGIC_CMD=:
8801  fi
8802fi
8803
8804  fi
8805  ;;
8806esac
8807
8808# Use C for the default configuration in the libtool script
8809
8810lt_save_CC=$CC
8811ac_ext=c
8812ac_cpp='$CPP $CPPFLAGS'
8813ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8814ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8815ac_compiler_gnu=$ac_cv_c_compiler_gnu
8816
8817
8818# Source file extension for C test sources.
8819ac_ext=c
8820
8821# Object file extension for compiled C test sources.
8822objext=o
8823objext=$objext
8824
8825# Code to be used in simple compile tests
8826lt_simple_compile_test_code="int some_variable = 0;"
8827
8828# Code to be used in simple link tests
8829lt_simple_link_test_code='int main(){return(0);}'
8830
8831
8832
8833
8834
8835
8836
8837# If no C compiler was specified, use CC.
8838LTCC=${LTCC-"$CC"}
8839
8840# If no C compiler flags were specified, use CFLAGS.
8841LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8842
8843# Allow CC to be a program name with arguments.
8844compiler=$CC
8845
8846# Save the default compiler, since it gets overwritten when the other
8847# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8848compiler_DEFAULT=$CC
8849
8850# save warnings/boilerplate of simple test code
8851ac_outfile=conftest.$ac_objext
8852echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8853eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8854_lt_compiler_boilerplate=`cat conftest.err`
8855$RM conftest*
8856
8857ac_outfile=conftest.$ac_objext
8858echo "$lt_simple_link_test_code" >conftest.$ac_ext
8859eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8860_lt_linker_boilerplate=`cat conftest.err`
8861$RM -r conftest*
8862
8863
8864## CAVEAT EMPTOR:
8865## There is no encapsulation within the following macros, do not change
8866## the running order or otherwise move them around unless you know exactly
8867## what you are doing...
8868if test -n "$compiler"; then
8869
8870lt_prog_compiler_no_builtin_flag=
8871
8872if test yes = "$GCC"; then
8873  case $cc_basename in
8874  nvcc*)
8875    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8876  *)
8877    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8878  esac
8879
8880  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8881$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8882if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8883  $as_echo_n "(cached) " >&6
8884else
8885  lt_cv_prog_compiler_rtti_exceptions=no
8886   ac_outfile=conftest.$ac_objext
8887   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8888   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8889   # Insert the option either (1) after the last *FLAGS variable, or
8890   # (2) before a word containing "conftest.", or (3) at the end.
8891   # Note that $ac_compile itself does not contain backslashes and begins
8892   # with a dollar sign (not a hyphen), so the echo should work correctly.
8893   # The option is referenced via a variable to avoid confusing sed.
8894   lt_compile=`echo "$ac_compile" | $SED \
8895   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8896   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8897   -e 's:$: $lt_compiler_flag:'`
8898   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8899   (eval "$lt_compile" 2>conftest.err)
8900   ac_status=$?
8901   cat conftest.err >&5
8902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903   if (exit $ac_status) && test -s "$ac_outfile"; then
8904     # The compiler can only warn and ignore the option if not recognized
8905     # So say no if there are warnings other than the usual output.
8906     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8907     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8908     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8909       lt_cv_prog_compiler_rtti_exceptions=yes
8910     fi
8911   fi
8912   $RM conftest*
8913
8914fi
8915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8916$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8917
8918if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8919    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8920else
8921    :
8922fi
8923
8924fi
8925
8926
8927
8928
8929
8930
8931  lt_prog_compiler_wl=
8932lt_prog_compiler_pic=
8933lt_prog_compiler_static=
8934
8935
8936  if test yes = "$GCC"; then
8937    lt_prog_compiler_wl='-Wl,'
8938    lt_prog_compiler_static='-static'
8939
8940    case $host_os in
8941      aix*)
8942      # All AIX code is PIC.
8943      if test ia64 = "$host_cpu"; then
8944	# AIX 5 now supports IA64 processor
8945	lt_prog_compiler_static='-Bstatic'
8946      fi
8947      lt_prog_compiler_pic='-fPIC'
8948      ;;
8949
8950    amigaos*)
8951      case $host_cpu in
8952      powerpc)
8953            # see comment about AmigaOS4 .so support
8954            lt_prog_compiler_pic='-fPIC'
8955        ;;
8956      m68k)
8957            # FIXME: we need at least 68020 code to build shared libraries, but
8958            # adding the '-m68020' flag to GCC prevents building anything better,
8959            # like '-m68040'.
8960            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8961        ;;
8962      esac
8963      ;;
8964
8965    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8966      # PIC is the default for these OSes.
8967      ;;
8968
8969    mingw* | cygwin* | pw32* | os2* | cegcc*)
8970      # This hack is so that the source file can tell whether it is being
8971      # built for inclusion in a dll (and should export symbols for example).
8972      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8973      # (--disable-auto-import) libraries
8974      lt_prog_compiler_pic='-DDLL_EXPORT'
8975      case $host_os in
8976      os2*)
8977	lt_prog_compiler_static='$wl-static'
8978	;;
8979      esac
8980      ;;
8981
8982    darwin* | rhapsody*)
8983      # PIC is the default on this platform
8984      # Common symbols not allowed in MH_DYLIB files
8985      lt_prog_compiler_pic='-fno-common'
8986      ;;
8987
8988    haiku*)
8989      # PIC is the default for Haiku.
8990      # The "-static" flag exists, but is broken.
8991      lt_prog_compiler_static=
8992      ;;
8993
8994    hpux*)
8995      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8996      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8997      # sets the default TLS model and affects inlining.
8998      case $host_cpu in
8999      hppa*64*)
9000	# +Z the default
9001	;;
9002      *)
9003	lt_prog_compiler_pic='-fPIC'
9004	;;
9005      esac
9006      ;;
9007
9008    interix[3-9]*)
9009      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9010      # Instead, we relocate shared libraries at runtime.
9011      ;;
9012
9013    msdosdjgpp*)
9014      # Just because we use GCC doesn't mean we suddenly get shared libraries
9015      # on systems that don't support them.
9016      lt_prog_compiler_can_build_shared=no
9017      enable_shared=no
9018      ;;
9019
9020    *nto* | *qnx*)
9021      # QNX uses GNU C++, but need to define -shared option too, otherwise
9022      # it will coredump.
9023      lt_prog_compiler_pic='-fPIC -shared'
9024      ;;
9025
9026    sysv4*MP*)
9027      if test -d /usr/nec; then
9028	lt_prog_compiler_pic=-Kconform_pic
9029      fi
9030      ;;
9031
9032    *)
9033      lt_prog_compiler_pic='-fPIC'
9034      ;;
9035    esac
9036
9037    case $cc_basename in
9038    nvcc*) # Cuda Compiler Driver 2.2
9039      lt_prog_compiler_wl='-Xlinker '
9040      if test -n "$lt_prog_compiler_pic"; then
9041        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9042      fi
9043      ;;
9044    esac
9045  else
9046    # PORTME Check for flag to pass linker flags through the system compiler.
9047    case $host_os in
9048    aix*)
9049      lt_prog_compiler_wl='-Wl,'
9050      if test ia64 = "$host_cpu"; then
9051	# AIX 5 now supports IA64 processor
9052	lt_prog_compiler_static='-Bstatic'
9053      else
9054	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9055      fi
9056      ;;
9057
9058    darwin* | rhapsody*)
9059      # PIC is the default on this platform
9060      # Common symbols not allowed in MH_DYLIB files
9061      lt_prog_compiler_pic='-fno-common'
9062      case $cc_basename in
9063      nagfor*)
9064        # NAG Fortran compiler
9065        lt_prog_compiler_wl='-Wl,-Wl,,'
9066        lt_prog_compiler_pic='-PIC'
9067        lt_prog_compiler_static='-Bstatic'
9068        ;;
9069      esac
9070      ;;
9071
9072    mingw* | cygwin* | pw32* | os2* | cegcc*)
9073      # This hack is so that the source file can tell whether it is being
9074      # built for inclusion in a dll (and should export symbols for example).
9075      lt_prog_compiler_pic='-DDLL_EXPORT'
9076      case $host_os in
9077      os2*)
9078	lt_prog_compiler_static='$wl-static'
9079	;;
9080      esac
9081      ;;
9082
9083    hpux9* | hpux10* | hpux11*)
9084      lt_prog_compiler_wl='-Wl,'
9085      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9086      # not for PA HP-UX.
9087      case $host_cpu in
9088      hppa*64*|ia64*)
9089	# +Z the default
9090	;;
9091      *)
9092	lt_prog_compiler_pic='+Z'
9093	;;
9094      esac
9095      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9096      lt_prog_compiler_static='$wl-a ${wl}archive'
9097      ;;
9098
9099    irix5* | irix6* | nonstopux*)
9100      lt_prog_compiler_wl='-Wl,'
9101      # PIC (with -KPIC) is the default.
9102      lt_prog_compiler_static='-non_shared'
9103      ;;
9104
9105    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9106      case $cc_basename in
9107      # old Intel for x86_64, which still supported -KPIC.
9108      ecc*)
9109	lt_prog_compiler_wl='-Wl,'
9110	lt_prog_compiler_pic='-KPIC'
9111	lt_prog_compiler_static='-static'
9112        ;;
9113      # icc used to be incompatible with GCC.
9114      # ICC 10 doesn't accept -KPIC any more.
9115      icc* | ifort*)
9116	lt_prog_compiler_wl='-Wl,'
9117	lt_prog_compiler_pic='-fPIC'
9118	lt_prog_compiler_static='-static'
9119        ;;
9120      # Lahey Fortran 8.1.
9121      lf95*)
9122	lt_prog_compiler_wl='-Wl,'
9123	lt_prog_compiler_pic='--shared'
9124	lt_prog_compiler_static='--static'
9125	;;
9126      nagfor*)
9127	# NAG Fortran compiler
9128	lt_prog_compiler_wl='-Wl,-Wl,,'
9129	lt_prog_compiler_pic='-PIC'
9130	lt_prog_compiler_static='-Bstatic'
9131	;;
9132      tcc*)
9133	# Fabrice Bellard et al's Tiny C Compiler
9134	lt_prog_compiler_wl='-Wl,'
9135	lt_prog_compiler_pic='-fPIC'
9136	lt_prog_compiler_static='-static'
9137	;;
9138      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9139        # Portland Group compilers (*not* the Pentium gcc compiler,
9140	# which looks to be a dead project)
9141	lt_prog_compiler_wl='-Wl,'
9142	lt_prog_compiler_pic='-fpic'
9143	lt_prog_compiler_static='-Bstatic'
9144        ;;
9145      ccc*)
9146        lt_prog_compiler_wl='-Wl,'
9147        # All Alpha code is PIC.
9148        lt_prog_compiler_static='-non_shared'
9149        ;;
9150      xl* | bgxl* | bgf* | mpixl*)
9151	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9152	lt_prog_compiler_wl='-Wl,'
9153	lt_prog_compiler_pic='-qpic'
9154	lt_prog_compiler_static='-qstaticlink'
9155	;;
9156      *)
9157	case `$CC -V 2>&1 | sed 5q` in
9158	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9159	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9160	  lt_prog_compiler_pic='-KPIC'
9161	  lt_prog_compiler_static='-Bstatic'
9162	  lt_prog_compiler_wl=''
9163	  ;;
9164	*Sun\ F* | *Sun*Fortran*)
9165	  lt_prog_compiler_pic='-KPIC'
9166	  lt_prog_compiler_static='-Bstatic'
9167	  lt_prog_compiler_wl='-Qoption ld '
9168	  ;;
9169	*Sun\ C*)
9170	  # Sun C 5.9
9171	  lt_prog_compiler_pic='-KPIC'
9172	  lt_prog_compiler_static='-Bstatic'
9173	  lt_prog_compiler_wl='-Wl,'
9174	  ;;
9175        *Intel*\ [CF]*Compiler*)
9176	  lt_prog_compiler_wl='-Wl,'
9177	  lt_prog_compiler_pic='-fPIC'
9178	  lt_prog_compiler_static='-static'
9179	  ;;
9180	*Portland\ Group*)
9181	  lt_prog_compiler_wl='-Wl,'
9182	  lt_prog_compiler_pic='-fpic'
9183	  lt_prog_compiler_static='-Bstatic'
9184	  ;;
9185	esac
9186	;;
9187      esac
9188      ;;
9189
9190    newsos6)
9191      lt_prog_compiler_pic='-KPIC'
9192      lt_prog_compiler_static='-Bstatic'
9193      ;;
9194
9195    *nto* | *qnx*)
9196      # QNX uses GNU C++, but need to define -shared option too, otherwise
9197      # it will coredump.
9198      lt_prog_compiler_pic='-fPIC -shared'
9199      ;;
9200
9201    osf3* | osf4* | osf5*)
9202      lt_prog_compiler_wl='-Wl,'
9203      # All OSF/1 code is PIC.
9204      lt_prog_compiler_static='-non_shared'
9205      ;;
9206
9207    rdos*)
9208      lt_prog_compiler_static='-non_shared'
9209      ;;
9210
9211    solaris*)
9212      lt_prog_compiler_pic='-KPIC'
9213      lt_prog_compiler_static='-Bstatic'
9214      case $cc_basename in
9215      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9216	lt_prog_compiler_wl='-Qoption ld ';;
9217      *)
9218	lt_prog_compiler_wl='-Wl,';;
9219      esac
9220      ;;
9221
9222    sunos4*)
9223      lt_prog_compiler_wl='-Qoption ld '
9224      lt_prog_compiler_pic='-PIC'
9225      lt_prog_compiler_static='-Bstatic'
9226      ;;
9227
9228    sysv4 | sysv4.2uw2* | sysv4.3*)
9229      lt_prog_compiler_wl='-Wl,'
9230      lt_prog_compiler_pic='-KPIC'
9231      lt_prog_compiler_static='-Bstatic'
9232      ;;
9233
9234    sysv4*MP*)
9235      if test -d /usr/nec; then
9236	lt_prog_compiler_pic='-Kconform_pic'
9237	lt_prog_compiler_static='-Bstatic'
9238      fi
9239      ;;
9240
9241    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9242      lt_prog_compiler_wl='-Wl,'
9243      lt_prog_compiler_pic='-KPIC'
9244      lt_prog_compiler_static='-Bstatic'
9245      ;;
9246
9247    unicos*)
9248      lt_prog_compiler_wl='-Wl,'
9249      lt_prog_compiler_can_build_shared=no
9250      ;;
9251
9252    uts4*)
9253      lt_prog_compiler_pic='-pic'
9254      lt_prog_compiler_static='-Bstatic'
9255      ;;
9256
9257    *)
9258      lt_prog_compiler_can_build_shared=no
9259      ;;
9260    esac
9261  fi
9262
9263case $host_os in
9264  # For platforms that do not support PIC, -DPIC is meaningless:
9265  *djgpp*)
9266    lt_prog_compiler_pic=
9267    ;;
9268  *)
9269    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9270    ;;
9271esac
9272
9273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9274$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9275if ${lt_cv_prog_compiler_pic+:} false; then :
9276  $as_echo_n "(cached) " >&6
9277else
9278  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9279fi
9280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9281$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9282lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9283
9284#
9285# Check to make sure the PIC flag actually works.
9286#
9287if test -n "$lt_prog_compiler_pic"; then
9288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9289$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9290if ${lt_cv_prog_compiler_pic_works+:} false; then :
9291  $as_echo_n "(cached) " >&6
9292else
9293  lt_cv_prog_compiler_pic_works=no
9294   ac_outfile=conftest.$ac_objext
9295   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9296   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9297   # Insert the option either (1) after the last *FLAGS variable, or
9298   # (2) before a word containing "conftest.", or (3) at the end.
9299   # Note that $ac_compile itself does not contain backslashes and begins
9300   # with a dollar sign (not a hyphen), so the echo should work correctly.
9301   # The option is referenced via a variable to avoid confusing sed.
9302   lt_compile=`echo "$ac_compile" | $SED \
9303   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9304   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9305   -e 's:$: $lt_compiler_flag:'`
9306   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9307   (eval "$lt_compile" 2>conftest.err)
9308   ac_status=$?
9309   cat conftest.err >&5
9310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311   if (exit $ac_status) && test -s "$ac_outfile"; then
9312     # The compiler can only warn and ignore the option if not recognized
9313     # So say no if there are warnings other than the usual output.
9314     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9315     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9316     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9317       lt_cv_prog_compiler_pic_works=yes
9318     fi
9319   fi
9320   $RM conftest*
9321
9322fi
9323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9324$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9325
9326if test yes = "$lt_cv_prog_compiler_pic_works"; then
9327    case $lt_prog_compiler_pic in
9328     "" | " "*) ;;
9329     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9330     esac
9331else
9332    lt_prog_compiler_pic=
9333     lt_prog_compiler_can_build_shared=no
9334fi
9335
9336fi
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348#
9349# Check to make sure the static flag actually works.
9350#
9351wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9353$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9354if ${lt_cv_prog_compiler_static_works+:} false; then :
9355  $as_echo_n "(cached) " >&6
9356else
9357  lt_cv_prog_compiler_static_works=no
9358   save_LDFLAGS=$LDFLAGS
9359   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9360   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9361   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9362     # The linker can only warn and ignore the option if not recognized
9363     # So say no if there are warnings
9364     if test -s conftest.err; then
9365       # Append any errors to the config.log.
9366       cat conftest.err 1>&5
9367       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9368       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9369       if diff conftest.exp conftest.er2 >/dev/null; then
9370         lt_cv_prog_compiler_static_works=yes
9371       fi
9372     else
9373       lt_cv_prog_compiler_static_works=yes
9374     fi
9375   fi
9376   $RM -r conftest*
9377   LDFLAGS=$save_LDFLAGS
9378
9379fi
9380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9381$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9382
9383if test yes = "$lt_cv_prog_compiler_static_works"; then
9384    :
9385else
9386    lt_prog_compiler_static=
9387fi
9388
9389
9390
9391
9392
9393
9394
9395  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9396$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9397if ${lt_cv_prog_compiler_c_o+:} false; then :
9398  $as_echo_n "(cached) " >&6
9399else
9400  lt_cv_prog_compiler_c_o=no
9401   $RM -r conftest 2>/dev/null
9402   mkdir conftest
9403   cd conftest
9404   mkdir out
9405   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9406
9407   lt_compiler_flag="-o out/conftest2.$ac_objext"
9408   # Insert the option either (1) after the last *FLAGS variable, or
9409   # (2) before a word containing "conftest.", or (3) at the end.
9410   # Note that $ac_compile itself does not contain backslashes and begins
9411   # with a dollar sign (not a hyphen), so the echo should work correctly.
9412   lt_compile=`echo "$ac_compile" | $SED \
9413   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9414   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9415   -e 's:$: $lt_compiler_flag:'`
9416   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9417   (eval "$lt_compile" 2>out/conftest.err)
9418   ac_status=$?
9419   cat out/conftest.err >&5
9420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9422   then
9423     # The compiler can only warn and ignore the option if not recognized
9424     # So say no if there are warnings
9425     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9426     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9427     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9428       lt_cv_prog_compiler_c_o=yes
9429     fi
9430   fi
9431   chmod u+w . 2>&5
9432   $RM conftest*
9433   # SGI C++ compiler will create directory out/ii_files/ for
9434   # template instantiation
9435   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9436   $RM out/* && rmdir out
9437   cd ..
9438   $RM -r conftest
9439   $RM conftest*
9440
9441fi
9442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9443$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9444
9445
9446
9447
9448
9449
9450  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9451$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9452if ${lt_cv_prog_compiler_c_o+:} false; then :
9453  $as_echo_n "(cached) " >&6
9454else
9455  lt_cv_prog_compiler_c_o=no
9456   $RM -r conftest 2>/dev/null
9457   mkdir conftest
9458   cd conftest
9459   mkdir out
9460   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9461
9462   lt_compiler_flag="-o out/conftest2.$ac_objext"
9463   # Insert the option either (1) after the last *FLAGS variable, or
9464   # (2) before a word containing "conftest.", or (3) at the end.
9465   # Note that $ac_compile itself does not contain backslashes and begins
9466   # with a dollar sign (not a hyphen), so the echo should work correctly.
9467   lt_compile=`echo "$ac_compile" | $SED \
9468   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9469   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9470   -e 's:$: $lt_compiler_flag:'`
9471   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9472   (eval "$lt_compile" 2>out/conftest.err)
9473   ac_status=$?
9474   cat out/conftest.err >&5
9475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9477   then
9478     # The compiler can only warn and ignore the option if not recognized
9479     # So say no if there are warnings
9480     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9481     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9482     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9483       lt_cv_prog_compiler_c_o=yes
9484     fi
9485   fi
9486   chmod u+w . 2>&5
9487   $RM conftest*
9488   # SGI C++ compiler will create directory out/ii_files/ for
9489   # template instantiation
9490   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9491   $RM out/* && rmdir out
9492   cd ..
9493   $RM -r conftest
9494   $RM conftest*
9495
9496fi
9497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9498$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9499
9500
9501
9502
9503hard_links=nottested
9504if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9505  # do not overwrite the value of need_locks provided by the user
9506  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9507$as_echo_n "checking if we can lock with hard links... " >&6; }
9508  hard_links=yes
9509  $RM conftest*
9510  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9511  touch conftest.a
9512  ln conftest.a conftest.b 2>&5 || hard_links=no
9513  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9515$as_echo "$hard_links" >&6; }
9516  if test no = "$hard_links"; then
9517    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9518$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9519    need_locks=warn
9520  fi
9521else
9522  need_locks=no
9523fi
9524
9525
9526
9527
9528
9529
9530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9531$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9532
9533  runpath_var=
9534  allow_undefined_flag=
9535  always_export_symbols=no
9536  archive_cmds=
9537  archive_expsym_cmds=
9538  compiler_needs_object=no
9539  enable_shared_with_static_runtimes=no
9540  export_dynamic_flag_spec=
9541  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9542  hardcode_automatic=no
9543  hardcode_direct=no
9544  hardcode_direct_absolute=no
9545  hardcode_libdir_flag_spec=
9546  hardcode_libdir_separator=
9547  hardcode_minus_L=no
9548  hardcode_shlibpath_var=unsupported
9549  inherit_rpath=no
9550  link_all_deplibs=unknown
9551  module_cmds=
9552  module_expsym_cmds=
9553  old_archive_from_new_cmds=
9554  old_archive_from_expsyms_cmds=
9555  thread_safe_flag_spec=
9556  whole_archive_flag_spec=
9557  # include_expsyms should be a list of space-separated symbols to be *always*
9558  # included in the symbol list
9559  include_expsyms=
9560  # exclude_expsyms can be an extended regexp of symbols to exclude
9561  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9562  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9563  # as well as any symbol that contains 'd'.
9564  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9565  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9566  # platforms (ab)use it in PIC code, but their linkers get confused if
9567  # the symbol is explicitly referenced.  Since portable code cannot
9568  # rely on this symbol name, it's probably fine to never include it in
9569  # preloaded symbol tables.
9570  # Exclude shared library initialization/finalization symbols.
9571  extract_expsyms_cmds=
9572
9573  case $host_os in
9574  cygwin* | mingw* | pw32* | cegcc*)
9575    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9576    # When not using gcc, we currently assume that we are using
9577    # Microsoft Visual C++.
9578    if test yes != "$GCC"; then
9579      with_gnu_ld=no
9580    fi
9581    ;;
9582  interix*)
9583    # we just hope/assume this is gcc and not c89 (= MSVC++)
9584    with_gnu_ld=yes
9585    ;;
9586  openbsd* | bitrig*)
9587    with_gnu_ld=no
9588    ;;
9589  linux* | k*bsd*-gnu | gnu*)
9590    link_all_deplibs=no
9591    ;;
9592  esac
9593
9594  ld_shlibs=yes
9595
9596  # On some targets, GNU ld is compatible enough with the native linker
9597  # that we're better off using the native interface for both.
9598  lt_use_gnu_ld_interface=no
9599  if test yes = "$with_gnu_ld"; then
9600    case $host_os in
9601      aix*)
9602	# The AIX port of GNU ld has always aspired to compatibility
9603	# with the native linker.  However, as the warning in the GNU ld
9604	# block says, versions before 2.19.5* couldn't really create working
9605	# shared libraries, regardless of the interface used.
9606	case `$LD -v 2>&1` in
9607	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9608	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9609	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9610	  *)
9611	    lt_use_gnu_ld_interface=yes
9612	    ;;
9613	esac
9614	;;
9615      *)
9616	lt_use_gnu_ld_interface=yes
9617	;;
9618    esac
9619  fi
9620
9621  if test yes = "$lt_use_gnu_ld_interface"; then
9622    # If archive_cmds runs LD, not CC, wlarc should be empty
9623    wlarc='$wl'
9624
9625    # Set some defaults for GNU ld with shared library support. These
9626    # are reset later if shared libraries are not supported. Putting them
9627    # here allows them to be overridden if necessary.
9628    runpath_var=LD_RUN_PATH
9629    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9630    export_dynamic_flag_spec='$wl--export-dynamic'
9631    # ancient GNU ld didn't support --whole-archive et. al.
9632    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9633      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9634    else
9635      whole_archive_flag_spec=
9636    fi
9637    supports_anon_versioning=no
9638    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9639      *GNU\ gold*) supports_anon_versioning=yes ;;
9640      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9641      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9642      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9643      *\ 2.11.*) ;; # other 2.11 versions
9644      *) supports_anon_versioning=yes ;;
9645    esac
9646
9647    # See if GNU ld supports shared libraries.
9648    case $host_os in
9649    aix[3-9]*)
9650      # On AIX/PPC, the GNU linker is very broken
9651      if test ia64 != "$host_cpu"; then
9652	ld_shlibs=no
9653	cat <<_LT_EOF 1>&2
9654
9655*** Warning: the GNU linker, at least up to release 2.19, is reported
9656*** to be unable to reliably create shared libraries on AIX.
9657*** Therefore, libtool is disabling shared libraries support.  If you
9658*** really care for shared libraries, you may want to install binutils
9659*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9660*** You will then need to restart the configuration process.
9661
9662_LT_EOF
9663      fi
9664      ;;
9665
9666    amigaos*)
9667      case $host_cpu in
9668      powerpc)
9669            # see comment about AmigaOS4 .so support
9670            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9671            archive_expsym_cmds=''
9672        ;;
9673      m68k)
9674            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)'
9675            hardcode_libdir_flag_spec='-L$libdir'
9676            hardcode_minus_L=yes
9677        ;;
9678      esac
9679      ;;
9680
9681    beos*)
9682      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9683	allow_undefined_flag=unsupported
9684	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9685	# support --undefined.  This deserves some investigation.  FIXME
9686	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9687      else
9688	ld_shlibs=no
9689      fi
9690      ;;
9691
9692    cygwin* | mingw* | pw32* | cegcc*)
9693      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9694      # as there is no search path for DLLs.
9695      hardcode_libdir_flag_spec='-L$libdir'
9696      export_dynamic_flag_spec='$wl--export-all-symbols'
9697      allow_undefined_flag=unsupported
9698      always_export_symbols=no
9699      enable_shared_with_static_runtimes=yes
9700      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'
9701      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9702
9703      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9704        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9705	# If the export-symbols file already is a .def file, use it as
9706	# is; otherwise, prepend EXPORTS...
9707	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9708          cp $export_symbols $output_objdir/$soname.def;
9709        else
9710          echo EXPORTS > $output_objdir/$soname.def;
9711          cat $export_symbols >> $output_objdir/$soname.def;
9712        fi~
9713        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9714      else
9715	ld_shlibs=no
9716      fi
9717      ;;
9718
9719    haiku*)
9720      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9721      link_all_deplibs=yes
9722      ;;
9723
9724    os2*)
9725      hardcode_libdir_flag_spec='-L$libdir'
9726      hardcode_minus_L=yes
9727      allow_undefined_flag=unsupported
9728      shrext_cmds=.dll
9729      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9730	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9731	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9732	$ECHO EXPORTS >> $output_objdir/$libname.def~
9733	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9734	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9735	emximp -o $lib $output_objdir/$libname.def'
9736      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9737	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9738	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9739	$ECHO EXPORTS >> $output_objdir/$libname.def~
9740	prefix_cmds="$SED"~
9741	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9742	  prefix_cmds="$prefix_cmds -e 1d";
9743	fi~
9744	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9745	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9746	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9747	emximp -o $lib $output_objdir/$libname.def'
9748      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9749      enable_shared_with_static_runtimes=yes
9750      ;;
9751
9752    interix[3-9]*)
9753      hardcode_direct=no
9754      hardcode_shlibpath_var=no
9755      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9756      export_dynamic_flag_spec='$wl-E'
9757      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9758      # Instead, shared libraries are loaded at an image base (0x10000000 by
9759      # default) and relocated if they conflict, which is a slow very memory
9760      # consuming and fragmenting process.  To avoid this, we pick a random,
9761      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9762      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9763      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9764      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'
9765      ;;
9766
9767    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9768      tmp_diet=no
9769      if test linux-dietlibc = "$host_os"; then
9770	case $cc_basename in
9771	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9772	esac
9773      fi
9774      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9775	 && test no = "$tmp_diet"
9776      then
9777	tmp_addflag=' $pic_flag'
9778	tmp_sharedflag='-shared'
9779	case $cc_basename,$host_cpu in
9780        pgcc*)				# Portland Group C compiler
9781	  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'
9782	  tmp_addflag=' $pic_flag'
9783	  ;;
9784	pgf77* | pgf90* | pgf95* | pgfortran*)
9785					# Portland Group f77 and f90 compilers
9786	  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'
9787	  tmp_addflag=' $pic_flag -Mnomain' ;;
9788	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9789	  tmp_addflag=' -i_dynamic' ;;
9790	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9791	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9792	ifc* | ifort*)			# Intel Fortran compiler
9793	  tmp_addflag=' -nofor_main' ;;
9794	lf95*)				# Lahey Fortran 8.1
9795	  whole_archive_flag_spec=
9796	  tmp_sharedflag='--shared' ;;
9797        nagfor*)                        # NAGFOR 5.3
9798          tmp_sharedflag='-Wl,-shared' ;;
9799	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9800	  tmp_sharedflag='-qmkshrobj'
9801	  tmp_addflag= ;;
9802	nvcc*)	# Cuda Compiler Driver 2.2
9803	  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'
9804	  compiler_needs_object=yes
9805	  ;;
9806	esac
9807	case `$CC -V 2>&1 | sed 5q` in
9808	*Sun\ C*)			# Sun C 5.9
9809	  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'
9810	  compiler_needs_object=yes
9811	  tmp_sharedflag='-G' ;;
9812	*Sun\ F*)			# Sun Fortran 8.3
9813	  tmp_sharedflag='-G' ;;
9814	esac
9815	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9816
9817        if test yes = "$supports_anon_versioning"; then
9818          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9819            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9820            echo "local: *; };" >> $output_objdir/$libname.ver~
9821            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9822        fi
9823
9824	case $cc_basename in
9825	tcc*)
9826	  export_dynamic_flag_spec='-rdynamic'
9827	  ;;
9828	xlf* | bgf* | bgxlf* | mpixlf*)
9829	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9830	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9831	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9832	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9833	  if test yes = "$supports_anon_versioning"; then
9834	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9835              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9836              echo "local: *; };" >> $output_objdir/$libname.ver~
9837              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9838	  fi
9839	  ;;
9840	esac
9841      else
9842        ld_shlibs=no
9843      fi
9844      ;;
9845
9846    netbsd* | netbsdelf*-gnu)
9847      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9848	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9849	wlarc=
9850      else
9851	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9852	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9853      fi
9854      ;;
9855
9856    solaris*)
9857      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9858	ld_shlibs=no
9859	cat <<_LT_EOF 1>&2
9860
9861*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9862*** create shared libraries on Solaris systems.  Therefore, libtool
9863*** is disabling shared libraries support.  We urge you to upgrade GNU
9864*** binutils to release 2.9.1 or newer.  Another option is to modify
9865*** your PATH or compiler configuration so that the native linker is
9866*** used, and then restart.
9867
9868_LT_EOF
9869      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9870	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9871	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9872      else
9873	ld_shlibs=no
9874      fi
9875      ;;
9876
9877    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9878      case `$LD -v 2>&1` in
9879        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9880	ld_shlibs=no
9881	cat <<_LT_EOF 1>&2
9882
9883*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9884*** reliably create shared libraries on SCO systems.  Therefore, libtool
9885*** is disabling shared libraries support.  We urge you to upgrade GNU
9886*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9887*** your PATH or compiler configuration so that the native linker is
9888*** used, and then restart.
9889
9890_LT_EOF
9891	;;
9892	*)
9893	  # For security reasons, it is highly recommended that you always
9894	  # use absolute paths for naming shared libraries, and exclude the
9895	  # DT_RUNPATH tag from executables and libraries.  But doing so
9896	  # requires that you compile everything twice, which is a pain.
9897	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9898	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9899	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9900	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9901	  else
9902	    ld_shlibs=no
9903	  fi
9904	;;
9905      esac
9906      ;;
9907
9908    sunos4*)
9909      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9910      wlarc=
9911      hardcode_direct=yes
9912      hardcode_shlibpath_var=no
9913      ;;
9914
9915    *)
9916      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9917	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9918	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9919      else
9920	ld_shlibs=no
9921      fi
9922      ;;
9923    esac
9924
9925    if test no = "$ld_shlibs"; then
9926      runpath_var=
9927      hardcode_libdir_flag_spec=
9928      export_dynamic_flag_spec=
9929      whole_archive_flag_spec=
9930    fi
9931  else
9932    # PORTME fill in a description of your system's linker (not GNU ld)
9933    case $host_os in
9934    aix3*)
9935      allow_undefined_flag=unsupported
9936      always_export_symbols=yes
9937      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'
9938      # Note: this linker hardcodes the directories in LIBPATH if there
9939      # are no directories specified by -L.
9940      hardcode_minus_L=yes
9941      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9942	# Neither direct hardcoding nor static linking is supported with a
9943	# broken collect2.
9944	hardcode_direct=unsupported
9945      fi
9946      ;;
9947
9948    aix[4-9]*)
9949      if test ia64 = "$host_cpu"; then
9950	# On IA64, the linker does run time linking by default, so we don't
9951	# have to do anything special.
9952	aix_use_runtimelinking=no
9953	exp_sym_flag='-Bexport'
9954	no_entry_flag=
9955      else
9956	# If we're using GNU nm, then we don't want the "-C" option.
9957	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9958	# Without the "-l" option, or with the "-B" option, AIX nm treats
9959	# weak defined symbols like other global defined symbols, whereas
9960	# GNU nm marks them as "W".
9961	# While the 'weak' keyword is ignored in the Export File, we need
9962	# it in the Import File for the 'aix-soname' feature, so we have
9963	# to replace the "-B" option with "-P" for AIX nm.
9964	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9965	  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'
9966	else
9967	  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'
9968	fi
9969	aix_use_runtimelinking=no
9970
9971	# Test if we are trying to use run time linking or normal
9972	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9973	# have runtime linking enabled, and use it for executables.
9974	# For shared libraries, we enable/disable runtime linking
9975	# depending on the kind of the shared library created -
9976	# when "with_aix_soname,aix_use_runtimelinking" is:
9977	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9978	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9979	#            lib.a           static archive
9980	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9981	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9982	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9983	#            lib.a(lib.so.V) shared, rtl:no
9984	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9985	#            lib.a           static archive
9986	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9987	  for ld_flag in $LDFLAGS; do
9988	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9989	    aix_use_runtimelinking=yes
9990	    break
9991	  fi
9992	  done
9993	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9994	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9995	    # so we don't have lib.a shared libs to link our executables.
9996	    # We have to force runtime linking in this case.
9997	    aix_use_runtimelinking=yes
9998	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9999	  fi
10000	  ;;
10001	esac
10002
10003	exp_sym_flag='-bexport'
10004	no_entry_flag='-bnoentry'
10005      fi
10006
10007      # When large executables or shared objects are built, AIX ld can
10008      # have problems creating the table of contents.  If linking a library
10009      # or program results in "error TOC overflow" add -mminimal-toc to
10010      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10011      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10012
10013      archive_cmds=''
10014      hardcode_direct=yes
10015      hardcode_direct_absolute=yes
10016      hardcode_libdir_separator=':'
10017      link_all_deplibs=yes
10018      file_list_spec='$wl-f,'
10019      case $with_aix_soname,$aix_use_runtimelinking in
10020      aix,*) ;; # traditional, no import file
10021      svr4,* | *,yes) # use import file
10022	# The Import File defines what to hardcode.
10023	hardcode_direct=no
10024	hardcode_direct_absolute=no
10025	;;
10026      esac
10027
10028      if test yes = "$GCC"; then
10029	case $host_os in aix4.[012]|aix4.[012].*)
10030	# We only want to do this on AIX 4.2 and lower, the check
10031	# below for broken collect2 doesn't work under 4.3+
10032	  collect2name=`$CC -print-prog-name=collect2`
10033	  if test -f "$collect2name" &&
10034	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10035	  then
10036	  # We have reworked collect2
10037	  :
10038	  else
10039	  # We have old collect2
10040	  hardcode_direct=unsupported
10041	  # It fails to find uninstalled libraries when the uninstalled
10042	  # path is not listed in the libpath.  Setting hardcode_minus_L
10043	  # to unsupported forces relinking
10044	  hardcode_minus_L=yes
10045	  hardcode_libdir_flag_spec='-L$libdir'
10046	  hardcode_libdir_separator=
10047	  fi
10048	  ;;
10049	esac
10050	shared_flag='-shared'
10051	if test yes = "$aix_use_runtimelinking"; then
10052	  shared_flag="$shared_flag "'$wl-G'
10053	fi
10054	# Need to ensure runtime linking is disabled for the traditional
10055	# shared library, or the linker may eventually find shared libraries
10056	# /with/ Import File - we do not want to mix them.
10057	shared_flag_aix='-shared'
10058	shared_flag_svr4='-shared $wl-G'
10059      else
10060	# not using gcc
10061	if test ia64 = "$host_cpu"; then
10062	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10063	# chokes on -Wl,-G. The following line is correct:
10064	  shared_flag='-G'
10065	else
10066	  if test yes = "$aix_use_runtimelinking"; then
10067	    shared_flag='$wl-G'
10068	  else
10069	    shared_flag='$wl-bM:SRE'
10070	  fi
10071	  shared_flag_aix='$wl-bM:SRE'
10072	  shared_flag_svr4='$wl-G'
10073	fi
10074      fi
10075
10076      export_dynamic_flag_spec='$wl-bexpall'
10077      # It seems that -bexpall does not export symbols beginning with
10078      # underscore (_), so it is better to generate a list of symbols to export.
10079      always_export_symbols=yes
10080      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10081	# Warning - without using the other runtime loading flags (-brtl),
10082	# -berok will link without error, but may produce a broken library.
10083	allow_undefined_flag='-berok'
10084        # Determine the default libpath from the value encoded in an
10085        # empty executable.
10086        if test set = "${lt_cv_aix_libpath+set}"; then
10087  aix_libpath=$lt_cv_aix_libpath
10088else
10089  if ${lt_cv_aix_libpath_+:} false; then :
10090  $as_echo_n "(cached) " >&6
10091else
10092  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10093/* end confdefs.h.  */
10094
10095int
10096main ()
10097{
10098
10099  ;
10100  return 0;
10101}
10102_ACEOF
10103if ac_fn_c_try_link "$LINENO"; then :
10104
10105  lt_aix_libpath_sed='
10106      /Import File Strings/,/^$/ {
10107	  /^0/ {
10108	      s/^0  *\([^ ]*\) *$/\1/
10109	      p
10110	  }
10111      }'
10112  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10113  # Check for a 64-bit object if we didn't find anything.
10114  if test -z "$lt_cv_aix_libpath_"; then
10115    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10116  fi
10117fi
10118rm -f core conftest.err conftest.$ac_objext \
10119    conftest$ac_exeext conftest.$ac_ext
10120  if test -z "$lt_cv_aix_libpath_"; then
10121    lt_cv_aix_libpath_=/usr/lib:/lib
10122  fi
10123
10124fi
10125
10126  aix_libpath=$lt_cv_aix_libpath_
10127fi
10128
10129        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10130        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
10131      else
10132	if test ia64 = "$host_cpu"; then
10133	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10134	  allow_undefined_flag="-z nodefs"
10135	  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"
10136	else
10137	 # Determine the default libpath from the value encoded in an
10138	 # empty executable.
10139	 if test set = "${lt_cv_aix_libpath+set}"; then
10140  aix_libpath=$lt_cv_aix_libpath
10141else
10142  if ${lt_cv_aix_libpath_+:} false; then :
10143  $as_echo_n "(cached) " >&6
10144else
10145  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146/* end confdefs.h.  */
10147
10148int
10149main ()
10150{
10151
10152  ;
10153  return 0;
10154}
10155_ACEOF
10156if ac_fn_c_try_link "$LINENO"; then :
10157
10158  lt_aix_libpath_sed='
10159      /Import File Strings/,/^$/ {
10160	  /^0/ {
10161	      s/^0  *\([^ ]*\) *$/\1/
10162	      p
10163	  }
10164      }'
10165  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10166  # Check for a 64-bit object if we didn't find anything.
10167  if test -z "$lt_cv_aix_libpath_"; then
10168    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10169  fi
10170fi
10171rm -f core conftest.err conftest.$ac_objext \
10172    conftest$ac_exeext conftest.$ac_ext
10173  if test -z "$lt_cv_aix_libpath_"; then
10174    lt_cv_aix_libpath_=/usr/lib:/lib
10175  fi
10176
10177fi
10178
10179  aix_libpath=$lt_cv_aix_libpath_
10180fi
10181
10182	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10183	  # Warning - without using the other run time loading flags,
10184	  # -berok will link without error, but may produce a broken library.
10185	  no_undefined_flag=' $wl-bernotok'
10186	  allow_undefined_flag=' $wl-berok'
10187	  if test yes = "$with_gnu_ld"; then
10188	    # We only use this code for GNU lds that support --whole-archive.
10189	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10190	  else
10191	    # Exported symbols can be pulled into shared objects from archives
10192	    whole_archive_flag_spec='$convenience'
10193	  fi
10194	  archive_cmds_need_lc=yes
10195	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10196	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10197	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10198	  if test svr4 != "$with_aix_soname"; then
10199	    # This is similar to how AIX traditionally builds its shared libraries.
10200	    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'
10201	  fi
10202	  if test aix != "$with_aix_soname"; then
10203	    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'
10204	  else
10205	    # used by -dlpreopen to get the symbols
10206	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10207	  fi
10208	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10209	fi
10210      fi
10211      ;;
10212
10213    amigaos*)
10214      case $host_cpu in
10215      powerpc)
10216            # see comment about AmigaOS4 .so support
10217            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10218            archive_expsym_cmds=''
10219        ;;
10220      m68k)
10221            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)'
10222            hardcode_libdir_flag_spec='-L$libdir'
10223            hardcode_minus_L=yes
10224        ;;
10225      esac
10226      ;;
10227
10228    bsdi[45]*)
10229      export_dynamic_flag_spec=-rdynamic
10230      ;;
10231
10232    cygwin* | mingw* | pw32* | cegcc*)
10233      # When not using gcc, we currently assume that we are using
10234      # Microsoft Visual C++.
10235      # hardcode_libdir_flag_spec is actually meaningless, as there is
10236      # no search path for DLLs.
10237      case $cc_basename in
10238      cl*)
10239	# Native MSVC
10240	hardcode_libdir_flag_spec=' '
10241	allow_undefined_flag=unsupported
10242	always_export_symbols=yes
10243	file_list_spec='@'
10244	# Tell ltmain to make .lib files, not .a files.
10245	libext=lib
10246	# Tell ltmain to make .dll files, not .so files.
10247	shrext_cmds=.dll
10248	# FIXME: Setting linknames here is a bad hack.
10249	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10250	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10251            cp "$export_symbols" "$output_objdir/$soname.def";
10252            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10253          else
10254            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10255          fi~
10256          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10257          linknames='
10258	# The linker will not automatically build a static lib if we build a DLL.
10259	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10260	enable_shared_with_static_runtimes=yes
10261	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10262	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10263	# Don't use ranlib
10264	old_postinstall_cmds='chmod 644 $oldlib'
10265	postlink_cmds='lt_outputfile="@OUTPUT@"~
10266          lt_tool_outputfile="@TOOL_OUTPUT@"~
10267          case $lt_outputfile in
10268            *.exe|*.EXE) ;;
10269            *)
10270              lt_outputfile=$lt_outputfile.exe
10271              lt_tool_outputfile=$lt_tool_outputfile.exe
10272              ;;
10273          esac~
10274          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10275            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10276            $RM "$lt_outputfile.manifest";
10277          fi'
10278	;;
10279      *)
10280	# Assume MSVC wrapper
10281	hardcode_libdir_flag_spec=' '
10282	allow_undefined_flag=unsupported
10283	# Tell ltmain to make .lib files, not .a files.
10284	libext=lib
10285	# Tell ltmain to make .dll files, not .so files.
10286	shrext_cmds=.dll
10287	# FIXME: Setting linknames here is a bad hack.
10288	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10289	# The linker will automatically build a .lib file if we build a DLL.
10290	old_archive_from_new_cmds='true'
10291	# FIXME: Should let the user specify the lib program.
10292	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10293	enable_shared_with_static_runtimes=yes
10294	;;
10295      esac
10296      ;;
10297
10298    darwin* | rhapsody*)
10299
10300
10301  archive_cmds_need_lc=no
10302  hardcode_direct=no
10303  hardcode_automatic=yes
10304  hardcode_shlibpath_var=unsupported
10305  if test yes = "$lt_cv_ld_force_load"; then
10306    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\"`'
10307
10308  else
10309    whole_archive_flag_spec=''
10310  fi
10311  link_all_deplibs=yes
10312  allow_undefined_flag=$_lt_dar_allow_undefined
10313  case $cc_basename in
10314     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10315     *) _lt_dar_can_shared=$GCC ;;
10316  esac
10317  if test yes = "$_lt_dar_can_shared"; then
10318    output_verbose_link_cmd=func_echo_all
10319    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10320    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10321    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"
10322    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"
10323
10324  else
10325  ld_shlibs=no
10326  fi
10327
10328      ;;
10329
10330    dgux*)
10331      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10332      hardcode_libdir_flag_spec='-L$libdir'
10333      hardcode_shlibpath_var=no
10334      ;;
10335
10336    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10337    # support.  Future versions do this automatically, but an explicit c++rt0.o
10338    # does not break anything, and helps significantly (at the cost of a little
10339    # extra space).
10340    freebsd2.2*)
10341      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10342      hardcode_libdir_flag_spec='-R$libdir'
10343      hardcode_direct=yes
10344      hardcode_shlibpath_var=no
10345      ;;
10346
10347    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10348    freebsd2.*)
10349      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10350      hardcode_direct=yes
10351      hardcode_minus_L=yes
10352      hardcode_shlibpath_var=no
10353      ;;
10354
10355    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10356    freebsd* | dragonfly*)
10357      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10358      hardcode_libdir_flag_spec='-R$libdir'
10359      hardcode_direct=yes
10360      hardcode_shlibpath_var=no
10361      ;;
10362
10363    hpux9*)
10364      if test yes = "$GCC"; then
10365	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'
10366      else
10367	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'
10368      fi
10369      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10370      hardcode_libdir_separator=:
10371      hardcode_direct=yes
10372
10373      # hardcode_minus_L: Not really in the search PATH,
10374      # but as the default location of the library.
10375      hardcode_minus_L=yes
10376      export_dynamic_flag_spec='$wl-E'
10377      ;;
10378
10379    hpux10*)
10380      if test yes,no = "$GCC,$with_gnu_ld"; then
10381	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10382      else
10383	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10384      fi
10385      if test no = "$with_gnu_ld"; then
10386	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10387	hardcode_libdir_separator=:
10388	hardcode_direct=yes
10389	hardcode_direct_absolute=yes
10390	export_dynamic_flag_spec='$wl-E'
10391	# hardcode_minus_L: Not really in the search PATH,
10392	# but as the default location of the library.
10393	hardcode_minus_L=yes
10394      fi
10395      ;;
10396
10397    hpux11*)
10398      if test yes,no = "$GCC,$with_gnu_ld"; then
10399	case $host_cpu in
10400	hppa*64*)
10401	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10402	  ;;
10403	ia64*)
10404	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10405	  ;;
10406	*)
10407	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10408	  ;;
10409	esac
10410      else
10411	case $host_cpu in
10412	hppa*64*)
10413	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10414	  ;;
10415	ia64*)
10416	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10417	  ;;
10418	*)
10419
10420	  # Older versions of the 11.00 compiler do not understand -b yet
10421	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10422	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10423$as_echo_n "checking if $CC understands -b... " >&6; }
10424if ${lt_cv_prog_compiler__b+:} false; then :
10425  $as_echo_n "(cached) " >&6
10426else
10427  lt_cv_prog_compiler__b=no
10428   save_LDFLAGS=$LDFLAGS
10429   LDFLAGS="$LDFLAGS -b"
10430   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10431   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10432     # The linker can only warn and ignore the option if not recognized
10433     # So say no if there are warnings
10434     if test -s conftest.err; then
10435       # Append any errors to the config.log.
10436       cat conftest.err 1>&5
10437       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10438       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10439       if diff conftest.exp conftest.er2 >/dev/null; then
10440         lt_cv_prog_compiler__b=yes
10441       fi
10442     else
10443       lt_cv_prog_compiler__b=yes
10444     fi
10445   fi
10446   $RM -r conftest*
10447   LDFLAGS=$save_LDFLAGS
10448
10449fi
10450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10451$as_echo "$lt_cv_prog_compiler__b" >&6; }
10452
10453if test yes = "$lt_cv_prog_compiler__b"; then
10454    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10455else
10456    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10457fi
10458
10459	  ;;
10460	esac
10461      fi
10462      if test no = "$with_gnu_ld"; then
10463	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10464	hardcode_libdir_separator=:
10465
10466	case $host_cpu in
10467	hppa*64*|ia64*)
10468	  hardcode_direct=no
10469	  hardcode_shlibpath_var=no
10470	  ;;
10471	*)
10472	  hardcode_direct=yes
10473	  hardcode_direct_absolute=yes
10474	  export_dynamic_flag_spec='$wl-E'
10475
10476	  # hardcode_minus_L: Not really in the search PATH,
10477	  # but as the default location of the library.
10478	  hardcode_minus_L=yes
10479	  ;;
10480	esac
10481      fi
10482      ;;
10483
10484    irix5* | irix6* | nonstopux*)
10485      if test yes = "$GCC"; then
10486	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'
10487	# Try to use the -exported_symbol ld option, if it does not
10488	# work, assume that -exports_file does not work either and
10489	# implicitly export all symbols.
10490	# This should be the same for all languages, so no per-tag cache variable.
10491	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10492$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10493if ${lt_cv_irix_exported_symbol+:} false; then :
10494  $as_echo_n "(cached) " >&6
10495else
10496  save_LDFLAGS=$LDFLAGS
10497	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10498	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499/* end confdefs.h.  */
10500int foo (void) { return 0; }
10501_ACEOF
10502if ac_fn_c_try_link "$LINENO"; then :
10503  lt_cv_irix_exported_symbol=yes
10504else
10505  lt_cv_irix_exported_symbol=no
10506fi
10507rm -f core conftest.err conftest.$ac_objext \
10508    conftest$ac_exeext conftest.$ac_ext
10509           LDFLAGS=$save_LDFLAGS
10510fi
10511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10512$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10513	if test yes = "$lt_cv_irix_exported_symbol"; then
10514          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'
10515	fi
10516	link_all_deplibs=no
10517      else
10518	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'
10519	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'
10520      fi
10521      archive_cmds_need_lc='no'
10522      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10523      hardcode_libdir_separator=:
10524      inherit_rpath=yes
10525      link_all_deplibs=yes
10526      ;;
10527
10528    linux*)
10529      case $cc_basename in
10530      tcc*)
10531	# Fabrice Bellard et al's Tiny C Compiler
10532	ld_shlibs=yes
10533	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10534	;;
10535      esac
10536      ;;
10537
10538    netbsd* | netbsdelf*-gnu)
10539      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10540	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10541      else
10542	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10543      fi
10544      hardcode_libdir_flag_spec='-R$libdir'
10545      hardcode_direct=yes
10546      hardcode_shlibpath_var=no
10547      ;;
10548
10549    newsos6)
10550      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10551      hardcode_direct=yes
10552      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10553      hardcode_libdir_separator=:
10554      hardcode_shlibpath_var=no
10555      ;;
10556
10557    *nto* | *qnx*)
10558      ;;
10559
10560    openbsd* | bitrig*)
10561      if test -f /usr/libexec/ld.so; then
10562	hardcode_direct=yes
10563	hardcode_shlibpath_var=no
10564	hardcode_direct_absolute=yes
10565	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10566	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10567	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10568	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10569	  export_dynamic_flag_spec='$wl-E'
10570	else
10571	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10572	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10573	fi
10574      else
10575	ld_shlibs=no
10576      fi
10577      ;;
10578
10579    os2*)
10580      hardcode_libdir_flag_spec='-L$libdir'
10581      hardcode_minus_L=yes
10582      allow_undefined_flag=unsupported
10583      shrext_cmds=.dll
10584      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10585	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10586	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10587	$ECHO EXPORTS >> $output_objdir/$libname.def~
10588	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10589	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10590	emximp -o $lib $output_objdir/$libname.def'
10591      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10592	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10593	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10594	$ECHO EXPORTS >> $output_objdir/$libname.def~
10595	prefix_cmds="$SED"~
10596	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10597	  prefix_cmds="$prefix_cmds -e 1d";
10598	fi~
10599	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10600	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10601	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10602	emximp -o $lib $output_objdir/$libname.def'
10603      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10604      enable_shared_with_static_runtimes=yes
10605      ;;
10606
10607    osf3*)
10608      if test yes = "$GCC"; then
10609	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10610	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'
10611      else
10612	allow_undefined_flag=' -expect_unresolved \*'
10613	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'
10614      fi
10615      archive_cmds_need_lc='no'
10616      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10617      hardcode_libdir_separator=:
10618      ;;
10619
10620    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10621      if test yes = "$GCC"; then
10622	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10623	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'
10624	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10625      else
10626	allow_undefined_flag=' -expect_unresolved \*'
10627	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'
10628	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~
10629          $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'
10630
10631	# Both c and cxx compiler support -rpath directly
10632	hardcode_libdir_flag_spec='-rpath $libdir'
10633      fi
10634      archive_cmds_need_lc='no'
10635      hardcode_libdir_separator=:
10636      ;;
10637
10638    solaris*)
10639      no_undefined_flag=' -z defs'
10640      if test yes = "$GCC"; then
10641	wlarc='$wl'
10642	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10643	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10644          $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'
10645      else
10646	case `$CC -V 2>&1` in
10647	*"Compilers 5.0"*)
10648	  wlarc=''
10649	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10650	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10651            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10652	  ;;
10653	*)
10654	  wlarc='$wl'
10655	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10656	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10657            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10658	  ;;
10659	esac
10660      fi
10661      hardcode_libdir_flag_spec='-R$libdir'
10662      hardcode_shlibpath_var=no
10663      case $host_os in
10664      solaris2.[0-5] | solaris2.[0-5].*) ;;
10665      *)
10666	# The compiler driver will combine and reorder linker options,
10667	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10668	# but is careful enough not to reorder.
10669	# Supported since Solaris 2.6 (maybe 2.5.1?)
10670	if test yes = "$GCC"; then
10671	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10672	else
10673	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10674	fi
10675	;;
10676      esac
10677      link_all_deplibs=yes
10678      ;;
10679
10680    sunos4*)
10681      if test sequent = "$host_vendor"; then
10682	# Use $CC to link under sequent, because it throws in some extra .o
10683	# files that make .init and .fini sections work.
10684	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10685      else
10686	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10687      fi
10688      hardcode_libdir_flag_spec='-L$libdir'
10689      hardcode_direct=yes
10690      hardcode_minus_L=yes
10691      hardcode_shlibpath_var=no
10692      ;;
10693
10694    sysv4)
10695      case $host_vendor in
10696	sni)
10697	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10698	  hardcode_direct=yes # is this really true???
10699	;;
10700	siemens)
10701	  ## LD is ld it makes a PLAMLIB
10702	  ## CC just makes a GrossModule.
10703	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10704	  reload_cmds='$CC -r -o $output$reload_objs'
10705	  hardcode_direct=no
10706        ;;
10707	motorola)
10708	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10709	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10710	;;
10711      esac
10712      runpath_var='LD_RUN_PATH'
10713      hardcode_shlibpath_var=no
10714      ;;
10715
10716    sysv4.3*)
10717      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10718      hardcode_shlibpath_var=no
10719      export_dynamic_flag_spec='-Bexport'
10720      ;;
10721
10722    sysv4*MP*)
10723      if test -d /usr/nec; then
10724	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10725	hardcode_shlibpath_var=no
10726	runpath_var=LD_RUN_PATH
10727	hardcode_runpath_var=yes
10728	ld_shlibs=yes
10729      fi
10730      ;;
10731
10732    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10733      no_undefined_flag='$wl-z,text'
10734      archive_cmds_need_lc=no
10735      hardcode_shlibpath_var=no
10736      runpath_var='LD_RUN_PATH'
10737
10738      if test yes = "$GCC"; then
10739	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10740	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10741      else
10742	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10743	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10744      fi
10745      ;;
10746
10747    sysv5* | sco3.2v5* | sco5v6*)
10748      # Note: We CANNOT use -z defs as we might desire, because we do not
10749      # link with -lc, and that would cause any symbols used from libc to
10750      # always be unresolved, which means just about no library would
10751      # ever link correctly.  If we're not using GNU ld we use -z text
10752      # though, which does catch some bad symbols but isn't as heavy-handed
10753      # as -z defs.
10754      no_undefined_flag='$wl-z,text'
10755      allow_undefined_flag='$wl-z,nodefs'
10756      archive_cmds_need_lc=no
10757      hardcode_shlibpath_var=no
10758      hardcode_libdir_flag_spec='$wl-R,$libdir'
10759      hardcode_libdir_separator=':'
10760      link_all_deplibs=yes
10761      export_dynamic_flag_spec='$wl-Bexport'
10762      runpath_var='LD_RUN_PATH'
10763
10764      if test yes = "$GCC"; then
10765	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10766	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10767      else
10768	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10769	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10770      fi
10771      ;;
10772
10773    uts4*)
10774      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10775      hardcode_libdir_flag_spec='-L$libdir'
10776      hardcode_shlibpath_var=no
10777      ;;
10778
10779    *)
10780      ld_shlibs=no
10781      ;;
10782    esac
10783
10784    if test sni = "$host_vendor"; then
10785      case $host in
10786      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10787	export_dynamic_flag_spec='$wl-Blargedynsym'
10788	;;
10789      esac
10790    fi
10791  fi
10792
10793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10794$as_echo "$ld_shlibs" >&6; }
10795test no = "$ld_shlibs" && can_build_shared=no
10796
10797with_gnu_ld=$with_gnu_ld
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813#
10814# Do we need to explicitly link libc?
10815#
10816case "x$archive_cmds_need_lc" in
10817x|xyes)
10818  # Assume -lc should be added
10819  archive_cmds_need_lc=yes
10820
10821  if test yes,yes = "$GCC,$enable_shared"; then
10822    case $archive_cmds in
10823    *'~'*)
10824      # FIXME: we may have to deal with multi-command sequences.
10825      ;;
10826    '$CC '*)
10827      # Test whether the compiler implicitly links with -lc since on some
10828      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10829      # to ld, don't add -lc before -lgcc.
10830      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10831$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10832if ${lt_cv_archive_cmds_need_lc+:} false; then :
10833  $as_echo_n "(cached) " >&6
10834else
10835  $RM conftest*
10836	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10837
10838	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10839  (eval $ac_compile) 2>&5
10840  ac_status=$?
10841  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10842  test $ac_status = 0; } 2>conftest.err; then
10843	  soname=conftest
10844	  lib=conftest
10845	  libobjs=conftest.$ac_objext
10846	  deplibs=
10847	  wl=$lt_prog_compiler_wl
10848	  pic_flag=$lt_prog_compiler_pic
10849	  compiler_flags=-v
10850	  linker_flags=-v
10851	  verstring=
10852	  output_objdir=.
10853	  libname=conftest
10854	  lt_save_allow_undefined_flag=$allow_undefined_flag
10855	  allow_undefined_flag=
10856	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10857  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10858  ac_status=$?
10859  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10860  test $ac_status = 0; }
10861	  then
10862	    lt_cv_archive_cmds_need_lc=no
10863	  else
10864	    lt_cv_archive_cmds_need_lc=yes
10865	  fi
10866	  allow_undefined_flag=$lt_save_allow_undefined_flag
10867	else
10868	  cat conftest.err 1>&5
10869	fi
10870	$RM conftest*
10871
10872fi
10873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10874$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10875      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10876      ;;
10877    esac
10878  fi
10879  ;;
10880esac
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11034$as_echo_n "checking dynamic linker characteristics... " >&6; }
11035
11036if test yes = "$GCC"; then
11037  case $host_os in
11038    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11039    *) lt_awk_arg='/^libraries:/' ;;
11040  esac
11041  case $host_os in
11042    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11043    *) lt_sed_strip_eq='s|=/|/|g' ;;
11044  esac
11045  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11046  case $lt_search_path_spec in
11047  *\;*)
11048    # if the path contains ";" then we assume it to be the separator
11049    # otherwise default to the standard path separator (i.e. ":") - it is
11050    # assumed that no part of a normal pathname contains ";" but that should
11051    # okay in the real world where ";" in dirpaths is itself problematic.
11052    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11053    ;;
11054  *)
11055    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11056    ;;
11057  esac
11058  # Ok, now we have the path, separated by spaces, we can step through it
11059  # and add multilib dir if necessary...
11060  lt_tmp_lt_search_path_spec=
11061  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11062  # ...but if some path component already ends with the multilib dir we assume
11063  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11064  case "$lt_multi_os_dir; $lt_search_path_spec " in
11065  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11066    lt_multi_os_dir=
11067    ;;
11068  esac
11069  for lt_sys_path in $lt_search_path_spec; do
11070    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11071      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11072    elif test -n "$lt_multi_os_dir"; then
11073      test -d "$lt_sys_path" && \
11074	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11075    fi
11076  done
11077  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11078BEGIN {RS = " "; FS = "/|\n";} {
11079  lt_foo = "";
11080  lt_count = 0;
11081  for (lt_i = NF; lt_i > 0; lt_i--) {
11082    if ($lt_i != "" && $lt_i != ".") {
11083      if ($lt_i == "..") {
11084        lt_count++;
11085      } else {
11086        if (lt_count == 0) {
11087          lt_foo = "/" $lt_i lt_foo;
11088        } else {
11089          lt_count--;
11090        }
11091      }
11092    }
11093  }
11094  if (lt_foo != "") { lt_freq[lt_foo]++; }
11095  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11096}'`
11097  # AWK program above erroneously prepends '/' to C:/dos/paths
11098  # for these hosts.
11099  case $host_os in
11100    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11101      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11102  esac
11103  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11104else
11105  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11106fi
11107library_names_spec=
11108libname_spec='lib$name'
11109soname_spec=
11110shrext_cmds=.so
11111postinstall_cmds=
11112postuninstall_cmds=
11113finish_cmds=
11114finish_eval=
11115shlibpath_var=
11116shlibpath_overrides_runpath=unknown
11117version_type=none
11118dynamic_linker="$host_os ld.so"
11119sys_lib_dlsearch_path_spec="/lib /usr/lib"
11120need_lib_prefix=unknown
11121hardcode_into_libs=no
11122
11123# when you set need_version to no, make sure it does not cause -set_version
11124# flags to be left without arguments
11125need_version=unknown
11126
11127
11128
11129case $host_os in
11130aix3*)
11131  version_type=linux # correct to gnu/linux during the next big refactor
11132  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11133  shlibpath_var=LIBPATH
11134
11135  # AIX 3 has no versioning support, so we append a major version to the name.
11136  soname_spec='$libname$release$shared_ext$major'
11137  ;;
11138
11139aix[4-9]*)
11140  version_type=linux # correct to gnu/linux during the next big refactor
11141  need_lib_prefix=no
11142  need_version=no
11143  hardcode_into_libs=yes
11144  if test ia64 = "$host_cpu"; then
11145    # AIX 5 supports IA64
11146    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11147    shlibpath_var=LD_LIBRARY_PATH
11148  else
11149    # With GCC up to 2.95.x, collect2 would create an import file
11150    # for dependence libraries.  The import file would start with
11151    # the line '#! .'.  This would cause the generated library to
11152    # depend on '.', always an invalid library.  This was fixed in
11153    # development snapshots of GCC prior to 3.0.
11154    case $host_os in
11155      aix4 | aix4.[01] | aix4.[01].*)
11156      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11157	   echo ' yes '
11158	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11159	:
11160      else
11161	can_build_shared=no
11162      fi
11163      ;;
11164    esac
11165    # Using Import Files as archive members, it is possible to support
11166    # filename-based versioning of shared library archives on AIX. While
11167    # this would work for both with and without runtime linking, it will
11168    # prevent static linking of such archives. So we do filename-based
11169    # shared library versioning with .so extension only, which is used
11170    # when both runtime linking and shared linking is enabled.
11171    # Unfortunately, runtime linking may impact performance, so we do
11172    # not want this to be the default eventually. Also, we use the
11173    # versioned .so libs for executables only if there is the -brtl
11174    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11175    # To allow for filename-based versioning support, we need to create
11176    # libNAME.so.V as an archive file, containing:
11177    # *) an Import File, referring to the versioned filename of the
11178    #    archive as well as the shared archive member, telling the
11179    #    bitwidth (32 or 64) of that shared object, and providing the
11180    #    list of exported symbols of that shared object, eventually
11181    #    decorated with the 'weak' keyword
11182    # *) the shared object with the F_LOADONLY flag set, to really avoid
11183    #    it being seen by the linker.
11184    # At run time we better use the real file rather than another symlink,
11185    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11186
11187    case $with_aix_soname,$aix_use_runtimelinking in
11188    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11189    # soname into executable. Probably we can add versioning support to
11190    # collect2, so additional links can be useful in future.
11191    aix,yes) # traditional libtool
11192      dynamic_linker='AIX unversionable lib.so'
11193      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11194      # instead of lib<name>.a to let people know that these are not
11195      # typical AIX shared libraries.
11196      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11197      ;;
11198    aix,no) # traditional AIX only
11199      dynamic_linker='AIX lib.a(lib.so.V)'
11200      # We preserve .a as extension for shared libraries through AIX4.2
11201      # and later when we are not doing run time linking.
11202      library_names_spec='$libname$release.a $libname.a'
11203      soname_spec='$libname$release$shared_ext$major'
11204      ;;
11205    svr4,*) # full svr4 only
11206      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11207      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11208      # We do not specify a path in Import Files, so LIBPATH fires.
11209      shlibpath_overrides_runpath=yes
11210      ;;
11211    *,yes) # both, prefer svr4
11212      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11213      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11214      # unpreferred sharedlib libNAME.a needs extra handling
11215      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"'
11216      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"'
11217      # We do not specify a path in Import Files, so LIBPATH fires.
11218      shlibpath_overrides_runpath=yes
11219      ;;
11220    *,no) # both, prefer aix
11221      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11222      library_names_spec='$libname$release.a $libname.a'
11223      soname_spec='$libname$release$shared_ext$major'
11224      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11225      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)'
11226      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"'
11227      ;;
11228    esac
11229    shlibpath_var=LIBPATH
11230  fi
11231  ;;
11232
11233amigaos*)
11234  case $host_cpu in
11235  powerpc)
11236    # Since July 2007 AmigaOS4 officially supports .so libraries.
11237    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11238    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11239    ;;
11240  m68k)
11241    library_names_spec='$libname.ixlibrary $libname.a'
11242    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11243    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'
11244    ;;
11245  esac
11246  ;;
11247
11248beos*)
11249  library_names_spec='$libname$shared_ext'
11250  dynamic_linker="$host_os ld.so"
11251  shlibpath_var=LIBRARY_PATH
11252  ;;
11253
11254bsdi[45]*)
11255  version_type=linux # correct to gnu/linux during the next big refactor
11256  need_version=no
11257  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11258  soname_spec='$libname$release$shared_ext$major'
11259  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11260  shlibpath_var=LD_LIBRARY_PATH
11261  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11262  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11263  # the default ld.so.conf also contains /usr/contrib/lib and
11264  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11265  # libtool to hard-code these into programs
11266  ;;
11267
11268cygwin* | mingw* | pw32* | cegcc*)
11269  version_type=windows
11270  shrext_cmds=.dll
11271  need_version=no
11272  need_lib_prefix=no
11273
11274  case $GCC,$cc_basename in
11275  yes,*)
11276    # gcc
11277    library_names_spec='$libname.dll.a'
11278    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11279    postinstall_cmds='base_file=`basename \$file`~
11280      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11281      dldir=$destdir/`dirname \$dlpath`~
11282      test -d \$dldir || mkdir -p \$dldir~
11283      $install_prog $dir/$dlname \$dldir/$dlname~
11284      chmod a+x \$dldir/$dlname~
11285      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11286        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11287      fi'
11288    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11289      dlpath=$dir/\$dldll~
11290       $RM \$dlpath'
11291    shlibpath_overrides_runpath=yes
11292
11293    case $host_os in
11294    cygwin*)
11295      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11296      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11297
11298      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11299      ;;
11300    mingw* | cegcc*)
11301      # MinGW DLLs use traditional 'lib' prefix
11302      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11303      ;;
11304    pw32*)
11305      # pw32 DLLs use 'pw' prefix rather than 'lib'
11306      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11307      ;;
11308    esac
11309    dynamic_linker='Win32 ld.exe'
11310    ;;
11311
11312  *,cl*)
11313    # Native MSVC
11314    libname_spec='$name'
11315    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11316    library_names_spec='$libname.dll.lib'
11317
11318    case $build_os in
11319    mingw*)
11320      sys_lib_search_path_spec=
11321      lt_save_ifs=$IFS
11322      IFS=';'
11323      for lt_path in $LIB
11324      do
11325        IFS=$lt_save_ifs
11326        # Let DOS variable expansion print the short 8.3 style file name.
11327        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11328        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11329      done
11330      IFS=$lt_save_ifs
11331      # Convert to MSYS style.
11332      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11333      ;;
11334    cygwin*)
11335      # Convert to unix form, then to dos form, then back to unix form
11336      # but this time dos style (no spaces!) so that the unix form looks
11337      # like /cygdrive/c/PROGRA~1:/cygdr...
11338      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11339      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11340      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11341      ;;
11342    *)
11343      sys_lib_search_path_spec=$LIB
11344      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11345        # It is most probably a Windows format PATH.
11346        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11347      else
11348        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11349      fi
11350      # FIXME: find the short name or the path components, as spaces are
11351      # common. (e.g. "Program Files" -> "PROGRA~1")
11352      ;;
11353    esac
11354
11355    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11356    postinstall_cmds='base_file=`basename \$file`~
11357      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11358      dldir=$destdir/`dirname \$dlpath`~
11359      test -d \$dldir || mkdir -p \$dldir~
11360      $install_prog $dir/$dlname \$dldir/$dlname'
11361    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11362      dlpath=$dir/\$dldll~
11363       $RM \$dlpath'
11364    shlibpath_overrides_runpath=yes
11365    dynamic_linker='Win32 link.exe'
11366    ;;
11367
11368  *)
11369    # Assume MSVC wrapper
11370    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11371    dynamic_linker='Win32 ld.exe'
11372    ;;
11373  esac
11374  # FIXME: first we should search . and the directory the executable is in
11375  shlibpath_var=PATH
11376  ;;
11377
11378darwin* | rhapsody*)
11379  dynamic_linker="$host_os dyld"
11380  version_type=darwin
11381  need_lib_prefix=no
11382  need_version=no
11383  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11384  soname_spec='$libname$release$major$shared_ext'
11385  shlibpath_overrides_runpath=yes
11386  shlibpath_var=DYLD_LIBRARY_PATH
11387  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11388
11389  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11390  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11391  ;;
11392
11393dgux*)
11394  version_type=linux # correct to gnu/linux during the next big refactor
11395  need_lib_prefix=no
11396  need_version=no
11397  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11398  soname_spec='$libname$release$shared_ext$major'
11399  shlibpath_var=LD_LIBRARY_PATH
11400  ;;
11401
11402freebsd* | dragonfly*)
11403  # DragonFly does not have aout.  When/if they implement a new
11404  # versioning mechanism, adjust this.
11405  if test -x /usr/bin/objformat; then
11406    objformat=`/usr/bin/objformat`
11407  else
11408    case $host_os in
11409    freebsd[23].*) objformat=aout ;;
11410    *) objformat=elf ;;
11411    esac
11412  fi
11413  version_type=freebsd-$objformat
11414  case $version_type in
11415    freebsd-elf*)
11416      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11417      soname_spec='$libname$release$shared_ext$major'
11418      need_version=no
11419      need_lib_prefix=no
11420      ;;
11421    freebsd-*)
11422      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11423      need_version=yes
11424      ;;
11425  esac
11426  shlibpath_var=LD_LIBRARY_PATH
11427  case $host_os in
11428  freebsd2.*)
11429    shlibpath_overrides_runpath=yes
11430    ;;
11431  freebsd3.[01]* | freebsdelf3.[01]*)
11432    shlibpath_overrides_runpath=yes
11433    hardcode_into_libs=yes
11434    ;;
11435  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11436  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11437    shlibpath_overrides_runpath=no
11438    hardcode_into_libs=yes
11439    ;;
11440  *) # from 4.6 on, and DragonFly
11441    shlibpath_overrides_runpath=yes
11442    hardcode_into_libs=yes
11443    ;;
11444  esac
11445  ;;
11446
11447haiku*)
11448  version_type=linux # correct to gnu/linux during the next big refactor
11449  need_lib_prefix=no
11450  need_version=no
11451  dynamic_linker="$host_os runtime_loader"
11452  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11453  soname_spec='$libname$release$shared_ext$major'
11454  shlibpath_var=LIBRARY_PATH
11455  shlibpath_overrides_runpath=no
11456  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11457  hardcode_into_libs=yes
11458  ;;
11459
11460hpux9* | hpux10* | hpux11*)
11461  # Give a soname corresponding to the major version so that dld.sl refuses to
11462  # link against other versions.
11463  version_type=sunos
11464  need_lib_prefix=no
11465  need_version=no
11466  case $host_cpu in
11467  ia64*)
11468    shrext_cmds='.so'
11469    hardcode_into_libs=yes
11470    dynamic_linker="$host_os dld.so"
11471    shlibpath_var=LD_LIBRARY_PATH
11472    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11473    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11474    soname_spec='$libname$release$shared_ext$major'
11475    if test 32 = "$HPUX_IA64_MODE"; then
11476      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11477      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11478    else
11479      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11480      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11481    fi
11482    ;;
11483  hppa*64*)
11484    shrext_cmds='.sl'
11485    hardcode_into_libs=yes
11486    dynamic_linker="$host_os dld.sl"
11487    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11488    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11489    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11490    soname_spec='$libname$release$shared_ext$major'
11491    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11492    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11493    ;;
11494  *)
11495    shrext_cmds='.sl'
11496    dynamic_linker="$host_os dld.sl"
11497    shlibpath_var=SHLIB_PATH
11498    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11499    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11500    soname_spec='$libname$release$shared_ext$major'
11501    ;;
11502  esac
11503  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11504  postinstall_cmds='chmod 555 $lib'
11505  # or fails outright, so override atomically:
11506  install_override_mode=555
11507  ;;
11508
11509interix[3-9]*)
11510  version_type=linux # correct to gnu/linux during the next big refactor
11511  need_lib_prefix=no
11512  need_version=no
11513  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11514  soname_spec='$libname$release$shared_ext$major'
11515  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11516  shlibpath_var=LD_LIBRARY_PATH
11517  shlibpath_overrides_runpath=no
11518  hardcode_into_libs=yes
11519  ;;
11520
11521irix5* | irix6* | nonstopux*)
11522  case $host_os in
11523    nonstopux*) version_type=nonstopux ;;
11524    *)
11525	if test yes = "$lt_cv_prog_gnu_ld"; then
11526		version_type=linux # correct to gnu/linux during the next big refactor
11527	else
11528		version_type=irix
11529	fi ;;
11530  esac
11531  need_lib_prefix=no
11532  need_version=no
11533  soname_spec='$libname$release$shared_ext$major'
11534  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11535  case $host_os in
11536  irix5* | nonstopux*)
11537    libsuff= shlibsuff=
11538    ;;
11539  *)
11540    case $LD in # libtool.m4 will add one of these switches to LD
11541    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11542      libsuff= shlibsuff= libmagic=32-bit;;
11543    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11544      libsuff=32 shlibsuff=N32 libmagic=N32;;
11545    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11546      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11547    *) libsuff= shlibsuff= libmagic=never-match;;
11548    esac
11549    ;;
11550  esac
11551  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11552  shlibpath_overrides_runpath=no
11553  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11554  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11555  hardcode_into_libs=yes
11556  ;;
11557
11558# No shared lib support for Linux oldld, aout, or coff.
11559linux*oldld* | linux*aout* | linux*coff*)
11560  dynamic_linker=no
11561  ;;
11562
11563linux*android*)
11564  version_type=none # Android doesn't support versioned libraries.
11565  need_lib_prefix=no
11566  need_version=no
11567  library_names_spec='$libname$release$shared_ext'
11568  soname_spec='$libname$release$shared_ext'
11569  finish_cmds=
11570  shlibpath_var=LD_LIBRARY_PATH
11571  shlibpath_overrides_runpath=yes
11572
11573  # This implies no fast_install, which is unacceptable.
11574  # Some rework will be needed to allow for fast_install
11575  # before this can be enabled.
11576  hardcode_into_libs=yes
11577
11578  dynamic_linker='Android linker'
11579  # Don't embed -rpath directories since the linker doesn't support them.
11580  hardcode_libdir_flag_spec='-L$libdir'
11581  ;;
11582
11583# This must be glibc/ELF.
11584linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11585  version_type=linux # correct to gnu/linux during the next big refactor
11586  need_lib_prefix=no
11587  need_version=no
11588  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11589  soname_spec='$libname$release$shared_ext$major'
11590  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11591  shlibpath_var=LD_LIBRARY_PATH
11592  shlibpath_overrides_runpath=no
11593
11594  # Some binutils ld are patched to set DT_RUNPATH
11595  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11596  $as_echo_n "(cached) " >&6
11597else
11598  lt_cv_shlibpath_overrides_runpath=no
11599    save_LDFLAGS=$LDFLAGS
11600    save_libdir=$libdir
11601    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11602	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11603    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604/* end confdefs.h.  */
11605
11606int
11607main ()
11608{
11609
11610  ;
11611  return 0;
11612}
11613_ACEOF
11614if ac_fn_c_try_link "$LINENO"; then :
11615  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11616  lt_cv_shlibpath_overrides_runpath=yes
11617fi
11618fi
11619rm -f core conftest.err conftest.$ac_objext \
11620    conftest$ac_exeext conftest.$ac_ext
11621    LDFLAGS=$save_LDFLAGS
11622    libdir=$save_libdir
11623
11624fi
11625
11626  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11627
11628  # This implies no fast_install, which is unacceptable.
11629  # Some rework will be needed to allow for fast_install
11630  # before this can be enabled.
11631  hardcode_into_libs=yes
11632
11633  # Ideally, we could use ldconfig to report *all* directores which are
11634  # searched for libraries, however this is still not possible.  Aside from not
11635  # being certain /sbin/ldconfig is available, command
11636  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11637  # even though it is searched at run-time.  Try to do the best guess by
11638  # appending ld.so.conf contents (and includes) to the search path.
11639  if test -f /etc/ld.so.conf; then
11640    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' ' '`
11641    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11642  fi
11643
11644  # We used to test for /lib/ld.so.1 and disable shared libraries on
11645  # powerpc, because MkLinux only supported shared libraries with the
11646  # GNU dynamic linker.  Since this was broken with cross compilers,
11647  # most powerpc-linux boxes support dynamic linking these days and
11648  # people can always --disable-shared, the test was removed, and we
11649  # assume the GNU/Linux dynamic linker is in use.
11650  dynamic_linker='GNU/Linux ld.so'
11651  ;;
11652
11653netbsdelf*-gnu)
11654  version_type=linux
11655  need_lib_prefix=no
11656  need_version=no
11657  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11658  soname_spec='${libname}${release}${shared_ext}$major'
11659  shlibpath_var=LD_LIBRARY_PATH
11660  shlibpath_overrides_runpath=no
11661  hardcode_into_libs=yes
11662  dynamic_linker='NetBSD ld.elf_so'
11663  ;;
11664
11665netbsd*)
11666  version_type=sunos
11667  need_lib_prefix=no
11668  need_version=no
11669  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11670    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11671    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11672    dynamic_linker='NetBSD (a.out) ld.so'
11673  else
11674    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11675    soname_spec='$libname$release$shared_ext$major'
11676    dynamic_linker='NetBSD ld.elf_so'
11677  fi
11678  shlibpath_var=LD_LIBRARY_PATH
11679  shlibpath_overrides_runpath=yes
11680  hardcode_into_libs=yes
11681  ;;
11682
11683newsos6)
11684  version_type=linux # correct to gnu/linux during the next big refactor
11685  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11686  shlibpath_var=LD_LIBRARY_PATH
11687  shlibpath_overrides_runpath=yes
11688  ;;
11689
11690*nto* | *qnx*)
11691  version_type=qnx
11692  need_lib_prefix=no
11693  need_version=no
11694  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11695  soname_spec='$libname$release$shared_ext$major'
11696  shlibpath_var=LD_LIBRARY_PATH
11697  shlibpath_overrides_runpath=no
11698  hardcode_into_libs=yes
11699  dynamic_linker='ldqnx.so'
11700  ;;
11701
11702openbsd* | bitrig*)
11703  version_type=sunos
11704  sys_lib_dlsearch_path_spec=/usr/lib
11705  need_lib_prefix=no
11706  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11707    need_version=no
11708  else
11709    need_version=yes
11710  fi
11711  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11712  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11713  shlibpath_var=LD_LIBRARY_PATH
11714  shlibpath_overrides_runpath=yes
11715  ;;
11716
11717os2*)
11718  libname_spec='$name'
11719  version_type=windows
11720  shrext_cmds=.dll
11721  need_version=no
11722  need_lib_prefix=no
11723  # OS/2 can only load a DLL with a base name of 8 characters or less.
11724  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11725    v=$($ECHO $release$versuffix | tr -d .-);
11726    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11727    $ECHO $n$v`$shared_ext'
11728  library_names_spec='${libname}_dll.$libext'
11729  dynamic_linker='OS/2 ld.exe'
11730  shlibpath_var=BEGINLIBPATH
11731  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11732  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11733  postinstall_cmds='base_file=`basename \$file`~
11734    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11735    dldir=$destdir/`dirname \$dlpath`~
11736    test -d \$dldir || mkdir -p \$dldir~
11737    $install_prog $dir/$dlname \$dldir/$dlname~
11738    chmod a+x \$dldir/$dlname~
11739    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11740      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11741    fi'
11742  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11743    dlpath=$dir/\$dldll~
11744    $RM \$dlpath'
11745  ;;
11746
11747osf3* | osf4* | osf5*)
11748  version_type=osf
11749  need_lib_prefix=no
11750  need_version=no
11751  soname_spec='$libname$release$shared_ext$major'
11752  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11753  shlibpath_var=LD_LIBRARY_PATH
11754  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11755  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11756  ;;
11757
11758rdos*)
11759  dynamic_linker=no
11760  ;;
11761
11762solaris*)
11763  version_type=linux # correct to gnu/linux during the next big refactor
11764  need_lib_prefix=no
11765  need_version=no
11766  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11767  soname_spec='$libname$release$shared_ext$major'
11768  shlibpath_var=LD_LIBRARY_PATH
11769  shlibpath_overrides_runpath=yes
11770  hardcode_into_libs=yes
11771  # ldd complains unless libraries are executable
11772  postinstall_cmds='chmod +x $lib'
11773  ;;
11774
11775sunos4*)
11776  version_type=sunos
11777  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11778  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11779  shlibpath_var=LD_LIBRARY_PATH
11780  shlibpath_overrides_runpath=yes
11781  if test yes = "$with_gnu_ld"; then
11782    need_lib_prefix=no
11783  fi
11784  need_version=yes
11785  ;;
11786
11787sysv4 | sysv4.3*)
11788  version_type=linux # correct to gnu/linux during the next big refactor
11789  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11790  soname_spec='$libname$release$shared_ext$major'
11791  shlibpath_var=LD_LIBRARY_PATH
11792  case $host_vendor in
11793    sni)
11794      shlibpath_overrides_runpath=no
11795      need_lib_prefix=no
11796      runpath_var=LD_RUN_PATH
11797      ;;
11798    siemens)
11799      need_lib_prefix=no
11800      ;;
11801    motorola)
11802      need_lib_prefix=no
11803      need_version=no
11804      shlibpath_overrides_runpath=no
11805      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11806      ;;
11807  esac
11808  ;;
11809
11810sysv4*MP*)
11811  if test -d /usr/nec; then
11812    version_type=linux # correct to gnu/linux during the next big refactor
11813    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11814    soname_spec='$libname$shared_ext.$major'
11815    shlibpath_var=LD_LIBRARY_PATH
11816  fi
11817  ;;
11818
11819sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11820  version_type=sco
11821  need_lib_prefix=no
11822  need_version=no
11823  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11824  soname_spec='$libname$release$shared_ext$major'
11825  shlibpath_var=LD_LIBRARY_PATH
11826  shlibpath_overrides_runpath=yes
11827  hardcode_into_libs=yes
11828  if test yes = "$with_gnu_ld"; then
11829    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11830  else
11831    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11832    case $host_os in
11833      sco3.2v5*)
11834        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11835	;;
11836    esac
11837  fi
11838  sys_lib_dlsearch_path_spec='/usr/lib'
11839  ;;
11840
11841tpf*)
11842  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11843  version_type=linux # correct to gnu/linux during the next big refactor
11844  need_lib_prefix=no
11845  need_version=no
11846  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11847  shlibpath_var=LD_LIBRARY_PATH
11848  shlibpath_overrides_runpath=no
11849  hardcode_into_libs=yes
11850  ;;
11851
11852uts4*)
11853  version_type=linux # correct to gnu/linux during the next big refactor
11854  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11855  soname_spec='$libname$release$shared_ext$major'
11856  shlibpath_var=LD_LIBRARY_PATH
11857  ;;
11858
11859*)
11860  dynamic_linker=no
11861  ;;
11862esac
11863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11864$as_echo "$dynamic_linker" >&6; }
11865test no = "$dynamic_linker" && can_build_shared=no
11866
11867variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11868if test yes = "$GCC"; then
11869  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11870fi
11871
11872if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11873  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11874fi
11875
11876if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11877  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11878fi
11879
11880# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11881configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11882
11883# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11884func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11885
11886# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11887configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11986$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11987hardcode_action=
11988if test -n "$hardcode_libdir_flag_spec" ||
11989   test -n "$runpath_var" ||
11990   test yes = "$hardcode_automatic"; then
11991
11992  # We can hardcode non-existent directories.
11993  if test no != "$hardcode_direct" &&
11994     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11995     # have to relink, otherwise we might link with an installed library
11996     # when we should be linking with a yet-to-be-installed one
11997     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11998     test no != "$hardcode_minus_L"; then
11999    # Linking always hardcodes the temporary library directory.
12000    hardcode_action=relink
12001  else
12002    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12003    hardcode_action=immediate
12004  fi
12005else
12006  # We cannot hardcode anything, or else we can only hardcode existing
12007  # directories.
12008  hardcode_action=unsupported
12009fi
12010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12011$as_echo "$hardcode_action" >&6; }
12012
12013if test relink = "$hardcode_action" ||
12014   test yes = "$inherit_rpath"; then
12015  # Fast installation is not supported
12016  enable_fast_install=no
12017elif test yes = "$shlibpath_overrides_runpath" ||
12018     test no = "$enable_shared"; then
12019  # Fast installation is not necessary
12020  enable_fast_install=needless
12021fi
12022
12023
12024
12025
12026
12027
12028  if test yes != "$enable_dlopen"; then
12029  enable_dlopen=unknown
12030  enable_dlopen_self=unknown
12031  enable_dlopen_self_static=unknown
12032else
12033  lt_cv_dlopen=no
12034  lt_cv_dlopen_libs=
12035
12036  case $host_os in
12037  beos*)
12038    lt_cv_dlopen=load_add_on
12039    lt_cv_dlopen_libs=
12040    lt_cv_dlopen_self=yes
12041    ;;
12042
12043  mingw* | pw32* | cegcc*)
12044    lt_cv_dlopen=LoadLibrary
12045    lt_cv_dlopen_libs=
12046    ;;
12047
12048  cygwin*)
12049    lt_cv_dlopen=dlopen
12050    lt_cv_dlopen_libs=
12051    ;;
12052
12053  darwin*)
12054    # if libdl is installed we need to link against it
12055    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12056$as_echo_n "checking for dlopen in -ldl... " >&6; }
12057if ${ac_cv_lib_dl_dlopen+:} false; then :
12058  $as_echo_n "(cached) " >&6
12059else
12060  ac_check_lib_save_LIBS=$LIBS
12061LIBS="-ldl  $LIBS"
12062cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063/* end confdefs.h.  */
12064
12065/* Override any GCC internal prototype to avoid an error.
12066   Use char because int might match the return type of a GCC
12067   builtin and then its argument prototype would still apply.  */
12068#ifdef __cplusplus
12069extern "C"
12070#endif
12071char dlopen ();
12072int
12073main ()
12074{
12075return dlopen ();
12076  ;
12077  return 0;
12078}
12079_ACEOF
12080if ac_fn_c_try_link "$LINENO"; then :
12081  ac_cv_lib_dl_dlopen=yes
12082else
12083  ac_cv_lib_dl_dlopen=no
12084fi
12085rm -f core conftest.err conftest.$ac_objext \
12086    conftest$ac_exeext conftest.$ac_ext
12087LIBS=$ac_check_lib_save_LIBS
12088fi
12089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12090$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12091if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12092  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12093else
12094
12095    lt_cv_dlopen=dyld
12096    lt_cv_dlopen_libs=
12097    lt_cv_dlopen_self=yes
12098
12099fi
12100
12101    ;;
12102
12103  tpf*)
12104    # Don't try to run any link tests for TPF.  We know it's impossible
12105    # because TPF is a cross-compiler, and we know how we open DSOs.
12106    lt_cv_dlopen=dlopen
12107    lt_cv_dlopen_libs=
12108    lt_cv_dlopen_self=no
12109    ;;
12110
12111  *)
12112    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12113if test "x$ac_cv_func_shl_load" = xyes; then :
12114  lt_cv_dlopen=shl_load
12115else
12116  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12117$as_echo_n "checking for shl_load in -ldld... " >&6; }
12118if ${ac_cv_lib_dld_shl_load+:} false; then :
12119  $as_echo_n "(cached) " >&6
12120else
12121  ac_check_lib_save_LIBS=$LIBS
12122LIBS="-ldld  $LIBS"
12123cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12124/* end confdefs.h.  */
12125
12126/* Override any GCC internal prototype to avoid an error.
12127   Use char because int might match the return type of a GCC
12128   builtin and then its argument prototype would still apply.  */
12129#ifdef __cplusplus
12130extern "C"
12131#endif
12132char shl_load ();
12133int
12134main ()
12135{
12136return shl_load ();
12137  ;
12138  return 0;
12139}
12140_ACEOF
12141if ac_fn_c_try_link "$LINENO"; then :
12142  ac_cv_lib_dld_shl_load=yes
12143else
12144  ac_cv_lib_dld_shl_load=no
12145fi
12146rm -f core conftest.err conftest.$ac_objext \
12147    conftest$ac_exeext conftest.$ac_ext
12148LIBS=$ac_check_lib_save_LIBS
12149fi
12150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12151$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12152if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12153  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12154else
12155  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12156if test "x$ac_cv_func_dlopen" = xyes; then :
12157  lt_cv_dlopen=dlopen
12158else
12159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12160$as_echo_n "checking for dlopen in -ldl... " >&6; }
12161if ${ac_cv_lib_dl_dlopen+:} false; then :
12162  $as_echo_n "(cached) " >&6
12163else
12164  ac_check_lib_save_LIBS=$LIBS
12165LIBS="-ldl  $LIBS"
12166cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167/* end confdefs.h.  */
12168
12169/* Override any GCC internal prototype to avoid an error.
12170   Use char because int might match the return type of a GCC
12171   builtin and then its argument prototype would still apply.  */
12172#ifdef __cplusplus
12173extern "C"
12174#endif
12175char dlopen ();
12176int
12177main ()
12178{
12179return dlopen ();
12180  ;
12181  return 0;
12182}
12183_ACEOF
12184if ac_fn_c_try_link "$LINENO"; then :
12185  ac_cv_lib_dl_dlopen=yes
12186else
12187  ac_cv_lib_dl_dlopen=no
12188fi
12189rm -f core conftest.err conftest.$ac_objext \
12190    conftest$ac_exeext conftest.$ac_ext
12191LIBS=$ac_check_lib_save_LIBS
12192fi
12193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12194$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12195if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12196  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12197else
12198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12199$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12200if ${ac_cv_lib_svld_dlopen+:} false; then :
12201  $as_echo_n "(cached) " >&6
12202else
12203  ac_check_lib_save_LIBS=$LIBS
12204LIBS="-lsvld  $LIBS"
12205cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206/* end confdefs.h.  */
12207
12208/* Override any GCC internal prototype to avoid an error.
12209   Use char because int might match the return type of a GCC
12210   builtin and then its argument prototype would still apply.  */
12211#ifdef __cplusplus
12212extern "C"
12213#endif
12214char dlopen ();
12215int
12216main ()
12217{
12218return dlopen ();
12219  ;
12220  return 0;
12221}
12222_ACEOF
12223if ac_fn_c_try_link "$LINENO"; then :
12224  ac_cv_lib_svld_dlopen=yes
12225else
12226  ac_cv_lib_svld_dlopen=no
12227fi
12228rm -f core conftest.err conftest.$ac_objext \
12229    conftest$ac_exeext conftest.$ac_ext
12230LIBS=$ac_check_lib_save_LIBS
12231fi
12232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12233$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12234if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12235  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12236else
12237  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12238$as_echo_n "checking for dld_link in -ldld... " >&6; }
12239if ${ac_cv_lib_dld_dld_link+:} false; then :
12240  $as_echo_n "(cached) " >&6
12241else
12242  ac_check_lib_save_LIBS=$LIBS
12243LIBS="-ldld  $LIBS"
12244cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245/* end confdefs.h.  */
12246
12247/* Override any GCC internal prototype to avoid an error.
12248   Use char because int might match the return type of a GCC
12249   builtin and then its argument prototype would still apply.  */
12250#ifdef __cplusplus
12251extern "C"
12252#endif
12253char dld_link ();
12254int
12255main ()
12256{
12257return dld_link ();
12258  ;
12259  return 0;
12260}
12261_ACEOF
12262if ac_fn_c_try_link "$LINENO"; then :
12263  ac_cv_lib_dld_dld_link=yes
12264else
12265  ac_cv_lib_dld_dld_link=no
12266fi
12267rm -f core conftest.err conftest.$ac_objext \
12268    conftest$ac_exeext conftest.$ac_ext
12269LIBS=$ac_check_lib_save_LIBS
12270fi
12271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12272$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12273if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12274  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12275fi
12276
12277
12278fi
12279
12280
12281fi
12282
12283
12284fi
12285
12286
12287fi
12288
12289
12290fi
12291
12292    ;;
12293  esac
12294
12295  if test no = "$lt_cv_dlopen"; then
12296    enable_dlopen=no
12297  else
12298    enable_dlopen=yes
12299  fi
12300
12301  case $lt_cv_dlopen in
12302  dlopen)
12303    save_CPPFLAGS=$CPPFLAGS
12304    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12305
12306    save_LDFLAGS=$LDFLAGS
12307    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12308
12309    save_LIBS=$LIBS
12310    LIBS="$lt_cv_dlopen_libs $LIBS"
12311
12312    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12313$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12314if ${lt_cv_dlopen_self+:} false; then :
12315  $as_echo_n "(cached) " >&6
12316else
12317  	  if test yes = "$cross_compiling"; then :
12318  lt_cv_dlopen_self=cross
12319else
12320  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12321  lt_status=$lt_dlunknown
12322  cat > conftest.$ac_ext <<_LT_EOF
12323#line $LINENO "configure"
12324#include "confdefs.h"
12325
12326#if HAVE_DLFCN_H
12327#include <dlfcn.h>
12328#endif
12329
12330#include <stdio.h>
12331
12332#ifdef RTLD_GLOBAL
12333#  define LT_DLGLOBAL		RTLD_GLOBAL
12334#else
12335#  ifdef DL_GLOBAL
12336#    define LT_DLGLOBAL		DL_GLOBAL
12337#  else
12338#    define LT_DLGLOBAL		0
12339#  endif
12340#endif
12341
12342/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12343   find out it does not work in some platform. */
12344#ifndef LT_DLLAZY_OR_NOW
12345#  ifdef RTLD_LAZY
12346#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12347#  else
12348#    ifdef DL_LAZY
12349#      define LT_DLLAZY_OR_NOW		DL_LAZY
12350#    else
12351#      ifdef RTLD_NOW
12352#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12353#      else
12354#        ifdef DL_NOW
12355#          define LT_DLLAZY_OR_NOW	DL_NOW
12356#        else
12357#          define LT_DLLAZY_OR_NOW	0
12358#        endif
12359#      endif
12360#    endif
12361#  endif
12362#endif
12363
12364/* When -fvisibility=hidden is used, assume the code has been annotated
12365   correspondingly for the symbols needed.  */
12366#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12367int fnord () __attribute__((visibility("default")));
12368#endif
12369
12370int fnord () { return 42; }
12371int main ()
12372{
12373  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12374  int status = $lt_dlunknown;
12375
12376  if (self)
12377    {
12378      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12379      else
12380        {
12381	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12382          else puts (dlerror ());
12383	}
12384      /* dlclose (self); */
12385    }
12386  else
12387    puts (dlerror ());
12388
12389  return status;
12390}
12391_LT_EOF
12392  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12393  (eval $ac_link) 2>&5
12394  ac_status=$?
12395  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12396  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12397    (./conftest; exit; ) >&5 2>/dev/null
12398    lt_status=$?
12399    case x$lt_status in
12400      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12401      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12402      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12403    esac
12404  else :
12405    # compilation failed
12406    lt_cv_dlopen_self=no
12407  fi
12408fi
12409rm -fr conftest*
12410
12411
12412fi
12413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12414$as_echo "$lt_cv_dlopen_self" >&6; }
12415
12416    if test yes = "$lt_cv_dlopen_self"; then
12417      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12418      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12419$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12420if ${lt_cv_dlopen_self_static+:} false; then :
12421  $as_echo_n "(cached) " >&6
12422else
12423  	  if test yes = "$cross_compiling"; then :
12424  lt_cv_dlopen_self_static=cross
12425else
12426  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12427  lt_status=$lt_dlunknown
12428  cat > conftest.$ac_ext <<_LT_EOF
12429#line $LINENO "configure"
12430#include "confdefs.h"
12431
12432#if HAVE_DLFCN_H
12433#include <dlfcn.h>
12434#endif
12435
12436#include <stdio.h>
12437
12438#ifdef RTLD_GLOBAL
12439#  define LT_DLGLOBAL		RTLD_GLOBAL
12440#else
12441#  ifdef DL_GLOBAL
12442#    define LT_DLGLOBAL		DL_GLOBAL
12443#  else
12444#    define LT_DLGLOBAL		0
12445#  endif
12446#endif
12447
12448/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12449   find out it does not work in some platform. */
12450#ifndef LT_DLLAZY_OR_NOW
12451#  ifdef RTLD_LAZY
12452#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12453#  else
12454#    ifdef DL_LAZY
12455#      define LT_DLLAZY_OR_NOW		DL_LAZY
12456#    else
12457#      ifdef RTLD_NOW
12458#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12459#      else
12460#        ifdef DL_NOW
12461#          define LT_DLLAZY_OR_NOW	DL_NOW
12462#        else
12463#          define LT_DLLAZY_OR_NOW	0
12464#        endif
12465#      endif
12466#    endif
12467#  endif
12468#endif
12469
12470/* When -fvisibility=hidden is used, assume the code has been annotated
12471   correspondingly for the symbols needed.  */
12472#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12473int fnord () __attribute__((visibility("default")));
12474#endif
12475
12476int fnord () { return 42; }
12477int main ()
12478{
12479  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12480  int status = $lt_dlunknown;
12481
12482  if (self)
12483    {
12484      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12485      else
12486        {
12487	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12488          else puts (dlerror ());
12489	}
12490      /* dlclose (self); */
12491    }
12492  else
12493    puts (dlerror ());
12494
12495  return status;
12496}
12497_LT_EOF
12498  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12499  (eval $ac_link) 2>&5
12500  ac_status=$?
12501  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12502  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12503    (./conftest; exit; ) >&5 2>/dev/null
12504    lt_status=$?
12505    case x$lt_status in
12506      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12507      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12508      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12509    esac
12510  else :
12511    # compilation failed
12512    lt_cv_dlopen_self_static=no
12513  fi
12514fi
12515rm -fr conftest*
12516
12517
12518fi
12519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12520$as_echo "$lt_cv_dlopen_self_static" >&6; }
12521    fi
12522
12523    CPPFLAGS=$save_CPPFLAGS
12524    LDFLAGS=$save_LDFLAGS
12525    LIBS=$save_LIBS
12526    ;;
12527  esac
12528
12529  case $lt_cv_dlopen_self in
12530  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12531  *) enable_dlopen_self=unknown ;;
12532  esac
12533
12534  case $lt_cv_dlopen_self_static in
12535  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12536  *) enable_dlopen_self_static=unknown ;;
12537  esac
12538fi
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556striplib=
12557old_striplib=
12558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12559$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12560if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12561  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12562  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12564$as_echo "yes" >&6; }
12565else
12566# FIXME - insert some real tests, host_os isn't really good enough
12567  case $host_os in
12568  darwin*)
12569    if test -n "$STRIP"; then
12570      striplib="$STRIP -x"
12571      old_striplib="$STRIP -S"
12572      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12573$as_echo "yes" >&6; }
12574    else
12575      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12576$as_echo "no" >&6; }
12577    fi
12578    ;;
12579  *)
12580    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12581$as_echo "no" >&6; }
12582    ;;
12583  esac
12584fi
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597  # Report what library types will actually be built
12598  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12599$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12601$as_echo "$can_build_shared" >&6; }
12602
12603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12604$as_echo_n "checking whether to build shared libraries... " >&6; }
12605  test no = "$can_build_shared" && enable_shared=no
12606
12607  # On AIX, shared libraries and static libraries use the same namespace, and
12608  # are all built from PIC.
12609  case $host_os in
12610  aix3*)
12611    test yes = "$enable_shared" && enable_static=no
12612    if test -n "$RANLIB"; then
12613      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12614      postinstall_cmds='$RANLIB $lib'
12615    fi
12616    ;;
12617
12618  aix[4-9]*)
12619    if test ia64 != "$host_cpu"; then
12620      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12621      yes,aix,yes) ;;			# shared object as lib.so file only
12622      yes,svr4,*) ;;			# shared object as lib.so archive member only
12623      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12624      esac
12625    fi
12626    ;;
12627  esac
12628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12629$as_echo "$enable_shared" >&6; }
12630
12631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12632$as_echo_n "checking whether to build static libraries... " >&6; }
12633  # Make sure either enable_shared or enable_static is yes.
12634  test yes = "$enable_shared" || enable_static=yes
12635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12636$as_echo "$enable_static" >&6; }
12637
12638
12639
12640
12641fi
12642ac_ext=c
12643ac_cpp='$CPP $CPPFLAGS'
12644ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12645ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12646ac_compiler_gnu=$ac_cv_c_compiler_gnu
12647
12648CC=$lt_save_CC
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664        ac_config_commands="$ac_config_commands libtool"
12665
12666
12667
12668
12669# Only expand once:
12670
12671
12672ac_ext=c
12673ac_cpp='$CPP $CPPFLAGS'
12674ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12675ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12676ac_compiler_gnu=$ac_cv_c_compiler_gnu
12677if test -n "$ac_tool_prefix"; then
12678  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12679set dummy ${ac_tool_prefix}gcc; ac_word=$2
12680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12681$as_echo_n "checking for $ac_word... " >&6; }
12682if ${ac_cv_prog_CC+:} false; then :
12683  $as_echo_n "(cached) " >&6
12684else
12685  if test -n "$CC"; then
12686  ac_cv_prog_CC="$CC" # Let the user override the test.
12687else
12688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12689for as_dir in $PATH
12690do
12691  IFS=$as_save_IFS
12692  test -z "$as_dir" && as_dir=.
12693    for ac_exec_ext in '' $ac_executable_extensions; do
12694  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12695    ac_cv_prog_CC="${ac_tool_prefix}gcc"
12696    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12697    break 2
12698  fi
12699done
12700  done
12701IFS=$as_save_IFS
12702
12703fi
12704fi
12705CC=$ac_cv_prog_CC
12706if test -n "$CC"; then
12707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12708$as_echo "$CC" >&6; }
12709else
12710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12711$as_echo "no" >&6; }
12712fi
12713
12714
12715fi
12716if test -z "$ac_cv_prog_CC"; then
12717  ac_ct_CC=$CC
12718  # Extract the first word of "gcc", so it can be a program name with args.
12719set dummy gcc; ac_word=$2
12720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12721$as_echo_n "checking for $ac_word... " >&6; }
12722if ${ac_cv_prog_ac_ct_CC+:} false; then :
12723  $as_echo_n "(cached) " >&6
12724else
12725  if test -n "$ac_ct_CC"; then
12726  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12727else
12728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12729for as_dir in $PATH
12730do
12731  IFS=$as_save_IFS
12732  test -z "$as_dir" && as_dir=.
12733    for ac_exec_ext in '' $ac_executable_extensions; do
12734  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12735    ac_cv_prog_ac_ct_CC="gcc"
12736    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12737    break 2
12738  fi
12739done
12740  done
12741IFS=$as_save_IFS
12742
12743fi
12744fi
12745ac_ct_CC=$ac_cv_prog_ac_ct_CC
12746if test -n "$ac_ct_CC"; then
12747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12748$as_echo "$ac_ct_CC" >&6; }
12749else
12750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12751$as_echo "no" >&6; }
12752fi
12753
12754  if test "x$ac_ct_CC" = x; then
12755    CC=""
12756  else
12757    case $cross_compiling:$ac_tool_warned in
12758yes:)
12759{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12760$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12761ac_tool_warned=yes ;;
12762esac
12763    CC=$ac_ct_CC
12764  fi
12765else
12766  CC="$ac_cv_prog_CC"
12767fi
12768
12769if test -z "$CC"; then
12770          if test -n "$ac_tool_prefix"; then
12771    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12772set dummy ${ac_tool_prefix}cc; ac_word=$2
12773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12774$as_echo_n "checking for $ac_word... " >&6; }
12775if ${ac_cv_prog_CC+:} false; then :
12776  $as_echo_n "(cached) " >&6
12777else
12778  if test -n "$CC"; then
12779  ac_cv_prog_CC="$CC" # Let the user override the test.
12780else
12781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12782for as_dir in $PATH
12783do
12784  IFS=$as_save_IFS
12785  test -z "$as_dir" && as_dir=.
12786    for ac_exec_ext in '' $ac_executable_extensions; do
12787  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12788    ac_cv_prog_CC="${ac_tool_prefix}cc"
12789    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12790    break 2
12791  fi
12792done
12793  done
12794IFS=$as_save_IFS
12795
12796fi
12797fi
12798CC=$ac_cv_prog_CC
12799if test -n "$CC"; then
12800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12801$as_echo "$CC" >&6; }
12802else
12803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12804$as_echo "no" >&6; }
12805fi
12806
12807
12808  fi
12809fi
12810if test -z "$CC"; then
12811  # Extract the first word of "cc", so it can be a program name with args.
12812set dummy cc; ac_word=$2
12813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12814$as_echo_n "checking for $ac_word... " >&6; }
12815if ${ac_cv_prog_CC+:} false; then :
12816  $as_echo_n "(cached) " >&6
12817else
12818  if test -n "$CC"; then
12819  ac_cv_prog_CC="$CC" # Let the user override the test.
12820else
12821  ac_prog_rejected=no
12822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12823for as_dir in $PATH
12824do
12825  IFS=$as_save_IFS
12826  test -z "$as_dir" && as_dir=.
12827    for ac_exec_ext in '' $ac_executable_extensions; do
12828  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12829    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12830       ac_prog_rejected=yes
12831       continue
12832     fi
12833    ac_cv_prog_CC="cc"
12834    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12835    break 2
12836  fi
12837done
12838  done
12839IFS=$as_save_IFS
12840
12841if test $ac_prog_rejected = yes; then
12842  # We found a bogon in the path, so make sure we never use it.
12843  set dummy $ac_cv_prog_CC
12844  shift
12845  if test $# != 0; then
12846    # We chose a different compiler from the bogus one.
12847    # However, it has the same basename, so the bogon will be chosen
12848    # first if we set CC to just the basename; use the full file name.
12849    shift
12850    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12851  fi
12852fi
12853fi
12854fi
12855CC=$ac_cv_prog_CC
12856if test -n "$CC"; then
12857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12858$as_echo "$CC" >&6; }
12859else
12860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12861$as_echo "no" >&6; }
12862fi
12863
12864
12865fi
12866if test -z "$CC"; then
12867  if test -n "$ac_tool_prefix"; then
12868  for ac_prog in cl.exe
12869  do
12870    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12871set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12873$as_echo_n "checking for $ac_word... " >&6; }
12874if ${ac_cv_prog_CC+:} false; then :
12875  $as_echo_n "(cached) " >&6
12876else
12877  if test -n "$CC"; then
12878  ac_cv_prog_CC="$CC" # Let the user override the test.
12879else
12880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12881for as_dir in $PATH
12882do
12883  IFS=$as_save_IFS
12884  test -z "$as_dir" && as_dir=.
12885    for ac_exec_ext in '' $ac_executable_extensions; do
12886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12887    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12889    break 2
12890  fi
12891done
12892  done
12893IFS=$as_save_IFS
12894
12895fi
12896fi
12897CC=$ac_cv_prog_CC
12898if test -n "$CC"; then
12899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12900$as_echo "$CC" >&6; }
12901else
12902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12903$as_echo "no" >&6; }
12904fi
12905
12906
12907    test -n "$CC" && break
12908  done
12909fi
12910if test -z "$CC"; then
12911  ac_ct_CC=$CC
12912  for ac_prog in cl.exe
12913do
12914  # Extract the first word of "$ac_prog", so it can be a program name with args.
12915set dummy $ac_prog; ac_word=$2
12916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12917$as_echo_n "checking for $ac_word... " >&6; }
12918if ${ac_cv_prog_ac_ct_CC+:} false; then :
12919  $as_echo_n "(cached) " >&6
12920else
12921  if test -n "$ac_ct_CC"; then
12922  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12923else
12924as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12925for as_dir in $PATH
12926do
12927  IFS=$as_save_IFS
12928  test -z "$as_dir" && as_dir=.
12929    for ac_exec_ext in '' $ac_executable_extensions; do
12930  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12931    ac_cv_prog_ac_ct_CC="$ac_prog"
12932    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12933    break 2
12934  fi
12935done
12936  done
12937IFS=$as_save_IFS
12938
12939fi
12940fi
12941ac_ct_CC=$ac_cv_prog_ac_ct_CC
12942if test -n "$ac_ct_CC"; then
12943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12944$as_echo "$ac_ct_CC" >&6; }
12945else
12946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12947$as_echo "no" >&6; }
12948fi
12949
12950
12951  test -n "$ac_ct_CC" && break
12952done
12953
12954  if test "x$ac_ct_CC" = x; then
12955    CC=""
12956  else
12957    case $cross_compiling:$ac_tool_warned in
12958yes:)
12959{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12960$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12961ac_tool_warned=yes ;;
12962esac
12963    CC=$ac_ct_CC
12964  fi
12965fi
12966
12967fi
12968
12969
12970test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12971$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12972as_fn_error $? "no acceptable C compiler found in \$PATH
12973See \`config.log' for more details" "$LINENO" 5; }
12974
12975# Provide some information about the compiler.
12976$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12977set X $ac_compile
12978ac_compiler=$2
12979for ac_option in --version -v -V -qversion; do
12980  { { ac_try="$ac_compiler $ac_option >&5"
12981case "(($ac_try" in
12982  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12983  *) ac_try_echo=$ac_try;;
12984esac
12985eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12986$as_echo "$ac_try_echo"; } >&5
12987  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12988  ac_status=$?
12989  if test -s conftest.err; then
12990    sed '10a\
12991... rest of stderr output deleted ...
12992         10q' conftest.err >conftest.er1
12993    cat conftest.er1 >&5
12994  fi
12995  rm -f conftest.er1 conftest.err
12996  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12997  test $ac_status = 0; }
12998done
12999
13000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13001$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13002if ${ac_cv_c_compiler_gnu+:} false; then :
13003  $as_echo_n "(cached) " >&6
13004else
13005  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13006/* end confdefs.h.  */
13007
13008int
13009main ()
13010{
13011#ifndef __GNUC__
13012       choke me
13013#endif
13014
13015  ;
13016  return 0;
13017}
13018_ACEOF
13019if ac_fn_c_try_compile "$LINENO"; then :
13020  ac_compiler_gnu=yes
13021else
13022  ac_compiler_gnu=no
13023fi
13024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13025ac_cv_c_compiler_gnu=$ac_compiler_gnu
13026
13027fi
13028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13029$as_echo "$ac_cv_c_compiler_gnu" >&6; }
13030if test $ac_compiler_gnu = yes; then
13031  GCC=yes
13032else
13033  GCC=
13034fi
13035ac_test_CFLAGS=${CFLAGS+set}
13036ac_save_CFLAGS=$CFLAGS
13037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13038$as_echo_n "checking whether $CC accepts -g... " >&6; }
13039if ${ac_cv_prog_cc_g+:} false; then :
13040  $as_echo_n "(cached) " >&6
13041else
13042  ac_save_c_werror_flag=$ac_c_werror_flag
13043   ac_c_werror_flag=yes
13044   ac_cv_prog_cc_g=no
13045   CFLAGS="-g"
13046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13047/* end confdefs.h.  */
13048
13049int
13050main ()
13051{
13052
13053  ;
13054  return 0;
13055}
13056_ACEOF
13057if ac_fn_c_try_compile "$LINENO"; then :
13058  ac_cv_prog_cc_g=yes
13059else
13060  CFLAGS=""
13061      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062/* end confdefs.h.  */
13063
13064int
13065main ()
13066{
13067
13068  ;
13069  return 0;
13070}
13071_ACEOF
13072if ac_fn_c_try_compile "$LINENO"; then :
13073
13074else
13075  ac_c_werror_flag=$ac_save_c_werror_flag
13076	 CFLAGS="-g"
13077	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13078/* end confdefs.h.  */
13079
13080int
13081main ()
13082{
13083
13084  ;
13085  return 0;
13086}
13087_ACEOF
13088if ac_fn_c_try_compile "$LINENO"; then :
13089  ac_cv_prog_cc_g=yes
13090fi
13091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13092fi
13093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13094fi
13095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13096   ac_c_werror_flag=$ac_save_c_werror_flag
13097fi
13098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13099$as_echo "$ac_cv_prog_cc_g" >&6; }
13100if test "$ac_test_CFLAGS" = set; then
13101  CFLAGS=$ac_save_CFLAGS
13102elif test $ac_cv_prog_cc_g = yes; then
13103  if test "$GCC" = yes; then
13104    CFLAGS="-g -O2"
13105  else
13106    CFLAGS="-g"
13107  fi
13108else
13109  if test "$GCC" = yes; then
13110    CFLAGS="-O2"
13111  else
13112    CFLAGS=
13113  fi
13114fi
13115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13116$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13117if ${ac_cv_prog_cc_c89+:} false; then :
13118  $as_echo_n "(cached) " >&6
13119else
13120  ac_cv_prog_cc_c89=no
13121ac_save_CC=$CC
13122cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13123/* end confdefs.h.  */
13124#include <stdarg.h>
13125#include <stdio.h>
13126struct stat;
13127/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13128struct buf { int x; };
13129FILE * (*rcsopen) (struct buf *, struct stat *, int);
13130static char *e (p, i)
13131     char **p;
13132     int i;
13133{
13134  return p[i];
13135}
13136static char *f (char * (*g) (char **, int), char **p, ...)
13137{
13138  char *s;
13139  va_list v;
13140  va_start (v,p);
13141  s = g (p, va_arg (v,int));
13142  va_end (v);
13143  return s;
13144}
13145
13146/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13147   function prototypes and stuff, but not '\xHH' hex character constants.
13148   These don't provoke an error unfortunately, instead are silently treated
13149   as 'x'.  The following induces an error, until -std is added to get
13150   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13151   array size at least.  It's necessary to write '\x00'==0 to get something
13152   that's true only with -std.  */
13153int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13154
13155/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13156   inside strings and character constants.  */
13157#define FOO(x) 'x'
13158int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13159
13160int test (int i, double x);
13161struct s1 {int (*f) (int a);};
13162struct s2 {int (*f) (double a);};
13163int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13164int argc;
13165char **argv;
13166int
13167main ()
13168{
13169return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13170  ;
13171  return 0;
13172}
13173_ACEOF
13174for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13175	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13176do
13177  CC="$ac_save_CC $ac_arg"
13178  if ac_fn_c_try_compile "$LINENO"; then :
13179  ac_cv_prog_cc_c89=$ac_arg
13180fi
13181rm -f core conftest.err conftest.$ac_objext
13182  test "x$ac_cv_prog_cc_c89" != "xno" && break
13183done
13184rm -f conftest.$ac_ext
13185CC=$ac_save_CC
13186
13187fi
13188# AC_CACHE_VAL
13189case "x$ac_cv_prog_cc_c89" in
13190  x)
13191    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13192$as_echo "none needed" >&6; } ;;
13193  xno)
13194    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13195$as_echo "unsupported" >&6; } ;;
13196  *)
13197    CC="$CC $ac_cv_prog_cc_c89"
13198    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13199$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13200esac
13201if test "x$ac_cv_prog_cc_c89" != xno; then :
13202
13203fi
13204
13205ac_ext=c
13206ac_cpp='$CPP $CPPFLAGS'
13207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13209ac_compiler_gnu=$ac_cv_c_compiler_gnu
13210
13211ac_ext=c
13212ac_cpp='$CPP $CPPFLAGS'
13213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13215ac_compiler_gnu=$ac_cv_c_compiler_gnu
13216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13217$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13218if ${am_cv_prog_cc_c_o+:} false; then :
13219  $as_echo_n "(cached) " >&6
13220else
13221  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13222/* end confdefs.h.  */
13223
13224int
13225main ()
13226{
13227
13228  ;
13229  return 0;
13230}
13231_ACEOF
13232  # Make sure it works both with $CC and with simple cc.
13233  # Following AC_PROG_CC_C_O, we do the test twice because some
13234  # compilers refuse to overwrite an existing .o file with -o,
13235  # though they will create one.
13236  am_cv_prog_cc_c_o=yes
13237  for am_i in 1 2; do
13238    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13239   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13240   ac_status=$?
13241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242   (exit $ac_status); } \
13243         && test -f conftest2.$ac_objext; then
13244      : OK
13245    else
13246      am_cv_prog_cc_c_o=no
13247      break
13248    fi
13249  done
13250  rm -f core conftest*
13251  unset am_i
13252fi
13253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13254$as_echo "$am_cv_prog_cc_c_o" >&6; }
13255if test "$am_cv_prog_cc_c_o" != yes; then
13256   # Losing compiler, so override with the script.
13257   # FIXME: It is wrong to rewrite CC.
13258   # But if we don't then we get into trouble of one sort or another.
13259   # A longer-term fix would be to have automake use am__CC in this case,
13260   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13261   CC="$am_aux_dir/compile $CC"
13262fi
13263ac_ext=c
13264ac_cpp='$CPP $CPPFLAGS'
13265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13267ac_compiler_gnu=$ac_cv_c_compiler_gnu
13268
13269
13270depcc="$CC"   am_compiler_list=
13271
13272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13273$as_echo_n "checking dependency style of $depcc... " >&6; }
13274if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13275  $as_echo_n "(cached) " >&6
13276else
13277  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13278  # We make a subdir and do the tests there.  Otherwise we can end up
13279  # making bogus files that we don't know about and never remove.  For
13280  # instance it was reported that on HP-UX the gcc test will end up
13281  # making a dummy file named 'D' -- because '-MD' means "put the output
13282  # in D".
13283  rm -rf conftest.dir
13284  mkdir conftest.dir
13285  # Copy depcomp to subdir because otherwise we won't find it if we're
13286  # using a relative directory.
13287  cp "$am_depcomp" conftest.dir
13288  cd conftest.dir
13289  # We will build objects and dependencies in a subdirectory because
13290  # it helps to detect inapplicable dependency modes.  For instance
13291  # both Tru64's cc and ICC support -MD to output dependencies as a
13292  # side effect of compilation, but ICC will put the dependencies in
13293  # the current directory while Tru64 will put them in the object
13294  # directory.
13295  mkdir sub
13296
13297  am_cv_CC_dependencies_compiler_type=none
13298  if test "$am_compiler_list" = ""; then
13299     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13300  fi
13301  am__universal=false
13302  case " $depcc " in #(
13303     *\ -arch\ *\ -arch\ *) am__universal=true ;;
13304     esac
13305
13306  for depmode in $am_compiler_list; do
13307    # Setup a source with many dependencies, because some compilers
13308    # like to wrap large dependency lists on column 80 (with \), and
13309    # we should not choose a depcomp mode which is confused by this.
13310    #
13311    # We need to recreate these files for each test, as the compiler may
13312    # overwrite some of them when testing with obscure command lines.
13313    # This happens at least with the AIX C compiler.
13314    : > sub/conftest.c
13315    for i in 1 2 3 4 5 6; do
13316      echo '#include "conftst'$i'.h"' >> sub/conftest.c
13317      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13318      # Solaris 10 /bin/sh.
13319      echo '/* dummy */' > sub/conftst$i.h
13320    done
13321    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13322
13323    # We check with '-c' and '-o' for the sake of the "dashmstdout"
13324    # mode.  It turns out that the SunPro C++ compiler does not properly
13325    # handle '-M -o', and we need to detect this.  Also, some Intel
13326    # versions had trouble with output in subdirs.
13327    am__obj=sub/conftest.${OBJEXT-o}
13328    am__minus_obj="-o $am__obj"
13329    case $depmode in
13330    gcc)
13331      # This depmode causes a compiler race in universal mode.
13332      test "$am__universal" = false || continue
13333      ;;
13334    nosideeffect)
13335      # After this tag, mechanisms are not by side-effect, so they'll
13336      # only be used when explicitly requested.
13337      if test "x$enable_dependency_tracking" = xyes; then
13338	continue
13339      else
13340	break
13341      fi
13342      ;;
13343    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13344      # This compiler won't grok '-c -o', but also, the minuso test has
13345      # not run yet.  These depmodes are late enough in the game, and
13346      # so weak that their functioning should not be impacted.
13347      am__obj=conftest.${OBJEXT-o}
13348      am__minus_obj=
13349      ;;
13350    none) break ;;
13351    esac
13352    if depmode=$depmode \
13353       source=sub/conftest.c object=$am__obj \
13354       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13355       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13356         >/dev/null 2>conftest.err &&
13357       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13358       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13359       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13360       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13361      # icc doesn't choke on unknown options, it will just issue warnings
13362      # or remarks (even with -Werror).  So we grep stderr for any message
13363      # that says an option was ignored or not supported.
13364      # When given -MP, icc 7.0 and 7.1 complain thusly:
13365      #   icc: Command line warning: ignoring option '-M'; no argument required
13366      # The diagnosis changed in icc 8.0:
13367      #   icc: Command line remark: option '-MP' not supported
13368      if (grep 'ignoring option' conftest.err ||
13369          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13370        am_cv_CC_dependencies_compiler_type=$depmode
13371        break
13372      fi
13373    fi
13374  done
13375
13376  cd ..
13377  rm -rf conftest.dir
13378else
13379  am_cv_CC_dependencies_compiler_type=none
13380fi
13381
13382fi
13383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13384$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13385CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13386
13387 if
13388  test "x$enable_dependency_tracking" != xno \
13389  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13390  am__fastdepCC_TRUE=
13391  am__fastdepCC_FALSE='#'
13392else
13393  am__fastdepCC_TRUE='#'
13394  am__fastdepCC_FALSE=
13395fi
13396
13397
13398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
13399$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
13400if ${ac_cv_prog_cc_c99+:} false; then :
13401  $as_echo_n "(cached) " >&6
13402else
13403  ac_cv_prog_cc_c99=no
13404ac_save_CC=$CC
13405cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13406/* end confdefs.h.  */
13407#include <stdarg.h>
13408#include <stdbool.h>
13409#include <stdlib.h>
13410#include <wchar.h>
13411#include <stdio.h>
13412
13413// Check varargs macros.  These examples are taken from C99 6.10.3.5.
13414#define debug(...) fprintf (stderr, __VA_ARGS__)
13415#define showlist(...) puts (#__VA_ARGS__)
13416#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
13417static void
13418test_varargs_macros (void)
13419{
13420  int x = 1234;
13421  int y = 5678;
13422  debug ("Flag");
13423  debug ("X = %d\n", x);
13424  showlist (The first, second, and third items.);
13425  report (x>y, "x is %d but y is %d", x, y);
13426}
13427
13428// Check long long types.
13429#define BIG64 18446744073709551615ull
13430#define BIG32 4294967295ul
13431#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
13432#if !BIG_OK
13433  your preprocessor is broken;
13434#endif
13435#if BIG_OK
13436#else
13437  your preprocessor is broken;
13438#endif
13439static long long int bignum = -9223372036854775807LL;
13440static unsigned long long int ubignum = BIG64;
13441
13442struct incomplete_array
13443{
13444  int datasize;
13445  double data[];
13446};
13447
13448struct named_init {
13449  int number;
13450  const wchar_t *name;
13451  double average;
13452};
13453
13454typedef const char *ccp;
13455
13456static inline int
13457test_restrict (ccp restrict text)
13458{
13459  // See if C++-style comments work.
13460  // Iterate through items via the restricted pointer.
13461  // Also check for declarations in for loops.
13462  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
13463    continue;
13464  return 0;
13465}
13466
13467// Check varargs and va_copy.
13468static void
13469test_varargs (const char *format, ...)
13470{
13471  va_list args;
13472  va_start (args, format);
13473  va_list args_copy;
13474  va_copy (args_copy, args);
13475
13476  const char *str;
13477  int number;
13478  float fnumber;
13479
13480  while (*format)
13481    {
13482      switch (*format++)
13483	{
13484	case 's': // string
13485	  str = va_arg (args_copy, const char *);
13486	  break;
13487	case 'd': // int
13488	  number = va_arg (args_copy, int);
13489	  break;
13490	case 'f': // float
13491	  fnumber = va_arg (args_copy, double);
13492	  break;
13493	default:
13494	  break;
13495	}
13496    }
13497  va_end (args_copy);
13498  va_end (args);
13499}
13500
13501int
13502main ()
13503{
13504
13505  // Check bool.
13506  _Bool success = false;
13507
13508  // Check restrict.
13509  if (test_restrict ("String literal") == 0)
13510    success = true;
13511  char *restrict newvar = "Another string";
13512
13513  // Check varargs.
13514  test_varargs ("s, d' f .", "string", 65, 34.234);
13515  test_varargs_macros ();
13516
13517  // Check flexible array members.
13518  struct incomplete_array *ia =
13519    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
13520  ia->datasize = 10;
13521  for (int i = 0; i < ia->datasize; ++i)
13522    ia->data[i] = i * 1.234;
13523
13524  // Check named initializers.
13525  struct named_init ni = {
13526    .number = 34,
13527    .name = L"Test wide string",
13528    .average = 543.34343,
13529  };
13530
13531  ni.number = 58;
13532
13533  int dynamic_array[ni.number];
13534  dynamic_array[ni.number - 1] = 543;
13535
13536  // work around unused variable warnings
13537  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
13538	  || dynamic_array[ni.number - 1] != 543);
13539
13540  ;
13541  return 0;
13542}
13543_ACEOF
13544for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
13545do
13546  CC="$ac_save_CC $ac_arg"
13547  if ac_fn_c_try_compile "$LINENO"; then :
13548  ac_cv_prog_cc_c99=$ac_arg
13549fi
13550rm -f core conftest.err conftest.$ac_objext
13551  test "x$ac_cv_prog_cc_c99" != "xno" && break
13552done
13553rm -f conftest.$ac_ext
13554CC=$ac_save_CC
13555
13556fi
13557# AC_CACHE_VAL
13558case "x$ac_cv_prog_cc_c99" in
13559  x)
13560    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13561$as_echo "none needed" >&6; } ;;
13562  xno)
13563    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13564$as_echo "unsupported" >&6; } ;;
13565  *)
13566    CC="$CC $ac_cv_prog_cc_c99"
13567    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
13568$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
13569esac
13570if test "x$ac_cv_prog_cc_c99" != xno; then :
13571
13572fi
13573
13574
13575
13576
13577ac_ext=cpp
13578ac_cpp='$CXXCPP $CPPFLAGS'
13579ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13580ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13581ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13582if test -z "$CXX"; then
13583  if test -n "$CCC"; then
13584    CXX=$CCC
13585  else
13586    if test -n "$ac_tool_prefix"; then
13587  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13588  do
13589    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13590set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13592$as_echo_n "checking for $ac_word... " >&6; }
13593if ${ac_cv_prog_CXX+:} false; then :
13594  $as_echo_n "(cached) " >&6
13595else
13596  if test -n "$CXX"; then
13597  ac_cv_prog_CXX="$CXX" # Let the user override the test.
13598else
13599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13600for as_dir in $PATH
13601do
13602  IFS=$as_save_IFS
13603  test -z "$as_dir" && as_dir=.
13604    for ac_exec_ext in '' $ac_executable_extensions; do
13605  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13606    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13607    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13608    break 2
13609  fi
13610done
13611  done
13612IFS=$as_save_IFS
13613
13614fi
13615fi
13616CXX=$ac_cv_prog_CXX
13617if test -n "$CXX"; then
13618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13619$as_echo "$CXX" >&6; }
13620else
13621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13622$as_echo "no" >&6; }
13623fi
13624
13625
13626    test -n "$CXX" && break
13627  done
13628fi
13629if test -z "$CXX"; then
13630  ac_ct_CXX=$CXX
13631  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13632do
13633  # Extract the first word of "$ac_prog", so it can be a program name with args.
13634set dummy $ac_prog; ac_word=$2
13635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13636$as_echo_n "checking for $ac_word... " >&6; }
13637if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13638  $as_echo_n "(cached) " >&6
13639else
13640  if test -n "$ac_ct_CXX"; then
13641  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13642else
13643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13644for as_dir in $PATH
13645do
13646  IFS=$as_save_IFS
13647  test -z "$as_dir" && as_dir=.
13648    for ac_exec_ext in '' $ac_executable_extensions; do
13649  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13650    ac_cv_prog_ac_ct_CXX="$ac_prog"
13651    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13652    break 2
13653  fi
13654done
13655  done
13656IFS=$as_save_IFS
13657
13658fi
13659fi
13660ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13661if test -n "$ac_ct_CXX"; then
13662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13663$as_echo "$ac_ct_CXX" >&6; }
13664else
13665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13666$as_echo "no" >&6; }
13667fi
13668
13669
13670  test -n "$ac_ct_CXX" && break
13671done
13672
13673  if test "x$ac_ct_CXX" = x; then
13674    CXX="g++"
13675  else
13676    case $cross_compiling:$ac_tool_warned in
13677yes:)
13678{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13679$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13680ac_tool_warned=yes ;;
13681esac
13682    CXX=$ac_ct_CXX
13683  fi
13684fi
13685
13686  fi
13687fi
13688# Provide some information about the compiler.
13689$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13690set X $ac_compile
13691ac_compiler=$2
13692for ac_option in --version -v -V -qversion; do
13693  { { ac_try="$ac_compiler $ac_option >&5"
13694case "(($ac_try" in
13695  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13696  *) ac_try_echo=$ac_try;;
13697esac
13698eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13699$as_echo "$ac_try_echo"; } >&5
13700  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13701  ac_status=$?
13702  if test -s conftest.err; then
13703    sed '10a\
13704... rest of stderr output deleted ...
13705         10q' conftest.err >conftest.er1
13706    cat conftest.er1 >&5
13707  fi
13708  rm -f conftest.er1 conftest.err
13709  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13710  test $ac_status = 0; }
13711done
13712
13713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13714$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13715if ${ac_cv_cxx_compiler_gnu+:} false; then :
13716  $as_echo_n "(cached) " >&6
13717else
13718  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13719/* end confdefs.h.  */
13720
13721int
13722main ()
13723{
13724#ifndef __GNUC__
13725       choke me
13726#endif
13727
13728  ;
13729  return 0;
13730}
13731_ACEOF
13732if ac_fn_cxx_try_compile "$LINENO"; then :
13733  ac_compiler_gnu=yes
13734else
13735  ac_compiler_gnu=no
13736fi
13737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13738ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13739
13740fi
13741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13742$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13743if test $ac_compiler_gnu = yes; then
13744  GXX=yes
13745else
13746  GXX=
13747fi
13748ac_test_CXXFLAGS=${CXXFLAGS+set}
13749ac_save_CXXFLAGS=$CXXFLAGS
13750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13751$as_echo_n "checking whether $CXX accepts -g... " >&6; }
13752if ${ac_cv_prog_cxx_g+:} false; then :
13753  $as_echo_n "(cached) " >&6
13754else
13755  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13756   ac_cxx_werror_flag=yes
13757   ac_cv_prog_cxx_g=no
13758   CXXFLAGS="-g"
13759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760/* end confdefs.h.  */
13761
13762int
13763main ()
13764{
13765
13766  ;
13767  return 0;
13768}
13769_ACEOF
13770if ac_fn_cxx_try_compile "$LINENO"; then :
13771  ac_cv_prog_cxx_g=yes
13772else
13773  CXXFLAGS=""
13774      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13775/* end confdefs.h.  */
13776
13777int
13778main ()
13779{
13780
13781  ;
13782  return 0;
13783}
13784_ACEOF
13785if ac_fn_cxx_try_compile "$LINENO"; then :
13786
13787else
13788  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13789	 CXXFLAGS="-g"
13790	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13791/* end confdefs.h.  */
13792
13793int
13794main ()
13795{
13796
13797  ;
13798  return 0;
13799}
13800_ACEOF
13801if ac_fn_cxx_try_compile "$LINENO"; then :
13802  ac_cv_prog_cxx_g=yes
13803fi
13804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13805fi
13806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13807fi
13808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13809   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13810fi
13811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13812$as_echo "$ac_cv_prog_cxx_g" >&6; }
13813if test "$ac_test_CXXFLAGS" = set; then
13814  CXXFLAGS=$ac_save_CXXFLAGS
13815elif test $ac_cv_prog_cxx_g = yes; then
13816  if test "$GXX" = yes; then
13817    CXXFLAGS="-g -O2"
13818  else
13819    CXXFLAGS="-g"
13820  fi
13821else
13822  if test "$GXX" = yes; then
13823    CXXFLAGS="-O2"
13824  else
13825    CXXFLAGS=
13826  fi
13827fi
13828ac_ext=c
13829ac_cpp='$CPP $CPPFLAGS'
13830ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13831ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13832ac_compiler_gnu=$ac_cv_c_compiler_gnu
13833
13834depcc="$CXX"  am_compiler_list=
13835
13836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13837$as_echo_n "checking dependency style of $depcc... " >&6; }
13838if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13839  $as_echo_n "(cached) " >&6
13840else
13841  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13842  # We make a subdir and do the tests there.  Otherwise we can end up
13843  # making bogus files that we don't know about and never remove.  For
13844  # instance it was reported that on HP-UX the gcc test will end up
13845  # making a dummy file named 'D' -- because '-MD' means "put the output
13846  # in D".
13847  rm -rf conftest.dir
13848  mkdir conftest.dir
13849  # Copy depcomp to subdir because otherwise we won't find it if we're
13850  # using a relative directory.
13851  cp "$am_depcomp" conftest.dir
13852  cd conftest.dir
13853  # We will build objects and dependencies in a subdirectory because
13854  # it helps to detect inapplicable dependency modes.  For instance
13855  # both Tru64's cc and ICC support -MD to output dependencies as a
13856  # side effect of compilation, but ICC will put the dependencies in
13857  # the current directory while Tru64 will put them in the object
13858  # directory.
13859  mkdir sub
13860
13861  am_cv_CXX_dependencies_compiler_type=none
13862  if test "$am_compiler_list" = ""; then
13863     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13864  fi
13865  am__universal=false
13866  case " $depcc " in #(
13867     *\ -arch\ *\ -arch\ *) am__universal=true ;;
13868     esac
13869
13870  for depmode in $am_compiler_list; do
13871    # Setup a source with many dependencies, because some compilers
13872    # like to wrap large dependency lists on column 80 (with \), and
13873    # we should not choose a depcomp mode which is confused by this.
13874    #
13875    # We need to recreate these files for each test, as the compiler may
13876    # overwrite some of them when testing with obscure command lines.
13877    # This happens at least with the AIX C compiler.
13878    : > sub/conftest.c
13879    for i in 1 2 3 4 5 6; do
13880      echo '#include "conftst'$i'.h"' >> sub/conftest.c
13881      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13882      # Solaris 10 /bin/sh.
13883      echo '/* dummy */' > sub/conftst$i.h
13884    done
13885    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13886
13887    # We check with '-c' and '-o' for the sake of the "dashmstdout"
13888    # mode.  It turns out that the SunPro C++ compiler does not properly
13889    # handle '-M -o', and we need to detect this.  Also, some Intel
13890    # versions had trouble with output in subdirs.
13891    am__obj=sub/conftest.${OBJEXT-o}
13892    am__minus_obj="-o $am__obj"
13893    case $depmode in
13894    gcc)
13895      # This depmode causes a compiler race in universal mode.
13896      test "$am__universal" = false || continue
13897      ;;
13898    nosideeffect)
13899      # After this tag, mechanisms are not by side-effect, so they'll
13900      # only be used when explicitly requested.
13901      if test "x$enable_dependency_tracking" = xyes; then
13902	continue
13903      else
13904	break
13905      fi
13906      ;;
13907    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13908      # This compiler won't grok '-c -o', but also, the minuso test has
13909      # not run yet.  These depmodes are late enough in the game, and
13910      # so weak that their functioning should not be impacted.
13911      am__obj=conftest.${OBJEXT-o}
13912      am__minus_obj=
13913      ;;
13914    none) break ;;
13915    esac
13916    if depmode=$depmode \
13917       source=sub/conftest.c object=$am__obj \
13918       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13919       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13920         >/dev/null 2>conftest.err &&
13921       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13922       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13923       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13924       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13925      # icc doesn't choke on unknown options, it will just issue warnings
13926      # or remarks (even with -Werror).  So we grep stderr for any message
13927      # that says an option was ignored or not supported.
13928      # When given -MP, icc 7.0 and 7.1 complain thusly:
13929      #   icc: Command line warning: ignoring option '-M'; no argument required
13930      # The diagnosis changed in icc 8.0:
13931      #   icc: Command line remark: option '-MP' not supported
13932      if (grep 'ignoring option' conftest.err ||
13933          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13934        am_cv_CXX_dependencies_compiler_type=$depmode
13935        break
13936      fi
13937    fi
13938  done
13939
13940  cd ..
13941  rm -rf conftest.dir
13942else
13943  am_cv_CXX_dependencies_compiler_type=none
13944fi
13945
13946fi
13947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13948$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13949CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13950
13951 if
13952  test "x$enable_dependency_tracking" != xno \
13953  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13954  am__fastdepCXX_TRUE=
13955  am__fastdepCXX_FALSE='#'
13956else
13957  am__fastdepCXX_TRUE='#'
13958  am__fastdepCXX_FALSE=
13959fi
13960
13961
13962
13963
13964func_stripname_cnf ()
13965{
13966  case $2 in
13967  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
13968  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
13969  esac
13970} # func_stripname_cnf
13971
13972      if test -n "$CXX" && ( test no != "$CXX" &&
13973    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13974    (test g++ != "$CXX"))); then
13975  ac_ext=cpp
13976ac_cpp='$CXXCPP $CPPFLAGS'
13977ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13978ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13979ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13981$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13982if test -z "$CXXCPP"; then
13983  if ${ac_cv_prog_CXXCPP+:} false; then :
13984  $as_echo_n "(cached) " >&6
13985else
13986      # Double quotes because CXXCPP needs to be expanded
13987    for CXXCPP in "$CXX -E" "/lib/cpp"
13988    do
13989      ac_preproc_ok=false
13990for ac_cxx_preproc_warn_flag in '' yes
13991do
13992  # Use a header file that comes with gcc, so configuring glibc
13993  # with a fresh cross-compiler works.
13994  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13995  # <limits.h> exists even on freestanding compilers.
13996  # On the NeXT, cc -E runs the code through the compiler's parser,
13997  # not just through cpp. "Syntax error" is here to catch this case.
13998  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13999/* end confdefs.h.  */
14000#ifdef __STDC__
14001# include <limits.h>
14002#else
14003# include <assert.h>
14004#endif
14005		     Syntax error
14006_ACEOF
14007if ac_fn_cxx_try_cpp "$LINENO"; then :
14008
14009else
14010  # Broken: fails on valid input.
14011continue
14012fi
14013rm -f conftest.err conftest.i conftest.$ac_ext
14014
14015  # OK, works on sane cases.  Now check whether nonexistent headers
14016  # can be detected and how.
14017  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14018/* end confdefs.h.  */
14019#include <ac_nonexistent.h>
14020_ACEOF
14021if ac_fn_cxx_try_cpp "$LINENO"; then :
14022  # Broken: success on invalid input.
14023continue
14024else
14025  # Passes both tests.
14026ac_preproc_ok=:
14027break
14028fi
14029rm -f conftest.err conftest.i conftest.$ac_ext
14030
14031done
14032# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14033rm -f conftest.i conftest.err conftest.$ac_ext
14034if $ac_preproc_ok; then :
14035  break
14036fi
14037
14038    done
14039    ac_cv_prog_CXXCPP=$CXXCPP
14040
14041fi
14042  CXXCPP=$ac_cv_prog_CXXCPP
14043else
14044  ac_cv_prog_CXXCPP=$CXXCPP
14045fi
14046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14047$as_echo "$CXXCPP" >&6; }
14048ac_preproc_ok=false
14049for ac_cxx_preproc_warn_flag in '' yes
14050do
14051  # Use a header file that comes with gcc, so configuring glibc
14052  # with a fresh cross-compiler works.
14053  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14054  # <limits.h> exists even on freestanding compilers.
14055  # On the NeXT, cc -E runs the code through the compiler's parser,
14056  # not just through cpp. "Syntax error" is here to catch this case.
14057  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14058/* end confdefs.h.  */
14059#ifdef __STDC__
14060# include <limits.h>
14061#else
14062# include <assert.h>
14063#endif
14064		     Syntax error
14065_ACEOF
14066if ac_fn_cxx_try_cpp "$LINENO"; then :
14067
14068else
14069  # Broken: fails on valid input.
14070continue
14071fi
14072rm -f conftest.err conftest.i conftest.$ac_ext
14073
14074  # OK, works on sane cases.  Now check whether nonexistent headers
14075  # can be detected and how.
14076  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14077/* end confdefs.h.  */
14078#include <ac_nonexistent.h>
14079_ACEOF
14080if ac_fn_cxx_try_cpp "$LINENO"; then :
14081  # Broken: success on invalid input.
14082continue
14083else
14084  # Passes both tests.
14085ac_preproc_ok=:
14086break
14087fi
14088rm -f conftest.err conftest.i conftest.$ac_ext
14089
14090done
14091# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14092rm -f conftest.i conftest.err conftest.$ac_ext
14093if $ac_preproc_ok; then :
14094
14095else
14096  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14097$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14098as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14099See \`config.log' for more details" "$LINENO" 5; }
14100fi
14101
14102ac_ext=c
14103ac_cpp='$CPP $CPPFLAGS'
14104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14106ac_compiler_gnu=$ac_cv_c_compiler_gnu
14107
14108else
14109  _lt_caught_CXX_error=yes
14110fi
14111
14112ac_ext=cpp
14113ac_cpp='$CXXCPP $CPPFLAGS'
14114ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14115ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14116ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14117
14118archive_cmds_need_lc_CXX=no
14119allow_undefined_flag_CXX=
14120always_export_symbols_CXX=no
14121archive_expsym_cmds_CXX=
14122compiler_needs_object_CXX=no
14123export_dynamic_flag_spec_CXX=
14124hardcode_direct_CXX=no
14125hardcode_direct_absolute_CXX=no
14126hardcode_libdir_flag_spec_CXX=
14127hardcode_libdir_separator_CXX=
14128hardcode_minus_L_CXX=no
14129hardcode_shlibpath_var_CXX=unsupported
14130hardcode_automatic_CXX=no
14131inherit_rpath_CXX=no
14132module_cmds_CXX=
14133module_expsym_cmds_CXX=
14134link_all_deplibs_CXX=unknown
14135old_archive_cmds_CXX=$old_archive_cmds
14136reload_flag_CXX=$reload_flag
14137reload_cmds_CXX=$reload_cmds
14138no_undefined_flag_CXX=
14139whole_archive_flag_spec_CXX=
14140enable_shared_with_static_runtimes_CXX=no
14141
14142# Source file extension for C++ test sources.
14143ac_ext=cpp
14144
14145# Object file extension for compiled C++ test sources.
14146objext=o
14147objext_CXX=$objext
14148
14149# No sense in running all these tests if we already determined that
14150# the CXX compiler isn't working.  Some variables (like enable_shared)
14151# are currently assumed to apply to all compilers on this platform,
14152# and will be corrupted by setting them based on a non-working compiler.
14153if test yes != "$_lt_caught_CXX_error"; then
14154  # Code to be used in simple compile tests
14155  lt_simple_compile_test_code="int some_variable = 0;"
14156
14157  # Code to be used in simple link tests
14158  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14159
14160  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14161
14162
14163
14164
14165
14166
14167# If no C compiler was specified, use CC.
14168LTCC=${LTCC-"$CC"}
14169
14170# If no C compiler flags were specified, use CFLAGS.
14171LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14172
14173# Allow CC to be a program name with arguments.
14174compiler=$CC
14175
14176
14177  # save warnings/boilerplate of simple test code
14178  ac_outfile=conftest.$ac_objext
14179echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14180eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14181_lt_compiler_boilerplate=`cat conftest.err`
14182$RM conftest*
14183
14184  ac_outfile=conftest.$ac_objext
14185echo "$lt_simple_link_test_code" >conftest.$ac_ext
14186eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14187_lt_linker_boilerplate=`cat conftest.err`
14188$RM -r conftest*
14189
14190
14191  # Allow CC to be a program name with arguments.
14192  lt_save_CC=$CC
14193  lt_save_CFLAGS=$CFLAGS
14194  lt_save_LD=$LD
14195  lt_save_GCC=$GCC
14196  GCC=$GXX
14197  lt_save_with_gnu_ld=$with_gnu_ld
14198  lt_save_path_LD=$lt_cv_path_LD
14199  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14200    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14201  else
14202    $as_unset lt_cv_prog_gnu_ld
14203  fi
14204  if test -n "${lt_cv_path_LDCXX+set}"; then
14205    lt_cv_path_LD=$lt_cv_path_LDCXX
14206  else
14207    $as_unset lt_cv_path_LD
14208  fi
14209  test -z "${LDCXX+set}" || LD=$LDCXX
14210  CC=${CXX-"c++"}
14211  CFLAGS=$CXXFLAGS
14212  compiler=$CC
14213  compiler_CXX=$CC
14214  func_cc_basename $compiler
14215cc_basename=$func_cc_basename_result
14216
14217
14218  if test -n "$compiler"; then
14219    # We don't want -fno-exception when compiling C++ code, so set the
14220    # no_builtin_flag separately
14221    if test yes = "$GXX"; then
14222      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14223    else
14224      lt_prog_compiler_no_builtin_flag_CXX=
14225    fi
14226
14227    if test yes = "$GXX"; then
14228      # Set up default GNU C++ configuration
14229
14230
14231
14232# Check whether --with-gnu-ld was given.
14233if test "${with_gnu_ld+set}" = set; then :
14234  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14235else
14236  with_gnu_ld=no
14237fi
14238
14239ac_prog=ld
14240if test yes = "$GCC"; then
14241  # Check if gcc -print-prog-name=ld gives a path.
14242  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14243$as_echo_n "checking for ld used by $CC... " >&6; }
14244  case $host in
14245  *-*-mingw*)
14246    # gcc leaves a trailing carriage return, which upsets mingw
14247    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14248  *)
14249    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14250  esac
14251  case $ac_prog in
14252    # Accept absolute paths.
14253    [\\/]* | ?:[\\/]*)
14254      re_direlt='/[^/][^/]*/\.\./'
14255      # Canonicalize the pathname of ld
14256      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14257      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14258	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14259      done
14260      test -z "$LD" && LD=$ac_prog
14261      ;;
14262  "")
14263    # If it fails, then pretend we aren't using GCC.
14264    ac_prog=ld
14265    ;;
14266  *)
14267    # If it is relative, then search for the first ld in PATH.
14268    with_gnu_ld=unknown
14269    ;;
14270  esac
14271elif test yes = "$with_gnu_ld"; then
14272  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14273$as_echo_n "checking for GNU ld... " >&6; }
14274else
14275  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14276$as_echo_n "checking for non-GNU ld... " >&6; }
14277fi
14278if ${lt_cv_path_LD+:} false; then :
14279  $as_echo_n "(cached) " >&6
14280else
14281  if test -z "$LD"; then
14282  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14283  for ac_dir in $PATH; do
14284    IFS=$lt_save_ifs
14285    test -z "$ac_dir" && ac_dir=.
14286    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14287      lt_cv_path_LD=$ac_dir/$ac_prog
14288      # Check to see if the program is GNU ld.  I'd rather use --version,
14289      # but apparently some variants of GNU ld only accept -v.
14290      # Break only if it was the GNU/non-GNU ld that we prefer.
14291      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14292      *GNU* | *'with BFD'*)
14293	test no != "$with_gnu_ld" && break
14294	;;
14295      *)
14296	test yes != "$with_gnu_ld" && break
14297	;;
14298      esac
14299    fi
14300  done
14301  IFS=$lt_save_ifs
14302else
14303  lt_cv_path_LD=$LD # Let the user override the test with a path.
14304fi
14305fi
14306
14307LD=$lt_cv_path_LD
14308if test -n "$LD"; then
14309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14310$as_echo "$LD" >&6; }
14311else
14312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14313$as_echo "no" >&6; }
14314fi
14315test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14317$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14318if ${lt_cv_prog_gnu_ld+:} false; then :
14319  $as_echo_n "(cached) " >&6
14320else
14321  # I'd rather use --version here, but apparently some GNU lds only accept -v.
14322case `$LD -v 2>&1 </dev/null` in
14323*GNU* | *'with BFD'*)
14324  lt_cv_prog_gnu_ld=yes
14325  ;;
14326*)
14327  lt_cv_prog_gnu_ld=no
14328  ;;
14329esac
14330fi
14331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14332$as_echo "$lt_cv_prog_gnu_ld" >&6; }
14333with_gnu_ld=$lt_cv_prog_gnu_ld
14334
14335
14336
14337
14338
14339
14340
14341      # Check if GNU C++ uses GNU ld as the underlying linker, since the
14342      # archiving commands below assume that GNU ld is being used.
14343      if test yes = "$with_gnu_ld"; then
14344        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14345        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'
14346
14347        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14348        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14349
14350        # If archive_cmds runs LD, not CC, wlarc should be empty
14351        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14352        #     investigate it a little bit more. (MM)
14353        wlarc='$wl'
14354
14355        # ancient GNU ld didn't support --whole-archive et. al.
14356        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14357	  $GREP 'no-whole-archive' > /dev/null; then
14358          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14359        else
14360          whole_archive_flag_spec_CXX=
14361        fi
14362      else
14363        with_gnu_ld=no
14364        wlarc=
14365
14366        # A generic and very simple default shared library creation
14367        # command for GNU C++ for the case where it uses the native
14368        # linker, instead of GNU ld.  If possible, this setting should
14369        # overridden to take advantage of the native linker features on
14370        # the platform it is being used on.
14371        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14372      fi
14373
14374      # Commands to make compiler produce verbose output that lists
14375      # what "hidden" libraries, object files and flags are used when
14376      # linking a shared library.
14377      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14378
14379    else
14380      GXX=no
14381      with_gnu_ld=no
14382      wlarc=
14383    fi
14384
14385    # PORTME: fill in a description of your system's C++ link characteristics
14386    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14387$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14388    ld_shlibs_CXX=yes
14389    case $host_os in
14390      aix3*)
14391        # FIXME: insert proper C++ library support
14392        ld_shlibs_CXX=no
14393        ;;
14394      aix[4-9]*)
14395        if test ia64 = "$host_cpu"; then
14396          # On IA64, the linker does run time linking by default, so we don't
14397          # have to do anything special.
14398          aix_use_runtimelinking=no
14399          exp_sym_flag='-Bexport'
14400          no_entry_flag=
14401        else
14402          aix_use_runtimelinking=no
14403
14404          # Test if we are trying to use run time linking or normal
14405          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14406          # have runtime linking enabled, and use it for executables.
14407          # For shared libraries, we enable/disable runtime linking
14408          # depending on the kind of the shared library created -
14409          # when "with_aix_soname,aix_use_runtimelinking" is:
14410          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14411          # "aix,yes"  lib.so          shared, rtl:yes, for executables
14412          #            lib.a           static archive
14413          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14414          #            lib.a(lib.so.V) shared, rtl:no,  for executables
14415          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14416          #            lib.a(lib.so.V) shared, rtl:no
14417          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14418          #            lib.a           static archive
14419          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14420	    for ld_flag in $LDFLAGS; do
14421	      case $ld_flag in
14422	      *-brtl*)
14423	        aix_use_runtimelinking=yes
14424	        break
14425	        ;;
14426	      esac
14427	    done
14428	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14429	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
14430	      # so we don't have lib.a shared libs to link our executables.
14431	      # We have to force runtime linking in this case.
14432	      aix_use_runtimelinking=yes
14433	      LDFLAGS="$LDFLAGS -Wl,-brtl"
14434	    fi
14435	    ;;
14436          esac
14437
14438          exp_sym_flag='-bexport'
14439          no_entry_flag='-bnoentry'
14440        fi
14441
14442        # When large executables or shared objects are built, AIX ld can
14443        # have problems creating the table of contents.  If linking a library
14444        # or program results in "error TOC overflow" add -mminimal-toc to
14445        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14446        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14447
14448        archive_cmds_CXX=''
14449        hardcode_direct_CXX=yes
14450        hardcode_direct_absolute_CXX=yes
14451        hardcode_libdir_separator_CXX=':'
14452        link_all_deplibs_CXX=yes
14453        file_list_spec_CXX='$wl-f,'
14454        case $with_aix_soname,$aix_use_runtimelinking in
14455        aix,*) ;;	# no import file
14456        svr4,* | *,yes) # use import file
14457          # The Import File defines what to hardcode.
14458          hardcode_direct_CXX=no
14459          hardcode_direct_absolute_CXX=no
14460          ;;
14461        esac
14462
14463        if test yes = "$GXX"; then
14464          case $host_os in aix4.[012]|aix4.[012].*)
14465          # We only want to do this on AIX 4.2 and lower, the check
14466          # below for broken collect2 doesn't work under 4.3+
14467	  collect2name=`$CC -print-prog-name=collect2`
14468	  if test -f "$collect2name" &&
14469	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14470	  then
14471	    # We have reworked collect2
14472	    :
14473	  else
14474	    # We have old collect2
14475	    hardcode_direct_CXX=unsupported
14476	    # It fails to find uninstalled libraries when the uninstalled
14477	    # path is not listed in the libpath.  Setting hardcode_minus_L
14478	    # to unsupported forces relinking
14479	    hardcode_minus_L_CXX=yes
14480	    hardcode_libdir_flag_spec_CXX='-L$libdir'
14481	    hardcode_libdir_separator_CXX=
14482	  fi
14483          esac
14484          shared_flag='-shared'
14485	  if test yes = "$aix_use_runtimelinking"; then
14486	    shared_flag=$shared_flag' $wl-G'
14487	  fi
14488	  # Need to ensure runtime linking is disabled for the traditional
14489	  # shared library, or the linker may eventually find shared libraries
14490	  # /with/ Import File - we do not want to mix them.
14491	  shared_flag_aix='-shared'
14492	  shared_flag_svr4='-shared $wl-G'
14493        else
14494          # not using gcc
14495          if test ia64 = "$host_cpu"; then
14496	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14497	  # chokes on -Wl,-G. The following line is correct:
14498	  shared_flag='-G'
14499          else
14500	    if test yes = "$aix_use_runtimelinking"; then
14501	      shared_flag='$wl-G'
14502	    else
14503	      shared_flag='$wl-bM:SRE'
14504	    fi
14505	    shared_flag_aix='$wl-bM:SRE'
14506	    shared_flag_svr4='$wl-G'
14507          fi
14508        fi
14509
14510        export_dynamic_flag_spec_CXX='$wl-bexpall'
14511        # It seems that -bexpall does not export symbols beginning with
14512        # underscore (_), so it is better to generate a list of symbols to
14513	# export.
14514        always_export_symbols_CXX=yes
14515	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14516          # Warning - without using the other runtime loading flags (-brtl),
14517          # -berok will link without error, but may produce a broken library.
14518          # The "-G" linker flag allows undefined symbols.
14519          no_undefined_flag_CXX='-bernotok'
14520          # Determine the default libpath from the value encoded in an empty
14521          # executable.
14522          if test set = "${lt_cv_aix_libpath+set}"; then
14523  aix_libpath=$lt_cv_aix_libpath
14524else
14525  if ${lt_cv_aix_libpath__CXX+:} false; then :
14526  $as_echo_n "(cached) " >&6
14527else
14528  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529/* end confdefs.h.  */
14530
14531int
14532main ()
14533{
14534
14535  ;
14536  return 0;
14537}
14538_ACEOF
14539if ac_fn_cxx_try_link "$LINENO"; then :
14540
14541  lt_aix_libpath_sed='
14542      /Import File Strings/,/^$/ {
14543	  /^0/ {
14544	      s/^0  *\([^ ]*\) *$/\1/
14545	      p
14546	  }
14547      }'
14548  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14549  # Check for a 64-bit object if we didn't find anything.
14550  if test -z "$lt_cv_aix_libpath__CXX"; then
14551    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14552  fi
14553fi
14554rm -f core conftest.err conftest.$ac_objext \
14555    conftest$ac_exeext conftest.$ac_ext
14556  if test -z "$lt_cv_aix_libpath__CXX"; then
14557    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14558  fi
14559
14560fi
14561
14562  aix_libpath=$lt_cv_aix_libpath__CXX
14563fi
14564
14565          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14566
14567          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
14568        else
14569          if test ia64 = "$host_cpu"; then
14570	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14571	    allow_undefined_flag_CXX="-z nodefs"
14572	    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"
14573          else
14574	    # Determine the default libpath from the value encoded in an
14575	    # empty executable.
14576	    if test set = "${lt_cv_aix_libpath+set}"; then
14577  aix_libpath=$lt_cv_aix_libpath
14578else
14579  if ${lt_cv_aix_libpath__CXX+:} false; then :
14580  $as_echo_n "(cached) " >&6
14581else
14582  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14583/* end confdefs.h.  */
14584
14585int
14586main ()
14587{
14588
14589  ;
14590  return 0;
14591}
14592_ACEOF
14593if ac_fn_cxx_try_link "$LINENO"; then :
14594
14595  lt_aix_libpath_sed='
14596      /Import File Strings/,/^$/ {
14597	  /^0/ {
14598	      s/^0  *\([^ ]*\) *$/\1/
14599	      p
14600	  }
14601      }'
14602  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14603  # Check for a 64-bit object if we didn't find anything.
14604  if test -z "$lt_cv_aix_libpath__CXX"; then
14605    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14606  fi
14607fi
14608rm -f core conftest.err conftest.$ac_objext \
14609    conftest$ac_exeext conftest.$ac_ext
14610  if test -z "$lt_cv_aix_libpath__CXX"; then
14611    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14612  fi
14613
14614fi
14615
14616  aix_libpath=$lt_cv_aix_libpath__CXX
14617fi
14618
14619	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14620	    # Warning - without using the other run time loading flags,
14621	    # -berok will link without error, but may produce a broken library.
14622	    no_undefined_flag_CXX=' $wl-bernotok'
14623	    allow_undefined_flag_CXX=' $wl-berok'
14624	    if test yes = "$with_gnu_ld"; then
14625	      # We only use this code for GNU lds that support --whole-archive.
14626	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14627	    else
14628	      # Exported symbols can be pulled into shared objects from archives
14629	      whole_archive_flag_spec_CXX='$convenience'
14630	    fi
14631	    archive_cmds_need_lc_CXX=yes
14632	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14633	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14634	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14635	    if test svr4 != "$with_aix_soname"; then
14636	      # This is similar to how AIX traditionally builds its shared
14637	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14638	      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'
14639	    fi
14640	    if test aix != "$with_aix_soname"; then
14641	      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'
14642	    else
14643	      # used by -dlpreopen to get the symbols
14644	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14645	    fi
14646	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14647          fi
14648        fi
14649        ;;
14650
14651      beos*)
14652	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14653	  allow_undefined_flag_CXX=unsupported
14654	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14655	  # support --undefined.  This deserves some investigation.  FIXME
14656	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14657	else
14658	  ld_shlibs_CXX=no
14659	fi
14660	;;
14661
14662      chorus*)
14663        case $cc_basename in
14664          *)
14665	  # FIXME: insert proper C++ library support
14666	  ld_shlibs_CXX=no
14667	  ;;
14668        esac
14669        ;;
14670
14671      cygwin* | mingw* | pw32* | cegcc*)
14672	case $GXX,$cc_basename in
14673	,cl* | no,cl*)
14674	  # Native MSVC
14675	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14676	  # no search path for DLLs.
14677	  hardcode_libdir_flag_spec_CXX=' '
14678	  allow_undefined_flag_CXX=unsupported
14679	  always_export_symbols_CXX=yes
14680	  file_list_spec_CXX='@'
14681	  # Tell ltmain to make .lib files, not .a files.
14682	  libext=lib
14683	  # Tell ltmain to make .dll files, not .so files.
14684	  shrext_cmds=.dll
14685	  # FIXME: Setting linknames here is a bad hack.
14686	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14687	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14688              cp "$export_symbols" "$output_objdir/$soname.def";
14689              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14690            else
14691              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14692            fi~
14693            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14694            linknames='
14695	  # The linker will not automatically build a static lib if we build a DLL.
14696	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14697	  enable_shared_with_static_runtimes_CXX=yes
14698	  # Don't use ranlib
14699	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14700	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14701            lt_tool_outputfile="@TOOL_OUTPUT@"~
14702            case $lt_outputfile in
14703              *.exe|*.EXE) ;;
14704              *)
14705                lt_outputfile=$lt_outputfile.exe
14706                lt_tool_outputfile=$lt_tool_outputfile.exe
14707                ;;
14708            esac~
14709            func_to_tool_file "$lt_outputfile"~
14710            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14711              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14712              $RM "$lt_outputfile.manifest";
14713            fi'
14714	  ;;
14715	*)
14716	  # g++
14717	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14718	  # as there is no search path for DLLs.
14719	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14720	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14721	  allow_undefined_flag_CXX=unsupported
14722	  always_export_symbols_CXX=no
14723	  enable_shared_with_static_runtimes_CXX=yes
14724
14725	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14726	    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'
14727	    # If the export-symbols file already is a .def file, use it as
14728	    # is; otherwise, prepend EXPORTS...
14729	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14730              cp $export_symbols $output_objdir/$soname.def;
14731            else
14732              echo EXPORTS > $output_objdir/$soname.def;
14733              cat $export_symbols >> $output_objdir/$soname.def;
14734            fi~
14735            $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'
14736	  else
14737	    ld_shlibs_CXX=no
14738	  fi
14739	  ;;
14740	esac
14741	;;
14742      darwin* | rhapsody*)
14743
14744
14745  archive_cmds_need_lc_CXX=no
14746  hardcode_direct_CXX=no
14747  hardcode_automatic_CXX=yes
14748  hardcode_shlibpath_var_CXX=unsupported
14749  if test yes = "$lt_cv_ld_force_load"; then
14750    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\"`'
14751
14752  else
14753    whole_archive_flag_spec_CXX=''
14754  fi
14755  link_all_deplibs_CXX=yes
14756  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14757  case $cc_basename in
14758     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14759     *) _lt_dar_can_shared=$GCC ;;
14760  esac
14761  if test yes = "$_lt_dar_can_shared"; then
14762    output_verbose_link_cmd=func_echo_all
14763    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"
14764    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14765    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"
14766    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"
14767       if test yes != "$lt_cv_apple_cc_single_mod"; then
14768      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"
14769      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"
14770    fi
14771
14772  else
14773  ld_shlibs_CXX=no
14774  fi
14775
14776	;;
14777
14778      os2*)
14779	hardcode_libdir_flag_spec_CXX='-L$libdir'
14780	hardcode_minus_L_CXX=yes
14781	allow_undefined_flag_CXX=unsupported
14782	shrext_cmds=.dll
14783	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14784	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14785	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14786	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14787	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14788	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14789	  emximp -o $lib $output_objdir/$libname.def'
14790	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14791	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14792	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14793	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14794	  prefix_cmds="$SED"~
14795	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14796	    prefix_cmds="$prefix_cmds -e 1d";
14797	  fi~
14798	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14799	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14800	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14801	  emximp -o $lib $output_objdir/$libname.def'
14802	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14803	enable_shared_with_static_runtimes_CXX=yes
14804	;;
14805
14806      dgux*)
14807        case $cc_basename in
14808          ec++*)
14809	    # FIXME: insert proper C++ library support
14810	    ld_shlibs_CXX=no
14811	    ;;
14812          ghcx*)
14813	    # Green Hills C++ Compiler
14814	    # FIXME: insert proper C++ library support
14815	    ld_shlibs_CXX=no
14816	    ;;
14817          *)
14818	    # FIXME: insert proper C++ library support
14819	    ld_shlibs_CXX=no
14820	    ;;
14821        esac
14822        ;;
14823
14824      freebsd2.*)
14825        # C++ shared libraries reported to be fairly broken before
14826	# switch to ELF
14827        ld_shlibs_CXX=no
14828        ;;
14829
14830      freebsd-elf*)
14831        archive_cmds_need_lc_CXX=no
14832        ;;
14833
14834      freebsd* | dragonfly*)
14835        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14836        # conventions
14837        ld_shlibs_CXX=yes
14838        ;;
14839
14840      haiku*)
14841        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14842        link_all_deplibs_CXX=yes
14843        ;;
14844
14845      hpux9*)
14846        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14847        hardcode_libdir_separator_CXX=:
14848        export_dynamic_flag_spec_CXX='$wl-E'
14849        hardcode_direct_CXX=yes
14850        hardcode_minus_L_CXX=yes # Not in the search PATH,
14851				             # but as the default
14852				             # location of the library.
14853
14854        case $cc_basename in
14855          CC*)
14856            # FIXME: insert proper C++ library support
14857            ld_shlibs_CXX=no
14858            ;;
14859          aCC*)
14860            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'
14861            # Commands to make compiler produce verbose output that lists
14862            # what "hidden" libraries, object files and flags are used when
14863            # linking a shared library.
14864            #
14865            # There doesn't appear to be a way to prevent this compiler from
14866            # explicitly linking system object files so we need to strip them
14867            # from the output so that they don't get included in the library
14868            # dependencies.
14869            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"'
14870            ;;
14871          *)
14872            if test yes = "$GXX"; then
14873              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'
14874            else
14875              # FIXME: insert proper C++ library support
14876              ld_shlibs_CXX=no
14877            fi
14878            ;;
14879        esac
14880        ;;
14881
14882      hpux10*|hpux11*)
14883        if test no = "$with_gnu_ld"; then
14884	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14885	  hardcode_libdir_separator_CXX=:
14886
14887          case $host_cpu in
14888            hppa*64*|ia64*)
14889              ;;
14890            *)
14891	      export_dynamic_flag_spec_CXX='$wl-E'
14892              ;;
14893          esac
14894        fi
14895        case $host_cpu in
14896          hppa*64*|ia64*)
14897            hardcode_direct_CXX=no
14898            hardcode_shlibpath_var_CXX=no
14899            ;;
14900          *)
14901            hardcode_direct_CXX=yes
14902            hardcode_direct_absolute_CXX=yes
14903            hardcode_minus_L_CXX=yes # Not in the search PATH,
14904					         # but as the default
14905					         # location of the library.
14906            ;;
14907        esac
14908
14909        case $cc_basename in
14910          CC*)
14911	    # FIXME: insert proper C++ library support
14912	    ld_shlibs_CXX=no
14913	    ;;
14914          aCC*)
14915	    case $host_cpu in
14916	      hppa*64*)
14917	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14918	        ;;
14919	      ia64*)
14920	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14921	        ;;
14922	      *)
14923	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14924	        ;;
14925	    esac
14926	    # Commands to make compiler produce verbose output that lists
14927	    # what "hidden" libraries, object files and flags are used when
14928	    # linking a shared library.
14929	    #
14930	    # There doesn't appear to be a way to prevent this compiler from
14931	    # explicitly linking system object files so we need to strip them
14932	    # from the output so that they don't get included in the library
14933	    # dependencies.
14934	    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"'
14935	    ;;
14936          *)
14937	    if test yes = "$GXX"; then
14938	      if test no = "$with_gnu_ld"; then
14939	        case $host_cpu in
14940	          hppa*64*)
14941	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14942	            ;;
14943	          ia64*)
14944	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14945	            ;;
14946	          *)
14947	            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'
14948	            ;;
14949	        esac
14950	      fi
14951	    else
14952	      # FIXME: insert proper C++ library support
14953	      ld_shlibs_CXX=no
14954	    fi
14955	    ;;
14956        esac
14957        ;;
14958
14959      interix[3-9]*)
14960	hardcode_direct_CXX=no
14961	hardcode_shlibpath_var_CXX=no
14962	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14963	export_dynamic_flag_spec_CXX='$wl-E'
14964	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14965	# Instead, shared libraries are loaded at an image base (0x10000000 by
14966	# default) and relocated if they conflict, which is a slow very memory
14967	# consuming and fragmenting process.  To avoid this, we pick a random,
14968	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14969	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14970	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'
14971	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'
14972	;;
14973      irix5* | irix6*)
14974        case $cc_basename in
14975          CC*)
14976	    # SGI C++
14977	    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'
14978
14979	    # Archives containing C++ object files must be created using
14980	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14981	    # necessary to make sure instantiated templates are included
14982	    # in the archive.
14983	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14984	    ;;
14985          *)
14986	    if test yes = "$GXX"; then
14987	      if test no = "$with_gnu_ld"; then
14988	        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'
14989	      else
14990	        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'
14991	      fi
14992	    fi
14993	    link_all_deplibs_CXX=yes
14994	    ;;
14995        esac
14996        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14997        hardcode_libdir_separator_CXX=:
14998        inherit_rpath_CXX=yes
14999        ;;
15000
15001      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15002        case $cc_basename in
15003          KCC*)
15004	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15005
15006	    # KCC will only create a shared library if the output file
15007	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15008	    # to its proper name (with version) after linking.
15009	    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'
15010	    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'
15011	    # Commands to make compiler produce verbose output that lists
15012	    # what "hidden" libraries, object files and flags are used when
15013	    # linking a shared library.
15014	    #
15015	    # There doesn't appear to be a way to prevent this compiler from
15016	    # explicitly linking system object files so we need to strip them
15017	    # from the output so that they don't get included in the library
15018	    # dependencies.
15019	    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"'
15020
15021	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15022	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15023
15024	    # Archives containing C++ object files must be created using
15025	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15026	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15027	    ;;
15028	  icpc* | ecpc* )
15029	    # Intel C++
15030	    with_gnu_ld=yes
15031	    # version 8.0 and above of icpc choke on multiply defined symbols
15032	    # if we add $predep_objects and $postdep_objects, however 7.1 and
15033	    # earlier do not add the objects themselves.
15034	    case `$CC -V 2>&1` in
15035	      *"Version 7."*)
15036	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15037		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'
15038		;;
15039	      *)  # Version 8.0 or newer
15040	        tmp_idyn=
15041	        case $host_cpu in
15042		  ia64*) tmp_idyn=' -i_dynamic';;
15043		esac
15044	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15045		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'
15046		;;
15047	    esac
15048	    archive_cmds_need_lc_CXX=no
15049	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15050	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15051	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15052	    ;;
15053          pgCC* | pgcpp*)
15054            # Portland Group C++ compiler
15055	    case `$CC -V` in
15056	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15057	      prelink_cmds_CXX='tpldir=Template.dir~
15058               rm -rf $tpldir~
15059               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15060               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15061	      old_archive_cmds_CXX='tpldir=Template.dir~
15062                rm -rf $tpldir~
15063                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15064                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15065                $RANLIB $oldlib'
15066	      archive_cmds_CXX='tpldir=Template.dir~
15067                rm -rf $tpldir~
15068                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15069                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15070	      archive_expsym_cmds_CXX='tpldir=Template.dir~
15071                rm -rf $tpldir~
15072                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15073                $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'
15074	      ;;
15075	    *) # Version 6 and above use weak symbols
15076	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15077	      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'
15078	      ;;
15079	    esac
15080
15081	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
15082	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15083	    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'
15084            ;;
15085	  cxx*)
15086	    # Compaq C++
15087	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15088	    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'
15089
15090	    runpath_var=LD_RUN_PATH
15091	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15092	    hardcode_libdir_separator_CXX=:
15093
15094	    # Commands to make compiler produce verbose output that lists
15095	    # what "hidden" libraries, object files and flags are used when
15096	    # linking a shared library.
15097	    #
15098	    # There doesn't appear to be a way to prevent this compiler from
15099	    # explicitly linking system object files so we need to strip them
15100	    # from the output so that they don't get included in the library
15101	    # dependencies.
15102	    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'
15103	    ;;
15104	  xl* | mpixl* | bgxl*)
15105	    # IBM XL 8.0 on PPC, with GNU ld
15106	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15107	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15108	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15109	    if test yes = "$supports_anon_versioning"; then
15110	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15111                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15112                echo "local: *; };" >> $output_objdir/$libname.ver~
15113                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15114	    fi
15115	    ;;
15116	  *)
15117	    case `$CC -V 2>&1 | sed 5q` in
15118	    *Sun\ C*)
15119	      # Sun C++ 5.9
15120	      no_undefined_flag_CXX=' -zdefs'
15121	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15122	      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'
15123	      hardcode_libdir_flag_spec_CXX='-R$libdir'
15124	      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'
15125	      compiler_needs_object_CXX=yes
15126
15127	      # Not sure whether something based on
15128	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15129	      # would be better.
15130	      output_verbose_link_cmd='func_echo_all'
15131
15132	      # Archives containing C++ object files must be created using
15133	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15134	      # necessary to make sure instantiated templates are included
15135	      # in the archive.
15136	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15137	      ;;
15138	    esac
15139	    ;;
15140	esac
15141	;;
15142
15143      lynxos*)
15144        # FIXME: insert proper C++ library support
15145	ld_shlibs_CXX=no
15146	;;
15147
15148      m88k*)
15149        # FIXME: insert proper C++ library support
15150        ld_shlibs_CXX=no
15151	;;
15152
15153      mvs*)
15154        case $cc_basename in
15155          cxx*)
15156	    # FIXME: insert proper C++ library support
15157	    ld_shlibs_CXX=no
15158	    ;;
15159	  *)
15160	    # FIXME: insert proper C++ library support
15161	    ld_shlibs_CXX=no
15162	    ;;
15163	esac
15164	;;
15165
15166      netbsd*)
15167        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15168	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15169	  wlarc=
15170	  hardcode_libdir_flag_spec_CXX='-R$libdir'
15171	  hardcode_direct_CXX=yes
15172	  hardcode_shlibpath_var_CXX=no
15173	fi
15174	# Workaround some broken pre-1.5 toolchains
15175	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15176	;;
15177
15178      *nto* | *qnx*)
15179        ld_shlibs_CXX=yes
15180	;;
15181
15182      openbsd* | bitrig*)
15183	if test -f /usr/libexec/ld.so; then
15184	  hardcode_direct_CXX=yes
15185	  hardcode_shlibpath_var_CXX=no
15186	  hardcode_direct_absolute_CXX=yes
15187	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15188	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15189	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15190	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15191	    export_dynamic_flag_spec_CXX='$wl-E'
15192	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15193	  fi
15194	  output_verbose_link_cmd=func_echo_all
15195	else
15196	  ld_shlibs_CXX=no
15197	fi
15198	;;
15199
15200      osf3* | osf4* | osf5*)
15201        case $cc_basename in
15202          KCC*)
15203	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15204
15205	    # KCC will only create a shared library if the output file
15206	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15207	    # to its proper name (with version) after linking.
15208	    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'
15209
15210	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15211	    hardcode_libdir_separator_CXX=:
15212
15213	    # Archives containing C++ object files must be created using
15214	    # the KAI C++ compiler.
15215	    case $host in
15216	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15217	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15218	    esac
15219	    ;;
15220          RCC*)
15221	    # Rational C++ 2.4.1
15222	    # FIXME: insert proper C++ library support
15223	    ld_shlibs_CXX=no
15224	    ;;
15225          cxx*)
15226	    case $host in
15227	      osf3*)
15228	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15229	        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'
15230	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15231		;;
15232	      *)
15233	        allow_undefined_flag_CXX=' -expect_unresolved \*'
15234	        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'
15235	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15236                  echo "-hidden">> $lib.exp~
15237                  $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~
15238                  $RM $lib.exp'
15239	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15240		;;
15241	    esac
15242
15243	    hardcode_libdir_separator_CXX=:
15244
15245	    # Commands to make compiler produce verbose output that lists
15246	    # what "hidden" libraries, object files and flags are used when
15247	    # linking a shared library.
15248	    #
15249	    # There doesn't appear to be a way to prevent this compiler from
15250	    # explicitly linking system object files so we need to strip them
15251	    # from the output so that they don't get included in the library
15252	    # dependencies.
15253	    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"'
15254	    ;;
15255	  *)
15256	    if test yes,no = "$GXX,$with_gnu_ld"; then
15257	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15258	      case $host in
15259	        osf3*)
15260	          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'
15261		  ;;
15262	        *)
15263	          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'
15264		  ;;
15265	      esac
15266
15267	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15268	      hardcode_libdir_separator_CXX=:
15269
15270	      # Commands to make compiler produce verbose output that lists
15271	      # what "hidden" libraries, object files and flags are used when
15272	      # linking a shared library.
15273	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15274
15275	    else
15276	      # FIXME: insert proper C++ library support
15277	      ld_shlibs_CXX=no
15278	    fi
15279	    ;;
15280        esac
15281        ;;
15282
15283      psos*)
15284        # FIXME: insert proper C++ library support
15285        ld_shlibs_CXX=no
15286        ;;
15287
15288      sunos4*)
15289        case $cc_basename in
15290          CC*)
15291	    # Sun C++ 4.x
15292	    # FIXME: insert proper C++ library support
15293	    ld_shlibs_CXX=no
15294	    ;;
15295          lcc*)
15296	    # Lucid
15297	    # FIXME: insert proper C++ library support
15298	    ld_shlibs_CXX=no
15299	    ;;
15300          *)
15301	    # FIXME: insert proper C++ library support
15302	    ld_shlibs_CXX=no
15303	    ;;
15304        esac
15305        ;;
15306
15307      solaris*)
15308        case $cc_basename in
15309          CC* | sunCC*)
15310	    # Sun C++ 4.2, 5.x and Centerline C++
15311            archive_cmds_need_lc_CXX=yes
15312	    no_undefined_flag_CXX=' -zdefs'
15313	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15314	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15315              $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'
15316
15317	    hardcode_libdir_flag_spec_CXX='-R$libdir'
15318	    hardcode_shlibpath_var_CXX=no
15319	    case $host_os in
15320	      solaris2.[0-5] | solaris2.[0-5].*) ;;
15321	      *)
15322		# The compiler driver will combine and reorder linker options,
15323		# but understands '-z linker_flag'.
15324	        # Supported since Solaris 2.6 (maybe 2.5.1?)
15325		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15326	        ;;
15327	    esac
15328	    link_all_deplibs_CXX=yes
15329
15330	    output_verbose_link_cmd='func_echo_all'
15331
15332	    # Archives containing C++ object files must be created using
15333	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15334	    # necessary to make sure instantiated templates are included
15335	    # in the archive.
15336	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15337	    ;;
15338          gcx*)
15339	    # Green Hills C++ Compiler
15340	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15341
15342	    # The C++ compiler must be used to create the archive.
15343	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15344	    ;;
15345          *)
15346	    # GNU C++ compiler with Solaris linker
15347	    if test yes,no = "$GXX,$with_gnu_ld"; then
15348	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
15349	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15350	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15351	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15352                  $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'
15353
15354	        # Commands to make compiler produce verbose output that lists
15355	        # what "hidden" libraries, object files and flags are used when
15356	        # linking a shared library.
15357	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15358	      else
15359	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
15360	        # platform.
15361	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15362	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15363                  $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'
15364
15365	        # Commands to make compiler produce verbose output that lists
15366	        # what "hidden" libraries, object files and flags are used when
15367	        # linking a shared library.
15368	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15369	      fi
15370
15371	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15372	      case $host_os in
15373		solaris2.[0-5] | solaris2.[0-5].*) ;;
15374		*)
15375		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15376		  ;;
15377	      esac
15378	    fi
15379	    ;;
15380        esac
15381        ;;
15382
15383    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15384      no_undefined_flag_CXX='$wl-z,text'
15385      archive_cmds_need_lc_CXX=no
15386      hardcode_shlibpath_var_CXX=no
15387      runpath_var='LD_RUN_PATH'
15388
15389      case $cc_basename in
15390        CC*)
15391	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15392	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15393	  ;;
15394	*)
15395	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15396	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15397	  ;;
15398      esac
15399      ;;
15400
15401      sysv5* | sco3.2v5* | sco5v6*)
15402	# Note: We CANNOT use -z defs as we might desire, because we do not
15403	# link with -lc, and that would cause any symbols used from libc to
15404	# always be unresolved, which means just about no library would
15405	# ever link correctly.  If we're not using GNU ld we use -z text
15406	# though, which does catch some bad symbols but isn't as heavy-handed
15407	# as -z defs.
15408	no_undefined_flag_CXX='$wl-z,text'
15409	allow_undefined_flag_CXX='$wl-z,nodefs'
15410	archive_cmds_need_lc_CXX=no
15411	hardcode_shlibpath_var_CXX=no
15412	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15413	hardcode_libdir_separator_CXX=':'
15414	link_all_deplibs_CXX=yes
15415	export_dynamic_flag_spec_CXX='$wl-Bexport'
15416	runpath_var='LD_RUN_PATH'
15417
15418	case $cc_basename in
15419          CC*)
15420	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15421	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15422	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15423              '"$old_archive_cmds_CXX"
15424	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15425              '"$reload_cmds_CXX"
15426	    ;;
15427	  *)
15428	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15429	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15430	    ;;
15431	esac
15432      ;;
15433
15434      tandem*)
15435        case $cc_basename in
15436          NCC*)
15437	    # NonStop-UX NCC 3.20
15438	    # FIXME: insert proper C++ library support
15439	    ld_shlibs_CXX=no
15440	    ;;
15441          *)
15442	    # FIXME: insert proper C++ library support
15443	    ld_shlibs_CXX=no
15444	    ;;
15445        esac
15446        ;;
15447
15448      vxworks*)
15449        # FIXME: insert proper C++ library support
15450        ld_shlibs_CXX=no
15451        ;;
15452
15453      *)
15454        # FIXME: insert proper C++ library support
15455        ld_shlibs_CXX=no
15456        ;;
15457    esac
15458
15459    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15460$as_echo "$ld_shlibs_CXX" >&6; }
15461    test no = "$ld_shlibs_CXX" && can_build_shared=no
15462
15463    GCC_CXX=$GXX
15464    LD_CXX=$LD
15465
15466    ## CAVEAT EMPTOR:
15467    ## There is no encapsulation within the following macros, do not change
15468    ## the running order or otherwise move them around unless you know exactly
15469    ## what you are doing...
15470    # Dependencies to place before and after the object being linked:
15471predep_objects_CXX=
15472postdep_objects_CXX=
15473predeps_CXX=
15474postdeps_CXX=
15475compiler_lib_search_path_CXX=
15476
15477cat > conftest.$ac_ext <<_LT_EOF
15478class Foo
15479{
15480public:
15481  Foo (void) { a = 0; }
15482private:
15483  int a;
15484};
15485_LT_EOF
15486
15487
15488_lt_libdeps_save_CFLAGS=$CFLAGS
15489case "$CC $CFLAGS " in #(
15490*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15491*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15492*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15493esac
15494
15495if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15496  (eval $ac_compile) 2>&5
15497  ac_status=$?
15498  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15499  test $ac_status = 0; }; then
15500  # Parse the compiler output and extract the necessary
15501  # objects, libraries and library flags.
15502
15503  # Sentinel used to keep track of whether or not we are before
15504  # the conftest object file.
15505  pre_test_object_deps_done=no
15506
15507  for p in `eval "$output_verbose_link_cmd"`; do
15508    case $prev$p in
15509
15510    -L* | -R* | -l*)
15511       # Some compilers place space between "-{L,R}" and the path.
15512       # Remove the space.
15513       if test x-L = "$p" ||
15514          test x-R = "$p"; then
15515	 prev=$p
15516	 continue
15517       fi
15518
15519       # Expand the sysroot to ease extracting the directories later.
15520       if test -z "$prev"; then
15521         case $p in
15522         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15523         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15524         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15525         esac
15526       fi
15527       case $p in
15528       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15529       esac
15530       if test no = "$pre_test_object_deps_done"; then
15531	 case $prev in
15532	 -L | -R)
15533	   # Internal compiler library paths should come after those
15534	   # provided the user.  The postdeps already come after the
15535	   # user supplied libs so there is no need to process them.
15536	   if test -z "$compiler_lib_search_path_CXX"; then
15537	     compiler_lib_search_path_CXX=$prev$p
15538	   else
15539	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15540	   fi
15541	   ;;
15542	 # The "-l" case would never come before the object being
15543	 # linked, so don't bother handling this case.
15544	 esac
15545       else
15546	 if test -z "$postdeps_CXX"; then
15547	   postdeps_CXX=$prev$p
15548	 else
15549	   postdeps_CXX="${postdeps_CXX} $prev$p"
15550	 fi
15551       fi
15552       prev=
15553       ;;
15554
15555    *.lto.$objext) ;; # Ignore GCC LTO objects
15556    *.$objext)
15557       # This assumes that the test object file only shows up
15558       # once in the compiler output.
15559       if test "$p" = "conftest.$objext"; then
15560	 pre_test_object_deps_done=yes
15561	 continue
15562       fi
15563
15564       if test no = "$pre_test_object_deps_done"; then
15565	 if test -z "$predep_objects_CXX"; then
15566	   predep_objects_CXX=$p
15567	 else
15568	   predep_objects_CXX="$predep_objects_CXX $p"
15569	 fi
15570       else
15571	 if test -z "$postdep_objects_CXX"; then
15572	   postdep_objects_CXX=$p
15573	 else
15574	   postdep_objects_CXX="$postdep_objects_CXX $p"
15575	 fi
15576       fi
15577       ;;
15578
15579    *) ;; # Ignore the rest.
15580
15581    esac
15582  done
15583
15584  # Clean up.
15585  rm -f a.out a.exe
15586else
15587  echo "libtool.m4: error: problem compiling CXX test program"
15588fi
15589
15590$RM -f confest.$objext
15591CFLAGS=$_lt_libdeps_save_CFLAGS
15592
15593# PORTME: override above test on systems where it is broken
15594case $host_os in
15595interix[3-9]*)
15596  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15597  # hack all around it, let's just trust "g++" to DTRT.
15598  predep_objects_CXX=
15599  postdep_objects_CXX=
15600  postdeps_CXX=
15601  ;;
15602esac
15603
15604
15605case " $postdeps_CXX " in
15606*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15607esac
15608 compiler_lib_search_dirs_CXX=
15609if test -n "${compiler_lib_search_path_CXX}"; then
15610 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15611fi
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643    lt_prog_compiler_wl_CXX=
15644lt_prog_compiler_pic_CXX=
15645lt_prog_compiler_static_CXX=
15646
15647
15648  # C++ specific cases for pic, static, wl, etc.
15649  if test yes = "$GXX"; then
15650    lt_prog_compiler_wl_CXX='-Wl,'
15651    lt_prog_compiler_static_CXX='-static'
15652
15653    case $host_os in
15654    aix*)
15655      # All AIX code is PIC.
15656      if test ia64 = "$host_cpu"; then
15657	# AIX 5 now supports IA64 processor
15658	lt_prog_compiler_static_CXX='-Bstatic'
15659      fi
15660      lt_prog_compiler_pic_CXX='-fPIC'
15661      ;;
15662
15663    amigaos*)
15664      case $host_cpu in
15665      powerpc)
15666            # see comment about AmigaOS4 .so support
15667            lt_prog_compiler_pic_CXX='-fPIC'
15668        ;;
15669      m68k)
15670            # FIXME: we need at least 68020 code to build shared libraries, but
15671            # adding the '-m68020' flag to GCC prevents building anything better,
15672            # like '-m68040'.
15673            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15674        ;;
15675      esac
15676      ;;
15677
15678    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15679      # PIC is the default for these OSes.
15680      ;;
15681    mingw* | cygwin* | os2* | pw32* | cegcc*)
15682      # This hack is so that the source file can tell whether it is being
15683      # built for inclusion in a dll (and should export symbols for example).
15684      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15685      # (--disable-auto-import) libraries
15686      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15687      case $host_os in
15688      os2*)
15689	lt_prog_compiler_static_CXX='$wl-static'
15690	;;
15691      esac
15692      ;;
15693    darwin* | rhapsody*)
15694      # PIC is the default on this platform
15695      # Common symbols not allowed in MH_DYLIB files
15696      lt_prog_compiler_pic_CXX='-fno-common'
15697      ;;
15698    *djgpp*)
15699      # DJGPP does not support shared libraries at all
15700      lt_prog_compiler_pic_CXX=
15701      ;;
15702    haiku*)
15703      # PIC is the default for Haiku.
15704      # The "-static" flag exists, but is broken.
15705      lt_prog_compiler_static_CXX=
15706      ;;
15707    interix[3-9]*)
15708      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15709      # Instead, we relocate shared libraries at runtime.
15710      ;;
15711    sysv4*MP*)
15712      if test -d /usr/nec; then
15713	lt_prog_compiler_pic_CXX=-Kconform_pic
15714      fi
15715      ;;
15716    hpux*)
15717      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15718      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15719      # sets the default TLS model and affects inlining.
15720      case $host_cpu in
15721      hppa*64*)
15722	;;
15723      *)
15724	lt_prog_compiler_pic_CXX='-fPIC'
15725	;;
15726      esac
15727      ;;
15728    *qnx* | *nto*)
15729      # QNX uses GNU C++, but need to define -shared option too, otherwise
15730      # it will coredump.
15731      lt_prog_compiler_pic_CXX='-fPIC -shared'
15732      ;;
15733    *)
15734      lt_prog_compiler_pic_CXX='-fPIC'
15735      ;;
15736    esac
15737  else
15738    case $host_os in
15739      aix[4-9]*)
15740	# All AIX code is PIC.
15741	if test ia64 = "$host_cpu"; then
15742	  # AIX 5 now supports IA64 processor
15743	  lt_prog_compiler_static_CXX='-Bstatic'
15744	else
15745	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15746	fi
15747	;;
15748      chorus*)
15749	case $cc_basename in
15750	cxch68*)
15751	  # Green Hills C++ Compiler
15752	  # _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"
15753	  ;;
15754	esac
15755	;;
15756      mingw* | cygwin* | os2* | pw32* | cegcc*)
15757	# This hack is so that the source file can tell whether it is being
15758	# built for inclusion in a dll (and should export symbols for example).
15759	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15760	;;
15761      dgux*)
15762	case $cc_basename in
15763	  ec++*)
15764	    lt_prog_compiler_pic_CXX='-KPIC'
15765	    ;;
15766	  ghcx*)
15767	    # Green Hills C++ Compiler
15768	    lt_prog_compiler_pic_CXX='-pic'
15769	    ;;
15770	  *)
15771	    ;;
15772	esac
15773	;;
15774      freebsd* | dragonfly*)
15775	# FreeBSD uses GNU C++
15776	;;
15777      hpux9* | hpux10* | hpux11*)
15778	case $cc_basename in
15779	  CC*)
15780	    lt_prog_compiler_wl_CXX='-Wl,'
15781	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15782	    if test ia64 != "$host_cpu"; then
15783	      lt_prog_compiler_pic_CXX='+Z'
15784	    fi
15785	    ;;
15786	  aCC*)
15787	    lt_prog_compiler_wl_CXX='-Wl,'
15788	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15789	    case $host_cpu in
15790	    hppa*64*|ia64*)
15791	      # +Z the default
15792	      ;;
15793	    *)
15794	      lt_prog_compiler_pic_CXX='+Z'
15795	      ;;
15796	    esac
15797	    ;;
15798	  *)
15799	    ;;
15800	esac
15801	;;
15802      interix*)
15803	# This is c89, which is MS Visual C++ (no shared libs)
15804	# Anyone wants to do a port?
15805	;;
15806      irix5* | irix6* | nonstopux*)
15807	case $cc_basename in
15808	  CC*)
15809	    lt_prog_compiler_wl_CXX='-Wl,'
15810	    lt_prog_compiler_static_CXX='-non_shared'
15811	    # CC pic flag -KPIC is the default.
15812	    ;;
15813	  *)
15814	    ;;
15815	esac
15816	;;
15817      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15818	case $cc_basename in
15819	  KCC*)
15820	    # KAI C++ Compiler
15821	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15822	    lt_prog_compiler_pic_CXX='-fPIC'
15823	    ;;
15824	  ecpc* )
15825	    # old Intel C++ for x86_64, which still supported -KPIC.
15826	    lt_prog_compiler_wl_CXX='-Wl,'
15827	    lt_prog_compiler_pic_CXX='-KPIC'
15828	    lt_prog_compiler_static_CXX='-static'
15829	    ;;
15830	  icpc* )
15831	    # Intel C++, used to be incompatible with GCC.
15832	    # ICC 10 doesn't accept -KPIC any more.
15833	    lt_prog_compiler_wl_CXX='-Wl,'
15834	    lt_prog_compiler_pic_CXX='-fPIC'
15835	    lt_prog_compiler_static_CXX='-static'
15836	    ;;
15837	  pgCC* | pgcpp*)
15838	    # Portland Group C++ compiler
15839	    lt_prog_compiler_wl_CXX='-Wl,'
15840	    lt_prog_compiler_pic_CXX='-fpic'
15841	    lt_prog_compiler_static_CXX='-Bstatic'
15842	    ;;
15843	  cxx*)
15844	    # Compaq C++
15845	    # Make sure the PIC flag is empty.  It appears that all Alpha
15846	    # Linux and Compaq Tru64 Unix objects are PIC.
15847	    lt_prog_compiler_pic_CXX=
15848	    lt_prog_compiler_static_CXX='-non_shared'
15849	    ;;
15850	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15851	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15852	    lt_prog_compiler_wl_CXX='-Wl,'
15853	    lt_prog_compiler_pic_CXX='-qpic'
15854	    lt_prog_compiler_static_CXX='-qstaticlink'
15855	    ;;
15856	  *)
15857	    case `$CC -V 2>&1 | sed 5q` in
15858	    *Sun\ C*)
15859	      # Sun C++ 5.9
15860	      lt_prog_compiler_pic_CXX='-KPIC'
15861	      lt_prog_compiler_static_CXX='-Bstatic'
15862	      lt_prog_compiler_wl_CXX='-Qoption ld '
15863	      ;;
15864	    esac
15865	    ;;
15866	esac
15867	;;
15868      lynxos*)
15869	;;
15870      m88k*)
15871	;;
15872      mvs*)
15873	case $cc_basename in
15874	  cxx*)
15875	    lt_prog_compiler_pic_CXX='-W c,exportall'
15876	    ;;
15877	  *)
15878	    ;;
15879	esac
15880	;;
15881      netbsd* | netbsdelf*-gnu)
15882	;;
15883      *qnx* | *nto*)
15884        # QNX uses GNU C++, but need to define -shared option too, otherwise
15885        # it will coredump.
15886        lt_prog_compiler_pic_CXX='-fPIC -shared'
15887        ;;
15888      osf3* | osf4* | osf5*)
15889	case $cc_basename in
15890	  KCC*)
15891	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15892	    ;;
15893	  RCC*)
15894	    # Rational C++ 2.4.1
15895	    lt_prog_compiler_pic_CXX='-pic'
15896	    ;;
15897	  cxx*)
15898	    # Digital/Compaq C++
15899	    lt_prog_compiler_wl_CXX='-Wl,'
15900	    # Make sure the PIC flag is empty.  It appears that all Alpha
15901	    # Linux and Compaq Tru64 Unix objects are PIC.
15902	    lt_prog_compiler_pic_CXX=
15903	    lt_prog_compiler_static_CXX='-non_shared'
15904	    ;;
15905	  *)
15906	    ;;
15907	esac
15908	;;
15909      psos*)
15910	;;
15911      solaris*)
15912	case $cc_basename in
15913	  CC* | sunCC*)
15914	    # Sun C++ 4.2, 5.x and Centerline C++
15915	    lt_prog_compiler_pic_CXX='-KPIC'
15916	    lt_prog_compiler_static_CXX='-Bstatic'
15917	    lt_prog_compiler_wl_CXX='-Qoption ld '
15918	    ;;
15919	  gcx*)
15920	    # Green Hills C++ Compiler
15921	    lt_prog_compiler_pic_CXX='-PIC'
15922	    ;;
15923	  *)
15924	    ;;
15925	esac
15926	;;
15927      sunos4*)
15928	case $cc_basename in
15929	  CC*)
15930	    # Sun C++ 4.x
15931	    lt_prog_compiler_pic_CXX='-pic'
15932	    lt_prog_compiler_static_CXX='-Bstatic'
15933	    ;;
15934	  lcc*)
15935	    # Lucid
15936	    lt_prog_compiler_pic_CXX='-pic'
15937	    ;;
15938	  *)
15939	    ;;
15940	esac
15941	;;
15942      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15943	case $cc_basename in
15944	  CC*)
15945	    lt_prog_compiler_wl_CXX='-Wl,'
15946	    lt_prog_compiler_pic_CXX='-KPIC'
15947	    lt_prog_compiler_static_CXX='-Bstatic'
15948	    ;;
15949	esac
15950	;;
15951      tandem*)
15952	case $cc_basename in
15953	  NCC*)
15954	    # NonStop-UX NCC 3.20
15955	    lt_prog_compiler_pic_CXX='-KPIC'
15956	    ;;
15957	  *)
15958	    ;;
15959	esac
15960	;;
15961      vxworks*)
15962	;;
15963      *)
15964	lt_prog_compiler_can_build_shared_CXX=no
15965	;;
15966    esac
15967  fi
15968
15969case $host_os in
15970  # For platforms that do not support PIC, -DPIC is meaningless:
15971  *djgpp*)
15972    lt_prog_compiler_pic_CXX=
15973    ;;
15974  *)
15975    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15976    ;;
15977esac
15978
15979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15980$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15981if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15982  $as_echo_n "(cached) " >&6
15983else
15984  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15985fi
15986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15987$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15988lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15989
15990#
15991# Check to make sure the PIC flag actually works.
15992#
15993if test -n "$lt_prog_compiler_pic_CXX"; then
15994  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15995$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15996if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15997  $as_echo_n "(cached) " >&6
15998else
15999  lt_cv_prog_compiler_pic_works_CXX=no
16000   ac_outfile=conftest.$ac_objext
16001   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16002   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
16003   # Insert the option either (1) after the last *FLAGS variable, or
16004   # (2) before a word containing "conftest.", or (3) at the end.
16005   # Note that $ac_compile itself does not contain backslashes and begins
16006   # with a dollar sign (not a hyphen), so the echo should work correctly.
16007   # The option is referenced via a variable to avoid confusing sed.
16008   lt_compile=`echo "$ac_compile" | $SED \
16009   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16010   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16011   -e 's:$: $lt_compiler_flag:'`
16012   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16013   (eval "$lt_compile" 2>conftest.err)
16014   ac_status=$?
16015   cat conftest.err >&5
16016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017   if (exit $ac_status) && test -s "$ac_outfile"; then
16018     # The compiler can only warn and ignore the option if not recognized
16019     # So say no if there are warnings other than the usual output.
16020     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16021     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16022     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16023       lt_cv_prog_compiler_pic_works_CXX=yes
16024     fi
16025   fi
16026   $RM conftest*
16027
16028fi
16029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16030$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16031
16032if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16033    case $lt_prog_compiler_pic_CXX in
16034     "" | " "*) ;;
16035     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16036     esac
16037else
16038    lt_prog_compiler_pic_CXX=
16039     lt_prog_compiler_can_build_shared_CXX=no
16040fi
16041
16042fi
16043
16044
16045
16046
16047
16048#
16049# Check to make sure the static flag actually works.
16050#
16051wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16053$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16054if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16055  $as_echo_n "(cached) " >&6
16056else
16057  lt_cv_prog_compiler_static_works_CXX=no
16058   save_LDFLAGS=$LDFLAGS
16059   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16060   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16061   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16062     # The linker can only warn and ignore the option if not recognized
16063     # So say no if there are warnings
16064     if test -s conftest.err; then
16065       # Append any errors to the config.log.
16066       cat conftest.err 1>&5
16067       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16068       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16069       if diff conftest.exp conftest.er2 >/dev/null; then
16070         lt_cv_prog_compiler_static_works_CXX=yes
16071       fi
16072     else
16073       lt_cv_prog_compiler_static_works_CXX=yes
16074     fi
16075   fi
16076   $RM -r conftest*
16077   LDFLAGS=$save_LDFLAGS
16078
16079fi
16080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16081$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16082
16083if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16084    :
16085else
16086    lt_prog_compiler_static_CXX=
16087fi
16088
16089
16090
16091
16092    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16093$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16094if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16095  $as_echo_n "(cached) " >&6
16096else
16097  lt_cv_prog_compiler_c_o_CXX=no
16098   $RM -r conftest 2>/dev/null
16099   mkdir conftest
16100   cd conftest
16101   mkdir out
16102   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16103
16104   lt_compiler_flag="-o out/conftest2.$ac_objext"
16105   # Insert the option either (1) after the last *FLAGS variable, or
16106   # (2) before a word containing "conftest.", or (3) at the end.
16107   # Note that $ac_compile itself does not contain backslashes and begins
16108   # with a dollar sign (not a hyphen), so the echo should work correctly.
16109   lt_compile=`echo "$ac_compile" | $SED \
16110   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16111   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16112   -e 's:$: $lt_compiler_flag:'`
16113   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16114   (eval "$lt_compile" 2>out/conftest.err)
16115   ac_status=$?
16116   cat out/conftest.err >&5
16117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16119   then
16120     # The compiler can only warn and ignore the option if not recognized
16121     # So say no if there are warnings
16122     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16123     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16124     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16125       lt_cv_prog_compiler_c_o_CXX=yes
16126     fi
16127   fi
16128   chmod u+w . 2>&5
16129   $RM conftest*
16130   # SGI C++ compiler will create directory out/ii_files/ for
16131   # template instantiation
16132   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16133   $RM out/* && rmdir out
16134   cd ..
16135   $RM -r conftest
16136   $RM conftest*
16137
16138fi
16139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16140$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16141
16142
16143
16144    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16145$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16146if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16147  $as_echo_n "(cached) " >&6
16148else
16149  lt_cv_prog_compiler_c_o_CXX=no
16150   $RM -r conftest 2>/dev/null
16151   mkdir conftest
16152   cd conftest
16153   mkdir out
16154   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16155
16156   lt_compiler_flag="-o out/conftest2.$ac_objext"
16157   # Insert the option either (1) after the last *FLAGS variable, or
16158   # (2) before a word containing "conftest.", or (3) at the end.
16159   # Note that $ac_compile itself does not contain backslashes and begins
16160   # with a dollar sign (not a hyphen), so the echo should work correctly.
16161   lt_compile=`echo "$ac_compile" | $SED \
16162   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16163   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16164   -e 's:$: $lt_compiler_flag:'`
16165   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16166   (eval "$lt_compile" 2>out/conftest.err)
16167   ac_status=$?
16168   cat out/conftest.err >&5
16169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16171   then
16172     # The compiler can only warn and ignore the option if not recognized
16173     # So say no if there are warnings
16174     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16175     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16176     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16177       lt_cv_prog_compiler_c_o_CXX=yes
16178     fi
16179   fi
16180   chmod u+w . 2>&5
16181   $RM conftest*
16182   # SGI C++ compiler will create directory out/ii_files/ for
16183   # template instantiation
16184   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16185   $RM out/* && rmdir out
16186   cd ..
16187   $RM -r conftest
16188   $RM conftest*
16189
16190fi
16191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16192$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16193
16194
16195
16196
16197hard_links=nottested
16198if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
16199  # do not overwrite the value of need_locks provided by the user
16200  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16201$as_echo_n "checking if we can lock with hard links... " >&6; }
16202  hard_links=yes
16203  $RM conftest*
16204  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16205  touch conftest.a
16206  ln conftest.a conftest.b 2>&5 || hard_links=no
16207  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16209$as_echo "$hard_links" >&6; }
16210  if test no = "$hard_links"; then
16211    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16212$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16213    need_locks=warn
16214  fi
16215else
16216  need_locks=no
16217fi
16218
16219
16220
16221    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16222$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16223
16224  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16225  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16226  case $host_os in
16227  aix[4-9]*)
16228    # If we're using GNU nm, then we don't want the "-C" option.
16229    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16230    # Without the "-l" option, or with the "-B" option, AIX nm treats
16231    # weak defined symbols like other global defined symbols, whereas
16232    # GNU nm marks them as "W".
16233    # While the 'weak' keyword is ignored in the Export File, we need
16234    # it in the Import File for the 'aix-soname' feature, so we have
16235    # to replace the "-B" option with "-P" for AIX nm.
16236    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16237      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'
16238    else
16239      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'
16240    fi
16241    ;;
16242  pw32*)
16243    export_symbols_cmds_CXX=$ltdll_cmds
16244    ;;
16245  cygwin* | mingw* | cegcc*)
16246    case $cc_basename in
16247    cl*)
16248      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16249      ;;
16250    *)
16251      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'
16252      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16253      ;;
16254    esac
16255    ;;
16256  linux* | k*bsd*-gnu | gnu*)
16257    link_all_deplibs_CXX=no
16258    ;;
16259  *)
16260    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16261    ;;
16262  esac
16263
16264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16265$as_echo "$ld_shlibs_CXX" >&6; }
16266test no = "$ld_shlibs_CXX" && can_build_shared=no
16267
16268with_gnu_ld_CXX=$with_gnu_ld
16269
16270
16271
16272
16273
16274
16275#
16276# Do we need to explicitly link libc?
16277#
16278case "x$archive_cmds_need_lc_CXX" in
16279x|xyes)
16280  # Assume -lc should be added
16281  archive_cmds_need_lc_CXX=yes
16282
16283  if test yes,yes = "$GCC,$enable_shared"; then
16284    case $archive_cmds_CXX in
16285    *'~'*)
16286      # FIXME: we may have to deal with multi-command sequences.
16287      ;;
16288    '$CC '*)
16289      # Test whether the compiler implicitly links with -lc since on some
16290      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16291      # to ld, don't add -lc before -lgcc.
16292      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16293$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16294if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16295  $as_echo_n "(cached) " >&6
16296else
16297  $RM conftest*
16298	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16299
16300	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16301  (eval $ac_compile) 2>&5
16302  ac_status=$?
16303  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16304  test $ac_status = 0; } 2>conftest.err; then
16305	  soname=conftest
16306	  lib=conftest
16307	  libobjs=conftest.$ac_objext
16308	  deplibs=
16309	  wl=$lt_prog_compiler_wl_CXX
16310	  pic_flag=$lt_prog_compiler_pic_CXX
16311	  compiler_flags=-v
16312	  linker_flags=-v
16313	  verstring=
16314	  output_objdir=.
16315	  libname=conftest
16316	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16317	  allow_undefined_flag_CXX=
16318	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16319  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16320  ac_status=$?
16321  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16322  test $ac_status = 0; }
16323	  then
16324	    lt_cv_archive_cmds_need_lc_CXX=no
16325	  else
16326	    lt_cv_archive_cmds_need_lc_CXX=yes
16327	  fi
16328	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16329	else
16330	  cat conftest.err 1>&5
16331	fi
16332	$RM conftest*
16333
16334fi
16335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16336$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16337      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16338      ;;
16339    esac
16340  fi
16341  ;;
16342esac
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16406$as_echo_n "checking dynamic linker characteristics... " >&6; }
16407
16408library_names_spec=
16409libname_spec='lib$name'
16410soname_spec=
16411shrext_cmds=.so
16412postinstall_cmds=
16413postuninstall_cmds=
16414finish_cmds=
16415finish_eval=
16416shlibpath_var=
16417shlibpath_overrides_runpath=unknown
16418version_type=none
16419dynamic_linker="$host_os ld.so"
16420sys_lib_dlsearch_path_spec="/lib /usr/lib"
16421need_lib_prefix=unknown
16422hardcode_into_libs=no
16423
16424# when you set need_version to no, make sure it does not cause -set_version
16425# flags to be left without arguments
16426need_version=unknown
16427
16428
16429
16430case $host_os in
16431aix3*)
16432  version_type=linux # correct to gnu/linux during the next big refactor
16433  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16434  shlibpath_var=LIBPATH
16435
16436  # AIX 3 has no versioning support, so we append a major version to the name.
16437  soname_spec='$libname$release$shared_ext$major'
16438  ;;
16439
16440aix[4-9]*)
16441  version_type=linux # correct to gnu/linux during the next big refactor
16442  need_lib_prefix=no
16443  need_version=no
16444  hardcode_into_libs=yes
16445  if test ia64 = "$host_cpu"; then
16446    # AIX 5 supports IA64
16447    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16448    shlibpath_var=LD_LIBRARY_PATH
16449  else
16450    # With GCC up to 2.95.x, collect2 would create an import file
16451    # for dependence libraries.  The import file would start with
16452    # the line '#! .'.  This would cause the generated library to
16453    # depend on '.', always an invalid library.  This was fixed in
16454    # development snapshots of GCC prior to 3.0.
16455    case $host_os in
16456      aix4 | aix4.[01] | aix4.[01].*)
16457      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16458	   echo ' yes '
16459	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16460	:
16461      else
16462	can_build_shared=no
16463      fi
16464      ;;
16465    esac
16466    # Using Import Files as archive members, it is possible to support
16467    # filename-based versioning of shared library archives on AIX. While
16468    # this would work for both with and without runtime linking, it will
16469    # prevent static linking of such archives. So we do filename-based
16470    # shared library versioning with .so extension only, which is used
16471    # when both runtime linking and shared linking is enabled.
16472    # Unfortunately, runtime linking may impact performance, so we do
16473    # not want this to be the default eventually. Also, we use the
16474    # versioned .so libs for executables only if there is the -brtl
16475    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16476    # To allow for filename-based versioning support, we need to create
16477    # libNAME.so.V as an archive file, containing:
16478    # *) an Import File, referring to the versioned filename of the
16479    #    archive as well as the shared archive member, telling the
16480    #    bitwidth (32 or 64) of that shared object, and providing the
16481    #    list of exported symbols of that shared object, eventually
16482    #    decorated with the 'weak' keyword
16483    # *) the shared object with the F_LOADONLY flag set, to really avoid
16484    #    it being seen by the linker.
16485    # At run time we better use the real file rather than another symlink,
16486    # but for link time we create the symlink libNAME.so -> libNAME.so.V
16487
16488    case $with_aix_soname,$aix_use_runtimelinking in
16489    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16490    # soname into executable. Probably we can add versioning support to
16491    # collect2, so additional links can be useful in future.
16492    aix,yes) # traditional libtool
16493      dynamic_linker='AIX unversionable lib.so'
16494      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16495      # instead of lib<name>.a to let people know that these are not
16496      # typical AIX shared libraries.
16497      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16498      ;;
16499    aix,no) # traditional AIX only
16500      dynamic_linker='AIX lib.a(lib.so.V)'
16501      # We preserve .a as extension for shared libraries through AIX4.2
16502      # and later when we are not doing run time linking.
16503      library_names_spec='$libname$release.a $libname.a'
16504      soname_spec='$libname$release$shared_ext$major'
16505      ;;
16506    svr4,*) # full svr4 only
16507      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16508      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16509      # We do not specify a path in Import Files, so LIBPATH fires.
16510      shlibpath_overrides_runpath=yes
16511      ;;
16512    *,yes) # both, prefer svr4
16513      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16514      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16515      # unpreferred sharedlib libNAME.a needs extra handling
16516      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"'
16517      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"'
16518      # We do not specify a path in Import Files, so LIBPATH fires.
16519      shlibpath_overrides_runpath=yes
16520      ;;
16521    *,no) # both, prefer aix
16522      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16523      library_names_spec='$libname$release.a $libname.a'
16524      soname_spec='$libname$release$shared_ext$major'
16525      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16526      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)'
16527      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"'
16528      ;;
16529    esac
16530    shlibpath_var=LIBPATH
16531  fi
16532  ;;
16533
16534amigaos*)
16535  case $host_cpu in
16536  powerpc)
16537    # Since July 2007 AmigaOS4 officially supports .so libraries.
16538    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16539    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16540    ;;
16541  m68k)
16542    library_names_spec='$libname.ixlibrary $libname.a'
16543    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16544    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'
16545    ;;
16546  esac
16547  ;;
16548
16549beos*)
16550  library_names_spec='$libname$shared_ext'
16551  dynamic_linker="$host_os ld.so"
16552  shlibpath_var=LIBRARY_PATH
16553  ;;
16554
16555bsdi[45]*)
16556  version_type=linux # correct to gnu/linux during the next big refactor
16557  need_version=no
16558  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16559  soname_spec='$libname$release$shared_ext$major'
16560  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16561  shlibpath_var=LD_LIBRARY_PATH
16562  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16563  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16564  # the default ld.so.conf also contains /usr/contrib/lib and
16565  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16566  # libtool to hard-code these into programs
16567  ;;
16568
16569cygwin* | mingw* | pw32* | cegcc*)
16570  version_type=windows
16571  shrext_cmds=.dll
16572  need_version=no
16573  need_lib_prefix=no
16574
16575  case $GCC,$cc_basename in
16576  yes,*)
16577    # gcc
16578    library_names_spec='$libname.dll.a'
16579    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16580    postinstall_cmds='base_file=`basename \$file`~
16581      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16582      dldir=$destdir/`dirname \$dlpath`~
16583      test -d \$dldir || mkdir -p \$dldir~
16584      $install_prog $dir/$dlname \$dldir/$dlname~
16585      chmod a+x \$dldir/$dlname~
16586      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16587        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16588      fi'
16589    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16590      dlpath=$dir/\$dldll~
16591       $RM \$dlpath'
16592    shlibpath_overrides_runpath=yes
16593
16594    case $host_os in
16595    cygwin*)
16596      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16597      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16598
16599      ;;
16600    mingw* | cegcc*)
16601      # MinGW DLLs use traditional 'lib' prefix
16602      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16603      ;;
16604    pw32*)
16605      # pw32 DLLs use 'pw' prefix rather than 'lib'
16606      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16607      ;;
16608    esac
16609    dynamic_linker='Win32 ld.exe'
16610    ;;
16611
16612  *,cl*)
16613    # Native MSVC
16614    libname_spec='$name'
16615    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16616    library_names_spec='$libname.dll.lib'
16617
16618    case $build_os in
16619    mingw*)
16620      sys_lib_search_path_spec=
16621      lt_save_ifs=$IFS
16622      IFS=';'
16623      for lt_path in $LIB
16624      do
16625        IFS=$lt_save_ifs
16626        # Let DOS variable expansion print the short 8.3 style file name.
16627        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16628        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16629      done
16630      IFS=$lt_save_ifs
16631      # Convert to MSYS style.
16632      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16633      ;;
16634    cygwin*)
16635      # Convert to unix form, then to dos form, then back to unix form
16636      # but this time dos style (no spaces!) so that the unix form looks
16637      # like /cygdrive/c/PROGRA~1:/cygdr...
16638      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16639      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16640      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16641      ;;
16642    *)
16643      sys_lib_search_path_spec=$LIB
16644      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16645        # It is most probably a Windows format PATH.
16646        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16647      else
16648        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16649      fi
16650      # FIXME: find the short name or the path components, as spaces are
16651      # common. (e.g. "Program Files" -> "PROGRA~1")
16652      ;;
16653    esac
16654
16655    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16656    postinstall_cmds='base_file=`basename \$file`~
16657      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16658      dldir=$destdir/`dirname \$dlpath`~
16659      test -d \$dldir || mkdir -p \$dldir~
16660      $install_prog $dir/$dlname \$dldir/$dlname'
16661    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16662      dlpath=$dir/\$dldll~
16663       $RM \$dlpath'
16664    shlibpath_overrides_runpath=yes
16665    dynamic_linker='Win32 link.exe'
16666    ;;
16667
16668  *)
16669    # Assume MSVC wrapper
16670    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16671    dynamic_linker='Win32 ld.exe'
16672    ;;
16673  esac
16674  # FIXME: first we should search . and the directory the executable is in
16675  shlibpath_var=PATH
16676  ;;
16677
16678darwin* | rhapsody*)
16679  dynamic_linker="$host_os dyld"
16680  version_type=darwin
16681  need_lib_prefix=no
16682  need_version=no
16683  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16684  soname_spec='$libname$release$major$shared_ext'
16685  shlibpath_overrides_runpath=yes
16686  shlibpath_var=DYLD_LIBRARY_PATH
16687  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16688
16689  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16690  ;;
16691
16692dgux*)
16693  version_type=linux # correct to gnu/linux during the next big refactor
16694  need_lib_prefix=no
16695  need_version=no
16696  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16697  soname_spec='$libname$release$shared_ext$major'
16698  shlibpath_var=LD_LIBRARY_PATH
16699  ;;
16700
16701freebsd* | dragonfly*)
16702  # DragonFly does not have aout.  When/if they implement a new
16703  # versioning mechanism, adjust this.
16704  if test -x /usr/bin/objformat; then
16705    objformat=`/usr/bin/objformat`
16706  else
16707    case $host_os in
16708    freebsd[23].*) objformat=aout ;;
16709    *) objformat=elf ;;
16710    esac
16711  fi
16712  version_type=freebsd-$objformat
16713  case $version_type in
16714    freebsd-elf*)
16715      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16716      soname_spec='$libname$release$shared_ext$major'
16717      need_version=no
16718      need_lib_prefix=no
16719      ;;
16720    freebsd-*)
16721      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16722      need_version=yes
16723      ;;
16724  esac
16725  shlibpath_var=LD_LIBRARY_PATH
16726  case $host_os in
16727  freebsd2.*)
16728    shlibpath_overrides_runpath=yes
16729    ;;
16730  freebsd3.[01]* | freebsdelf3.[01]*)
16731    shlibpath_overrides_runpath=yes
16732    hardcode_into_libs=yes
16733    ;;
16734  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16735  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16736    shlibpath_overrides_runpath=no
16737    hardcode_into_libs=yes
16738    ;;
16739  *) # from 4.6 on, and DragonFly
16740    shlibpath_overrides_runpath=yes
16741    hardcode_into_libs=yes
16742    ;;
16743  esac
16744  ;;
16745
16746haiku*)
16747  version_type=linux # correct to gnu/linux during the next big refactor
16748  need_lib_prefix=no
16749  need_version=no
16750  dynamic_linker="$host_os runtime_loader"
16751  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16752  soname_spec='$libname$release$shared_ext$major'
16753  shlibpath_var=LIBRARY_PATH
16754  shlibpath_overrides_runpath=no
16755  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16756  hardcode_into_libs=yes
16757  ;;
16758
16759hpux9* | hpux10* | hpux11*)
16760  # Give a soname corresponding to the major version so that dld.sl refuses to
16761  # link against other versions.
16762  version_type=sunos
16763  need_lib_prefix=no
16764  need_version=no
16765  case $host_cpu in
16766  ia64*)
16767    shrext_cmds='.so'
16768    hardcode_into_libs=yes
16769    dynamic_linker="$host_os dld.so"
16770    shlibpath_var=LD_LIBRARY_PATH
16771    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16772    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16773    soname_spec='$libname$release$shared_ext$major'
16774    if test 32 = "$HPUX_IA64_MODE"; then
16775      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16776      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16777    else
16778      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16779      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16780    fi
16781    ;;
16782  hppa*64*)
16783    shrext_cmds='.sl'
16784    hardcode_into_libs=yes
16785    dynamic_linker="$host_os dld.sl"
16786    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16787    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16788    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16789    soname_spec='$libname$release$shared_ext$major'
16790    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16791    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16792    ;;
16793  *)
16794    shrext_cmds='.sl'
16795    dynamic_linker="$host_os dld.sl"
16796    shlibpath_var=SHLIB_PATH
16797    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16798    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16799    soname_spec='$libname$release$shared_ext$major'
16800    ;;
16801  esac
16802  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16803  postinstall_cmds='chmod 555 $lib'
16804  # or fails outright, so override atomically:
16805  install_override_mode=555
16806  ;;
16807
16808interix[3-9]*)
16809  version_type=linux # correct to gnu/linux during the next big refactor
16810  need_lib_prefix=no
16811  need_version=no
16812  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16813  soname_spec='$libname$release$shared_ext$major'
16814  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16815  shlibpath_var=LD_LIBRARY_PATH
16816  shlibpath_overrides_runpath=no
16817  hardcode_into_libs=yes
16818  ;;
16819
16820irix5* | irix6* | nonstopux*)
16821  case $host_os in
16822    nonstopux*) version_type=nonstopux ;;
16823    *)
16824	if test yes = "$lt_cv_prog_gnu_ld"; then
16825		version_type=linux # correct to gnu/linux during the next big refactor
16826	else
16827		version_type=irix
16828	fi ;;
16829  esac
16830  need_lib_prefix=no
16831  need_version=no
16832  soname_spec='$libname$release$shared_ext$major'
16833  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16834  case $host_os in
16835  irix5* | nonstopux*)
16836    libsuff= shlibsuff=
16837    ;;
16838  *)
16839    case $LD in # libtool.m4 will add one of these switches to LD
16840    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16841      libsuff= shlibsuff= libmagic=32-bit;;
16842    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16843      libsuff=32 shlibsuff=N32 libmagic=N32;;
16844    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16845      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16846    *) libsuff= shlibsuff= libmagic=never-match;;
16847    esac
16848    ;;
16849  esac
16850  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16851  shlibpath_overrides_runpath=no
16852  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16853  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16854  hardcode_into_libs=yes
16855  ;;
16856
16857# No shared lib support for Linux oldld, aout, or coff.
16858linux*oldld* | linux*aout* | linux*coff*)
16859  dynamic_linker=no
16860  ;;
16861
16862linux*android*)
16863  version_type=none # Android doesn't support versioned libraries.
16864  need_lib_prefix=no
16865  need_version=no
16866  library_names_spec='$libname$release$shared_ext'
16867  soname_spec='$libname$release$shared_ext'
16868  finish_cmds=
16869  shlibpath_var=LD_LIBRARY_PATH
16870  shlibpath_overrides_runpath=yes
16871
16872  # This implies no fast_install, which is unacceptable.
16873  # Some rework will be needed to allow for fast_install
16874  # before this can be enabled.
16875  hardcode_into_libs=yes
16876
16877  dynamic_linker='Android linker'
16878  # Don't embed -rpath directories since the linker doesn't support them.
16879  hardcode_libdir_flag_spec_CXX='-L$libdir'
16880  ;;
16881
16882# This must be glibc/ELF.
16883linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16884  version_type=linux # correct to gnu/linux during the next big refactor
16885  need_lib_prefix=no
16886  need_version=no
16887  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16888  soname_spec='$libname$release$shared_ext$major'
16889  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16890  shlibpath_var=LD_LIBRARY_PATH
16891  shlibpath_overrides_runpath=no
16892
16893  # Some binutils ld are patched to set DT_RUNPATH
16894  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16895  $as_echo_n "(cached) " >&6
16896else
16897  lt_cv_shlibpath_overrides_runpath=no
16898    save_LDFLAGS=$LDFLAGS
16899    save_libdir=$libdir
16900    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16901	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16902    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903/* end confdefs.h.  */
16904
16905int
16906main ()
16907{
16908
16909  ;
16910  return 0;
16911}
16912_ACEOF
16913if ac_fn_cxx_try_link "$LINENO"; then :
16914  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16915  lt_cv_shlibpath_overrides_runpath=yes
16916fi
16917fi
16918rm -f core conftest.err conftest.$ac_objext \
16919    conftest$ac_exeext conftest.$ac_ext
16920    LDFLAGS=$save_LDFLAGS
16921    libdir=$save_libdir
16922
16923fi
16924
16925  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16926
16927  # This implies no fast_install, which is unacceptable.
16928  # Some rework will be needed to allow for fast_install
16929  # before this can be enabled.
16930  hardcode_into_libs=yes
16931
16932  # Ideally, we could use ldconfig to report *all* directores which are
16933  # searched for libraries, however this is still not possible.  Aside from not
16934  # being certain /sbin/ldconfig is available, command
16935  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16936  # even though it is searched at run-time.  Try to do the best guess by
16937  # appending ld.so.conf contents (and includes) to the search path.
16938  if test -f /etc/ld.so.conf; then
16939    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' ' '`
16940    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16941  fi
16942
16943  # We used to test for /lib/ld.so.1 and disable shared libraries on
16944  # powerpc, because MkLinux only supported shared libraries with the
16945  # GNU dynamic linker.  Since this was broken with cross compilers,
16946  # most powerpc-linux boxes support dynamic linking these days and
16947  # people can always --disable-shared, the test was removed, and we
16948  # assume the GNU/Linux dynamic linker is in use.
16949  dynamic_linker='GNU/Linux ld.so'
16950  ;;
16951
16952netbsdelf*-gnu)
16953  version_type=linux
16954  need_lib_prefix=no
16955  need_version=no
16956  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16957  soname_spec='${libname}${release}${shared_ext}$major'
16958  shlibpath_var=LD_LIBRARY_PATH
16959  shlibpath_overrides_runpath=no
16960  hardcode_into_libs=yes
16961  dynamic_linker='NetBSD ld.elf_so'
16962  ;;
16963
16964netbsd*)
16965  version_type=sunos
16966  need_lib_prefix=no
16967  need_version=no
16968  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16969    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16970    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16971    dynamic_linker='NetBSD (a.out) ld.so'
16972  else
16973    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16974    soname_spec='$libname$release$shared_ext$major'
16975    dynamic_linker='NetBSD ld.elf_so'
16976  fi
16977  shlibpath_var=LD_LIBRARY_PATH
16978  shlibpath_overrides_runpath=yes
16979  hardcode_into_libs=yes
16980  ;;
16981
16982newsos6)
16983  version_type=linux # correct to gnu/linux during the next big refactor
16984  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16985  shlibpath_var=LD_LIBRARY_PATH
16986  shlibpath_overrides_runpath=yes
16987  ;;
16988
16989*nto* | *qnx*)
16990  version_type=qnx
16991  need_lib_prefix=no
16992  need_version=no
16993  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16994  soname_spec='$libname$release$shared_ext$major'
16995  shlibpath_var=LD_LIBRARY_PATH
16996  shlibpath_overrides_runpath=no
16997  hardcode_into_libs=yes
16998  dynamic_linker='ldqnx.so'
16999  ;;
17000
17001openbsd* | bitrig*)
17002  version_type=sunos
17003  sys_lib_dlsearch_path_spec=/usr/lib
17004  need_lib_prefix=no
17005  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17006    need_version=no
17007  else
17008    need_version=yes
17009  fi
17010  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17011  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17012  shlibpath_var=LD_LIBRARY_PATH
17013  shlibpath_overrides_runpath=yes
17014  ;;
17015
17016os2*)
17017  libname_spec='$name'
17018  version_type=windows
17019  shrext_cmds=.dll
17020  need_version=no
17021  need_lib_prefix=no
17022  # OS/2 can only load a DLL with a base name of 8 characters or less.
17023  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
17024    v=$($ECHO $release$versuffix | tr -d .-);
17025    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17026    $ECHO $n$v`$shared_ext'
17027  library_names_spec='${libname}_dll.$libext'
17028  dynamic_linker='OS/2 ld.exe'
17029  shlibpath_var=BEGINLIBPATH
17030  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17031  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17032  postinstall_cmds='base_file=`basename \$file`~
17033    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17034    dldir=$destdir/`dirname \$dlpath`~
17035    test -d \$dldir || mkdir -p \$dldir~
17036    $install_prog $dir/$dlname \$dldir/$dlname~
17037    chmod a+x \$dldir/$dlname~
17038    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17039      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17040    fi'
17041  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17042    dlpath=$dir/\$dldll~
17043    $RM \$dlpath'
17044  ;;
17045
17046osf3* | osf4* | osf5*)
17047  version_type=osf
17048  need_lib_prefix=no
17049  need_version=no
17050  soname_spec='$libname$release$shared_ext$major'
17051  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17052  shlibpath_var=LD_LIBRARY_PATH
17053  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17054  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17055  ;;
17056
17057rdos*)
17058  dynamic_linker=no
17059  ;;
17060
17061solaris*)
17062  version_type=linux # correct to gnu/linux during the next big refactor
17063  need_lib_prefix=no
17064  need_version=no
17065  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17066  soname_spec='$libname$release$shared_ext$major'
17067  shlibpath_var=LD_LIBRARY_PATH
17068  shlibpath_overrides_runpath=yes
17069  hardcode_into_libs=yes
17070  # ldd complains unless libraries are executable
17071  postinstall_cmds='chmod +x $lib'
17072  ;;
17073
17074sunos4*)
17075  version_type=sunos
17076  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17077  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17078  shlibpath_var=LD_LIBRARY_PATH
17079  shlibpath_overrides_runpath=yes
17080  if test yes = "$with_gnu_ld"; then
17081    need_lib_prefix=no
17082  fi
17083  need_version=yes
17084  ;;
17085
17086sysv4 | sysv4.3*)
17087  version_type=linux # correct to gnu/linux during the next big refactor
17088  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17089  soname_spec='$libname$release$shared_ext$major'
17090  shlibpath_var=LD_LIBRARY_PATH
17091  case $host_vendor in
17092    sni)
17093      shlibpath_overrides_runpath=no
17094      need_lib_prefix=no
17095      runpath_var=LD_RUN_PATH
17096      ;;
17097    siemens)
17098      need_lib_prefix=no
17099      ;;
17100    motorola)
17101      need_lib_prefix=no
17102      need_version=no
17103      shlibpath_overrides_runpath=no
17104      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17105      ;;
17106  esac
17107  ;;
17108
17109sysv4*MP*)
17110  if test -d /usr/nec; then
17111    version_type=linux # correct to gnu/linux during the next big refactor
17112    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17113    soname_spec='$libname$shared_ext.$major'
17114    shlibpath_var=LD_LIBRARY_PATH
17115  fi
17116  ;;
17117
17118sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17119  version_type=sco
17120  need_lib_prefix=no
17121  need_version=no
17122  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17123  soname_spec='$libname$release$shared_ext$major'
17124  shlibpath_var=LD_LIBRARY_PATH
17125  shlibpath_overrides_runpath=yes
17126  hardcode_into_libs=yes
17127  if test yes = "$with_gnu_ld"; then
17128    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17129  else
17130    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17131    case $host_os in
17132      sco3.2v5*)
17133        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17134	;;
17135    esac
17136  fi
17137  sys_lib_dlsearch_path_spec='/usr/lib'
17138  ;;
17139
17140tpf*)
17141  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17142  version_type=linux # correct to gnu/linux during the next big refactor
17143  need_lib_prefix=no
17144  need_version=no
17145  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17146  shlibpath_var=LD_LIBRARY_PATH
17147  shlibpath_overrides_runpath=no
17148  hardcode_into_libs=yes
17149  ;;
17150
17151uts4*)
17152  version_type=linux # correct to gnu/linux during the next big refactor
17153  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17154  soname_spec='$libname$release$shared_ext$major'
17155  shlibpath_var=LD_LIBRARY_PATH
17156  ;;
17157
17158*)
17159  dynamic_linker=no
17160  ;;
17161esac
17162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17163$as_echo "$dynamic_linker" >&6; }
17164test no = "$dynamic_linker" && can_build_shared=no
17165
17166variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17167if test yes = "$GCC"; then
17168  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17169fi
17170
17171if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17172  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
17173fi
17174
17175if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17176  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
17177fi
17178
17179# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17180configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
17181
17182# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17183func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
17184
17185# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17186configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17228$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17229hardcode_action_CXX=
17230if test -n "$hardcode_libdir_flag_spec_CXX" ||
17231   test -n "$runpath_var_CXX" ||
17232   test yes = "$hardcode_automatic_CXX"; then
17233
17234  # We can hardcode non-existent directories.
17235  if test no != "$hardcode_direct_CXX" &&
17236     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17237     # have to relink, otherwise we might link with an installed library
17238     # when we should be linking with a yet-to-be-installed one
17239     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17240     test no != "$hardcode_minus_L_CXX"; then
17241    # Linking always hardcodes the temporary library directory.
17242    hardcode_action_CXX=relink
17243  else
17244    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17245    hardcode_action_CXX=immediate
17246  fi
17247else
17248  # We cannot hardcode anything, or else we can only hardcode existing
17249  # directories.
17250  hardcode_action_CXX=unsupported
17251fi
17252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17253$as_echo "$hardcode_action_CXX" >&6; }
17254
17255if test relink = "$hardcode_action_CXX" ||
17256   test yes = "$inherit_rpath_CXX"; then
17257  # Fast installation is not supported
17258  enable_fast_install=no
17259elif test yes = "$shlibpath_overrides_runpath" ||
17260     test no = "$enable_shared"; then
17261  # Fast installation is not necessary
17262  enable_fast_install=needless
17263fi
17264
17265
17266
17267
17268
17269
17270
17271  fi # test -n "$compiler"
17272
17273  CC=$lt_save_CC
17274  CFLAGS=$lt_save_CFLAGS
17275  LDCXX=$LD
17276  LD=$lt_save_LD
17277  GCC=$lt_save_GCC
17278  with_gnu_ld=$lt_save_with_gnu_ld
17279  lt_cv_path_LDCXX=$lt_cv_path_LD
17280  lt_cv_path_LD=$lt_save_path_LD
17281  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17282  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17283fi # test yes != "$_lt_caught_CXX_error"
17284
17285ac_ext=c
17286ac_cpp='$CPP $CPPFLAGS'
17287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17289ac_compiler_gnu=$ac_cv_c_compiler_gnu
17290
17291
17292
17293
17294
17295	ac_ext=cpp
17296ac_cpp='$CXXCPP $CPPFLAGS'
17297ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17298ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17299ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17300
17301	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
17302$as_echo_n "checking whether the C++ compiler works... " >&6; }
17303	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304/* end confdefs.h.  */
17305class Test {public: static int main() {return 0;}};
17306int
17307main ()
17308{
17309Test::main();
17310  ;
17311  return 0;
17312}
17313_ACEOF
17314if ac_fn_cxx_try_compile "$LINENO"; then :
17315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17316$as_echo "yes" >&6; }
17317else
17318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17319$as_echo "no" >&6; }
17320			 as_fn_error $? "The C++ compiler $CXX does not work. Please install a working C++ compiler or define CXX to the appropriate value." "$LINENO" 5
17321fi
17322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17323	ac_ext=c
17324ac_cpp='$CPP $CPPFLAGS'
17325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17327ac_compiler_gnu=$ac_cv_c_compiler_gnu
17328
17329
17330    ax_cxx_compile_cxx11_required=true
17331  ac_ext=cpp
17332ac_cpp='$CXXCPP $CPPFLAGS'
17333ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17334ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17335ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17336  ac_success=no
17337  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
17338$as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
17339if ${ax_cv_cxx_compile_cxx11+:} false; then :
17340  $as_echo_n "(cached) " >&6
17341else
17342  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17343/* end confdefs.h.  */
17344
17345  template <typename T>
17346    struct check
17347    {
17348      static_assert(sizeof(int) <= sizeof(T), "not big enough");
17349    };
17350
17351    struct Base {
17352    virtual void f() {}
17353    };
17354    struct Child : public Base {
17355    virtual void f() override {}
17356    };
17357
17358    typedef check<check<bool>> right_angle_brackets;
17359
17360    int a;
17361    decltype(a) b;
17362
17363    typedef check<int> check_type;
17364    check_type c;
17365    check_type&& cr = static_cast<check_type&&>(c);
17366
17367    auto d = a;
17368    auto l = [](){};
17369
17370_ACEOF
17371if ac_fn_cxx_try_compile "$LINENO"; then :
17372  ax_cv_cxx_compile_cxx11=yes
17373else
17374  ax_cv_cxx_compile_cxx11=no
17375fi
17376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17377fi
17378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
17379$as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
17380  if test x$ax_cv_cxx_compile_cxx11 = xyes; then
17381    ac_success=yes
17382  fi
17383
17384    if test x$ac_success = xno; then
17385    for switch in -std=gnu++11 -std=gnu++0x; do
17386      cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
17387      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
17388$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
17389if eval \${$cachevar+:} false; then :
17390  $as_echo_n "(cached) " >&6
17391else
17392  ac_save_CXXFLAGS="$CXXFLAGS"
17393         CXXFLAGS="$CXXFLAGS $switch"
17394         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17395/* end confdefs.h.  */
17396
17397  template <typename T>
17398    struct check
17399    {
17400      static_assert(sizeof(int) <= sizeof(T), "not big enough");
17401    };
17402
17403    struct Base {
17404    virtual void f() {}
17405    };
17406    struct Child : public Base {
17407    virtual void f() override {}
17408    };
17409
17410    typedef check<check<bool>> right_angle_brackets;
17411
17412    int a;
17413    decltype(a) b;
17414
17415    typedef check<int> check_type;
17416    check_type c;
17417    check_type&& cr = static_cast<check_type&&>(c);
17418
17419    auto d = a;
17420    auto l = [](){};
17421
17422_ACEOF
17423if ac_fn_cxx_try_compile "$LINENO"; then :
17424  eval $cachevar=yes
17425else
17426  eval $cachevar=no
17427fi
17428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17429         CXXFLAGS="$ac_save_CXXFLAGS"
17430fi
17431eval ac_res=\$$cachevar
17432	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17433$as_echo "$ac_res" >&6; }
17434      if eval test x\$$cachevar = xyes; then
17435        CXXFLAGS="$CXXFLAGS $switch"
17436        ac_success=yes
17437        break
17438      fi
17439    done
17440  fi
17441
17442    if test x$ac_success = xno; then
17443    for switch in -std=c++11 -std=c++0x; do
17444      cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
17445      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
17446$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
17447if eval \${$cachevar+:} false; then :
17448  $as_echo_n "(cached) " >&6
17449else
17450  ac_save_CXXFLAGS="$CXXFLAGS"
17451         CXXFLAGS="$CXXFLAGS $switch"
17452         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453/* end confdefs.h.  */
17454
17455  template <typename T>
17456    struct check
17457    {
17458      static_assert(sizeof(int) <= sizeof(T), "not big enough");
17459    };
17460
17461    struct Base {
17462    virtual void f() {}
17463    };
17464    struct Child : public Base {
17465    virtual void f() override {}
17466    };
17467
17468    typedef check<check<bool>> right_angle_brackets;
17469
17470    int a;
17471    decltype(a) b;
17472
17473    typedef check<int> check_type;
17474    check_type c;
17475    check_type&& cr = static_cast<check_type&&>(c);
17476
17477    auto d = a;
17478    auto l = [](){};
17479
17480_ACEOF
17481if ac_fn_cxx_try_compile "$LINENO"; then :
17482  eval $cachevar=yes
17483else
17484  eval $cachevar=no
17485fi
17486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17487         CXXFLAGS="$ac_save_CXXFLAGS"
17488fi
17489eval ac_res=\$$cachevar
17490	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17491$as_echo "$ac_res" >&6; }
17492      if eval test x\$$cachevar = xyes; then
17493        CXXFLAGS="$CXXFLAGS $switch"
17494        ac_success=yes
17495        break
17496      fi
17497    done
17498  fi
17499  ac_ext=c
17500ac_cpp='$CPP $CPPFLAGS'
17501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503ac_compiler_gnu=$ac_cv_c_compiler_gnu
17504
17505  if test x$ax_cxx_compile_cxx11_required = xtrue; then
17506    if test x$ac_success = xno; then
17507      as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
17508    fi
17509  else
17510    if test x$ac_success = xno; then
17511      HAVE_CXX11=0
17512      { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
17513$as_echo "$as_me: No compiler with C++11 support was found" >&6;}
17514    else
17515      HAVE_CXX11=1
17516
17517$as_echo "#define HAVE_CXX11 1" >>confdefs.h
17518
17519    fi
17520
17521
17522  fi
17523
17524
17525
17526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
17527$as_echo_n "checking whether ln -s works... " >&6; }
17528LN_S=$as_ln_s
17529if test "$LN_S" = "ln -s"; then
17530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17531$as_echo "yes" >&6; }
17532else
17533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
17534$as_echo "no, using $LN_S" >&6; }
17535fi
17536
17537
17538# autoscan start
17539
17540# Checks for header files.
17541for ac_header in fcntl.h glob.h stdlib.h sys/time.h errno.h limits.h
17542do :
17543  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17544ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17545if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17546  cat >>confdefs.h <<_ACEOF
17547#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17548_ACEOF
17549
17550fi
17551
17552done
17553
17554
17555# Checks for dependencies needed by ctags
17556for ac_header in fnmatch.h direct.h io.h sys/dir.h
17557do :
17558  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17559ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17560if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17561  cat >>confdefs.h <<_ACEOF
17562#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17563_ACEOF
17564
17565fi
17566
17567done
17568
17569
17570$as_echo "#define USE_STDBOOL_H 1" >>confdefs.h
17571
17572
17573$as_echo "#define CTAGS_LIB 1" >>confdefs.h
17574
17575
17576# Checks for typedefs, structures, and compiler characteristics.
17577ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17578if test "x$ac_cv_type_off_t" = xyes; then :
17579
17580else
17581
17582cat >>confdefs.h <<_ACEOF
17583#define off_t long int
17584_ACEOF
17585
17586fi
17587
17588ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17589if test "x$ac_cv_type_size_t" = xyes; then :
17590
17591else
17592
17593cat >>confdefs.h <<_ACEOF
17594#define size_t unsigned int
17595_ACEOF
17596
17597fi
17598
17599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17600$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17601if ${ac_cv_struct_tm+:} false; then :
17602  $as_echo_n "(cached) " >&6
17603else
17604  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605/* end confdefs.h.  */
17606#include <sys/types.h>
17607#include <time.h>
17608
17609int
17610main ()
17611{
17612struct tm tm;
17613				     int *p = &tm.tm_sec;
17614				     return !p;
17615  ;
17616  return 0;
17617}
17618_ACEOF
17619if ac_fn_c_try_compile "$LINENO"; then :
17620  ac_cv_struct_tm=time.h
17621else
17622  ac_cv_struct_tm=sys/time.h
17623fi
17624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17625fi
17626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
17627$as_echo "$ac_cv_struct_tm" >&6; }
17628if test $ac_cv_struct_tm = sys/time.h; then
17629
17630$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
17631
17632fi
17633
17634
17635# Checks for library functions.
17636for ac_func in fgetpos fnmatch mkstemp strerror strstr realpath
17637do :
17638  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17639ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17640if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17641  cat >>confdefs.h <<_ACEOF
17642#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17643_ACEOF
17644
17645fi
17646done
17647
17648
17649# Function checks for u-ctags
17650for ac_func in strcasecmp stricmp
17651do :
17652  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17653ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17654if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17655  cat >>confdefs.h <<_ACEOF
17656#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17657_ACEOF
17658 break
17659fi
17660done
17661
17662for ac_func in strncasecmp strnicmp
17663do :
17664  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17665ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17666if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17667  cat >>confdefs.h <<_ACEOF
17668#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17669_ACEOF
17670 break
17671fi
17672done
17673
17674for ac_func in truncate ftruncate chsize
17675do :
17676  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17677ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17678if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17679  cat >>confdefs.h <<_ACEOF
17680#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17681_ACEOF
17682 break
17683fi
17684done
17685
17686# non-functions checks for u-ctags.  Not that we really need those as we don't
17687# use u-ctags's main, but the corresponding macros have to be defined to
17688# something, so simply perform the actual checks.
17689ac_fn_c_check_decl "$LINENO" "__environ" "ac_cv_have_decl___environ" "#include <unistd.h>
17690"
17691if test "x$ac_cv_have_decl___environ" = xyes; then :
17692  ac_have_decl=1
17693else
17694  ac_have_decl=0
17695fi
17696
17697cat >>confdefs.h <<_ACEOF
17698#define HAVE_DECL___ENVIRON $ac_have_decl
17699_ACEOF
17700
17701ac_fn_c_check_decl "$LINENO" "_NSGetEnviron" "ac_cv_have_decl__NSGetEnviron" "#include <crt_externs.h>
17702"
17703if test "x$ac_cv_have_decl__NSGetEnviron" = xyes; then :
17704  ac_have_decl=1
17705else
17706  ac_have_decl=0
17707fi
17708
17709cat >>confdefs.h <<_ACEOF
17710#define HAVE_DECL__NSGETENVIRON $ac_have_decl
17711_ACEOF
17712
17713
17714# autoscan end
17715
17716
17717# check for VCS revision
17718
17719	REVISION="0"
17720
17721	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Git revision" >&5
17722$as_echo_n "checking for Git revision... " >&6; }
17723	# try Git first
17724	GIT=`which git 2>/dev/null`
17725	if test -d "$srcdir/.git" -a "x${GIT}" != "x" -a -x "${GIT}"; then
17726		REVISION=`cd "$srcdir"; "${GIT}" rev-parse --short --revs-only HEAD 2>/dev/null || echo 0`
17727	fi
17728
17729	if test "x${REVISION}" != "x0"; then
17730		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $REVISION" >&5
17731$as_echo "$REVISION" >&6; }
17732
17733	_GEANY_STATUS="$_GEANY_STATUS
17734Compiling Git revision:$REVISION"
17735
17736
17737		# call action-if-found
17738							  CFLAGS="-g -DGEANY_DEBUG $CFLAGS"
17739	else
17740		REVISION="-1"
17741		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
17742$as_echo "none" >&6; }
17743
17744		# call action-if-not-found
17745
17746	fi
17747
17748
17749cat >>confdefs.h <<_ACEOF
17750#define REVISION "$REVISION"
17751_ACEOF
17752
17753
17754
17755# GTK version check
17756# Check whether --enable-gtk2 was given.
17757if test "${enable_gtk2+set}" = set; then :
17758  enableval=$enable_gtk2; enable_gtk2=$enableval
17759else
17760  enable_gtk2=no
17761fi
17762
17763
17764gtk2_package=gtk+-2.0
17765gtk2_min_version=2.24
17766gtk3_package=gtk+-3.0
17767gtk3_min_version=3.0
17768
17769if test "x$enable_gtk2" = "xyes"; then :
17770  gtk_package=$gtk2_package
17771	 gtk_min_version=$gtk2_min_version
17772else
17773  gtk_package=$gtk3_package
17774	 gtk_min_version=$gtk3_min_version
17775fi
17776
17777 if test "x$gtk_package" = "x$gtk3_package"; then
17778  GTK3_TRUE=
17779  GTK3_FALSE='#'
17780else
17781  GTK3_TRUE='#'
17782  GTK3_FALSE=
17783fi
17784
17785
17786# GTK/GLib/GIO checks
17787gtk_modules="$gtk_package >= $gtk_min_version glib-2.0 >= 2.32"
17788gtk_modules_private="gio-2.0 >= 2.32 gmodule-no-export-2.0"
17789
17790
17791
17792
17793
17794
17795
17796if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17797	if test -n "$ac_tool_prefix"; then
17798  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17799set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17801$as_echo_n "checking for $ac_word... " >&6; }
17802if ${ac_cv_path_PKG_CONFIG+:} false; then :
17803  $as_echo_n "(cached) " >&6
17804else
17805  case $PKG_CONFIG in
17806  [\\/]* | ?:[\\/]*)
17807  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17808  ;;
17809  *)
17810  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17811for as_dir in $PATH
17812do
17813  IFS=$as_save_IFS
17814  test -z "$as_dir" && as_dir=.
17815    for ac_exec_ext in '' $ac_executable_extensions; do
17816  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17817    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17818    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17819    break 2
17820  fi
17821done
17822  done
17823IFS=$as_save_IFS
17824
17825  ;;
17826esac
17827fi
17828PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17829if test -n "$PKG_CONFIG"; then
17830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17831$as_echo "$PKG_CONFIG" >&6; }
17832else
17833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17834$as_echo "no" >&6; }
17835fi
17836
17837
17838fi
17839if test -z "$ac_cv_path_PKG_CONFIG"; then
17840  ac_pt_PKG_CONFIG=$PKG_CONFIG
17841  # Extract the first word of "pkg-config", so it can be a program name with args.
17842set dummy pkg-config; ac_word=$2
17843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17844$as_echo_n "checking for $ac_word... " >&6; }
17845if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17846  $as_echo_n "(cached) " >&6
17847else
17848  case $ac_pt_PKG_CONFIG in
17849  [\\/]* | ?:[\\/]*)
17850  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17851  ;;
17852  *)
17853  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17854for as_dir in $PATH
17855do
17856  IFS=$as_save_IFS
17857  test -z "$as_dir" && as_dir=.
17858    for ac_exec_ext in '' $ac_executable_extensions; do
17859  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17860    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17861    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17862    break 2
17863  fi
17864done
17865  done
17866IFS=$as_save_IFS
17867
17868  ;;
17869esac
17870fi
17871ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17872if test -n "$ac_pt_PKG_CONFIG"; then
17873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17874$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17875else
17876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17877$as_echo "no" >&6; }
17878fi
17879
17880  if test "x$ac_pt_PKG_CONFIG" = x; then
17881    PKG_CONFIG=""
17882  else
17883    case $cross_compiling:$ac_tool_warned in
17884yes:)
17885{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17886$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17887ac_tool_warned=yes ;;
17888esac
17889    PKG_CONFIG=$ac_pt_PKG_CONFIG
17890  fi
17891else
17892  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17893fi
17894
17895fi
17896if test -n "$PKG_CONFIG"; then
17897	_pkg_min_version=0.9.0
17898	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17899$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17900	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17901		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17902$as_echo "yes" >&6; }
17903	else
17904		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17905$as_echo "no" >&6; }
17906		PKG_CONFIG=""
17907	fi
17908fi
17909
17910pkg_failed=no
17911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
17912$as_echo_n "checking for GTK... " >&6; }
17913
17914if test -n "$GTK_CFLAGS"; then
17915    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
17916 elif test -n "$PKG_CONFIG"; then
17917    if test -n "$PKG_CONFIG" && \
17918    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_modules \$gtk_modules_private\""; } >&5
17919  ($PKG_CONFIG --exists --print-errors "$gtk_modules $gtk_modules_private") 2>&5
17920  ac_status=$?
17921  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17922  test $ac_status = 0; }; then
17923  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "$gtk_modules $gtk_modules_private" 2>/dev/null`
17924		      test "x$?" != "x0" && pkg_failed=yes
17925else
17926  pkg_failed=yes
17927fi
17928 else
17929    pkg_failed=untried
17930fi
17931if test -n "$GTK_LIBS"; then
17932    pkg_cv_GTK_LIBS="$GTK_LIBS"
17933 elif test -n "$PKG_CONFIG"; then
17934    if test -n "$PKG_CONFIG" && \
17935    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_modules \$gtk_modules_private\""; } >&5
17936  ($PKG_CONFIG --exists --print-errors "$gtk_modules $gtk_modules_private") 2>&5
17937  ac_status=$?
17938  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17939  test $ac_status = 0; }; then
17940  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "$gtk_modules $gtk_modules_private" 2>/dev/null`
17941		      test "x$?" != "x0" && pkg_failed=yes
17942else
17943  pkg_failed=yes
17944fi
17945 else
17946    pkg_failed=untried
17947fi
17948
17949
17950
17951if test $pkg_failed = yes; then
17952   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17953$as_echo "no" >&6; }
17954
17955if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17956        _pkg_short_errors_supported=yes
17957else
17958        _pkg_short_errors_supported=no
17959fi
17960        if test $_pkg_short_errors_supported = yes; then
17961	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$gtk_modules $gtk_modules_private" 2>&1`
17962        else
17963	        GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$gtk_modules $gtk_modules_private" 2>&1`
17964        fi
17965	# Put the nasty error message in config.log where it belongs
17966	echo "$GTK_PKG_ERRORS" >&5
17967
17968	as_fn_error $? "Package requirements ($gtk_modules $gtk_modules_private) were not met:
17969
17970$GTK_PKG_ERRORS
17971
17972Consider adjusting the PKG_CONFIG_PATH environment variable if you
17973installed software in a non-standard prefix.
17974
17975Alternatively, you may set the environment variables GTK_CFLAGS
17976and GTK_LIBS to avoid the need to call pkg-config.
17977See the pkg-config man page for more details." "$LINENO" 5
17978elif test $pkg_failed = untried; then
17979     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17980$as_echo "no" >&6; }
17981	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17982$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17983as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17984is in your PATH or set the PKG_CONFIG environment variable to the full
17985path to pkg-config.
17986
17987Alternatively, you may set the environment variables GTK_CFLAGS
17988and GTK_LIBS to avoid the need to call pkg-config.
17989See the pkg-config man page for more details.
17990
17991To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17992See \`config.log' for more details" "$LINENO" 5; }
17993else
17994	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
17995	GTK_LIBS=$pkg_cv_GTK_LIBS
17996        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17997$as_echo "yes" >&6; }
17998
17999fi
18000DEPENDENCIES=$gtk_modules
18001
18002as_fn_append GTK_CFLAGS " -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32"
18003if test -z "$GTK3_TRUE"; then :
18004  as_fn_append GTK_CFLAGS " -DGDK_DISABLE_DEPRECATION_WARNINGS"
18005fi
18006
18007
18008GTK_VERSION=`$PKG_CONFIG --modversion $gtk_package`
18009
18010
18011	_GEANY_STATUS="$_GEANY_STATUS
18012Using GTK version:${GTK_VERSION}"
18013
18014# GTHREAD checks
18015gthread_modules="gthread-2.0"
18016
18017pkg_failed=no
18018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
18019$as_echo_n "checking for GTHREAD... " >&6; }
18020
18021if test -n "$GTHREAD_CFLAGS"; then
18022    pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
18023 elif test -n "$PKG_CONFIG"; then
18024    if test -n "$PKG_CONFIG" && \
18025    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gthread_modules\""; } >&5
18026  ($PKG_CONFIG --exists --print-errors "$gthread_modules") 2>&5
18027  ac_status=$?
18028  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18029  test $ac_status = 0; }; then
18030  pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "$gthread_modules" 2>/dev/null`
18031		      test "x$?" != "x0" && pkg_failed=yes
18032else
18033  pkg_failed=yes
18034fi
18035 else
18036    pkg_failed=untried
18037fi
18038if test -n "$GTHREAD_LIBS"; then
18039    pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
18040 elif test -n "$PKG_CONFIG"; then
18041    if test -n "$PKG_CONFIG" && \
18042    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gthread_modules\""; } >&5
18043  ($PKG_CONFIG --exists --print-errors "$gthread_modules") 2>&5
18044  ac_status=$?
18045  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18046  test $ac_status = 0; }; then
18047  pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "$gthread_modules" 2>/dev/null`
18048		      test "x$?" != "x0" && pkg_failed=yes
18049else
18050  pkg_failed=yes
18051fi
18052 else
18053    pkg_failed=untried
18054fi
18055
18056
18057
18058if test $pkg_failed = yes; then
18059   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18060$as_echo "no" >&6; }
18061
18062if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18063        _pkg_short_errors_supported=yes
18064else
18065        _pkg_short_errors_supported=no
18066fi
18067        if test $_pkg_short_errors_supported = yes; then
18068	        GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$gthread_modules" 2>&1`
18069        else
18070	        GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$gthread_modules" 2>&1`
18071        fi
18072	# Put the nasty error message in config.log where it belongs
18073	echo "$GTHREAD_PKG_ERRORS" >&5
18074
18075	as_fn_error $? "Package requirements ($gthread_modules) were not met:
18076
18077$GTHREAD_PKG_ERRORS
18078
18079Consider adjusting the PKG_CONFIG_PATH environment variable if you
18080installed software in a non-standard prefix.
18081
18082Alternatively, you may set the environment variables GTHREAD_CFLAGS
18083and GTHREAD_LIBS to avoid the need to call pkg-config.
18084See the pkg-config man page for more details." "$LINENO" 5
18085elif test $pkg_failed = untried; then
18086     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18087$as_echo "no" >&6; }
18088	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18089$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18090as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18091is in your PATH or set the PKG_CONFIG environment variable to the full
18092path to pkg-config.
18093
18094Alternatively, you may set the environment variables GTHREAD_CFLAGS
18095and GTHREAD_LIBS to avoid the need to call pkg-config.
18096See the pkg-config man page for more details.
18097
18098To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18099See \`config.log' for more details" "$LINENO" 5; }
18100else
18101	GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
18102	GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
18103        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18104$as_echo "yes" >&6; }
18105
18106fi
18107
18108
18109
18110# --disable-deprecated switch for GTK purification
18111# Check whether --enable-deprecated was given.
18112if test "${enable_deprecated+set}" = set; then :
18113  enableval=$enable_deprecated; GTK_CFLAGS="$GTK_CFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
18114fi
18115
18116
18117
18118# Check for binary relocation support
18119
18120	# Check whether --enable-binreloc was given.
18121if test "${enable_binreloc+set}" = set; then :
18122  enableval=$enable_binreloc; enable_binreloc=$enableval
18123else
18124  enable_binreloc=no
18125fi
18126
18127
18128	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether binary relocation support should be enabled" >&5
18129$as_echo_n "checking whether binary relocation support should be enabled... " >&6; }
18130	if test "$enable_binreloc" = "yes"; then
18131		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18132$as_echo "yes" >&6; }
18133		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker mappings at /proc/self/maps" >&5
18134$as_echo_n "checking for linker mappings at /proc/self/maps... " >&6; }
18135		if test -e /proc/self/maps; then
18136			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18137$as_echo "yes" >&6; }
18138		else
18139			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18140$as_echo "no" >&6; }
18141			as_fn_error $? "/proc/self/maps is not available. Binary relocation cannot be enabled." "$LINENO" 5
18142			enable_binreloc="no"
18143		fi
18144
18145	elif test "$enable_binreloc" = "auto"; then
18146		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes when available" >&5
18147$as_echo "yes when available" >&6; }
18148		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker mappings at /proc/self/maps" >&5
18149$as_echo_n "checking for linker mappings at /proc/self/maps... " >&6; }
18150		if test -e /proc/self/maps; then
18151			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18152$as_echo "yes" >&6; }
18153			enable_binreloc=yes
18154
18155			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether everything is installed to the same prefix" >&5
18156$as_echo_n "checking whether everything is installed to the same prefix... " >&6; }
18157			if test "$bindir" = '${exec_prefix}/bin' -a "$sbindir" = '${exec_prefix}/sbin' -a \
18158				"$datadir" = '${prefix}/share' -a "$libdir" = '${exec_prefix}/lib' -a \
18159				"$libexecdir" = '${exec_prefix}/libexec' -a "$sysconfdir" = '${prefix}/etc'
18160			then
18161				{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18162$as_echo "yes" >&6; }
18163			else
18164				{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18165$as_echo "no" >&6; }
18166				{ $as_echo "$as_me:${as_lineno-$LINENO}: Binary relocation support will be disabled." >&5
18167$as_echo "$as_me: Binary relocation support will be disabled." >&6;}
18168				enable_binreloc=no
18169			fi
18170
18171		else
18172			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18173$as_echo "no" >&6; }
18174			enable_binreloc=no
18175		fi
18176
18177	elif test "$enable_binreloc" = "no"; then
18178		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18179$as_echo "no" >&6; }
18180	else
18181		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no (unknown value \"$enable_binreloc\")" >&5
18182$as_echo "no (unknown value \"$enable_binreloc\")" >&6; }
18183		enable_binreloc=no
18184	fi
18185	 if test "$enable_binreloc" = "yes"; then
18186  ENABLE_BINRELOC_TRUE=
18187  ENABLE_BINRELOC_FALSE='#'
18188else
18189  ENABLE_BINRELOC_TRUE='#'
18190  ENABLE_BINRELOC_FALSE=
18191fi
18192
18193	if test -z "$ENABLE_BINRELOC_TRUE"; then :
18194
18195
18196$as_echo "#define ENABLE_BINRELOC /**/" >>confdefs.h
18197
18198
18199fi
18200
18201
18202	_GEANY_STATUS="$_GEANY_STATUS
18203Enable binary relocation:$enable_binreloc"
18204
18205
18206# CTags source compatibility (we actually use GRegex instead of POSIX regcomp)
18207
18208$as_echo "#define HAVE_REGCOMP 1" >>confdefs.h
18209
18210# Plugins support
18211# Check whether --enable-static was given.
18212if test "${enable_static+set}" = set; then :
18213  enableval=$enable_static; p=${PACKAGE-default}
18214    case $enableval in
18215    yes) enable_static=yes ;;
18216    no) enable_static=no ;;
18217    *)
18218     enable_static=no
18219      # Look at the argument we got.  We use all the common list separators.
18220      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
18221      for pkg in $enableval; do
18222	IFS=$lt_save_ifs
18223	if test "X$pkg" = "X$p"; then
18224	  enable_static=yes
18225	fi
18226      done
18227      IFS=$lt_save_ifs
18228      ;;
18229    esac
18230else
18231  enable_static=no
18232fi
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244	# Check whether --enable-plugins was given.
18245if test "${enable_plugins+set}" = set; then :
18246  enableval=$enable_plugins; geany_enable_plugins=$enableval
18247else
18248  geany_enable_plugins=yes
18249fi
18250
18251
18252		case "$LIBTOOL" in #(
18253  *--silent*) :
18254     ;; #(
18255  *) :
18256    LIBTOOL="$LIBTOOL --silent"
18257			  ;;
18258esac
18259
18260	if test "x$geany_enable_plugins" = "xyes" ; then
18261
18262$as_echo "#define HAVE_PLUGINS 1" >>confdefs.h
18263
18264		 if true; then
18265  PLUGINS_TRUE=
18266  PLUGINS_FALSE='#'
18267else
18268  PLUGINS_TRUE='#'
18269  PLUGINS_FALSE=
18270fi
18271
18272	else
18273		 if false; then
18274  PLUGINS_TRUE=
18275  PLUGINS_FALSE='#'
18276else
18277  PLUGINS_TRUE='#'
18278  PLUGINS_FALSE=
18279fi
18280
18281	fi
18282
18283
18284	_GEANY_STATUS="$_GEANY_STATUS
18285Build with plugin support:$geany_enable_plugins"
18286
18287
18288# check for mingw specific settings
18289
18290	# Check whether --enable-vte was given.
18291if test "${enable_vte+set}" = set; then :
18292  enableval=$enable_vte; geany_enable_vte="$enableval"
18293else
18294  geany_enable_vte="yes"
18295fi
18296
18297
18298# Check whether --with-vte-module-path was given.
18299if test "${with_vte_module_path+set}" = set; then :
18300  withval=$with_vte_module_path;
18301cat >>confdefs.h <<_ACEOF
18302#define VTE_MODULE_PATH "$withval"
18303_ACEOF
18304
18305fi
18306
18307
18308
18309	# Check whether --enable-socket was given.
18310if test "${enable_socket+set}" = set; then :
18311  enableval=$enable_socket; geany_enable_socket="$enableval"
18312else
18313  geany_enable_socket="auto"
18314fi
18315
18316
18317
18318	case "${host}" in
18319		*mingw*)
18320
18321$as_echo "#define WIN32 1" >>confdefs.h
18322
18323
18324
18325
18326					if test "x$_geany_enable_vte_done" = x; then
18327																		if test -n "no"; then
18328			geany_enable_vte="no"
18329		elif test "x$geany_enable_vte" = xauto; then
18330			geany_enable_vte=yes
18331		fi
18332
18333		if test "x$geany_enable_vte" = xyes; then
18334
18335$as_echo "#define HAVE_VTE 1" >>confdefs.h
18336
18337		fi
18338
18339
18340	_GEANY_STATUS="$_GEANY_STATUS
18341Use virtual terminal support (VTE):$geany_enable_vte"
18342
18343		_geany_enable_vte_done=yes
18344	fi
18345
18346
18347
18348
18349				if test "x$_geany_enable_socket_done" = x; then
18350																		if test -n "yes"; then
18351			geany_enable_socket="yes"
18352		elif test "x$geany_enable_socket" = xauto; then
18353			geany_enable_socket=yes
18354		fi
18355
18356		if test "x$geany_enable_socket" = xyes; then
18357
18358$as_echo "#define HAVE_SOCKET 1" >>confdefs.h
18359
18360			# this should bring in libsocket on Solaris:
18361			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18362$as_echo_n "checking for library containing connect... " >&6; }
18363if ${ac_cv_search_connect+:} false; then :
18364  $as_echo_n "(cached) " >&6
18365else
18366  ac_func_search_save_LIBS=$LIBS
18367cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18368/* end confdefs.h.  */
18369
18370/* Override any GCC internal prototype to avoid an error.
18371   Use char because int might match the return type of a GCC
18372   builtin and then its argument prototype would still apply.  */
18373#ifdef __cplusplus
18374extern "C"
18375#endif
18376char connect ();
18377int
18378main ()
18379{
18380return connect ();
18381  ;
18382  return 0;
18383}
18384_ACEOF
18385for ac_lib in '' socket; do
18386  if test -z "$ac_lib"; then
18387    ac_res="none required"
18388  else
18389    ac_res=-l$ac_lib
18390    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18391  fi
18392  if ac_fn_c_try_link "$LINENO"; then :
18393  ac_cv_search_connect=$ac_res
18394fi
18395rm -f core conftest.err conftest.$ac_objext \
18396    conftest$ac_exeext
18397  if ${ac_cv_search_connect+:} false; then :
18398  break
18399fi
18400done
18401if ${ac_cv_search_connect+:} false; then :
18402
18403else
18404  ac_cv_search_connect=no
18405fi
18406rm conftest.$ac_ext
18407LIBS=$ac_func_search_save_LIBS
18408fi
18409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18410$as_echo "$ac_cv_search_connect" >&6; }
18411ac_res=$ac_cv_search_connect
18412if test "$ac_res" != no; then :
18413  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18414
18415fi
18416
18417		fi
18418
18419
18420	_GEANY_STATUS="$_GEANY_STATUS
18421Use (UNIX domain) socket support:$geany_enable_socket"
18422
18423		_geany_enable_socket_done=yes
18424	fi
18425
18426			 if true; then
18427  MINGW_TRUE=
18428  MINGW_FALSE='#'
18429else
18430  MINGW_TRUE='#'
18431  MINGW_FALSE=
18432fi
18433
18434			;;
18435		*)
18436			 if false; then
18437  MINGW_TRUE=
18438  MINGW_FALSE='#'
18439else
18440  MINGW_TRUE='#'
18441  MINGW_FALSE=
18442fi
18443
18444			;;
18445	esac
18446
18447
18448
18449
18450
18451				if test "x$_geany_enable_socket_done" = x; then
18452																		if test -n ""; then
18453			geany_enable_socket=""
18454		elif test "x$geany_enable_socket" = xauto; then
18455			geany_enable_socket=yes
18456		fi
18457
18458		if test "x$geany_enable_socket" = xyes; then
18459
18460$as_echo "#define HAVE_SOCKET 1" >>confdefs.h
18461
18462			# this should bring in libsocket on Solaris:
18463			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18464$as_echo_n "checking for library containing connect... " >&6; }
18465if ${ac_cv_search_connect+:} false; then :
18466  $as_echo_n "(cached) " >&6
18467else
18468  ac_func_search_save_LIBS=$LIBS
18469cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18470/* end confdefs.h.  */
18471
18472/* Override any GCC internal prototype to avoid an error.
18473   Use char because int might match the return type of a GCC
18474   builtin and then its argument prototype would still apply.  */
18475#ifdef __cplusplus
18476extern "C"
18477#endif
18478char connect ();
18479int
18480main ()
18481{
18482return connect ();
18483  ;
18484  return 0;
18485}
18486_ACEOF
18487for ac_lib in '' socket; do
18488  if test -z "$ac_lib"; then
18489    ac_res="none required"
18490  else
18491    ac_res=-l$ac_lib
18492    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18493  fi
18494  if ac_fn_c_try_link "$LINENO"; then :
18495  ac_cv_search_connect=$ac_res
18496fi
18497rm -f core conftest.err conftest.$ac_objext \
18498    conftest$ac_exeext
18499  if ${ac_cv_search_connect+:} false; then :
18500  break
18501fi
18502done
18503if ${ac_cv_search_connect+:} false; then :
18504
18505else
18506  ac_cv_search_connect=no
18507fi
18508rm conftest.$ac_ext
18509LIBS=$ac_func_search_save_LIBS
18510fi
18511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18512$as_echo "$ac_cv_search_connect" >&6; }
18513ac_res=$ac_cv_search_connect
18514if test "$ac_res" != no; then :
18515  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18516
18517fi
18518
18519		fi
18520
18521
18522	_GEANY_STATUS="$_GEANY_STATUS
18523Use (UNIX domain) socket support:$geany_enable_socket"
18524
18525		_geany_enable_socket_done=yes
18526	fi
18527
18528
18529
18530
18531					if test "x$_geany_enable_vte_done" = x; then
18532																		if test -n ""; then
18533			geany_enable_vte=""
18534		elif test "x$geany_enable_vte" = xauto; then
18535			geany_enable_vte=yes
18536		fi
18537
18538		if test "x$geany_enable_vte" = xyes; then
18539
18540$as_echo "#define HAVE_VTE 1" >>confdefs.h
18541
18542		fi
18543
18544
18545	_GEANY_STATUS="$_GEANY_STATUS
18546Use virtual terminal support (VTE):$geany_enable_vte"
18547
18548		_geany_enable_vte_done=yes
18549	fi
18550
18551
18552	# Check whether --enable-mac-integration was given.
18553if test "${enable_mac_integration+set}" = set; then :
18554  enableval=$enable_mac_integration; geany_enable_mac_integration="$enableval"
18555else
18556  geany_enable_mac_integration="no"
18557fi
18558
18559
18560	 if test "x$geany_enable_mac_integration" = "xyes"; then
18561  ENABLE_MAC_INTEGRATION_TRUE=
18562  ENABLE_MAC_INTEGRATION_FALSE='#'
18563else
18564  ENABLE_MAC_INTEGRATION_TRUE='#'
18565  ENABLE_MAC_INTEGRATION_FALSE=
18566fi
18567
18568	if test -z "$ENABLE_MAC_INTEGRATION_TRUE"; then :
18569
18570		if test "x$enable_gtk2" = xyes; then :
18571
18572pkg_failed=no
18573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC_INTEGRATION" >&5
18574$as_echo_n "checking for MAC_INTEGRATION... " >&6; }
18575
18576if test -n "$MAC_INTEGRATION_CFLAGS"; then
18577    pkg_cv_MAC_INTEGRATION_CFLAGS="$MAC_INTEGRATION_CFLAGS"
18578 elif test -n "$PKG_CONFIG"; then
18579    if test -n "$PKG_CONFIG" && \
18580    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration-gtk2\""; } >&5
18581  ($PKG_CONFIG --exists --print-errors "gtk-mac-integration-gtk2") 2>&5
18582  ac_status=$?
18583  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18584  test $ac_status = 0; }; then
18585  pkg_cv_MAC_INTEGRATION_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration-gtk2" 2>/dev/null`
18586		      test "x$?" != "x0" && pkg_failed=yes
18587else
18588  pkg_failed=yes
18589fi
18590 else
18591    pkg_failed=untried
18592fi
18593if test -n "$MAC_INTEGRATION_LIBS"; then
18594    pkg_cv_MAC_INTEGRATION_LIBS="$MAC_INTEGRATION_LIBS"
18595 elif test -n "$PKG_CONFIG"; then
18596    if test -n "$PKG_CONFIG" && \
18597    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration-gtk2\""; } >&5
18598  ($PKG_CONFIG --exists --print-errors "gtk-mac-integration-gtk2") 2>&5
18599  ac_status=$?
18600  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18601  test $ac_status = 0; }; then
18602  pkg_cv_MAC_INTEGRATION_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration-gtk2" 2>/dev/null`
18603		      test "x$?" != "x0" && pkg_failed=yes
18604else
18605  pkg_failed=yes
18606fi
18607 else
18608    pkg_failed=untried
18609fi
18610
18611
18612
18613if test $pkg_failed = yes; then
18614   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18615$as_echo "no" >&6; }
18616
18617if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18618        _pkg_short_errors_supported=yes
18619else
18620        _pkg_short_errors_supported=no
18621fi
18622        if test $_pkg_short_errors_supported = yes; then
18623	        MAC_INTEGRATION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration-gtk2" 2>&1`
18624        else
18625	        MAC_INTEGRATION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration-gtk2" 2>&1`
18626        fi
18627	# Put the nasty error message in config.log where it belongs
18628	echo "$MAC_INTEGRATION_PKG_ERRORS" >&5
18629
18630	as_fn_error $? "Package requirements (gtk-mac-integration-gtk2) were not met:
18631
18632$MAC_INTEGRATION_PKG_ERRORS
18633
18634Consider adjusting the PKG_CONFIG_PATH environment variable if you
18635installed software in a non-standard prefix.
18636
18637Alternatively, you may set the environment variables MAC_INTEGRATION_CFLAGS
18638and MAC_INTEGRATION_LIBS to avoid the need to call pkg-config.
18639See the pkg-config man page for more details." "$LINENO" 5
18640elif test $pkg_failed = untried; then
18641     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18642$as_echo "no" >&6; }
18643	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18644$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18645as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18646is in your PATH or set the PKG_CONFIG environment variable to the full
18647path to pkg-config.
18648
18649Alternatively, you may set the environment variables MAC_INTEGRATION_CFLAGS
18650and MAC_INTEGRATION_LIBS to avoid the need to call pkg-config.
18651See the pkg-config man page for more details.
18652
18653To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18654See \`config.log' for more details" "$LINENO" 5; }
18655else
18656	MAC_INTEGRATION_CFLAGS=$pkg_cv_MAC_INTEGRATION_CFLAGS
18657	MAC_INTEGRATION_LIBS=$pkg_cv_MAC_INTEGRATION_LIBS
18658        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18659$as_echo "yes" >&6; }
18660
18661fi
18662else
18663
18664pkg_failed=no
18665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC_INTEGRATION" >&5
18666$as_echo_n "checking for MAC_INTEGRATION... " >&6; }
18667
18668if test -n "$MAC_INTEGRATION_CFLAGS"; then
18669    pkg_cv_MAC_INTEGRATION_CFLAGS="$MAC_INTEGRATION_CFLAGS"
18670 elif test -n "$PKG_CONFIG"; then
18671    if test -n "$PKG_CONFIG" && \
18672    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration-gtk3\""; } >&5
18673  ($PKG_CONFIG --exists --print-errors "gtk-mac-integration-gtk3") 2>&5
18674  ac_status=$?
18675  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18676  test $ac_status = 0; }; then
18677  pkg_cv_MAC_INTEGRATION_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration-gtk3" 2>/dev/null`
18678		      test "x$?" != "x0" && pkg_failed=yes
18679else
18680  pkg_failed=yes
18681fi
18682 else
18683    pkg_failed=untried
18684fi
18685if test -n "$MAC_INTEGRATION_LIBS"; then
18686    pkg_cv_MAC_INTEGRATION_LIBS="$MAC_INTEGRATION_LIBS"
18687 elif test -n "$PKG_CONFIG"; then
18688    if test -n "$PKG_CONFIG" && \
18689    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration-gtk3\""; } >&5
18690  ($PKG_CONFIG --exists --print-errors "gtk-mac-integration-gtk3") 2>&5
18691  ac_status=$?
18692  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18693  test $ac_status = 0; }; then
18694  pkg_cv_MAC_INTEGRATION_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration-gtk3" 2>/dev/null`
18695		      test "x$?" != "x0" && pkg_failed=yes
18696else
18697  pkg_failed=yes
18698fi
18699 else
18700    pkg_failed=untried
18701fi
18702
18703
18704
18705if test $pkg_failed = yes; then
18706   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18707$as_echo "no" >&6; }
18708
18709if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18710        _pkg_short_errors_supported=yes
18711else
18712        _pkg_short_errors_supported=no
18713fi
18714        if test $_pkg_short_errors_supported = yes; then
18715	        MAC_INTEGRATION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration-gtk3" 2>&1`
18716        else
18717	        MAC_INTEGRATION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration-gtk3" 2>&1`
18718        fi
18719	# Put the nasty error message in config.log where it belongs
18720	echo "$MAC_INTEGRATION_PKG_ERRORS" >&5
18721
18722	as_fn_error $? "Package requirements (gtk-mac-integration-gtk3) were not met:
18723
18724$MAC_INTEGRATION_PKG_ERRORS
18725
18726Consider adjusting the PKG_CONFIG_PATH environment variable if you
18727installed software in a non-standard prefix.
18728
18729Alternatively, you may set the environment variables MAC_INTEGRATION_CFLAGS
18730and MAC_INTEGRATION_LIBS to avoid the need to call pkg-config.
18731See the pkg-config man page for more details." "$LINENO" 5
18732elif test $pkg_failed = untried; then
18733     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18734$as_echo "no" >&6; }
18735	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18736$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18737as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18738is in your PATH or set the PKG_CONFIG environment variable to the full
18739path to pkg-config.
18740
18741Alternatively, you may set the environment variables MAC_INTEGRATION_CFLAGS
18742and MAC_INTEGRATION_LIBS to avoid the need to call pkg-config.
18743See the pkg-config man page for more details.
18744
18745To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18746See \`config.log' for more details" "$LINENO" 5; }
18747else
18748	MAC_INTEGRATION_CFLAGS=$pkg_cv_MAC_INTEGRATION_CFLAGS
18749	MAC_INTEGRATION_LIBS=$pkg_cv_MAC_INTEGRATION_LIBS
18750        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18751$as_echo "yes" >&6; }
18752
18753fi
18754fi
18755
18756fi
18757
18758
18759	# Check whether --enable-the-force was given.
18760if test "${enable_the_force+set}" = set; then :
18761  enableval=$enable_the_force; be_luke="$enableval"
18762else
18763  be_luke="no"
18764fi
18765
18766
18767	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the force is with you" >&5
18768$as_echo_n "checking whether the force is with you... " >&6; }
18769	if test "x$be_luke" = "xyes"; then
18770		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18771$as_echo "yes" >&6; }
18772	else
18773		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18774$as_echo "no" >&6; }
18775	fi
18776
18777# i18n
18778
18779  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
18780$as_echo_n "checking whether NLS is requested... " >&6; }
18781    # Check whether --enable-nls was given.
18782if test "${enable_nls+set}" = set; then :
18783  enableval=$enable_nls; USE_NLS=$enableval
18784else
18785  USE_NLS=yes
18786fi
18787
18788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
18789$as_echo "$USE_NLS" >&6; }
18790
18791
18792
18793
18794case "$am__api_version" in
18795    1.01234)
18796	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
18797    ;;
18798    *)
18799    ;;
18800esac
18801
18802INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
18803INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
18804INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
18805if test -n ""; then
18806    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
18807$as_echo_n "checking for intltool >= ... " >&6; }
18808    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
18809$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
18810    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
18811	as_fn_error $? "Your intltool is too old.  You need intltool  or later." "$LINENO" 5
18812fi
18813
18814# Extract the first word of "intltool-update", so it can be a program name with args.
18815set dummy intltool-update; ac_word=$2
18816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18817$as_echo_n "checking for $ac_word... " >&6; }
18818if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
18819  $as_echo_n "(cached) " >&6
18820else
18821  case $INTLTOOL_UPDATE in
18822  [\\/]* | ?:[\\/]*)
18823  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
18824  ;;
18825  *)
18826  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18827for as_dir in $PATH
18828do
18829  IFS=$as_save_IFS
18830  test -z "$as_dir" && as_dir=.
18831    for ac_exec_ext in '' $ac_executable_extensions; do
18832  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18833    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
18834    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18835    break 2
18836  fi
18837done
18838  done
18839IFS=$as_save_IFS
18840
18841  ;;
18842esac
18843fi
18844INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
18845if test -n "$INTLTOOL_UPDATE"; then
18846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
18847$as_echo "$INTLTOOL_UPDATE" >&6; }
18848else
18849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18850$as_echo "no" >&6; }
18851fi
18852
18853
18854# Extract the first word of "intltool-merge", so it can be a program name with args.
18855set dummy intltool-merge; ac_word=$2
18856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18857$as_echo_n "checking for $ac_word... " >&6; }
18858if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
18859  $as_echo_n "(cached) " >&6
18860else
18861  case $INTLTOOL_MERGE in
18862  [\\/]* | ?:[\\/]*)
18863  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
18864  ;;
18865  *)
18866  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18867for as_dir in $PATH
18868do
18869  IFS=$as_save_IFS
18870  test -z "$as_dir" && as_dir=.
18871    for ac_exec_ext in '' $ac_executable_extensions; do
18872  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18873    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
18874    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18875    break 2
18876  fi
18877done
18878  done
18879IFS=$as_save_IFS
18880
18881  ;;
18882esac
18883fi
18884INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
18885if test -n "$INTLTOOL_MERGE"; then
18886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
18887$as_echo "$INTLTOOL_MERGE" >&6; }
18888else
18889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18890$as_echo "no" >&6; }
18891fi
18892
18893
18894# Extract the first word of "intltool-extract", so it can be a program name with args.
18895set dummy intltool-extract; ac_word=$2
18896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18897$as_echo_n "checking for $ac_word... " >&6; }
18898if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
18899  $as_echo_n "(cached) " >&6
18900else
18901  case $INTLTOOL_EXTRACT in
18902  [\\/]* | ?:[\\/]*)
18903  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
18904  ;;
18905  *)
18906  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18907for as_dir in $PATH
18908do
18909  IFS=$as_save_IFS
18910  test -z "$as_dir" && as_dir=.
18911    for ac_exec_ext in '' $ac_executable_extensions; do
18912  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18913    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
18914    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18915    break 2
18916  fi
18917done
18918  done
18919IFS=$as_save_IFS
18920
18921  ;;
18922esac
18923fi
18924INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
18925if test -n "$INTLTOOL_EXTRACT"; then
18926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
18927$as_echo "$INTLTOOL_EXTRACT" >&6; }
18928else
18929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18930$as_echo "no" >&6; }
18931fi
18932
18933
18934if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
18935    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
18936fi
18937
18938if test -z "$AM_DEFAULT_VERBOSITY"; then
18939  AM_DEFAULT_VERBOSITY=1
18940fi
18941
18942
18943INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
18944INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
18945INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
18946
18947
18948
18949
18950INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
18951intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
18952intltool__v_merge_options_0='-q'
18953
18954
18955
18956
18957  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18958INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18959     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18960     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18961      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
18962     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18963   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18964    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18965INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18966       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18967      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18968if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
18969      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
18970else
18971      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
18972fi
18973      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18974      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18975    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18976  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18977    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18978    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18979   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
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# Check the gettext tools to make sure they are GNU
19078# Extract the first word of "xgettext", so it can be a program name with args.
19079set dummy xgettext; ac_word=$2
19080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19081$as_echo_n "checking for $ac_word... " >&6; }
19082if ${ac_cv_path_XGETTEXT+:} false; then :
19083  $as_echo_n "(cached) " >&6
19084else
19085  case $XGETTEXT in
19086  [\\/]* | ?:[\\/]*)
19087  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
19088  ;;
19089  *)
19090  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19091for as_dir in $PATH
19092do
19093  IFS=$as_save_IFS
19094  test -z "$as_dir" && as_dir=.
19095    for ac_exec_ext in '' $ac_executable_extensions; do
19096  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19097    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
19098    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19099    break 2
19100  fi
19101done
19102  done
19103IFS=$as_save_IFS
19104
19105  ;;
19106esac
19107fi
19108XGETTEXT=$ac_cv_path_XGETTEXT
19109if test -n "$XGETTEXT"; then
19110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
19111$as_echo "$XGETTEXT" >&6; }
19112else
19113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19114$as_echo "no" >&6; }
19115fi
19116
19117
19118# Extract the first word of "msgmerge", so it can be a program name with args.
19119set dummy msgmerge; ac_word=$2
19120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19121$as_echo_n "checking for $ac_word... " >&6; }
19122if ${ac_cv_path_MSGMERGE+:} false; then :
19123  $as_echo_n "(cached) " >&6
19124else
19125  case $MSGMERGE in
19126  [\\/]* | ?:[\\/]*)
19127  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
19128  ;;
19129  *)
19130  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19131for as_dir in $PATH
19132do
19133  IFS=$as_save_IFS
19134  test -z "$as_dir" && as_dir=.
19135    for ac_exec_ext in '' $ac_executable_extensions; do
19136  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19137    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
19138    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19139    break 2
19140  fi
19141done
19142  done
19143IFS=$as_save_IFS
19144
19145  ;;
19146esac
19147fi
19148MSGMERGE=$ac_cv_path_MSGMERGE
19149if test -n "$MSGMERGE"; then
19150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
19151$as_echo "$MSGMERGE" >&6; }
19152else
19153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19154$as_echo "no" >&6; }
19155fi
19156
19157
19158# Extract the first word of "msgfmt", so it can be a program name with args.
19159set dummy msgfmt; ac_word=$2
19160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19161$as_echo_n "checking for $ac_word... " >&6; }
19162if ${ac_cv_path_MSGFMT+:} false; then :
19163  $as_echo_n "(cached) " >&6
19164else
19165  case $MSGFMT in
19166  [\\/]* | ?:[\\/]*)
19167  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
19168  ;;
19169  *)
19170  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19171for as_dir in $PATH
19172do
19173  IFS=$as_save_IFS
19174  test -z "$as_dir" && as_dir=.
19175    for ac_exec_ext in '' $ac_executable_extensions; do
19176  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19177    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
19178    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19179    break 2
19180  fi
19181done
19182  done
19183IFS=$as_save_IFS
19184
19185  ;;
19186esac
19187fi
19188MSGFMT=$ac_cv_path_MSGFMT
19189if test -n "$MSGFMT"; then
19190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19191$as_echo "$MSGFMT" >&6; }
19192else
19193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19194$as_echo "no" >&6; }
19195fi
19196
19197
19198# Extract the first word of "gmsgfmt", so it can be a program name with args.
19199set dummy gmsgfmt; ac_word=$2
19200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19201$as_echo_n "checking for $ac_word... " >&6; }
19202if ${ac_cv_path_GMSGFMT+:} false; then :
19203  $as_echo_n "(cached) " >&6
19204else
19205  case $GMSGFMT in
19206  [\\/]* | ?:[\\/]*)
19207  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
19208  ;;
19209  *)
19210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19211for as_dir in $PATH
19212do
19213  IFS=$as_save_IFS
19214  test -z "$as_dir" && as_dir=.
19215    for ac_exec_ext in '' $ac_executable_extensions; do
19216  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19217    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
19218    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19219    break 2
19220  fi
19221done
19222  done
19223IFS=$as_save_IFS
19224
19225  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
19226  ;;
19227esac
19228fi
19229GMSGFMT=$ac_cv_path_GMSGFMT
19230if test -n "$GMSGFMT"; then
19231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
19232$as_echo "$GMSGFMT" >&6; }
19233else
19234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19235$as_echo "no" >&6; }
19236fi
19237
19238
19239if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
19240    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
19241fi
19242xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
19243mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
19244mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
19245if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
19246    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
19247fi
19248
19249# Extract the first word of "perl", so it can be a program name with args.
19250set dummy perl; ac_word=$2
19251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19252$as_echo_n "checking for $ac_word... " >&6; }
19253if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
19254  $as_echo_n "(cached) " >&6
19255else
19256  case $INTLTOOL_PERL in
19257  [\\/]* | ?:[\\/]*)
19258  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
19259  ;;
19260  *)
19261  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19262for as_dir in $PATH
19263do
19264  IFS=$as_save_IFS
19265  test -z "$as_dir" && as_dir=.
19266    for ac_exec_ext in '' $ac_executable_extensions; do
19267  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19268    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
19269    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19270    break 2
19271  fi
19272done
19273  done
19274IFS=$as_save_IFS
19275
19276  ;;
19277esac
19278fi
19279INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
19280if test -n "$INTLTOOL_PERL"; then
19281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
19282$as_echo "$INTLTOOL_PERL" >&6; }
19283else
19284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19285$as_echo "no" >&6; }
19286fi
19287
19288
19289if test -z "$INTLTOOL_PERL"; then
19290   as_fn_error $? "perl not found" "$LINENO" 5
19291fi
19292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
19293$as_echo_n "checking for perl >= 5.8.1... " >&6; }
19294$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
19295if test $? -ne 0; then
19296   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
19297else
19298   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
19299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
19300$as_echo "$IT_PERL_VERSION" >&6; }
19301fi
19302if test "x" != "xno-xml"; then
19303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
19304$as_echo_n "checking for XML::Parser... " >&6; }
19305   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
19306       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
19307$as_echo "ok" >&6; }
19308   else
19309       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
19310   fi
19311fi
19312
19313# Substitute ALL_LINGUAS so we can use it in po/Makefile
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323	GETTEXT_PACKAGE="$PACKAGE"
19324
19325
19326cat >>confdefs.h <<_ACEOF
19327#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
19328_ACEOF
19329
19330
19331	ALL_LINGUAS=`cd "$srcdir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $1 }'`
19332
19333
19334   for ac_header in locale.h
19335do :
19336  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19337if test "x$ac_cv_header_locale_h" = xyes; then :
19338  cat >>confdefs.h <<_ACEOF
19339#define HAVE_LOCALE_H 1
19340_ACEOF
19341
19342fi
19343
19344done
19345
19346    if test $ac_cv_header_locale_h = yes; then
19347    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19348$as_echo_n "checking for LC_MESSAGES... " >&6; }
19349if ${am_cv_val_LC_MESSAGES+:} false; then :
19350  $as_echo_n "(cached) " >&6
19351else
19352  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19353/* end confdefs.h.  */
19354#include <locale.h>
19355int
19356main ()
19357{
19358return LC_MESSAGES
19359  ;
19360  return 0;
19361}
19362_ACEOF
19363if ac_fn_c_try_link "$LINENO"; then :
19364  am_cv_val_LC_MESSAGES=yes
19365else
19366  am_cv_val_LC_MESSAGES=no
19367fi
19368rm -f core conftest.err conftest.$ac_objext \
19369    conftest$ac_exeext conftest.$ac_ext
19370fi
19371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
19372$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
19373    if test $am_cv_val_LC_MESSAGES = yes; then
19374
19375$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19376
19377    fi
19378  fi
19379     USE_NLS=yes
19380
19381
19382    gt_cv_have_gettext=no
19383
19384    CATOBJEXT=NONE
19385    XGETTEXT=:
19386    INTLLIBS=
19387
19388
19389    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
19390$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
19391if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
19392  $as_echo_n "(cached) " >&6
19393else
19394  gt_save_LIBS="$LIBS"
19395     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
19396     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19397/* end confdefs.h.  */
19398#include <CoreFoundation/CFPreferences.h>
19399int
19400main ()
19401{
19402CFPreferencesCopyAppValue(NULL, NULL)
19403  ;
19404  return 0;
19405}
19406_ACEOF
19407if ac_fn_c_try_link "$LINENO"; then :
19408  gt_cv_func_CFPreferencesCopyAppValue=yes
19409else
19410  gt_cv_func_CFPreferencesCopyAppValue=no
19411fi
19412rm -f core conftest.err conftest.$ac_objext \
19413    conftest$ac_exeext conftest.$ac_ext
19414     LIBS="$gt_save_LIBS"
19415fi
19416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
19417$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
19418  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
19419
19420$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
19421
19422  fi
19423    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
19424$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
19425if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
19426  $as_echo_n "(cached) " >&6
19427else
19428  gt_save_LIBS="$LIBS"
19429     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
19430     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19431/* end confdefs.h.  */
19432#include <CoreFoundation/CFLocale.h>
19433int
19434main ()
19435{
19436CFLocaleCopyCurrent();
19437  ;
19438  return 0;
19439}
19440_ACEOF
19441if ac_fn_c_try_link "$LINENO"; then :
19442  gt_cv_func_CFLocaleCopyCurrent=yes
19443else
19444  gt_cv_func_CFLocaleCopyCurrent=no
19445fi
19446rm -f core conftest.err conftest.$ac_objext \
19447    conftest$ac_exeext conftest.$ac_ext
19448     LIBS="$gt_save_LIBS"
19449fi
19450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
19451$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
19452  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
19453
19454$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
19455
19456  fi
19457  INTL_MACOSX_LIBS=
19458  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
19459    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
19460  fi
19461
19462
19463
19464    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
19465if test "x$ac_cv_header_libintl_h" = xyes; then :
19466  gt_cv_func_dgettext_libintl="no"
19467      libintl_extra_libs=""
19468
19469      #
19470      # First check in libc
19471      #
19472      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
19473$as_echo_n "checking for ngettext in libc... " >&6; }
19474if ${gt_cv_func_ngettext_libc+:} false; then :
19475  $as_echo_n "(cached) " >&6
19476else
19477  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19478/* end confdefs.h.  */
19479
19480#include <libintl.h>
19481
19482int
19483main ()
19484{
19485return !ngettext ("","", 1)
19486  ;
19487  return 0;
19488}
19489_ACEOF
19490if ac_fn_c_try_link "$LINENO"; then :
19491  gt_cv_func_ngettext_libc=yes
19492else
19493  gt_cv_func_ngettext_libc=no
19494fi
19495rm -f core conftest.err conftest.$ac_objext \
19496    conftest$ac_exeext conftest.$ac_ext
19497
19498fi
19499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
19500$as_echo "$gt_cv_func_ngettext_libc" >&6; }
19501
19502      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19503	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
19504$as_echo_n "checking for dgettext in libc... " >&6; }
19505if ${gt_cv_func_dgettext_libc+:} false; then :
19506  $as_echo_n "(cached) " >&6
19507else
19508  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19509/* end confdefs.h.  */
19510
19511#include <libintl.h>
19512
19513int
19514main ()
19515{
19516return !dgettext ("","")
19517  ;
19518  return 0;
19519}
19520_ACEOF
19521if ac_fn_c_try_link "$LINENO"; then :
19522  gt_cv_func_dgettext_libc=yes
19523else
19524  gt_cv_func_dgettext_libc=no
19525fi
19526rm -f core conftest.err conftest.$ac_objext \
19527    conftest$ac_exeext conftest.$ac_ext
19528
19529fi
19530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
19531$as_echo "$gt_cv_func_dgettext_libc" >&6; }
19532      fi
19533
19534      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19535        for ac_func in bind_textdomain_codeset
19536do :
19537  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19538if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19539  cat >>confdefs.h <<_ACEOF
19540#define HAVE_BIND_TEXTDOMAIN_CODESET 1
19541_ACEOF
19542
19543fi
19544done
19545
19546      fi
19547
19548      #
19549      # If we don't have everything we want, check in libintl
19550      #
19551      if test "$gt_cv_func_dgettext_libc" != "yes" \
19552	 || test "$gt_cv_func_ngettext_libc" != "yes" \
19553         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
19554
19555        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
19556$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
19557if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
19558  $as_echo_n "(cached) " >&6
19559else
19560  ac_check_lib_save_LIBS=$LIBS
19561LIBS="-lintl  $LIBS"
19562cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19563/* end confdefs.h.  */
19564
19565/* Override any GCC internal prototype to avoid an error.
19566   Use char because int might match the return type of a GCC
19567   builtin and then its argument prototype would still apply.  */
19568#ifdef __cplusplus
19569extern "C"
19570#endif
19571char bindtextdomain ();
19572int
19573main ()
19574{
19575return bindtextdomain ();
19576  ;
19577  return 0;
19578}
19579_ACEOF
19580if ac_fn_c_try_link "$LINENO"; then :
19581  ac_cv_lib_intl_bindtextdomain=yes
19582else
19583  ac_cv_lib_intl_bindtextdomain=no
19584fi
19585rm -f core conftest.err conftest.$ac_objext \
19586    conftest$ac_exeext conftest.$ac_ext
19587LIBS=$ac_check_lib_save_LIBS
19588fi
19589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
19590$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
19591if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
19592  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
19593$as_echo_n "checking for ngettext in -lintl... " >&6; }
19594if ${ac_cv_lib_intl_ngettext+:} false; then :
19595  $as_echo_n "(cached) " >&6
19596else
19597  ac_check_lib_save_LIBS=$LIBS
19598LIBS="-lintl  $LIBS"
19599cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600/* end confdefs.h.  */
19601
19602/* Override any GCC internal prototype to avoid an error.
19603   Use char because int might match the return type of a GCC
19604   builtin and then its argument prototype would still apply.  */
19605#ifdef __cplusplus
19606extern "C"
19607#endif
19608char ngettext ();
19609int
19610main ()
19611{
19612return ngettext ();
19613  ;
19614  return 0;
19615}
19616_ACEOF
19617if ac_fn_c_try_link "$LINENO"; then :
19618  ac_cv_lib_intl_ngettext=yes
19619else
19620  ac_cv_lib_intl_ngettext=no
19621fi
19622rm -f core conftest.err conftest.$ac_objext \
19623    conftest$ac_exeext conftest.$ac_ext
19624LIBS=$ac_check_lib_save_LIBS
19625fi
19626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
19627$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
19628if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
19629  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
19630$as_echo_n "checking for dgettext in -lintl... " >&6; }
19631if ${ac_cv_lib_intl_dgettext+:} false; then :
19632  $as_echo_n "(cached) " >&6
19633else
19634  ac_check_lib_save_LIBS=$LIBS
19635LIBS="-lintl  $LIBS"
19636cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19637/* end confdefs.h.  */
19638
19639/* Override any GCC internal prototype to avoid an error.
19640   Use char because int might match the return type of a GCC
19641   builtin and then its argument prototype would still apply.  */
19642#ifdef __cplusplus
19643extern "C"
19644#endif
19645char dgettext ();
19646int
19647main ()
19648{
19649return dgettext ();
19650  ;
19651  return 0;
19652}
19653_ACEOF
19654if ac_fn_c_try_link "$LINENO"; then :
19655  ac_cv_lib_intl_dgettext=yes
19656else
19657  ac_cv_lib_intl_dgettext=no
19658fi
19659rm -f core conftest.err conftest.$ac_objext \
19660    conftest$ac_exeext conftest.$ac_ext
19661LIBS=$ac_check_lib_save_LIBS
19662fi
19663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
19664$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
19665if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
19666  gt_cv_func_dgettext_libintl=yes
19667fi
19668
19669fi
19670
19671fi
19672
19673
19674	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
19675	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
19676$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
19677	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
19678$as_echo "" >&6; }
19679  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
19680$as_echo_n "checking for ngettext in -lintl... " >&6; }
19681if ${ac_cv_lib_intl_ngettext+:} false; then :
19682  $as_echo_n "(cached) " >&6
19683else
19684  ac_check_lib_save_LIBS=$LIBS
19685LIBS="-lintl -liconv $LIBS"
19686cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19687/* end confdefs.h.  */
19688
19689/* Override any GCC internal prototype to avoid an error.
19690   Use char because int might match the return type of a GCC
19691   builtin and then its argument prototype would still apply.  */
19692#ifdef __cplusplus
19693extern "C"
19694#endif
19695char ngettext ();
19696int
19697main ()
19698{
19699return ngettext ();
19700  ;
19701  return 0;
19702}
19703_ACEOF
19704if ac_fn_c_try_link "$LINENO"; then :
19705  ac_cv_lib_intl_ngettext=yes
19706else
19707  ac_cv_lib_intl_ngettext=no
19708fi
19709rm -f core conftest.err conftest.$ac_objext \
19710    conftest$ac_exeext conftest.$ac_ext
19711LIBS=$ac_check_lib_save_LIBS
19712fi
19713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
19714$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
19715if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
19716  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
19717$as_echo_n "checking for dcgettext in -lintl... " >&6; }
19718if ${ac_cv_lib_intl_dcgettext+:} false; then :
19719  $as_echo_n "(cached) " >&6
19720else
19721  ac_check_lib_save_LIBS=$LIBS
19722LIBS="-lintl -liconv $LIBS"
19723cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19724/* end confdefs.h.  */
19725
19726/* Override any GCC internal prototype to avoid an error.
19727   Use char because int might match the return type of a GCC
19728   builtin and then its argument prototype would still apply.  */
19729#ifdef __cplusplus
19730extern "C"
19731#endif
19732char dcgettext ();
19733int
19734main ()
19735{
19736return dcgettext ();
19737  ;
19738  return 0;
19739}
19740_ACEOF
19741if ac_fn_c_try_link "$LINENO"; then :
19742  ac_cv_lib_intl_dcgettext=yes
19743else
19744  ac_cv_lib_intl_dcgettext=no
19745fi
19746rm -f core conftest.err conftest.$ac_objext \
19747    conftest$ac_exeext conftest.$ac_ext
19748LIBS=$ac_check_lib_save_LIBS
19749fi
19750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
19751$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
19752if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
19753  gt_cv_func_dgettext_libintl=yes
19754			libintl_extra_libs=-liconv
19755else
19756  :
19757fi
19758
19759else
19760  :
19761fi
19762
19763        fi
19764
19765        #
19766        # If we found libintl, then check in it for bind_textdomain_codeset();
19767        # we'll prefer libc if neither have bind_textdomain_codeset(),
19768        # and both have dgettext and ngettext
19769        #
19770        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
19771          glib_save_LIBS="$LIBS"
19772          LIBS="$LIBS -lintl $libintl_extra_libs"
19773          unset ac_cv_func_bind_textdomain_codeset
19774          for ac_func in bind_textdomain_codeset
19775do :
19776  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19777if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19778  cat >>confdefs.h <<_ACEOF
19779#define HAVE_BIND_TEXTDOMAIN_CODESET 1
19780_ACEOF
19781
19782fi
19783done
19784
19785          LIBS="$glib_save_LIBS"
19786
19787          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
19788            gt_cv_func_dgettext_libc=no
19789          else
19790            if test "$gt_cv_func_dgettext_libc" = "yes" \
19791		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
19792              gt_cv_func_dgettext_libintl=no
19793            fi
19794          fi
19795        fi
19796      fi
19797
19798      if test "$gt_cv_func_dgettext_libc" = "yes" \
19799	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
19800        gt_cv_have_gettext=yes
19801      fi
19802
19803      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
19804        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
19805      fi
19806
19807      if test "$gt_cv_have_gettext" = "yes"; then
19808
19809$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
19810
19811	# Extract the first word of "msgfmt", so it can be a program name with args.
19812set dummy msgfmt; ac_word=$2
19813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19814$as_echo_n "checking for $ac_word... " >&6; }
19815if ${ac_cv_path_MSGFMT+:} false; then :
19816  $as_echo_n "(cached) " >&6
19817else
19818  case "$MSGFMT" in
19819  /*)
19820  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
19821  ;;
19822  *)
19823  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
19824  for ac_dir in $PATH; do
19825    test -z "$ac_dir" && ac_dir=.
19826    if test -f $ac_dir/$ac_word; then
19827      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
19828	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
19829	break
19830      fi
19831    fi
19832  done
19833  IFS="$ac_save_ifs"
19834  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
19835  ;;
19836esac
19837fi
19838MSGFMT="$ac_cv_path_MSGFMT"
19839if test "$MSGFMT" != "no"; then
19840  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19841$as_echo "$MSGFMT" >&6; }
19842else
19843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19844$as_echo "no" >&6; }
19845fi
19846	if test "$MSGFMT" != "no"; then
19847          glib_save_LIBS="$LIBS"
19848          LIBS="$LIBS $INTLLIBS"
19849	  for ac_func in dcgettext
19850do :
19851  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
19852if test "x$ac_cv_func_dcgettext" = xyes; then :
19853  cat >>confdefs.h <<_ACEOF
19854#define HAVE_DCGETTEXT 1
19855_ACEOF
19856
19857fi
19858done
19859
19860	  MSGFMT_OPTS=
19861	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
19862$as_echo_n "checking if msgfmt accepts -c... " >&6; }
19863	  cat >conftest.foo <<_ACEOF
19864
19865msgid ""
19866msgstr ""
19867"Content-Type: text/plain; charset=UTF-8\n"
19868"Project-Id-Version: test 1.0\n"
19869"PO-Revision-Date: 2007-02-15 12:01+0100\n"
19870"Last-Translator: test <foo@bar.xx>\n"
19871"Language-Team: C <LL@li.org>\n"
19872"MIME-Version: 1.0\n"
19873"Content-Transfer-Encoding: 8bit\n"
19874
19875_ACEOF
19876if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
19877  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
19878  ac_status=$?
19879  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19880  test $ac_status = 0; }; then
19881  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19882$as_echo "yes" >&6; }
19883else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19884$as_echo "no" >&6; }
19885echo "$as_me: failed input was:" >&5
19886sed 's/^/| /' conftest.foo >&5
19887fi
19888
19889	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
19890set dummy gmsgfmt; ac_word=$2
19891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19892$as_echo_n "checking for $ac_word... " >&6; }
19893if ${ac_cv_path_GMSGFMT+:} false; then :
19894  $as_echo_n "(cached) " >&6
19895else
19896  case $GMSGFMT in
19897  [\\/]* | ?:[\\/]*)
19898  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
19899  ;;
19900  *)
19901  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19902for as_dir in $PATH
19903do
19904  IFS=$as_save_IFS
19905  test -z "$as_dir" && as_dir=.
19906    for ac_exec_ext in '' $ac_executable_extensions; do
19907  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19908    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
19909    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19910    break 2
19911  fi
19912done
19913  done
19914IFS=$as_save_IFS
19915
19916  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
19917  ;;
19918esac
19919fi
19920GMSGFMT=$ac_cv_path_GMSGFMT
19921if test -n "$GMSGFMT"; then
19922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
19923$as_echo "$GMSGFMT" >&6; }
19924else
19925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19926$as_echo "no" >&6; }
19927fi
19928
19929
19930	  # Extract the first word of "xgettext", so it can be a program name with args.
19931set dummy xgettext; ac_word=$2
19932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19933$as_echo_n "checking for $ac_word... " >&6; }
19934if ${ac_cv_path_XGETTEXT+:} false; then :
19935  $as_echo_n "(cached) " >&6
19936else
19937  case "$XGETTEXT" in
19938  /*)
19939  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
19940  ;;
19941  *)
19942  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
19943  for ac_dir in $PATH; do
19944    test -z "$ac_dir" && ac_dir=.
19945    if test -f $ac_dir/$ac_word; then
19946      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
19947	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
19948	break
19949      fi
19950    fi
19951  done
19952  IFS="$ac_save_ifs"
19953  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
19954  ;;
19955esac
19956fi
19957XGETTEXT="$ac_cv_path_XGETTEXT"
19958if test "$XGETTEXT" != ":"; then
19959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
19960$as_echo "$XGETTEXT" >&6; }
19961else
19962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19963$as_echo "no" >&6; }
19964fi
19965
19966	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19967/* end confdefs.h.  */
19968
19969int
19970main ()
19971{
19972extern int _nl_msg_cat_cntr;
19973			 return _nl_msg_cat_cntr
19974  ;
19975  return 0;
19976}
19977_ACEOF
19978if ac_fn_c_try_link "$LINENO"; then :
19979  CATOBJEXT=.gmo
19980             DATADIRNAME=share
19981else
19982  case $host in
19983	    *-*-solaris*)
19984	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19985if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19986  CATOBJEXT=.gmo
19987               DATADIRNAME=share
19988else
19989  CATOBJEXT=.mo
19990               DATADIRNAME=lib
19991fi
19992
19993	    ;;
19994	    *-*-openbsd*)
19995	    CATOBJEXT=.mo
19996            DATADIRNAME=share
19997	    ;;
19998	    *)
19999	    CATOBJEXT=.mo
20000            DATADIRNAME=lib
20001	    ;;
20002	    esac
20003fi
20004rm -f core conftest.err conftest.$ac_objext \
20005    conftest$ac_exeext conftest.$ac_ext
20006          LIBS="$glib_save_LIBS"
20007	  INSTOBJEXT=.mo
20008	else
20009	  gt_cv_have_gettext=no
20010	fi
20011      fi
20012
20013fi
20014
20015
20016
20017    if test "$gt_cv_have_gettext" = "yes" ; then
20018
20019$as_echo "#define ENABLE_NLS 1" >>confdefs.h
20020
20021    fi
20022
20023        if test "$XGETTEXT" != ":"; then
20024                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
20025        : ;
20026      else
20027        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
20028$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
20029        XGETTEXT=":"
20030      fi
20031    fi
20032
20033    # We need to process the po/ directory.
20034    POSUB=po
20035
20036    ac_config_commands="$ac_config_commands default-1"
20037
20038
20039                for lang in $ALL_LINGUAS; do
20040      GMOFILES="$GMOFILES $lang.gmo"
20041      POFILES="$POFILES $lang.po"
20042    done
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056   if test "$gt_cv_have_gettext" = "yes"; then
20057     if test "x$ALL_LINGUAS" = "x"; then
20058       LINGUAS=
20059     else
20060       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
20061$as_echo_n "checking for catalogs to be installed... " >&6; }
20062       NEW_LINGUAS=
20063       for presentlang in $ALL_LINGUAS; do
20064         useit=no
20065         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
20066           desiredlanguages="$LINGUAS"
20067         else
20068           desiredlanguages="$ALL_LINGUAS"
20069         fi
20070         for desiredlang in $desiredlanguages; do
20071 	   # Use the presentlang catalog if desiredlang is
20072           #   a. equal to presentlang, or
20073           #   b. a variant of presentlang (because in this case,
20074           #      presentlang can be used as a fallback for messages
20075           #      which are not translated in the desiredlang catalog).
20076           case "$desiredlang" in
20077             "$presentlang"*) useit=yes;;
20078           esac
20079         done
20080         if test $useit = yes; then
20081           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
20082         fi
20083       done
20084       LINGUAS=$NEW_LINGUAS
20085       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
20086$as_echo "$LINGUAS" >&6; }
20087     fi
20088
20089          if test -n "$LINGUAS"; then
20090       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
20091     fi
20092   fi
20093
20094            MKINSTALLDIRS=
20095   if test -n "$ac_aux_dir"; then
20096     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
20097   fi
20098   if test -z "$MKINSTALLDIRS"; then
20099     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
20100   fi
20101
20102
20103         test -d po || mkdir po
20104   if test "x$srcdir" != "x."; then
20105     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
20106       posrcprefix="$srcdir/"
20107     else
20108       posrcprefix="../$srcdir/"
20109     fi
20110   else
20111     posrcprefix="../"
20112   fi
20113   rm -f po/POTFILES
20114   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
20115	< $srcdir/po/POTFILES.in > po/POTFILES
20116
20117	# workaround for intltool bug (http://bugzilla.gnome.org/show_bug.cgi?id=490845)
20118	if test "x$MSGFMT" = "xno"; then
20119		as_fn_error $? "msgfmt not found. Please install the gettext package." "$LINENO" 5
20120	fi
20121
20122	# intltool hack to define install_sh on Debian/Ubuntu systems
20123	if test "x$install_sh" = "x"; then
20124		install_sh="`pwd`/install-sh"
20125
20126	fi
20127
20128
20129# double eval since datarootdir is usually defined as ${prefix}/share
20130if test -z "$MINGW_TRUE"; then :
20131  pkgdatadir='${prefix}/data'
20132else
20133  pkgdatadir='${datarootdir}/geany'
20134fi
20135GEANY_DATA_DIR=$(eval echo $(eval echo $pkgdatadir))
20136
20137
20138
20139# The default Python command.  On Windows, use the `py` launcher by default
20140
20141# Check whether --with-python-command was given.
20142if test "${with_python_command+set}" = set; then :
20143  withval=$with_python_command; with_python_command=$withval
20144else
20145  with_python_command=auto
20146fi
20147
20148if test "x$with_python_command" = xauto; then :
20149  if test -z "$MINGW_TRUE"; then :
20150  with_python_command=py
20151else
20152  with_python_command=python
20153fi
20154fi
20155PYTHON_COMMAND=$with_python_command
20156
20157
20158# Documentation tools
20159
20160
20161
20162
20163	if test -f "$srcdir/doc/geany.html"; then :
20164  have_prebuilt_html_docs=yes
20165else
20166  have_prebuilt_html_docs=no
20167fi
20168
20169			html_docs_default=yes
20170	if test "$REVISION" = "-1" && test "x$have_prebuilt_html_docs" = xyes; then :
20171  html_docs_default=auto
20172fi
20173
20174	# Check whether --enable-html-docs was given.
20175if test "${enable_html_docs+set}" = set; then :
20176  enableval=$enable_html_docs; geany_enable_html_docs="$enableval"
20177else
20178  geany_enable_html_docs="$html_docs_default"
20179fi
20180
20181
20182	if test "x$geany_enable_html_docs" != "xno"; then :
20183
20184		for ac_prog in rst2html rst2html.py
20185do
20186  # Extract the first word of "$ac_prog", so it can be a program name with args.
20187set dummy $ac_prog; ac_word=$2
20188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20189$as_echo_n "checking for $ac_word... " >&6; }
20190if ${ac_cv_path_RST2HTML+:} false; then :
20191  $as_echo_n "(cached) " >&6
20192else
20193  case $RST2HTML in
20194  [\\/]* | ?:[\\/]*)
20195  ac_cv_path_RST2HTML="$RST2HTML" # Let the user override the test with a path.
20196  ;;
20197  *)
20198  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20199for as_dir in $PATH
20200do
20201  IFS=$as_save_IFS
20202  test -z "$as_dir" && as_dir=.
20203    for ac_exec_ext in '' $ac_executable_extensions; do
20204  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20205    ac_cv_path_RST2HTML="$as_dir/$ac_word$ac_exec_ext"
20206    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20207    break 2
20208  fi
20209done
20210  done
20211IFS=$as_save_IFS
20212
20213  ;;
20214esac
20215fi
20216RST2HTML=$ac_cv_path_RST2HTML
20217if test -n "$RST2HTML"; then
20218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2HTML" >&5
20219$as_echo "$RST2HTML" >&6; }
20220else
20221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20222$as_echo "no" >&6; }
20223fi
20224
20225
20226  test -n "$RST2HTML" && break
20227done
20228test -n "$RST2HTML" || RST2HTML="no"
20229
20230		if test "x$RST2HTML" != "xno"; then :
20231  geany_enable_html_docs="yes"
20232elif test "x$geany_enable_html_docs" = "xyes"; then :
20233  as_fn_error $? "Documentation enabled but rst2html not found.
20234You can explicitly disable building of the HTML manual with --disable-html-docs,
20235but you then may not have a local copy of the HTML manual." "$LINENO" 5
20236else
20237  geany_enable_html_docs="no"
20238fi
20239
20240fi
20241	 if test "x$geany_enable_html_docs" != "xno"; then
20242  WITH_RST2HTML_TRUE=
20243  WITH_RST2HTML_FALSE='#'
20244else
20245  WITH_RST2HTML_TRUE='#'
20246  WITH_RST2HTML_FALSE=
20247fi
20248
20249	 if test "x$geany_enable_html_docs" != "xno" ||
20250	                                     test "x$have_prebuilt_html_docs" = xyes; then
20251  INSTALL_HTML_DOCS_TRUE=
20252  INSTALL_HTML_DOCS_FALSE='#'
20253else
20254  INSTALL_HTML_DOCS_TRUE='#'
20255  INSTALL_HTML_DOCS_FALSE=
20256fi
20257
20258
20259	_GEANY_STATUS="$_GEANY_STATUS
20260Build HTML documentation:$geany_enable_html_docs"
20261
20262
20263
20264	# Check whether --enable-pdf-docs was given.
20265if test "${enable_pdf_docs+set}" = set; then :
20266  enableval=$enable_pdf_docs; geany_enable_pdf_docs="$enableval"
20267else
20268  geany_enable_pdf_docs="auto"
20269fi
20270
20271
20272	if test "x$geany_enable_pdf_docs" != "xno"; then :
20273
20274		for ac_prog in rst2pdf rst2pdf.py
20275do
20276  # Extract the first word of "$ac_prog", so it can be a program name with args.
20277set dummy $ac_prog; ac_word=$2
20278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20279$as_echo_n "checking for $ac_word... " >&6; }
20280if ${ac_cv_path_RST2PDF+:} false; then :
20281  $as_echo_n "(cached) " >&6
20282else
20283  case $RST2PDF in
20284  [\\/]* | ?:[\\/]*)
20285  ac_cv_path_RST2PDF="$RST2PDF" # Let the user override the test with a path.
20286  ;;
20287  *)
20288  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20289for as_dir in $PATH
20290do
20291  IFS=$as_save_IFS
20292  test -z "$as_dir" && as_dir=.
20293    for ac_exec_ext in '' $ac_executable_extensions; do
20294  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20295    ac_cv_path_RST2PDF="$as_dir/$ac_word$ac_exec_ext"
20296    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20297    break 2
20298  fi
20299done
20300  done
20301IFS=$as_save_IFS
20302
20303  ;;
20304esac
20305fi
20306RST2PDF=$ac_cv_path_RST2PDF
20307if test -n "$RST2PDF"; then
20308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2PDF" >&5
20309$as_echo "$RST2PDF" >&6; }
20310else
20311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20312$as_echo "no" >&6; }
20313fi
20314
20315
20316  test -n "$RST2PDF" && break
20317done
20318test -n "$RST2PDF" || RST2PDF="no"
20319
20320		if test "x$RST2PDF" != "xno"; then :
20321  geany_enable_pdf_docs="yes"
20322elif test "x$geany_enable_pdf_docs" = "xyes"; then :
20323  as_fn_error $? "PDF documentation enabled but rst2pdf not found" "$LINENO" 5
20324else
20325  geany_enable_pdf_docs="no"
20326fi
20327
20328fi
20329	 if test "x$geany_enable_pdf_docs" != "xno"; then
20330  WITH_RST2PDF_TRUE=
20331  WITH_RST2PDF_FALSE='#'
20332else
20333  WITH_RST2PDF_TRUE='#'
20334  WITH_RST2PDF_FALSE=
20335fi
20336
20337
20338	_GEANY_STATUS="$_GEANY_STATUS
20339Build PDF documentation:$geany_enable_pdf_docs"
20340
20341
20342
20343
20344	# Check whether --enable-api-docs was given.
20345if test "${enable_api_docs+set}" = set; then :
20346  enableval=$enable_api_docs; geany_with_doxygen="$enableval"
20347else
20348  geany_with_doxygen="auto"
20349fi
20350
20351
20352
20353
20354	if test "x$geany_with_doxygen" != "xno"; then :
20355
20356		# Extract the first word of "doxygen", so it can be a program name with args.
20357set dummy doxygen; ac_word=$2
20358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20359$as_echo_n "checking for $ac_word... " >&6; }
20360if ${ac_cv_path_DOXYGEN+:} false; then :
20361  $as_echo_n "(cached) " >&6
20362else
20363  case $DOXYGEN in
20364  [\\/]* | ?:[\\/]*)
20365  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
20366  ;;
20367  *)
20368  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20369for as_dir in $PATH
20370do
20371  IFS=$as_save_IFS
20372  test -z "$as_dir" && as_dir=.
20373    for ac_exec_ext in '' $ac_executable_extensions; do
20374  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20375    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
20376    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20377    break 2
20378  fi
20379done
20380  done
20381IFS=$as_save_IFS
20382
20383  test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="no"
20384  ;;
20385esac
20386fi
20387DOXYGEN=$ac_cv_path_DOXYGEN
20388if test -n "$DOXYGEN"; then
20389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
20390$as_echo "$DOXYGEN" >&6; }
20391else
20392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20393$as_echo "no" >&6; }
20394fi
20395
20396
20397		if test "x$DOXYGEN" != "xno"; then :
20398  geany_with_doxygen=yes
20399elif test "x$geany_with_doxygen" = xyes; then :
20400  as_fn_error $? "API documentation enabled but doxygen not found" "$LINENO" 5
20401else
20402  geany_with_doxygen=no
20403fi
20404
20405fi
20406
20407	 if test "x$geany_with_doxygen" != "xno"; then
20408  WITH_DOXYGEN_TRUE=
20409  WITH_DOXYGEN_FALSE='#'
20410else
20411  WITH_DOXYGEN_TRUE='#'
20412  WITH_DOXYGEN_FALSE=
20413fi
20414
20415
20416	_GEANY_STATUS="$_GEANY_STATUS
20417Build API documentation:$geany_with_doxygen"
20418
20419
20420
20421
20422
20423	# Check whether --enable-gtkdoc-header was given.
20424if test "${enable_gtkdoc_header+set}" = set; then :
20425  enableval=$enable_gtkdoc_header; geany_enable_gtkdoc_header="$enableval"
20426else
20427  geany_enable_gtkdoc_header="auto"
20428fi
20429
20430
20431	if test "x$geany_enable_gtkdoc_header$geany_with_doxygen" = "xyesno"; then :
20432
20433	as_fn_error $? "GtkDoc header generation enabled but Doxygen support not available" "$LINENO" 5
20434
20435elif test "x$geany_enable_gtkdoc_header" != "xno"; then :
20436
20437
20438
20439
20440
20441
20442
20443        if test -n "$PYTHON"; then
20444      # If the user set $PYTHON, use it and don't search something else.
20445      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.7" >&5
20446$as_echo_n "checking whether $PYTHON version is >= 2.7... " >&6; }
20447      prog="import sys
20448# split strings by '.' and convert to numeric.  Append some zeros
20449# because we need at least 4 digits for the hex conversion.
20450# map returns an iterator in Python 3.0 and a list in 2.x
20451minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0]
20452minverhex = 0
20453# xrange is not present in Python 3.0 and range returns an iterator
20454for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
20455sys.exit(sys.hexversion < minverhex)"
20456  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
20457   ($PYTHON -c "$prog") >&5 2>&5
20458   ac_status=$?
20459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460   (exit $ac_status); }; then :
20461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20462$as_echo "yes" >&6; }
20463else
20464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20465$as_echo "no" >&6; }
20466			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5
20467fi
20468      am_display_PYTHON=$PYTHON
20469    else
20470      # Otherwise, try each interpreter until we find one that satisfies
20471      # VERSION.
20472      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.7" >&5
20473$as_echo_n "checking for a Python interpreter with version >= 2.7... " >&6; }
20474if ${am_cv_pathless_PYTHON+:} false; then :
20475  $as_echo_n "(cached) " >&6
20476else
20477
20478	for am_cv_pathless_PYTHON in python python2 python3  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3  python3.2 python3.1 python3.0  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1  python2.0 none; do
20479	  test "$am_cv_pathless_PYTHON" = none && break
20480	  prog="import sys
20481# split strings by '.' and convert to numeric.  Append some zeros
20482# because we need at least 4 digits for the hex conversion.
20483# map returns an iterator in Python 3.0 and a list in 2.x
20484minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0]
20485minverhex = 0
20486# xrange is not present in Python 3.0 and range returns an iterator
20487for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
20488sys.exit(sys.hexversion < minverhex)"
20489  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
20490   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
20491   ac_status=$?
20492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493   (exit $ac_status); }; then :
20494  break
20495fi
20496	done
20497fi
20498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
20499$as_echo "$am_cv_pathless_PYTHON" >&6; }
20500      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
20501      if test "$am_cv_pathless_PYTHON" = none; then
20502	PYTHON=:
20503      else
20504        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
20505set dummy $am_cv_pathless_PYTHON; ac_word=$2
20506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20507$as_echo_n "checking for $ac_word... " >&6; }
20508if ${ac_cv_path_PYTHON+:} false; then :
20509  $as_echo_n "(cached) " >&6
20510else
20511  case $PYTHON in
20512  [\\/]* | ?:[\\/]*)
20513  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
20514  ;;
20515  *)
20516  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20517for as_dir in $PATH
20518do
20519  IFS=$as_save_IFS
20520  test -z "$as_dir" && as_dir=.
20521    for ac_exec_ext in '' $ac_executable_extensions; do
20522  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20523    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
20524    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20525    break 2
20526  fi
20527done
20528  done
20529IFS=$as_save_IFS
20530
20531  ;;
20532esac
20533fi
20534PYTHON=$ac_cv_path_PYTHON
20535if test -n "$PYTHON"; then
20536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
20537$as_echo "$PYTHON" >&6; }
20538else
20539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20540$as_echo "no" >&6; }
20541fi
20542
20543
20544      fi
20545      am_display_PYTHON=$am_cv_pathless_PYTHON
20546    fi
20547
20548
20549  if test "$PYTHON" = :; then
20550      have_python=no
20551  else
20552
20553
20554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
20555$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
20556if ${am_cv_python_version+:} false; then :
20557  $as_echo_n "(cached) " >&6
20558else
20559  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
20560fi
20561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
20562$as_echo "$am_cv_python_version" >&6; }
20563  PYTHON_VERSION=$am_cv_python_version
20564
20565
20566
20567  PYTHON_PREFIX='${prefix}'
20568
20569  PYTHON_EXEC_PREFIX='${exec_prefix}'
20570
20571
20572
20573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
20574$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
20575if ${am_cv_python_platform+:} false; then :
20576  $as_echo_n "(cached) " >&6
20577else
20578  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
20579fi
20580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
20581$as_echo "$am_cv_python_platform" >&6; }
20582  PYTHON_PLATFORM=$am_cv_python_platform
20583
20584
20585  # Just factor out some code duplication.
20586  am_python_setup_sysconfig="\
20587import sys
20588# Prefer sysconfig over distutils.sysconfig, for better compatibility
20589# with python 3.x.  See automake bug#10227.
20590try:
20591    import sysconfig
20592except ImportError:
20593    can_use_sysconfig = 0
20594else:
20595    can_use_sysconfig = 1
20596# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
20597# <https://github.com/pypa/virtualenv/issues/118>
20598try:
20599    from platform import python_implementation
20600    if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
20601        can_use_sysconfig = 0
20602except ImportError:
20603    pass"
20604
20605
20606            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
20607$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
20608if ${am_cv_python_pythondir+:} false; then :
20609  $as_echo_n "(cached) " >&6
20610else
20611  if test "x$prefix" = xNONE
20612     then
20613       am_py_prefix=$ac_default_prefix
20614     else
20615       am_py_prefix=$prefix
20616     fi
20617     am_cv_python_pythondir=`$PYTHON -c "
20618$am_python_setup_sysconfig
20619if can_use_sysconfig:
20620    sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
20621else:
20622    from distutils import sysconfig
20623    sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
20624sys.stdout.write(sitedir)"`
20625     case $am_cv_python_pythondir in
20626     $am_py_prefix*)
20627       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
20628       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
20629       ;;
20630     *)
20631       case $am_py_prefix in
20632         /usr|/System*) ;;
20633         *)
20634	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
20635	  ;;
20636       esac
20637       ;;
20638     esac
20639
20640fi
20641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
20642$as_echo "$am_cv_python_pythondir" >&6; }
20643  pythondir=$am_cv_python_pythondir
20644
20645
20646
20647  pkgpythondir=\${pythondir}/$PACKAGE
20648
20649
20650        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
20651$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
20652if ${am_cv_python_pyexecdir+:} false; then :
20653  $as_echo_n "(cached) " >&6
20654else
20655  if test "x$exec_prefix" = xNONE
20656     then
20657       am_py_exec_prefix=$am_py_prefix
20658     else
20659       am_py_exec_prefix=$exec_prefix
20660     fi
20661     am_cv_python_pyexecdir=`$PYTHON -c "
20662$am_python_setup_sysconfig
20663if can_use_sysconfig:
20664    sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
20665else:
20666    from distutils import sysconfig
20667    sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
20668sys.stdout.write(sitedir)"`
20669     case $am_cv_python_pyexecdir in
20670     $am_py_exec_prefix*)
20671       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
20672       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
20673       ;;
20674     *)
20675       case $am_py_exec_prefix in
20676         /usr|/System*) ;;
20677         *)
20678	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
20679	   ;;
20680       esac
20681       ;;
20682     esac
20683
20684fi
20685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
20686$as_echo "$am_cv_python_pyexecdir" >&6; }
20687  pyexecdir=$am_cv_python_pyexecdir
20688
20689
20690
20691  pkgpyexecdir=\${pyexecdir}/$PACKAGE
20692
20693
20694    have_python=yes
20695  fi
20696
20697
20698				if test "x$have_python" = xyes; then :
20699  have_python_and_lxml=yes
20700		       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python lxml package" >&5
20701$as_echo_n "checking for python lxml package... " >&6; }
20702		       if $PYTHON -c 'import lxml' >/dev/null 2>&1; then :
20703  have_python_and_lxml=yes
20704else
20705  have_python_and_lxml=no
20706fi
20707		       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_python_and_lxml" >&5
20708$as_echo "$have_python_and_lxml" >&6; }
20709else
20710  have_python_and_lxml=no
20711fi
20712				if test "x$geany_enable_gtkdoc_header$have_python_and_lxml" = "xyesno"; then :
20713
20714	as_fn_error $? "GtkDoc header generation enabled but python or its lxml module not found" "$LINENO" 5
20715
20716else
20717  geany_enable_gtkdoc_header=$have_python_and_lxml
20718fi
20719
20720fi
20721
20722	 if test "x$geany_enable_gtkdoc_header" = "xyes"; then
20723  ENABLE_GTKDOC_HEADER_TRUE=
20724  ENABLE_GTKDOC_HEADER_FALSE='#'
20725else
20726  ENABLE_GTKDOC_HEADER_TRUE='#'
20727  ENABLE_GTKDOC_HEADER_FALSE=
20728fi
20729
20730
20731	_GEANY_STATUS="$_GEANY_STATUS
20732Generate GtkDoc header:$geany_enable_gtkdoc_header"
20733
20734
20735
20736# libgeany
20737
20738	have_gcc4_visibility=no
20739	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports GCC4-style visibility" >&5
20740$as_echo_n "checking whether compiler supports GCC4-style visibility... " >&6; }
20741	gcc_visibility_backup_cflags=$CFLAGS
20742	CFLAGS=-fvisibility=hidden
20743	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744/* end confdefs.h.  */
20745__attribute__((visibility("default")))
20746									 int main(int argc, char **argv) { return 0; }
20747_ACEOF
20748if ac_fn_c_try_link "$LINENO"; then :
20749  have_gcc4_visibility=yes
20750fi
20751rm -f core conftest.err conftest.$ac_objext \
20752    conftest$ac_exeext conftest.$ac_ext
20753	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc4_visibility" >&5
20754$as_echo "$have_gcc4_visibility" >&6; }
20755	CFLAGS="${gcc_visibility_backup_cflags}"
20756
20757
20758
20759
20760
20761		if test -z "$MINGW_TRUE"; then :
20762  win32=yes
20763else
20764  win32=false
20765fi
20766
20767	export_CFLAGS=
20768	if test x$win32 = xyes; then :
20769  export_CFLAGS='-DGEANY_EXPORT_SYMBOL="__declspec(dllexport)"'
20770elif test x$have_gcc4_visibility = xyes; then :
20771  export_CFLAGS='-fvisibility=hidden -DGEANY_EXPORT_SYMBOL="__attribute__((visibility(\"default\")))"'
20772else
20773  		   export_CFLAGS='-DGEANY_EXPORT_SYMBOL'
20774fi
20775
20776	LIBGEANY_EXPORT_CFLAGS="${export_CFLAGS} -DGEANY_API_SYMBOL=GEANY_EXPORT_SYMBOL"
20777
20778
20779
20780
20781
20782
20783	libgeany_current=0
20784	libgeany_revision=0
20785	libgeany_age=0
20786
20787	LIBGEANY_CFLAGS="${LIBGEANY_EXPORT_CFLAGS}"
20788	LIBGEANY_LDFLAGS="-version-info ${libgeany_current}:${libgeany_revision}:${libgeany_age}"
20789
20790
20791
20792
20793	# Extract the first word of "sort", so it can be a program name with args.
20794set dummy sort; ac_word=$2
20795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20796$as_echo_n "checking for $ac_word... " >&6; }
20797if ${ac_cv_path_SORT+:} false; then :
20798  $as_echo_n "(cached) " >&6
20799else
20800  case $SORT in
20801  [\\/]* | ?:[\\/]*)
20802  ac_cv_path_SORT="$SORT" # Let the user override the test with a path.
20803  ;;
20804  *)
20805  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20806for as_dir in $PATH
20807do
20808  IFS=$as_save_IFS
20809  test -z "$as_dir" && as_dir=.
20810    for ac_exec_ext in '' $ac_executable_extensions; do
20811  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20812    ac_cv_path_SORT="$as_dir/$ac_word$ac_exec_ext"
20813    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20814    break 2
20815  fi
20816done
20817  done
20818IFS=$as_save_IFS
20819
20820  test -z "$ac_cv_path_SORT" && ac_cv_path_SORT="
20821		as_fn_error $? "The 'sort' utility is required, is it installed?" "$LINENO" 5"
20822  ;;
20823esac
20824fi
20825SORT=$ac_cv_path_SORT
20826if test -n "$SORT"; then
20827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
20828$as_echo "$SORT" >&6; }
20829else
20830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20831$as_echo "no" >&6; }
20832fi
20833
20834
20835	# Extract the first word of "uniq", so it can be a program name with args.
20836set dummy uniq; ac_word=$2
20837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20838$as_echo_n "checking for $ac_word... " >&6; }
20839if ${ac_cv_path_UNIQ+:} false; then :
20840  $as_echo_n "(cached) " >&6
20841else
20842  case $UNIQ in
20843  [\\/]* | ?:[\\/]*)
20844  ac_cv_path_UNIQ="$UNIQ" # Let the user override the test with a path.
20845  ;;
20846  *)
20847  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20848for as_dir in $PATH
20849do
20850  IFS=$as_save_IFS
20851  test -z "$as_dir" && as_dir=.
20852    for ac_exec_ext in '' $ac_executable_extensions; do
20853  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20854    ac_cv_path_UNIQ="$as_dir/$ac_word$ac_exec_ext"
20855    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20856    break 2
20857  fi
20858done
20859  done
20860IFS=$as_save_IFS
20861
20862  test -z "$ac_cv_path_UNIQ" && ac_cv_path_UNIQ="
20863		as_fn_error $? "The 'uniq' utility is required, is it installed?" "$LINENO" 5"
20864  ;;
20865esac
20866fi
20867UNIQ=$ac_cv_path_UNIQ
20868if test -n "$UNIQ"; then
20869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
20870$as_echo "$UNIQ" >&6; }
20871else
20872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20873$as_echo "no" >&6; }
20874fi
20875
20876
20877
20878
20879# Output
20880ac_config_files="$ac_config_files Makefile icons/Makefile icons/16x16/Makefile icons/24x24/Makefile icons/32x32/Makefile icons/48x48/Makefile icons/scalable/Makefile icons/tango/Makefile icons/tango/16x16/Makefile icons/tango/24x24/Makefile icons/tango/32x32/Makefile icons/tango/48x48/Makefile icons/tango/scalable/Makefile ctags/Makefile scintilla/Makefile scintilla/include/Makefile src/Makefile src/tagmanager/Makefile plugins/Makefile po/Makefile.in data/Makefile data/filedefs/filetypes.python doc/Makefile doc/geany.1 geany.pc geany.nsi doc/Doxyfile tests/Makefile tests/ctags/Makefile"
20881
20882cat >confcache <<\_ACEOF
20883# This file is a shell script that caches the results of configure
20884# tests run on this system so they can be shared between configure
20885# scripts and configure runs, see configure's option --config-cache.
20886# It is not useful on other systems.  If it contains results you don't
20887# want to keep, you may remove or edit it.
20888#
20889# config.status only pays attention to the cache file if you give it
20890# the --recheck option to rerun configure.
20891#
20892# `ac_cv_env_foo' variables (set or unset) will be overridden when
20893# loading this file, other *unset* `ac_cv_foo' will be assigned the
20894# following values.
20895
20896_ACEOF
20897
20898# The following way of writing the cache mishandles newlines in values,
20899# but we know of no workaround that is simple, portable, and efficient.
20900# So, we kill variables containing newlines.
20901# Ultrix sh set writes to stderr and can't be redirected directly,
20902# and sets the high bit in the cache file unless we assign to the vars.
20903(
20904  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20905    eval ac_val=\$$ac_var
20906    case $ac_val in #(
20907    *${as_nl}*)
20908      case $ac_var in #(
20909      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20910$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20911      esac
20912      case $ac_var in #(
20913      _ | IFS | as_nl) ;; #(
20914      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20915      *) { eval $ac_var=; unset $ac_var;} ;;
20916      esac ;;
20917    esac
20918  done
20919
20920  (set) 2>&1 |
20921    case $as_nl`(ac_space=' '; set) 2>&1` in #(
20922    *${as_nl}ac_space=\ *)
20923      # `set' does not quote correctly, so add quotes: double-quote
20924      # substitution turns \\\\ into \\, and sed turns \\ into \.
20925      sed -n \
20926	"s/'/'\\\\''/g;
20927	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20928      ;; #(
20929    *)
20930      # `set' quotes correctly as required by POSIX, so do not add quotes.
20931      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20932      ;;
20933    esac |
20934    sort
20935) |
20936  sed '
20937     /^ac_cv_env_/b end
20938     t clear
20939     :clear
20940     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20941     t end
20942     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20943     :end' >>confcache
20944if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20945  if test -w "$cache_file"; then
20946    if test "x$cache_file" != "x/dev/null"; then
20947      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20948$as_echo "$as_me: updating cache $cache_file" >&6;}
20949      if test ! -f "$cache_file" || test -h "$cache_file"; then
20950	cat confcache >"$cache_file"
20951      else
20952        case $cache_file in #(
20953        */* | ?:*)
20954	  mv -f confcache "$cache_file"$$ &&
20955	  mv -f "$cache_file"$$ "$cache_file" ;; #(
20956        *)
20957	  mv -f confcache "$cache_file" ;;
20958	esac
20959      fi
20960    fi
20961  else
20962    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20963$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20964  fi
20965fi
20966rm -f confcache
20967
20968test "x$prefix" = xNONE && prefix=$ac_default_prefix
20969# Let make expand exec_prefix.
20970test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20971
20972DEFS=-DHAVE_CONFIG_H
20973
20974ac_libobjs=
20975ac_ltlibobjs=
20976U=
20977for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20978  # 1. Remove the extension, and $U if already installed.
20979  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20980  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20981  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
20982  #    will be set to the directory where LIBOBJS objects are built.
20983  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20984  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20985done
20986LIBOBJS=$ac_libobjs
20987
20988LTLIBOBJS=$ac_ltlibobjs
20989
20990
20991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20992$as_echo_n "checking that generated files are newer than configure... " >&6; }
20993   if test -n "$am_sleep_pid"; then
20994     # Hide warnings about reused PIDs.
20995     wait $am_sleep_pid 2>/dev/null
20996   fi
20997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20998$as_echo "done" >&6; }
20999 if test -n "$EXEEXT"; then
21000  am__EXEEXT_TRUE=
21001  am__EXEEXT_FALSE='#'
21002else
21003  am__EXEEXT_TRUE='#'
21004  am__EXEEXT_FALSE=
21005fi
21006
21007if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21008  as_fn_error $? "conditional \"AMDEP\" was never defined.
21009Usually this means the macro was only invoked conditionally." "$LINENO" 5
21010fi
21011if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21012  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
21013Usually this means the macro was only invoked conditionally." "$LINENO" 5
21014fi
21015if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21016  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
21017Usually this means the macro was only invoked conditionally." "$LINENO" 5
21018fi
21019if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21020  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
21021Usually this means the macro was only invoked conditionally." "$LINENO" 5
21022fi
21023if test -z "${GTK3_TRUE}" && test -z "${GTK3_FALSE}"; then
21024  as_fn_error $? "conditional \"GTK3\" was never defined.
21025Usually this means the macro was only invoked conditionally." "$LINENO" 5
21026fi
21027if test -z "${ENABLE_BINRELOC_TRUE}" && test -z "${ENABLE_BINRELOC_FALSE}"; then
21028  as_fn_error $? "conditional \"ENABLE_BINRELOC\" was never defined.
21029Usually this means the macro was only invoked conditionally." "$LINENO" 5
21030fi
21031if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
21032  as_fn_error $? "conditional \"PLUGINS\" was never defined.
21033Usually this means the macro was only invoked conditionally." "$LINENO" 5
21034fi
21035if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
21036  as_fn_error $? "conditional \"PLUGINS\" was never defined.
21037Usually this means the macro was only invoked conditionally." "$LINENO" 5
21038fi
21039if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
21040  as_fn_error $? "conditional \"MINGW\" was never defined.
21041Usually this means the macro was only invoked conditionally." "$LINENO" 5
21042fi
21043if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
21044  as_fn_error $? "conditional \"MINGW\" was never defined.
21045Usually this means the macro was only invoked conditionally." "$LINENO" 5
21046fi
21047if test -z "${ENABLE_MAC_INTEGRATION_TRUE}" && test -z "${ENABLE_MAC_INTEGRATION_FALSE}"; then
21048  as_fn_error $? "conditional \"ENABLE_MAC_INTEGRATION\" was never defined.
21049Usually this means the macro was only invoked conditionally." "$LINENO" 5
21050fi
21051
21052  ac_config_commands="$ac_config_commands po/stamp-it"
21053
21054
21055if test -z "${WITH_RST2HTML_TRUE}" && test -z "${WITH_RST2HTML_FALSE}"; then
21056  as_fn_error $? "conditional \"WITH_RST2HTML\" was never defined.
21057Usually this means the macro was only invoked conditionally." "$LINENO" 5
21058fi
21059if test -z "${INSTALL_HTML_DOCS_TRUE}" && test -z "${INSTALL_HTML_DOCS_FALSE}"; then
21060  as_fn_error $? "conditional \"INSTALL_HTML_DOCS\" was never defined.
21061Usually this means the macro was only invoked conditionally." "$LINENO" 5
21062fi
21063if test -z "${WITH_RST2PDF_TRUE}" && test -z "${WITH_RST2PDF_FALSE}"; then
21064  as_fn_error $? "conditional \"WITH_RST2PDF\" was never defined.
21065Usually this means the macro was only invoked conditionally." "$LINENO" 5
21066fi
21067if test -z "${WITH_DOXYGEN_TRUE}" && test -z "${WITH_DOXYGEN_FALSE}"; then
21068  as_fn_error $? "conditional \"WITH_DOXYGEN\" was never defined.
21069Usually this means the macro was only invoked conditionally." "$LINENO" 5
21070fi
21071if test -z "${ENABLE_GTKDOC_HEADER_TRUE}" && test -z "${ENABLE_GTKDOC_HEADER_FALSE}"; then
21072  as_fn_error $? "conditional \"ENABLE_GTKDOC_HEADER\" was never defined.
21073Usually this means the macro was only invoked conditionally." "$LINENO" 5
21074fi
21075
21076: "${CONFIG_STATUS=./config.status}"
21077ac_write_fail=0
21078ac_clean_files_save=$ac_clean_files
21079ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21080{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21081$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21082as_write_fail=0
21083cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21084#! $SHELL
21085# Generated by $as_me.
21086# Run this file to recreate the current configuration.
21087# Compiler output produced by configure, useful for debugging
21088# configure, is in config.log if it exists.
21089
21090debug=false
21091ac_cs_recheck=false
21092ac_cs_silent=false
21093
21094SHELL=\${CONFIG_SHELL-$SHELL}
21095export SHELL
21096_ASEOF
21097cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21098## -------------------- ##
21099## M4sh Initialization. ##
21100## -------------------- ##
21101
21102# Be more Bourne compatible
21103DUALCASE=1; export DUALCASE # for MKS sh
21104if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21105  emulate sh
21106  NULLCMD=:
21107  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21108  # is contrary to our usage.  Disable this feature.
21109  alias -g '${1+"$@"}'='"$@"'
21110  setopt NO_GLOB_SUBST
21111else
21112  case `(set -o) 2>/dev/null` in #(
21113  *posix*) :
21114    set -o posix ;; #(
21115  *) :
21116     ;;
21117esac
21118fi
21119
21120
21121as_nl='
21122'
21123export as_nl
21124# Printing a long string crashes Solaris 7 /usr/bin/printf.
21125as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21126as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21127as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21128# Prefer a ksh shell builtin over an external printf program on Solaris,
21129# but without wasting forks for bash or zsh.
21130if test -z "$BASH_VERSION$ZSH_VERSION" \
21131    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21132  as_echo='print -r --'
21133  as_echo_n='print -rn --'
21134elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21135  as_echo='printf %s\n'
21136  as_echo_n='printf %s'
21137else
21138  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21139    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21140    as_echo_n='/usr/ucb/echo -n'
21141  else
21142    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21143    as_echo_n_body='eval
21144      arg=$1;
21145      case $arg in #(
21146      *"$as_nl"*)
21147	expr "X$arg" : "X\\(.*\\)$as_nl";
21148	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21149      esac;
21150      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21151    '
21152    export as_echo_n_body
21153    as_echo_n='sh -c $as_echo_n_body as_echo'
21154  fi
21155  export as_echo_body
21156  as_echo='sh -c $as_echo_body as_echo'
21157fi
21158
21159# The user is always right.
21160if test "${PATH_SEPARATOR+set}" != set; then
21161  PATH_SEPARATOR=:
21162  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21163    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21164      PATH_SEPARATOR=';'
21165  }
21166fi
21167
21168
21169# IFS
21170# We need space, tab and new line, in precisely that order.  Quoting is
21171# there to prevent editors from complaining about space-tab.
21172# (If _AS_PATH_WALK were called with IFS unset, it would disable word
21173# splitting by setting IFS to empty value.)
21174IFS=" ""	$as_nl"
21175
21176# Find who we are.  Look in the path if we contain no directory separator.
21177as_myself=
21178case $0 in #((
21179  *[\\/]* ) as_myself=$0 ;;
21180  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21181for as_dir in $PATH
21182do
21183  IFS=$as_save_IFS
21184  test -z "$as_dir" && as_dir=.
21185    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21186  done
21187IFS=$as_save_IFS
21188
21189     ;;
21190esac
21191# We did not find ourselves, most probably we were run as `sh COMMAND'
21192# in which case we are not to be found in the path.
21193if test "x$as_myself" = x; then
21194  as_myself=$0
21195fi
21196if test ! -f "$as_myself"; then
21197  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21198  exit 1
21199fi
21200
21201# Unset variables that we do not need and which cause bugs (e.g. in
21202# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
21203# suppresses any "Segmentation fault" message there.  '((' could
21204# trigger a bug in pdksh 5.2.14.
21205for as_var in BASH_ENV ENV MAIL MAILPATH
21206do eval test x\${$as_var+set} = xset \
21207  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21208done
21209PS1='$ '
21210PS2='> '
21211PS4='+ '
21212
21213# NLS nuisances.
21214LC_ALL=C
21215export LC_ALL
21216LANGUAGE=C
21217export LANGUAGE
21218
21219# CDPATH.
21220(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21221
21222
21223# as_fn_error STATUS ERROR [LINENO LOG_FD]
21224# ----------------------------------------
21225# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21226# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21227# script with STATUS, using 1 if that was 0.
21228as_fn_error ()
21229{
21230  as_status=$1; test $as_status -eq 0 && as_status=1
21231  if test "$4"; then
21232    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21233    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21234  fi
21235  $as_echo "$as_me: error: $2" >&2
21236  as_fn_exit $as_status
21237} # as_fn_error
21238
21239
21240# as_fn_set_status STATUS
21241# -----------------------
21242# Set $? to STATUS, without forking.
21243as_fn_set_status ()
21244{
21245  return $1
21246} # as_fn_set_status
21247
21248# as_fn_exit STATUS
21249# -----------------
21250# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21251as_fn_exit ()
21252{
21253  set +e
21254  as_fn_set_status $1
21255  exit $1
21256} # as_fn_exit
21257
21258# as_fn_unset VAR
21259# ---------------
21260# Portably unset VAR.
21261as_fn_unset ()
21262{
21263  { eval $1=; unset $1;}
21264}
21265as_unset=as_fn_unset
21266# as_fn_append VAR VALUE
21267# ----------------------
21268# Append the text in VALUE to the end of the definition contained in VAR. Take
21269# advantage of any shell optimizations that allow amortized linear growth over
21270# repeated appends, instead of the typical quadratic growth present in naive
21271# implementations.
21272if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21273  eval 'as_fn_append ()
21274  {
21275    eval $1+=\$2
21276  }'
21277else
21278  as_fn_append ()
21279  {
21280    eval $1=\$$1\$2
21281  }
21282fi # as_fn_append
21283
21284# as_fn_arith ARG...
21285# ------------------
21286# Perform arithmetic evaluation on the ARGs, and store the result in the
21287# global $as_val. Take advantage of shells that can avoid forks. The arguments
21288# must be portable across $(()) and expr.
21289if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21290  eval 'as_fn_arith ()
21291  {
21292    as_val=$(( $* ))
21293  }'
21294else
21295  as_fn_arith ()
21296  {
21297    as_val=`expr "$@" || test $? -eq 1`
21298  }
21299fi # as_fn_arith
21300
21301
21302if expr a : '\(a\)' >/dev/null 2>&1 &&
21303   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21304  as_expr=expr
21305else
21306  as_expr=false
21307fi
21308
21309if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21310  as_basename=basename
21311else
21312  as_basename=false
21313fi
21314
21315if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21316  as_dirname=dirname
21317else
21318  as_dirname=false
21319fi
21320
21321as_me=`$as_basename -- "$0" ||
21322$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21323	 X"$0" : 'X\(//\)$' \| \
21324	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21325$as_echo X/"$0" |
21326    sed '/^.*\/\([^/][^/]*\)\/*$/{
21327	    s//\1/
21328	    q
21329	  }
21330	  /^X\/\(\/\/\)$/{
21331	    s//\1/
21332	    q
21333	  }
21334	  /^X\/\(\/\).*/{
21335	    s//\1/
21336	    q
21337	  }
21338	  s/.*/./; q'`
21339
21340# Avoid depending upon Character Ranges.
21341as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21342as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21343as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21344as_cr_digits='0123456789'
21345as_cr_alnum=$as_cr_Letters$as_cr_digits
21346
21347ECHO_C= ECHO_N= ECHO_T=
21348case `echo -n x` in #(((((
21349-n*)
21350  case `echo 'xy\c'` in
21351  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
21352  xy)  ECHO_C='\c';;
21353  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
21354       ECHO_T='	';;
21355  esac;;
21356*)
21357  ECHO_N='-n';;
21358esac
21359
21360rm -f conf$$ conf$$.exe conf$$.file
21361if test -d conf$$.dir; then
21362  rm -f conf$$.dir/conf$$.file
21363else
21364  rm -f conf$$.dir
21365  mkdir conf$$.dir 2>/dev/null
21366fi
21367if (echo >conf$$.file) 2>/dev/null; then
21368  if ln -s conf$$.file conf$$ 2>/dev/null; then
21369    as_ln_s='ln -s'
21370    # ... but there are two gotchas:
21371    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21372    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21373    # In both cases, we have to default to `cp -pR'.
21374    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21375      as_ln_s='cp -pR'
21376  elif ln conf$$.file conf$$ 2>/dev/null; then
21377    as_ln_s=ln
21378  else
21379    as_ln_s='cp -pR'
21380  fi
21381else
21382  as_ln_s='cp -pR'
21383fi
21384rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21385rmdir conf$$.dir 2>/dev/null
21386
21387
21388# as_fn_mkdir_p
21389# -------------
21390# Create "$as_dir" as a directory, including parents if necessary.
21391as_fn_mkdir_p ()
21392{
21393
21394  case $as_dir in #(
21395  -*) as_dir=./$as_dir;;
21396  esac
21397  test -d "$as_dir" || eval $as_mkdir_p || {
21398    as_dirs=
21399    while :; do
21400      case $as_dir in #(
21401      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21402      *) as_qdir=$as_dir;;
21403      esac
21404      as_dirs="'$as_qdir' $as_dirs"
21405      as_dir=`$as_dirname -- "$as_dir" ||
21406$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21407	 X"$as_dir" : 'X\(//\)[^/]' \| \
21408	 X"$as_dir" : 'X\(//\)$' \| \
21409	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21410$as_echo X"$as_dir" |
21411    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21412	    s//\1/
21413	    q
21414	  }
21415	  /^X\(\/\/\)[^/].*/{
21416	    s//\1/
21417	    q
21418	  }
21419	  /^X\(\/\/\)$/{
21420	    s//\1/
21421	    q
21422	  }
21423	  /^X\(\/\).*/{
21424	    s//\1/
21425	    q
21426	  }
21427	  s/.*/./; q'`
21428      test -d "$as_dir" && break
21429    done
21430    test -z "$as_dirs" || eval "mkdir $as_dirs"
21431  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21432
21433
21434} # as_fn_mkdir_p
21435if mkdir -p . 2>/dev/null; then
21436  as_mkdir_p='mkdir -p "$as_dir"'
21437else
21438  test -d ./-p && rmdir ./-p
21439  as_mkdir_p=false
21440fi
21441
21442
21443# as_fn_executable_p FILE
21444# -----------------------
21445# Test if FILE is an executable regular file.
21446as_fn_executable_p ()
21447{
21448  test -f "$1" && test -x "$1"
21449} # as_fn_executable_p
21450as_test_x='test -x'
21451as_executable_p=as_fn_executable_p
21452
21453# Sed expression to map a string onto a valid CPP name.
21454as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21455
21456# Sed expression to map a string onto a valid variable name.
21457as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21458
21459
21460exec 6>&1
21461## ----------------------------------- ##
21462## Main body of $CONFIG_STATUS script. ##
21463## ----------------------------------- ##
21464_ASEOF
21465test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21466
21467cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21468# Save the log message, to keep $0 and so on meaningful, and to
21469# report actual input values of CONFIG_FILES etc. instead of their
21470# values after options handling.
21471ac_log="
21472This file was extended by Geany $as_me 1.37.1, which was
21473generated by GNU Autoconf 2.69.  Invocation command line was
21474
21475  CONFIG_FILES    = $CONFIG_FILES
21476  CONFIG_HEADERS  = $CONFIG_HEADERS
21477  CONFIG_LINKS    = $CONFIG_LINKS
21478  CONFIG_COMMANDS = $CONFIG_COMMANDS
21479  $ $0 $@
21480
21481on `(hostname || uname -n) 2>/dev/null | sed 1q`
21482"
21483
21484_ACEOF
21485
21486case $ac_config_files in *"
21487"*) set x $ac_config_files; shift; ac_config_files=$*;;
21488esac
21489
21490case $ac_config_headers in *"
21491"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21492esac
21493
21494
21495cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21496# Files that config.status was made for.
21497config_files="$ac_config_files"
21498config_headers="$ac_config_headers"
21499config_commands="$ac_config_commands"
21500
21501_ACEOF
21502
21503cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21504ac_cs_usage="\
21505\`$as_me' instantiates files and other configuration actions
21506from templates according to the current configuration.  Unless the files
21507and actions are specified as TAGs, all are instantiated by default.
21508
21509Usage: $0 [OPTION]... [TAG]...
21510
21511  -h, --help       print this help, then exit
21512  -V, --version    print version number and configuration settings, then exit
21513      --config     print configuration, then exit
21514  -q, --quiet, --silent
21515                   do not print progress messages
21516  -d, --debug      don't remove temporary files
21517      --recheck    update $as_me by reconfiguring in the same conditions
21518      --file=FILE[:TEMPLATE]
21519                   instantiate the configuration file FILE
21520      --header=FILE[:TEMPLATE]
21521                   instantiate the configuration header FILE
21522
21523Configuration files:
21524$config_files
21525
21526Configuration headers:
21527$config_headers
21528
21529Configuration commands:
21530$config_commands
21531
21532Report bugs to <https://github.com/geany/geany/issues>."
21533
21534_ACEOF
21535cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21536ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21537ac_cs_version="\\
21538Geany config.status 1.37.1
21539configured by $0, generated by GNU Autoconf 2.69,
21540  with options \\"\$ac_cs_config\\"
21541
21542Copyright (C) 2012 Free Software Foundation, Inc.
21543This config.status script is free software; the Free Software Foundation
21544gives unlimited permission to copy, distribute and modify it."
21545
21546ac_pwd='$ac_pwd'
21547srcdir='$srcdir'
21548INSTALL='$INSTALL'
21549MKDIR_P='$MKDIR_P'
21550AWK='$AWK'
21551test -n "\$AWK" || AWK=awk
21552_ACEOF
21553
21554cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21555# The default lists apply if the user does not specify any file.
21556ac_need_defaults=:
21557while test $# != 0
21558do
21559  case $1 in
21560  --*=?*)
21561    ac_option=`expr "X$1" : 'X\([^=]*\)='`
21562    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21563    ac_shift=:
21564    ;;
21565  --*=)
21566    ac_option=`expr "X$1" : 'X\([^=]*\)='`
21567    ac_optarg=
21568    ac_shift=:
21569    ;;
21570  *)
21571    ac_option=$1
21572    ac_optarg=$2
21573    ac_shift=shift
21574    ;;
21575  esac
21576
21577  case $ac_option in
21578  # Handling of the options.
21579  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21580    ac_cs_recheck=: ;;
21581  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21582    $as_echo "$ac_cs_version"; exit ;;
21583  --config | --confi | --conf | --con | --co | --c )
21584    $as_echo "$ac_cs_config"; exit ;;
21585  --debug | --debu | --deb | --de | --d | -d )
21586    debug=: ;;
21587  --file | --fil | --fi | --f )
21588    $ac_shift
21589    case $ac_optarg in
21590    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21591    '') as_fn_error $? "missing file argument" ;;
21592    esac
21593    as_fn_append CONFIG_FILES " '$ac_optarg'"
21594    ac_need_defaults=false;;
21595  --header | --heade | --head | --hea )
21596    $ac_shift
21597    case $ac_optarg in
21598    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21599    esac
21600    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21601    ac_need_defaults=false;;
21602  --he | --h)
21603    # Conflict between --help and --header
21604    as_fn_error $? "ambiguous option: \`$1'
21605Try \`$0 --help' for more information.";;
21606  --help | --hel | -h )
21607    $as_echo "$ac_cs_usage"; exit ;;
21608  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21609  | -silent | --silent | --silen | --sile | --sil | --si | --s)
21610    ac_cs_silent=: ;;
21611
21612  # This is an error.
21613  -*) as_fn_error $? "unrecognized option: \`$1'
21614Try \`$0 --help' for more information." ;;
21615
21616  *) as_fn_append ac_config_targets " $1"
21617     ac_need_defaults=false ;;
21618
21619  esac
21620  shift
21621done
21622
21623ac_configure_extra_args=
21624
21625if $ac_cs_silent; then
21626  exec 6>/dev/null
21627  ac_configure_extra_args="$ac_configure_extra_args --silent"
21628fi
21629
21630_ACEOF
21631cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21632if \$ac_cs_recheck; then
21633  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21634  shift
21635  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21636  CONFIG_SHELL='$SHELL'
21637  export CONFIG_SHELL
21638  exec "\$@"
21639fi
21640
21641_ACEOF
21642cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21643exec 5>>config.log
21644{
21645  echo
21646  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21647## Running $as_me. ##
21648_ASBOX
21649  $as_echo "$ac_log"
21650} >&5
21651
21652_ACEOF
21653cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21654#
21655# INIT-COMMANDS
21656#
21657AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
21658
21659
21660# The HP-UX ksh and POSIX shell print the target directory to stdout
21661# if CDPATH is set.
21662(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21663
21664sed_quote_subst='$sed_quote_subst'
21665double_quote_subst='$double_quote_subst'
21666delay_variable_subst='$delay_variable_subst'
21667macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21668macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21669enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21670enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21671pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21672enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21673shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
21674SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21675ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21676PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21677host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21678host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21679host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21680build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21681build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21682build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21683SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21684Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21685GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21686EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21687FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21688LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21689NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21690LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21691max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21692ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21693exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21694lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21695lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21696lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21697lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21698lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21699reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21700reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21701OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21702deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21703file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21704file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21705want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21706DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21707sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21708AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21709AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21710archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21711STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21712RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21713old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21714old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21715old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21716lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21717CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21718CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21719compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21720GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21721lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21722lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21723lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
21724lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21725lt_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"`'
21726lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
21727nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21728lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21729lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
21730objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21731MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21732lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21733lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21734lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21735lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21736lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21737need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21738MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21739DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21740NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21741LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21742OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21743OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21744libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21745shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21746extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21747archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21748enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21749export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21750whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21751compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21752old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21753old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21754archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21755archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21756module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21757module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21758with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21759allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21760no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21761hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21762hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21763hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21764hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21765hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21766hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21767hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21768inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21769link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21770always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21771export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21772exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21773include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21774prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21775postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21776file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21777variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21778need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21779need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21780version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21781runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21782shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21783shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21784libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21785library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21786soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21787install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21788postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21789postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21790finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21791finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21792hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21793sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21794configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
21795configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
21796hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21797enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21798enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21799enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21800old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21801striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21802compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21803predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21804postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21805predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21806postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21807compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21808LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21809reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21810reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21811old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21812compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21813GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21814lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21815lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21816lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21817lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21818lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21819archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21820enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21821export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21822whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21823compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21824old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21825old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21826archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21827archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21828module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21829module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21830with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21831allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21832no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21833hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21834hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21835hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21836hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21837hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21838hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21839hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21840inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21841link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21842always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21843export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21844exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21845include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21846prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21847postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21848file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21849hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21850compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21851predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21852postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21853predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21854postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21855compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21856
21857LTCC='$LTCC'
21858LTCFLAGS='$LTCFLAGS'
21859compiler='$compiler_DEFAULT'
21860
21861# A function that is used when there is no print builtin or printf.
21862func_fallback_echo ()
21863{
21864  eval 'cat <<_LTECHO_EOF
21865\$1
21866_LTECHO_EOF'
21867}
21868
21869# Quote evaled strings.
21870for var in SHELL \
21871ECHO \
21872PATH_SEPARATOR \
21873SED \
21874GREP \
21875EGREP \
21876FGREP \
21877LD \
21878NM \
21879LN_S \
21880lt_SP2NL \
21881lt_NL2SP \
21882reload_flag \
21883OBJDUMP \
21884deplibs_check_method \
21885file_magic_cmd \
21886file_magic_glob \
21887want_nocaseglob \
21888DLLTOOL \
21889sharedlib_from_linklib_cmd \
21890AR \
21891AR_FLAGS \
21892archiver_list_spec \
21893STRIP \
21894RANLIB \
21895CC \
21896CFLAGS \
21897compiler \
21898lt_cv_sys_global_symbol_pipe \
21899lt_cv_sys_global_symbol_to_cdecl \
21900lt_cv_sys_global_symbol_to_import \
21901lt_cv_sys_global_symbol_to_c_name_address \
21902lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21903lt_cv_nm_interface \
21904nm_file_list_spec \
21905lt_cv_truncate_bin \
21906lt_prog_compiler_no_builtin_flag \
21907lt_prog_compiler_pic \
21908lt_prog_compiler_wl \
21909lt_prog_compiler_static \
21910lt_cv_prog_compiler_c_o \
21911need_locks \
21912MANIFEST_TOOL \
21913DSYMUTIL \
21914NMEDIT \
21915LIPO \
21916OTOOL \
21917OTOOL64 \
21918shrext_cmds \
21919export_dynamic_flag_spec \
21920whole_archive_flag_spec \
21921compiler_needs_object \
21922with_gnu_ld \
21923allow_undefined_flag \
21924no_undefined_flag \
21925hardcode_libdir_flag_spec \
21926hardcode_libdir_separator \
21927exclude_expsyms \
21928include_expsyms \
21929file_list_spec \
21930variables_saved_for_relink \
21931libname_spec \
21932library_names_spec \
21933soname_spec \
21934install_override_mode \
21935finish_eval \
21936old_striplib \
21937striplib \
21938compiler_lib_search_dirs \
21939predep_objects \
21940postdep_objects \
21941predeps \
21942postdeps \
21943compiler_lib_search_path \
21944LD_CXX \
21945reload_flag_CXX \
21946compiler_CXX \
21947lt_prog_compiler_no_builtin_flag_CXX \
21948lt_prog_compiler_pic_CXX \
21949lt_prog_compiler_wl_CXX \
21950lt_prog_compiler_static_CXX \
21951lt_cv_prog_compiler_c_o_CXX \
21952export_dynamic_flag_spec_CXX \
21953whole_archive_flag_spec_CXX \
21954compiler_needs_object_CXX \
21955with_gnu_ld_CXX \
21956allow_undefined_flag_CXX \
21957no_undefined_flag_CXX \
21958hardcode_libdir_flag_spec_CXX \
21959hardcode_libdir_separator_CXX \
21960exclude_expsyms_CXX \
21961include_expsyms_CXX \
21962file_list_spec_CXX \
21963compiler_lib_search_dirs_CXX \
21964predep_objects_CXX \
21965postdep_objects_CXX \
21966predeps_CXX \
21967postdeps_CXX \
21968compiler_lib_search_path_CXX; do
21969    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21970    *[\\\\\\\`\\"\\\$]*)
21971      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21972      ;;
21973    *)
21974      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21975      ;;
21976    esac
21977done
21978
21979# Double-quote double-evaled strings.
21980for var in reload_cmds \
21981old_postinstall_cmds \
21982old_postuninstall_cmds \
21983old_archive_cmds \
21984extract_expsyms_cmds \
21985old_archive_from_new_cmds \
21986old_archive_from_expsyms_cmds \
21987archive_cmds \
21988archive_expsym_cmds \
21989module_cmds \
21990module_expsym_cmds \
21991export_symbols_cmds \
21992prelink_cmds \
21993postlink_cmds \
21994postinstall_cmds \
21995postuninstall_cmds \
21996finish_cmds \
21997sys_lib_search_path_spec \
21998configure_time_dlsearch_path \
21999configure_time_lt_sys_library_path \
22000reload_cmds_CXX \
22001old_archive_cmds_CXX \
22002old_archive_from_new_cmds_CXX \
22003old_archive_from_expsyms_cmds_CXX \
22004archive_cmds_CXX \
22005archive_expsym_cmds_CXX \
22006module_cmds_CXX \
22007module_expsym_cmds_CXX \
22008export_symbols_cmds_CXX \
22009prelink_cmds_CXX \
22010postlink_cmds_CXX; do
22011    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22012    *[\\\\\\\`\\"\\\$]*)
22013      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22014      ;;
22015    *)
22016      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22017      ;;
22018    esac
22019done
22020
22021ac_aux_dir='$ac_aux_dir'
22022
22023# See if we are running on zsh, and set the options that allow our
22024# commands through without removal of \ escapes INIT.
22025if test -n "\${ZSH_VERSION+set}"; then
22026   setopt NO_GLOB_SUBST
22027fi
22028
22029
22030    PACKAGE='$PACKAGE'
22031    VERSION='$VERSION'
22032    RM='$RM'
22033    ofile='$ofile'
22034
22035
22036
22037
22038
22039
22040
22041_ACEOF
22042
22043cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22044
22045# Handling of arguments.
22046for ac_config_target in $ac_config_targets
22047do
22048  case $ac_config_target in
22049    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22050    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22051    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22052    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
22053    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22054    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
22055    "icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/16x16/Makefile" ;;
22056    "icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/24x24/Makefile" ;;
22057    "icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/32x32/Makefile" ;;
22058    "icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;;
22059    "icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/scalable/Makefile" ;;
22060    "icons/tango/Makefile") CONFIG_FILES="$CONFIG_FILES icons/tango/Makefile" ;;
22061    "icons/tango/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/tango/16x16/Makefile" ;;
22062    "icons/tango/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/tango/24x24/Makefile" ;;
22063    "icons/tango/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/tango/32x32/Makefile" ;;
22064    "icons/tango/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/tango/48x48/Makefile" ;;
22065    "icons/tango/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/tango/scalable/Makefile" ;;
22066    "ctags/Makefile") CONFIG_FILES="$CONFIG_FILES ctags/Makefile" ;;
22067    "scintilla/Makefile") CONFIG_FILES="$CONFIG_FILES scintilla/Makefile" ;;
22068    "scintilla/include/Makefile") CONFIG_FILES="$CONFIG_FILES scintilla/include/Makefile" ;;
22069    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22070    "src/tagmanager/Makefile") CONFIG_FILES="$CONFIG_FILES src/tagmanager/Makefile" ;;
22071    "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
22072    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
22073    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
22074    "data/filedefs/filetypes.python") CONFIG_FILES="$CONFIG_FILES data/filedefs/filetypes.python" ;;
22075    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
22076    "doc/geany.1") CONFIG_FILES="$CONFIG_FILES doc/geany.1" ;;
22077    "geany.pc") CONFIG_FILES="$CONFIG_FILES geany.pc" ;;
22078    "geany.nsi") CONFIG_FILES="$CONFIG_FILES geany.nsi" ;;
22079    "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
22080    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
22081    "tests/ctags/Makefile") CONFIG_FILES="$CONFIG_FILES tests/ctags/Makefile" ;;
22082    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
22083
22084  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22085  esac
22086done
22087
22088
22089# If the user did not use the arguments to specify the items to instantiate,
22090# then the envvar interface is used.  Set only those that are not.
22091# We use the long form for the default assignment because of an extremely
22092# bizarre bug on SunOS 4.1.3.
22093if $ac_need_defaults; then
22094  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22095  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22096  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22097fi
22098
22099# Have a temporary directory for convenience.  Make it in the build tree
22100# simply because there is no reason against having it here, and in addition,
22101# creating and moving files from /tmp can sometimes cause problems.
22102# Hook for its removal unless debugging.
22103# Note that there is a small window in which the directory will not be cleaned:
22104# after its creation but before its name has been assigned to `$tmp'.
22105$debug ||
22106{
22107  tmp= ac_tmp=
22108  trap 'exit_status=$?
22109  : "${ac_tmp:=$tmp}"
22110  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22111' 0
22112  trap 'as_fn_exit 1' 1 2 13 15
22113}
22114# Create a (secure) tmp directory for tmp files.
22115
22116{
22117  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22118  test -d "$tmp"
22119}  ||
22120{
22121  tmp=./conf$$-$RANDOM
22122  (umask 077 && mkdir "$tmp")
22123} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22124ac_tmp=$tmp
22125
22126# Set up the scripts for CONFIG_FILES section.
22127# No need to generate them if there are no CONFIG_FILES.
22128# This happens for instance with `./config.status config.h'.
22129if test -n "$CONFIG_FILES"; then
22130
22131
22132ac_cr=`echo X | tr X '\015'`
22133# On cygwin, bash can eat \r inside `` if the user requested igncr.
22134# But we know of no other shell where ac_cr would be empty at this
22135# point, so we can use a bashism as a fallback.
22136if test "x$ac_cr" = x; then
22137  eval ac_cr=\$\'\\r\'
22138fi
22139ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22140if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22141  ac_cs_awk_cr='\\r'
22142else
22143  ac_cs_awk_cr=$ac_cr
22144fi
22145
22146echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22147_ACEOF
22148
22149
22150{
22151  echo "cat >conf$$subs.awk <<_ACEOF" &&
22152  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22153  echo "_ACEOF"
22154} >conf$$subs.sh ||
22155  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22156ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22157ac_delim='%!_!# '
22158for ac_last_try in false false false false false :; do
22159  . ./conf$$subs.sh ||
22160    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22161
22162  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22163  if test $ac_delim_n = $ac_delim_num; then
22164    break
22165  elif $ac_last_try; then
22166    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22167  else
22168    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22169  fi
22170done
22171rm -f conf$$subs.sh
22172
22173cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22174cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22175_ACEOF
22176sed -n '
22177h
22178s/^/S["/; s/!.*/"]=/
22179p
22180g
22181s/^[^!]*!//
22182:repl
22183t repl
22184s/'"$ac_delim"'$//
22185t delim
22186:nl
22187h
22188s/\(.\{148\}\)..*/\1/
22189t more1
22190s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22191p
22192n
22193b repl
22194:more1
22195s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22196p
22197g
22198s/.\{148\}//
22199t nl
22200:delim
22201h
22202s/\(.\{148\}\)..*/\1/
22203t more2
22204s/["\\]/\\&/g; s/^/"/; s/$/"/
22205p
22206b
22207:more2
22208s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22209p
22210g
22211s/.\{148\}//
22212t delim
22213' <conf$$subs.awk | sed '
22214/^[^""]/{
22215  N
22216  s/\n//
22217}
22218' >>$CONFIG_STATUS || ac_write_fail=1
22219rm -f conf$$subs.awk
22220cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22221_ACAWK
22222cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22223  for (key in S) S_is_set[key] = 1
22224  FS = ""
22225
22226}
22227{
22228  line = $ 0
22229  nfields = split(line, field, "@")
22230  substed = 0
22231  len = length(field[1])
22232  for (i = 2; i < nfields; i++) {
22233    key = field[i]
22234    keylen = length(key)
22235    if (S_is_set[key]) {
22236      value = S[key]
22237      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22238      len += length(value) + length(field[++i])
22239      substed = 1
22240    } else
22241      len += 1 + keylen
22242  }
22243
22244  print line
22245}
22246
22247_ACAWK
22248_ACEOF
22249cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22250if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22251  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22252else
22253  cat
22254fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22255  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22256_ACEOF
22257
22258# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22259# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22260# trailing colons and then remove the whole line if VPATH becomes empty
22261# (actually we leave an empty line to preserve line numbers).
22262if test "x$srcdir" = x.; then
22263  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
22264h
22265s///
22266s/^/:/
22267s/[	 ]*$/:/
22268s/:\$(srcdir):/:/g
22269s/:\${srcdir}:/:/g
22270s/:@srcdir@:/:/g
22271s/^:*//
22272s/:*$//
22273x
22274s/\(=[	 ]*\).*/\1/
22275G
22276s/\n//
22277s/^[^=]*=[	 ]*$//
22278}'
22279fi
22280
22281cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22282fi # test -n "$CONFIG_FILES"
22283
22284# Set up the scripts for CONFIG_HEADERS section.
22285# No need to generate them if there are no CONFIG_HEADERS.
22286# This happens for instance with `./config.status Makefile'.
22287if test -n "$CONFIG_HEADERS"; then
22288cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22289BEGIN {
22290_ACEOF
22291
22292# Transform confdefs.h into an awk script `defines.awk', embedded as
22293# here-document in config.status, that substitutes the proper values into
22294# config.h.in to produce config.h.
22295
22296# Create a delimiter string that does not exist in confdefs.h, to ease
22297# handling of long lines.
22298ac_delim='%!_!# '
22299for ac_last_try in false false :; do
22300  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22301  if test -z "$ac_tt"; then
22302    break
22303  elif $ac_last_try; then
22304    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22305  else
22306    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22307  fi
22308done
22309
22310# For the awk script, D is an array of macro values keyed by name,
22311# likewise P contains macro parameters if any.  Preserve backslash
22312# newline sequences.
22313
22314ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22315sed -n '
22316s/.\{148\}/&'"$ac_delim"'/g
22317t rset
22318:rset
22319s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
22320t def
22321d
22322:def
22323s/\\$//
22324t bsnl
22325s/["\\]/\\&/g
22326s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
22327D["\1"]=" \3"/p
22328s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
22329d
22330:bsnl
22331s/["\\]/\\&/g
22332s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
22333D["\1"]=" \3\\\\\\n"\\/p
22334t cont
22335s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22336t cont
22337d
22338:cont
22339n
22340s/.\{148\}/&'"$ac_delim"'/g
22341t clear
22342:clear
22343s/\\$//
22344t bsnlc
22345s/["\\]/\\&/g; s/^/"/; s/$/"/p
22346d
22347:bsnlc
22348s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22349b cont
22350' <confdefs.h | sed '
22351s/'"$ac_delim"'/"\\\
22352"/g' >>$CONFIG_STATUS || ac_write_fail=1
22353
22354cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22355  for (key in D) D_is_set[key] = 1
22356  FS = ""
22357}
22358/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22359  line = \$ 0
22360  split(line, arg, " ")
22361  if (arg[1] == "#") {
22362    defundef = arg[2]
22363    mac1 = arg[3]
22364  } else {
22365    defundef = substr(arg[1], 2)
22366    mac1 = arg[2]
22367  }
22368  split(mac1, mac2, "(") #)
22369  macro = mac2[1]
22370  prefix = substr(line, 1, index(line, defundef) - 1)
22371  if (D_is_set[macro]) {
22372    # Preserve the white space surrounding the "#".
22373    print prefix "define", macro P[macro] D[macro]
22374    next
22375  } else {
22376    # Replace #undef with comments.  This is necessary, for example,
22377    # in the case of _POSIX_SOURCE, which is predefined and required
22378    # on some systems where configure will not decide to define it.
22379    if (defundef == "undef") {
22380      print "/*", prefix defundef, macro, "*/"
22381      next
22382    }
22383  }
22384}
22385{ print }
22386_ACAWK
22387_ACEOF
22388cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22389  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22390fi # test -n "$CONFIG_HEADERS"
22391
22392
22393eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
22394shift
22395for ac_tag
22396do
22397  case $ac_tag in
22398  :[FHLC]) ac_mode=$ac_tag; continue;;
22399  esac
22400  case $ac_mode$ac_tag in
22401  :[FHL]*:*);;
22402  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22403  :[FH]-) ac_tag=-:-;;
22404  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22405  esac
22406  ac_save_IFS=$IFS
22407  IFS=:
22408  set x $ac_tag
22409  IFS=$ac_save_IFS
22410  shift
22411  ac_file=$1
22412  shift
22413
22414  case $ac_mode in
22415  :L) ac_source=$1;;
22416  :[FH])
22417    ac_file_inputs=
22418    for ac_f
22419    do
22420      case $ac_f in
22421      -) ac_f="$ac_tmp/stdin";;
22422      *) # Look for the file first in the build tree, then in the source tree
22423	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
22424	 # because $ac_f cannot contain `:'.
22425	 test -f "$ac_f" ||
22426	   case $ac_f in
22427	   [\\/$]*) false;;
22428	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22429	   esac ||
22430	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22431      esac
22432      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22433      as_fn_append ac_file_inputs " '$ac_f'"
22434    done
22435
22436    # Let's still pretend it is `configure' which instantiates (i.e., don't
22437    # use $as_me), people would be surprised to read:
22438    #    /* config.h.  Generated by config.status.  */
22439    configure_input='Generated from '`
22440	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22441	`' by configure.'
22442    if test x"$ac_file" != x-; then
22443      configure_input="$ac_file.  $configure_input"
22444      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22445$as_echo "$as_me: creating $ac_file" >&6;}
22446    fi
22447    # Neutralize special characters interpreted by sed in replacement strings.
22448    case $configure_input in #(
22449    *\&* | *\|* | *\\* )
22450       ac_sed_conf_input=`$as_echo "$configure_input" |
22451       sed 's/[\\\\&|]/\\\\&/g'`;; #(
22452    *) ac_sed_conf_input=$configure_input;;
22453    esac
22454
22455    case $ac_tag in
22456    *:-:* | *:-) cat >"$ac_tmp/stdin" \
22457      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22458    esac
22459    ;;
22460  esac
22461
22462  ac_dir=`$as_dirname -- "$ac_file" ||
22463$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22464	 X"$ac_file" : 'X\(//\)[^/]' \| \
22465	 X"$ac_file" : 'X\(//\)$' \| \
22466	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22467$as_echo X"$ac_file" |
22468    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22469	    s//\1/
22470	    q
22471	  }
22472	  /^X\(\/\/\)[^/].*/{
22473	    s//\1/
22474	    q
22475	  }
22476	  /^X\(\/\/\)$/{
22477	    s//\1/
22478	    q
22479	  }
22480	  /^X\(\/\).*/{
22481	    s//\1/
22482	    q
22483	  }
22484	  s/.*/./; q'`
22485  as_dir="$ac_dir"; as_fn_mkdir_p
22486  ac_builddir=.
22487
22488case "$ac_dir" in
22489.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22490*)
22491  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22492  # A ".." for each directory in $ac_dir_suffix.
22493  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22494  case $ac_top_builddir_sub in
22495  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22496  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22497  esac ;;
22498esac
22499ac_abs_top_builddir=$ac_pwd
22500ac_abs_builddir=$ac_pwd$ac_dir_suffix
22501# for backward compatibility:
22502ac_top_builddir=$ac_top_build_prefix
22503
22504case $srcdir in
22505  .)  # We are building in place.
22506    ac_srcdir=.
22507    ac_top_srcdir=$ac_top_builddir_sub
22508    ac_abs_top_srcdir=$ac_pwd ;;
22509  [\\/]* | ?:[\\/]* )  # Absolute name.
22510    ac_srcdir=$srcdir$ac_dir_suffix;
22511    ac_top_srcdir=$srcdir
22512    ac_abs_top_srcdir=$srcdir ;;
22513  *) # Relative name.
22514    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22515    ac_top_srcdir=$ac_top_build_prefix$srcdir
22516    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22517esac
22518ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22519
22520
22521  case $ac_mode in
22522  :F)
22523  #
22524  # CONFIG_FILE
22525  #
22526
22527  case $INSTALL in
22528  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22529  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22530  esac
22531  ac_MKDIR_P=$MKDIR_P
22532  case $MKDIR_P in
22533  [\\/$]* | ?:[\\/]* ) ;;
22534  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
22535  esac
22536_ACEOF
22537
22538cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22539# If the template does not know about datarootdir, expand it.
22540# FIXME: This hack should be removed a few years after 2.60.
22541ac_datarootdir_hack=; ac_datarootdir_seen=
22542ac_sed_dataroot='
22543/datarootdir/ {
22544  p
22545  q
22546}
22547/@datadir@/p
22548/@docdir@/p
22549/@infodir@/p
22550/@localedir@/p
22551/@mandir@/p'
22552case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22553*datarootdir*) ac_datarootdir_seen=yes;;
22554*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22555  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22556$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22557_ACEOF
22558cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22559  ac_datarootdir_hack='
22560  s&@datadir@&$datadir&g
22561  s&@docdir@&$docdir&g
22562  s&@infodir@&$infodir&g
22563  s&@localedir@&$localedir&g
22564  s&@mandir@&$mandir&g
22565  s&\\\${datarootdir}&$datarootdir&g' ;;
22566esac
22567_ACEOF
22568
22569# Neutralize VPATH when `$srcdir' = `.'.
22570# Shell code in configure.ac might set extrasub.
22571# FIXME: do we really want to maintain this feature?
22572cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22573ac_sed_extra="$ac_vpsub
22574$extrasub
22575_ACEOF
22576cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22577:t
22578/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22579s|@configure_input@|$ac_sed_conf_input|;t t
22580s&@top_builddir@&$ac_top_builddir_sub&;t t
22581s&@top_build_prefix@&$ac_top_build_prefix&;t t
22582s&@srcdir@&$ac_srcdir&;t t
22583s&@abs_srcdir@&$ac_abs_srcdir&;t t
22584s&@top_srcdir@&$ac_top_srcdir&;t t
22585s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22586s&@builddir@&$ac_builddir&;t t
22587s&@abs_builddir@&$ac_abs_builddir&;t t
22588s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22589s&@INSTALL@&$ac_INSTALL&;t t
22590s&@MKDIR_P@&$ac_MKDIR_P&;t t
22591$ac_datarootdir_hack
22592"
22593eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22594  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22595
22596test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22597  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22598  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
22599      "$ac_tmp/out"`; test -z "$ac_out"; } &&
22600  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22601which seems to be undefined.  Please make sure it is defined" >&5
22602$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22603which seems to be undefined.  Please make sure it is defined" >&2;}
22604
22605  rm -f "$ac_tmp/stdin"
22606  case $ac_file in
22607  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22608  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22609  esac \
22610  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22611 ;;
22612  :H)
22613  #
22614  # CONFIG_HEADER
22615  #
22616  if test x"$ac_file" != x-; then
22617    {
22618      $as_echo "/* $configure_input  */" \
22619      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22620    } >"$ac_tmp/config.h" \
22621      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22622    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22623      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22624$as_echo "$as_me: $ac_file is unchanged" >&6;}
22625    else
22626      rm -f "$ac_file"
22627      mv "$ac_tmp/config.h" "$ac_file" \
22628	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
22629    fi
22630  else
22631    $as_echo "/* $configure_input  */" \
22632      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22633      || as_fn_error $? "could not create -" "$LINENO" 5
22634  fi
22635# Compute "$ac_file"'s index in $config_headers.
22636_am_arg="$ac_file"
22637_am_stamp_count=1
22638for _am_header in $config_headers :; do
22639  case $_am_header in
22640    $_am_arg | $_am_arg:* )
22641      break ;;
22642    * )
22643      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22644  esac
22645done
22646echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22647$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22648	 X"$_am_arg" : 'X\(//\)[^/]' \| \
22649	 X"$_am_arg" : 'X\(//\)$' \| \
22650	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22651$as_echo X"$_am_arg" |
22652    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22653	    s//\1/
22654	    q
22655	  }
22656	  /^X\(\/\/\)[^/].*/{
22657	    s//\1/
22658	    q
22659	  }
22660	  /^X\(\/\/\)$/{
22661	    s//\1/
22662	    q
22663	  }
22664	  /^X\(\/\).*/{
22665	    s//\1/
22666	    q
22667	  }
22668	  s/.*/./; q'`/stamp-h$_am_stamp_count
22669 ;;
22670
22671  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22672$as_echo "$as_me: executing $ac_file commands" >&6;}
22673 ;;
22674  esac
22675
22676
22677  case $ac_file$ac_mode in
22678    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
22679  # Older Autoconf quotes --file arguments for eval, but not when files
22680  # are listed without --file.  Let's play safe and only enable the eval
22681  # if we detect the quoting.
22682  # TODO: see whether this extra hack can be removed once we start
22683  # requiring Autoconf 2.70 or later.
22684  case $CONFIG_FILES in #(
22685  *\'*) :
22686    eval set x "$CONFIG_FILES" ;; #(
22687  *) :
22688    set x $CONFIG_FILES ;; #(
22689  *) :
22690     ;;
22691esac
22692  shift
22693  # Used to flag and report bootstrapping failures.
22694  am_rc=0
22695  for am_mf
22696  do
22697    # Strip MF so we end up with the name of the file.
22698    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
22699    # Check whether this is an Automake generated Makefile which includes
22700    # dependency-tracking related rules and includes.
22701    # Grep'ing the whole file directly is not great: AIX grep has a line
22702    # limit of 2048, but all sed's we know have understand at least 4000.
22703    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
22704      || continue
22705    am_dirpart=`$as_dirname -- "$am_mf" ||
22706$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22707	 X"$am_mf" : 'X\(//\)[^/]' \| \
22708	 X"$am_mf" : 'X\(//\)$' \| \
22709	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
22710$as_echo X"$am_mf" |
22711    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22712	    s//\1/
22713	    q
22714	  }
22715	  /^X\(\/\/\)[^/].*/{
22716	    s//\1/
22717	    q
22718	  }
22719	  /^X\(\/\/\)$/{
22720	    s//\1/
22721	    q
22722	  }
22723	  /^X\(\/\).*/{
22724	    s//\1/
22725	    q
22726	  }
22727	  s/.*/./; q'`
22728    am_filepart=`$as_basename -- "$am_mf" ||
22729$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
22730	 X"$am_mf" : 'X\(//\)$' \| \
22731	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
22732$as_echo X/"$am_mf" |
22733    sed '/^.*\/\([^/][^/]*\)\/*$/{
22734	    s//\1/
22735	    q
22736	  }
22737	  /^X\/\(\/\/\)$/{
22738	    s//\1/
22739	    q
22740	  }
22741	  /^X\/\(\/\).*/{
22742	    s//\1/
22743	    q
22744	  }
22745	  s/.*/./; q'`
22746    { echo "$as_me:$LINENO: cd "$am_dirpart" \
22747      && sed -e '/# am--include-marker/d' "$am_filepart" \
22748        | $MAKE -f - am--depfiles" >&5
22749   (cd "$am_dirpart" \
22750      && sed -e '/# am--include-marker/d' "$am_filepart" \
22751        | $MAKE -f - am--depfiles) >&5 2>&5
22752   ac_status=$?
22753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22754   (exit $ac_status); } || am_rc=$?
22755  done
22756  if test $am_rc -ne 0; then
22757    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22758$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22759as_fn_error $? "Something went wrong bootstrapping makefile fragments
22760    for automatic dependency tracking.  Try re-running configure with the
22761    '--disable-dependency-tracking' option to at least be able to build
22762    the package (albeit without support for automatic dependency tracking).
22763See \`config.log' for more details" "$LINENO" 5; }
22764  fi
22765  { am_dirpart=; unset am_dirpart;}
22766  { am_filepart=; unset am_filepart;}
22767  { am_mf=; unset am_mf;}
22768  { am_rc=; unset am_rc;}
22769  rm -f conftest-deps.mk
22770}
22771 ;;
22772    "libtool":C)
22773
22774    # See if we are running on zsh, and set the options that allow our
22775    # commands through without removal of \ escapes.
22776    if test -n "${ZSH_VERSION+set}"; then
22777      setopt NO_GLOB_SUBST
22778    fi
22779
22780    cfgfile=${ofile}T
22781    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22782    $RM "$cfgfile"
22783
22784    cat <<_LT_EOF >> "$cfgfile"
22785#! $SHELL
22786# Generated automatically by $as_me ($PACKAGE) $VERSION
22787# NOTE: Changes made to this file will be lost: look at ltmain.sh.
22788
22789# Provide generalized library-building support services.
22790# Written by Gordon Matzigkeit, 1996
22791
22792# Copyright (C) 2014 Free Software Foundation, Inc.
22793# This is free software; see the source for copying conditions.  There is NO
22794# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22795
22796# GNU Libtool is free software; you can redistribute it and/or modify
22797# it under the terms of the GNU General Public License as published by
22798# the Free Software Foundation; either version 2 of of the License, or
22799# (at your option) any later version.
22800#
22801# As a special exception to the GNU General Public License, if you
22802# distribute this file as part of a program or library that is built
22803# using GNU Libtool, you may include this file under the  same
22804# distribution terms that you use for the rest of that program.
22805#
22806# GNU Libtool is distributed in the hope that it will be useful, but
22807# WITHOUT ANY WARRANTY; without even the implied warranty of
22808# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22809# GNU General Public License for more details.
22810#
22811# You should have received a copy of the GNU General Public License
22812# along with this program.  If not, see <http://www.gnu.org/licenses/>.
22813
22814
22815# The names of the tagged configurations supported by this script.
22816available_tags='CXX '
22817
22818# Configured defaults for sys_lib_dlsearch_path munging.
22819: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
22820
22821# ### BEGIN LIBTOOL CONFIG
22822
22823# Which release of libtool.m4 was used?
22824macro_version=$macro_version
22825macro_revision=$macro_revision
22826
22827# Whether or not to build static libraries.
22828build_old_libs=$enable_static
22829
22830# Whether or not to build shared libraries.
22831build_libtool_libs=$enable_shared
22832
22833# What type of objects to build.
22834pic_mode=$pic_mode
22835
22836# Whether or not to optimize for fast installation.
22837fast_install=$enable_fast_install
22838
22839# Shared archive member basename,for filename based shared library versioning on AIX.
22840shared_archive_member_spec=$shared_archive_member_spec
22841
22842# Shell to use when invoking shell scripts.
22843SHELL=$lt_SHELL
22844
22845# An echo program that protects backslashes.
22846ECHO=$lt_ECHO
22847
22848# The PATH separator for the build system.
22849PATH_SEPARATOR=$lt_PATH_SEPARATOR
22850
22851# The host system.
22852host_alias=$host_alias
22853host=$host
22854host_os=$host_os
22855
22856# The build system.
22857build_alias=$build_alias
22858build=$build
22859build_os=$build_os
22860
22861# A sed program that does not truncate output.
22862SED=$lt_SED
22863
22864# Sed that helps us avoid accidentally triggering echo(1) options like -n.
22865Xsed="\$SED -e 1s/^X//"
22866
22867# A grep program that handles long lines.
22868GREP=$lt_GREP
22869
22870# An ERE matcher.
22871EGREP=$lt_EGREP
22872
22873# A literal string matcher.
22874FGREP=$lt_FGREP
22875
22876# A BSD- or MS-compatible name lister.
22877NM=$lt_NM
22878
22879# Whether we need soft or hard links.
22880LN_S=$lt_LN_S
22881
22882# What is the maximum length of a command?
22883max_cmd_len=$max_cmd_len
22884
22885# Object file suffix (normally "o").
22886objext=$ac_objext
22887
22888# Executable file suffix (normally "").
22889exeext=$exeext
22890
22891# whether the shell understands "unset".
22892lt_unset=$lt_unset
22893
22894# turn spaces into newlines.
22895SP2NL=$lt_lt_SP2NL
22896
22897# turn newlines into spaces.
22898NL2SP=$lt_lt_NL2SP
22899
22900# convert \$build file names to \$host format.
22901to_host_file_cmd=$lt_cv_to_host_file_cmd
22902
22903# convert \$build files to toolchain format.
22904to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22905
22906# An object symbol dumper.
22907OBJDUMP=$lt_OBJDUMP
22908
22909# Method to check whether dependent libraries are shared objects.
22910deplibs_check_method=$lt_deplibs_check_method
22911
22912# Command to use when deplibs_check_method = "file_magic".
22913file_magic_cmd=$lt_file_magic_cmd
22914
22915# How to find potential files when deplibs_check_method = "file_magic".
22916file_magic_glob=$lt_file_magic_glob
22917
22918# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22919want_nocaseglob=$lt_want_nocaseglob
22920
22921# DLL creation program.
22922DLLTOOL=$lt_DLLTOOL
22923
22924# Command to associate shared and link libraries.
22925sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22926
22927# The archiver.
22928AR=$lt_AR
22929
22930# Flags to create an archive.
22931AR_FLAGS=$lt_AR_FLAGS
22932
22933# How to feed a file listing to the archiver.
22934archiver_list_spec=$lt_archiver_list_spec
22935
22936# A symbol stripping program.
22937STRIP=$lt_STRIP
22938
22939# Commands used to install an old-style archive.
22940RANLIB=$lt_RANLIB
22941old_postinstall_cmds=$lt_old_postinstall_cmds
22942old_postuninstall_cmds=$lt_old_postuninstall_cmds
22943
22944# Whether to use a lock for old archive extraction.
22945lock_old_archive_extraction=$lock_old_archive_extraction
22946
22947# A C compiler.
22948LTCC=$lt_CC
22949
22950# LTCC compiler flags.
22951LTCFLAGS=$lt_CFLAGS
22952
22953# Take the output of nm and produce a listing of raw symbols and C names.
22954global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22955
22956# Transform the output of nm in a proper C declaration.
22957global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22958
22959# Transform the output of nm into a list of symbols to manually relocate.
22960global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
22961
22962# Transform the output of nm in a C name address pair.
22963global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22964
22965# Transform the output of nm in a C name address pair when lib prefix is needed.
22966global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22967
22968# The name lister interface.
22969nm_interface=$lt_lt_cv_nm_interface
22970
22971# Specify filename containing input files for \$NM.
22972nm_file_list_spec=$lt_nm_file_list_spec
22973
22974# The root where to search for dependent libraries,and where our libraries should be installed.
22975lt_sysroot=$lt_sysroot
22976
22977# Command to truncate a binary pipe.
22978lt_truncate_bin=$lt_lt_cv_truncate_bin
22979
22980# The name of the directory that contains temporary libtool files.
22981objdir=$objdir
22982
22983# Used to examine libraries when file_magic_cmd begins with "file".
22984MAGIC_CMD=$MAGIC_CMD
22985
22986# Must we lock files when doing compilation?
22987need_locks=$lt_need_locks
22988
22989# Manifest tool.
22990MANIFEST_TOOL=$lt_MANIFEST_TOOL
22991
22992# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22993DSYMUTIL=$lt_DSYMUTIL
22994
22995# Tool to change global to local symbols on Mac OS X.
22996NMEDIT=$lt_NMEDIT
22997
22998# Tool to manipulate fat objects and archives on Mac OS X.
22999LIPO=$lt_LIPO
23000
23001# ldd/readelf like tool for Mach-O binaries on Mac OS X.
23002OTOOL=$lt_OTOOL
23003
23004# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23005OTOOL64=$lt_OTOOL64
23006
23007# Old archive suffix (normally "a").
23008libext=$libext
23009
23010# Shared library suffix (normally ".so").
23011shrext_cmds=$lt_shrext_cmds
23012
23013# The commands to extract the exported symbol list from a shared archive.
23014extract_expsyms_cmds=$lt_extract_expsyms_cmds
23015
23016# Variables whose values should be saved in libtool wrapper scripts and
23017# restored at link time.
23018variables_saved_for_relink=$lt_variables_saved_for_relink
23019
23020# Do we need the "lib" prefix for modules?
23021need_lib_prefix=$need_lib_prefix
23022
23023# Do we need a version for libraries?
23024need_version=$need_version
23025
23026# Library versioning type.
23027version_type=$version_type
23028
23029# Shared library runtime path variable.
23030runpath_var=$runpath_var
23031
23032# Shared library path variable.
23033shlibpath_var=$shlibpath_var
23034
23035# Is shlibpath searched before the hard-coded library search path?
23036shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23037
23038# Format of library name prefix.
23039libname_spec=$lt_libname_spec
23040
23041# List of archive names.  First name is the real one, the rest are links.
23042# The last name is the one that the linker finds with -lNAME
23043library_names_spec=$lt_library_names_spec
23044
23045# The coded name of the library, if different from the real name.
23046soname_spec=$lt_soname_spec
23047
23048# Permission mode override for installation of shared libraries.
23049install_override_mode=$lt_install_override_mode
23050
23051# Command to use after installation of a shared archive.
23052postinstall_cmds=$lt_postinstall_cmds
23053
23054# Command to use after uninstallation of a shared archive.
23055postuninstall_cmds=$lt_postuninstall_cmds
23056
23057# Commands used to finish a libtool library installation in a directory.
23058finish_cmds=$lt_finish_cmds
23059
23060# As "finish_cmds", except a single script fragment to be evaled but
23061# not shown.
23062finish_eval=$lt_finish_eval
23063
23064# Whether we should hardcode library paths into libraries.
23065hardcode_into_libs=$hardcode_into_libs
23066
23067# Compile-time system search path for libraries.
23068sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23069
23070# Detected run-time system search path for libraries.
23071sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23072
23073# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23074configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23075
23076# Whether dlopen is supported.
23077dlopen_support=$enable_dlopen
23078
23079# Whether dlopen of programs is supported.
23080dlopen_self=$enable_dlopen_self
23081
23082# Whether dlopen of statically linked programs is supported.
23083dlopen_self_static=$enable_dlopen_self_static
23084
23085# Commands to strip libraries.
23086old_striplib=$lt_old_striplib
23087striplib=$lt_striplib
23088
23089
23090# The linker used to build libraries.
23091LD=$lt_LD
23092
23093# How to create reloadable object files.
23094reload_flag=$lt_reload_flag
23095reload_cmds=$lt_reload_cmds
23096
23097# Commands used to build an old-style archive.
23098old_archive_cmds=$lt_old_archive_cmds
23099
23100# A language specific compiler.
23101CC=$lt_compiler
23102
23103# Is the compiler the GNU compiler?
23104with_gcc=$GCC
23105
23106# Compiler flag to turn off builtin functions.
23107no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23108
23109# Additional compiler flags for building library objects.
23110pic_flag=$lt_lt_prog_compiler_pic
23111
23112# How to pass a linker flag through the compiler.
23113wl=$lt_lt_prog_compiler_wl
23114
23115# Compiler flag to prevent dynamic linking.
23116link_static_flag=$lt_lt_prog_compiler_static
23117
23118# Does compiler simultaneously support -c and -o options?
23119compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23120
23121# Whether or not to add -lc for building shared libraries.
23122build_libtool_need_lc=$archive_cmds_need_lc
23123
23124# Whether or not to disallow shared libs when runtime libs are static.
23125allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23126
23127# Compiler flag to allow reflexive dlopens.
23128export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23129
23130# Compiler flag to generate shared objects directly from archives.
23131whole_archive_flag_spec=$lt_whole_archive_flag_spec
23132
23133# Whether the compiler copes with passing no objects directly.
23134compiler_needs_object=$lt_compiler_needs_object
23135
23136# Create an old-style archive from a shared archive.
23137old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23138
23139# Create a temporary old-style archive to link instead of a shared archive.
23140old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23141
23142# Commands used to build a shared archive.
23143archive_cmds=$lt_archive_cmds
23144archive_expsym_cmds=$lt_archive_expsym_cmds
23145
23146# Commands used to build a loadable module if different from building
23147# a shared archive.
23148module_cmds=$lt_module_cmds
23149module_expsym_cmds=$lt_module_expsym_cmds
23150
23151# Whether we are building with GNU ld or not.
23152with_gnu_ld=$lt_with_gnu_ld
23153
23154# Flag that allows shared libraries with undefined symbols to be built.
23155allow_undefined_flag=$lt_allow_undefined_flag
23156
23157# Flag that enforces no undefined symbols.
23158no_undefined_flag=$lt_no_undefined_flag
23159
23160# Flag to hardcode \$libdir into a binary during linking.
23161# This must work even if \$libdir does not exist
23162hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23163
23164# Whether we need a single "-rpath" flag with a separated argument.
23165hardcode_libdir_separator=$lt_hardcode_libdir_separator
23166
23167# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23168# DIR into the resulting binary.
23169hardcode_direct=$hardcode_direct
23170
23171# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23172# DIR into the resulting binary and the resulting library dependency is
23173# "absolute",i.e impossible to change by setting \$shlibpath_var if the
23174# library is relocated.
23175hardcode_direct_absolute=$hardcode_direct_absolute
23176
23177# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23178# into the resulting binary.
23179hardcode_minus_L=$hardcode_minus_L
23180
23181# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23182# into the resulting binary.
23183hardcode_shlibpath_var=$hardcode_shlibpath_var
23184
23185# Set to "yes" if building a shared library automatically hardcodes DIR
23186# into the library and all subsequent libraries and executables linked
23187# against it.
23188hardcode_automatic=$hardcode_automatic
23189
23190# Set to yes if linker adds runtime paths of dependent libraries
23191# to runtime path list.
23192inherit_rpath=$inherit_rpath
23193
23194# Whether libtool must link a program against all its dependency libraries.
23195link_all_deplibs=$link_all_deplibs
23196
23197# Set to "yes" if exported symbols are required.
23198always_export_symbols=$always_export_symbols
23199
23200# The commands to list exported symbols.
23201export_symbols_cmds=$lt_export_symbols_cmds
23202
23203# Symbols that should not be listed in the preloaded symbols.
23204exclude_expsyms=$lt_exclude_expsyms
23205
23206# Symbols that must always be exported.
23207include_expsyms=$lt_include_expsyms
23208
23209# Commands necessary for linking programs (against libraries) with templates.
23210prelink_cmds=$lt_prelink_cmds
23211
23212# Commands necessary for finishing linking programs.
23213postlink_cmds=$lt_postlink_cmds
23214
23215# Specify filename containing input files.
23216file_list_spec=$lt_file_list_spec
23217
23218# How to hardcode a shared library path into an executable.
23219hardcode_action=$hardcode_action
23220
23221# The directories searched by this compiler when creating a shared library.
23222compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23223
23224# Dependencies to place before and after the objects being linked to
23225# create a shared library.
23226predep_objects=$lt_predep_objects
23227postdep_objects=$lt_postdep_objects
23228predeps=$lt_predeps
23229postdeps=$lt_postdeps
23230
23231# The library search path used internally by the compiler when linking
23232# a shared library.
23233compiler_lib_search_path=$lt_compiler_lib_search_path
23234
23235# ### END LIBTOOL CONFIG
23236
23237_LT_EOF
23238
23239    cat <<'_LT_EOF' >> "$cfgfile"
23240
23241# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23242
23243# func_munge_path_list VARIABLE PATH
23244# -----------------------------------
23245# VARIABLE is name of variable containing _space_ separated list of
23246# directories to be munged by the contents of PATH, which is string
23247# having a format:
23248# "DIR[:DIR]:"
23249#       string "DIR[ DIR]" will be prepended to VARIABLE
23250# ":DIR[:DIR]"
23251#       string "DIR[ DIR]" will be appended to VARIABLE
23252# "DIRP[:DIRP]::[DIRA:]DIRA"
23253#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23254#       "DIRA[ DIRA]" will be appended to VARIABLE
23255# "DIR[:DIR]"
23256#       VARIABLE will be replaced by "DIR[ DIR]"
23257func_munge_path_list ()
23258{
23259    case x$2 in
23260    x)
23261        ;;
23262    *:)
23263        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23264        ;;
23265    x:*)
23266        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23267        ;;
23268    *::*)
23269        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23270        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23271        ;;
23272    *)
23273        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23274        ;;
23275    esac
23276}
23277
23278
23279# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
23280func_cc_basename ()
23281{
23282    for cc_temp in $*""; do
23283      case $cc_temp in
23284        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23285        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23286        \-*) ;;
23287        *) break;;
23288      esac
23289    done
23290    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23291}
23292
23293
23294# ### END FUNCTIONS SHARED WITH CONFIGURE
23295
23296_LT_EOF
23297
23298  case $host_os in
23299  aix3*)
23300    cat <<\_LT_EOF >> "$cfgfile"
23301# AIX sometimes has problems with the GCC collect2 program.  For some
23302# reason, if we set the COLLECT_NAMES environment variable, the problems
23303# vanish in a puff of smoke.
23304if test set != "${COLLECT_NAMES+set}"; then
23305  COLLECT_NAMES=
23306  export COLLECT_NAMES
23307fi
23308_LT_EOF
23309    ;;
23310  esac
23311
23312
23313ltmain=$ac_aux_dir/ltmain.sh
23314
23315
23316  # We use sed instead of cat because bash on DJGPP gets confused if
23317  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
23318  # text mode, it properly converts lines to CR/LF.  This bash problem
23319  # is reportedly fixed, but why not run on old versions too?
23320  sed '$q' "$ltmain" >> "$cfgfile" \
23321     || (rm -f "$cfgfile"; exit 1)
23322
23323   mv -f "$cfgfile" "$ofile" ||
23324    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23325  chmod +x "$ofile"
23326
23327
23328    cat <<_LT_EOF >> "$ofile"
23329
23330# ### BEGIN LIBTOOL TAG CONFIG: CXX
23331
23332# The linker used to build libraries.
23333LD=$lt_LD_CXX
23334
23335# How to create reloadable object files.
23336reload_flag=$lt_reload_flag_CXX
23337reload_cmds=$lt_reload_cmds_CXX
23338
23339# Commands used to build an old-style archive.
23340old_archive_cmds=$lt_old_archive_cmds_CXX
23341
23342# A language specific compiler.
23343CC=$lt_compiler_CXX
23344
23345# Is the compiler the GNU compiler?
23346with_gcc=$GCC_CXX
23347
23348# Compiler flag to turn off builtin functions.
23349no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23350
23351# Additional compiler flags for building library objects.
23352pic_flag=$lt_lt_prog_compiler_pic_CXX
23353
23354# How to pass a linker flag through the compiler.
23355wl=$lt_lt_prog_compiler_wl_CXX
23356
23357# Compiler flag to prevent dynamic linking.
23358link_static_flag=$lt_lt_prog_compiler_static_CXX
23359
23360# Does compiler simultaneously support -c and -o options?
23361compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23362
23363# Whether or not to add -lc for building shared libraries.
23364build_libtool_need_lc=$archive_cmds_need_lc_CXX
23365
23366# Whether or not to disallow shared libs when runtime libs are static.
23367allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23368
23369# Compiler flag to allow reflexive dlopens.
23370export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23371
23372# Compiler flag to generate shared objects directly from archives.
23373whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23374
23375# Whether the compiler copes with passing no objects directly.
23376compiler_needs_object=$lt_compiler_needs_object_CXX
23377
23378# Create an old-style archive from a shared archive.
23379old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23380
23381# Create a temporary old-style archive to link instead of a shared archive.
23382old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23383
23384# Commands used to build a shared archive.
23385archive_cmds=$lt_archive_cmds_CXX
23386archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23387
23388# Commands used to build a loadable module if different from building
23389# a shared archive.
23390module_cmds=$lt_module_cmds_CXX
23391module_expsym_cmds=$lt_module_expsym_cmds_CXX
23392
23393# Whether we are building with GNU ld or not.
23394with_gnu_ld=$lt_with_gnu_ld_CXX
23395
23396# Flag that allows shared libraries with undefined symbols to be built.
23397allow_undefined_flag=$lt_allow_undefined_flag_CXX
23398
23399# Flag that enforces no undefined symbols.
23400no_undefined_flag=$lt_no_undefined_flag_CXX
23401
23402# Flag to hardcode \$libdir into a binary during linking.
23403# This must work even if \$libdir does not exist
23404hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23405
23406# Whether we need a single "-rpath" flag with a separated argument.
23407hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23408
23409# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23410# DIR into the resulting binary.
23411hardcode_direct=$hardcode_direct_CXX
23412
23413# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23414# DIR into the resulting binary and the resulting library dependency is
23415# "absolute",i.e impossible to change by setting \$shlibpath_var if the
23416# library is relocated.
23417hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23418
23419# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23420# into the resulting binary.
23421hardcode_minus_L=$hardcode_minus_L_CXX
23422
23423# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23424# into the resulting binary.
23425hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23426
23427# Set to "yes" if building a shared library automatically hardcodes DIR
23428# into the library and all subsequent libraries and executables linked
23429# against it.
23430hardcode_automatic=$hardcode_automatic_CXX
23431
23432# Set to yes if linker adds runtime paths of dependent libraries
23433# to runtime path list.
23434inherit_rpath=$inherit_rpath_CXX
23435
23436# Whether libtool must link a program against all its dependency libraries.
23437link_all_deplibs=$link_all_deplibs_CXX
23438
23439# Set to "yes" if exported symbols are required.
23440always_export_symbols=$always_export_symbols_CXX
23441
23442# The commands to list exported symbols.
23443export_symbols_cmds=$lt_export_symbols_cmds_CXX
23444
23445# Symbols that should not be listed in the preloaded symbols.
23446exclude_expsyms=$lt_exclude_expsyms_CXX
23447
23448# Symbols that must always be exported.
23449include_expsyms=$lt_include_expsyms_CXX
23450
23451# Commands necessary for linking programs (against libraries) with templates.
23452prelink_cmds=$lt_prelink_cmds_CXX
23453
23454# Commands necessary for finishing linking programs.
23455postlink_cmds=$lt_postlink_cmds_CXX
23456
23457# Specify filename containing input files.
23458file_list_spec=$lt_file_list_spec_CXX
23459
23460# How to hardcode a shared library path into an executable.
23461hardcode_action=$hardcode_action_CXX
23462
23463# The directories searched by this compiler when creating a shared library.
23464compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23465
23466# Dependencies to place before and after the objects being linked to
23467# create a shared library.
23468predep_objects=$lt_predep_objects_CXX
23469postdep_objects=$lt_postdep_objects_CXX
23470predeps=$lt_predeps_CXX
23471postdeps=$lt_postdeps_CXX
23472
23473# The library search path used internally by the compiler when linking
23474# a shared library.
23475compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23476
23477# ### END LIBTOOL TAG CONFIG: CXX
23478_LT_EOF
23479
23480 ;;
23481    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
23482        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
23483      esac ;;
23484    "po/stamp-it":C)
23485    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
23486       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
23487    fi
23488    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
23489    >"po/stamp-it.tmp"
23490    sed '/^#/d
23491	 s/^[[].*] *//
23492	 /^[ 	]*$/d
23493	'"s|^|	$ac_top_srcdir/|" \
23494      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
23495
23496    sed '/^POTFILES =/,/[^\\]$/ {
23497		/^POTFILES =/!d
23498		r po/POTFILES
23499	  }
23500	 ' "po/Makefile.in" >"po/Makefile"
23501    rm -f "po/Makefile.tmp"
23502    mv "po/stamp-it.tmp" "po/stamp-it"
23503   ;;
23504
23505  esac
23506done # for ac_tag
23507
23508
23509as_fn_exit 0
23510_ACEOF
23511ac_clean_files=$ac_clean_files_save
23512
23513test $ac_write_fail = 0 ||
23514  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23515
23516
23517# configure is writing to config.log, and then calls config.status.
23518# config.status does its own redirection, appending to config.log.
23519# Unfortunately, on DOS this fails, as config.log is still kept open
23520# by configure, so config.status won't be able to write to it; its
23521# output is simply discarded.  So we exec the FD to /dev/null,
23522# effectively closing config.log, so it can be properly (re)opened and
23523# appended to by config.status.  When coming back to configure, we
23524# need to make the FD available again.
23525if test "$no_create" != yes; then
23526  ac_cs_success=:
23527  ac_config_status_args=
23528  test "$silent" = yes &&
23529    ac_config_status_args="$ac_config_status_args --quiet"
23530  exec 5>/dev/null
23531  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23532  exec 5>>config.log
23533  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23534  # would make configure fail if this is the last instruction.
23535  $ac_cs_success || as_fn_exit 1
23536fi
23537if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23538  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23539$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23540fi
23541
23542
23543# Summary
23544
23545	# Count the max lengths
23546	dlen=0
23547	vlen=0
23548	while read l; do
23549		d=`echo "$l" | cut -d: -f1`
23550		v=`echo "$l" | cut -d: -f2`
23551		dl=${#d}
23552		vl=${#v}
23553		test $dlen -lt $dl && dlen=$dl
23554		test $vlen -lt $vl && vlen=$vl
23555	done << EOF
23556$_GEANY_STATUS
23557EOF
23558
23559	# Print a nice top bar
23560	# description + ' : ' + value
23561	total=`expr $dlen + 3 + $vlen`
23562	for i in `seq 1 $total`; do printf '-'; done
23563	echo
23564
23565	# And print the actual content
23566	# format is:
23567	#  key1       : value1
23568	#  second key : second value
23569	while read l; do
23570		test -z "$l" && continue
23571		d=`echo "$l" | cut -d: -f1`
23572		v=`echo "$l" | cut -d: -f2`
23573		printf '%-*s : %s\n' $dlen "$d" "$v"
23574	done << EOF
23575$_GEANY_STATUS
23576EOF
23577
23578echo ""
23579echo "Configuration is done OK."
23580echo ""
23581