1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for lasem 0.5.1.
4#
5# Report bugs to <http://bugzilla.gnome.org/>.
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: http://bugzilla.gnome.org/ about your system, including
279$0: any error possibly output before this message. Then
280$0: install a modern shell, or manually run the script
281$0: 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='lasem'
592PACKAGE_TARNAME='lasem'
593PACKAGE_VERSION='0.5.1'
594PACKAGE_STRING='lasem 0.5.1'
595PACKAGE_BUGREPORT='http://bugzilla.gnome.org/'
596PACKAGE_URL=''
597
598# Factoring default headers for most tests.
599ac_includes_default="\
600#include <stdio.h>
601#ifdef HAVE_SYS_TYPES_H
602# include <sys/types.h>
603#endif
604#ifdef HAVE_SYS_STAT_H
605# include <sys/stat.h>
606#endif
607#ifdef STDC_HEADERS
608# include <stdlib.h>
609# include <stddef.h>
610#else
611# ifdef HAVE_STDLIB_H
612#  include <stdlib.h>
613# endif
614#endif
615#ifdef HAVE_STRING_H
616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617#  include <memory.h>
618# endif
619# include <string.h>
620#endif
621#ifdef HAVE_STRINGS_H
622# include <strings.h>
623#endif
624#ifdef HAVE_INTTYPES_H
625# include <inttypes.h>
626#endif
627#ifdef HAVE_STDINT_H
628# include <stdint.h>
629#endif
630#ifdef HAVE_UNISTD_H
631# include <unistd.h>
632#endif"
633
634ac_subst_vars='am__EXEEXT_FALSE
635am__EXEEXT_TRUE
636LTLIBOBJS
637LIBOBJS
638BUILD_GTK_DOC_FALSE
639BUILD_GTK_DOC_TRUE
640GTK_DOC_USE_REBASE_FALSE
641GTK_DOC_USE_REBASE_TRUE
642GTK_DOC_USE_LIBTOOL_FALSE
643GTK_DOC_USE_LIBTOOL_TRUE
644GTK_DOC_BUILD_PDF_FALSE
645GTK_DOC_BUILD_PDF_TRUE
646GTK_DOC_BUILD_HTML_FALSE
647GTK_DOC_BUILD_HTML_TRUE
648ENABLE_GTK_DOC_FALSE
649ENABLE_GTK_DOC_TRUE
650HAVE_GTK_DOC_FALSE
651HAVE_GTK_DOC_TRUE
652GTKDOC_DEPS_LIBS
653GTKDOC_DEPS_CFLAGS
654HTML_DIR
655GTKDOC_MKPDF
656GTKDOC_REBASE
657GTKDOC_CHECK_PATH
658GTKDOC_CHECK
659HAVE_INTROSPECTION_FALSE
660HAVE_INTROSPECTION_TRUE
661INTROSPECTION_MAKEFILE
662INTROSPECTION_LIBS
663INTROSPECTION_CFLAGS
664INTROSPECTION_TYPELIBDIR
665INTROSPECTION_GIRDIR
666INTROSPECTION_GENERATE
667INTROSPECTION_COMPILER
668INTROSPECTION_SCANNER
669GLIB_MKENUMS
670LASEM_LIBS
671LASEM_CFLAGS
672PKG_CONFIG_LIBDIR
673PKG_CONFIG_PATH
674PKG_CONFIG
675LT_SYS_LIBRARY_PATH
676OTOOL64
677OTOOL
678LIPO
679NMEDIT
680DSYMUTIL
681MANIFEST_TOOL
682RANLIB
683ac_ct_AR
684AR
685DLLTOOL
686OBJDUMP
687LN_S
688NM
689ac_ct_DUMPBIN
690DUMPBIN
691LD
692FGREP
693SED
694host_os
695host_vendor
696host_cpu
697host
698build_os
699build_vendor
700build_cpu
701build
702LIBTOOL
703ALL_LINGUAS
704INTLTOOL_PERL
705MSGMERGE
706INTLTOOL_POLICY_RULE
707INTLTOOL_SERVICE_RULE
708INTLTOOL_THEME_RULE
709INTLTOOL_SCHEMAS_RULE
710INTLTOOL_CAVES_RULE
711INTLTOOL_XML_NOMERGE_RULE
712INTLTOOL_XML_RULE
713INTLTOOL_KBD_RULE
714INTLTOOL_XAM_RULE
715INTLTOOL_UI_RULE
716INTLTOOL_SOUNDLIST_RULE
717INTLTOOL_SHEET_RULE
718INTLTOOL_SERVER_RULE
719INTLTOOL_PONG_RULE
720INTLTOOL_OAF_RULE
721INTLTOOL_PROP_RULE
722INTLTOOL_KEYS_RULE
723INTLTOOL_DIRECTORY_RULE
724INTLTOOL_DESKTOP_RULE
725intltool__v_merge_options_0
726intltool__v_merge_options_
727INTLTOOL_V_MERGE_OPTIONS
728INTLTOOL__v_MERGE_0
729INTLTOOL__v_MERGE_
730INTLTOOL_V_MERGE
731INTLTOOL_EXTRACT
732INTLTOOL_MERGE
733INTLTOOL_UPDATE
734MKINSTALLDIRS
735POSUB
736POFILES
737PO_IN_DATADIR_FALSE
738PO_IN_DATADIR_TRUE
739INTLLIBS
740INSTOBJEXT
741GMOFILES
742DATADIRNAME
743CATOBJEXT
744CATALOGS
745XGETTEXT
746GMSGFMT
747MSGFMT_OPTS
748MSGFMT
749INTL_MACOSX_LIBS
750USE_NLS
751GETTEXT_PACKAGE
752YFLAGS
753YACC
754LEXLIB
755LEX_OUTPUT_ROOT
756LEX
757EGREP
758GREP
759CPP
760am__fastdepCC_FALSE
761am__fastdepCC_TRUE
762CCDEPMODE
763am__nodep
764AMDEPBACKSLASH
765AMDEP_FALSE
766AMDEP_TRUE
767am__include
768DEPDIR
769OBJEXT
770EXEEXT
771ac_ct_CC
772CPPFLAGS
773LDFLAGS
774CFLAGS
775CC
776LASEM_LIBTOOL_VERSION
777LASEM_API_VERSION_U
778LASEM_API_VERSION
779MAINT
780MAINTAINER_MODE_FALSE
781MAINTAINER_MODE_TRUE
782AM_BACKSLASH
783AM_DEFAULT_VERBOSITY
784AM_DEFAULT_V
785AM_V
786am__untar
787am__tar
788AMTAR
789am__leading_dot
790SET_MAKE
791AWK
792mkdir_p
793MKDIR_P
794INSTALL_STRIP_PROGRAM
795STRIP
796install_sh
797MAKEINFO
798AUTOHEADER
799AUTOMAKE
800AUTOCONF
801ACLOCAL
802VERSION
803PACKAGE
804CYGPATH_W
805am__isrc
806INSTALL_DATA
807INSTALL_SCRIPT
808INSTALL_PROGRAM
809target_alias
810host_alias
811build_alias
812LIBS
813ECHO_T
814ECHO_N
815ECHO_C
816DEFS
817mandir
818localedir
819libdir
820psdir
821pdfdir
822dvidir
823htmldir
824infodir
825docdir
826oldincludedir
827includedir
828localstatedir
829sharedstatedir
830sysconfdir
831datadir
832datarootdir
833libexecdir
834sbindir
835bindir
836program_transform_name
837prefix
838exec_prefix
839PACKAGE_URL
840PACKAGE_BUGREPORT
841PACKAGE_STRING
842PACKAGE_VERSION
843PACKAGE_TARNAME
844PACKAGE_NAME
845PATH_SEPARATOR
846SHELL
847am__quote'
848ac_subst_files=''
849ac_user_opts='
850enable_option_checking
851enable_silent_rules
852enable_maintainer_mode
853enable_dependency_tracking
854enable_nls
855enable_shared
856enable_static
857with_pic
858enable_fast_install
859with_aix_soname
860with_gnu_ld
861with_sysroot
862enable_libtool_lock
863enable_introspection
864with_html_dir
865enable_gtk_doc
866enable_gtk_doc_html
867enable_gtk_doc_pdf
868'
869      ac_precious_vars='build_alias
870host_alias
871target_alias
872CC
873CFLAGS
874LDFLAGS
875LIBS
876CPPFLAGS
877CPP
878YACC
879YFLAGS
880LT_SYS_LIBRARY_PATH
881PKG_CONFIG
882PKG_CONFIG_PATH
883PKG_CONFIG_LIBDIR
884LASEM_CFLAGS
885LASEM_LIBS
886GTKDOC_DEPS_CFLAGS
887GTKDOC_DEPS_LIBS'
888
889
890# Initialize some variables set by options.
891ac_init_help=
892ac_init_version=false
893ac_unrecognized_opts=
894ac_unrecognized_sep=
895# The variables have the same names as the options, with
896# dashes changed to underlines.
897cache_file=/dev/null
898exec_prefix=NONE
899no_create=
900no_recursion=
901prefix=NONE
902program_prefix=NONE
903program_suffix=NONE
904program_transform_name=s,x,x,
905silent=
906site=
907srcdir=
908verbose=
909x_includes=NONE
910x_libraries=NONE
911
912# Installation directory options.
913# These are left unexpanded so users can "make install exec_prefix=/foo"
914# and all the variables that are supposed to be based on exec_prefix
915# by default will actually change.
916# Use braces instead of parens because sh, perl, etc. also accept them.
917# (The list follows the same order as the GNU Coding Standards.)
918bindir='${exec_prefix}/bin'
919sbindir='${exec_prefix}/sbin'
920libexecdir='${exec_prefix}/libexec'
921datarootdir='${prefix}/share'
922datadir='${datarootdir}'
923sysconfdir='${prefix}/etc'
924sharedstatedir='${prefix}/com'
925localstatedir='${prefix}/var'
926includedir='${prefix}/include'
927oldincludedir='/usr/include'
928docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
929infodir='${datarootdir}/info'
930htmldir='${docdir}'
931dvidir='${docdir}'
932pdfdir='${docdir}'
933psdir='${docdir}'
934libdir='${exec_prefix}/lib'
935localedir='${datarootdir}/locale'
936mandir='${datarootdir}/man'
937
938ac_prev=
939ac_dashdash=
940for ac_option
941do
942  # If the previous option needs an argument, assign it.
943  if test -n "$ac_prev"; then
944    eval $ac_prev=\$ac_option
945    ac_prev=
946    continue
947  fi
948
949  case $ac_option in
950  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
951  *=)   ac_optarg= ;;
952  *)    ac_optarg=yes ;;
953  esac
954
955  # Accept the important Cygnus configure options, so we can diagnose typos.
956
957  case $ac_dashdash$ac_option in
958  --)
959    ac_dashdash=yes ;;
960
961  -bindir | --bindir | --bindi | --bind | --bin | --bi)
962    ac_prev=bindir ;;
963  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
964    bindir=$ac_optarg ;;
965
966  -build | --build | --buil | --bui | --bu)
967    ac_prev=build_alias ;;
968  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
969    build_alias=$ac_optarg ;;
970
971  -cache-file | --cache-file | --cache-fil | --cache-fi \
972  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
973    ac_prev=cache_file ;;
974  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
975  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
976    cache_file=$ac_optarg ;;
977
978  --config-cache | -C)
979    cache_file=config.cache ;;
980
981  -datadir | --datadir | --datadi | --datad)
982    ac_prev=datadir ;;
983  -datadir=* | --datadir=* | --datadi=* | --datad=*)
984    datadir=$ac_optarg ;;
985
986  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
987  | --dataroo | --dataro | --datar)
988    ac_prev=datarootdir ;;
989  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
990  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
991    datarootdir=$ac_optarg ;;
992
993  -disable-* | --disable-*)
994    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
995    # Reject names that are not valid shell variable names.
996    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
997      as_fn_error $? "invalid feature name: $ac_useropt"
998    ac_useropt_orig=$ac_useropt
999    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000    case $ac_user_opts in
1001      *"
1002"enable_$ac_useropt"
1003"*) ;;
1004      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1005	 ac_unrecognized_sep=', ';;
1006    esac
1007    eval enable_$ac_useropt=no ;;
1008
1009  -docdir | --docdir | --docdi | --doc | --do)
1010    ac_prev=docdir ;;
1011  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1012    docdir=$ac_optarg ;;
1013
1014  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1015    ac_prev=dvidir ;;
1016  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1017    dvidir=$ac_optarg ;;
1018
1019  -enable-* | --enable-*)
1020    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1021    # Reject names that are not valid shell variable names.
1022    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023      as_fn_error $? "invalid feature name: $ac_useropt"
1024    ac_useropt_orig=$ac_useropt
1025    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026    case $ac_user_opts in
1027      *"
1028"enable_$ac_useropt"
1029"*) ;;
1030      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1031	 ac_unrecognized_sep=', ';;
1032    esac
1033    eval enable_$ac_useropt=\$ac_optarg ;;
1034
1035  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1036  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1037  | --exec | --exe | --ex)
1038    ac_prev=exec_prefix ;;
1039  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1040  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1041  | --exec=* | --exe=* | --ex=*)
1042    exec_prefix=$ac_optarg ;;
1043
1044  -gas | --gas | --ga | --g)
1045    # Obsolete; use --with-gas.
1046    with_gas=yes ;;
1047
1048  -help | --help | --hel | --he | -h)
1049    ac_init_help=long ;;
1050  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1051    ac_init_help=recursive ;;
1052  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1053    ac_init_help=short ;;
1054
1055  -host | --host | --hos | --ho)
1056    ac_prev=host_alias ;;
1057  -host=* | --host=* | --hos=* | --ho=*)
1058    host_alias=$ac_optarg ;;
1059
1060  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1061    ac_prev=htmldir ;;
1062  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1063  | --ht=*)
1064    htmldir=$ac_optarg ;;
1065
1066  -includedir | --includedir | --includedi | --included | --include \
1067  | --includ | --inclu | --incl | --inc)
1068    ac_prev=includedir ;;
1069  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1070  | --includ=* | --inclu=* | --incl=* | --inc=*)
1071    includedir=$ac_optarg ;;
1072
1073  -infodir | --infodir | --infodi | --infod | --info | --inf)
1074    ac_prev=infodir ;;
1075  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1076    infodir=$ac_optarg ;;
1077
1078  -libdir | --libdir | --libdi | --libd)
1079    ac_prev=libdir ;;
1080  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1081    libdir=$ac_optarg ;;
1082
1083  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1084  | --libexe | --libex | --libe)
1085    ac_prev=libexecdir ;;
1086  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1087  | --libexe=* | --libex=* | --libe=*)
1088    libexecdir=$ac_optarg ;;
1089
1090  -localedir | --localedir | --localedi | --localed | --locale)
1091    ac_prev=localedir ;;
1092  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1093    localedir=$ac_optarg ;;
1094
1095  -localstatedir | --localstatedir | --localstatedi | --localstated \
1096  | --localstate | --localstat | --localsta | --localst | --locals)
1097    ac_prev=localstatedir ;;
1098  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1099  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1100    localstatedir=$ac_optarg ;;
1101
1102  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1103    ac_prev=mandir ;;
1104  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1105    mandir=$ac_optarg ;;
1106
1107  -nfp | --nfp | --nf)
1108    # Obsolete; use --without-fp.
1109    with_fp=no ;;
1110
1111  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1112  | --no-cr | --no-c | -n)
1113    no_create=yes ;;
1114
1115  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1116  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1117    no_recursion=yes ;;
1118
1119  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1120  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1121  | --oldin | --oldi | --old | --ol | --o)
1122    ac_prev=oldincludedir ;;
1123  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1124  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1125  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1126    oldincludedir=$ac_optarg ;;
1127
1128  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1129    ac_prev=prefix ;;
1130  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1131    prefix=$ac_optarg ;;
1132
1133  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1134  | --program-pre | --program-pr | --program-p)
1135    ac_prev=program_prefix ;;
1136  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1137  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1138    program_prefix=$ac_optarg ;;
1139
1140  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1141  | --program-suf | --program-su | --program-s)
1142    ac_prev=program_suffix ;;
1143  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1144  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1145    program_suffix=$ac_optarg ;;
1146
1147  -program-transform-name | --program-transform-name \
1148  | --program-transform-nam | --program-transform-na \
1149  | --program-transform-n | --program-transform- \
1150  | --program-transform | --program-transfor \
1151  | --program-transfo | --program-transf \
1152  | --program-trans | --program-tran \
1153  | --progr-tra | --program-tr | --program-t)
1154    ac_prev=program_transform_name ;;
1155  -program-transform-name=* | --program-transform-name=* \
1156  | --program-transform-nam=* | --program-transform-na=* \
1157  | --program-transform-n=* | --program-transform-=* \
1158  | --program-transform=* | --program-transfor=* \
1159  | --program-transfo=* | --program-transf=* \
1160  | --program-trans=* | --program-tran=* \
1161  | --progr-tra=* | --program-tr=* | --program-t=*)
1162    program_transform_name=$ac_optarg ;;
1163
1164  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1165    ac_prev=pdfdir ;;
1166  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1167    pdfdir=$ac_optarg ;;
1168
1169  -psdir | --psdir | --psdi | --psd | --ps)
1170    ac_prev=psdir ;;
1171  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1172    psdir=$ac_optarg ;;
1173
1174  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1175  | -silent | --silent | --silen | --sile | --sil)
1176    silent=yes ;;
1177
1178  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1179    ac_prev=sbindir ;;
1180  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1181  | --sbi=* | --sb=*)
1182    sbindir=$ac_optarg ;;
1183
1184  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1185  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1186  | --sharedst | --shareds | --shared | --share | --shar \
1187  | --sha | --sh)
1188    ac_prev=sharedstatedir ;;
1189  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1190  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1191  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1192  | --sha=* | --sh=*)
1193    sharedstatedir=$ac_optarg ;;
1194
1195  -site | --site | --sit)
1196    ac_prev=site ;;
1197  -site=* | --site=* | --sit=*)
1198    site=$ac_optarg ;;
1199
1200  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1201    ac_prev=srcdir ;;
1202  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1203    srcdir=$ac_optarg ;;
1204
1205  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1206  | --syscon | --sysco | --sysc | --sys | --sy)
1207    ac_prev=sysconfdir ;;
1208  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1209  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1210    sysconfdir=$ac_optarg ;;
1211
1212  -target | --target | --targe | --targ | --tar | --ta | --t)
1213    ac_prev=target_alias ;;
1214  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1215    target_alias=$ac_optarg ;;
1216
1217  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1218    verbose=yes ;;
1219
1220  -version | --version | --versio | --versi | --vers | -V)
1221    ac_init_version=: ;;
1222
1223  -with-* | --with-*)
1224    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1225    # Reject names that are not valid shell variable names.
1226    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1227      as_fn_error $? "invalid package name: $ac_useropt"
1228    ac_useropt_orig=$ac_useropt
1229    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1230    case $ac_user_opts in
1231      *"
1232"with_$ac_useropt"
1233"*) ;;
1234      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1235	 ac_unrecognized_sep=', ';;
1236    esac
1237    eval with_$ac_useropt=\$ac_optarg ;;
1238
1239  -without-* | --without-*)
1240    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1241    # Reject names that are not valid shell variable names.
1242    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1243      as_fn_error $? "invalid package name: $ac_useropt"
1244    ac_useropt_orig=$ac_useropt
1245    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1246    case $ac_user_opts in
1247      *"
1248"with_$ac_useropt"
1249"*) ;;
1250      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1251	 ac_unrecognized_sep=', ';;
1252    esac
1253    eval with_$ac_useropt=no ;;
1254
1255  --x)
1256    # Obsolete; use --with-x.
1257    with_x=yes ;;
1258
1259  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1260  | --x-incl | --x-inc | --x-in | --x-i)
1261    ac_prev=x_includes ;;
1262  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1263  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1264    x_includes=$ac_optarg ;;
1265
1266  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1267  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1268    ac_prev=x_libraries ;;
1269  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1270  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1271    x_libraries=$ac_optarg ;;
1272
1273  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1274Try \`$0 --help' for more information"
1275    ;;
1276
1277  *=*)
1278    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1279    # Reject names that are not valid shell variable names.
1280    case $ac_envvar in #(
1281      '' | [0-9]* | *[!_$as_cr_alnum]* )
1282      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1283    esac
1284    eval $ac_envvar=\$ac_optarg
1285    export $ac_envvar ;;
1286
1287  *)
1288    # FIXME: should be removed in autoconf 3.0.
1289    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1290    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1291      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1292    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1293    ;;
1294
1295  esac
1296done
1297
1298if test -n "$ac_prev"; then
1299  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1300  as_fn_error $? "missing argument to $ac_option"
1301fi
1302
1303if test -n "$ac_unrecognized_opts"; then
1304  case $enable_option_checking in
1305    no) ;;
1306    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1307    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1308  esac
1309fi
1310
1311# Check all directory arguments for consistency.
1312for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1313		datadir sysconfdir sharedstatedir localstatedir includedir \
1314		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1315		libdir localedir mandir
1316do
1317  eval ac_val=\$$ac_var
1318  # Remove trailing slashes.
1319  case $ac_val in
1320    */ )
1321      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1322      eval $ac_var=\$ac_val;;
1323  esac
1324  # Be sure to have absolute directory names.
1325  case $ac_val in
1326    [\\/$]* | ?:[\\/]* )  continue;;
1327    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1328  esac
1329  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1330done
1331
1332# There might be people who depend on the old broken behavior: `$host'
1333# used to hold the argument of --host etc.
1334# FIXME: To remove some day.
1335build=$build_alias
1336host=$host_alias
1337target=$target_alias
1338
1339# FIXME: To remove some day.
1340if test "x$host_alias" != x; then
1341  if test "x$build_alias" = x; then
1342    cross_compiling=maybe
1343  elif test "x$build_alias" != "x$host_alias"; then
1344    cross_compiling=yes
1345  fi
1346fi
1347
1348ac_tool_prefix=
1349test -n "$host_alias" && ac_tool_prefix=$host_alias-
1350
1351test "$silent" = yes && exec 6>/dev/null
1352
1353
1354ac_pwd=`pwd` && test -n "$ac_pwd" &&
1355ac_ls_di=`ls -di .` &&
1356ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1357  as_fn_error $? "working directory cannot be determined"
1358test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1359  as_fn_error $? "pwd does not report name of working directory"
1360
1361
1362# Find the source files, if location was not specified.
1363if test -z "$srcdir"; then
1364  ac_srcdir_defaulted=yes
1365  # Try the directory containing this script, then the parent directory.
1366  ac_confdir=`$as_dirname -- "$as_myself" ||
1367$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1368	 X"$as_myself" : 'X\(//\)[^/]' \| \
1369	 X"$as_myself" : 'X\(//\)$' \| \
1370	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1371$as_echo X"$as_myself" |
1372    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1373	    s//\1/
1374	    q
1375	  }
1376	  /^X\(\/\/\)[^/].*/{
1377	    s//\1/
1378	    q
1379	  }
1380	  /^X\(\/\/\)$/{
1381	    s//\1/
1382	    q
1383	  }
1384	  /^X\(\/\).*/{
1385	    s//\1/
1386	    q
1387	  }
1388	  s/.*/./; q'`
1389  srcdir=$ac_confdir
1390  if test ! -r "$srcdir/$ac_unique_file"; then
1391    srcdir=..
1392  fi
1393else
1394  ac_srcdir_defaulted=no
1395fi
1396if test ! -r "$srcdir/$ac_unique_file"; then
1397  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1398  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1399fi
1400ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1401ac_abs_confdir=`(
1402	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1403	pwd)`
1404# When building in place, set srcdir=.
1405if test "$ac_abs_confdir" = "$ac_pwd"; then
1406  srcdir=.
1407fi
1408# Remove unnecessary trailing slashes from srcdir.
1409# Double slashes in file names in object file debugging info
1410# mess up M-x gdb in Emacs.
1411case $srcdir in
1412*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1413esac
1414for ac_var in $ac_precious_vars; do
1415  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1416  eval ac_env_${ac_var}_value=\$${ac_var}
1417  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1418  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1419done
1420
1421#
1422# Report the --help message.
1423#
1424if test "$ac_init_help" = "long"; then
1425  # Omit some internal or obsolete options to make the list less imposing.
1426  # This message is too long to be a string in the A/UX 3.1 sh.
1427  cat <<_ACEOF
1428\`configure' configures lasem 0.5.1 to adapt to many kinds of systems.
1429
1430Usage: $0 [OPTION]... [VAR=VALUE]...
1431
1432To assign environment variables (e.g., CC, CFLAGS...), specify them as
1433VAR=VALUE.  See below for descriptions of some of the useful variables.
1434
1435Defaults for the options are specified in brackets.
1436
1437Configuration:
1438  -h, --help              display this help and exit
1439      --help=short        display options specific to this package
1440      --help=recursive    display the short help of all the included packages
1441  -V, --version           display version information and exit
1442  -q, --quiet, --silent   do not print \`checking ...' messages
1443      --cache-file=FILE   cache test results in FILE [disabled]
1444  -C, --config-cache      alias for \`--cache-file=config.cache'
1445  -n, --no-create         do not create output files
1446      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1447
1448Installation directories:
1449  --prefix=PREFIX         install architecture-independent files in PREFIX
1450                          [$ac_default_prefix]
1451  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1452                          [PREFIX]
1453
1454By default, \`make install' will install all the files in
1455\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1456an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1457for instance \`--prefix=\$HOME'.
1458
1459For better control, use the options below.
1460
1461Fine tuning of the installation directories:
1462  --bindir=DIR            user executables [EPREFIX/bin]
1463  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1464  --libexecdir=DIR        program executables [EPREFIX/libexec]
1465  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1466  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1467  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1468  --libdir=DIR            object code libraries [EPREFIX/lib]
1469  --includedir=DIR        C header files [PREFIX/include]
1470  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1471  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1472  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1473  --infodir=DIR           info documentation [DATAROOTDIR/info]
1474  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1475  --mandir=DIR            man documentation [DATAROOTDIR/man]
1476  --docdir=DIR            documentation root [DATAROOTDIR/doc/lasem]
1477  --htmldir=DIR           html documentation [DOCDIR]
1478  --dvidir=DIR            dvi documentation [DOCDIR]
1479  --pdfdir=DIR            pdf documentation [DOCDIR]
1480  --psdir=DIR             ps documentation [DOCDIR]
1481_ACEOF
1482
1483  cat <<\_ACEOF
1484
1485Program names:
1486  --program-prefix=PREFIX            prepend PREFIX to installed program names
1487  --program-suffix=SUFFIX            append SUFFIX to installed program names
1488  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1489
1490System types:
1491  --build=BUILD     configure for building on BUILD [guessed]
1492  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1493_ACEOF
1494fi
1495
1496if test -n "$ac_init_help"; then
1497  case $ac_init_help in
1498     short | recursive ) echo "Configuration of lasem 0.5.1:";;
1499   esac
1500  cat <<\_ACEOF
1501
1502Optional Features:
1503  --disable-option-checking  ignore unrecognized --enable/--with options
1504  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1505  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1506  --enable-silent-rules   less verbose build output (undo: "make V=1")
1507  --disable-silent-rules  verbose build output (undo: "make V=0")
1508  --enable-maintainer-mode
1509                          enable make rules and dependencies not useful (and
1510                          sometimes confusing) to the casual installer
1511  --enable-dependency-tracking
1512                          do not reject slow dependency extractors
1513  --disable-dependency-tracking
1514                          speeds up one-time build
1515  --disable-nls           do not use Native Language Support
1516  --enable-shared[=PKGS]  build shared libraries [default=yes]
1517  --enable-static[=PKGS]  build static libraries [default=yes]
1518  --enable-fast-install[=PKGS]
1519                          optimize for fast installation [default=yes]
1520  --disable-libtool-lock  avoid locking (might break parallel builds)
1521  --enable-introspection=[no/auto/yes]
1522                          Enable introspection for this build
1523  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1524  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1525  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1526
1527Optional Packages:
1528  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1529  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1530  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1531                          both]
1532  --with-aix-soname=aix|svr4|both
1533                          shared library versioning (aka "SONAME") variant to
1534                          provide on AIX, [default=aix].
1535  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1536  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1537                          compiler's sysroot if not specified).
1538  --with-html-dir=PATH    path to installed docs
1539
1540Some influential environment variables:
1541  CC          C compiler command
1542  CFLAGS      C compiler flags
1543  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1544              nonstandard directory <lib dir>
1545  LIBS        libraries to pass to the linker, e.g. -l<library>
1546  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1547              you have headers in a nonstandard directory <include dir>
1548  CPP         C preprocessor
1549  YACC        The `Yet Another Compiler Compiler' implementation to use.
1550              Defaults to the first program found out of: `bison -y', `byacc',
1551              `yacc'.
1552  YFLAGS      The list of arguments that will be passed by default to $YACC.
1553              This script will default YFLAGS to the empty string to avoid a
1554              default value of `-d' given by some make applications.
1555  LT_SYS_LIBRARY_PATH
1556              User-defined run-time library search path.
1557  PKG_CONFIG  path to pkg-config utility
1558  PKG_CONFIG_PATH
1559              directories to add to pkg-config's search path
1560  PKG_CONFIG_LIBDIR
1561              path overriding pkg-config's built-in search path
1562  LASEM_CFLAGS
1563              C compiler flags for LASEM, overriding pkg-config
1564  LASEM_LIBS  linker flags for LASEM, overriding pkg-config
1565  GTKDOC_DEPS_CFLAGS
1566              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1567  GTKDOC_DEPS_LIBS
1568              linker flags for GTKDOC_DEPS, overriding pkg-config
1569
1570Use these variables to override the choices made by `configure' or to help
1571it to find libraries and programs with nonstandard names/locations.
1572
1573Report bugs to <http://bugzilla.gnome.org/>.
1574_ACEOF
1575ac_status=$?
1576fi
1577
1578if test "$ac_init_help" = "recursive"; then
1579  # If there are subdirs, report their specific --help.
1580  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1581    test -d "$ac_dir" ||
1582      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1583      continue
1584    ac_builddir=.
1585
1586case "$ac_dir" in
1587.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1588*)
1589  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1590  # A ".." for each directory in $ac_dir_suffix.
1591  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1592  case $ac_top_builddir_sub in
1593  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1594  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1595  esac ;;
1596esac
1597ac_abs_top_builddir=$ac_pwd
1598ac_abs_builddir=$ac_pwd$ac_dir_suffix
1599# for backward compatibility:
1600ac_top_builddir=$ac_top_build_prefix
1601
1602case $srcdir in
1603  .)  # We are building in place.
1604    ac_srcdir=.
1605    ac_top_srcdir=$ac_top_builddir_sub
1606    ac_abs_top_srcdir=$ac_pwd ;;
1607  [\\/]* | ?:[\\/]* )  # Absolute name.
1608    ac_srcdir=$srcdir$ac_dir_suffix;
1609    ac_top_srcdir=$srcdir
1610    ac_abs_top_srcdir=$srcdir ;;
1611  *) # Relative name.
1612    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1613    ac_top_srcdir=$ac_top_build_prefix$srcdir
1614    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1615esac
1616ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1617
1618    cd "$ac_dir" || { ac_status=$?; continue; }
1619    # Check for guested configure.
1620    if test -f "$ac_srcdir/configure.gnu"; then
1621      echo &&
1622      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1623    elif test -f "$ac_srcdir/configure"; then
1624      echo &&
1625      $SHELL "$ac_srcdir/configure" --help=recursive
1626    else
1627      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1628    fi || ac_status=$?
1629    cd "$ac_pwd" || { ac_status=$?; break; }
1630  done
1631fi
1632
1633test -n "$ac_init_help" && exit $ac_status
1634if $ac_init_version; then
1635  cat <<\_ACEOF
1636lasem configure 0.5.1
1637generated by GNU Autoconf 2.69
1638
1639Copyright (C) 2012 Free Software Foundation, Inc.
1640This configure script is free software; the Free Software Foundation
1641gives unlimited permission to copy, distribute and modify it.
1642_ACEOF
1643  exit
1644fi
1645
1646## ------------------------ ##
1647## Autoconf initialization. ##
1648## ------------------------ ##
1649
1650# ac_fn_c_try_compile LINENO
1651# --------------------------
1652# Try to compile conftest.$ac_ext, and return whether this succeeded.
1653ac_fn_c_try_compile ()
1654{
1655  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656  rm -f conftest.$ac_objext
1657  if { { ac_try="$ac_compile"
1658case "(($ac_try" in
1659  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660  *) ac_try_echo=$ac_try;;
1661esac
1662eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663$as_echo "$ac_try_echo"; } >&5
1664  (eval "$ac_compile") 2>conftest.err
1665  ac_status=$?
1666  if test -s conftest.err; then
1667    grep -v '^ *+' conftest.err >conftest.er1
1668    cat conftest.er1 >&5
1669    mv -f conftest.er1 conftest.err
1670  fi
1671  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672  test $ac_status = 0; } && {
1673	 test -z "$ac_c_werror_flag" ||
1674	 test ! -s conftest.err
1675       } && test -s conftest.$ac_objext; then :
1676  ac_retval=0
1677else
1678  $as_echo "$as_me: failed program was:" >&5
1679sed 's/^/| /' conftest.$ac_ext >&5
1680
1681	ac_retval=1
1682fi
1683  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684  as_fn_set_status $ac_retval
1685
1686} # ac_fn_c_try_compile
1687
1688# ac_fn_c_try_link LINENO
1689# -----------------------
1690# Try to link conftest.$ac_ext, and return whether this succeeded.
1691ac_fn_c_try_link ()
1692{
1693  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694  rm -f conftest.$ac_objext conftest$ac_exeext
1695  if { { ac_try="$ac_link"
1696case "(($ac_try" in
1697  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698  *) ac_try_echo=$ac_try;;
1699esac
1700eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701$as_echo "$ac_try_echo"; } >&5
1702  (eval "$ac_link") 2>conftest.err
1703  ac_status=$?
1704  if test -s conftest.err; then
1705    grep -v '^ *+' conftest.err >conftest.er1
1706    cat conftest.er1 >&5
1707    mv -f conftest.er1 conftest.err
1708  fi
1709  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710  test $ac_status = 0; } && {
1711	 test -z "$ac_c_werror_flag" ||
1712	 test ! -s conftest.err
1713       } && test -s conftest$ac_exeext && {
1714	 test "$cross_compiling" = yes ||
1715	 test -x conftest$ac_exeext
1716       }; then :
1717  ac_retval=0
1718else
1719  $as_echo "$as_me: failed program was:" >&5
1720sed 's/^/| /' conftest.$ac_ext >&5
1721
1722	ac_retval=1
1723fi
1724  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1725  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1726  # interfere with the next link command; also delete a directory that is
1727  # left behind by Apple's compiler.  We do this before executing the actions.
1728  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1729  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730  as_fn_set_status $ac_retval
1731
1732} # ac_fn_c_try_link
1733
1734# ac_fn_c_try_cpp LINENO
1735# ----------------------
1736# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1737ac_fn_c_try_cpp ()
1738{
1739  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740  if { { ac_try="$ac_cpp conftest.$ac_ext"
1741case "(($ac_try" in
1742  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1743  *) ac_try_echo=$ac_try;;
1744esac
1745eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746$as_echo "$ac_try_echo"; } >&5
1747  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1748  ac_status=$?
1749  if test -s conftest.err; then
1750    grep -v '^ *+' conftest.err >conftest.er1
1751    cat conftest.er1 >&5
1752    mv -f conftest.er1 conftest.err
1753  fi
1754  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755  test $ac_status = 0; } > conftest.i && {
1756	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1757	 test ! -s conftest.err
1758       }; then :
1759  ac_retval=0
1760else
1761  $as_echo "$as_me: failed program was:" >&5
1762sed 's/^/| /' conftest.$ac_ext >&5
1763
1764    ac_retval=1
1765fi
1766  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767  as_fn_set_status $ac_retval
1768
1769} # ac_fn_c_try_cpp
1770
1771# ac_fn_c_try_run LINENO
1772# ----------------------
1773# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1774# that executables *can* be run.
1775ac_fn_c_try_run ()
1776{
1777  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778  if { { ac_try="$ac_link"
1779case "(($ac_try" in
1780  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1781  *) ac_try_echo=$ac_try;;
1782esac
1783eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784$as_echo "$ac_try_echo"; } >&5
1785  (eval "$ac_link") 2>&5
1786  ac_status=$?
1787  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1789  { { case "(($ac_try" in
1790  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1791  *) ac_try_echo=$ac_try;;
1792esac
1793eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794$as_echo "$ac_try_echo"; } >&5
1795  (eval "$ac_try") 2>&5
1796  ac_status=$?
1797  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798  test $ac_status = 0; }; }; then :
1799  ac_retval=0
1800else
1801  $as_echo "$as_me: program exited with status $ac_status" >&5
1802       $as_echo "$as_me: failed program was:" >&5
1803sed 's/^/| /' conftest.$ac_ext >&5
1804
1805       ac_retval=$ac_status
1806fi
1807  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1808  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809  as_fn_set_status $ac_retval
1810
1811} # ac_fn_c_try_run
1812
1813# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1814# -------------------------------------------------------
1815# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1816# the include files in INCLUDES and setting the cache variable VAR
1817# accordingly.
1818ac_fn_c_check_header_mongrel ()
1819{
1820  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821  if eval \${$3+:} false; then :
1822  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823$as_echo_n "checking for $2... " >&6; }
1824if eval \${$3+:} false; then :
1825  $as_echo_n "(cached) " >&6
1826fi
1827eval ac_res=\$$3
1828	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829$as_echo "$ac_res" >&6; }
1830else
1831  # Is the header compilable?
1832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1833$as_echo_n "checking $2 usability... " >&6; }
1834cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1835/* end confdefs.h.  */
1836$4
1837#include <$2>
1838_ACEOF
1839if ac_fn_c_try_compile "$LINENO"; then :
1840  ac_header_compiler=yes
1841else
1842  ac_header_compiler=no
1843fi
1844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1846$as_echo "$ac_header_compiler" >&6; }
1847
1848# Is the header present?
1849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1850$as_echo_n "checking $2 presence... " >&6; }
1851cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1852/* end confdefs.h.  */
1853#include <$2>
1854_ACEOF
1855if ac_fn_c_try_cpp "$LINENO"; then :
1856  ac_header_preproc=yes
1857else
1858  ac_header_preproc=no
1859fi
1860rm -f conftest.err conftest.i conftest.$ac_ext
1861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1862$as_echo "$ac_header_preproc" >&6; }
1863
1864# So?  What about this header?
1865case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1866  yes:no: )
1867    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1868$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1869    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1870$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1871    ;;
1872  no:yes:* )
1873    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1874$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1875    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1876$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1877    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1878$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1879    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1880$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1881    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1882$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1883( $as_echo "## ----------------------------------------- ##
1884## Report this to http://bugzilla.gnome.org/ ##
1885## ----------------------------------------- ##"
1886     ) | sed "s/^/$as_me: WARNING:     /" >&2
1887    ;;
1888esac
1889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890$as_echo_n "checking for $2... " >&6; }
1891if eval \${$3+:} false; then :
1892  $as_echo_n "(cached) " >&6
1893else
1894  eval "$3=\$ac_header_compiler"
1895fi
1896eval ac_res=\$$3
1897	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898$as_echo "$ac_res" >&6; }
1899fi
1900  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901
1902} # ac_fn_c_check_header_mongrel
1903
1904# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1905# -------------------------------------------------------
1906# Tests whether HEADER exists and can be compiled using the include files in
1907# INCLUDES, setting the cache variable VAR accordingly.
1908ac_fn_c_check_header_compile ()
1909{
1910  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912$as_echo_n "checking for $2... " >&6; }
1913if eval \${$3+:} false; then :
1914  $as_echo_n "(cached) " >&6
1915else
1916  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917/* end confdefs.h.  */
1918$4
1919#include <$2>
1920_ACEOF
1921if ac_fn_c_try_compile "$LINENO"; then :
1922  eval "$3=yes"
1923else
1924  eval "$3=no"
1925fi
1926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1927fi
1928eval ac_res=\$$3
1929	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930$as_echo "$ac_res" >&6; }
1931  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1932
1933} # ac_fn_c_check_header_compile
1934
1935# ac_fn_c_check_func LINENO FUNC VAR
1936# ----------------------------------
1937# Tests whether FUNC exists, setting the cache variable VAR accordingly
1938ac_fn_c_check_func ()
1939{
1940  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1942$as_echo_n "checking for $2... " >&6; }
1943if eval \${$3+:} false; then :
1944  $as_echo_n "(cached) " >&6
1945else
1946  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1947/* end confdefs.h.  */
1948/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1949   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1950#define $2 innocuous_$2
1951
1952/* System header to define __stub macros and hopefully few prototypes,
1953    which can conflict with char $2 (); below.
1954    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1955    <limits.h> exists even on freestanding compilers.  */
1956
1957#ifdef __STDC__
1958# include <limits.h>
1959#else
1960# include <assert.h>
1961#endif
1962
1963#undef $2
1964
1965/* Override any GCC internal prototype to avoid an error.
1966   Use char because int might match the return type of a GCC
1967   builtin and then its argument prototype would still apply.  */
1968#ifdef __cplusplus
1969extern "C"
1970#endif
1971char $2 ();
1972/* The GNU C library defines this for functions which it implements
1973    to always fail with ENOSYS.  Some functions are actually named
1974    something starting with __ and the normal name is an alias.  */
1975#if defined __stub_$2 || defined __stub___$2
1976choke me
1977#endif
1978
1979int
1980main ()
1981{
1982return $2 ();
1983  ;
1984  return 0;
1985}
1986_ACEOF
1987if ac_fn_c_try_link "$LINENO"; then :
1988  eval "$3=yes"
1989else
1990  eval "$3=no"
1991fi
1992rm -f core conftest.err conftest.$ac_objext \
1993    conftest$ac_exeext conftest.$ac_ext
1994fi
1995eval ac_res=\$$3
1996	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1997$as_echo "$ac_res" >&6; }
1998  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999
2000} # ac_fn_c_check_func
2001cat >config.log <<_ACEOF
2002This file contains any messages produced by compilers while
2003running configure, to aid debugging if configure makes a mistake.
2004
2005It was created by lasem $as_me 0.5.1, which was
2006generated by GNU Autoconf 2.69.  Invocation command line was
2007
2008  $ $0 $@
2009
2010_ACEOF
2011exec 5>>config.log
2012{
2013cat <<_ASUNAME
2014## --------- ##
2015## Platform. ##
2016## --------- ##
2017
2018hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2019uname -m = `(uname -m) 2>/dev/null || echo unknown`
2020uname -r = `(uname -r) 2>/dev/null || echo unknown`
2021uname -s = `(uname -s) 2>/dev/null || echo unknown`
2022uname -v = `(uname -v) 2>/dev/null || echo unknown`
2023
2024/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2025/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2026
2027/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2028/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2029/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2030/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2031/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2032/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2033/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2034
2035_ASUNAME
2036
2037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2038for as_dir in $PATH
2039do
2040  IFS=$as_save_IFS
2041  test -z "$as_dir" && as_dir=.
2042    $as_echo "PATH: $as_dir"
2043  done
2044IFS=$as_save_IFS
2045
2046} >&5
2047
2048cat >&5 <<_ACEOF
2049
2050
2051## ----------- ##
2052## Core tests. ##
2053## ----------- ##
2054
2055_ACEOF
2056
2057
2058# Keep a trace of the command line.
2059# Strip out --no-create and --no-recursion so they do not pile up.
2060# Strip out --silent because we don't want to record it for future runs.
2061# Also quote any args containing shell meta-characters.
2062# Make two passes to allow for proper duplicate-argument suppression.
2063ac_configure_args=
2064ac_configure_args0=
2065ac_configure_args1=
2066ac_must_keep_next=false
2067for ac_pass in 1 2
2068do
2069  for ac_arg
2070  do
2071    case $ac_arg in
2072    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2073    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2074    | -silent | --silent | --silen | --sile | --sil)
2075      continue ;;
2076    *\'*)
2077      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2078    esac
2079    case $ac_pass in
2080    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2081    2)
2082      as_fn_append ac_configure_args1 " '$ac_arg'"
2083      if test $ac_must_keep_next = true; then
2084	ac_must_keep_next=false # Got value, back to normal.
2085      else
2086	case $ac_arg in
2087	  *=* | --config-cache | -C | -disable-* | --disable-* \
2088	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2089	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2090	  | -with-* | --with-* | -without-* | --without-* | --x)
2091	    case "$ac_configure_args0 " in
2092	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2093	    esac
2094	    ;;
2095	  -* ) ac_must_keep_next=true ;;
2096	esac
2097      fi
2098      as_fn_append ac_configure_args " '$ac_arg'"
2099      ;;
2100    esac
2101  done
2102done
2103{ ac_configure_args0=; unset ac_configure_args0;}
2104{ ac_configure_args1=; unset ac_configure_args1;}
2105
2106# When interrupted or exit'd, cleanup temporary files, and complete
2107# config.log.  We remove comments because anyway the quotes in there
2108# would cause problems or look ugly.
2109# WARNING: Use '\'' to represent an apostrophe within the trap.
2110# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2111trap 'exit_status=$?
2112  # Save into config.log some information that might help in debugging.
2113  {
2114    echo
2115
2116    $as_echo "## ---------------- ##
2117## Cache variables. ##
2118## ---------------- ##"
2119    echo
2120    # The following way of writing the cache mishandles newlines in values,
2121(
2122  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2123    eval ac_val=\$$ac_var
2124    case $ac_val in #(
2125    *${as_nl}*)
2126      case $ac_var in #(
2127      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2128$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2129      esac
2130      case $ac_var in #(
2131      _ | IFS | as_nl) ;; #(
2132      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2133      *) { eval $ac_var=; unset $ac_var;} ;;
2134      esac ;;
2135    esac
2136  done
2137  (set) 2>&1 |
2138    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2139    *${as_nl}ac_space=\ *)
2140      sed -n \
2141	"s/'\''/'\''\\\\'\'''\''/g;
2142	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2143      ;; #(
2144    *)
2145      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2146      ;;
2147    esac |
2148    sort
2149)
2150    echo
2151
2152    $as_echo "## ----------------- ##
2153## Output variables. ##
2154## ----------------- ##"
2155    echo
2156    for ac_var in $ac_subst_vars
2157    do
2158      eval ac_val=\$$ac_var
2159      case $ac_val in
2160      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2161      esac
2162      $as_echo "$ac_var='\''$ac_val'\''"
2163    done | sort
2164    echo
2165
2166    if test -n "$ac_subst_files"; then
2167      $as_echo "## ------------------- ##
2168## File substitutions. ##
2169## ------------------- ##"
2170      echo
2171      for ac_var in $ac_subst_files
2172      do
2173	eval ac_val=\$$ac_var
2174	case $ac_val in
2175	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2176	esac
2177	$as_echo "$ac_var='\''$ac_val'\''"
2178      done | sort
2179      echo
2180    fi
2181
2182    if test -s confdefs.h; then
2183      $as_echo "## ----------- ##
2184## confdefs.h. ##
2185## ----------- ##"
2186      echo
2187      cat confdefs.h
2188      echo
2189    fi
2190    test "$ac_signal" != 0 &&
2191      $as_echo "$as_me: caught signal $ac_signal"
2192    $as_echo "$as_me: exit $exit_status"
2193  } >&5
2194  rm -f core *.core core.conftest.* &&
2195    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2196    exit $exit_status
2197' 0
2198for ac_signal in 1 2 13 15; do
2199  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2200done
2201ac_signal=0
2202
2203# confdefs.h avoids OS command line length limits that DEFS can exceed.
2204rm -f -r conftest* confdefs.h
2205
2206$as_echo "/* confdefs.h */" > confdefs.h
2207
2208# Predefined preprocessor variables.
2209
2210cat >>confdefs.h <<_ACEOF
2211#define PACKAGE_NAME "$PACKAGE_NAME"
2212_ACEOF
2213
2214cat >>confdefs.h <<_ACEOF
2215#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2216_ACEOF
2217
2218cat >>confdefs.h <<_ACEOF
2219#define PACKAGE_VERSION "$PACKAGE_VERSION"
2220_ACEOF
2221
2222cat >>confdefs.h <<_ACEOF
2223#define PACKAGE_STRING "$PACKAGE_STRING"
2224_ACEOF
2225
2226cat >>confdefs.h <<_ACEOF
2227#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2228_ACEOF
2229
2230cat >>confdefs.h <<_ACEOF
2231#define PACKAGE_URL "$PACKAGE_URL"
2232_ACEOF
2233
2234
2235# Let the site file select an alternate cache file if it wants to.
2236# Prefer an explicitly selected file to automatically selected ones.
2237ac_site_file1=NONE
2238ac_site_file2=NONE
2239if test -n "$CONFIG_SITE"; then
2240  # We do not want a PATH search for config.site.
2241  case $CONFIG_SITE in #((
2242    -*)  ac_site_file1=./$CONFIG_SITE;;
2243    */*) ac_site_file1=$CONFIG_SITE;;
2244    *)   ac_site_file1=./$CONFIG_SITE;;
2245  esac
2246elif test "x$prefix" != xNONE; then
2247  ac_site_file1=$prefix/share/config.site
2248  ac_site_file2=$prefix/etc/config.site
2249else
2250  ac_site_file1=$ac_default_prefix/share/config.site
2251  ac_site_file2=$ac_default_prefix/etc/config.site
2252fi
2253for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2254do
2255  test "x$ac_site_file" = xNONE && continue
2256  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2257    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2258$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2259    sed 's/^/| /' "$ac_site_file" >&5
2260    . "$ac_site_file" \
2261      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2262$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2263as_fn_error $? "failed to load site script $ac_site_file
2264See \`config.log' for more details" "$LINENO" 5; }
2265  fi
2266done
2267
2268if test -r "$cache_file"; then
2269  # Some versions of bash will fail to source /dev/null (special files
2270  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2271  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2272    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2273$as_echo "$as_me: loading cache $cache_file" >&6;}
2274    case $cache_file in
2275      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2276      *)                      . "./$cache_file";;
2277    esac
2278  fi
2279else
2280  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2281$as_echo "$as_me: creating cache $cache_file" >&6;}
2282  >$cache_file
2283fi
2284
2285# Check that the precious variables saved in the cache have kept the same
2286# value.
2287ac_cache_corrupted=false
2288for ac_var in $ac_precious_vars; do
2289  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2290  eval ac_new_set=\$ac_env_${ac_var}_set
2291  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2292  eval ac_new_val=\$ac_env_${ac_var}_value
2293  case $ac_old_set,$ac_new_set in
2294    set,)
2295      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2296$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2297      ac_cache_corrupted=: ;;
2298    ,set)
2299      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2300$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2301      ac_cache_corrupted=: ;;
2302    ,);;
2303    *)
2304      if test "x$ac_old_val" != "x$ac_new_val"; then
2305	# differences in whitespace do not lead to failure.
2306	ac_old_val_w=`echo x $ac_old_val`
2307	ac_new_val_w=`echo x $ac_new_val`
2308	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2309	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2310$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2311	  ac_cache_corrupted=:
2312	else
2313	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2314$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2315	  eval $ac_var=\$ac_old_val
2316	fi
2317	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2318$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2319	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2320$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2321      fi;;
2322  esac
2323  # Pass precious variables to config.status.
2324  if test "$ac_new_set" = set; then
2325    case $ac_new_val in
2326    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2327    *) ac_arg=$ac_var=$ac_new_val ;;
2328    esac
2329    case " $ac_configure_args " in
2330      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2331      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2332    esac
2333  fi
2334done
2335if $ac_cache_corrupted; then
2336  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2337$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2338  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2339$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2340  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2341fi
2342## -------------------- ##
2343## Main body of script. ##
2344## -------------------- ##
2345
2346ac_ext=c
2347ac_cpp='$CPP $CPPFLAGS'
2348ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2349ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2350ac_compiler_gnu=$ac_cv_c_compiler_gnu
2351
2352
2353
2354am__api_version='1.16'
2355
2356ac_aux_dir=
2357for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2358  if test -f "$ac_dir/install-sh"; then
2359    ac_aux_dir=$ac_dir
2360    ac_install_sh="$ac_aux_dir/install-sh -c"
2361    break
2362  elif test -f "$ac_dir/install.sh"; then
2363    ac_aux_dir=$ac_dir
2364    ac_install_sh="$ac_aux_dir/install.sh -c"
2365    break
2366  elif test -f "$ac_dir/shtool"; then
2367    ac_aux_dir=$ac_dir
2368    ac_install_sh="$ac_aux_dir/shtool install -c"
2369    break
2370  fi
2371done
2372if test -z "$ac_aux_dir"; then
2373  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2374fi
2375
2376# These three variables are undocumented and unsupported,
2377# and are intended to be withdrawn in a future Autoconf release.
2378# They can cause serious problems if a builder's source tree is in a directory
2379# whose full name contains unusual characters.
2380ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2381ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2382ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2383
2384
2385# Find a good install program.  We prefer a C program (faster),
2386# so one script is as good as another.  But avoid the broken or
2387# incompatible versions:
2388# SysV /etc/install, /usr/sbin/install
2389# SunOS /usr/etc/install
2390# IRIX /sbin/install
2391# AIX /bin/install
2392# AmigaOS /C/install, which installs bootblocks on floppy discs
2393# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2394# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2395# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2396# OS/2's system install, which has a completely different semantic
2397# ./install, which can be erroneously created by make from ./install.sh.
2398# Reject install programs that cannot install multiple files.
2399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2400$as_echo_n "checking for a BSD-compatible install... " >&6; }
2401if test -z "$INSTALL"; then
2402if ${ac_cv_path_install+:} false; then :
2403  $as_echo_n "(cached) " >&6
2404else
2405  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406for as_dir in $PATH
2407do
2408  IFS=$as_save_IFS
2409  test -z "$as_dir" && as_dir=.
2410    # Account for people who put trailing slashes in PATH elements.
2411case $as_dir/ in #((
2412  ./ | .// | /[cC]/* | \
2413  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2414  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2415  /usr/ucb/* ) ;;
2416  *)
2417    # OSF1 and SCO ODT 3.0 have their own names for install.
2418    # Don't use installbsd from OSF since it installs stuff as root
2419    # by default.
2420    for ac_prog in ginstall scoinst install; do
2421      for ac_exec_ext in '' $ac_executable_extensions; do
2422	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2423	  if test $ac_prog = install &&
2424	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2425	    # AIX install.  It has an incompatible calling convention.
2426	    :
2427	  elif test $ac_prog = install &&
2428	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2429	    # program-specific install script used by HP pwplus--don't use.
2430	    :
2431	  else
2432	    rm -rf conftest.one conftest.two conftest.dir
2433	    echo one > conftest.one
2434	    echo two > conftest.two
2435	    mkdir conftest.dir
2436	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2437	      test -s conftest.one && test -s conftest.two &&
2438	      test -s conftest.dir/conftest.one &&
2439	      test -s conftest.dir/conftest.two
2440	    then
2441	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2442	      break 3
2443	    fi
2444	  fi
2445	fi
2446      done
2447    done
2448    ;;
2449esac
2450
2451  done
2452IFS=$as_save_IFS
2453
2454rm -rf conftest.one conftest.two conftest.dir
2455
2456fi
2457  if test "${ac_cv_path_install+set}" = set; then
2458    INSTALL=$ac_cv_path_install
2459  else
2460    # As a last resort, use the slow shell script.  Don't cache a
2461    # value for INSTALL within a source directory, because that will
2462    # break other packages using the cache if that directory is
2463    # removed, or if the value is a relative name.
2464    INSTALL=$ac_install_sh
2465  fi
2466fi
2467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2468$as_echo "$INSTALL" >&6; }
2469
2470# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2471# It thinks the first close brace ends the variable substitution.
2472test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2473
2474test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2475
2476test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2477
2478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2479$as_echo_n "checking whether build environment is sane... " >&6; }
2480# Reject unsafe characters in $srcdir or the absolute working directory
2481# name.  Accept space and tab only in the latter.
2482am_lf='
2483'
2484case `pwd` in
2485  *[\\\"\#\$\&\'\`$am_lf]*)
2486    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2487esac
2488case $srcdir in
2489  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2490    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2491esac
2492
2493# Do 'set' in a subshell so we don't clobber the current shell's
2494# arguments.  Must try -L first in case configure is actually a
2495# symlink; some systems play weird games with the mod time of symlinks
2496# (eg FreeBSD returns the mod time of the symlink's containing
2497# directory).
2498if (
2499   am_has_slept=no
2500   for am_try in 1 2; do
2501     echo "timestamp, slept: $am_has_slept" > conftest.file
2502     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2503     if test "$*" = "X"; then
2504	# -L didn't work.
2505	set X `ls -t "$srcdir/configure" conftest.file`
2506     fi
2507     if test "$*" != "X $srcdir/configure conftest.file" \
2508	&& test "$*" != "X conftest.file $srcdir/configure"; then
2509
2510	# If neither matched, then we have a broken ls.  This can happen
2511	# if, for instance, CONFIG_SHELL is bash and it inherits a
2512	# broken ls alias from the environment.  This has actually
2513	# happened.  Such a system could not be considered "sane".
2514	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2515  alias in your environment" "$LINENO" 5
2516     fi
2517     if test "$2" = conftest.file || test $am_try -eq 2; then
2518       break
2519     fi
2520     # Just in case.
2521     sleep 1
2522     am_has_slept=yes
2523   done
2524   test "$2" = conftest.file
2525   )
2526then
2527   # Ok.
2528   :
2529else
2530   as_fn_error $? "newly created file is older than distributed files!
2531Check your system clock" "$LINENO" 5
2532fi
2533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2534$as_echo "yes" >&6; }
2535# If we didn't sleep, we still need to ensure time stamps of config.status and
2536# generated files are strictly newer.
2537am_sleep_pid=
2538if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2539  ( sleep 1 ) &
2540  am_sleep_pid=$!
2541fi
2542
2543rm -f conftest.file
2544
2545test "$program_prefix" != NONE &&
2546  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2547# Use a double $ so make ignores it.
2548test "$program_suffix" != NONE &&
2549  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2550# Double any \ or $.
2551# By default was `s,x,x', remove it if useless.
2552ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2553program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2554
2555# Expand $ac_aux_dir to an absolute path.
2556am_aux_dir=`cd "$ac_aux_dir" && pwd`
2557
2558if test x"${MISSING+set}" != xset; then
2559  case $am_aux_dir in
2560  *\ * | *\	*)
2561    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2562  *)
2563    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2564  esac
2565fi
2566# Use eval to expand $SHELL
2567if eval "$MISSING --is-lightweight"; then
2568  am_missing_run="$MISSING "
2569else
2570  am_missing_run=
2571  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2572$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2573fi
2574
2575if test x"${install_sh+set}" != xset; then
2576  case $am_aux_dir in
2577  *\ * | *\	*)
2578    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2579  *)
2580    install_sh="\${SHELL} $am_aux_dir/install-sh"
2581  esac
2582fi
2583
2584# Installed binaries are usually stripped using 'strip' when the user
2585# run "make install-strip".  However 'strip' might not be the right
2586# tool to use in cross-compilation environments, therefore Automake
2587# will honor the 'STRIP' environment variable to overrule this program.
2588if test "$cross_compiling" != no; then
2589  if test -n "$ac_tool_prefix"; then
2590  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2591set dummy ${ac_tool_prefix}strip; ac_word=$2
2592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593$as_echo_n "checking for $ac_word... " >&6; }
2594if ${ac_cv_prog_STRIP+:} false; then :
2595  $as_echo_n "(cached) " >&6
2596else
2597  if test -n "$STRIP"; then
2598  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2599else
2600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601for as_dir in $PATH
2602do
2603  IFS=$as_save_IFS
2604  test -z "$as_dir" && as_dir=.
2605    for ac_exec_ext in '' $ac_executable_extensions; do
2606  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2607    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2608    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2609    break 2
2610  fi
2611done
2612  done
2613IFS=$as_save_IFS
2614
2615fi
2616fi
2617STRIP=$ac_cv_prog_STRIP
2618if test -n "$STRIP"; then
2619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2620$as_echo "$STRIP" >&6; }
2621else
2622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623$as_echo "no" >&6; }
2624fi
2625
2626
2627fi
2628if test -z "$ac_cv_prog_STRIP"; then
2629  ac_ct_STRIP=$STRIP
2630  # Extract the first word of "strip", so it can be a program name with args.
2631set dummy strip; ac_word=$2
2632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2633$as_echo_n "checking for $ac_word... " >&6; }
2634if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2635  $as_echo_n "(cached) " >&6
2636else
2637  if test -n "$ac_ct_STRIP"; then
2638  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2639else
2640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641for as_dir in $PATH
2642do
2643  IFS=$as_save_IFS
2644  test -z "$as_dir" && as_dir=.
2645    for ac_exec_ext in '' $ac_executable_extensions; do
2646  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2647    ac_cv_prog_ac_ct_STRIP="strip"
2648    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2649    break 2
2650  fi
2651done
2652  done
2653IFS=$as_save_IFS
2654
2655fi
2656fi
2657ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2658if test -n "$ac_ct_STRIP"; then
2659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2660$as_echo "$ac_ct_STRIP" >&6; }
2661else
2662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2663$as_echo "no" >&6; }
2664fi
2665
2666  if test "x$ac_ct_STRIP" = x; then
2667    STRIP=":"
2668  else
2669    case $cross_compiling:$ac_tool_warned in
2670yes:)
2671{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2672$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2673ac_tool_warned=yes ;;
2674esac
2675    STRIP=$ac_ct_STRIP
2676  fi
2677else
2678  STRIP="$ac_cv_prog_STRIP"
2679fi
2680
2681fi
2682INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2683
2684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2685$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2686if test -z "$MKDIR_P"; then
2687  if ${ac_cv_path_mkdir+:} false; then :
2688  $as_echo_n "(cached) " >&6
2689else
2690  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2692do
2693  IFS=$as_save_IFS
2694  test -z "$as_dir" && as_dir=.
2695    for ac_prog in mkdir gmkdir; do
2696	 for ac_exec_ext in '' $ac_executable_extensions; do
2697	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2698	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2699	     'mkdir (GNU coreutils) '* | \
2700	     'mkdir (coreutils) '* | \
2701	     'mkdir (fileutils) '4.1*)
2702	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2703	       break 3;;
2704	   esac
2705	 done
2706       done
2707  done
2708IFS=$as_save_IFS
2709
2710fi
2711
2712  test -d ./--version && rmdir ./--version
2713  if test "${ac_cv_path_mkdir+set}" = set; then
2714    MKDIR_P="$ac_cv_path_mkdir -p"
2715  else
2716    # As a last resort, use the slow shell script.  Don't cache a
2717    # value for MKDIR_P within a source directory, because that will
2718    # break other packages using the cache if that directory is
2719    # removed, or if the value is a relative name.
2720    MKDIR_P="$ac_install_sh -d"
2721  fi
2722fi
2723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2724$as_echo "$MKDIR_P" >&6; }
2725
2726for ac_prog in gawk mawk nawk awk
2727do
2728  # Extract the first word of "$ac_prog", so it can be a program name with args.
2729set dummy $ac_prog; ac_word=$2
2730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731$as_echo_n "checking for $ac_word... " >&6; }
2732if ${ac_cv_prog_AWK+:} false; then :
2733  $as_echo_n "(cached) " >&6
2734else
2735  if test -n "$AWK"; then
2736  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2737else
2738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739for as_dir in $PATH
2740do
2741  IFS=$as_save_IFS
2742  test -z "$as_dir" && as_dir=.
2743    for ac_exec_ext in '' $ac_executable_extensions; do
2744  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745    ac_cv_prog_AWK="$ac_prog"
2746    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747    break 2
2748  fi
2749done
2750  done
2751IFS=$as_save_IFS
2752
2753fi
2754fi
2755AWK=$ac_cv_prog_AWK
2756if test -n "$AWK"; then
2757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2758$as_echo "$AWK" >&6; }
2759else
2760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761$as_echo "no" >&6; }
2762fi
2763
2764
2765  test -n "$AWK" && break
2766done
2767
2768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2769$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2770set x ${MAKE-make}
2771ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2772if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2773  $as_echo_n "(cached) " >&6
2774else
2775  cat >conftest.make <<\_ACEOF
2776SHELL = /bin/sh
2777all:
2778	@echo '@@@%%%=$(MAKE)=@@@%%%'
2779_ACEOF
2780# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2781case `${MAKE-make} -f conftest.make 2>/dev/null` in
2782  *@@@%%%=?*=@@@%%%*)
2783    eval ac_cv_prog_make_${ac_make}_set=yes;;
2784  *)
2785    eval ac_cv_prog_make_${ac_make}_set=no;;
2786esac
2787rm -f conftest.make
2788fi
2789if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2791$as_echo "yes" >&6; }
2792  SET_MAKE=
2793else
2794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795$as_echo "no" >&6; }
2796  SET_MAKE="MAKE=${MAKE-make}"
2797fi
2798
2799rm -rf .tst 2>/dev/null
2800mkdir .tst 2>/dev/null
2801if test -d .tst; then
2802  am__leading_dot=.
2803else
2804  am__leading_dot=_
2805fi
2806rmdir .tst 2>/dev/null
2807
2808# Check whether --enable-silent-rules was given.
2809if test "${enable_silent_rules+set}" = set; then :
2810  enableval=$enable_silent_rules;
2811fi
2812
2813case $enable_silent_rules in # (((
2814  yes) AM_DEFAULT_VERBOSITY=0;;
2815   no) AM_DEFAULT_VERBOSITY=1;;
2816    *) AM_DEFAULT_VERBOSITY=1;;
2817esac
2818am_make=${MAKE-make}
2819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2820$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2821if ${am_cv_make_support_nested_variables+:} false; then :
2822  $as_echo_n "(cached) " >&6
2823else
2824  if $as_echo 'TRUE=$(BAR$(V))
2825BAR0=false
2826BAR1=true
2827V=1
2828am__doit:
2829	@$(TRUE)
2830.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2831  am_cv_make_support_nested_variables=yes
2832else
2833  am_cv_make_support_nested_variables=no
2834fi
2835fi
2836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2837$as_echo "$am_cv_make_support_nested_variables" >&6; }
2838if test $am_cv_make_support_nested_variables = yes; then
2839    AM_V='$(V)'
2840  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2841else
2842  AM_V=$AM_DEFAULT_VERBOSITY
2843  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2844fi
2845AM_BACKSLASH='\'
2846
2847if test "`cd $srcdir && pwd`" != "`pwd`"; then
2848  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2849  # is not polluted with repeated "-I."
2850  am__isrc=' -I$(srcdir)'
2851  # test to see if srcdir already configured
2852  if test -f $srcdir/config.status; then
2853    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2854  fi
2855fi
2856
2857# test whether we have cygpath
2858if test -z "$CYGPATH_W"; then
2859  if (cygpath --version) >/dev/null 2>/dev/null; then
2860    CYGPATH_W='cygpath -w'
2861  else
2862    CYGPATH_W=echo
2863  fi
2864fi
2865
2866
2867# Define the identity of the package.
2868 PACKAGE='lasem'
2869 VERSION='0.5.1'
2870
2871
2872cat >>confdefs.h <<_ACEOF
2873#define PACKAGE "$PACKAGE"
2874_ACEOF
2875
2876
2877cat >>confdefs.h <<_ACEOF
2878#define VERSION "$VERSION"
2879_ACEOF
2880
2881# Some tools Automake needs.
2882
2883ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2884
2885
2886AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2887
2888
2889AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2890
2891
2892AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2893
2894
2895MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2896
2897# For better backward compatibility.  To be removed once Automake 1.9.x
2898# dies out for good.  For more background, see:
2899# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2900# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2901mkdir_p='$(MKDIR_P)'
2902
2903# We need awk for the "check" target (and possibly the TAP driver).  The
2904# system "awk" is bad on some platforms.
2905# Always define AMTAR for backward compatibility.  Yes, it's still used
2906# in the wild :-(  We should find a proper way to deprecate it ...
2907AMTAR='$${TAR-tar}'
2908
2909
2910# We'll loop over all known methods to create a tar archive until one works.
2911_am_tools='gnutar  pax cpio none'
2912
2913am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2914
2915
2916
2917
2918
2919
2920# POSIX will say in a future version that running "rm -f" with no argument
2921# is OK; and we want to be able to make that assumption in our Makefile
2922# recipes.  So use an aggressive probe to check that the usage we want is
2923# actually supported "in the wild" to an acceptable degree.
2924# See automake bug#10828.
2925# To make any issue more visible, cause the running configure to be aborted
2926# by default if the 'rm' program in use doesn't match our expectations; the
2927# user can still override this though.
2928if rm -f && rm -fr && rm -rf; then : OK; else
2929  cat >&2 <<'END'
2930Oops!
2931
2932Your 'rm' program seems unable to run without file operands specified
2933on the command line, even when the '-f' option is present.  This is contrary
2934to the behaviour of most rm programs out there, and not conforming with
2935the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2936
2937Please tell bug-automake@gnu.org about your system, including the value
2938of your $PATH and any error possibly output before this message.  This
2939can help us improve future automake versions.
2940
2941END
2942  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2943    echo 'Configuration will proceed anyway, since you have set the' >&2
2944    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2945    echo >&2
2946  else
2947    cat >&2 <<'END'
2948Aborting the configuration process, to ensure you take notice of the issue.
2949
2950You can download and install GNU coreutils to get an 'rm' implementation
2951that behaves properly: <https://www.gnu.org/software/coreutils/>.
2952
2953If you want to complete the configuration process using your problematic
2954'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2955to "yes", and re-run configure.
2956
2957END
2958    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2959  fi
2960fi
2961
2962
2963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2964$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2965    # Check whether --enable-maintainer-mode was given.
2966if test "${enable_maintainer_mode+set}" = set; then :
2967  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2968else
2969  USE_MAINTAINER_MODE=no
2970fi
2971
2972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2973$as_echo "$USE_MAINTAINER_MODE" >&6; }
2974   if test $USE_MAINTAINER_MODE = yes; then
2975  MAINTAINER_MODE_TRUE=
2976  MAINTAINER_MODE_FALSE='#'
2977else
2978  MAINTAINER_MODE_TRUE='#'
2979  MAINTAINER_MODE_FALSE=
2980fi
2981
2982  MAINT=$MAINTAINER_MODE_TRUE
2983
2984
2985
2986ac_config_headers="$ac_config_headers config.h"
2987
2988
2989
2990# Check whether --enable-silent-rules was given.
2991if test "${enable_silent_rules+set}" = set; then :
2992  enableval=$enable_silent_rules;
2993fi
2994
2995case $enable_silent_rules in # (((
2996  yes) AM_DEFAULT_VERBOSITY=0;;
2997   no) AM_DEFAULT_VERBOSITY=1;;
2998    *) AM_DEFAULT_VERBOSITY=0;;
2999esac
3000am_make=${MAKE-make}
3001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3002$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3003if ${am_cv_make_support_nested_variables+:} false; then :
3004  $as_echo_n "(cached) " >&6
3005else
3006  if $as_echo 'TRUE=$(BAR$(V))
3007BAR0=false
3008BAR1=true
3009V=1
3010am__doit:
3011	@$(TRUE)
3012.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3013  am_cv_make_support_nested_variables=yes
3014else
3015  am_cv_make_support_nested_variables=no
3016fi
3017fi
3018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3019$as_echo "$am_cv_make_support_nested_variables" >&6; }
3020if test $am_cv_make_support_nested_variables = yes; then
3021    AM_V='$(V)'
3022  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3023else
3024  AM_V=$AM_DEFAULT_VERBOSITY
3025  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3026fi
3027AM_BACKSLASH='\'
3028
3029
3030LASEM_API_VERSION=0.6
3031
3032LASEM_API_VERSION_U=`$as_echo "$LASEM_API_VERSION" | $as_tr_sh`
3033
3034LASEM_LIBTOOL_VERSION=5:1:0
3035
3036
3037DEPDIR="${am__leading_dot}deps"
3038
3039ac_config_commands="$ac_config_commands depfiles"
3040
3041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3042$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3043cat > confinc.mk << 'END'
3044am__doit:
3045	@echo this is the am__doit target >confinc.out
3046.PHONY: am__doit
3047END
3048am__include="#"
3049am__quote=
3050# BSD make does it like this.
3051echo '.include "confinc.mk" # ignored' > confmf.BSD
3052# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3053echo 'include confinc.mk # ignored' > confmf.GNU
3054_am_result=no
3055for s in GNU BSD; do
3056  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3057   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3058   ac_status=$?
3059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060   (exit $ac_status); }
3061  case $?:`cat confinc.out 2>/dev/null` in #(
3062  '0:this is the am__doit target') :
3063    case $s in #(
3064  BSD) :
3065    am__include='.include' am__quote='"' ;; #(
3066  *) :
3067    am__include='include' am__quote='' ;;
3068esac ;; #(
3069  *) :
3070     ;;
3071esac
3072  if test "$am__include" != "#"; then
3073    _am_result="yes ($s style)"
3074    break
3075  fi
3076done
3077rm -f confinc.* confmf.*
3078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3079$as_echo "${_am_result}" >&6; }
3080
3081# Check whether --enable-dependency-tracking was given.
3082if test "${enable_dependency_tracking+set}" = set; then :
3083  enableval=$enable_dependency_tracking;
3084fi
3085
3086if test "x$enable_dependency_tracking" != xno; then
3087  am_depcomp="$ac_aux_dir/depcomp"
3088  AMDEPBACKSLASH='\'
3089  am__nodep='_no'
3090fi
3091 if test "x$enable_dependency_tracking" != xno; then
3092  AMDEP_TRUE=
3093  AMDEP_FALSE='#'
3094else
3095  AMDEP_TRUE='#'
3096  AMDEP_FALSE=
3097fi
3098
3099
3100ac_ext=c
3101ac_cpp='$CPP $CPPFLAGS'
3102ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3103ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3104ac_compiler_gnu=$ac_cv_c_compiler_gnu
3105if test -n "$ac_tool_prefix"; then
3106  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3107set dummy ${ac_tool_prefix}gcc; ac_word=$2
3108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3109$as_echo_n "checking for $ac_word... " >&6; }
3110if ${ac_cv_prog_CC+:} false; then :
3111  $as_echo_n "(cached) " >&6
3112else
3113  if test -n "$CC"; then
3114  ac_cv_prog_CC="$CC" # Let the user override the test.
3115else
3116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117for as_dir in $PATH
3118do
3119  IFS=$as_save_IFS
3120  test -z "$as_dir" && as_dir=.
3121    for ac_exec_ext in '' $ac_executable_extensions; do
3122  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3123    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3124    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125    break 2
3126  fi
3127done
3128  done
3129IFS=$as_save_IFS
3130
3131fi
3132fi
3133CC=$ac_cv_prog_CC
3134if test -n "$CC"; then
3135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3136$as_echo "$CC" >&6; }
3137else
3138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139$as_echo "no" >&6; }
3140fi
3141
3142
3143fi
3144if test -z "$ac_cv_prog_CC"; then
3145  ac_ct_CC=$CC
3146  # Extract the first word of "gcc", so it can be a program name with args.
3147set dummy gcc; ac_word=$2
3148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149$as_echo_n "checking for $ac_word... " >&6; }
3150if ${ac_cv_prog_ac_ct_CC+:} false; then :
3151  $as_echo_n "(cached) " >&6
3152else
3153  if test -n "$ac_ct_CC"; then
3154  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3155else
3156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157for as_dir in $PATH
3158do
3159  IFS=$as_save_IFS
3160  test -z "$as_dir" && as_dir=.
3161    for ac_exec_ext in '' $ac_executable_extensions; do
3162  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163    ac_cv_prog_ac_ct_CC="gcc"
3164    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165    break 2
3166  fi
3167done
3168  done
3169IFS=$as_save_IFS
3170
3171fi
3172fi
3173ac_ct_CC=$ac_cv_prog_ac_ct_CC
3174if test -n "$ac_ct_CC"; then
3175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3176$as_echo "$ac_ct_CC" >&6; }
3177else
3178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179$as_echo "no" >&6; }
3180fi
3181
3182  if test "x$ac_ct_CC" = x; then
3183    CC=""
3184  else
3185    case $cross_compiling:$ac_tool_warned in
3186yes:)
3187{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3188$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3189ac_tool_warned=yes ;;
3190esac
3191    CC=$ac_ct_CC
3192  fi
3193else
3194  CC="$ac_cv_prog_CC"
3195fi
3196
3197if test -z "$CC"; then
3198          if test -n "$ac_tool_prefix"; then
3199    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3200set dummy ${ac_tool_prefix}cc; ac_word=$2
3201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202$as_echo_n "checking for $ac_word... " >&6; }
3203if ${ac_cv_prog_CC+:} false; then :
3204  $as_echo_n "(cached) " >&6
3205else
3206  if test -n "$CC"; then
3207  ac_cv_prog_CC="$CC" # Let the user override the test.
3208else
3209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210for as_dir in $PATH
3211do
3212  IFS=$as_save_IFS
3213  test -z "$as_dir" && as_dir=.
3214    for ac_exec_ext in '' $ac_executable_extensions; do
3215  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216    ac_cv_prog_CC="${ac_tool_prefix}cc"
3217    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218    break 2
3219  fi
3220done
3221  done
3222IFS=$as_save_IFS
3223
3224fi
3225fi
3226CC=$ac_cv_prog_CC
3227if test -n "$CC"; then
3228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3229$as_echo "$CC" >&6; }
3230else
3231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232$as_echo "no" >&6; }
3233fi
3234
3235
3236  fi
3237fi
3238if test -z "$CC"; then
3239  # Extract the first word of "cc", so it can be a program name with args.
3240set dummy cc; ac_word=$2
3241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242$as_echo_n "checking for $ac_word... " >&6; }
3243if ${ac_cv_prog_CC+:} false; then :
3244  $as_echo_n "(cached) " >&6
3245else
3246  if test -n "$CC"; then
3247  ac_cv_prog_CC="$CC" # Let the user override the test.
3248else
3249  ac_prog_rejected=no
3250as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251for as_dir in $PATH
3252do
3253  IFS=$as_save_IFS
3254  test -z "$as_dir" && as_dir=.
3255    for ac_exec_ext in '' $ac_executable_extensions; do
3256  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3257    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3258       ac_prog_rejected=yes
3259       continue
3260     fi
3261    ac_cv_prog_CC="cc"
3262    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3263    break 2
3264  fi
3265done
3266  done
3267IFS=$as_save_IFS
3268
3269if test $ac_prog_rejected = yes; then
3270  # We found a bogon in the path, so make sure we never use it.
3271  set dummy $ac_cv_prog_CC
3272  shift
3273  if test $# != 0; then
3274    # We chose a different compiler from the bogus one.
3275    # However, it has the same basename, so the bogon will be chosen
3276    # first if we set CC to just the basename; use the full file name.
3277    shift
3278    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3279  fi
3280fi
3281fi
3282fi
3283CC=$ac_cv_prog_CC
3284if test -n "$CC"; then
3285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3286$as_echo "$CC" >&6; }
3287else
3288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289$as_echo "no" >&6; }
3290fi
3291
3292
3293fi
3294if test -z "$CC"; then
3295  if test -n "$ac_tool_prefix"; then
3296  for ac_prog in cl.exe
3297  do
3298    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3299set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3301$as_echo_n "checking for $ac_word... " >&6; }
3302if ${ac_cv_prog_CC+:} false; then :
3303  $as_echo_n "(cached) " >&6
3304else
3305  if test -n "$CC"; then
3306  ac_cv_prog_CC="$CC" # Let the user override the test.
3307else
3308as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309for as_dir in $PATH
3310do
3311  IFS=$as_save_IFS
3312  test -z "$as_dir" && as_dir=.
3313    for ac_exec_ext in '' $ac_executable_extensions; do
3314  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3315    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3316    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3317    break 2
3318  fi
3319done
3320  done
3321IFS=$as_save_IFS
3322
3323fi
3324fi
3325CC=$ac_cv_prog_CC
3326if test -n "$CC"; then
3327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3328$as_echo "$CC" >&6; }
3329else
3330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331$as_echo "no" >&6; }
3332fi
3333
3334
3335    test -n "$CC" && break
3336  done
3337fi
3338if test -z "$CC"; then
3339  ac_ct_CC=$CC
3340  for ac_prog in cl.exe
3341do
3342  # Extract the first word of "$ac_prog", so it can be a program name with args.
3343set dummy $ac_prog; ac_word=$2
3344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3345$as_echo_n "checking for $ac_word... " >&6; }
3346if ${ac_cv_prog_ac_ct_CC+:} false; then :
3347  $as_echo_n "(cached) " >&6
3348else
3349  if test -n "$ac_ct_CC"; then
3350  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3351else
3352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353for as_dir in $PATH
3354do
3355  IFS=$as_save_IFS
3356  test -z "$as_dir" && as_dir=.
3357    for ac_exec_ext in '' $ac_executable_extensions; do
3358  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3359    ac_cv_prog_ac_ct_CC="$ac_prog"
3360    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3361    break 2
3362  fi
3363done
3364  done
3365IFS=$as_save_IFS
3366
3367fi
3368fi
3369ac_ct_CC=$ac_cv_prog_ac_ct_CC
3370if test -n "$ac_ct_CC"; then
3371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3372$as_echo "$ac_ct_CC" >&6; }
3373else
3374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3375$as_echo "no" >&6; }
3376fi
3377
3378
3379  test -n "$ac_ct_CC" && break
3380done
3381
3382  if test "x$ac_ct_CC" = x; then
3383    CC=""
3384  else
3385    case $cross_compiling:$ac_tool_warned in
3386yes:)
3387{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3388$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3389ac_tool_warned=yes ;;
3390esac
3391    CC=$ac_ct_CC
3392  fi
3393fi
3394
3395fi
3396
3397
3398test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3399$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3400as_fn_error $? "no acceptable C compiler found in \$PATH
3401See \`config.log' for more details" "$LINENO" 5; }
3402
3403# Provide some information about the compiler.
3404$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3405set X $ac_compile
3406ac_compiler=$2
3407for ac_option in --version -v -V -qversion; do
3408  { { ac_try="$ac_compiler $ac_option >&5"
3409case "(($ac_try" in
3410  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3411  *) ac_try_echo=$ac_try;;
3412esac
3413eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3414$as_echo "$ac_try_echo"; } >&5
3415  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3416  ac_status=$?
3417  if test -s conftest.err; then
3418    sed '10a\
3419... rest of stderr output deleted ...
3420         10q' conftest.err >conftest.er1
3421    cat conftest.er1 >&5
3422  fi
3423  rm -f conftest.er1 conftest.err
3424  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3425  test $ac_status = 0; }
3426done
3427
3428cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429/* end confdefs.h.  */
3430
3431int
3432main ()
3433{
3434
3435  ;
3436  return 0;
3437}
3438_ACEOF
3439ac_clean_files_save=$ac_clean_files
3440ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3441# Try to create an executable without -o first, disregard a.out.
3442# It will help us diagnose broken compilers, and finding out an intuition
3443# of exeext.
3444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3445$as_echo_n "checking whether the C compiler works... " >&6; }
3446ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3447
3448# The possible output files:
3449ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3450
3451ac_rmfiles=
3452for ac_file in $ac_files
3453do
3454  case $ac_file in
3455    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3456    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3457  esac
3458done
3459rm -f $ac_rmfiles
3460
3461if { { ac_try="$ac_link_default"
3462case "(($ac_try" in
3463  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464  *) ac_try_echo=$ac_try;;
3465esac
3466eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3467$as_echo "$ac_try_echo"; } >&5
3468  (eval "$ac_link_default") 2>&5
3469  ac_status=$?
3470  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3471  test $ac_status = 0; }; then :
3472  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3473# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3474# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3475# so that the user can short-circuit this test for compilers unknown to
3476# Autoconf.
3477for ac_file in $ac_files ''
3478do
3479  test -f "$ac_file" || continue
3480  case $ac_file in
3481    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3482	;;
3483    [ab].out )
3484	# We found the default executable, but exeext='' is most
3485	# certainly right.
3486	break;;
3487    *.* )
3488	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3489	then :; else
3490	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3491	fi
3492	# We set ac_cv_exeext here because the later test for it is not
3493	# safe: cross compilers may not add the suffix if given an `-o'
3494	# argument, so we may need to know it at that point already.
3495	# Even if this section looks crufty: it has the advantage of
3496	# actually working.
3497	break;;
3498    * )
3499	break;;
3500  esac
3501done
3502test "$ac_cv_exeext" = no && ac_cv_exeext=
3503
3504else
3505  ac_file=''
3506fi
3507if test -z "$ac_file"; then :
3508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509$as_echo "no" >&6; }
3510$as_echo "$as_me: failed program was:" >&5
3511sed 's/^/| /' conftest.$ac_ext >&5
3512
3513{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3514$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3515as_fn_error 77 "C compiler cannot create executables
3516See \`config.log' for more details" "$LINENO" 5; }
3517else
3518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3519$as_echo "yes" >&6; }
3520fi
3521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3522$as_echo_n "checking for C compiler default output file name... " >&6; }
3523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3524$as_echo "$ac_file" >&6; }
3525ac_exeext=$ac_cv_exeext
3526
3527rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3528ac_clean_files=$ac_clean_files_save
3529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3530$as_echo_n "checking for suffix of executables... " >&6; }
3531if { { ac_try="$ac_link"
3532case "(($ac_try" in
3533  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534  *) ac_try_echo=$ac_try;;
3535esac
3536eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3537$as_echo "$ac_try_echo"; } >&5
3538  (eval "$ac_link") 2>&5
3539  ac_status=$?
3540  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541  test $ac_status = 0; }; then :
3542  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3543# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3544# work properly (i.e., refer to `conftest.exe'), while it won't with
3545# `rm'.
3546for ac_file in conftest.exe conftest conftest.*; do
3547  test -f "$ac_file" || continue
3548  case $ac_file in
3549    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3550    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3551	  break;;
3552    * ) break;;
3553  esac
3554done
3555else
3556  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3557$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3558as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3559See \`config.log' for more details" "$LINENO" 5; }
3560fi
3561rm -f conftest conftest$ac_cv_exeext
3562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3563$as_echo "$ac_cv_exeext" >&6; }
3564
3565rm -f conftest.$ac_ext
3566EXEEXT=$ac_cv_exeext
3567ac_exeext=$EXEEXT
3568cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569/* end confdefs.h.  */
3570#include <stdio.h>
3571int
3572main ()
3573{
3574FILE *f = fopen ("conftest.out", "w");
3575 return ferror (f) || fclose (f) != 0;
3576
3577  ;
3578  return 0;
3579}
3580_ACEOF
3581ac_clean_files="$ac_clean_files conftest.out"
3582# Check that the compiler produces executables we can run.  If not, either
3583# the compiler is broken, or we cross compile.
3584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3585$as_echo_n "checking whether we are cross compiling... " >&6; }
3586if test "$cross_compiling" != yes; then
3587  { { ac_try="$ac_link"
3588case "(($ac_try" in
3589  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590  *) ac_try_echo=$ac_try;;
3591esac
3592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3593$as_echo "$ac_try_echo"; } >&5
3594  (eval "$ac_link") 2>&5
3595  ac_status=$?
3596  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3597  test $ac_status = 0; }
3598  if { ac_try='./conftest$ac_cv_exeext'
3599  { { case "(($ac_try" in
3600  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3601  *) ac_try_echo=$ac_try;;
3602esac
3603eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604$as_echo "$ac_try_echo"; } >&5
3605  (eval "$ac_try") 2>&5
3606  ac_status=$?
3607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608  test $ac_status = 0; }; }; then
3609    cross_compiling=no
3610  else
3611    if test "$cross_compiling" = maybe; then
3612	cross_compiling=yes
3613    else
3614	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3615$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3616as_fn_error $? "cannot run C compiled programs.
3617If you meant to cross compile, use \`--host'.
3618See \`config.log' for more details" "$LINENO" 5; }
3619    fi
3620  fi
3621fi
3622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3623$as_echo "$cross_compiling" >&6; }
3624
3625rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3626ac_clean_files=$ac_clean_files_save
3627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3628$as_echo_n "checking for suffix of object files... " >&6; }
3629if ${ac_cv_objext+:} false; then :
3630  $as_echo_n "(cached) " >&6
3631else
3632  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3633/* end confdefs.h.  */
3634
3635int
3636main ()
3637{
3638
3639  ;
3640  return 0;
3641}
3642_ACEOF
3643rm -f conftest.o conftest.obj
3644if { { ac_try="$ac_compile"
3645case "(($ac_try" in
3646  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3647  *) ac_try_echo=$ac_try;;
3648esac
3649eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3650$as_echo "$ac_try_echo"; } >&5
3651  (eval "$ac_compile") 2>&5
3652  ac_status=$?
3653  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3654  test $ac_status = 0; }; then :
3655  for ac_file in conftest.o conftest.obj conftest.*; do
3656  test -f "$ac_file" || continue;
3657  case $ac_file in
3658    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3659    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3660       break;;
3661  esac
3662done
3663else
3664  $as_echo "$as_me: failed program was:" >&5
3665sed 's/^/| /' conftest.$ac_ext >&5
3666
3667{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3668$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3669as_fn_error $? "cannot compute suffix of object files: cannot compile
3670See \`config.log' for more details" "$LINENO" 5; }
3671fi
3672rm -f conftest.$ac_cv_objext conftest.$ac_ext
3673fi
3674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3675$as_echo "$ac_cv_objext" >&6; }
3676OBJEXT=$ac_cv_objext
3677ac_objext=$OBJEXT
3678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3679$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3680if ${ac_cv_c_compiler_gnu+:} false; then :
3681  $as_echo_n "(cached) " >&6
3682else
3683  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684/* end confdefs.h.  */
3685
3686int
3687main ()
3688{
3689#ifndef __GNUC__
3690       choke me
3691#endif
3692
3693  ;
3694  return 0;
3695}
3696_ACEOF
3697if ac_fn_c_try_compile "$LINENO"; then :
3698  ac_compiler_gnu=yes
3699else
3700  ac_compiler_gnu=no
3701fi
3702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3703ac_cv_c_compiler_gnu=$ac_compiler_gnu
3704
3705fi
3706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3707$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3708if test $ac_compiler_gnu = yes; then
3709  GCC=yes
3710else
3711  GCC=
3712fi
3713ac_test_CFLAGS=${CFLAGS+set}
3714ac_save_CFLAGS=$CFLAGS
3715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3716$as_echo_n "checking whether $CC accepts -g... " >&6; }
3717if ${ac_cv_prog_cc_g+:} false; then :
3718  $as_echo_n "(cached) " >&6
3719else
3720  ac_save_c_werror_flag=$ac_c_werror_flag
3721   ac_c_werror_flag=yes
3722   ac_cv_prog_cc_g=no
3723   CFLAGS="-g"
3724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725/* end confdefs.h.  */
3726
3727int
3728main ()
3729{
3730
3731  ;
3732  return 0;
3733}
3734_ACEOF
3735if ac_fn_c_try_compile "$LINENO"; then :
3736  ac_cv_prog_cc_g=yes
3737else
3738  CFLAGS=""
3739      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3740/* end confdefs.h.  */
3741
3742int
3743main ()
3744{
3745
3746  ;
3747  return 0;
3748}
3749_ACEOF
3750if ac_fn_c_try_compile "$LINENO"; then :
3751
3752else
3753  ac_c_werror_flag=$ac_save_c_werror_flag
3754	 CFLAGS="-g"
3755	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756/* end confdefs.h.  */
3757
3758int
3759main ()
3760{
3761
3762  ;
3763  return 0;
3764}
3765_ACEOF
3766if ac_fn_c_try_compile "$LINENO"; then :
3767  ac_cv_prog_cc_g=yes
3768fi
3769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3770fi
3771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772fi
3773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3774   ac_c_werror_flag=$ac_save_c_werror_flag
3775fi
3776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3777$as_echo "$ac_cv_prog_cc_g" >&6; }
3778if test "$ac_test_CFLAGS" = set; then
3779  CFLAGS=$ac_save_CFLAGS
3780elif test $ac_cv_prog_cc_g = yes; then
3781  if test "$GCC" = yes; then
3782    CFLAGS="-g -O2"
3783  else
3784    CFLAGS="-g"
3785  fi
3786else
3787  if test "$GCC" = yes; then
3788    CFLAGS="-O2"
3789  else
3790    CFLAGS=
3791  fi
3792fi
3793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3794$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3795if ${ac_cv_prog_cc_c89+:} false; then :
3796  $as_echo_n "(cached) " >&6
3797else
3798  ac_cv_prog_cc_c89=no
3799ac_save_CC=$CC
3800cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801/* end confdefs.h.  */
3802#include <stdarg.h>
3803#include <stdio.h>
3804struct stat;
3805/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3806struct buf { int x; };
3807FILE * (*rcsopen) (struct buf *, struct stat *, int);
3808static char *e (p, i)
3809     char **p;
3810     int i;
3811{
3812  return p[i];
3813}
3814static char *f (char * (*g) (char **, int), char **p, ...)
3815{
3816  char *s;
3817  va_list v;
3818  va_start (v,p);
3819  s = g (p, va_arg (v,int));
3820  va_end (v);
3821  return s;
3822}
3823
3824/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3825   function prototypes and stuff, but not '\xHH' hex character constants.
3826   These don't provoke an error unfortunately, instead are silently treated
3827   as 'x'.  The following induces an error, until -std is added to get
3828   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3829   array size at least.  It's necessary to write '\x00'==0 to get something
3830   that's true only with -std.  */
3831int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3832
3833/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3834   inside strings and character constants.  */
3835#define FOO(x) 'x'
3836int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3837
3838int test (int i, double x);
3839struct s1 {int (*f) (int a);};
3840struct s2 {int (*f) (double a);};
3841int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3842int argc;
3843char **argv;
3844int
3845main ()
3846{
3847return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3848  ;
3849  return 0;
3850}
3851_ACEOF
3852for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3853	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3854do
3855  CC="$ac_save_CC $ac_arg"
3856  if ac_fn_c_try_compile "$LINENO"; then :
3857  ac_cv_prog_cc_c89=$ac_arg
3858fi
3859rm -f core conftest.err conftest.$ac_objext
3860  test "x$ac_cv_prog_cc_c89" != "xno" && break
3861done
3862rm -f conftest.$ac_ext
3863CC=$ac_save_CC
3864
3865fi
3866# AC_CACHE_VAL
3867case "x$ac_cv_prog_cc_c89" in
3868  x)
3869    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3870$as_echo "none needed" >&6; } ;;
3871  xno)
3872    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3873$as_echo "unsupported" >&6; } ;;
3874  *)
3875    CC="$CC $ac_cv_prog_cc_c89"
3876    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3877$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3878esac
3879if test "x$ac_cv_prog_cc_c89" != xno; then :
3880
3881fi
3882
3883ac_ext=c
3884ac_cpp='$CPP $CPPFLAGS'
3885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3887ac_compiler_gnu=$ac_cv_c_compiler_gnu
3888
3889ac_ext=c
3890ac_cpp='$CPP $CPPFLAGS'
3891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3893ac_compiler_gnu=$ac_cv_c_compiler_gnu
3894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3895$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3896if ${am_cv_prog_cc_c_o+:} false; then :
3897  $as_echo_n "(cached) " >&6
3898else
3899  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900/* end confdefs.h.  */
3901
3902int
3903main ()
3904{
3905
3906  ;
3907  return 0;
3908}
3909_ACEOF
3910  # Make sure it works both with $CC and with simple cc.
3911  # Following AC_PROG_CC_C_O, we do the test twice because some
3912  # compilers refuse to overwrite an existing .o file with -o,
3913  # though they will create one.
3914  am_cv_prog_cc_c_o=yes
3915  for am_i in 1 2; do
3916    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3917   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3918   ac_status=$?
3919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920   (exit $ac_status); } \
3921         && test -f conftest2.$ac_objext; then
3922      : OK
3923    else
3924      am_cv_prog_cc_c_o=no
3925      break
3926    fi
3927  done
3928  rm -f core conftest*
3929  unset am_i
3930fi
3931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3932$as_echo "$am_cv_prog_cc_c_o" >&6; }
3933if test "$am_cv_prog_cc_c_o" != yes; then
3934   # Losing compiler, so override with the script.
3935   # FIXME: It is wrong to rewrite CC.
3936   # But if we don't then we get into trouble of one sort or another.
3937   # A longer-term fix would be to have automake use am__CC in this case,
3938   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3939   CC="$am_aux_dir/compile $CC"
3940fi
3941ac_ext=c
3942ac_cpp='$CPP $CPPFLAGS'
3943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3945ac_compiler_gnu=$ac_cv_c_compiler_gnu
3946
3947
3948depcc="$CC"   am_compiler_list=
3949
3950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3951$as_echo_n "checking dependency style of $depcc... " >&6; }
3952if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3953  $as_echo_n "(cached) " >&6
3954else
3955  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3956  # We make a subdir and do the tests there.  Otherwise we can end up
3957  # making bogus files that we don't know about and never remove.  For
3958  # instance it was reported that on HP-UX the gcc test will end up
3959  # making a dummy file named 'D' -- because '-MD' means "put the output
3960  # in D".
3961  rm -rf conftest.dir
3962  mkdir conftest.dir
3963  # Copy depcomp to subdir because otherwise we won't find it if we're
3964  # using a relative directory.
3965  cp "$am_depcomp" conftest.dir
3966  cd conftest.dir
3967  # We will build objects and dependencies in a subdirectory because
3968  # it helps to detect inapplicable dependency modes.  For instance
3969  # both Tru64's cc and ICC support -MD to output dependencies as a
3970  # side effect of compilation, but ICC will put the dependencies in
3971  # the current directory while Tru64 will put them in the object
3972  # directory.
3973  mkdir sub
3974
3975  am_cv_CC_dependencies_compiler_type=none
3976  if test "$am_compiler_list" = ""; then
3977     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3978  fi
3979  am__universal=false
3980  case " $depcc " in #(
3981     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3982     esac
3983
3984  for depmode in $am_compiler_list; do
3985    # Setup a source with many dependencies, because some compilers
3986    # like to wrap large dependency lists on column 80 (with \), and
3987    # we should not choose a depcomp mode which is confused by this.
3988    #
3989    # We need to recreate these files for each test, as the compiler may
3990    # overwrite some of them when testing with obscure command lines.
3991    # This happens at least with the AIX C compiler.
3992    : > sub/conftest.c
3993    for i in 1 2 3 4 5 6; do
3994      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3995      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3996      # Solaris 10 /bin/sh.
3997      echo '/* dummy */' > sub/conftst$i.h
3998    done
3999    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4000
4001    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4002    # mode.  It turns out that the SunPro C++ compiler does not properly
4003    # handle '-M -o', and we need to detect this.  Also, some Intel
4004    # versions had trouble with output in subdirs.
4005    am__obj=sub/conftest.${OBJEXT-o}
4006    am__minus_obj="-o $am__obj"
4007    case $depmode in
4008    gcc)
4009      # This depmode causes a compiler race in universal mode.
4010      test "$am__universal" = false || continue
4011      ;;
4012    nosideeffect)
4013      # After this tag, mechanisms are not by side-effect, so they'll
4014      # only be used when explicitly requested.
4015      if test "x$enable_dependency_tracking" = xyes; then
4016	continue
4017      else
4018	break
4019      fi
4020      ;;
4021    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4022      # This compiler won't grok '-c -o', but also, the minuso test has
4023      # not run yet.  These depmodes are late enough in the game, and
4024      # so weak that their functioning should not be impacted.
4025      am__obj=conftest.${OBJEXT-o}
4026      am__minus_obj=
4027      ;;
4028    none) break ;;
4029    esac
4030    if depmode=$depmode \
4031       source=sub/conftest.c object=$am__obj \
4032       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4033       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4034         >/dev/null 2>conftest.err &&
4035       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4036       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4037       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4038       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4039      # icc doesn't choke on unknown options, it will just issue warnings
4040      # or remarks (even with -Werror).  So we grep stderr for any message
4041      # that says an option was ignored or not supported.
4042      # When given -MP, icc 7.0 and 7.1 complain thusly:
4043      #   icc: Command line warning: ignoring option '-M'; no argument required
4044      # The diagnosis changed in icc 8.0:
4045      #   icc: Command line remark: option '-MP' not supported
4046      if (grep 'ignoring option' conftest.err ||
4047          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4048        am_cv_CC_dependencies_compiler_type=$depmode
4049        break
4050      fi
4051    fi
4052  done
4053
4054  cd ..
4055  rm -rf conftest.dir
4056else
4057  am_cv_CC_dependencies_compiler_type=none
4058fi
4059
4060fi
4061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4062$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4063CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4064
4065 if
4066  test "x$enable_dependency_tracking" != xno \
4067  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4068  am__fastdepCC_TRUE=
4069  am__fastdepCC_FALSE='#'
4070else
4071  am__fastdepCC_TRUE='#'
4072  am__fastdepCC_FALSE=
4073fi
4074
4075
4076
4077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4078$as_echo_n "checking for library containing strerror... " >&6; }
4079if ${ac_cv_search_strerror+:} false; then :
4080  $as_echo_n "(cached) " >&6
4081else
4082  ac_func_search_save_LIBS=$LIBS
4083cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4084/* end confdefs.h.  */
4085
4086/* Override any GCC internal prototype to avoid an error.
4087   Use char because int might match the return type of a GCC
4088   builtin and then its argument prototype would still apply.  */
4089#ifdef __cplusplus
4090extern "C"
4091#endif
4092char strerror ();
4093int
4094main ()
4095{
4096return strerror ();
4097  ;
4098  return 0;
4099}
4100_ACEOF
4101for ac_lib in '' cposix; do
4102  if test -z "$ac_lib"; then
4103    ac_res="none required"
4104  else
4105    ac_res=-l$ac_lib
4106    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4107  fi
4108  if ac_fn_c_try_link "$LINENO"; then :
4109  ac_cv_search_strerror=$ac_res
4110fi
4111rm -f core conftest.err conftest.$ac_objext \
4112    conftest$ac_exeext
4113  if ${ac_cv_search_strerror+:} false; then :
4114  break
4115fi
4116done
4117if ${ac_cv_search_strerror+:} false; then :
4118
4119else
4120  ac_cv_search_strerror=no
4121fi
4122rm conftest.$ac_ext
4123LIBS=$ac_func_search_save_LIBS
4124fi
4125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4126$as_echo "$ac_cv_search_strerror" >&6; }
4127ac_res=$ac_cv_search_strerror
4128if test "$ac_res" != no; then :
4129  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4130
4131fi
4132
4133ac_ext=c
4134ac_cpp='$CPP $CPPFLAGS'
4135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4137ac_compiler_gnu=$ac_cv_c_compiler_gnu
4138if test -n "$ac_tool_prefix"; then
4139  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4140set dummy ${ac_tool_prefix}gcc; ac_word=$2
4141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4142$as_echo_n "checking for $ac_word... " >&6; }
4143if ${ac_cv_prog_CC+:} false; then :
4144  $as_echo_n "(cached) " >&6
4145else
4146  if test -n "$CC"; then
4147  ac_cv_prog_CC="$CC" # Let the user override the test.
4148else
4149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4150for as_dir in $PATH
4151do
4152  IFS=$as_save_IFS
4153  test -z "$as_dir" && as_dir=.
4154    for ac_exec_ext in '' $ac_executable_extensions; do
4155  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4156    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4157    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4158    break 2
4159  fi
4160done
4161  done
4162IFS=$as_save_IFS
4163
4164fi
4165fi
4166CC=$ac_cv_prog_CC
4167if test -n "$CC"; then
4168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4169$as_echo "$CC" >&6; }
4170else
4171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172$as_echo "no" >&6; }
4173fi
4174
4175
4176fi
4177if test -z "$ac_cv_prog_CC"; then
4178  ac_ct_CC=$CC
4179  # Extract the first word of "gcc", so it can be a program name with args.
4180set dummy gcc; ac_word=$2
4181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4182$as_echo_n "checking for $ac_word... " >&6; }
4183if ${ac_cv_prog_ac_ct_CC+:} false; then :
4184  $as_echo_n "(cached) " >&6
4185else
4186  if test -n "$ac_ct_CC"; then
4187  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4188else
4189as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4190for as_dir in $PATH
4191do
4192  IFS=$as_save_IFS
4193  test -z "$as_dir" && as_dir=.
4194    for ac_exec_ext in '' $ac_executable_extensions; do
4195  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4196    ac_cv_prog_ac_ct_CC="gcc"
4197    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4198    break 2
4199  fi
4200done
4201  done
4202IFS=$as_save_IFS
4203
4204fi
4205fi
4206ac_ct_CC=$ac_cv_prog_ac_ct_CC
4207if test -n "$ac_ct_CC"; then
4208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4209$as_echo "$ac_ct_CC" >&6; }
4210else
4211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4212$as_echo "no" >&6; }
4213fi
4214
4215  if test "x$ac_ct_CC" = x; then
4216    CC=""
4217  else
4218    case $cross_compiling:$ac_tool_warned in
4219yes:)
4220{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4221$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4222ac_tool_warned=yes ;;
4223esac
4224    CC=$ac_ct_CC
4225  fi
4226else
4227  CC="$ac_cv_prog_CC"
4228fi
4229
4230if test -z "$CC"; then
4231          if test -n "$ac_tool_prefix"; then
4232    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4233set dummy ${ac_tool_prefix}cc; ac_word=$2
4234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4235$as_echo_n "checking for $ac_word... " >&6; }
4236if ${ac_cv_prog_CC+:} false; then :
4237  $as_echo_n "(cached) " >&6
4238else
4239  if test -n "$CC"; then
4240  ac_cv_prog_CC="$CC" # Let the user override the test.
4241else
4242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243for as_dir in $PATH
4244do
4245  IFS=$as_save_IFS
4246  test -z "$as_dir" && as_dir=.
4247    for ac_exec_ext in '' $ac_executable_extensions; do
4248  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4249    ac_cv_prog_CC="${ac_tool_prefix}cc"
4250    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251    break 2
4252  fi
4253done
4254  done
4255IFS=$as_save_IFS
4256
4257fi
4258fi
4259CC=$ac_cv_prog_CC
4260if test -n "$CC"; then
4261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4262$as_echo "$CC" >&6; }
4263else
4264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4265$as_echo "no" >&6; }
4266fi
4267
4268
4269  fi
4270fi
4271if test -z "$CC"; then
4272  # Extract the first word of "cc", so it can be a program name with args.
4273set dummy cc; ac_word=$2
4274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4275$as_echo_n "checking for $ac_word... " >&6; }
4276if ${ac_cv_prog_CC+:} false; then :
4277  $as_echo_n "(cached) " >&6
4278else
4279  if test -n "$CC"; then
4280  ac_cv_prog_CC="$CC" # Let the user override the test.
4281else
4282  ac_prog_rejected=no
4283as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284for as_dir in $PATH
4285do
4286  IFS=$as_save_IFS
4287  test -z "$as_dir" && as_dir=.
4288    for ac_exec_ext in '' $ac_executable_extensions; do
4289  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4290    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4291       ac_prog_rejected=yes
4292       continue
4293     fi
4294    ac_cv_prog_CC="cc"
4295    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4296    break 2
4297  fi
4298done
4299  done
4300IFS=$as_save_IFS
4301
4302if test $ac_prog_rejected = yes; then
4303  # We found a bogon in the path, so make sure we never use it.
4304  set dummy $ac_cv_prog_CC
4305  shift
4306  if test $# != 0; then
4307    # We chose a different compiler from the bogus one.
4308    # However, it has the same basename, so the bogon will be chosen
4309    # first if we set CC to just the basename; use the full file name.
4310    shift
4311    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4312  fi
4313fi
4314fi
4315fi
4316CC=$ac_cv_prog_CC
4317if test -n "$CC"; then
4318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4319$as_echo "$CC" >&6; }
4320else
4321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4322$as_echo "no" >&6; }
4323fi
4324
4325
4326fi
4327if test -z "$CC"; then
4328  if test -n "$ac_tool_prefix"; then
4329  for ac_prog in cl.exe
4330  do
4331    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4332set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4334$as_echo_n "checking for $ac_word... " >&6; }
4335if ${ac_cv_prog_CC+:} false; then :
4336  $as_echo_n "(cached) " >&6
4337else
4338  if test -n "$CC"; then
4339  ac_cv_prog_CC="$CC" # Let the user override the test.
4340else
4341as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4342for as_dir in $PATH
4343do
4344  IFS=$as_save_IFS
4345  test -z "$as_dir" && as_dir=.
4346    for ac_exec_ext in '' $ac_executable_extensions; do
4347  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4348    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4349    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4350    break 2
4351  fi
4352done
4353  done
4354IFS=$as_save_IFS
4355
4356fi
4357fi
4358CC=$ac_cv_prog_CC
4359if test -n "$CC"; then
4360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4361$as_echo "$CC" >&6; }
4362else
4363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4364$as_echo "no" >&6; }
4365fi
4366
4367
4368    test -n "$CC" && break
4369  done
4370fi
4371if test -z "$CC"; then
4372  ac_ct_CC=$CC
4373  for ac_prog in cl.exe
4374do
4375  # Extract the first word of "$ac_prog", so it can be a program name with args.
4376set dummy $ac_prog; ac_word=$2
4377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4378$as_echo_n "checking for $ac_word... " >&6; }
4379if ${ac_cv_prog_ac_ct_CC+:} false; then :
4380  $as_echo_n "(cached) " >&6
4381else
4382  if test -n "$ac_ct_CC"; then
4383  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4384else
4385as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386for as_dir in $PATH
4387do
4388  IFS=$as_save_IFS
4389  test -z "$as_dir" && as_dir=.
4390    for ac_exec_ext in '' $ac_executable_extensions; do
4391  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4392    ac_cv_prog_ac_ct_CC="$ac_prog"
4393    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4394    break 2
4395  fi
4396done
4397  done
4398IFS=$as_save_IFS
4399
4400fi
4401fi
4402ac_ct_CC=$ac_cv_prog_ac_ct_CC
4403if test -n "$ac_ct_CC"; then
4404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4405$as_echo "$ac_ct_CC" >&6; }
4406else
4407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4408$as_echo "no" >&6; }
4409fi
4410
4411
4412  test -n "$ac_ct_CC" && break
4413done
4414
4415  if test "x$ac_ct_CC" = x; then
4416    CC=""
4417  else
4418    case $cross_compiling:$ac_tool_warned in
4419yes:)
4420{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4421$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4422ac_tool_warned=yes ;;
4423esac
4424    CC=$ac_ct_CC
4425  fi
4426fi
4427
4428fi
4429
4430
4431test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4432$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4433as_fn_error $? "no acceptable C compiler found in \$PATH
4434See \`config.log' for more details" "$LINENO" 5; }
4435
4436# Provide some information about the compiler.
4437$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4438set X $ac_compile
4439ac_compiler=$2
4440for ac_option in --version -v -V -qversion; do
4441  { { ac_try="$ac_compiler $ac_option >&5"
4442case "(($ac_try" in
4443  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4444  *) ac_try_echo=$ac_try;;
4445esac
4446eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4447$as_echo "$ac_try_echo"; } >&5
4448  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4449  ac_status=$?
4450  if test -s conftest.err; then
4451    sed '10a\
4452... rest of stderr output deleted ...
4453         10q' conftest.err >conftest.er1
4454    cat conftest.er1 >&5
4455  fi
4456  rm -f conftest.er1 conftest.err
4457  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4458  test $ac_status = 0; }
4459done
4460
4461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4462$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4463if ${ac_cv_c_compiler_gnu+:} false; then :
4464  $as_echo_n "(cached) " >&6
4465else
4466  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467/* end confdefs.h.  */
4468
4469int
4470main ()
4471{
4472#ifndef __GNUC__
4473       choke me
4474#endif
4475
4476  ;
4477  return 0;
4478}
4479_ACEOF
4480if ac_fn_c_try_compile "$LINENO"; then :
4481  ac_compiler_gnu=yes
4482else
4483  ac_compiler_gnu=no
4484fi
4485rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4486ac_cv_c_compiler_gnu=$ac_compiler_gnu
4487
4488fi
4489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4490$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4491if test $ac_compiler_gnu = yes; then
4492  GCC=yes
4493else
4494  GCC=
4495fi
4496ac_test_CFLAGS=${CFLAGS+set}
4497ac_save_CFLAGS=$CFLAGS
4498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4499$as_echo_n "checking whether $CC accepts -g... " >&6; }
4500if ${ac_cv_prog_cc_g+:} false; then :
4501  $as_echo_n "(cached) " >&6
4502else
4503  ac_save_c_werror_flag=$ac_c_werror_flag
4504   ac_c_werror_flag=yes
4505   ac_cv_prog_cc_g=no
4506   CFLAGS="-g"
4507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508/* end confdefs.h.  */
4509
4510int
4511main ()
4512{
4513
4514  ;
4515  return 0;
4516}
4517_ACEOF
4518if ac_fn_c_try_compile "$LINENO"; then :
4519  ac_cv_prog_cc_g=yes
4520else
4521  CFLAGS=""
4522      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523/* end confdefs.h.  */
4524
4525int
4526main ()
4527{
4528
4529  ;
4530  return 0;
4531}
4532_ACEOF
4533if ac_fn_c_try_compile "$LINENO"; then :
4534
4535else
4536  ac_c_werror_flag=$ac_save_c_werror_flag
4537	 CFLAGS="-g"
4538	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539/* end confdefs.h.  */
4540
4541int
4542main ()
4543{
4544
4545  ;
4546  return 0;
4547}
4548_ACEOF
4549if ac_fn_c_try_compile "$LINENO"; then :
4550  ac_cv_prog_cc_g=yes
4551fi
4552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4553fi
4554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555fi
4556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557   ac_c_werror_flag=$ac_save_c_werror_flag
4558fi
4559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4560$as_echo "$ac_cv_prog_cc_g" >&6; }
4561if test "$ac_test_CFLAGS" = set; then
4562  CFLAGS=$ac_save_CFLAGS
4563elif test $ac_cv_prog_cc_g = yes; then
4564  if test "$GCC" = yes; then
4565    CFLAGS="-g -O2"
4566  else
4567    CFLAGS="-g"
4568  fi
4569else
4570  if test "$GCC" = yes; then
4571    CFLAGS="-O2"
4572  else
4573    CFLAGS=
4574  fi
4575fi
4576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4577$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4578if ${ac_cv_prog_cc_c89+:} false; then :
4579  $as_echo_n "(cached) " >&6
4580else
4581  ac_cv_prog_cc_c89=no
4582ac_save_CC=$CC
4583cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584/* end confdefs.h.  */
4585#include <stdarg.h>
4586#include <stdio.h>
4587struct stat;
4588/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4589struct buf { int x; };
4590FILE * (*rcsopen) (struct buf *, struct stat *, int);
4591static char *e (p, i)
4592     char **p;
4593     int i;
4594{
4595  return p[i];
4596}
4597static char *f (char * (*g) (char **, int), char **p, ...)
4598{
4599  char *s;
4600  va_list v;
4601  va_start (v,p);
4602  s = g (p, va_arg (v,int));
4603  va_end (v);
4604  return s;
4605}
4606
4607/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4608   function prototypes and stuff, but not '\xHH' hex character constants.
4609   These don't provoke an error unfortunately, instead are silently treated
4610   as 'x'.  The following induces an error, until -std is added to get
4611   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4612   array size at least.  It's necessary to write '\x00'==0 to get something
4613   that's true only with -std.  */
4614int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4615
4616/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4617   inside strings and character constants.  */
4618#define FOO(x) 'x'
4619int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4620
4621int test (int i, double x);
4622struct s1 {int (*f) (int a);};
4623struct s2 {int (*f) (double a);};
4624int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4625int argc;
4626char **argv;
4627int
4628main ()
4629{
4630return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4631  ;
4632  return 0;
4633}
4634_ACEOF
4635for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4636	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4637do
4638  CC="$ac_save_CC $ac_arg"
4639  if ac_fn_c_try_compile "$LINENO"; then :
4640  ac_cv_prog_cc_c89=$ac_arg
4641fi
4642rm -f core conftest.err conftest.$ac_objext
4643  test "x$ac_cv_prog_cc_c89" != "xno" && break
4644done
4645rm -f conftest.$ac_ext
4646CC=$ac_save_CC
4647
4648fi
4649# AC_CACHE_VAL
4650case "x$ac_cv_prog_cc_c89" in
4651  x)
4652    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4653$as_echo "none needed" >&6; } ;;
4654  xno)
4655    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4656$as_echo "unsupported" >&6; } ;;
4657  *)
4658    CC="$CC $ac_cv_prog_cc_c89"
4659    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4660$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4661esac
4662if test "x$ac_cv_prog_cc_c89" != xno; then :
4663
4664fi
4665
4666ac_ext=c
4667ac_cpp='$CPP $CPPFLAGS'
4668ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4669ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4670ac_compiler_gnu=$ac_cv_c_compiler_gnu
4671
4672ac_ext=c
4673ac_cpp='$CPP $CPPFLAGS'
4674ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4675ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4676ac_compiler_gnu=$ac_cv_c_compiler_gnu
4677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4678$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4679if ${am_cv_prog_cc_c_o+:} false; then :
4680  $as_echo_n "(cached) " >&6
4681else
4682  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4683/* end confdefs.h.  */
4684
4685int
4686main ()
4687{
4688
4689  ;
4690  return 0;
4691}
4692_ACEOF
4693  # Make sure it works both with $CC and with simple cc.
4694  # Following AC_PROG_CC_C_O, we do the test twice because some
4695  # compilers refuse to overwrite an existing .o file with -o,
4696  # though they will create one.
4697  am_cv_prog_cc_c_o=yes
4698  for am_i in 1 2; do
4699    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4700   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4701   ac_status=$?
4702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703   (exit $ac_status); } \
4704         && test -f conftest2.$ac_objext; then
4705      : OK
4706    else
4707      am_cv_prog_cc_c_o=no
4708      break
4709    fi
4710  done
4711  rm -f core conftest*
4712  unset am_i
4713fi
4714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4715$as_echo "$am_cv_prog_cc_c_o" >&6; }
4716if test "$am_cv_prog_cc_c_o" != yes; then
4717   # Losing compiler, so override with the script.
4718   # FIXME: It is wrong to rewrite CC.
4719   # But if we don't then we get into trouble of one sort or another.
4720   # A longer-term fix would be to have automake use am__CC in this case,
4721   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4722   CC="$am_aux_dir/compile $CC"
4723fi
4724ac_ext=c
4725ac_cpp='$CPP $CPPFLAGS'
4726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4728ac_compiler_gnu=$ac_cv_c_compiler_gnu
4729
4730
4731depcc="$CC"   am_compiler_list=
4732
4733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4734$as_echo_n "checking dependency style of $depcc... " >&6; }
4735if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4736  $as_echo_n "(cached) " >&6
4737else
4738  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4739  # We make a subdir and do the tests there.  Otherwise we can end up
4740  # making bogus files that we don't know about and never remove.  For
4741  # instance it was reported that on HP-UX the gcc test will end up
4742  # making a dummy file named 'D' -- because '-MD' means "put the output
4743  # in D".
4744  rm -rf conftest.dir
4745  mkdir conftest.dir
4746  # Copy depcomp to subdir because otherwise we won't find it if we're
4747  # using a relative directory.
4748  cp "$am_depcomp" conftest.dir
4749  cd conftest.dir
4750  # We will build objects and dependencies in a subdirectory because
4751  # it helps to detect inapplicable dependency modes.  For instance
4752  # both Tru64's cc and ICC support -MD to output dependencies as a
4753  # side effect of compilation, but ICC will put the dependencies in
4754  # the current directory while Tru64 will put them in the object
4755  # directory.
4756  mkdir sub
4757
4758  am_cv_CC_dependencies_compiler_type=none
4759  if test "$am_compiler_list" = ""; then
4760     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4761  fi
4762  am__universal=false
4763  case " $depcc " in #(
4764     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4765     esac
4766
4767  for depmode in $am_compiler_list; do
4768    # Setup a source with many dependencies, because some compilers
4769    # like to wrap large dependency lists on column 80 (with \), and
4770    # we should not choose a depcomp mode which is confused by this.
4771    #
4772    # We need to recreate these files for each test, as the compiler may
4773    # overwrite some of them when testing with obscure command lines.
4774    # This happens at least with the AIX C compiler.
4775    : > sub/conftest.c
4776    for i in 1 2 3 4 5 6; do
4777      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4778      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4779      # Solaris 10 /bin/sh.
4780      echo '/* dummy */' > sub/conftst$i.h
4781    done
4782    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4783
4784    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4785    # mode.  It turns out that the SunPro C++ compiler does not properly
4786    # handle '-M -o', and we need to detect this.  Also, some Intel
4787    # versions had trouble with output in subdirs.
4788    am__obj=sub/conftest.${OBJEXT-o}
4789    am__minus_obj="-o $am__obj"
4790    case $depmode in
4791    gcc)
4792      # This depmode causes a compiler race in universal mode.
4793      test "$am__universal" = false || continue
4794      ;;
4795    nosideeffect)
4796      # After this tag, mechanisms are not by side-effect, so they'll
4797      # only be used when explicitly requested.
4798      if test "x$enable_dependency_tracking" = xyes; then
4799	continue
4800      else
4801	break
4802      fi
4803      ;;
4804    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4805      # This compiler won't grok '-c -o', but also, the minuso test has
4806      # not run yet.  These depmodes are late enough in the game, and
4807      # so weak that their functioning should not be impacted.
4808      am__obj=conftest.${OBJEXT-o}
4809      am__minus_obj=
4810      ;;
4811    none) break ;;
4812    esac
4813    if depmode=$depmode \
4814       source=sub/conftest.c object=$am__obj \
4815       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4816       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4817         >/dev/null 2>conftest.err &&
4818       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4819       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4820       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4821       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4822      # icc doesn't choke on unknown options, it will just issue warnings
4823      # or remarks (even with -Werror).  So we grep stderr for any message
4824      # that says an option was ignored or not supported.
4825      # When given -MP, icc 7.0 and 7.1 complain thusly:
4826      #   icc: Command line warning: ignoring option '-M'; no argument required
4827      # The diagnosis changed in icc 8.0:
4828      #   icc: Command line remark: option '-MP' not supported
4829      if (grep 'ignoring option' conftest.err ||
4830          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4831        am_cv_CC_dependencies_compiler_type=$depmode
4832        break
4833      fi
4834    fi
4835  done
4836
4837  cd ..
4838  rm -rf conftest.dir
4839else
4840  am_cv_CC_dependencies_compiler_type=none
4841fi
4842
4843fi
4844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4845$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4846CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4847
4848 if
4849  test "x$enable_dependency_tracking" != xno \
4850  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4851  am__fastdepCC_TRUE=
4852  am__fastdepCC_FALSE='#'
4853else
4854  am__fastdepCC_TRUE='#'
4855  am__fastdepCC_FALSE=
4856fi
4857
4858
4859
4860ac_ext=c
4861ac_cpp='$CPP $CPPFLAGS'
4862ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4863ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4864ac_compiler_gnu=$ac_cv_c_compiler_gnu
4865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4866$as_echo_n "checking how to run the C preprocessor... " >&6; }
4867# On Suns, sometimes $CPP names a directory.
4868if test -n "$CPP" && test -d "$CPP"; then
4869  CPP=
4870fi
4871if test -z "$CPP"; then
4872  if ${ac_cv_prog_CPP+:} false; then :
4873  $as_echo_n "(cached) " >&6
4874else
4875      # Double quotes because CPP needs to be expanded
4876    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4877    do
4878      ac_preproc_ok=false
4879for ac_c_preproc_warn_flag in '' yes
4880do
4881  # Use a header file that comes with gcc, so configuring glibc
4882  # with a fresh cross-compiler works.
4883  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4884  # <limits.h> exists even on freestanding compilers.
4885  # On the NeXT, cc -E runs the code through the compiler's parser,
4886  # not just through cpp. "Syntax error" is here to catch this case.
4887  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888/* end confdefs.h.  */
4889#ifdef __STDC__
4890# include <limits.h>
4891#else
4892# include <assert.h>
4893#endif
4894		     Syntax error
4895_ACEOF
4896if ac_fn_c_try_cpp "$LINENO"; then :
4897
4898else
4899  # Broken: fails on valid input.
4900continue
4901fi
4902rm -f conftest.err conftest.i conftest.$ac_ext
4903
4904  # OK, works on sane cases.  Now check whether nonexistent headers
4905  # can be detected and how.
4906  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4907/* end confdefs.h.  */
4908#include <ac_nonexistent.h>
4909_ACEOF
4910if ac_fn_c_try_cpp "$LINENO"; then :
4911  # Broken: success on invalid input.
4912continue
4913else
4914  # Passes both tests.
4915ac_preproc_ok=:
4916break
4917fi
4918rm -f conftest.err conftest.i conftest.$ac_ext
4919
4920done
4921# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4922rm -f conftest.i conftest.err conftest.$ac_ext
4923if $ac_preproc_ok; then :
4924  break
4925fi
4926
4927    done
4928    ac_cv_prog_CPP=$CPP
4929
4930fi
4931  CPP=$ac_cv_prog_CPP
4932else
4933  ac_cv_prog_CPP=$CPP
4934fi
4935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4936$as_echo "$CPP" >&6; }
4937ac_preproc_ok=false
4938for ac_c_preproc_warn_flag in '' yes
4939do
4940  # Use a header file that comes with gcc, so configuring glibc
4941  # with a fresh cross-compiler works.
4942  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4943  # <limits.h> exists even on freestanding compilers.
4944  # On the NeXT, cc -E runs the code through the compiler's parser,
4945  # not just through cpp. "Syntax error" is here to catch this case.
4946  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947/* end confdefs.h.  */
4948#ifdef __STDC__
4949# include <limits.h>
4950#else
4951# include <assert.h>
4952#endif
4953		     Syntax error
4954_ACEOF
4955if ac_fn_c_try_cpp "$LINENO"; then :
4956
4957else
4958  # Broken: fails on valid input.
4959continue
4960fi
4961rm -f conftest.err conftest.i conftest.$ac_ext
4962
4963  # OK, works on sane cases.  Now check whether nonexistent headers
4964  # can be detected and how.
4965  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4966/* end confdefs.h.  */
4967#include <ac_nonexistent.h>
4968_ACEOF
4969if ac_fn_c_try_cpp "$LINENO"; then :
4970  # Broken: success on invalid input.
4971continue
4972else
4973  # Passes both tests.
4974ac_preproc_ok=:
4975break
4976fi
4977rm -f conftest.err conftest.i conftest.$ac_ext
4978
4979done
4980# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4981rm -f conftest.i conftest.err conftest.$ac_ext
4982if $ac_preproc_ok; then :
4983
4984else
4985  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4986$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4987as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4988See \`config.log' for more details" "$LINENO" 5; }
4989fi
4990
4991ac_ext=c
4992ac_cpp='$CPP $CPPFLAGS'
4993ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4994ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4995ac_compiler_gnu=$ac_cv_c_compiler_gnu
4996
4997
4998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4999$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5000if ${ac_cv_path_GREP+:} false; then :
5001  $as_echo_n "(cached) " >&6
5002else
5003  if test -z "$GREP"; then
5004  ac_path_GREP_found=false
5005  # Loop through the user's path and test for each of PROGNAME-LIST
5006  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5008do
5009  IFS=$as_save_IFS
5010  test -z "$as_dir" && as_dir=.
5011    for ac_prog in grep ggrep; do
5012    for ac_exec_ext in '' $ac_executable_extensions; do
5013      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5014      as_fn_executable_p "$ac_path_GREP" || continue
5015# Check for GNU ac_path_GREP and select it if it is found.
5016  # Check for GNU $ac_path_GREP
5017case `"$ac_path_GREP" --version 2>&1` in
5018*GNU*)
5019  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5020*)
5021  ac_count=0
5022  $as_echo_n 0123456789 >"conftest.in"
5023  while :
5024  do
5025    cat "conftest.in" "conftest.in" >"conftest.tmp"
5026    mv "conftest.tmp" "conftest.in"
5027    cp "conftest.in" "conftest.nl"
5028    $as_echo 'GREP' >> "conftest.nl"
5029    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5030    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5031    as_fn_arith $ac_count + 1 && ac_count=$as_val
5032    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5033      # Best one so far, save it but keep looking for a better one
5034      ac_cv_path_GREP="$ac_path_GREP"
5035      ac_path_GREP_max=$ac_count
5036    fi
5037    # 10*(2^10) chars as input seems more than enough
5038    test $ac_count -gt 10 && break
5039  done
5040  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5041esac
5042
5043      $ac_path_GREP_found && break 3
5044    done
5045  done
5046  done
5047IFS=$as_save_IFS
5048  if test -z "$ac_cv_path_GREP"; then
5049    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5050  fi
5051else
5052  ac_cv_path_GREP=$GREP
5053fi
5054
5055fi
5056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5057$as_echo "$ac_cv_path_GREP" >&6; }
5058 GREP="$ac_cv_path_GREP"
5059
5060
5061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5062$as_echo_n "checking for egrep... " >&6; }
5063if ${ac_cv_path_EGREP+:} false; then :
5064  $as_echo_n "(cached) " >&6
5065else
5066  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5067   then ac_cv_path_EGREP="$GREP -E"
5068   else
5069     if test -z "$EGREP"; then
5070  ac_path_EGREP_found=false
5071  # Loop through the user's path and test for each of PROGNAME-LIST
5072  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5073for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5074do
5075  IFS=$as_save_IFS
5076  test -z "$as_dir" && as_dir=.
5077    for ac_prog in egrep; do
5078    for ac_exec_ext in '' $ac_executable_extensions; do
5079      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5080      as_fn_executable_p "$ac_path_EGREP" || continue
5081# Check for GNU ac_path_EGREP and select it if it is found.
5082  # Check for GNU $ac_path_EGREP
5083case `"$ac_path_EGREP" --version 2>&1` in
5084*GNU*)
5085  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5086*)
5087  ac_count=0
5088  $as_echo_n 0123456789 >"conftest.in"
5089  while :
5090  do
5091    cat "conftest.in" "conftest.in" >"conftest.tmp"
5092    mv "conftest.tmp" "conftest.in"
5093    cp "conftest.in" "conftest.nl"
5094    $as_echo 'EGREP' >> "conftest.nl"
5095    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5096    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5097    as_fn_arith $ac_count + 1 && ac_count=$as_val
5098    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5099      # Best one so far, save it but keep looking for a better one
5100      ac_cv_path_EGREP="$ac_path_EGREP"
5101      ac_path_EGREP_max=$ac_count
5102    fi
5103    # 10*(2^10) chars as input seems more than enough
5104    test $ac_count -gt 10 && break
5105  done
5106  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5107esac
5108
5109      $ac_path_EGREP_found && break 3
5110    done
5111  done
5112  done
5113IFS=$as_save_IFS
5114  if test -z "$ac_cv_path_EGREP"; then
5115    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5116  fi
5117else
5118  ac_cv_path_EGREP=$EGREP
5119fi
5120
5121   fi
5122fi
5123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5124$as_echo "$ac_cv_path_EGREP" >&6; }
5125 EGREP="$ac_cv_path_EGREP"
5126
5127
5128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5129$as_echo_n "checking for ANSI C header files... " >&6; }
5130if ${ac_cv_header_stdc+:} false; then :
5131  $as_echo_n "(cached) " >&6
5132else
5133  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5134/* end confdefs.h.  */
5135#include <stdlib.h>
5136#include <stdarg.h>
5137#include <string.h>
5138#include <float.h>
5139
5140int
5141main ()
5142{
5143
5144  ;
5145  return 0;
5146}
5147_ACEOF
5148if ac_fn_c_try_compile "$LINENO"; then :
5149  ac_cv_header_stdc=yes
5150else
5151  ac_cv_header_stdc=no
5152fi
5153rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5154
5155if test $ac_cv_header_stdc = yes; then
5156  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5157  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158/* end confdefs.h.  */
5159#include <string.h>
5160
5161_ACEOF
5162if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5163  $EGREP "memchr" >/dev/null 2>&1; then :
5164
5165else
5166  ac_cv_header_stdc=no
5167fi
5168rm -f conftest*
5169
5170fi
5171
5172if test $ac_cv_header_stdc = yes; then
5173  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5174  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5175/* end confdefs.h.  */
5176#include <stdlib.h>
5177
5178_ACEOF
5179if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5180  $EGREP "free" >/dev/null 2>&1; then :
5181
5182else
5183  ac_cv_header_stdc=no
5184fi
5185rm -f conftest*
5186
5187fi
5188
5189if test $ac_cv_header_stdc = yes; then
5190  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5191  if test "$cross_compiling" = yes; then :
5192  :
5193else
5194  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5195/* end confdefs.h.  */
5196#include <ctype.h>
5197#include <stdlib.h>
5198#if ((' ' & 0x0FF) == 0x020)
5199# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5200# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5201#else
5202# define ISLOWER(c) \
5203		   (('a' <= (c) && (c) <= 'i') \
5204		     || ('j' <= (c) && (c) <= 'r') \
5205		     || ('s' <= (c) && (c) <= 'z'))
5206# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5207#endif
5208
5209#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5210int
5211main ()
5212{
5213  int i;
5214  for (i = 0; i < 256; i++)
5215    if (XOR (islower (i), ISLOWER (i))
5216	|| toupper (i) != TOUPPER (i))
5217      return 2;
5218  return 0;
5219}
5220_ACEOF
5221if ac_fn_c_try_run "$LINENO"; then :
5222
5223else
5224  ac_cv_header_stdc=no
5225fi
5226rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5227  conftest.$ac_objext conftest.beam conftest.$ac_ext
5228fi
5229
5230fi
5231fi
5232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5233$as_echo "$ac_cv_header_stdc" >&6; }
5234if test $ac_cv_header_stdc = yes; then
5235
5236$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5237
5238fi
5239
5240
5241for ac_prog in flex lex
5242do
5243  # Extract the first word of "$ac_prog", so it can be a program name with args.
5244set dummy $ac_prog; ac_word=$2
5245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246$as_echo_n "checking for $ac_word... " >&6; }
5247if ${ac_cv_prog_LEX+:} false; then :
5248  $as_echo_n "(cached) " >&6
5249else
5250  if test -n "$LEX"; then
5251  ac_cv_prog_LEX="$LEX" # Let the user override the test.
5252else
5253as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254for as_dir in $PATH
5255do
5256  IFS=$as_save_IFS
5257  test -z "$as_dir" && as_dir=.
5258    for ac_exec_ext in '' $ac_executable_extensions; do
5259  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5260    ac_cv_prog_LEX="$ac_prog"
5261    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5262    break 2
5263  fi
5264done
5265  done
5266IFS=$as_save_IFS
5267
5268fi
5269fi
5270LEX=$ac_cv_prog_LEX
5271if test -n "$LEX"; then
5272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5273$as_echo "$LEX" >&6; }
5274else
5275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276$as_echo "no" >&6; }
5277fi
5278
5279
5280  test -n "$LEX" && break
5281done
5282test -n "$LEX" || LEX=":"
5283
5284if test "x$LEX" != "x:"; then
5285  cat >conftest.l <<_ACEOF
5286%%
5287a { ECHO; }
5288b { REJECT; }
5289c { yymore (); }
5290d { yyless (1); }
5291e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
5292    yyless ((input () != 0)); }
5293f { unput (yytext[0]); }
5294. { BEGIN INITIAL; }
5295%%
5296#ifdef YYTEXT_POINTER
5297extern char *yytext;
5298#endif
5299int
5300main (void)
5301{
5302  return ! yylex () + ! yywrap ();
5303}
5304_ACEOF
5305{ { ac_try="$LEX conftest.l"
5306case "(($ac_try" in
5307  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5308  *) ac_try_echo=$ac_try;;
5309esac
5310eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5311$as_echo "$ac_try_echo"; } >&5
5312  (eval "$LEX conftest.l") 2>&5
5313  ac_status=$?
5314  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5315  test $ac_status = 0; }
5316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5317$as_echo_n "checking lex output file root... " >&6; }
5318if ${ac_cv_prog_lex_root+:} false; then :
5319  $as_echo_n "(cached) " >&6
5320else
5321
5322if test -f lex.yy.c; then
5323  ac_cv_prog_lex_root=lex.yy
5324elif test -f lexyy.c; then
5325  ac_cv_prog_lex_root=lexyy
5326else
5327  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
5328fi
5329fi
5330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5331$as_echo "$ac_cv_prog_lex_root" >&6; }
5332LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5333
5334if test -z "${LEXLIB+set}"; then
5335  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5336$as_echo_n "checking lex library... " >&6; }
5337if ${ac_cv_lib_lex+:} false; then :
5338  $as_echo_n "(cached) " >&6
5339else
5340
5341    ac_save_LIBS=$LIBS
5342    ac_cv_lib_lex='none needed'
5343    for ac_lib in '' -lfl -ll; do
5344      LIBS="$ac_lib $ac_save_LIBS"
5345      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5346/* end confdefs.h.  */
5347`cat $LEX_OUTPUT_ROOT.c`
5348_ACEOF
5349if ac_fn_c_try_link "$LINENO"; then :
5350  ac_cv_lib_lex=$ac_lib
5351fi
5352rm -f core conftest.err conftest.$ac_objext \
5353    conftest$ac_exeext conftest.$ac_ext
5354      test "$ac_cv_lib_lex" != 'none needed' && break
5355    done
5356    LIBS=$ac_save_LIBS
5357
5358fi
5359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5360$as_echo "$ac_cv_lib_lex" >&6; }
5361  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5362fi
5363
5364
5365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5366$as_echo_n "checking whether yytext is a pointer... " >&6; }
5367if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
5368  $as_echo_n "(cached) " >&6
5369else
5370  # POSIX says lex can declare yytext either as a pointer or an array; the
5371# default is implementation-dependent.  Figure out which it is, since
5372# not all implementations provide the %pointer and %array declarations.
5373ac_cv_prog_lex_yytext_pointer=no
5374ac_save_LIBS=$LIBS
5375LIBS="$LEXLIB $ac_save_LIBS"
5376cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5377/* end confdefs.h.  */
5378
5379  #define YYTEXT_POINTER 1
5380`cat $LEX_OUTPUT_ROOT.c`
5381_ACEOF
5382if ac_fn_c_try_link "$LINENO"; then :
5383  ac_cv_prog_lex_yytext_pointer=yes
5384fi
5385rm -f core conftest.err conftest.$ac_objext \
5386    conftest$ac_exeext conftest.$ac_ext
5387LIBS=$ac_save_LIBS
5388
5389fi
5390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5391$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5392if test $ac_cv_prog_lex_yytext_pointer = yes; then
5393
5394$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
5395
5396fi
5397rm -f conftest.l $LEX_OUTPUT_ROOT.c
5398
5399fi
5400if test "$LEX" = :; then
5401  LEX=${am_missing_run}flex
5402fi
5403for ac_prog in 'bison -y' byacc
5404do
5405  # Extract the first word of "$ac_prog", so it can be a program name with args.
5406set dummy $ac_prog; ac_word=$2
5407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408$as_echo_n "checking for $ac_word... " >&6; }
5409if ${ac_cv_prog_YACC+:} false; then :
5410  $as_echo_n "(cached) " >&6
5411else
5412  if test -n "$YACC"; then
5413  ac_cv_prog_YACC="$YACC" # Let the user override the test.
5414else
5415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5416for as_dir in $PATH
5417do
5418  IFS=$as_save_IFS
5419  test -z "$as_dir" && as_dir=.
5420    for ac_exec_ext in '' $ac_executable_extensions; do
5421  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5422    ac_cv_prog_YACC="$ac_prog"
5423    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424    break 2
5425  fi
5426done
5427  done
5428IFS=$as_save_IFS
5429
5430fi
5431fi
5432YACC=$ac_cv_prog_YACC
5433if test -n "$YACC"; then
5434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5435$as_echo "$YACC" >&6; }
5436else
5437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438$as_echo "no" >&6; }
5439fi
5440
5441
5442  test -n "$YACC" && break
5443done
5444test -n "$YACC" || YACC="yacc"
5445
5446
5447GETTEXT_PACKAGE=lasem-${LASEM_API_VERSION}
5448
5449
5450cat >>confdefs.h <<_ACEOF
5451#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
5452_ACEOF
5453
5454# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5455for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5456		  inttypes.h stdint.h unistd.h
5457do :
5458  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5459ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5460"
5461if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5462  cat >>confdefs.h <<_ACEOF
5463#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5464_ACEOF
5465
5466fi
5467
5468done
5469
5470
5471
5472   for ac_header in locale.h
5473do :
5474  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5475if test "x$ac_cv_header_locale_h" = xyes; then :
5476  cat >>confdefs.h <<_ACEOF
5477#define HAVE_LOCALE_H 1
5478_ACEOF
5479
5480fi
5481
5482done
5483
5484    if test $ac_cv_header_locale_h = yes; then
5485    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5486$as_echo_n "checking for LC_MESSAGES... " >&6; }
5487if ${am_cv_val_LC_MESSAGES+:} false; then :
5488  $as_echo_n "(cached) " >&6
5489else
5490  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491/* end confdefs.h.  */
5492#include <locale.h>
5493int
5494main ()
5495{
5496return LC_MESSAGES
5497  ;
5498  return 0;
5499}
5500_ACEOF
5501if ac_fn_c_try_link "$LINENO"; then :
5502  am_cv_val_LC_MESSAGES=yes
5503else
5504  am_cv_val_LC_MESSAGES=no
5505fi
5506rm -f core conftest.err conftest.$ac_objext \
5507    conftest$ac_exeext conftest.$ac_ext
5508fi
5509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5510$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5511    if test $am_cv_val_LC_MESSAGES = yes; then
5512
5513$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5514
5515    fi
5516  fi
5517     USE_NLS=yes
5518
5519
5520    gt_cv_have_gettext=no
5521
5522    CATOBJEXT=NONE
5523    XGETTEXT=:
5524    INTLLIBS=
5525
5526
5527    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5528$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5529if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5530  $as_echo_n "(cached) " >&6
5531else
5532  gt_save_LIBS="$LIBS"
5533     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5534     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5535/* end confdefs.h.  */
5536#include <CoreFoundation/CFPreferences.h>
5537int
5538main ()
5539{
5540CFPreferencesCopyAppValue(NULL, NULL)
5541  ;
5542  return 0;
5543}
5544_ACEOF
5545if ac_fn_c_try_link "$LINENO"; then :
5546  gt_cv_func_CFPreferencesCopyAppValue=yes
5547else
5548  gt_cv_func_CFPreferencesCopyAppValue=no
5549fi
5550rm -f core conftest.err conftest.$ac_objext \
5551    conftest$ac_exeext conftest.$ac_ext
5552     LIBS="$gt_save_LIBS"
5553fi
5554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5555$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5556  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5557
5558$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5559
5560  fi
5561    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5562$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5563if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5564  $as_echo_n "(cached) " >&6
5565else
5566  gt_save_LIBS="$LIBS"
5567     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5568     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5569/* end confdefs.h.  */
5570#include <CoreFoundation/CFLocale.h>
5571int
5572main ()
5573{
5574CFLocaleCopyCurrent();
5575  ;
5576  return 0;
5577}
5578_ACEOF
5579if ac_fn_c_try_link "$LINENO"; then :
5580  gt_cv_func_CFLocaleCopyCurrent=yes
5581else
5582  gt_cv_func_CFLocaleCopyCurrent=no
5583fi
5584rm -f core conftest.err conftest.$ac_objext \
5585    conftest$ac_exeext conftest.$ac_ext
5586     LIBS="$gt_save_LIBS"
5587fi
5588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5589$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5590  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5591
5592$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5593
5594  fi
5595  INTL_MACOSX_LIBS=
5596  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5597    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5598  fi
5599
5600
5601
5602    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5603if test "x$ac_cv_header_libintl_h" = xyes; then :
5604  gt_cv_func_dgettext_libintl="no"
5605      libintl_extra_libs=""
5606
5607      #
5608      # First check in libc
5609      #
5610      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5611$as_echo_n "checking for ngettext in libc... " >&6; }
5612if ${gt_cv_func_ngettext_libc+:} false; then :
5613  $as_echo_n "(cached) " >&6
5614else
5615  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5616/* end confdefs.h.  */
5617
5618#include <libintl.h>
5619
5620int
5621main ()
5622{
5623return !ngettext ("","", 1)
5624  ;
5625  return 0;
5626}
5627_ACEOF
5628if ac_fn_c_try_link "$LINENO"; then :
5629  gt_cv_func_ngettext_libc=yes
5630else
5631  gt_cv_func_ngettext_libc=no
5632fi
5633rm -f core conftest.err conftest.$ac_objext \
5634    conftest$ac_exeext conftest.$ac_ext
5635
5636fi
5637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5638$as_echo "$gt_cv_func_ngettext_libc" >&6; }
5639
5640      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5641	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5642$as_echo_n "checking for dgettext in libc... " >&6; }
5643if ${gt_cv_func_dgettext_libc+:} false; then :
5644  $as_echo_n "(cached) " >&6
5645else
5646  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5647/* end confdefs.h.  */
5648
5649#include <libintl.h>
5650
5651int
5652main ()
5653{
5654return !dgettext ("","")
5655  ;
5656  return 0;
5657}
5658_ACEOF
5659if ac_fn_c_try_link "$LINENO"; then :
5660  gt_cv_func_dgettext_libc=yes
5661else
5662  gt_cv_func_dgettext_libc=no
5663fi
5664rm -f core conftest.err conftest.$ac_objext \
5665    conftest$ac_exeext conftest.$ac_ext
5666
5667fi
5668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5669$as_echo "$gt_cv_func_dgettext_libc" >&6; }
5670      fi
5671
5672      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5673        for ac_func in bind_textdomain_codeset
5674do :
5675  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5676if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5677  cat >>confdefs.h <<_ACEOF
5678#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5679_ACEOF
5680
5681fi
5682done
5683
5684      fi
5685
5686      #
5687      # If we don't have everything we want, check in libintl
5688      #
5689      if test "$gt_cv_func_dgettext_libc" != "yes" \
5690	 || test "$gt_cv_func_ngettext_libc" != "yes" \
5691         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5692
5693        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5694$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5695if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
5696  $as_echo_n "(cached) " >&6
5697else
5698  ac_check_lib_save_LIBS=$LIBS
5699LIBS="-lintl  $LIBS"
5700cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5701/* end confdefs.h.  */
5702
5703/* Override any GCC internal prototype to avoid an error.
5704   Use char because int might match the return type of a GCC
5705   builtin and then its argument prototype would still apply.  */
5706#ifdef __cplusplus
5707extern "C"
5708#endif
5709char bindtextdomain ();
5710int
5711main ()
5712{
5713return bindtextdomain ();
5714  ;
5715  return 0;
5716}
5717_ACEOF
5718if ac_fn_c_try_link "$LINENO"; then :
5719  ac_cv_lib_intl_bindtextdomain=yes
5720else
5721  ac_cv_lib_intl_bindtextdomain=no
5722fi
5723rm -f core conftest.err conftest.$ac_objext \
5724    conftest$ac_exeext conftest.$ac_ext
5725LIBS=$ac_check_lib_save_LIBS
5726fi
5727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5728$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5729if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
5730  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5731$as_echo_n "checking for ngettext in -lintl... " >&6; }
5732if ${ac_cv_lib_intl_ngettext+:} false; then :
5733  $as_echo_n "(cached) " >&6
5734else
5735  ac_check_lib_save_LIBS=$LIBS
5736LIBS="-lintl  $LIBS"
5737cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5738/* end confdefs.h.  */
5739
5740/* Override any GCC internal prototype to avoid an error.
5741   Use char because int might match the return type of a GCC
5742   builtin and then its argument prototype would still apply.  */
5743#ifdef __cplusplus
5744extern "C"
5745#endif
5746char ngettext ();
5747int
5748main ()
5749{
5750return ngettext ();
5751  ;
5752  return 0;
5753}
5754_ACEOF
5755if ac_fn_c_try_link "$LINENO"; then :
5756  ac_cv_lib_intl_ngettext=yes
5757else
5758  ac_cv_lib_intl_ngettext=no
5759fi
5760rm -f core conftest.err conftest.$ac_objext \
5761    conftest$ac_exeext conftest.$ac_ext
5762LIBS=$ac_check_lib_save_LIBS
5763fi
5764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5765$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5766if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5768$as_echo_n "checking for dgettext in -lintl... " >&6; }
5769if ${ac_cv_lib_intl_dgettext+:} false; then :
5770  $as_echo_n "(cached) " >&6
5771else
5772  ac_check_lib_save_LIBS=$LIBS
5773LIBS="-lintl  $LIBS"
5774cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5775/* end confdefs.h.  */
5776
5777/* Override any GCC internal prototype to avoid an error.
5778   Use char because int might match the return type of a GCC
5779   builtin and then its argument prototype would still apply.  */
5780#ifdef __cplusplus
5781extern "C"
5782#endif
5783char dgettext ();
5784int
5785main ()
5786{
5787return dgettext ();
5788  ;
5789  return 0;
5790}
5791_ACEOF
5792if ac_fn_c_try_link "$LINENO"; then :
5793  ac_cv_lib_intl_dgettext=yes
5794else
5795  ac_cv_lib_intl_dgettext=no
5796fi
5797rm -f core conftest.err conftest.$ac_objext \
5798    conftest$ac_exeext conftest.$ac_ext
5799LIBS=$ac_check_lib_save_LIBS
5800fi
5801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5802$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5803if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
5804  gt_cv_func_dgettext_libintl=yes
5805fi
5806
5807fi
5808
5809fi
5810
5811
5812	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5813	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5814$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5815	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5816$as_echo "" >&6; }
5817  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5818$as_echo_n "checking for ngettext in -lintl... " >&6; }
5819if ${ac_cv_lib_intl_ngettext+:} false; then :
5820  $as_echo_n "(cached) " >&6
5821else
5822  ac_check_lib_save_LIBS=$LIBS
5823LIBS="-lintl -liconv $LIBS"
5824cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825/* end confdefs.h.  */
5826
5827/* Override any GCC internal prototype to avoid an error.
5828   Use char because int might match the return type of a GCC
5829   builtin and then its argument prototype would still apply.  */
5830#ifdef __cplusplus
5831extern "C"
5832#endif
5833char ngettext ();
5834int
5835main ()
5836{
5837return ngettext ();
5838  ;
5839  return 0;
5840}
5841_ACEOF
5842if ac_fn_c_try_link "$LINENO"; then :
5843  ac_cv_lib_intl_ngettext=yes
5844else
5845  ac_cv_lib_intl_ngettext=no
5846fi
5847rm -f core conftest.err conftest.$ac_objext \
5848    conftest$ac_exeext conftest.$ac_ext
5849LIBS=$ac_check_lib_save_LIBS
5850fi
5851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5852$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5853if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5854  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5855$as_echo_n "checking for dcgettext in -lintl... " >&6; }
5856if ${ac_cv_lib_intl_dcgettext+:} false; then :
5857  $as_echo_n "(cached) " >&6
5858else
5859  ac_check_lib_save_LIBS=$LIBS
5860LIBS="-lintl -liconv $LIBS"
5861cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5862/* end confdefs.h.  */
5863
5864/* Override any GCC internal prototype to avoid an error.
5865   Use char because int might match the return type of a GCC
5866   builtin and then its argument prototype would still apply.  */
5867#ifdef __cplusplus
5868extern "C"
5869#endif
5870char dcgettext ();
5871int
5872main ()
5873{
5874return dcgettext ();
5875  ;
5876  return 0;
5877}
5878_ACEOF
5879if ac_fn_c_try_link "$LINENO"; then :
5880  ac_cv_lib_intl_dcgettext=yes
5881else
5882  ac_cv_lib_intl_dcgettext=no
5883fi
5884rm -f core conftest.err conftest.$ac_objext \
5885    conftest$ac_exeext conftest.$ac_ext
5886LIBS=$ac_check_lib_save_LIBS
5887fi
5888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5889$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5890if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
5891  gt_cv_func_dgettext_libintl=yes
5892			libintl_extra_libs=-liconv
5893else
5894  :
5895fi
5896
5897else
5898  :
5899fi
5900
5901        fi
5902
5903        #
5904        # If we found libintl, then check in it for bind_textdomain_codeset();
5905        # we'll prefer libc if neither have bind_textdomain_codeset(),
5906        # and both have dgettext and ngettext
5907        #
5908        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5909          glib_save_LIBS="$LIBS"
5910          LIBS="$LIBS -lintl $libintl_extra_libs"
5911          unset ac_cv_func_bind_textdomain_codeset
5912          for ac_func in bind_textdomain_codeset
5913do :
5914  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5915if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5916  cat >>confdefs.h <<_ACEOF
5917#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5918_ACEOF
5919
5920fi
5921done
5922
5923          LIBS="$glib_save_LIBS"
5924
5925          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5926            gt_cv_func_dgettext_libc=no
5927          else
5928            if test "$gt_cv_func_dgettext_libc" = "yes" \
5929		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
5930              gt_cv_func_dgettext_libintl=no
5931            fi
5932          fi
5933        fi
5934      fi
5935
5936      if test "$gt_cv_func_dgettext_libc" = "yes" \
5937	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
5938        gt_cv_have_gettext=yes
5939      fi
5940
5941      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5942        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
5943      fi
5944
5945      if test "$gt_cv_have_gettext" = "yes"; then
5946
5947$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5948
5949	# Extract the first word of "msgfmt", so it can be a program name with args.
5950set dummy msgfmt; ac_word=$2
5951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952$as_echo_n "checking for $ac_word... " >&6; }
5953if ${ac_cv_path_MSGFMT+:} false; then :
5954  $as_echo_n "(cached) " >&6
5955else
5956  case "$MSGFMT" in
5957  /*)
5958  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5959  ;;
5960  *)
5961  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5962  for ac_dir in $PATH; do
5963    test -z "$ac_dir" && ac_dir=.
5964    if test -f $ac_dir/$ac_word; then
5965      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5966	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5967	break
5968      fi
5969    fi
5970  done
5971  IFS="$ac_save_ifs"
5972  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5973  ;;
5974esac
5975fi
5976MSGFMT="$ac_cv_path_MSGFMT"
5977if test "$MSGFMT" != "no"; then
5978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5979$as_echo "$MSGFMT" >&6; }
5980else
5981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5982$as_echo "no" >&6; }
5983fi
5984	if test "$MSGFMT" != "no"; then
5985          glib_save_LIBS="$LIBS"
5986          LIBS="$LIBS $INTLLIBS"
5987	  for ac_func in dcgettext
5988do :
5989  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
5990if test "x$ac_cv_func_dcgettext" = xyes; then :
5991  cat >>confdefs.h <<_ACEOF
5992#define HAVE_DCGETTEXT 1
5993_ACEOF
5994
5995fi
5996done
5997
5998	  MSGFMT_OPTS=
5999	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6000$as_echo_n "checking if msgfmt accepts -c... " >&6; }
6001	  cat >conftest.foo <<_ACEOF
6002
6003msgid ""
6004msgstr ""
6005"Content-Type: text/plain; charset=UTF-8\n"
6006"Project-Id-Version: test 1.0\n"
6007"PO-Revision-Date: 2007-02-15 12:01+0100\n"
6008"Last-Translator: test <foo@bar.xx>\n"
6009"Language-Team: C <LL@li.org>\n"
6010"MIME-Version: 1.0\n"
6011"Content-Transfer-Encoding: 8bit\n"
6012
6013_ACEOF
6014if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6015  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6016  ac_status=$?
6017  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6018  test $ac_status = 0; }; then
6019  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6020$as_echo "yes" >&6; }
6021else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6022$as_echo "no" >&6; }
6023echo "$as_me: failed input was:" >&5
6024sed 's/^/| /' conftest.foo >&5
6025fi
6026
6027	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
6028set dummy gmsgfmt; ac_word=$2
6029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6030$as_echo_n "checking for $ac_word... " >&6; }
6031if ${ac_cv_path_GMSGFMT+:} false; then :
6032  $as_echo_n "(cached) " >&6
6033else
6034  case $GMSGFMT in
6035  [\\/]* | ?:[\\/]*)
6036  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6037  ;;
6038  *)
6039  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040for as_dir in $PATH
6041do
6042  IFS=$as_save_IFS
6043  test -z "$as_dir" && as_dir=.
6044    for ac_exec_ext in '' $ac_executable_extensions; do
6045  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6046    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6047    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6048    break 2
6049  fi
6050done
6051  done
6052IFS=$as_save_IFS
6053
6054  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6055  ;;
6056esac
6057fi
6058GMSGFMT=$ac_cv_path_GMSGFMT
6059if test -n "$GMSGFMT"; then
6060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6061$as_echo "$GMSGFMT" >&6; }
6062else
6063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064$as_echo "no" >&6; }
6065fi
6066
6067
6068	  # Extract the first word of "xgettext", so it can be a program name with args.
6069set dummy xgettext; ac_word=$2
6070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071$as_echo_n "checking for $ac_word... " >&6; }
6072if ${ac_cv_path_XGETTEXT+:} false; then :
6073  $as_echo_n "(cached) " >&6
6074else
6075  case "$XGETTEXT" in
6076  /*)
6077  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6078  ;;
6079  *)
6080  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6081  for ac_dir in $PATH; do
6082    test -z "$ac_dir" && ac_dir=.
6083    if test -f $ac_dir/$ac_word; then
6084      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6085	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6086	break
6087      fi
6088    fi
6089  done
6090  IFS="$ac_save_ifs"
6091  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6092  ;;
6093esac
6094fi
6095XGETTEXT="$ac_cv_path_XGETTEXT"
6096if test "$XGETTEXT" != ":"; then
6097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6098$as_echo "$XGETTEXT" >&6; }
6099else
6100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101$as_echo "no" >&6; }
6102fi
6103
6104	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6105/* end confdefs.h.  */
6106
6107int
6108main ()
6109{
6110extern int _nl_msg_cat_cntr;
6111			 return _nl_msg_cat_cntr
6112  ;
6113  return 0;
6114}
6115_ACEOF
6116if ac_fn_c_try_link "$LINENO"; then :
6117  CATOBJEXT=.gmo
6118             DATADIRNAME=share
6119else
6120  case $host in
6121	    *-*-solaris*)
6122	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6123if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6124  CATOBJEXT=.gmo
6125               DATADIRNAME=share
6126else
6127  CATOBJEXT=.mo
6128               DATADIRNAME=lib
6129fi
6130
6131	    ;;
6132	    *-*-openbsd*)
6133	    CATOBJEXT=.mo
6134            DATADIRNAME=share
6135	    ;;
6136	    *)
6137	    CATOBJEXT=.mo
6138            DATADIRNAME=lib
6139	    ;;
6140	    esac
6141fi
6142rm -f core conftest.err conftest.$ac_objext \
6143    conftest$ac_exeext conftest.$ac_ext
6144          LIBS="$glib_save_LIBS"
6145	  INSTOBJEXT=.mo
6146	else
6147	  gt_cv_have_gettext=no
6148	fi
6149      fi
6150
6151fi
6152
6153
6154
6155    if test "$gt_cv_have_gettext" = "yes" ; then
6156
6157$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6158
6159    fi
6160
6161        if test "$XGETTEXT" != ":"; then
6162                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6163        : ;
6164      else
6165        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6166$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6167        XGETTEXT=":"
6168      fi
6169    fi
6170
6171    # We need to process the po/ directory.
6172    POSUB=po
6173
6174    ac_config_commands="$ac_config_commands default-1"
6175
6176
6177                for lang in $ALL_LINGUAS; do
6178      GMOFILES="$GMOFILES $lang.gmo"
6179      POFILES="$POFILES $lang.po"
6180    done
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194   if test "$gt_cv_have_gettext" = "yes"; then
6195     if test "x$ALL_LINGUAS" = "x"; then
6196       LINGUAS=
6197     else
6198       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6199$as_echo_n "checking for catalogs to be installed... " >&6; }
6200       NEW_LINGUAS=
6201       for presentlang in $ALL_LINGUAS; do
6202         useit=no
6203         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6204           desiredlanguages="$LINGUAS"
6205         else
6206           desiredlanguages="$ALL_LINGUAS"
6207         fi
6208         for desiredlang in $desiredlanguages; do
6209 	   # Use the presentlang catalog if desiredlang is
6210           #   a. equal to presentlang, or
6211           #   b. a variant of presentlang (because in this case,
6212           #      presentlang can be used as a fallback for messages
6213           #      which are not translated in the desiredlang catalog).
6214           case "$desiredlang" in
6215             "$presentlang"*) useit=yes;;
6216           esac
6217         done
6218         if test $useit = yes; then
6219           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6220         fi
6221       done
6222       LINGUAS=$NEW_LINGUAS
6223       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6224$as_echo "$LINGUAS" >&6; }
6225     fi
6226
6227          if test -n "$LINGUAS"; then
6228       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6229     fi
6230   fi
6231
6232            MKINSTALLDIRS=
6233   if test -n "$ac_aux_dir"; then
6234     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6235   fi
6236   if test -z "$MKINSTALLDIRS"; then
6237     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6238   fi
6239
6240
6241         test -d po || mkdir po
6242   if test "x$srcdir" != "x."; then
6243     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6244       posrcprefix="$srcdir/"
6245     else
6246       posrcprefix="../$srcdir/"
6247     fi
6248   else
6249     posrcprefix="../"
6250   fi
6251   rm -f po/POTFILES
6252   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6253	< $srcdir/po/POTFILES.in > po/POTFILES
6254
6255
6256  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6257$as_echo_n "checking whether NLS is requested... " >&6; }
6258    # Check whether --enable-nls was given.
6259if test "${enable_nls+set}" = set; then :
6260  enableval=$enable_nls; USE_NLS=$enableval
6261else
6262  USE_NLS=yes
6263fi
6264
6265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6266$as_echo "$USE_NLS" >&6; }
6267
6268
6269
6270
6271case "$am__api_version" in
6272    1.01234)
6273	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
6274    ;;
6275    *)
6276    ;;
6277esac
6278
6279INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6280INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
6281INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6282if test -n "0.35.0"; then
6283    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
6284$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
6285    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
6286$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
6287    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
6288	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
6289fi
6290
6291# Extract the first word of "intltool-update", so it can be a program name with args.
6292set dummy intltool-update; ac_word=$2
6293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6294$as_echo_n "checking for $ac_word... " >&6; }
6295if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
6296  $as_echo_n "(cached) " >&6
6297else
6298  case $INTLTOOL_UPDATE in
6299  [\\/]* | ?:[\\/]*)
6300  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
6301  ;;
6302  *)
6303  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6304for as_dir in $PATH
6305do
6306  IFS=$as_save_IFS
6307  test -z "$as_dir" && as_dir=.
6308    for ac_exec_ext in '' $ac_executable_extensions; do
6309  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6310    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
6311    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6312    break 2
6313  fi
6314done
6315  done
6316IFS=$as_save_IFS
6317
6318  ;;
6319esac
6320fi
6321INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
6322if test -n "$INTLTOOL_UPDATE"; then
6323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
6324$as_echo "$INTLTOOL_UPDATE" >&6; }
6325else
6326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6327$as_echo "no" >&6; }
6328fi
6329
6330
6331# Extract the first word of "intltool-merge", so it can be a program name with args.
6332set dummy intltool-merge; ac_word=$2
6333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6334$as_echo_n "checking for $ac_word... " >&6; }
6335if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
6336  $as_echo_n "(cached) " >&6
6337else
6338  case $INTLTOOL_MERGE in
6339  [\\/]* | ?:[\\/]*)
6340  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
6341  ;;
6342  *)
6343  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6344for as_dir in $PATH
6345do
6346  IFS=$as_save_IFS
6347  test -z "$as_dir" && as_dir=.
6348    for ac_exec_ext in '' $ac_executable_extensions; do
6349  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6350    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
6351    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6352    break 2
6353  fi
6354done
6355  done
6356IFS=$as_save_IFS
6357
6358  ;;
6359esac
6360fi
6361INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
6362if test -n "$INTLTOOL_MERGE"; then
6363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
6364$as_echo "$INTLTOOL_MERGE" >&6; }
6365else
6366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6367$as_echo "no" >&6; }
6368fi
6369
6370
6371# Extract the first word of "intltool-extract", so it can be a program name with args.
6372set dummy intltool-extract; ac_word=$2
6373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374$as_echo_n "checking for $ac_word... " >&6; }
6375if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
6376  $as_echo_n "(cached) " >&6
6377else
6378  case $INTLTOOL_EXTRACT in
6379  [\\/]* | ?:[\\/]*)
6380  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
6381  ;;
6382  *)
6383  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384for as_dir in $PATH
6385do
6386  IFS=$as_save_IFS
6387  test -z "$as_dir" && as_dir=.
6388    for ac_exec_ext in '' $ac_executable_extensions; do
6389  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6390    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
6391    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6392    break 2
6393  fi
6394done
6395  done
6396IFS=$as_save_IFS
6397
6398  ;;
6399esac
6400fi
6401INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
6402if test -n "$INTLTOOL_EXTRACT"; then
6403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
6404$as_echo "$INTLTOOL_EXTRACT" >&6; }
6405else
6406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6407$as_echo "no" >&6; }
6408fi
6409
6410
6411if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
6412    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
6413fi
6414
6415if test -z "$AM_DEFAULT_VERBOSITY"; then
6416  AM_DEFAULT_VERBOSITY=1
6417fi
6418
6419
6420INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
6421INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
6422INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
6423
6424
6425
6426
6427INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
6428intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
6429intltool__v_merge_options_0='-q'
6430
6431
6432
6433
6434  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 $< $@'
6435INTLTOOL_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 $< $@'
6436     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 $< $@'
6437     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 $< $@'
6438      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 $< $@'
6439     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 $< $@'
6440   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 $< $@'
6441    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 $< $@'
6442INTLTOOL_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 $< $@'
6443       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 $< $@'
6444      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 $< $@'
6445if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
6446      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 $< $@'
6447else
6448      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'
6449fi
6450      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 $< $@'
6451      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 $< $@'
6452    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 $< $@'
6453  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 $< $@'
6454    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 $< $@'
6455    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 $< $@'
6456   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 $< $@'
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554# Check the gettext tools to make sure they are GNU
6555# Extract the first word of "xgettext", so it can be a program name with args.
6556set dummy xgettext; ac_word=$2
6557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558$as_echo_n "checking for $ac_word... " >&6; }
6559if ${ac_cv_path_XGETTEXT+:} false; then :
6560  $as_echo_n "(cached) " >&6
6561else
6562  case $XGETTEXT in
6563  [\\/]* | ?:[\\/]*)
6564  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6565  ;;
6566  *)
6567  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568for as_dir in $PATH
6569do
6570  IFS=$as_save_IFS
6571  test -z "$as_dir" && as_dir=.
6572    for ac_exec_ext in '' $ac_executable_extensions; do
6573  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6574    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
6575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576    break 2
6577  fi
6578done
6579  done
6580IFS=$as_save_IFS
6581
6582  ;;
6583esac
6584fi
6585XGETTEXT=$ac_cv_path_XGETTEXT
6586if test -n "$XGETTEXT"; then
6587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6588$as_echo "$XGETTEXT" >&6; }
6589else
6590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591$as_echo "no" >&6; }
6592fi
6593
6594
6595# Extract the first word of "msgmerge", so it can be a program name with args.
6596set dummy msgmerge; ac_word=$2
6597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6598$as_echo_n "checking for $ac_word... " >&6; }
6599if ${ac_cv_path_MSGMERGE+:} false; then :
6600  $as_echo_n "(cached) " >&6
6601else
6602  case $MSGMERGE in
6603  [\\/]* | ?:[\\/]*)
6604  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
6605  ;;
6606  *)
6607  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6608for as_dir in $PATH
6609do
6610  IFS=$as_save_IFS
6611  test -z "$as_dir" && as_dir=.
6612    for ac_exec_ext in '' $ac_executable_extensions; do
6613  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6614    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
6615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6616    break 2
6617  fi
6618done
6619  done
6620IFS=$as_save_IFS
6621
6622  ;;
6623esac
6624fi
6625MSGMERGE=$ac_cv_path_MSGMERGE
6626if test -n "$MSGMERGE"; then
6627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6628$as_echo "$MSGMERGE" >&6; }
6629else
6630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631$as_echo "no" >&6; }
6632fi
6633
6634
6635# Extract the first word of "msgfmt", so it can be a program name with args.
6636set dummy msgfmt; ac_word=$2
6637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638$as_echo_n "checking for $ac_word... " >&6; }
6639if ${ac_cv_path_MSGFMT+:} false; then :
6640  $as_echo_n "(cached) " >&6
6641else
6642  case $MSGFMT in
6643  [\\/]* | ?:[\\/]*)
6644  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6645  ;;
6646  *)
6647  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648for as_dir in $PATH
6649do
6650  IFS=$as_save_IFS
6651  test -z "$as_dir" && as_dir=.
6652    for ac_exec_ext in '' $ac_executable_extensions; do
6653  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6654    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
6655    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6656    break 2
6657  fi
6658done
6659  done
6660IFS=$as_save_IFS
6661
6662  ;;
6663esac
6664fi
6665MSGFMT=$ac_cv_path_MSGFMT
6666if test -n "$MSGFMT"; then
6667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6668$as_echo "$MSGFMT" >&6; }
6669else
6670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671$as_echo "no" >&6; }
6672fi
6673
6674
6675# Extract the first word of "gmsgfmt", so it can be a program name with args.
6676set dummy gmsgfmt; ac_word=$2
6677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678$as_echo_n "checking for $ac_word... " >&6; }
6679if ${ac_cv_path_GMSGFMT+:} false; then :
6680  $as_echo_n "(cached) " >&6
6681else
6682  case $GMSGFMT in
6683  [\\/]* | ?:[\\/]*)
6684  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6685  ;;
6686  *)
6687  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688for as_dir in $PATH
6689do
6690  IFS=$as_save_IFS
6691  test -z "$as_dir" && as_dir=.
6692    for ac_exec_ext in '' $ac_executable_extensions; do
6693  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6694    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6695    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6696    break 2
6697  fi
6698done
6699  done
6700IFS=$as_save_IFS
6701
6702  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6703  ;;
6704esac
6705fi
6706GMSGFMT=$ac_cv_path_GMSGFMT
6707if test -n "$GMSGFMT"; then
6708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6709$as_echo "$GMSGFMT" >&6; }
6710else
6711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712$as_echo "no" >&6; }
6713fi
6714
6715
6716if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
6717    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
6718fi
6719xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
6720mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
6721mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
6722if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
6723    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
6724fi
6725
6726# Extract the first word of "perl", so it can be a program name with args.
6727set dummy perl; ac_word=$2
6728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729$as_echo_n "checking for $ac_word... " >&6; }
6730if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
6731  $as_echo_n "(cached) " >&6
6732else
6733  case $INTLTOOL_PERL in
6734  [\\/]* | ?:[\\/]*)
6735  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
6736  ;;
6737  *)
6738  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739for as_dir in $PATH
6740do
6741  IFS=$as_save_IFS
6742  test -z "$as_dir" && as_dir=.
6743    for ac_exec_ext in '' $ac_executable_extensions; do
6744  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6745    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
6746    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6747    break 2
6748  fi
6749done
6750  done
6751IFS=$as_save_IFS
6752
6753  ;;
6754esac
6755fi
6756INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
6757if test -n "$INTLTOOL_PERL"; then
6758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
6759$as_echo "$INTLTOOL_PERL" >&6; }
6760else
6761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762$as_echo "no" >&6; }
6763fi
6764
6765
6766if test -z "$INTLTOOL_PERL"; then
6767   as_fn_error $? "perl not found" "$LINENO" 5
6768fi
6769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
6770$as_echo_n "checking for perl >= 5.8.1... " >&6; }
6771$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
6772if test $? -ne 0; then
6773   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
6774else
6775   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
6776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
6777$as_echo "$IT_PERL_VERSION" >&6; }
6778fi
6779if test "x" != "xno-xml"; then
6780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
6781$as_echo_n "checking for XML::Parser... " >&6; }
6782   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
6783       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6784$as_echo "ok" >&6; }
6785   else
6786       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
6787   fi
6788fi
6789
6790# Substitute ALL_LINGUAS so we can use it in po/Makefile
6791
6792
6793
6794
6795
6796
6797case `pwd` in
6798  *\ * | *\	*)
6799    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6800$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6801esac
6802
6803
6804
6805macro_version='2.4.6'
6806macro_revision='2.4.6'
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820ltmain=$ac_aux_dir/ltmain.sh
6821
6822# Make sure we can run config.sub.
6823$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6824  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6825
6826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6827$as_echo_n "checking build system type... " >&6; }
6828if ${ac_cv_build+:} false; then :
6829  $as_echo_n "(cached) " >&6
6830else
6831  ac_build_alias=$build_alias
6832test "x$ac_build_alias" = x &&
6833  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6834test "x$ac_build_alias" = x &&
6835  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6836ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6837  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6838
6839fi
6840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6841$as_echo "$ac_cv_build" >&6; }
6842case $ac_cv_build in
6843*-*-*) ;;
6844*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6845esac
6846build=$ac_cv_build
6847ac_save_IFS=$IFS; IFS='-'
6848set x $ac_cv_build
6849shift
6850build_cpu=$1
6851build_vendor=$2
6852shift; shift
6853# Remember, the first character of IFS is used to create $*,
6854# except with old shells:
6855build_os=$*
6856IFS=$ac_save_IFS
6857case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6858
6859
6860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6861$as_echo_n "checking host system type... " >&6; }
6862if ${ac_cv_host+:} false; then :
6863  $as_echo_n "(cached) " >&6
6864else
6865  if test "x$host_alias" = x; then
6866  ac_cv_host=$ac_cv_build
6867else
6868  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6869    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6870fi
6871
6872fi
6873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6874$as_echo "$ac_cv_host" >&6; }
6875case $ac_cv_host in
6876*-*-*) ;;
6877*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6878esac
6879host=$ac_cv_host
6880ac_save_IFS=$IFS; IFS='-'
6881set x $ac_cv_host
6882shift
6883host_cpu=$1
6884host_vendor=$2
6885shift; shift
6886# Remember, the first character of IFS is used to create $*,
6887# except with old shells:
6888host_os=$*
6889IFS=$ac_save_IFS
6890case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6891
6892
6893# Backslashify metacharacters that are still active within
6894# double-quoted strings.
6895sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6896
6897# Same as above, but do not quote variable references.
6898double_quote_subst='s/\(["`\\]\)/\\\1/g'
6899
6900# Sed substitution to delay expansion of an escaped shell variable in a
6901# double_quote_subst'ed string.
6902delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6903
6904# Sed substitution to delay expansion of an escaped single quote.
6905delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6906
6907# Sed substitution to avoid accidental globbing in evaled expressions
6908no_glob_subst='s/\*/\\\*/g'
6909
6910ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6911ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6912ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6913
6914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6915$as_echo_n "checking how to print strings... " >&6; }
6916# Test print first, because it will be a builtin if present.
6917if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6918   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6919  ECHO='print -r --'
6920elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6921  ECHO='printf %s\n'
6922else
6923  # Use this function as a fallback that always works.
6924  func_fallback_echo ()
6925  {
6926    eval 'cat <<_LTECHO_EOF
6927$1
6928_LTECHO_EOF'
6929  }
6930  ECHO='func_fallback_echo'
6931fi
6932
6933# func_echo_all arg...
6934# Invoke $ECHO with all args, space-separated.
6935func_echo_all ()
6936{
6937    $ECHO ""
6938}
6939
6940case $ECHO in
6941  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6942$as_echo "printf" >&6; } ;;
6943  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6944$as_echo "print -r" >&6; } ;;
6945  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6946$as_echo "cat" >&6; } ;;
6947esac
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6963$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6964if ${ac_cv_path_SED+:} false; then :
6965  $as_echo_n "(cached) " >&6
6966else
6967            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6968     for ac_i in 1 2 3 4 5 6 7; do
6969       ac_script="$ac_script$as_nl$ac_script"
6970     done
6971     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6972     { ac_script=; unset ac_script;}
6973     if test -z "$SED"; then
6974  ac_path_SED_found=false
6975  # Loop through the user's path and test for each of PROGNAME-LIST
6976  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977for as_dir in $PATH
6978do
6979  IFS=$as_save_IFS
6980  test -z "$as_dir" && as_dir=.
6981    for ac_prog in sed gsed; do
6982    for ac_exec_ext in '' $ac_executable_extensions; do
6983      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6984      as_fn_executable_p "$ac_path_SED" || continue
6985# Check for GNU ac_path_SED and select it if it is found.
6986  # Check for GNU $ac_path_SED
6987case `"$ac_path_SED" --version 2>&1` in
6988*GNU*)
6989  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6990*)
6991  ac_count=0
6992  $as_echo_n 0123456789 >"conftest.in"
6993  while :
6994  do
6995    cat "conftest.in" "conftest.in" >"conftest.tmp"
6996    mv "conftest.tmp" "conftest.in"
6997    cp "conftest.in" "conftest.nl"
6998    $as_echo '' >> "conftest.nl"
6999    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7000    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7001    as_fn_arith $ac_count + 1 && ac_count=$as_val
7002    if test $ac_count -gt ${ac_path_SED_max-0}; then
7003      # Best one so far, save it but keep looking for a better one
7004      ac_cv_path_SED="$ac_path_SED"
7005      ac_path_SED_max=$ac_count
7006    fi
7007    # 10*(2^10) chars as input seems more than enough
7008    test $ac_count -gt 10 && break
7009  done
7010  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7011esac
7012
7013      $ac_path_SED_found && break 3
7014    done
7015  done
7016  done
7017IFS=$as_save_IFS
7018  if test -z "$ac_cv_path_SED"; then
7019    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7020  fi
7021else
7022  ac_cv_path_SED=$SED
7023fi
7024
7025fi
7026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7027$as_echo "$ac_cv_path_SED" >&6; }
7028 SED="$ac_cv_path_SED"
7029  rm -f conftest.sed
7030
7031test -z "$SED" && SED=sed
7032Xsed="$SED -e 1s/^X//"
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7045$as_echo_n "checking for fgrep... " >&6; }
7046if ${ac_cv_path_FGREP+:} false; then :
7047  $as_echo_n "(cached) " >&6
7048else
7049  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7050   then ac_cv_path_FGREP="$GREP -F"
7051   else
7052     if test -z "$FGREP"; then
7053  ac_path_FGREP_found=false
7054  # Loop through the user's path and test for each of PROGNAME-LIST
7055  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7056for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7057do
7058  IFS=$as_save_IFS
7059  test -z "$as_dir" && as_dir=.
7060    for ac_prog in fgrep; do
7061    for ac_exec_ext in '' $ac_executable_extensions; do
7062      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7063      as_fn_executable_p "$ac_path_FGREP" || continue
7064# Check for GNU ac_path_FGREP and select it if it is found.
7065  # Check for GNU $ac_path_FGREP
7066case `"$ac_path_FGREP" --version 2>&1` in
7067*GNU*)
7068  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7069*)
7070  ac_count=0
7071  $as_echo_n 0123456789 >"conftest.in"
7072  while :
7073  do
7074    cat "conftest.in" "conftest.in" >"conftest.tmp"
7075    mv "conftest.tmp" "conftest.in"
7076    cp "conftest.in" "conftest.nl"
7077    $as_echo 'FGREP' >> "conftest.nl"
7078    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7079    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7080    as_fn_arith $ac_count + 1 && ac_count=$as_val
7081    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7082      # Best one so far, save it but keep looking for a better one
7083      ac_cv_path_FGREP="$ac_path_FGREP"
7084      ac_path_FGREP_max=$ac_count
7085    fi
7086    # 10*(2^10) chars as input seems more than enough
7087    test $ac_count -gt 10 && break
7088  done
7089  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7090esac
7091
7092      $ac_path_FGREP_found && break 3
7093    done
7094  done
7095  done
7096IFS=$as_save_IFS
7097  if test -z "$ac_cv_path_FGREP"; then
7098    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7099  fi
7100else
7101  ac_cv_path_FGREP=$FGREP
7102fi
7103
7104   fi
7105fi
7106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7107$as_echo "$ac_cv_path_FGREP" >&6; }
7108 FGREP="$ac_cv_path_FGREP"
7109
7110
7111test -z "$GREP" && GREP=grep
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131# Check whether --with-gnu-ld was given.
7132if test "${with_gnu_ld+set}" = set; then :
7133  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
7134else
7135  with_gnu_ld=no
7136fi
7137
7138ac_prog=ld
7139if test yes = "$GCC"; then
7140  # Check if gcc -print-prog-name=ld gives a path.
7141  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7142$as_echo_n "checking for ld used by $CC... " >&6; }
7143  case $host in
7144  *-*-mingw*)
7145    # gcc leaves a trailing carriage return, which upsets mingw
7146    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7147  *)
7148    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7149  esac
7150  case $ac_prog in
7151    # Accept absolute paths.
7152    [\\/]* | ?:[\\/]*)
7153      re_direlt='/[^/][^/]*/\.\./'
7154      # Canonicalize the pathname of ld
7155      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7156      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7157	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7158      done
7159      test -z "$LD" && LD=$ac_prog
7160      ;;
7161  "")
7162    # If it fails, then pretend we aren't using GCC.
7163    ac_prog=ld
7164    ;;
7165  *)
7166    # If it is relative, then search for the first ld in PATH.
7167    with_gnu_ld=unknown
7168    ;;
7169  esac
7170elif test yes = "$with_gnu_ld"; then
7171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7172$as_echo_n "checking for GNU ld... " >&6; }
7173else
7174  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7175$as_echo_n "checking for non-GNU ld... " >&6; }
7176fi
7177if ${lt_cv_path_LD+:} false; then :
7178  $as_echo_n "(cached) " >&6
7179else
7180  if test -z "$LD"; then
7181  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7182  for ac_dir in $PATH; do
7183    IFS=$lt_save_ifs
7184    test -z "$ac_dir" && ac_dir=.
7185    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7186      lt_cv_path_LD=$ac_dir/$ac_prog
7187      # Check to see if the program is GNU ld.  I'd rather use --version,
7188      # but apparently some variants of GNU ld only accept -v.
7189      # Break only if it was the GNU/non-GNU ld that we prefer.
7190      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7191      *GNU* | *'with BFD'*)
7192	test no != "$with_gnu_ld" && break
7193	;;
7194      *)
7195	test yes != "$with_gnu_ld" && break
7196	;;
7197      esac
7198    fi
7199  done
7200  IFS=$lt_save_ifs
7201else
7202  lt_cv_path_LD=$LD # Let the user override the test with a path.
7203fi
7204fi
7205
7206LD=$lt_cv_path_LD
7207if test -n "$LD"; then
7208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7209$as_echo "$LD" >&6; }
7210else
7211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7212$as_echo "no" >&6; }
7213fi
7214test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7216$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7217if ${lt_cv_prog_gnu_ld+:} false; then :
7218  $as_echo_n "(cached) " >&6
7219else
7220  # I'd rather use --version here, but apparently some GNU lds only accept -v.
7221case `$LD -v 2>&1 </dev/null` in
7222*GNU* | *'with BFD'*)
7223  lt_cv_prog_gnu_ld=yes
7224  ;;
7225*)
7226  lt_cv_prog_gnu_ld=no
7227  ;;
7228esac
7229fi
7230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7231$as_echo "$lt_cv_prog_gnu_ld" >&6; }
7232with_gnu_ld=$lt_cv_prog_gnu_ld
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7243$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7244if ${lt_cv_path_NM+:} false; then :
7245  $as_echo_n "(cached) " >&6
7246else
7247  if test -n "$NM"; then
7248  # Let the user override the test.
7249  lt_cv_path_NM=$NM
7250else
7251  lt_nm_to_check=${ac_tool_prefix}nm
7252  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7253    lt_nm_to_check="$lt_nm_to_check nm"
7254  fi
7255  for lt_tmp_nm in $lt_nm_to_check; do
7256    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7257    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7258      IFS=$lt_save_ifs
7259      test -z "$ac_dir" && ac_dir=.
7260      tmp_nm=$ac_dir/$lt_tmp_nm
7261      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7262	# Check to see if the nm accepts a BSD-compat flag.
7263	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7264	#   nm: unknown option "B" ignored
7265	# Tru64's nm complains that /dev/null is an invalid object file
7266	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7267	case $build_os in
7268	mingw*) lt_bad_file=conftest.nm/nofile ;;
7269	*) lt_bad_file=/dev/null ;;
7270	esac
7271	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7272	*$lt_bad_file* | *'Invalid file or object type'*)
7273	  lt_cv_path_NM="$tmp_nm -B"
7274	  break 2
7275	  ;;
7276	*)
7277	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7278	  */dev/null*)
7279	    lt_cv_path_NM="$tmp_nm -p"
7280	    break 2
7281	    ;;
7282	  *)
7283	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7284	    continue # so that we can try to find one that supports BSD flags
7285	    ;;
7286	  esac
7287	  ;;
7288	esac
7289      fi
7290    done
7291    IFS=$lt_save_ifs
7292  done
7293  : ${lt_cv_path_NM=no}
7294fi
7295fi
7296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7297$as_echo "$lt_cv_path_NM" >&6; }
7298if test no != "$lt_cv_path_NM"; then
7299  NM=$lt_cv_path_NM
7300else
7301  # Didn't find any BSD compatible name lister, look for dumpbin.
7302  if test -n "$DUMPBIN"; then :
7303    # Let the user override the test.
7304  else
7305    if test -n "$ac_tool_prefix"; then
7306  for ac_prog in dumpbin "link -dump"
7307  do
7308    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7309set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311$as_echo_n "checking for $ac_word... " >&6; }
7312if ${ac_cv_prog_DUMPBIN+:} false; then :
7313  $as_echo_n "(cached) " >&6
7314else
7315  if test -n "$DUMPBIN"; then
7316  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7317else
7318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319for as_dir in $PATH
7320do
7321  IFS=$as_save_IFS
7322  test -z "$as_dir" && as_dir=.
7323    for ac_exec_ext in '' $ac_executable_extensions; do
7324  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7325    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7326    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327    break 2
7328  fi
7329done
7330  done
7331IFS=$as_save_IFS
7332
7333fi
7334fi
7335DUMPBIN=$ac_cv_prog_DUMPBIN
7336if test -n "$DUMPBIN"; then
7337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7338$as_echo "$DUMPBIN" >&6; }
7339else
7340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341$as_echo "no" >&6; }
7342fi
7343
7344
7345    test -n "$DUMPBIN" && break
7346  done
7347fi
7348if test -z "$DUMPBIN"; then
7349  ac_ct_DUMPBIN=$DUMPBIN
7350  for ac_prog in dumpbin "link -dump"
7351do
7352  # Extract the first word of "$ac_prog", so it can be a program name with args.
7353set dummy $ac_prog; ac_word=$2
7354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355$as_echo_n "checking for $ac_word... " >&6; }
7356if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7357  $as_echo_n "(cached) " >&6
7358else
7359  if test -n "$ac_ct_DUMPBIN"; then
7360  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7361else
7362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363for as_dir in $PATH
7364do
7365  IFS=$as_save_IFS
7366  test -z "$as_dir" && as_dir=.
7367    for ac_exec_ext in '' $ac_executable_extensions; do
7368  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7369    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7370    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7371    break 2
7372  fi
7373done
7374  done
7375IFS=$as_save_IFS
7376
7377fi
7378fi
7379ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7380if test -n "$ac_ct_DUMPBIN"; then
7381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7382$as_echo "$ac_ct_DUMPBIN" >&6; }
7383else
7384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7385$as_echo "no" >&6; }
7386fi
7387
7388
7389  test -n "$ac_ct_DUMPBIN" && break
7390done
7391
7392  if test "x$ac_ct_DUMPBIN" = x; then
7393    DUMPBIN=":"
7394  else
7395    case $cross_compiling:$ac_tool_warned in
7396yes:)
7397{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7398$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7399ac_tool_warned=yes ;;
7400esac
7401    DUMPBIN=$ac_ct_DUMPBIN
7402  fi
7403fi
7404
7405    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7406    *COFF*)
7407      DUMPBIN="$DUMPBIN -symbols -headers"
7408      ;;
7409    *)
7410      DUMPBIN=:
7411      ;;
7412    esac
7413  fi
7414
7415  if test : != "$DUMPBIN"; then
7416    NM=$DUMPBIN
7417  fi
7418fi
7419test -z "$NM" && NM=nm
7420
7421
7422
7423
7424
7425
7426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7427$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7428if ${lt_cv_nm_interface+:} false; then :
7429  $as_echo_n "(cached) " >&6
7430else
7431  lt_cv_nm_interface="BSD nm"
7432  echo "int some_variable = 0;" > conftest.$ac_ext
7433  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7434  (eval "$ac_compile" 2>conftest.err)
7435  cat conftest.err >&5
7436  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7437  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7438  cat conftest.err >&5
7439  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7440  cat conftest.out >&5
7441  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7442    lt_cv_nm_interface="MS dumpbin"
7443  fi
7444  rm -f conftest*
7445fi
7446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7447$as_echo "$lt_cv_nm_interface" >&6; }
7448
7449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7450$as_echo_n "checking whether ln -s works... " >&6; }
7451LN_S=$as_ln_s
7452if test "$LN_S" = "ln -s"; then
7453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7454$as_echo "yes" >&6; }
7455else
7456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7457$as_echo "no, using $LN_S" >&6; }
7458fi
7459
7460# find the maximum length of command line arguments
7461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7462$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7463if ${lt_cv_sys_max_cmd_len+:} false; then :
7464  $as_echo_n "(cached) " >&6
7465else
7466    i=0
7467  teststring=ABCD
7468
7469  case $build_os in
7470  msdosdjgpp*)
7471    # On DJGPP, this test can blow up pretty badly due to problems in libc
7472    # (any single argument exceeding 2000 bytes causes a buffer overrun
7473    # during glob expansion).  Even if it were fixed, the result of this
7474    # check would be larger than it should be.
7475    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7476    ;;
7477
7478  gnu*)
7479    # Under GNU Hurd, this test is not required because there is
7480    # no limit to the length of command line arguments.
7481    # Libtool will interpret -1 as no limit whatsoever
7482    lt_cv_sys_max_cmd_len=-1;
7483    ;;
7484
7485  cygwin* | mingw* | cegcc*)
7486    # On Win9x/ME, this test blows up -- it succeeds, but takes
7487    # about 5 minutes as the teststring grows exponentially.
7488    # Worse, since 9x/ME are not pre-emptively multitasking,
7489    # you end up with a "frozen" computer, even though with patience
7490    # the test eventually succeeds (with a max line length of 256k).
7491    # Instead, let's just punt: use the minimum linelength reported by
7492    # all of the supported platforms: 8192 (on NT/2K/XP).
7493    lt_cv_sys_max_cmd_len=8192;
7494    ;;
7495
7496  mint*)
7497    # On MiNT this can take a long time and run out of memory.
7498    lt_cv_sys_max_cmd_len=8192;
7499    ;;
7500
7501  amigaos*)
7502    # On AmigaOS with pdksh, this test takes hours, literally.
7503    # So we just punt and use a minimum line length of 8192.
7504    lt_cv_sys_max_cmd_len=8192;
7505    ;;
7506
7507  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
7508    # This has been around since 386BSD, at least.  Likely further.
7509    if test -x /sbin/sysctl; then
7510      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7511    elif test -x /usr/sbin/sysctl; then
7512      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7513    else
7514      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
7515    fi
7516    # And add a safety zone
7517    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7518    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7519    ;;
7520
7521  interix*)
7522    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7523    lt_cv_sys_max_cmd_len=196608
7524    ;;
7525
7526  os2*)
7527    # The test takes a long time on OS/2.
7528    lt_cv_sys_max_cmd_len=8192
7529    ;;
7530
7531  osf*)
7532    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7533    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7534    # nice to cause kernel panics so lets avoid the loop below.
7535    # First set a reasonable default.
7536    lt_cv_sys_max_cmd_len=16384
7537    #
7538    if test -x /sbin/sysconfig; then
7539      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7540        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7541      esac
7542    fi
7543    ;;
7544  sco3.2v5*)
7545    lt_cv_sys_max_cmd_len=102400
7546    ;;
7547  sysv5* | sco5v6* | sysv4.2uw2*)
7548    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7549    if test -n "$kargmax"; then
7550      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
7551    else
7552      lt_cv_sys_max_cmd_len=32768
7553    fi
7554    ;;
7555  *)
7556    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7557    if test -n "$lt_cv_sys_max_cmd_len" && \
7558       test undefined != "$lt_cv_sys_max_cmd_len"; then
7559      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7560      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7561    else
7562      # Make teststring a little bigger before we do anything with it.
7563      # a 1K string should be a reasonable start.
7564      for i in 1 2 3 4 5 6 7 8; do
7565        teststring=$teststring$teststring
7566      done
7567      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7568      # If test is not a shell built-in, we'll probably end up computing a
7569      # maximum length that is only half of the actual maximum length, but
7570      # we can't tell.
7571      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
7572	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7573	      test 17 != "$i" # 1/2 MB should be enough
7574      do
7575        i=`expr $i + 1`
7576        teststring=$teststring$teststring
7577      done
7578      # Only check the string length outside the loop.
7579      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7580      teststring=
7581      # Add a significant safety factor because C++ compilers can tack on
7582      # massive amounts of additional arguments before passing them to the
7583      # linker.  It appears as though 1/2 is a usable value.
7584      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7585    fi
7586    ;;
7587  esac
7588
7589fi
7590
7591if test -n "$lt_cv_sys_max_cmd_len"; then
7592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7593$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7594else
7595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7596$as_echo "none" >&6; }
7597fi
7598max_cmd_len=$lt_cv_sys_max_cmd_len
7599
7600
7601
7602
7603
7604
7605: ${CP="cp -f"}
7606: ${MV="mv -f"}
7607: ${RM="rm -f"}
7608
7609if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7610  lt_unset=unset
7611else
7612  lt_unset=false
7613fi
7614
7615
7616
7617
7618
7619# test EBCDIC or ASCII
7620case `echo X|tr X '\101'` in
7621 A) # ASCII based system
7622    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7623  lt_SP2NL='tr \040 \012'
7624  lt_NL2SP='tr \015\012 \040\040'
7625  ;;
7626 *) # EBCDIC based system
7627  lt_SP2NL='tr \100 \n'
7628  lt_NL2SP='tr \r\n \100\100'
7629  ;;
7630esac
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7641$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7642if ${lt_cv_to_host_file_cmd+:} false; then :
7643  $as_echo_n "(cached) " >&6
7644else
7645  case $host in
7646  *-*-mingw* )
7647    case $build in
7648      *-*-mingw* ) # actually msys
7649        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7650        ;;
7651      *-*-cygwin* )
7652        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7653        ;;
7654      * ) # otherwise, assume *nix
7655        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7656        ;;
7657    esac
7658    ;;
7659  *-*-cygwin* )
7660    case $build in
7661      *-*-mingw* ) # actually msys
7662        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7663        ;;
7664      *-*-cygwin* )
7665        lt_cv_to_host_file_cmd=func_convert_file_noop
7666        ;;
7667      * ) # otherwise, assume *nix
7668        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7669        ;;
7670    esac
7671    ;;
7672  * ) # unhandled hosts (and "normal" native builds)
7673    lt_cv_to_host_file_cmd=func_convert_file_noop
7674    ;;
7675esac
7676
7677fi
7678
7679to_host_file_cmd=$lt_cv_to_host_file_cmd
7680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7681$as_echo "$lt_cv_to_host_file_cmd" >&6; }
7682
7683
7684
7685
7686
7687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7688$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7689if ${lt_cv_to_tool_file_cmd+:} false; then :
7690  $as_echo_n "(cached) " >&6
7691else
7692  #assume ordinary cross tools, or native build.
7693lt_cv_to_tool_file_cmd=func_convert_file_noop
7694case $host in
7695  *-*-mingw* )
7696    case $build in
7697      *-*-mingw* ) # actually msys
7698        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7699        ;;
7700    esac
7701    ;;
7702esac
7703
7704fi
7705
7706to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7708$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7709
7710
7711
7712
7713
7714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7715$as_echo_n "checking for $LD option to reload object files... " >&6; }
7716if ${lt_cv_ld_reload_flag+:} false; then :
7717  $as_echo_n "(cached) " >&6
7718else
7719  lt_cv_ld_reload_flag='-r'
7720fi
7721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7722$as_echo "$lt_cv_ld_reload_flag" >&6; }
7723reload_flag=$lt_cv_ld_reload_flag
7724case $reload_flag in
7725"" | " "*) ;;
7726*) reload_flag=" $reload_flag" ;;
7727esac
7728reload_cmds='$LD$reload_flag -o $output$reload_objs'
7729case $host_os in
7730  cygwin* | mingw* | pw32* | cegcc*)
7731    if test yes != "$GCC"; then
7732      reload_cmds=false
7733    fi
7734    ;;
7735  darwin*)
7736    if test yes = "$GCC"; then
7737      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7738    else
7739      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7740    fi
7741    ;;
7742esac
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752if test -n "$ac_tool_prefix"; then
7753  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7754set dummy ${ac_tool_prefix}objdump; ac_word=$2
7755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7756$as_echo_n "checking for $ac_word... " >&6; }
7757if ${ac_cv_prog_OBJDUMP+:} false; then :
7758  $as_echo_n "(cached) " >&6
7759else
7760  if test -n "$OBJDUMP"; then
7761  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7762else
7763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7764for as_dir in $PATH
7765do
7766  IFS=$as_save_IFS
7767  test -z "$as_dir" && as_dir=.
7768    for ac_exec_ext in '' $ac_executable_extensions; do
7769  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7770    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7771    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7772    break 2
7773  fi
7774done
7775  done
7776IFS=$as_save_IFS
7777
7778fi
7779fi
7780OBJDUMP=$ac_cv_prog_OBJDUMP
7781if test -n "$OBJDUMP"; then
7782  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7783$as_echo "$OBJDUMP" >&6; }
7784else
7785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786$as_echo "no" >&6; }
7787fi
7788
7789
7790fi
7791if test -z "$ac_cv_prog_OBJDUMP"; then
7792  ac_ct_OBJDUMP=$OBJDUMP
7793  # Extract the first word of "objdump", so it can be a program name with args.
7794set dummy objdump; ac_word=$2
7795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7796$as_echo_n "checking for $ac_word... " >&6; }
7797if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7798  $as_echo_n "(cached) " >&6
7799else
7800  if test -n "$ac_ct_OBJDUMP"; then
7801  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7802else
7803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7804for as_dir in $PATH
7805do
7806  IFS=$as_save_IFS
7807  test -z "$as_dir" && as_dir=.
7808    for ac_exec_ext in '' $ac_executable_extensions; do
7809  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7810    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7811    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7812    break 2
7813  fi
7814done
7815  done
7816IFS=$as_save_IFS
7817
7818fi
7819fi
7820ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7821if test -n "$ac_ct_OBJDUMP"; then
7822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7823$as_echo "$ac_ct_OBJDUMP" >&6; }
7824else
7825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7826$as_echo "no" >&6; }
7827fi
7828
7829  if test "x$ac_ct_OBJDUMP" = x; then
7830    OBJDUMP="false"
7831  else
7832    case $cross_compiling:$ac_tool_warned in
7833yes:)
7834{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7835$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7836ac_tool_warned=yes ;;
7837esac
7838    OBJDUMP=$ac_ct_OBJDUMP
7839  fi
7840else
7841  OBJDUMP="$ac_cv_prog_OBJDUMP"
7842fi
7843
7844test -z "$OBJDUMP" && OBJDUMP=objdump
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7855$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7856if ${lt_cv_deplibs_check_method+:} false; then :
7857  $as_echo_n "(cached) " >&6
7858else
7859  lt_cv_file_magic_cmd='$MAGIC_CMD'
7860lt_cv_file_magic_test_file=
7861lt_cv_deplibs_check_method='unknown'
7862# Need to set the preceding variable on all platforms that support
7863# interlibrary dependencies.
7864# 'none' -- dependencies not supported.
7865# 'unknown' -- same as none, but documents that we really don't know.
7866# 'pass_all' -- all dependencies passed with no checks.
7867# 'test_compile' -- check by making test program.
7868# 'file_magic [[regex]]' -- check by looking for files in library path
7869# that responds to the $file_magic_cmd with a given extended regex.
7870# If you have 'file' or equivalent on your system and you're not sure
7871# whether 'pass_all' will *always* work, you probably want this one.
7872
7873case $host_os in
7874aix[4-9]*)
7875  lt_cv_deplibs_check_method=pass_all
7876  ;;
7877
7878beos*)
7879  lt_cv_deplibs_check_method=pass_all
7880  ;;
7881
7882bsdi[45]*)
7883  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7884  lt_cv_file_magic_cmd='/usr/bin/file -L'
7885  lt_cv_file_magic_test_file=/shlib/libc.so
7886  ;;
7887
7888cygwin*)
7889  # func_win32_libid is a shell function defined in ltmain.sh
7890  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7891  lt_cv_file_magic_cmd='func_win32_libid'
7892  ;;
7893
7894mingw* | pw32*)
7895  # Base MSYS/MinGW do not provide the 'file' command needed by
7896  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7897  # unless we find 'file', for example because we are cross-compiling.
7898  if ( file / ) >/dev/null 2>&1; then
7899    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7900    lt_cv_file_magic_cmd='func_win32_libid'
7901  else
7902    # Keep this pattern in sync with the one in func_win32_libid.
7903    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7904    lt_cv_file_magic_cmd='$OBJDUMP -f'
7905  fi
7906  ;;
7907
7908cegcc*)
7909  # use the weaker test based on 'objdump'. See mingw*.
7910  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7911  lt_cv_file_magic_cmd='$OBJDUMP -f'
7912  ;;
7913
7914darwin* | rhapsody*)
7915  lt_cv_deplibs_check_method=pass_all
7916  ;;
7917
7918freebsd* | dragonfly*)
7919  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7920    case $host_cpu in
7921    i*86 )
7922      # Not sure whether the presence of OpenBSD here was a mistake.
7923      # Let's accept both of them until this is cleared up.
7924      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7925      lt_cv_file_magic_cmd=/usr/bin/file
7926      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7927      ;;
7928    esac
7929  else
7930    lt_cv_deplibs_check_method=pass_all
7931  fi
7932  ;;
7933
7934haiku*)
7935  lt_cv_deplibs_check_method=pass_all
7936  ;;
7937
7938hpux10.20* | hpux11*)
7939  lt_cv_file_magic_cmd=/usr/bin/file
7940  case $host_cpu in
7941  ia64*)
7942    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7943    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7944    ;;
7945  hppa*64*)
7946    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]'
7947    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7948    ;;
7949  *)
7950    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7951    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7952    ;;
7953  esac
7954  ;;
7955
7956interix[3-9]*)
7957  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7958  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7959  ;;
7960
7961irix5* | irix6* | nonstopux*)
7962  case $LD in
7963  *-32|*"-32 ") libmagic=32-bit;;
7964  *-n32|*"-n32 ") libmagic=N32;;
7965  *-64|*"-64 ") libmagic=64-bit;;
7966  *) libmagic=never-match;;
7967  esac
7968  lt_cv_deplibs_check_method=pass_all
7969  ;;
7970
7971# This must be glibc/ELF.
7972linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7973  lt_cv_deplibs_check_method=pass_all
7974  ;;
7975
7976netbsd*)
7977  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7978    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7979  else
7980    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7981  fi
7982  ;;
7983
7984newos6*)
7985  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7986  lt_cv_file_magic_cmd=/usr/bin/file
7987  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7988  ;;
7989
7990*nto* | *qnx*)
7991  lt_cv_deplibs_check_method=pass_all
7992  ;;
7993
7994openbsd* | bitrig*)
7995  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7996    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7997  else
7998    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7999  fi
8000  ;;
8001
8002osf3* | osf4* | osf5*)
8003  lt_cv_deplibs_check_method=pass_all
8004  ;;
8005
8006rdos*)
8007  lt_cv_deplibs_check_method=pass_all
8008  ;;
8009
8010solaris*)
8011  lt_cv_deplibs_check_method=pass_all
8012  ;;
8013
8014sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8015  lt_cv_deplibs_check_method=pass_all
8016  ;;
8017
8018sysv4 | sysv4.3*)
8019  case $host_vendor in
8020  motorola)
8021    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]'
8022    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8023    ;;
8024  ncr)
8025    lt_cv_deplibs_check_method=pass_all
8026    ;;
8027  sequent)
8028    lt_cv_file_magic_cmd='/bin/file'
8029    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8030    ;;
8031  sni)
8032    lt_cv_file_magic_cmd='/bin/file'
8033    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8034    lt_cv_file_magic_test_file=/lib/libc.so
8035    ;;
8036  siemens)
8037    lt_cv_deplibs_check_method=pass_all
8038    ;;
8039  pc)
8040    lt_cv_deplibs_check_method=pass_all
8041    ;;
8042  esac
8043  ;;
8044
8045tpf*)
8046  lt_cv_deplibs_check_method=pass_all
8047  ;;
8048os2*)
8049  lt_cv_deplibs_check_method=pass_all
8050  ;;
8051esac
8052
8053fi
8054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8055$as_echo "$lt_cv_deplibs_check_method" >&6; }
8056
8057file_magic_glob=
8058want_nocaseglob=no
8059if test "$build" = "$host"; then
8060  case $host_os in
8061  mingw* | pw32*)
8062    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8063      want_nocaseglob=yes
8064    else
8065      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8066    fi
8067    ;;
8068  esac
8069fi
8070
8071file_magic_cmd=$lt_cv_file_magic_cmd
8072deplibs_check_method=$lt_cv_deplibs_check_method
8073test -z "$deplibs_check_method" && deplibs_check_method=unknown
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096if test -n "$ac_tool_prefix"; then
8097  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8098set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8100$as_echo_n "checking for $ac_word... " >&6; }
8101if ${ac_cv_prog_DLLTOOL+:} false; then :
8102  $as_echo_n "(cached) " >&6
8103else
8104  if test -n "$DLLTOOL"; then
8105  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8106else
8107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8108for as_dir in $PATH
8109do
8110  IFS=$as_save_IFS
8111  test -z "$as_dir" && as_dir=.
8112    for ac_exec_ext in '' $ac_executable_extensions; do
8113  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8114    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8115    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8116    break 2
8117  fi
8118done
8119  done
8120IFS=$as_save_IFS
8121
8122fi
8123fi
8124DLLTOOL=$ac_cv_prog_DLLTOOL
8125if test -n "$DLLTOOL"; then
8126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8127$as_echo "$DLLTOOL" >&6; }
8128else
8129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8130$as_echo "no" >&6; }
8131fi
8132
8133
8134fi
8135if test -z "$ac_cv_prog_DLLTOOL"; then
8136  ac_ct_DLLTOOL=$DLLTOOL
8137  # Extract the first word of "dlltool", so it can be a program name with args.
8138set dummy dlltool; ac_word=$2
8139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8140$as_echo_n "checking for $ac_word... " >&6; }
8141if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8142  $as_echo_n "(cached) " >&6
8143else
8144  if test -n "$ac_ct_DLLTOOL"; then
8145  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8146else
8147as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8148for as_dir in $PATH
8149do
8150  IFS=$as_save_IFS
8151  test -z "$as_dir" && as_dir=.
8152    for ac_exec_ext in '' $ac_executable_extensions; do
8153  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8154    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8155    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8156    break 2
8157  fi
8158done
8159  done
8160IFS=$as_save_IFS
8161
8162fi
8163fi
8164ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8165if test -n "$ac_ct_DLLTOOL"; then
8166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8167$as_echo "$ac_ct_DLLTOOL" >&6; }
8168else
8169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8170$as_echo "no" >&6; }
8171fi
8172
8173  if test "x$ac_ct_DLLTOOL" = x; then
8174    DLLTOOL="false"
8175  else
8176    case $cross_compiling:$ac_tool_warned in
8177yes:)
8178{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8179$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8180ac_tool_warned=yes ;;
8181esac
8182    DLLTOOL=$ac_ct_DLLTOOL
8183  fi
8184else
8185  DLLTOOL="$ac_cv_prog_DLLTOOL"
8186fi
8187
8188test -z "$DLLTOOL" && DLLTOOL=dlltool
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8200$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8201if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8202  $as_echo_n "(cached) " >&6
8203else
8204  lt_cv_sharedlib_from_linklib_cmd='unknown'
8205
8206case $host_os in
8207cygwin* | mingw* | pw32* | cegcc*)
8208  # two different shell functions defined in ltmain.sh;
8209  # decide which one to use based on capabilities of $DLLTOOL
8210  case `$DLLTOOL --help 2>&1` in
8211  *--identify-strict*)
8212    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8213    ;;
8214  *)
8215    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8216    ;;
8217  esac
8218  ;;
8219*)
8220  # fallback: assume linklib IS sharedlib
8221  lt_cv_sharedlib_from_linklib_cmd=$ECHO
8222  ;;
8223esac
8224
8225fi
8226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8227$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8228sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8229test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8230
8231
8232
8233
8234
8235
8236
8237if test -n "$ac_tool_prefix"; then
8238  for ac_prog in ar
8239  do
8240    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8241set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8243$as_echo_n "checking for $ac_word... " >&6; }
8244if ${ac_cv_prog_AR+:} false; then :
8245  $as_echo_n "(cached) " >&6
8246else
8247  if test -n "$AR"; then
8248  ac_cv_prog_AR="$AR" # Let the user override the test.
8249else
8250as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8251for as_dir in $PATH
8252do
8253  IFS=$as_save_IFS
8254  test -z "$as_dir" && as_dir=.
8255    for ac_exec_ext in '' $ac_executable_extensions; do
8256  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8257    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8258    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8259    break 2
8260  fi
8261done
8262  done
8263IFS=$as_save_IFS
8264
8265fi
8266fi
8267AR=$ac_cv_prog_AR
8268if test -n "$AR"; then
8269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8270$as_echo "$AR" >&6; }
8271else
8272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8273$as_echo "no" >&6; }
8274fi
8275
8276
8277    test -n "$AR" && break
8278  done
8279fi
8280if test -z "$AR"; then
8281  ac_ct_AR=$AR
8282  for ac_prog in ar
8283do
8284  # Extract the first word of "$ac_prog", so it can be a program name with args.
8285set dummy $ac_prog; ac_word=$2
8286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8287$as_echo_n "checking for $ac_word... " >&6; }
8288if ${ac_cv_prog_ac_ct_AR+:} false; then :
8289  $as_echo_n "(cached) " >&6
8290else
8291  if test -n "$ac_ct_AR"; then
8292  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8293else
8294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8295for as_dir in $PATH
8296do
8297  IFS=$as_save_IFS
8298  test -z "$as_dir" && as_dir=.
8299    for ac_exec_ext in '' $ac_executable_extensions; do
8300  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8301    ac_cv_prog_ac_ct_AR="$ac_prog"
8302    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8303    break 2
8304  fi
8305done
8306  done
8307IFS=$as_save_IFS
8308
8309fi
8310fi
8311ac_ct_AR=$ac_cv_prog_ac_ct_AR
8312if test -n "$ac_ct_AR"; then
8313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8314$as_echo "$ac_ct_AR" >&6; }
8315else
8316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8317$as_echo "no" >&6; }
8318fi
8319
8320
8321  test -n "$ac_ct_AR" && break
8322done
8323
8324  if test "x$ac_ct_AR" = x; then
8325    AR="false"
8326  else
8327    case $cross_compiling:$ac_tool_warned in
8328yes:)
8329{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8330$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8331ac_tool_warned=yes ;;
8332esac
8333    AR=$ac_ct_AR
8334  fi
8335fi
8336
8337: ${AR=ar}
8338: ${AR_FLAGS=cru}
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8351$as_echo_n "checking for archiver @FILE support... " >&6; }
8352if ${lt_cv_ar_at_file+:} false; then :
8353  $as_echo_n "(cached) " >&6
8354else
8355  lt_cv_ar_at_file=no
8356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8357/* end confdefs.h.  */
8358
8359int
8360main ()
8361{
8362
8363  ;
8364  return 0;
8365}
8366_ACEOF
8367if ac_fn_c_try_compile "$LINENO"; then :
8368  echo conftest.$ac_objext > conftest.lst
8369      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8370      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8371  (eval $lt_ar_try) 2>&5
8372  ac_status=$?
8373  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8374  test $ac_status = 0; }
8375      if test 0 -eq "$ac_status"; then
8376	# Ensure the archiver fails upon bogus file names.
8377	rm -f conftest.$ac_objext libconftest.a
8378	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8379  (eval $lt_ar_try) 2>&5
8380  ac_status=$?
8381  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8382  test $ac_status = 0; }
8383	if test 0 -ne "$ac_status"; then
8384          lt_cv_ar_at_file=@
8385        fi
8386      fi
8387      rm -f conftest.* libconftest.a
8388
8389fi
8390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8391
8392fi
8393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8394$as_echo "$lt_cv_ar_at_file" >&6; }
8395
8396if test no = "$lt_cv_ar_at_file"; then
8397  archiver_list_spec=
8398else
8399  archiver_list_spec=$lt_cv_ar_at_file
8400fi
8401
8402
8403
8404
8405
8406
8407
8408if test -n "$ac_tool_prefix"; then
8409  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8410set dummy ${ac_tool_prefix}strip; ac_word=$2
8411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8412$as_echo_n "checking for $ac_word... " >&6; }
8413if ${ac_cv_prog_STRIP+:} false; then :
8414  $as_echo_n "(cached) " >&6
8415else
8416  if test -n "$STRIP"; then
8417  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8418else
8419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8420for as_dir in $PATH
8421do
8422  IFS=$as_save_IFS
8423  test -z "$as_dir" && as_dir=.
8424    for ac_exec_ext in '' $ac_executable_extensions; do
8425  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8426    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8427    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8428    break 2
8429  fi
8430done
8431  done
8432IFS=$as_save_IFS
8433
8434fi
8435fi
8436STRIP=$ac_cv_prog_STRIP
8437if test -n "$STRIP"; then
8438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8439$as_echo "$STRIP" >&6; }
8440else
8441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8442$as_echo "no" >&6; }
8443fi
8444
8445
8446fi
8447if test -z "$ac_cv_prog_STRIP"; then
8448  ac_ct_STRIP=$STRIP
8449  # Extract the first word of "strip", so it can be a program name with args.
8450set dummy strip; ac_word=$2
8451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8452$as_echo_n "checking for $ac_word... " >&6; }
8453if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8454  $as_echo_n "(cached) " >&6
8455else
8456  if test -n "$ac_ct_STRIP"; then
8457  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8458else
8459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8460for as_dir in $PATH
8461do
8462  IFS=$as_save_IFS
8463  test -z "$as_dir" && as_dir=.
8464    for ac_exec_ext in '' $ac_executable_extensions; do
8465  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8466    ac_cv_prog_ac_ct_STRIP="strip"
8467    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8468    break 2
8469  fi
8470done
8471  done
8472IFS=$as_save_IFS
8473
8474fi
8475fi
8476ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8477if test -n "$ac_ct_STRIP"; then
8478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8479$as_echo "$ac_ct_STRIP" >&6; }
8480else
8481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482$as_echo "no" >&6; }
8483fi
8484
8485  if test "x$ac_ct_STRIP" = x; then
8486    STRIP=":"
8487  else
8488    case $cross_compiling:$ac_tool_warned in
8489yes:)
8490{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8491$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8492ac_tool_warned=yes ;;
8493esac
8494    STRIP=$ac_ct_STRIP
8495  fi
8496else
8497  STRIP="$ac_cv_prog_STRIP"
8498fi
8499
8500test -z "$STRIP" && STRIP=:
8501
8502
8503
8504
8505
8506
8507if test -n "$ac_tool_prefix"; then
8508  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8509set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8511$as_echo_n "checking for $ac_word... " >&6; }
8512if ${ac_cv_prog_RANLIB+:} false; then :
8513  $as_echo_n "(cached) " >&6
8514else
8515  if test -n "$RANLIB"; then
8516  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8517else
8518as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8519for as_dir in $PATH
8520do
8521  IFS=$as_save_IFS
8522  test -z "$as_dir" && as_dir=.
8523    for ac_exec_ext in '' $ac_executable_extensions; do
8524  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8525    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8526    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8527    break 2
8528  fi
8529done
8530  done
8531IFS=$as_save_IFS
8532
8533fi
8534fi
8535RANLIB=$ac_cv_prog_RANLIB
8536if test -n "$RANLIB"; then
8537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8538$as_echo "$RANLIB" >&6; }
8539else
8540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8541$as_echo "no" >&6; }
8542fi
8543
8544
8545fi
8546if test -z "$ac_cv_prog_RANLIB"; then
8547  ac_ct_RANLIB=$RANLIB
8548  # Extract the first word of "ranlib", so it can be a program name with args.
8549set dummy ranlib; ac_word=$2
8550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8551$as_echo_n "checking for $ac_word... " >&6; }
8552if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8553  $as_echo_n "(cached) " >&6
8554else
8555  if test -n "$ac_ct_RANLIB"; then
8556  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8557else
8558as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8559for as_dir in $PATH
8560do
8561  IFS=$as_save_IFS
8562  test -z "$as_dir" && as_dir=.
8563    for ac_exec_ext in '' $ac_executable_extensions; do
8564  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8565    ac_cv_prog_ac_ct_RANLIB="ranlib"
8566    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8567    break 2
8568  fi
8569done
8570  done
8571IFS=$as_save_IFS
8572
8573fi
8574fi
8575ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8576if test -n "$ac_ct_RANLIB"; then
8577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8578$as_echo "$ac_ct_RANLIB" >&6; }
8579else
8580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8581$as_echo "no" >&6; }
8582fi
8583
8584  if test "x$ac_ct_RANLIB" = x; then
8585    RANLIB=":"
8586  else
8587    case $cross_compiling:$ac_tool_warned in
8588yes:)
8589{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8590$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8591ac_tool_warned=yes ;;
8592esac
8593    RANLIB=$ac_ct_RANLIB
8594  fi
8595else
8596  RANLIB="$ac_cv_prog_RANLIB"
8597fi
8598
8599test -z "$RANLIB" && RANLIB=:
8600
8601
8602
8603
8604
8605
8606# Determine commands to create old-style static archives.
8607old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8608old_postinstall_cmds='chmod 644 $oldlib'
8609old_postuninstall_cmds=
8610
8611if test -n "$RANLIB"; then
8612  case $host_os in
8613  bitrig* | openbsd*)
8614    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8615    ;;
8616  *)
8617    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8618    ;;
8619  esac
8620  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8621fi
8622
8623case $host_os in
8624  darwin*)
8625    lock_old_archive_extraction=yes ;;
8626  *)
8627    lock_old_archive_extraction=no ;;
8628esac
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668# If no C compiler was specified, use CC.
8669LTCC=${LTCC-"$CC"}
8670
8671# If no C compiler flags were specified, use CFLAGS.
8672LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8673
8674# Allow CC to be a program name with arguments.
8675compiler=$CC
8676
8677
8678# Check for command to grab the raw symbol name followed by C symbol from nm.
8679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8680$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8681if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8682  $as_echo_n "(cached) " >&6
8683else
8684
8685# These are sane defaults that work on at least a few old systems.
8686# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8687
8688# Character class describing NM global symbol codes.
8689symcode='[BCDEGRST]'
8690
8691# Regexp to match symbols that can be accessed directly from C.
8692sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8693
8694# Define system-specific variables.
8695case $host_os in
8696aix*)
8697  symcode='[BCDT]'
8698  ;;
8699cygwin* | mingw* | pw32* | cegcc*)
8700  symcode='[ABCDGISTW]'
8701  ;;
8702hpux*)
8703  if test ia64 = "$host_cpu"; then
8704    symcode='[ABCDEGRST]'
8705  fi
8706  ;;
8707irix* | nonstopux*)
8708  symcode='[BCDEGRST]'
8709  ;;
8710osf*)
8711  symcode='[BCDEGQRST]'
8712  ;;
8713solaris*)
8714  symcode='[BDRT]'
8715  ;;
8716sco3.2v5*)
8717  symcode='[DT]'
8718  ;;
8719sysv4.2uw2*)
8720  symcode='[DT]'
8721  ;;
8722sysv5* | sco5v6* | unixware* | OpenUNIX*)
8723  symcode='[ABDT]'
8724  ;;
8725sysv4)
8726  symcode='[DFNSTU]'
8727  ;;
8728esac
8729
8730# If we're using GNU nm, then use its standard symbol codes.
8731case `$NM -V 2>&1` in
8732*GNU* | *'with BFD'*)
8733  symcode='[ABCDGIRSTW]' ;;
8734esac
8735
8736if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8737  # Gets list of data symbols to import.
8738  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8739  # Adjust the below global symbol transforms to fixup imported variables.
8740  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8741  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
8742  lt_c_name_lib_hook="\
8743  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
8744  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
8745else
8746  # Disable hooks by default.
8747  lt_cv_sys_global_symbol_to_import=
8748  lt_cdecl_hook=
8749  lt_c_name_hook=
8750  lt_c_name_lib_hook=
8751fi
8752
8753# Transform an extracted symbol line into a proper C declaration.
8754# Some systems (esp. on ia64) link data and code symbols differently,
8755# so use this general approach.
8756lt_cv_sys_global_symbol_to_cdecl="sed -n"\
8757$lt_cdecl_hook\
8758" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8759" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8760
8761# Transform an extracted symbol line into symbol name and symbol address
8762lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
8763$lt_c_name_hook\
8764" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8765" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
8766
8767# Transform an extracted symbol line into symbol name with lib prefix and
8768# symbol address.
8769lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
8770$lt_c_name_lib_hook\
8771" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8772" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
8773" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
8774
8775# Handle CRLF in mingw tool chain
8776opt_cr=
8777case $build_os in
8778mingw*)
8779  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8780  ;;
8781esac
8782
8783# Try without a prefix underscore, then with it.
8784for ac_symprfx in "" "_"; do
8785
8786  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8787  symxfrm="\\1 $ac_symprfx\\2 \\2"
8788
8789  # Write the raw and C identifiers.
8790  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8791    # Fake it for dumpbin and say T for any non-static function,
8792    # D for any global variable and I for any imported variable.
8793    # Also find C++ and __fastcall symbols from MSVC++,
8794    # which start with @ or ?.
8795    lt_cv_sys_global_symbol_pipe="$AWK '"\
8796"     {last_section=section; section=\$ 3};"\
8797"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8798"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8799"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8800"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8801"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8802"     \$ 0!~/External *\|/{next};"\
8803"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8804"     {if(hide[section]) next};"\
8805"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8806"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8807"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8808"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8809"     ' prfx=^$ac_symprfx"
8810  else
8811    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8812  fi
8813  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8814
8815  # Check to see that the pipe works correctly.
8816  pipe_works=no
8817
8818  rm -f conftest*
8819  cat > conftest.$ac_ext <<_LT_EOF
8820#ifdef __cplusplus
8821extern "C" {
8822#endif
8823char nm_test_var;
8824void nm_test_func(void);
8825void nm_test_func(void){}
8826#ifdef __cplusplus
8827}
8828#endif
8829int main(){nm_test_var='a';nm_test_func();return(0);}
8830_LT_EOF
8831
8832  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8833  (eval $ac_compile) 2>&5
8834  ac_status=$?
8835  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8836  test $ac_status = 0; }; then
8837    # Now try to grab the symbols.
8838    nlist=conftest.nm
8839    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8840  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8841  ac_status=$?
8842  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8843  test $ac_status = 0; } && test -s "$nlist"; then
8844      # Try sorting and uniquifying the output.
8845      if sort "$nlist" | uniq > "$nlist"T; then
8846	mv -f "$nlist"T "$nlist"
8847      else
8848	rm -f "$nlist"T
8849      fi
8850
8851      # Make sure that we snagged all the symbols we need.
8852      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8853	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8854	  cat <<_LT_EOF > conftest.$ac_ext
8855/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8856#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8857/* DATA imports from DLLs on WIN32 can't be const, because runtime
8858   relocations are performed -- see ld's documentation on pseudo-relocs.  */
8859# define LT_DLSYM_CONST
8860#elif defined __osf__
8861/* This system does not cope well with relocations in const data.  */
8862# define LT_DLSYM_CONST
8863#else
8864# define LT_DLSYM_CONST const
8865#endif
8866
8867#ifdef __cplusplus
8868extern "C" {
8869#endif
8870
8871_LT_EOF
8872	  # Now generate the symbol file.
8873	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8874
8875	  cat <<_LT_EOF >> conftest.$ac_ext
8876
8877/* The mapping between symbol names and symbols.  */
8878LT_DLSYM_CONST struct {
8879  const char *name;
8880  void       *address;
8881}
8882lt__PROGRAM__LTX_preloaded_symbols[] =
8883{
8884  { "@PROGRAM@", (void *) 0 },
8885_LT_EOF
8886	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8887	  cat <<\_LT_EOF >> conftest.$ac_ext
8888  {0, (void *) 0}
8889};
8890
8891/* This works around a problem in FreeBSD linker */
8892#ifdef FREEBSD_WORKAROUND
8893static const void *lt_preloaded_setup() {
8894  return lt__PROGRAM__LTX_preloaded_symbols;
8895}
8896#endif
8897
8898#ifdef __cplusplus
8899}
8900#endif
8901_LT_EOF
8902	  # Now try linking the two files.
8903	  mv conftest.$ac_objext conftstm.$ac_objext
8904	  lt_globsym_save_LIBS=$LIBS
8905	  lt_globsym_save_CFLAGS=$CFLAGS
8906	  LIBS=conftstm.$ac_objext
8907	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8908	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8909  (eval $ac_link) 2>&5
8910  ac_status=$?
8911  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8912  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8913	    pipe_works=yes
8914	  fi
8915	  LIBS=$lt_globsym_save_LIBS
8916	  CFLAGS=$lt_globsym_save_CFLAGS
8917	else
8918	  echo "cannot find nm_test_func in $nlist" >&5
8919	fi
8920      else
8921	echo "cannot find nm_test_var in $nlist" >&5
8922      fi
8923    else
8924      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8925    fi
8926  else
8927    echo "$progname: failed program was:" >&5
8928    cat conftest.$ac_ext >&5
8929  fi
8930  rm -rf conftest* conftst*
8931
8932  # Do not use the global_symbol_pipe unless it works.
8933  if test yes = "$pipe_works"; then
8934    break
8935  else
8936    lt_cv_sys_global_symbol_pipe=
8937  fi
8938done
8939
8940fi
8941
8942if test -z "$lt_cv_sys_global_symbol_pipe"; then
8943  lt_cv_sys_global_symbol_to_cdecl=
8944fi
8945if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8947$as_echo "failed" >&6; }
8948else
8949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8950$as_echo "ok" >&6; }
8951fi
8952
8953# Response file support.
8954if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8955  nm_file_list_spec='@'
8956elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8957  nm_file_list_spec='@'
8958fi
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8997$as_echo_n "checking for sysroot... " >&6; }
8998
8999# Check whether --with-sysroot was given.
9000if test "${with_sysroot+set}" = set; then :
9001  withval=$with_sysroot;
9002else
9003  with_sysroot=no
9004fi
9005
9006
9007lt_sysroot=
9008case $with_sysroot in #(
9009 yes)
9010   if test yes = "$GCC"; then
9011     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9012   fi
9013   ;; #(
9014 /*)
9015   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9016   ;; #(
9017 no|'')
9018   ;; #(
9019 *)
9020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9021$as_echo "$with_sysroot" >&6; }
9022   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9023   ;;
9024esac
9025
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9027$as_echo "${lt_sysroot:-no}" >&6; }
9028
9029
9030
9031
9032
9033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9034$as_echo_n "checking for a working dd... " >&6; }
9035if ${ac_cv_path_lt_DD+:} false; then :
9036  $as_echo_n "(cached) " >&6
9037else
9038  printf 0123456789abcdef0123456789abcdef >conftest.i
9039cat conftest.i conftest.i >conftest2.i
9040: ${lt_DD:=$DD}
9041if test -z "$lt_DD"; then
9042  ac_path_lt_DD_found=false
9043  # Loop through the user's path and test for each of PROGNAME-LIST
9044  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9045for as_dir in $PATH
9046do
9047  IFS=$as_save_IFS
9048  test -z "$as_dir" && as_dir=.
9049    for ac_prog in dd; do
9050    for ac_exec_ext in '' $ac_executable_extensions; do
9051      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
9052      as_fn_executable_p "$ac_path_lt_DD" || continue
9053if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9054  cmp -s conftest.i conftest.out \
9055  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
9056fi
9057      $ac_path_lt_DD_found && break 3
9058    done
9059  done
9060  done
9061IFS=$as_save_IFS
9062  if test -z "$ac_cv_path_lt_DD"; then
9063    :
9064  fi
9065else
9066  ac_cv_path_lt_DD=$lt_DD
9067fi
9068
9069rm -f conftest.i conftest2.i conftest.out
9070fi
9071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9072$as_echo "$ac_cv_path_lt_DD" >&6; }
9073
9074
9075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9076$as_echo_n "checking how to truncate binary pipes... " >&6; }
9077if ${lt_cv_truncate_bin+:} false; then :
9078  $as_echo_n "(cached) " >&6
9079else
9080  printf 0123456789abcdef0123456789abcdef >conftest.i
9081cat conftest.i conftest.i >conftest2.i
9082lt_cv_truncate_bin=
9083if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9084  cmp -s conftest.i conftest.out \
9085  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
9086fi
9087rm -f conftest.i conftest2.i conftest.out
9088test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
9089fi
9090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9091$as_echo "$lt_cv_truncate_bin" >&6; }
9092
9093
9094
9095
9096
9097
9098
9099# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
9100func_cc_basename ()
9101{
9102    for cc_temp in $*""; do
9103      case $cc_temp in
9104        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9105        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9106        \-*) ;;
9107        *) break;;
9108      esac
9109    done
9110    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9111}
9112
9113# Check whether --enable-libtool-lock was given.
9114if test "${enable_libtool_lock+set}" = set; then :
9115  enableval=$enable_libtool_lock;
9116fi
9117
9118test no = "$enable_libtool_lock" || enable_libtool_lock=yes
9119
9120# Some flags need to be propagated to the compiler or linker for good
9121# libtool support.
9122case $host in
9123ia64-*-hpux*)
9124  # Find out what ABI is being produced by ac_compile, and set mode
9125  # options accordingly.
9126  echo 'int i;' > conftest.$ac_ext
9127  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9128  (eval $ac_compile) 2>&5
9129  ac_status=$?
9130  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9131  test $ac_status = 0; }; then
9132    case `/usr/bin/file conftest.$ac_objext` in
9133      *ELF-32*)
9134	HPUX_IA64_MODE=32
9135	;;
9136      *ELF-64*)
9137	HPUX_IA64_MODE=64
9138	;;
9139    esac
9140  fi
9141  rm -rf conftest*
9142  ;;
9143*-*-irix6*)
9144  # Find out what ABI is being produced by ac_compile, and set linker
9145  # options accordingly.
9146  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9147  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9148  (eval $ac_compile) 2>&5
9149  ac_status=$?
9150  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9151  test $ac_status = 0; }; then
9152    if test yes = "$lt_cv_prog_gnu_ld"; then
9153      case `/usr/bin/file conftest.$ac_objext` in
9154	*32-bit*)
9155	  LD="${LD-ld} -melf32bsmip"
9156	  ;;
9157	*N32*)
9158	  LD="${LD-ld} -melf32bmipn32"
9159	  ;;
9160	*64-bit*)
9161	  LD="${LD-ld} -melf64bmip"
9162	;;
9163      esac
9164    else
9165      case `/usr/bin/file conftest.$ac_objext` in
9166	*32-bit*)
9167	  LD="${LD-ld} -32"
9168	  ;;
9169	*N32*)
9170	  LD="${LD-ld} -n32"
9171	  ;;
9172	*64-bit*)
9173	  LD="${LD-ld} -64"
9174	  ;;
9175      esac
9176    fi
9177  fi
9178  rm -rf conftest*
9179  ;;
9180
9181mips64*-*linux*)
9182  # Find out what ABI is being produced by ac_compile, and set linker
9183  # options accordingly.
9184  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9185  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9186  (eval $ac_compile) 2>&5
9187  ac_status=$?
9188  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9189  test $ac_status = 0; }; then
9190    emul=elf
9191    case `/usr/bin/file conftest.$ac_objext` in
9192      *32-bit*)
9193	emul="${emul}32"
9194	;;
9195      *64-bit*)
9196	emul="${emul}64"
9197	;;
9198    esac
9199    case `/usr/bin/file conftest.$ac_objext` in
9200      *MSB*)
9201	emul="${emul}btsmip"
9202	;;
9203      *LSB*)
9204	emul="${emul}ltsmip"
9205	;;
9206    esac
9207    case `/usr/bin/file conftest.$ac_objext` in
9208      *N32*)
9209	emul="${emul}n32"
9210	;;
9211    esac
9212    LD="${LD-ld} -m $emul"
9213  fi
9214  rm -rf conftest*
9215  ;;
9216
9217x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9218s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9219  # Find out what ABI is being produced by ac_compile, and set linker
9220  # options accordingly.  Note that the listed cases only cover the
9221  # situations where additional linker options are needed (such as when
9222  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9223  # vice versa); the common cases where no linker options are needed do
9224  # not appear in the list.
9225  echo 'int i;' > conftest.$ac_ext
9226  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9227  (eval $ac_compile) 2>&5
9228  ac_status=$?
9229  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9230  test $ac_status = 0; }; then
9231    case `/usr/bin/file conftest.o` in
9232      *32-bit*)
9233	case $host in
9234	  x86_64-*kfreebsd*-gnu)
9235	    LD="${LD-ld} -m elf_i386_fbsd"
9236	    ;;
9237	  x86_64-*linux*)
9238	    case `/usr/bin/file conftest.o` in
9239	      *x86-64*)
9240		LD="${LD-ld} -m elf32_x86_64"
9241		;;
9242	      *)
9243		LD="${LD-ld} -m elf_i386"
9244		;;
9245	    esac
9246	    ;;
9247	  powerpc64le-*linux*)
9248	    LD="${LD-ld} -m elf32lppclinux"
9249	    ;;
9250	  powerpc64-*linux*)
9251	    LD="${LD-ld} -m elf32ppclinux"
9252	    ;;
9253	  s390x-*linux*)
9254	    LD="${LD-ld} -m elf_s390"
9255	    ;;
9256	  sparc64-*linux*)
9257	    LD="${LD-ld} -m elf32_sparc"
9258	    ;;
9259	esac
9260	;;
9261      *64-bit*)
9262	case $host in
9263	  x86_64-*kfreebsd*-gnu)
9264	    LD="${LD-ld} -m elf_x86_64_fbsd"
9265	    ;;
9266	  x86_64-*linux*)
9267	    LD="${LD-ld} -m elf_x86_64"
9268	    ;;
9269	  powerpcle-*linux*)
9270	    LD="${LD-ld} -m elf64lppc"
9271	    ;;
9272	  powerpc-*linux*)
9273	    LD="${LD-ld} -m elf64ppc"
9274	    ;;
9275	  s390*-*linux*|s390*-*tpf*)
9276	    LD="${LD-ld} -m elf64_s390"
9277	    ;;
9278	  sparc*-*linux*)
9279	    LD="${LD-ld} -m elf64_sparc"
9280	    ;;
9281	esac
9282	;;
9283    esac
9284  fi
9285  rm -rf conftest*
9286  ;;
9287
9288*-*-sco3.2v5*)
9289  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9290  SAVE_CFLAGS=$CFLAGS
9291  CFLAGS="$CFLAGS -belf"
9292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9293$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9294if ${lt_cv_cc_needs_belf+:} false; then :
9295  $as_echo_n "(cached) " >&6
9296else
9297  ac_ext=c
9298ac_cpp='$CPP $CPPFLAGS'
9299ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9300ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9301ac_compiler_gnu=$ac_cv_c_compiler_gnu
9302
9303     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304/* end confdefs.h.  */
9305
9306int
9307main ()
9308{
9309
9310  ;
9311  return 0;
9312}
9313_ACEOF
9314if ac_fn_c_try_link "$LINENO"; then :
9315  lt_cv_cc_needs_belf=yes
9316else
9317  lt_cv_cc_needs_belf=no
9318fi
9319rm -f core conftest.err conftest.$ac_objext \
9320    conftest$ac_exeext conftest.$ac_ext
9321     ac_ext=c
9322ac_cpp='$CPP $CPPFLAGS'
9323ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9324ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9325ac_compiler_gnu=$ac_cv_c_compiler_gnu
9326
9327fi
9328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9329$as_echo "$lt_cv_cc_needs_belf" >&6; }
9330  if test yes != "$lt_cv_cc_needs_belf"; then
9331    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9332    CFLAGS=$SAVE_CFLAGS
9333  fi
9334  ;;
9335*-*solaris*)
9336  # Find out what ABI is being produced by ac_compile, and set linker
9337  # options accordingly.
9338  echo 'int i;' > conftest.$ac_ext
9339  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9340  (eval $ac_compile) 2>&5
9341  ac_status=$?
9342  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9343  test $ac_status = 0; }; then
9344    case `/usr/bin/file conftest.o` in
9345    *64-bit*)
9346      case $lt_cv_prog_gnu_ld in
9347      yes*)
9348        case $host in
9349        i?86-*-solaris*|x86_64-*-solaris*)
9350          LD="${LD-ld} -m elf_x86_64"
9351          ;;
9352        sparc*-*-solaris*)
9353          LD="${LD-ld} -m elf64_sparc"
9354          ;;
9355        esac
9356        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
9357        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9358          LD=${LD-ld}_sol2
9359        fi
9360        ;;
9361      *)
9362	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9363	  LD="${LD-ld} -64"
9364	fi
9365	;;
9366      esac
9367      ;;
9368    esac
9369  fi
9370  rm -rf conftest*
9371  ;;
9372esac
9373
9374need_locks=$enable_libtool_lock
9375
9376if test -n "$ac_tool_prefix"; then
9377  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9378set dummy ${ac_tool_prefix}mt; ac_word=$2
9379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9380$as_echo_n "checking for $ac_word... " >&6; }
9381if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9382  $as_echo_n "(cached) " >&6
9383else
9384  if test -n "$MANIFEST_TOOL"; then
9385  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9386else
9387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9388for as_dir in $PATH
9389do
9390  IFS=$as_save_IFS
9391  test -z "$as_dir" && as_dir=.
9392    for ac_exec_ext in '' $ac_executable_extensions; do
9393  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9394    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9396    break 2
9397  fi
9398done
9399  done
9400IFS=$as_save_IFS
9401
9402fi
9403fi
9404MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9405if test -n "$MANIFEST_TOOL"; then
9406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9407$as_echo "$MANIFEST_TOOL" >&6; }
9408else
9409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9410$as_echo "no" >&6; }
9411fi
9412
9413
9414fi
9415if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9416  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9417  # Extract the first word of "mt", so it can be a program name with args.
9418set dummy mt; ac_word=$2
9419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9420$as_echo_n "checking for $ac_word... " >&6; }
9421if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9422  $as_echo_n "(cached) " >&6
9423else
9424  if test -n "$ac_ct_MANIFEST_TOOL"; then
9425  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9426else
9427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9428for as_dir in $PATH
9429do
9430  IFS=$as_save_IFS
9431  test -z "$as_dir" && as_dir=.
9432    for ac_exec_ext in '' $ac_executable_extensions; do
9433  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9434    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9435    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9436    break 2
9437  fi
9438done
9439  done
9440IFS=$as_save_IFS
9441
9442fi
9443fi
9444ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9445if test -n "$ac_ct_MANIFEST_TOOL"; then
9446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9447$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9448else
9449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9450$as_echo "no" >&6; }
9451fi
9452
9453  if test "x$ac_ct_MANIFEST_TOOL" = x; then
9454    MANIFEST_TOOL=":"
9455  else
9456    case $cross_compiling:$ac_tool_warned in
9457yes:)
9458{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9459$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9460ac_tool_warned=yes ;;
9461esac
9462    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9463  fi
9464else
9465  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9466fi
9467
9468test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9470$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9471if ${lt_cv_path_mainfest_tool+:} false; then :
9472  $as_echo_n "(cached) " >&6
9473else
9474  lt_cv_path_mainfest_tool=no
9475  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9476  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9477  cat conftest.err >&5
9478  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9479    lt_cv_path_mainfest_tool=yes
9480  fi
9481  rm -f conftest*
9482fi
9483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9484$as_echo "$lt_cv_path_mainfest_tool" >&6; }
9485if test yes != "$lt_cv_path_mainfest_tool"; then
9486  MANIFEST_TOOL=:
9487fi
9488
9489
9490
9491
9492
9493
9494  case $host_os in
9495    rhapsody* | darwin*)
9496    if test -n "$ac_tool_prefix"; then
9497  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9498set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9500$as_echo_n "checking for $ac_word... " >&6; }
9501if ${ac_cv_prog_DSYMUTIL+:} false; then :
9502  $as_echo_n "(cached) " >&6
9503else
9504  if test -n "$DSYMUTIL"; then
9505  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9506else
9507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9508for as_dir in $PATH
9509do
9510  IFS=$as_save_IFS
9511  test -z "$as_dir" && as_dir=.
9512    for ac_exec_ext in '' $ac_executable_extensions; do
9513  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9514    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9515    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9516    break 2
9517  fi
9518done
9519  done
9520IFS=$as_save_IFS
9521
9522fi
9523fi
9524DSYMUTIL=$ac_cv_prog_DSYMUTIL
9525if test -n "$DSYMUTIL"; then
9526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9527$as_echo "$DSYMUTIL" >&6; }
9528else
9529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9530$as_echo "no" >&6; }
9531fi
9532
9533
9534fi
9535if test -z "$ac_cv_prog_DSYMUTIL"; then
9536  ac_ct_DSYMUTIL=$DSYMUTIL
9537  # Extract the first word of "dsymutil", so it can be a program name with args.
9538set dummy dsymutil; ac_word=$2
9539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9540$as_echo_n "checking for $ac_word... " >&6; }
9541if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9542  $as_echo_n "(cached) " >&6
9543else
9544  if test -n "$ac_ct_DSYMUTIL"; then
9545  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9546else
9547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9548for as_dir in $PATH
9549do
9550  IFS=$as_save_IFS
9551  test -z "$as_dir" && as_dir=.
9552    for ac_exec_ext in '' $ac_executable_extensions; do
9553  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9554    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9555    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9556    break 2
9557  fi
9558done
9559  done
9560IFS=$as_save_IFS
9561
9562fi
9563fi
9564ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9565if test -n "$ac_ct_DSYMUTIL"; then
9566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9567$as_echo "$ac_ct_DSYMUTIL" >&6; }
9568else
9569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9570$as_echo "no" >&6; }
9571fi
9572
9573  if test "x$ac_ct_DSYMUTIL" = x; then
9574    DSYMUTIL=":"
9575  else
9576    case $cross_compiling:$ac_tool_warned in
9577yes:)
9578{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9579$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9580ac_tool_warned=yes ;;
9581esac
9582    DSYMUTIL=$ac_ct_DSYMUTIL
9583  fi
9584else
9585  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9586fi
9587
9588    if test -n "$ac_tool_prefix"; then
9589  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9590set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9592$as_echo_n "checking for $ac_word... " >&6; }
9593if ${ac_cv_prog_NMEDIT+:} false; then :
9594  $as_echo_n "(cached) " >&6
9595else
9596  if test -n "$NMEDIT"; then
9597  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9598else
9599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9600for as_dir in $PATH
9601do
9602  IFS=$as_save_IFS
9603  test -z "$as_dir" && as_dir=.
9604    for ac_exec_ext in '' $ac_executable_extensions; do
9605  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9606    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9607    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9608    break 2
9609  fi
9610done
9611  done
9612IFS=$as_save_IFS
9613
9614fi
9615fi
9616NMEDIT=$ac_cv_prog_NMEDIT
9617if test -n "$NMEDIT"; then
9618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9619$as_echo "$NMEDIT" >&6; }
9620else
9621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9622$as_echo "no" >&6; }
9623fi
9624
9625
9626fi
9627if test -z "$ac_cv_prog_NMEDIT"; then
9628  ac_ct_NMEDIT=$NMEDIT
9629  # Extract the first word of "nmedit", so it can be a program name with args.
9630set dummy nmedit; ac_word=$2
9631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9632$as_echo_n "checking for $ac_word... " >&6; }
9633if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9634  $as_echo_n "(cached) " >&6
9635else
9636  if test -n "$ac_ct_NMEDIT"; then
9637  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9638else
9639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9640for as_dir in $PATH
9641do
9642  IFS=$as_save_IFS
9643  test -z "$as_dir" && as_dir=.
9644    for ac_exec_ext in '' $ac_executable_extensions; do
9645  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9646    ac_cv_prog_ac_ct_NMEDIT="nmedit"
9647    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9648    break 2
9649  fi
9650done
9651  done
9652IFS=$as_save_IFS
9653
9654fi
9655fi
9656ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9657if test -n "$ac_ct_NMEDIT"; then
9658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9659$as_echo "$ac_ct_NMEDIT" >&6; }
9660else
9661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662$as_echo "no" >&6; }
9663fi
9664
9665  if test "x$ac_ct_NMEDIT" = x; then
9666    NMEDIT=":"
9667  else
9668    case $cross_compiling:$ac_tool_warned in
9669yes:)
9670{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9671$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9672ac_tool_warned=yes ;;
9673esac
9674    NMEDIT=$ac_ct_NMEDIT
9675  fi
9676else
9677  NMEDIT="$ac_cv_prog_NMEDIT"
9678fi
9679
9680    if test -n "$ac_tool_prefix"; then
9681  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9682set dummy ${ac_tool_prefix}lipo; ac_word=$2
9683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9684$as_echo_n "checking for $ac_word... " >&6; }
9685if ${ac_cv_prog_LIPO+:} false; then :
9686  $as_echo_n "(cached) " >&6
9687else
9688  if test -n "$LIPO"; then
9689  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9690else
9691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9692for as_dir in $PATH
9693do
9694  IFS=$as_save_IFS
9695  test -z "$as_dir" && as_dir=.
9696    for ac_exec_ext in '' $ac_executable_extensions; do
9697  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9698    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9699    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9700    break 2
9701  fi
9702done
9703  done
9704IFS=$as_save_IFS
9705
9706fi
9707fi
9708LIPO=$ac_cv_prog_LIPO
9709if test -n "$LIPO"; then
9710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9711$as_echo "$LIPO" >&6; }
9712else
9713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9714$as_echo "no" >&6; }
9715fi
9716
9717
9718fi
9719if test -z "$ac_cv_prog_LIPO"; then
9720  ac_ct_LIPO=$LIPO
9721  # Extract the first word of "lipo", so it can be a program name with args.
9722set dummy lipo; ac_word=$2
9723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9724$as_echo_n "checking for $ac_word... " >&6; }
9725if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9726  $as_echo_n "(cached) " >&6
9727else
9728  if test -n "$ac_ct_LIPO"; then
9729  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9730else
9731as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9732for as_dir in $PATH
9733do
9734  IFS=$as_save_IFS
9735  test -z "$as_dir" && as_dir=.
9736    for ac_exec_ext in '' $ac_executable_extensions; do
9737  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9738    ac_cv_prog_ac_ct_LIPO="lipo"
9739    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9740    break 2
9741  fi
9742done
9743  done
9744IFS=$as_save_IFS
9745
9746fi
9747fi
9748ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9749if test -n "$ac_ct_LIPO"; then
9750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9751$as_echo "$ac_ct_LIPO" >&6; }
9752else
9753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9754$as_echo "no" >&6; }
9755fi
9756
9757  if test "x$ac_ct_LIPO" = x; then
9758    LIPO=":"
9759  else
9760    case $cross_compiling:$ac_tool_warned in
9761yes:)
9762{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9763$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9764ac_tool_warned=yes ;;
9765esac
9766    LIPO=$ac_ct_LIPO
9767  fi
9768else
9769  LIPO="$ac_cv_prog_LIPO"
9770fi
9771
9772    if test -n "$ac_tool_prefix"; then
9773  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9774set dummy ${ac_tool_prefix}otool; ac_word=$2
9775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9776$as_echo_n "checking for $ac_word... " >&6; }
9777if ${ac_cv_prog_OTOOL+:} false; then :
9778  $as_echo_n "(cached) " >&6
9779else
9780  if test -n "$OTOOL"; then
9781  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9782else
9783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9784for as_dir in $PATH
9785do
9786  IFS=$as_save_IFS
9787  test -z "$as_dir" && as_dir=.
9788    for ac_exec_ext in '' $ac_executable_extensions; do
9789  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9790    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9791    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9792    break 2
9793  fi
9794done
9795  done
9796IFS=$as_save_IFS
9797
9798fi
9799fi
9800OTOOL=$ac_cv_prog_OTOOL
9801if test -n "$OTOOL"; then
9802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9803$as_echo "$OTOOL" >&6; }
9804else
9805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9806$as_echo "no" >&6; }
9807fi
9808
9809
9810fi
9811if test -z "$ac_cv_prog_OTOOL"; then
9812  ac_ct_OTOOL=$OTOOL
9813  # Extract the first word of "otool", so it can be a program name with args.
9814set dummy otool; ac_word=$2
9815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9816$as_echo_n "checking for $ac_word... " >&6; }
9817if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9818  $as_echo_n "(cached) " >&6
9819else
9820  if test -n "$ac_ct_OTOOL"; then
9821  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9822else
9823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9824for as_dir in $PATH
9825do
9826  IFS=$as_save_IFS
9827  test -z "$as_dir" && as_dir=.
9828    for ac_exec_ext in '' $ac_executable_extensions; do
9829  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9830    ac_cv_prog_ac_ct_OTOOL="otool"
9831    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9832    break 2
9833  fi
9834done
9835  done
9836IFS=$as_save_IFS
9837
9838fi
9839fi
9840ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9841if test -n "$ac_ct_OTOOL"; then
9842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9843$as_echo "$ac_ct_OTOOL" >&6; }
9844else
9845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9846$as_echo "no" >&6; }
9847fi
9848
9849  if test "x$ac_ct_OTOOL" = x; then
9850    OTOOL=":"
9851  else
9852    case $cross_compiling:$ac_tool_warned in
9853yes:)
9854{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9855$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9856ac_tool_warned=yes ;;
9857esac
9858    OTOOL=$ac_ct_OTOOL
9859  fi
9860else
9861  OTOOL="$ac_cv_prog_OTOOL"
9862fi
9863
9864    if test -n "$ac_tool_prefix"; then
9865  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9866set dummy ${ac_tool_prefix}otool64; ac_word=$2
9867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9868$as_echo_n "checking for $ac_word... " >&6; }
9869if ${ac_cv_prog_OTOOL64+:} false; then :
9870  $as_echo_n "(cached) " >&6
9871else
9872  if test -n "$OTOOL64"; then
9873  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9874else
9875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9876for as_dir in $PATH
9877do
9878  IFS=$as_save_IFS
9879  test -z "$as_dir" && as_dir=.
9880    for ac_exec_ext in '' $ac_executable_extensions; do
9881  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9882    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9883    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9884    break 2
9885  fi
9886done
9887  done
9888IFS=$as_save_IFS
9889
9890fi
9891fi
9892OTOOL64=$ac_cv_prog_OTOOL64
9893if test -n "$OTOOL64"; then
9894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9895$as_echo "$OTOOL64" >&6; }
9896else
9897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9898$as_echo "no" >&6; }
9899fi
9900
9901
9902fi
9903if test -z "$ac_cv_prog_OTOOL64"; then
9904  ac_ct_OTOOL64=$OTOOL64
9905  # Extract the first word of "otool64", so it can be a program name with args.
9906set dummy otool64; ac_word=$2
9907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9908$as_echo_n "checking for $ac_word... " >&6; }
9909if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9910  $as_echo_n "(cached) " >&6
9911else
9912  if test -n "$ac_ct_OTOOL64"; then
9913  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9914else
9915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9916for as_dir in $PATH
9917do
9918  IFS=$as_save_IFS
9919  test -z "$as_dir" && as_dir=.
9920    for ac_exec_ext in '' $ac_executable_extensions; do
9921  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9922    ac_cv_prog_ac_ct_OTOOL64="otool64"
9923    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9924    break 2
9925  fi
9926done
9927  done
9928IFS=$as_save_IFS
9929
9930fi
9931fi
9932ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9933if test -n "$ac_ct_OTOOL64"; then
9934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9935$as_echo "$ac_ct_OTOOL64" >&6; }
9936else
9937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9938$as_echo "no" >&6; }
9939fi
9940
9941  if test "x$ac_ct_OTOOL64" = x; then
9942    OTOOL64=":"
9943  else
9944    case $cross_compiling:$ac_tool_warned in
9945yes:)
9946{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9947$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9948ac_tool_warned=yes ;;
9949esac
9950    OTOOL64=$ac_ct_OTOOL64
9951  fi
9952else
9953  OTOOL64="$ac_cv_prog_OTOOL64"
9954fi
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9983$as_echo_n "checking for -single_module linker flag... " >&6; }
9984if ${lt_cv_apple_cc_single_mod+:} false; then :
9985  $as_echo_n "(cached) " >&6
9986else
9987  lt_cv_apple_cc_single_mod=no
9988      if test -z "$LT_MULTI_MODULE"; then
9989	# By default we will add the -single_module flag. You can override
9990	# by either setting the environment variable LT_MULTI_MODULE
9991	# non-empty at configure time, or by adding -multi_module to the
9992	# link flags.
9993	rm -rf libconftest.dylib*
9994	echo "int foo(void){return 1;}" > conftest.c
9995	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9996-dynamiclib -Wl,-single_module conftest.c" >&5
9997	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9998	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9999        _lt_result=$?
10000	# If there is a non-empty error log, and "single_module"
10001	# appears in it, assume the flag caused a linker warning
10002        if test -s conftest.err && $GREP single_module conftest.err; then
10003	  cat conftest.err >&5
10004	# Otherwise, if the output was created with a 0 exit code from
10005	# the compiler, it worked.
10006	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
10007	  lt_cv_apple_cc_single_mod=yes
10008	else
10009	  cat conftest.err >&5
10010	fi
10011	rm -rf libconftest.dylib*
10012	rm -f conftest.*
10013      fi
10014fi
10015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10016$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10017
10018    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10019$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10020if ${lt_cv_ld_exported_symbols_list+:} false; then :
10021  $as_echo_n "(cached) " >&6
10022else
10023  lt_cv_ld_exported_symbols_list=no
10024      save_LDFLAGS=$LDFLAGS
10025      echo "_main" > conftest.sym
10026      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10027      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028/* end confdefs.h.  */
10029
10030int
10031main ()
10032{
10033
10034  ;
10035  return 0;
10036}
10037_ACEOF
10038if ac_fn_c_try_link "$LINENO"; then :
10039  lt_cv_ld_exported_symbols_list=yes
10040else
10041  lt_cv_ld_exported_symbols_list=no
10042fi
10043rm -f core conftest.err conftest.$ac_objext \
10044    conftest$ac_exeext conftest.$ac_ext
10045	LDFLAGS=$save_LDFLAGS
10046
10047fi
10048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10049$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10050
10051    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10052$as_echo_n "checking for -force_load linker flag... " >&6; }
10053if ${lt_cv_ld_force_load+:} false; then :
10054  $as_echo_n "(cached) " >&6
10055else
10056  lt_cv_ld_force_load=no
10057      cat > conftest.c << _LT_EOF
10058int forced_loaded() { return 2;}
10059_LT_EOF
10060      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10061      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10062      echo "$AR cru libconftest.a conftest.o" >&5
10063      $AR cru libconftest.a conftest.o 2>&5
10064      echo "$RANLIB libconftest.a" >&5
10065      $RANLIB libconftest.a 2>&5
10066      cat > conftest.c << _LT_EOF
10067int main() { return 0;}
10068_LT_EOF
10069      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10070      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10071      _lt_result=$?
10072      if test -s conftest.err && $GREP force_load conftest.err; then
10073	cat conftest.err >&5
10074      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
10075	lt_cv_ld_force_load=yes
10076      else
10077	cat conftest.err >&5
10078      fi
10079        rm -f conftest.err libconftest.a conftest conftest.c
10080        rm -rf conftest.dSYM
10081
10082fi
10083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10084$as_echo "$lt_cv_ld_force_load" >&6; }
10085    case $host_os in
10086    rhapsody* | darwin1.[012])
10087      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10088    darwin1.*)
10089      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10090    darwin*) # darwin 5.x on
10091      # if running on 10.5 or later, the deployment target defaults
10092      # to the OS version, if on x86, and 10.4, the deployment
10093      # target defaults to 10.4. Don't you love it?
10094      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10095	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10096	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10097	10.[012][,.]*)
10098	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10099	10.*)
10100	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10101      esac
10102    ;;
10103  esac
10104    if test yes = "$lt_cv_apple_cc_single_mod"; then
10105      _lt_dar_single_mod='$single_module'
10106    fi
10107    if test yes = "$lt_cv_ld_exported_symbols_list"; then
10108      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10109    else
10110      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10111    fi
10112    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
10113      _lt_dsymutil='~$DSYMUTIL $lib || :'
10114    else
10115      _lt_dsymutil=
10116    fi
10117    ;;
10118  esac
10119
10120# func_munge_path_list VARIABLE PATH
10121# -----------------------------------
10122# VARIABLE is name of variable containing _space_ separated list of
10123# directories to be munged by the contents of PATH, which is string
10124# having a format:
10125# "DIR[:DIR]:"
10126#       string "DIR[ DIR]" will be prepended to VARIABLE
10127# ":DIR[:DIR]"
10128#       string "DIR[ DIR]" will be appended to VARIABLE
10129# "DIRP[:DIRP]::[DIRA:]DIRA"
10130#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10131#       "DIRA[ DIRA]" will be appended to VARIABLE
10132# "DIR[:DIR]"
10133#       VARIABLE will be replaced by "DIR[ DIR]"
10134func_munge_path_list ()
10135{
10136    case x$2 in
10137    x)
10138        ;;
10139    *:)
10140        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
10141        ;;
10142    x:*)
10143        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10144        ;;
10145    *::*)
10146        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10147        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
10148        ;;
10149    *)
10150        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10151        ;;
10152    esac
10153}
10154
10155for ac_header in dlfcn.h
10156do :
10157  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10158"
10159if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10160  cat >>confdefs.h <<_ACEOF
10161#define HAVE_DLFCN_H 1
10162_ACEOF
10163
10164fi
10165
10166done
10167
10168
10169
10170
10171
10172# Set options
10173
10174
10175
10176        enable_dlopen=no
10177
10178
10179  enable_win32_dll=no
10180
10181
10182            # Check whether --enable-shared was given.
10183if test "${enable_shared+set}" = set; then :
10184  enableval=$enable_shared; p=${PACKAGE-default}
10185    case $enableval in
10186    yes) enable_shared=yes ;;
10187    no) enable_shared=no ;;
10188    *)
10189      enable_shared=no
10190      # Look at the argument we got.  We use all the common list separators.
10191      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10192      for pkg in $enableval; do
10193	IFS=$lt_save_ifs
10194	if test "X$pkg" = "X$p"; then
10195	  enable_shared=yes
10196	fi
10197      done
10198      IFS=$lt_save_ifs
10199      ;;
10200    esac
10201else
10202  enable_shared=yes
10203fi
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213  # Check whether --enable-static was given.
10214if test "${enable_static+set}" = set; then :
10215  enableval=$enable_static; p=${PACKAGE-default}
10216    case $enableval in
10217    yes) enable_static=yes ;;
10218    no) enable_static=no ;;
10219    *)
10220     enable_static=no
10221      # Look at the argument we got.  We use all the common list separators.
10222      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10223      for pkg in $enableval; do
10224	IFS=$lt_save_ifs
10225	if test "X$pkg" = "X$p"; then
10226	  enable_static=yes
10227	fi
10228      done
10229      IFS=$lt_save_ifs
10230      ;;
10231    esac
10232else
10233  enable_static=yes
10234fi
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245# Check whether --with-pic was given.
10246if test "${with_pic+set}" = set; then :
10247  withval=$with_pic; lt_p=${PACKAGE-default}
10248    case $withval in
10249    yes|no) pic_mode=$withval ;;
10250    *)
10251      pic_mode=default
10252      # Look at the argument we got.  We use all the common list separators.
10253      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10254      for lt_pkg in $withval; do
10255	IFS=$lt_save_ifs
10256	if test "X$lt_pkg" = "X$lt_p"; then
10257	  pic_mode=yes
10258	fi
10259      done
10260      IFS=$lt_save_ifs
10261      ;;
10262    esac
10263else
10264  pic_mode=default
10265fi
10266
10267
10268
10269
10270
10271
10272
10273
10274  # Check whether --enable-fast-install was given.
10275if test "${enable_fast_install+set}" = set; then :
10276  enableval=$enable_fast_install; p=${PACKAGE-default}
10277    case $enableval in
10278    yes) enable_fast_install=yes ;;
10279    no) enable_fast_install=no ;;
10280    *)
10281      enable_fast_install=no
10282      # Look at the argument we got.  We use all the common list separators.
10283      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10284      for pkg in $enableval; do
10285	IFS=$lt_save_ifs
10286	if test "X$pkg" = "X$p"; then
10287	  enable_fast_install=yes
10288	fi
10289      done
10290      IFS=$lt_save_ifs
10291      ;;
10292    esac
10293else
10294  enable_fast_install=yes
10295fi
10296
10297
10298
10299
10300
10301
10302
10303
10304  shared_archive_member_spec=
10305case $host,$enable_shared in
10306power*-*-aix[5-9]*,yes)
10307  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10308$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10309
10310# Check whether --with-aix-soname was given.
10311if test "${with_aix_soname+set}" = set; then :
10312  withval=$with_aix_soname; case $withval in
10313    aix|svr4|both)
10314      ;;
10315    *)
10316      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10317      ;;
10318    esac
10319    lt_cv_with_aix_soname=$with_aix_soname
10320else
10321  if ${lt_cv_with_aix_soname+:} false; then :
10322  $as_echo_n "(cached) " >&6
10323else
10324  lt_cv_with_aix_soname=aix
10325fi
10326
10327    with_aix_soname=$lt_cv_with_aix_soname
10328fi
10329
10330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10331$as_echo "$with_aix_soname" >&6; }
10332  if test aix != "$with_aix_soname"; then
10333    # For the AIX way of multilib, we name the shared archive member
10334    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10335    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10336    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10337    # the AIX toolchain works better with OBJECT_MODE set (default 32).
10338    if test 64 = "${OBJECT_MODE-32}"; then
10339      shared_archive_member_spec=shr_64
10340    else
10341      shared_archive_member_spec=shr
10342    fi
10343  fi
10344  ;;
10345*)
10346  with_aix_soname=aix
10347  ;;
10348esac
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359# This can be used to rebuild libtool when needed
10360LIBTOOL_DEPS=$ltmain
10361
10362# Always use our own libtool.
10363LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394test -z "$LN_S" && LN_S="ln -s"
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409if test -n "${ZSH_VERSION+set}"; then
10410   setopt NO_GLOB_SUBST
10411fi
10412
10413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10414$as_echo_n "checking for objdir... " >&6; }
10415if ${lt_cv_objdir+:} false; then :
10416  $as_echo_n "(cached) " >&6
10417else
10418  rm -f .libs 2>/dev/null
10419mkdir .libs 2>/dev/null
10420if test -d .libs; then
10421  lt_cv_objdir=.libs
10422else
10423  # MS-DOS does not allow filenames that begin with a dot.
10424  lt_cv_objdir=_libs
10425fi
10426rmdir .libs 2>/dev/null
10427fi
10428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10429$as_echo "$lt_cv_objdir" >&6; }
10430objdir=$lt_cv_objdir
10431
10432
10433
10434
10435
10436cat >>confdefs.h <<_ACEOF
10437#define LT_OBJDIR "$lt_cv_objdir/"
10438_ACEOF
10439
10440
10441
10442
10443case $host_os in
10444aix3*)
10445  # AIX sometimes has problems with the GCC collect2 program.  For some
10446  # reason, if we set the COLLECT_NAMES environment variable, the problems
10447  # vanish in a puff of smoke.
10448  if test set != "${COLLECT_NAMES+set}"; then
10449    COLLECT_NAMES=
10450    export COLLECT_NAMES
10451  fi
10452  ;;
10453esac
10454
10455# Global variables:
10456ofile=libtool
10457can_build_shared=yes
10458
10459# All known linkers require a '.a' archive for static linking (except MSVC,
10460# which needs '.lib').
10461libext=a
10462
10463with_gnu_ld=$lt_cv_prog_gnu_ld
10464
10465old_CC=$CC
10466old_CFLAGS=$CFLAGS
10467
10468# Set sane defaults for various variables
10469test -z "$CC" && CC=cc
10470test -z "$LTCC" && LTCC=$CC
10471test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10472test -z "$LD" && LD=ld
10473test -z "$ac_objext" && ac_objext=o
10474
10475func_cc_basename $compiler
10476cc_basename=$func_cc_basename_result
10477
10478
10479# Only perform the check for file, if the check method requires it
10480test -z "$MAGIC_CMD" && MAGIC_CMD=file
10481case $deplibs_check_method in
10482file_magic*)
10483  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10484    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10485$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10486if ${lt_cv_path_MAGIC_CMD+:} false; then :
10487  $as_echo_n "(cached) " >&6
10488else
10489  case $MAGIC_CMD in
10490[\\/*] |  ?:[\\/]*)
10491  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10492  ;;
10493*)
10494  lt_save_MAGIC_CMD=$MAGIC_CMD
10495  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10496  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10497  for ac_dir in $ac_dummy; do
10498    IFS=$lt_save_ifs
10499    test -z "$ac_dir" && ac_dir=.
10500    if test -f "$ac_dir/${ac_tool_prefix}file"; then
10501      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10502      if test -n "$file_magic_test_file"; then
10503	case $deplibs_check_method in
10504	"file_magic "*)
10505	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10506	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10507	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10508	    $EGREP "$file_magic_regex" > /dev/null; then
10509	    :
10510	  else
10511	    cat <<_LT_EOF 1>&2
10512
10513*** Warning: the command libtool uses to detect shared libraries,
10514*** $file_magic_cmd, produces output that libtool cannot recognize.
10515*** The result is that libtool may fail to recognize shared libraries
10516*** as such.  This will affect the creation of libtool libraries that
10517*** depend on shared libraries, but programs linked with such libtool
10518*** libraries will work regardless of this problem.  Nevertheless, you
10519*** may want to report the problem to your system manager and/or to
10520*** bug-libtool@gnu.org
10521
10522_LT_EOF
10523	  fi ;;
10524	esac
10525      fi
10526      break
10527    fi
10528  done
10529  IFS=$lt_save_ifs
10530  MAGIC_CMD=$lt_save_MAGIC_CMD
10531  ;;
10532esac
10533fi
10534
10535MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10536if test -n "$MAGIC_CMD"; then
10537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10538$as_echo "$MAGIC_CMD" >&6; }
10539else
10540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10541$as_echo "no" >&6; }
10542fi
10543
10544
10545
10546
10547
10548if test -z "$lt_cv_path_MAGIC_CMD"; then
10549  if test -n "$ac_tool_prefix"; then
10550    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10551$as_echo_n "checking for file... " >&6; }
10552if ${lt_cv_path_MAGIC_CMD+:} false; then :
10553  $as_echo_n "(cached) " >&6
10554else
10555  case $MAGIC_CMD in
10556[\\/*] |  ?:[\\/]*)
10557  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10558  ;;
10559*)
10560  lt_save_MAGIC_CMD=$MAGIC_CMD
10561  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10562  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10563  for ac_dir in $ac_dummy; do
10564    IFS=$lt_save_ifs
10565    test -z "$ac_dir" && ac_dir=.
10566    if test -f "$ac_dir/file"; then
10567      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10568      if test -n "$file_magic_test_file"; then
10569	case $deplibs_check_method in
10570	"file_magic "*)
10571	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10572	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10573	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10574	    $EGREP "$file_magic_regex" > /dev/null; then
10575	    :
10576	  else
10577	    cat <<_LT_EOF 1>&2
10578
10579*** Warning: the command libtool uses to detect shared libraries,
10580*** $file_magic_cmd, produces output that libtool cannot recognize.
10581*** The result is that libtool may fail to recognize shared libraries
10582*** as such.  This will affect the creation of libtool libraries that
10583*** depend on shared libraries, but programs linked with such libtool
10584*** libraries will work regardless of this problem.  Nevertheless, you
10585*** may want to report the problem to your system manager and/or to
10586*** bug-libtool@gnu.org
10587
10588_LT_EOF
10589	  fi ;;
10590	esac
10591      fi
10592      break
10593    fi
10594  done
10595  IFS=$lt_save_ifs
10596  MAGIC_CMD=$lt_save_MAGIC_CMD
10597  ;;
10598esac
10599fi
10600
10601MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10602if test -n "$MAGIC_CMD"; then
10603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10604$as_echo "$MAGIC_CMD" >&6; }
10605else
10606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10607$as_echo "no" >&6; }
10608fi
10609
10610
10611  else
10612    MAGIC_CMD=:
10613  fi
10614fi
10615
10616  fi
10617  ;;
10618esac
10619
10620# Use C for the default configuration in the libtool script
10621
10622lt_save_CC=$CC
10623ac_ext=c
10624ac_cpp='$CPP $CPPFLAGS'
10625ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10626ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10627ac_compiler_gnu=$ac_cv_c_compiler_gnu
10628
10629
10630# Source file extension for C test sources.
10631ac_ext=c
10632
10633# Object file extension for compiled C test sources.
10634objext=o
10635objext=$objext
10636
10637# Code to be used in simple compile tests
10638lt_simple_compile_test_code="int some_variable = 0;"
10639
10640# Code to be used in simple link tests
10641lt_simple_link_test_code='int main(){return(0);}'
10642
10643
10644
10645
10646
10647
10648
10649# If no C compiler was specified, use CC.
10650LTCC=${LTCC-"$CC"}
10651
10652# If no C compiler flags were specified, use CFLAGS.
10653LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10654
10655# Allow CC to be a program name with arguments.
10656compiler=$CC
10657
10658# Save the default compiler, since it gets overwritten when the other
10659# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10660compiler_DEFAULT=$CC
10661
10662# save warnings/boilerplate of simple test code
10663ac_outfile=conftest.$ac_objext
10664echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10665eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10666_lt_compiler_boilerplate=`cat conftest.err`
10667$RM conftest*
10668
10669ac_outfile=conftest.$ac_objext
10670echo "$lt_simple_link_test_code" >conftest.$ac_ext
10671eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10672_lt_linker_boilerplate=`cat conftest.err`
10673$RM -r conftest*
10674
10675
10676## CAVEAT EMPTOR:
10677## There is no encapsulation within the following macros, do not change
10678## the running order or otherwise move them around unless you know exactly
10679## what you are doing...
10680if test -n "$compiler"; then
10681
10682lt_prog_compiler_no_builtin_flag=
10683
10684if test yes = "$GCC"; then
10685  case $cc_basename in
10686  nvcc*)
10687    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10688  *)
10689    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10690  esac
10691
10692  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10693$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10694if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10695  $as_echo_n "(cached) " >&6
10696else
10697  lt_cv_prog_compiler_rtti_exceptions=no
10698   ac_outfile=conftest.$ac_objext
10699   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10700   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
10701   # Insert the option either (1) after the last *FLAGS variable, or
10702   # (2) before a word containing "conftest.", or (3) at the end.
10703   # Note that $ac_compile itself does not contain backslashes and begins
10704   # with a dollar sign (not a hyphen), so the echo should work correctly.
10705   # The option is referenced via a variable to avoid confusing sed.
10706   lt_compile=`echo "$ac_compile" | $SED \
10707   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10708   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10709   -e 's:$: $lt_compiler_flag:'`
10710   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10711   (eval "$lt_compile" 2>conftest.err)
10712   ac_status=$?
10713   cat conftest.err >&5
10714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715   if (exit $ac_status) && test -s "$ac_outfile"; then
10716     # The compiler can only warn and ignore the option if not recognized
10717     # So say no if there are warnings other than the usual output.
10718     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10719     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10720     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10721       lt_cv_prog_compiler_rtti_exceptions=yes
10722     fi
10723   fi
10724   $RM conftest*
10725
10726fi
10727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10728$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10729
10730if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10731    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10732else
10733    :
10734fi
10735
10736fi
10737
10738
10739
10740
10741
10742
10743  lt_prog_compiler_wl=
10744lt_prog_compiler_pic=
10745lt_prog_compiler_static=
10746
10747
10748  if test yes = "$GCC"; then
10749    lt_prog_compiler_wl='-Wl,'
10750    lt_prog_compiler_static='-static'
10751
10752    case $host_os in
10753      aix*)
10754      # All AIX code is PIC.
10755      if test ia64 = "$host_cpu"; then
10756	# AIX 5 now supports IA64 processor
10757	lt_prog_compiler_static='-Bstatic'
10758      fi
10759      lt_prog_compiler_pic='-fPIC'
10760      ;;
10761
10762    amigaos*)
10763      case $host_cpu in
10764      powerpc)
10765            # see comment about AmigaOS4 .so support
10766            lt_prog_compiler_pic='-fPIC'
10767        ;;
10768      m68k)
10769            # FIXME: we need at least 68020 code to build shared libraries, but
10770            # adding the '-m68020' flag to GCC prevents building anything better,
10771            # like '-m68040'.
10772            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10773        ;;
10774      esac
10775      ;;
10776
10777    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10778      # PIC is the default for these OSes.
10779      ;;
10780
10781    mingw* | cygwin* | pw32* | os2* | cegcc*)
10782      # This hack is so that the source file can tell whether it is being
10783      # built for inclusion in a dll (and should export symbols for example).
10784      # Although the cygwin gcc ignores -fPIC, still need this for old-style
10785      # (--disable-auto-import) libraries
10786      lt_prog_compiler_pic='-DDLL_EXPORT'
10787      case $host_os in
10788      os2*)
10789	lt_prog_compiler_static='$wl-static'
10790	;;
10791      esac
10792      ;;
10793
10794    darwin* | rhapsody*)
10795      # PIC is the default on this platform
10796      # Common symbols not allowed in MH_DYLIB files
10797      lt_prog_compiler_pic='-fno-common'
10798      ;;
10799
10800    haiku*)
10801      # PIC is the default for Haiku.
10802      # The "-static" flag exists, but is broken.
10803      lt_prog_compiler_static=
10804      ;;
10805
10806    hpux*)
10807      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10808      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10809      # sets the default TLS model and affects inlining.
10810      case $host_cpu in
10811      hppa*64*)
10812	# +Z the default
10813	;;
10814      *)
10815	lt_prog_compiler_pic='-fPIC'
10816	;;
10817      esac
10818      ;;
10819
10820    interix[3-9]*)
10821      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10822      # Instead, we relocate shared libraries at runtime.
10823      ;;
10824
10825    msdosdjgpp*)
10826      # Just because we use GCC doesn't mean we suddenly get shared libraries
10827      # on systems that don't support them.
10828      lt_prog_compiler_can_build_shared=no
10829      enable_shared=no
10830      ;;
10831
10832    *nto* | *qnx*)
10833      # QNX uses GNU C++, but need to define -shared option too, otherwise
10834      # it will coredump.
10835      lt_prog_compiler_pic='-fPIC -shared'
10836      ;;
10837
10838    sysv4*MP*)
10839      if test -d /usr/nec; then
10840	lt_prog_compiler_pic=-Kconform_pic
10841      fi
10842      ;;
10843
10844    *)
10845      lt_prog_compiler_pic='-fPIC'
10846      ;;
10847    esac
10848
10849    case $cc_basename in
10850    nvcc*) # Cuda Compiler Driver 2.2
10851      lt_prog_compiler_wl='-Xlinker '
10852      if test -n "$lt_prog_compiler_pic"; then
10853        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10854      fi
10855      ;;
10856    esac
10857  else
10858    # PORTME Check for flag to pass linker flags through the system compiler.
10859    case $host_os in
10860    aix*)
10861      lt_prog_compiler_wl='-Wl,'
10862      if test ia64 = "$host_cpu"; then
10863	# AIX 5 now supports IA64 processor
10864	lt_prog_compiler_static='-Bstatic'
10865      else
10866	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10867      fi
10868      ;;
10869
10870    darwin* | rhapsody*)
10871      # PIC is the default on this platform
10872      # Common symbols not allowed in MH_DYLIB files
10873      lt_prog_compiler_pic='-fno-common'
10874      case $cc_basename in
10875      nagfor*)
10876        # NAG Fortran compiler
10877        lt_prog_compiler_wl='-Wl,-Wl,,'
10878        lt_prog_compiler_pic='-PIC'
10879        lt_prog_compiler_static='-Bstatic'
10880        ;;
10881      esac
10882      ;;
10883
10884    mingw* | cygwin* | pw32* | os2* | cegcc*)
10885      # This hack is so that the source file can tell whether it is being
10886      # built for inclusion in a dll (and should export symbols for example).
10887      lt_prog_compiler_pic='-DDLL_EXPORT'
10888      case $host_os in
10889      os2*)
10890	lt_prog_compiler_static='$wl-static'
10891	;;
10892      esac
10893      ;;
10894
10895    hpux9* | hpux10* | hpux11*)
10896      lt_prog_compiler_wl='-Wl,'
10897      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10898      # not for PA HP-UX.
10899      case $host_cpu in
10900      hppa*64*|ia64*)
10901	# +Z the default
10902	;;
10903      *)
10904	lt_prog_compiler_pic='+Z'
10905	;;
10906      esac
10907      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10908      lt_prog_compiler_static='$wl-a ${wl}archive'
10909      ;;
10910
10911    irix5* | irix6* | nonstopux*)
10912      lt_prog_compiler_wl='-Wl,'
10913      # PIC (with -KPIC) is the default.
10914      lt_prog_compiler_static='-non_shared'
10915      ;;
10916
10917    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10918      case $cc_basename in
10919      # old Intel for x86_64, which still supported -KPIC.
10920      ecc*)
10921	lt_prog_compiler_wl='-Wl,'
10922	lt_prog_compiler_pic='-KPIC'
10923	lt_prog_compiler_static='-static'
10924        ;;
10925      # icc used to be incompatible with GCC.
10926      # ICC 10 doesn't accept -KPIC any more.
10927      icc* | ifort*)
10928	lt_prog_compiler_wl='-Wl,'
10929	lt_prog_compiler_pic='-fPIC'
10930	lt_prog_compiler_static='-static'
10931        ;;
10932      # Lahey Fortran 8.1.
10933      lf95*)
10934	lt_prog_compiler_wl='-Wl,'
10935	lt_prog_compiler_pic='--shared'
10936	lt_prog_compiler_static='--static'
10937	;;
10938      nagfor*)
10939	# NAG Fortran compiler
10940	lt_prog_compiler_wl='-Wl,-Wl,,'
10941	lt_prog_compiler_pic='-PIC'
10942	lt_prog_compiler_static='-Bstatic'
10943	;;
10944      tcc*)
10945	# Fabrice Bellard et al's Tiny C Compiler
10946	lt_prog_compiler_wl='-Wl,'
10947	lt_prog_compiler_pic='-fPIC'
10948	lt_prog_compiler_static='-static'
10949	;;
10950      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10951        # Portland Group compilers (*not* the Pentium gcc compiler,
10952	# which looks to be a dead project)
10953	lt_prog_compiler_wl='-Wl,'
10954	lt_prog_compiler_pic='-fpic'
10955	lt_prog_compiler_static='-Bstatic'
10956        ;;
10957      ccc*)
10958        lt_prog_compiler_wl='-Wl,'
10959        # All Alpha code is PIC.
10960        lt_prog_compiler_static='-non_shared'
10961        ;;
10962      xl* | bgxl* | bgf* | mpixl*)
10963	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10964	lt_prog_compiler_wl='-Wl,'
10965	lt_prog_compiler_pic='-qpic'
10966	lt_prog_compiler_static='-qstaticlink'
10967	;;
10968      *)
10969	case `$CC -V 2>&1 | sed 5q` in
10970	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10971	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10972	  lt_prog_compiler_pic='-KPIC'
10973	  lt_prog_compiler_static='-Bstatic'
10974	  lt_prog_compiler_wl=''
10975	  ;;
10976	*Sun\ F* | *Sun*Fortran*)
10977	  lt_prog_compiler_pic='-KPIC'
10978	  lt_prog_compiler_static='-Bstatic'
10979	  lt_prog_compiler_wl='-Qoption ld '
10980	  ;;
10981	*Sun\ C*)
10982	  # Sun C 5.9
10983	  lt_prog_compiler_pic='-KPIC'
10984	  lt_prog_compiler_static='-Bstatic'
10985	  lt_prog_compiler_wl='-Wl,'
10986	  ;;
10987        *Intel*\ [CF]*Compiler*)
10988	  lt_prog_compiler_wl='-Wl,'
10989	  lt_prog_compiler_pic='-fPIC'
10990	  lt_prog_compiler_static='-static'
10991	  ;;
10992	*Portland\ Group*)
10993	  lt_prog_compiler_wl='-Wl,'
10994	  lt_prog_compiler_pic='-fpic'
10995	  lt_prog_compiler_static='-Bstatic'
10996	  ;;
10997	esac
10998	;;
10999      esac
11000      ;;
11001
11002    newsos6)
11003      lt_prog_compiler_pic='-KPIC'
11004      lt_prog_compiler_static='-Bstatic'
11005      ;;
11006
11007    *nto* | *qnx*)
11008      # QNX uses GNU C++, but need to define -shared option too, otherwise
11009      # it will coredump.
11010      lt_prog_compiler_pic='-fPIC -shared'
11011      ;;
11012
11013    osf3* | osf4* | osf5*)
11014      lt_prog_compiler_wl='-Wl,'
11015      # All OSF/1 code is PIC.
11016      lt_prog_compiler_static='-non_shared'
11017      ;;
11018
11019    rdos*)
11020      lt_prog_compiler_static='-non_shared'
11021      ;;
11022
11023    solaris*)
11024      lt_prog_compiler_pic='-KPIC'
11025      lt_prog_compiler_static='-Bstatic'
11026      case $cc_basename in
11027      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11028	lt_prog_compiler_wl='-Qoption ld ';;
11029      *)
11030	lt_prog_compiler_wl='-Wl,';;
11031      esac
11032      ;;
11033
11034    sunos4*)
11035      lt_prog_compiler_wl='-Qoption ld '
11036      lt_prog_compiler_pic='-PIC'
11037      lt_prog_compiler_static='-Bstatic'
11038      ;;
11039
11040    sysv4 | sysv4.2uw2* | sysv4.3*)
11041      lt_prog_compiler_wl='-Wl,'
11042      lt_prog_compiler_pic='-KPIC'
11043      lt_prog_compiler_static='-Bstatic'
11044      ;;
11045
11046    sysv4*MP*)
11047      if test -d /usr/nec; then
11048	lt_prog_compiler_pic='-Kconform_pic'
11049	lt_prog_compiler_static='-Bstatic'
11050      fi
11051      ;;
11052
11053    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11054      lt_prog_compiler_wl='-Wl,'
11055      lt_prog_compiler_pic='-KPIC'
11056      lt_prog_compiler_static='-Bstatic'
11057      ;;
11058
11059    unicos*)
11060      lt_prog_compiler_wl='-Wl,'
11061      lt_prog_compiler_can_build_shared=no
11062      ;;
11063
11064    uts4*)
11065      lt_prog_compiler_pic='-pic'
11066      lt_prog_compiler_static='-Bstatic'
11067      ;;
11068
11069    *)
11070      lt_prog_compiler_can_build_shared=no
11071      ;;
11072    esac
11073  fi
11074
11075case $host_os in
11076  # For platforms that do not support PIC, -DPIC is meaningless:
11077  *djgpp*)
11078    lt_prog_compiler_pic=
11079    ;;
11080  *)
11081    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11082    ;;
11083esac
11084
11085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11086$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11087if ${lt_cv_prog_compiler_pic+:} false; then :
11088  $as_echo_n "(cached) " >&6
11089else
11090  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11091fi
11092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11093$as_echo "$lt_cv_prog_compiler_pic" >&6; }
11094lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11095
11096#
11097# Check to make sure the PIC flag actually works.
11098#
11099if test -n "$lt_prog_compiler_pic"; then
11100  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11101$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11102if ${lt_cv_prog_compiler_pic_works+:} false; then :
11103  $as_echo_n "(cached) " >&6
11104else
11105  lt_cv_prog_compiler_pic_works=no
11106   ac_outfile=conftest.$ac_objext
11107   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11108   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
11109   # Insert the option either (1) after the last *FLAGS variable, or
11110   # (2) before a word containing "conftest.", or (3) at the end.
11111   # Note that $ac_compile itself does not contain backslashes and begins
11112   # with a dollar sign (not a hyphen), so the echo should work correctly.
11113   # The option is referenced via a variable to avoid confusing sed.
11114   lt_compile=`echo "$ac_compile" | $SED \
11115   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11116   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11117   -e 's:$: $lt_compiler_flag:'`
11118   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11119   (eval "$lt_compile" 2>conftest.err)
11120   ac_status=$?
11121   cat conftest.err >&5
11122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123   if (exit $ac_status) && test -s "$ac_outfile"; then
11124     # The compiler can only warn and ignore the option if not recognized
11125     # So say no if there are warnings other than the usual output.
11126     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11127     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11128     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11129       lt_cv_prog_compiler_pic_works=yes
11130     fi
11131   fi
11132   $RM conftest*
11133
11134fi
11135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11136$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11137
11138if test yes = "$lt_cv_prog_compiler_pic_works"; then
11139    case $lt_prog_compiler_pic in
11140     "" | " "*) ;;
11141     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11142     esac
11143else
11144    lt_prog_compiler_pic=
11145     lt_prog_compiler_can_build_shared=no
11146fi
11147
11148fi
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160#
11161# Check to make sure the static flag actually works.
11162#
11163wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11165$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11166if ${lt_cv_prog_compiler_static_works+:} false; then :
11167  $as_echo_n "(cached) " >&6
11168else
11169  lt_cv_prog_compiler_static_works=no
11170   save_LDFLAGS=$LDFLAGS
11171   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11172   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11173   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11174     # The linker can only warn and ignore the option if not recognized
11175     # So say no if there are warnings
11176     if test -s conftest.err; then
11177       # Append any errors to the config.log.
11178       cat conftest.err 1>&5
11179       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11180       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11181       if diff conftest.exp conftest.er2 >/dev/null; then
11182         lt_cv_prog_compiler_static_works=yes
11183       fi
11184     else
11185       lt_cv_prog_compiler_static_works=yes
11186     fi
11187   fi
11188   $RM -r conftest*
11189   LDFLAGS=$save_LDFLAGS
11190
11191fi
11192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11193$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11194
11195if test yes = "$lt_cv_prog_compiler_static_works"; then
11196    :
11197else
11198    lt_prog_compiler_static=
11199fi
11200
11201
11202
11203
11204
11205
11206
11207  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11208$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11209if ${lt_cv_prog_compiler_c_o+:} false; then :
11210  $as_echo_n "(cached) " >&6
11211else
11212  lt_cv_prog_compiler_c_o=no
11213   $RM -r conftest 2>/dev/null
11214   mkdir conftest
11215   cd conftest
11216   mkdir out
11217   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11218
11219   lt_compiler_flag="-o out/conftest2.$ac_objext"
11220   # Insert the option either (1) after the last *FLAGS variable, or
11221   # (2) before a word containing "conftest.", or (3) at the end.
11222   # Note that $ac_compile itself does not contain backslashes and begins
11223   # with a dollar sign (not a hyphen), so the echo should work correctly.
11224   lt_compile=`echo "$ac_compile" | $SED \
11225   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11226   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11227   -e 's:$: $lt_compiler_flag:'`
11228   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11229   (eval "$lt_compile" 2>out/conftest.err)
11230   ac_status=$?
11231   cat out/conftest.err >&5
11232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11234   then
11235     # The compiler can only warn and ignore the option if not recognized
11236     # So say no if there are warnings
11237     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11238     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11239     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11240       lt_cv_prog_compiler_c_o=yes
11241     fi
11242   fi
11243   chmod u+w . 2>&5
11244   $RM conftest*
11245   # SGI C++ compiler will create directory out/ii_files/ for
11246   # template instantiation
11247   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11248   $RM out/* && rmdir out
11249   cd ..
11250   $RM -r conftest
11251   $RM conftest*
11252
11253fi
11254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11255$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11256
11257
11258
11259
11260
11261
11262  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11263$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11264if ${lt_cv_prog_compiler_c_o+:} false; then :
11265  $as_echo_n "(cached) " >&6
11266else
11267  lt_cv_prog_compiler_c_o=no
11268   $RM -r conftest 2>/dev/null
11269   mkdir conftest
11270   cd conftest
11271   mkdir out
11272   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11273
11274   lt_compiler_flag="-o out/conftest2.$ac_objext"
11275   # Insert the option either (1) after the last *FLAGS variable, or
11276   # (2) before a word containing "conftest.", or (3) at the end.
11277   # Note that $ac_compile itself does not contain backslashes and begins
11278   # with a dollar sign (not a hyphen), so the echo should work correctly.
11279   lt_compile=`echo "$ac_compile" | $SED \
11280   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11281   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11282   -e 's:$: $lt_compiler_flag:'`
11283   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11284   (eval "$lt_compile" 2>out/conftest.err)
11285   ac_status=$?
11286   cat out/conftest.err >&5
11287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11289   then
11290     # The compiler can only warn and ignore the option if not recognized
11291     # So say no if there are warnings
11292     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11293     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11294     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11295       lt_cv_prog_compiler_c_o=yes
11296     fi
11297   fi
11298   chmod u+w . 2>&5
11299   $RM conftest*
11300   # SGI C++ compiler will create directory out/ii_files/ for
11301   # template instantiation
11302   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11303   $RM out/* && rmdir out
11304   cd ..
11305   $RM -r conftest
11306   $RM conftest*
11307
11308fi
11309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11310$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11311
11312
11313
11314
11315hard_links=nottested
11316if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11317  # do not overwrite the value of need_locks provided by the user
11318  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11319$as_echo_n "checking if we can lock with hard links... " >&6; }
11320  hard_links=yes
11321  $RM conftest*
11322  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11323  touch conftest.a
11324  ln conftest.a conftest.b 2>&5 || hard_links=no
11325  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11327$as_echo "$hard_links" >&6; }
11328  if test no = "$hard_links"; then
11329    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11330$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11331    need_locks=warn
11332  fi
11333else
11334  need_locks=no
11335fi
11336
11337
11338
11339
11340
11341
11342  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11343$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11344
11345  runpath_var=
11346  allow_undefined_flag=
11347  always_export_symbols=no
11348  archive_cmds=
11349  archive_expsym_cmds=
11350  compiler_needs_object=no
11351  enable_shared_with_static_runtimes=no
11352  export_dynamic_flag_spec=
11353  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11354  hardcode_automatic=no
11355  hardcode_direct=no
11356  hardcode_direct_absolute=no
11357  hardcode_libdir_flag_spec=
11358  hardcode_libdir_separator=
11359  hardcode_minus_L=no
11360  hardcode_shlibpath_var=unsupported
11361  inherit_rpath=no
11362  link_all_deplibs=unknown
11363  module_cmds=
11364  module_expsym_cmds=
11365  old_archive_from_new_cmds=
11366  old_archive_from_expsyms_cmds=
11367  thread_safe_flag_spec=
11368  whole_archive_flag_spec=
11369  # include_expsyms should be a list of space-separated symbols to be *always*
11370  # included in the symbol list
11371  include_expsyms=
11372  # exclude_expsyms can be an extended regexp of symbols to exclude
11373  # it will be wrapped by ' (' and ')$', so one must not match beginning or
11374  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11375  # as well as any symbol that contains 'd'.
11376  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11377  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11378  # platforms (ab)use it in PIC code, but their linkers get confused if
11379  # the symbol is explicitly referenced.  Since portable code cannot
11380  # rely on this symbol name, it's probably fine to never include it in
11381  # preloaded symbol tables.
11382  # Exclude shared library initialization/finalization symbols.
11383  extract_expsyms_cmds=
11384
11385  case $host_os in
11386  cygwin* | mingw* | pw32* | cegcc*)
11387    # FIXME: the MSVC++ port hasn't been tested in a loooong time
11388    # When not using gcc, we currently assume that we are using
11389    # Microsoft Visual C++.
11390    if test yes != "$GCC"; then
11391      with_gnu_ld=no
11392    fi
11393    ;;
11394  interix*)
11395    # we just hope/assume this is gcc and not c89 (= MSVC++)
11396    with_gnu_ld=yes
11397    ;;
11398  openbsd* | bitrig*)
11399    with_gnu_ld=no
11400    ;;
11401  esac
11402
11403  ld_shlibs=yes
11404
11405  # On some targets, GNU ld is compatible enough with the native linker
11406  # that we're better off using the native interface for both.
11407  lt_use_gnu_ld_interface=no
11408  if test yes = "$with_gnu_ld"; then
11409    case $host_os in
11410      aix*)
11411	# The AIX port of GNU ld has always aspired to compatibility
11412	# with the native linker.  However, as the warning in the GNU ld
11413	# block says, versions before 2.19.5* couldn't really create working
11414	# shared libraries, regardless of the interface used.
11415	case `$LD -v 2>&1` in
11416	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11417	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11418	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11419	  *)
11420	    lt_use_gnu_ld_interface=yes
11421	    ;;
11422	esac
11423	;;
11424      *)
11425	lt_use_gnu_ld_interface=yes
11426	;;
11427    esac
11428  fi
11429
11430  if test yes = "$lt_use_gnu_ld_interface"; then
11431    # If archive_cmds runs LD, not CC, wlarc should be empty
11432    wlarc='$wl'
11433
11434    # Set some defaults for GNU ld with shared library support. These
11435    # are reset later if shared libraries are not supported. Putting them
11436    # here allows them to be overridden if necessary.
11437    runpath_var=LD_RUN_PATH
11438    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11439    export_dynamic_flag_spec='$wl--export-dynamic'
11440    # ancient GNU ld didn't support --whole-archive et. al.
11441    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11442      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11443    else
11444      whole_archive_flag_spec=
11445    fi
11446    supports_anon_versioning=no
11447    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11448      *GNU\ gold*) supports_anon_versioning=yes ;;
11449      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11450      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11451      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11452      *\ 2.11.*) ;; # other 2.11 versions
11453      *) supports_anon_versioning=yes ;;
11454    esac
11455
11456    # See if GNU ld supports shared libraries.
11457    case $host_os in
11458    aix[3-9]*)
11459      # On AIX/PPC, the GNU linker is very broken
11460      if test ia64 != "$host_cpu"; then
11461	ld_shlibs=no
11462	cat <<_LT_EOF 1>&2
11463
11464*** Warning: the GNU linker, at least up to release 2.19, is reported
11465*** to be unable to reliably create shared libraries on AIX.
11466*** Therefore, libtool is disabling shared libraries support.  If you
11467*** really care for shared libraries, you may want to install binutils
11468*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11469*** You will then need to restart the configuration process.
11470
11471_LT_EOF
11472      fi
11473      ;;
11474
11475    amigaos*)
11476      case $host_cpu in
11477      powerpc)
11478            # see comment about AmigaOS4 .so support
11479            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11480            archive_expsym_cmds=''
11481        ;;
11482      m68k)
11483            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)'
11484            hardcode_libdir_flag_spec='-L$libdir'
11485            hardcode_minus_L=yes
11486        ;;
11487      esac
11488      ;;
11489
11490    beos*)
11491      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11492	allow_undefined_flag=unsupported
11493	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11494	# support --undefined.  This deserves some investigation.  FIXME
11495	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11496      else
11497	ld_shlibs=no
11498      fi
11499      ;;
11500
11501    cygwin* | mingw* | pw32* | cegcc*)
11502      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11503      # as there is no search path for DLLs.
11504      hardcode_libdir_flag_spec='-L$libdir'
11505      export_dynamic_flag_spec='$wl--export-all-symbols'
11506      allow_undefined_flag=unsupported
11507      always_export_symbols=no
11508      enable_shared_with_static_runtimes=yes
11509      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'
11510      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11511
11512      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11513        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11514	# If the export-symbols file already is a .def file, use it as
11515	# is; otherwise, prepend EXPORTS...
11516	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11517          cp $export_symbols $output_objdir/$soname.def;
11518        else
11519          echo EXPORTS > $output_objdir/$soname.def;
11520          cat $export_symbols >> $output_objdir/$soname.def;
11521        fi~
11522        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11523      else
11524	ld_shlibs=no
11525      fi
11526      ;;
11527
11528    haiku*)
11529      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11530      link_all_deplibs=yes
11531      ;;
11532
11533    os2*)
11534      hardcode_libdir_flag_spec='-L$libdir'
11535      hardcode_minus_L=yes
11536      allow_undefined_flag=unsupported
11537      shrext_cmds=.dll
11538      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11539	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11540	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11541	$ECHO EXPORTS >> $output_objdir/$libname.def~
11542	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11543	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11544	emximp -o $lib $output_objdir/$libname.def'
11545      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11546	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11547	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11548	$ECHO EXPORTS >> $output_objdir/$libname.def~
11549	prefix_cmds="$SED"~
11550	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11551	  prefix_cmds="$prefix_cmds -e 1d";
11552	fi~
11553	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11554	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11555	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11556	emximp -o $lib $output_objdir/$libname.def'
11557      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11558      enable_shared_with_static_runtimes=yes
11559      ;;
11560
11561    interix[3-9]*)
11562      hardcode_direct=no
11563      hardcode_shlibpath_var=no
11564      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11565      export_dynamic_flag_spec='$wl-E'
11566      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11567      # Instead, shared libraries are loaded at an image base (0x10000000 by
11568      # default) and relocated if they conflict, which is a slow very memory
11569      # consuming and fragmenting process.  To avoid this, we pick a random,
11570      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11571      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11572      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11573      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'
11574      ;;
11575
11576    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11577      tmp_diet=no
11578      if test linux-dietlibc = "$host_os"; then
11579	case $cc_basename in
11580	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
11581	esac
11582      fi
11583      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11584	 && test no = "$tmp_diet"
11585      then
11586	tmp_addflag=' $pic_flag'
11587	tmp_sharedflag='-shared'
11588	case $cc_basename,$host_cpu in
11589        pgcc*)				# Portland Group C compiler
11590	  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'
11591	  tmp_addflag=' $pic_flag'
11592	  ;;
11593	pgf77* | pgf90* | pgf95* | pgfortran*)
11594					# Portland Group f77 and f90 compilers
11595	  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'
11596	  tmp_addflag=' $pic_flag -Mnomain' ;;
11597	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
11598	  tmp_addflag=' -i_dynamic' ;;
11599	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
11600	  tmp_addflag=' -i_dynamic -nofor_main' ;;
11601	ifc* | ifort*)			# Intel Fortran compiler
11602	  tmp_addflag=' -nofor_main' ;;
11603	lf95*)				# Lahey Fortran 8.1
11604	  whole_archive_flag_spec=
11605	  tmp_sharedflag='--shared' ;;
11606        nagfor*)                        # NAGFOR 5.3
11607          tmp_sharedflag='-Wl,-shared' ;;
11608	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11609	  tmp_sharedflag='-qmkshrobj'
11610	  tmp_addflag= ;;
11611	nvcc*)	# Cuda Compiler Driver 2.2
11612	  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'
11613	  compiler_needs_object=yes
11614	  ;;
11615	esac
11616	case `$CC -V 2>&1 | sed 5q` in
11617	*Sun\ C*)			# Sun C 5.9
11618	  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'
11619	  compiler_needs_object=yes
11620	  tmp_sharedflag='-G' ;;
11621	*Sun\ F*)			# Sun Fortran 8.3
11622	  tmp_sharedflag='-G' ;;
11623	esac
11624	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11625
11626        if test yes = "$supports_anon_versioning"; then
11627          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11628            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11629            echo "local: *; };" >> $output_objdir/$libname.ver~
11630            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11631        fi
11632
11633	case $cc_basename in
11634	tcc*)
11635	  export_dynamic_flag_spec='-rdynamic'
11636	  ;;
11637	xlf* | bgf* | bgxlf* | mpixlf*)
11638	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11639	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11640	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11641	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11642	  if test yes = "$supports_anon_versioning"; then
11643	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11644              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11645              echo "local: *; };" >> $output_objdir/$libname.ver~
11646              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11647	  fi
11648	  ;;
11649	esac
11650      else
11651        ld_shlibs=no
11652      fi
11653      ;;
11654
11655    netbsd*)
11656      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11657	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11658	wlarc=
11659      else
11660	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11661	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11662      fi
11663      ;;
11664
11665    solaris*)
11666      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11667	ld_shlibs=no
11668	cat <<_LT_EOF 1>&2
11669
11670*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11671*** create shared libraries on Solaris systems.  Therefore, libtool
11672*** is disabling shared libraries support.  We urge you to upgrade GNU
11673*** binutils to release 2.9.1 or newer.  Another option is to modify
11674*** your PATH or compiler configuration so that the native linker is
11675*** used, and then restart.
11676
11677_LT_EOF
11678      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11679	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11680	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11681      else
11682	ld_shlibs=no
11683      fi
11684      ;;
11685
11686    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11687      case `$LD -v 2>&1` in
11688        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11689	ld_shlibs=no
11690	cat <<_LT_EOF 1>&2
11691
11692*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11693*** reliably create shared libraries on SCO systems.  Therefore, libtool
11694*** is disabling shared libraries support.  We urge you to upgrade GNU
11695*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11696*** your PATH or compiler configuration so that the native linker is
11697*** used, and then restart.
11698
11699_LT_EOF
11700	;;
11701	*)
11702	  # For security reasons, it is highly recommended that you always
11703	  # use absolute paths for naming shared libraries, and exclude the
11704	  # DT_RUNPATH tag from executables and libraries.  But doing so
11705	  # requires that you compile everything twice, which is a pain.
11706	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11707	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11708	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11709	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11710	  else
11711	    ld_shlibs=no
11712	  fi
11713	;;
11714      esac
11715      ;;
11716
11717    sunos4*)
11718      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11719      wlarc=
11720      hardcode_direct=yes
11721      hardcode_shlibpath_var=no
11722      ;;
11723
11724    *)
11725      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11726	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11727	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11728      else
11729	ld_shlibs=no
11730      fi
11731      ;;
11732    esac
11733
11734    if test no = "$ld_shlibs"; then
11735      runpath_var=
11736      hardcode_libdir_flag_spec=
11737      export_dynamic_flag_spec=
11738      whole_archive_flag_spec=
11739    fi
11740  else
11741    # PORTME fill in a description of your system's linker (not GNU ld)
11742    case $host_os in
11743    aix3*)
11744      allow_undefined_flag=unsupported
11745      always_export_symbols=yes
11746      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'
11747      # Note: this linker hardcodes the directories in LIBPATH if there
11748      # are no directories specified by -L.
11749      hardcode_minus_L=yes
11750      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11751	# Neither direct hardcoding nor static linking is supported with a
11752	# broken collect2.
11753	hardcode_direct=unsupported
11754      fi
11755      ;;
11756
11757    aix[4-9]*)
11758      if test ia64 = "$host_cpu"; then
11759	# On IA64, the linker does run time linking by default, so we don't
11760	# have to do anything special.
11761	aix_use_runtimelinking=no
11762	exp_sym_flag='-Bexport'
11763	no_entry_flag=
11764      else
11765	# If we're using GNU nm, then we don't want the "-C" option.
11766	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
11767	# Without the "-l" option, or with the "-B" option, AIX nm treats
11768	# weak defined symbols like other global defined symbols, whereas
11769	# GNU nm marks them as "W".
11770	# While the 'weak' keyword is ignored in the Export File, we need
11771	# it in the Import File for the 'aix-soname' feature, so we have
11772	# to replace the "-B" option with "-P" for AIX nm.
11773	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11774	  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'
11775	else
11776	  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'
11777	fi
11778	aix_use_runtimelinking=no
11779
11780	# Test if we are trying to use run time linking or normal
11781	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11782	# have runtime linking enabled, and use it for executables.
11783	# For shared libraries, we enable/disable runtime linking
11784	# depending on the kind of the shared library created -
11785	# when "with_aix_soname,aix_use_runtimelinking" is:
11786	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
11787	# "aix,yes"  lib.so          shared, rtl:yes, for executables
11788	#            lib.a           static archive
11789	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
11790	#            lib.a(lib.so.V) shared, rtl:no,  for executables
11791	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11792	#            lib.a(lib.so.V) shared, rtl:no
11793	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
11794	#            lib.a           static archive
11795	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11796	  for ld_flag in $LDFLAGS; do
11797	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11798	    aix_use_runtimelinking=yes
11799	    break
11800	  fi
11801	  done
11802	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11803	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
11804	    # so we don't have lib.a shared libs to link our executables.
11805	    # We have to force runtime linking in this case.
11806	    aix_use_runtimelinking=yes
11807	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11808	  fi
11809	  ;;
11810	esac
11811
11812	exp_sym_flag='-bexport'
11813	no_entry_flag='-bnoentry'
11814      fi
11815
11816      # When large executables or shared objects are built, AIX ld can
11817      # have problems creating the table of contents.  If linking a library
11818      # or program results in "error TOC overflow" add -mminimal-toc to
11819      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11820      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11821
11822      archive_cmds=''
11823      hardcode_direct=yes
11824      hardcode_direct_absolute=yes
11825      hardcode_libdir_separator=':'
11826      link_all_deplibs=yes
11827      file_list_spec='$wl-f,'
11828      case $with_aix_soname,$aix_use_runtimelinking in
11829      aix,*) ;; # traditional, no import file
11830      svr4,* | *,yes) # use import file
11831	# The Import File defines what to hardcode.
11832	hardcode_direct=no
11833	hardcode_direct_absolute=no
11834	;;
11835      esac
11836
11837      if test yes = "$GCC"; then
11838	case $host_os in aix4.[012]|aix4.[012].*)
11839	# We only want to do this on AIX 4.2 and lower, the check
11840	# below for broken collect2 doesn't work under 4.3+
11841	  collect2name=`$CC -print-prog-name=collect2`
11842	  if test -f "$collect2name" &&
11843	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11844	  then
11845	  # We have reworked collect2
11846	  :
11847	  else
11848	  # We have old collect2
11849	  hardcode_direct=unsupported
11850	  # It fails to find uninstalled libraries when the uninstalled
11851	  # path is not listed in the libpath.  Setting hardcode_minus_L
11852	  # to unsupported forces relinking
11853	  hardcode_minus_L=yes
11854	  hardcode_libdir_flag_spec='-L$libdir'
11855	  hardcode_libdir_separator=
11856	  fi
11857	  ;;
11858	esac
11859	shared_flag='-shared'
11860	if test yes = "$aix_use_runtimelinking"; then
11861	  shared_flag="$shared_flag "'$wl-G'
11862	fi
11863	# Need to ensure runtime linking is disabled for the traditional
11864	# shared library, or the linker may eventually find shared libraries
11865	# /with/ Import File - we do not want to mix them.
11866	shared_flag_aix='-shared'
11867	shared_flag_svr4='-shared $wl-G'
11868      else
11869	# not using gcc
11870	if test ia64 = "$host_cpu"; then
11871	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11872	# chokes on -Wl,-G. The following line is correct:
11873	  shared_flag='-G'
11874	else
11875	  if test yes = "$aix_use_runtimelinking"; then
11876	    shared_flag='$wl-G'
11877	  else
11878	    shared_flag='$wl-bM:SRE'
11879	  fi
11880	  shared_flag_aix='$wl-bM:SRE'
11881	  shared_flag_svr4='$wl-G'
11882	fi
11883      fi
11884
11885      export_dynamic_flag_spec='$wl-bexpall'
11886      # It seems that -bexpall does not export symbols beginning with
11887      # underscore (_), so it is better to generate a list of symbols to export.
11888      always_export_symbols=yes
11889      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11890	# Warning - without using the other runtime loading flags (-brtl),
11891	# -berok will link without error, but may produce a broken library.
11892	allow_undefined_flag='-berok'
11893        # Determine the default libpath from the value encoded in an
11894        # empty executable.
11895        if test set = "${lt_cv_aix_libpath+set}"; then
11896  aix_libpath=$lt_cv_aix_libpath
11897else
11898  if ${lt_cv_aix_libpath_+:} false; then :
11899  $as_echo_n "(cached) " >&6
11900else
11901  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11902/* end confdefs.h.  */
11903
11904int
11905main ()
11906{
11907
11908  ;
11909  return 0;
11910}
11911_ACEOF
11912if ac_fn_c_try_link "$LINENO"; then :
11913
11914  lt_aix_libpath_sed='
11915      /Import File Strings/,/^$/ {
11916	  /^0/ {
11917	      s/^0  *\([^ ]*\) *$/\1/
11918	      p
11919	  }
11920      }'
11921  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11922  # Check for a 64-bit object if we didn't find anything.
11923  if test -z "$lt_cv_aix_libpath_"; then
11924    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11925  fi
11926fi
11927rm -f core conftest.err conftest.$ac_objext \
11928    conftest$ac_exeext conftest.$ac_ext
11929  if test -z "$lt_cv_aix_libpath_"; then
11930    lt_cv_aix_libpath_=/usr/lib:/lib
11931  fi
11932
11933fi
11934
11935  aix_libpath=$lt_cv_aix_libpath_
11936fi
11937
11938        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11939        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
11940      else
11941	if test ia64 = "$host_cpu"; then
11942	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11943	  allow_undefined_flag="-z nodefs"
11944	  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"
11945	else
11946	 # Determine the default libpath from the value encoded in an
11947	 # empty executable.
11948	 if test set = "${lt_cv_aix_libpath+set}"; then
11949  aix_libpath=$lt_cv_aix_libpath
11950else
11951  if ${lt_cv_aix_libpath_+:} false; then :
11952  $as_echo_n "(cached) " >&6
11953else
11954  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11955/* end confdefs.h.  */
11956
11957int
11958main ()
11959{
11960
11961  ;
11962  return 0;
11963}
11964_ACEOF
11965if ac_fn_c_try_link "$LINENO"; then :
11966
11967  lt_aix_libpath_sed='
11968      /Import File Strings/,/^$/ {
11969	  /^0/ {
11970	      s/^0  *\([^ ]*\) *$/\1/
11971	      p
11972	  }
11973      }'
11974  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11975  # Check for a 64-bit object if we didn't find anything.
11976  if test -z "$lt_cv_aix_libpath_"; then
11977    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11978  fi
11979fi
11980rm -f core conftest.err conftest.$ac_objext \
11981    conftest$ac_exeext conftest.$ac_ext
11982  if test -z "$lt_cv_aix_libpath_"; then
11983    lt_cv_aix_libpath_=/usr/lib:/lib
11984  fi
11985
11986fi
11987
11988  aix_libpath=$lt_cv_aix_libpath_
11989fi
11990
11991	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11992	  # Warning - without using the other run time loading flags,
11993	  # -berok will link without error, but may produce a broken library.
11994	  no_undefined_flag=' $wl-bernotok'
11995	  allow_undefined_flag=' $wl-berok'
11996	  if test yes = "$with_gnu_ld"; then
11997	    # We only use this code for GNU lds that support --whole-archive.
11998	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11999	  else
12000	    # Exported symbols can be pulled into shared objects from archives
12001	    whole_archive_flag_spec='$convenience'
12002	  fi
12003	  archive_cmds_need_lc=yes
12004	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12005	  # -brtl affects multiple linker settings, -berok does not and is overridden later
12006	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12007	  if test svr4 != "$with_aix_soname"; then
12008	    # This is similar to how AIX traditionally builds its shared libraries.
12009	    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'
12010	  fi
12011	  if test aix != "$with_aix_soname"; then
12012	    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'
12013	  else
12014	    # used by -dlpreopen to get the symbols
12015	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
12016	  fi
12017	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12018	fi
12019      fi
12020      ;;
12021
12022    amigaos*)
12023      case $host_cpu in
12024      powerpc)
12025            # see comment about AmigaOS4 .so support
12026            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12027            archive_expsym_cmds=''
12028        ;;
12029      m68k)
12030            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)'
12031            hardcode_libdir_flag_spec='-L$libdir'
12032            hardcode_minus_L=yes
12033        ;;
12034      esac
12035      ;;
12036
12037    bsdi[45]*)
12038      export_dynamic_flag_spec=-rdynamic
12039      ;;
12040
12041    cygwin* | mingw* | pw32* | cegcc*)
12042      # When not using gcc, we currently assume that we are using
12043      # Microsoft Visual C++.
12044      # hardcode_libdir_flag_spec is actually meaningless, as there is
12045      # no search path for DLLs.
12046      case $cc_basename in
12047      cl*)
12048	# Native MSVC
12049	hardcode_libdir_flag_spec=' '
12050	allow_undefined_flag=unsupported
12051	always_export_symbols=yes
12052	file_list_spec='@'
12053	# Tell ltmain to make .lib files, not .a files.
12054	libext=lib
12055	# Tell ltmain to make .dll files, not .so files.
12056	shrext_cmds=.dll
12057	# FIXME: Setting linknames here is a bad hack.
12058	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12059	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
12060            cp "$export_symbols" "$output_objdir/$soname.def";
12061            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12062          else
12063            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12064          fi~
12065          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12066          linknames='
12067	# The linker will not automatically build a static lib if we build a DLL.
12068	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12069	enable_shared_with_static_runtimes=yes
12070	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12071	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12072	# Don't use ranlib
12073	old_postinstall_cmds='chmod 644 $oldlib'
12074	postlink_cmds='lt_outputfile="@OUTPUT@"~
12075          lt_tool_outputfile="@TOOL_OUTPUT@"~
12076          case $lt_outputfile in
12077            *.exe|*.EXE) ;;
12078            *)
12079              lt_outputfile=$lt_outputfile.exe
12080              lt_tool_outputfile=$lt_tool_outputfile.exe
12081              ;;
12082          esac~
12083          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12084            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12085            $RM "$lt_outputfile.manifest";
12086          fi'
12087	;;
12088      *)
12089	# Assume MSVC wrapper
12090	hardcode_libdir_flag_spec=' '
12091	allow_undefined_flag=unsupported
12092	# Tell ltmain to make .lib files, not .a files.
12093	libext=lib
12094	# Tell ltmain to make .dll files, not .so files.
12095	shrext_cmds=.dll
12096	# FIXME: Setting linknames here is a bad hack.
12097	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12098	# The linker will automatically build a .lib file if we build a DLL.
12099	old_archive_from_new_cmds='true'
12100	# FIXME: Should let the user specify the lib program.
12101	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12102	enable_shared_with_static_runtimes=yes
12103	;;
12104      esac
12105      ;;
12106
12107    darwin* | rhapsody*)
12108
12109
12110  archive_cmds_need_lc=no
12111  hardcode_direct=no
12112  hardcode_automatic=yes
12113  hardcode_shlibpath_var=unsupported
12114  if test yes = "$lt_cv_ld_force_load"; then
12115    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\"`'
12116
12117  else
12118    whole_archive_flag_spec=''
12119  fi
12120  link_all_deplibs=yes
12121  allow_undefined_flag=$_lt_dar_allow_undefined
12122  case $cc_basename in
12123     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
12124     *) _lt_dar_can_shared=$GCC ;;
12125  esac
12126  if test yes = "$_lt_dar_can_shared"; then
12127    output_verbose_link_cmd=func_echo_all
12128    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12129    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12130    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"
12131    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"
12132
12133  else
12134  ld_shlibs=no
12135  fi
12136
12137      ;;
12138
12139    dgux*)
12140      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12141      hardcode_libdir_flag_spec='-L$libdir'
12142      hardcode_shlibpath_var=no
12143      ;;
12144
12145    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12146    # support.  Future versions do this automatically, but an explicit c++rt0.o
12147    # does not break anything, and helps significantly (at the cost of a little
12148    # extra space).
12149    freebsd2.2*)
12150      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12151      hardcode_libdir_flag_spec='-R$libdir'
12152      hardcode_direct=yes
12153      hardcode_shlibpath_var=no
12154      ;;
12155
12156    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12157    freebsd2.*)
12158      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12159      hardcode_direct=yes
12160      hardcode_minus_L=yes
12161      hardcode_shlibpath_var=no
12162      ;;
12163
12164    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12165    freebsd* | dragonfly*)
12166      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12167      hardcode_libdir_flag_spec='-R$libdir'
12168      hardcode_direct=yes
12169      hardcode_shlibpath_var=no
12170      ;;
12171
12172    hpux9*)
12173      if test yes = "$GCC"; then
12174	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'
12175      else
12176	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'
12177      fi
12178      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12179      hardcode_libdir_separator=:
12180      hardcode_direct=yes
12181
12182      # hardcode_minus_L: Not really in the search PATH,
12183      # but as the default location of the library.
12184      hardcode_minus_L=yes
12185      export_dynamic_flag_spec='$wl-E'
12186      ;;
12187
12188    hpux10*)
12189      if test yes,no = "$GCC,$with_gnu_ld"; then
12190	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12191      else
12192	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12193      fi
12194      if test no = "$with_gnu_ld"; then
12195	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12196	hardcode_libdir_separator=:
12197	hardcode_direct=yes
12198	hardcode_direct_absolute=yes
12199	export_dynamic_flag_spec='$wl-E'
12200	# hardcode_minus_L: Not really in the search PATH,
12201	# but as the default location of the library.
12202	hardcode_minus_L=yes
12203      fi
12204      ;;
12205
12206    hpux11*)
12207      if test yes,no = "$GCC,$with_gnu_ld"; then
12208	case $host_cpu in
12209	hppa*64*)
12210	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12211	  ;;
12212	ia64*)
12213	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12214	  ;;
12215	*)
12216	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12217	  ;;
12218	esac
12219      else
12220	case $host_cpu in
12221	hppa*64*)
12222	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12223	  ;;
12224	ia64*)
12225	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12226	  ;;
12227	*)
12228
12229	  # Older versions of the 11.00 compiler do not understand -b yet
12230	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12231	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12232$as_echo_n "checking if $CC understands -b... " >&6; }
12233if ${lt_cv_prog_compiler__b+:} false; then :
12234  $as_echo_n "(cached) " >&6
12235else
12236  lt_cv_prog_compiler__b=no
12237   save_LDFLAGS=$LDFLAGS
12238   LDFLAGS="$LDFLAGS -b"
12239   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12240   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12241     # The linker can only warn and ignore the option if not recognized
12242     # So say no if there are warnings
12243     if test -s conftest.err; then
12244       # Append any errors to the config.log.
12245       cat conftest.err 1>&5
12246       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12247       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12248       if diff conftest.exp conftest.er2 >/dev/null; then
12249         lt_cv_prog_compiler__b=yes
12250       fi
12251     else
12252       lt_cv_prog_compiler__b=yes
12253     fi
12254   fi
12255   $RM -r conftest*
12256   LDFLAGS=$save_LDFLAGS
12257
12258fi
12259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12260$as_echo "$lt_cv_prog_compiler__b" >&6; }
12261
12262if test yes = "$lt_cv_prog_compiler__b"; then
12263    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12264else
12265    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12266fi
12267
12268	  ;;
12269	esac
12270      fi
12271      if test no = "$with_gnu_ld"; then
12272	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12273	hardcode_libdir_separator=:
12274
12275	case $host_cpu in
12276	hppa*64*|ia64*)
12277	  hardcode_direct=no
12278	  hardcode_shlibpath_var=no
12279	  ;;
12280	*)
12281	  hardcode_direct=yes
12282	  hardcode_direct_absolute=yes
12283	  export_dynamic_flag_spec='$wl-E'
12284
12285	  # hardcode_minus_L: Not really in the search PATH,
12286	  # but as the default location of the library.
12287	  hardcode_minus_L=yes
12288	  ;;
12289	esac
12290      fi
12291      ;;
12292
12293    irix5* | irix6* | nonstopux*)
12294      if test yes = "$GCC"; then
12295	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'
12296	# Try to use the -exported_symbol ld option, if it does not
12297	# work, assume that -exports_file does not work either and
12298	# implicitly export all symbols.
12299	# This should be the same for all languages, so no per-tag cache variable.
12300	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12301$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12302if ${lt_cv_irix_exported_symbol+:} false; then :
12303  $as_echo_n "(cached) " >&6
12304else
12305  save_LDFLAGS=$LDFLAGS
12306	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12307	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12308/* end confdefs.h.  */
12309int foo (void) { return 0; }
12310_ACEOF
12311if ac_fn_c_try_link "$LINENO"; then :
12312  lt_cv_irix_exported_symbol=yes
12313else
12314  lt_cv_irix_exported_symbol=no
12315fi
12316rm -f core conftest.err conftest.$ac_objext \
12317    conftest$ac_exeext conftest.$ac_ext
12318           LDFLAGS=$save_LDFLAGS
12319fi
12320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12321$as_echo "$lt_cv_irix_exported_symbol" >&6; }
12322	if test yes = "$lt_cv_irix_exported_symbol"; then
12323          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'
12324	fi
12325      else
12326	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'
12327	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'
12328      fi
12329      archive_cmds_need_lc='no'
12330      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12331      hardcode_libdir_separator=:
12332      inherit_rpath=yes
12333      link_all_deplibs=yes
12334      ;;
12335
12336    linux*)
12337      case $cc_basename in
12338      tcc*)
12339	# Fabrice Bellard et al's Tiny C Compiler
12340	ld_shlibs=yes
12341	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12342	;;
12343      esac
12344      ;;
12345
12346    netbsd*)
12347      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12348	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12349      else
12350	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12351      fi
12352      hardcode_libdir_flag_spec='-R$libdir'
12353      hardcode_direct=yes
12354      hardcode_shlibpath_var=no
12355      ;;
12356
12357    newsos6)
12358      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12359      hardcode_direct=yes
12360      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12361      hardcode_libdir_separator=:
12362      hardcode_shlibpath_var=no
12363      ;;
12364
12365    *nto* | *qnx*)
12366      ;;
12367
12368    openbsd* | bitrig*)
12369      if test -f /usr/libexec/ld.so; then
12370	hardcode_direct=yes
12371	hardcode_shlibpath_var=no
12372	hardcode_direct_absolute=yes
12373	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12374	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12375	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12376	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12377	  export_dynamic_flag_spec='$wl-E'
12378	else
12379	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12380	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12381	fi
12382      else
12383	ld_shlibs=no
12384      fi
12385      ;;
12386
12387    os2*)
12388      hardcode_libdir_flag_spec='-L$libdir'
12389      hardcode_minus_L=yes
12390      allow_undefined_flag=unsupported
12391      shrext_cmds=.dll
12392      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12393	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12394	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12395	$ECHO EXPORTS >> $output_objdir/$libname.def~
12396	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12397	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12398	emximp -o $lib $output_objdir/$libname.def'
12399      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12400	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12401	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12402	$ECHO EXPORTS >> $output_objdir/$libname.def~
12403	prefix_cmds="$SED"~
12404	if test EXPORTS = "`$SED 1q $export_symbols`"; then
12405	  prefix_cmds="$prefix_cmds -e 1d";
12406	fi~
12407	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12408	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12409	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12410	emximp -o $lib $output_objdir/$libname.def'
12411      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12412      enable_shared_with_static_runtimes=yes
12413      ;;
12414
12415    osf3*)
12416      if test yes = "$GCC"; then
12417	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12418	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'
12419      else
12420	allow_undefined_flag=' -expect_unresolved \*'
12421	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'
12422      fi
12423      archive_cmds_need_lc='no'
12424      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12425      hardcode_libdir_separator=:
12426      ;;
12427
12428    osf4* | osf5*)	# as osf3* with the addition of -msym flag
12429      if test yes = "$GCC"; then
12430	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12431	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'
12432	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12433      else
12434	allow_undefined_flag=' -expect_unresolved \*'
12435	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'
12436	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~
12437          $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'
12438
12439	# Both c and cxx compiler support -rpath directly
12440	hardcode_libdir_flag_spec='-rpath $libdir'
12441      fi
12442      archive_cmds_need_lc='no'
12443      hardcode_libdir_separator=:
12444      ;;
12445
12446    solaris*)
12447      no_undefined_flag=' -z defs'
12448      if test yes = "$GCC"; then
12449	wlarc='$wl'
12450	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12451	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12452          $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'
12453      else
12454	case `$CC -V 2>&1` in
12455	*"Compilers 5.0"*)
12456	  wlarc=''
12457	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12458	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12459            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12460	  ;;
12461	*)
12462	  wlarc='$wl'
12463	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12464	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12465            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12466	  ;;
12467	esac
12468      fi
12469      hardcode_libdir_flag_spec='-R$libdir'
12470      hardcode_shlibpath_var=no
12471      case $host_os in
12472      solaris2.[0-5] | solaris2.[0-5].*) ;;
12473      *)
12474	# The compiler driver will combine and reorder linker options,
12475	# but understands '-z linker_flag'.  GCC discards it without '$wl',
12476	# but is careful enough not to reorder.
12477	# Supported since Solaris 2.6 (maybe 2.5.1?)
12478	if test yes = "$GCC"; then
12479	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12480	else
12481	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12482	fi
12483	;;
12484      esac
12485      link_all_deplibs=yes
12486      ;;
12487
12488    sunos4*)
12489      if test sequent = "$host_vendor"; then
12490	# Use $CC to link under sequent, because it throws in some extra .o
12491	# files that make .init and .fini sections work.
12492	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12493      else
12494	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12495      fi
12496      hardcode_libdir_flag_spec='-L$libdir'
12497      hardcode_direct=yes
12498      hardcode_minus_L=yes
12499      hardcode_shlibpath_var=no
12500      ;;
12501
12502    sysv4)
12503      case $host_vendor in
12504	sni)
12505	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12506	  hardcode_direct=yes # is this really true???
12507	;;
12508	siemens)
12509	  ## LD is ld it makes a PLAMLIB
12510	  ## CC just makes a GrossModule.
12511	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12512	  reload_cmds='$CC -r -o $output$reload_objs'
12513	  hardcode_direct=no
12514        ;;
12515	motorola)
12516	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12517	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12518	;;
12519      esac
12520      runpath_var='LD_RUN_PATH'
12521      hardcode_shlibpath_var=no
12522      ;;
12523
12524    sysv4.3*)
12525      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12526      hardcode_shlibpath_var=no
12527      export_dynamic_flag_spec='-Bexport'
12528      ;;
12529
12530    sysv4*MP*)
12531      if test -d /usr/nec; then
12532	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12533	hardcode_shlibpath_var=no
12534	runpath_var=LD_RUN_PATH
12535	hardcode_runpath_var=yes
12536	ld_shlibs=yes
12537      fi
12538      ;;
12539
12540    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12541      no_undefined_flag='$wl-z,text'
12542      archive_cmds_need_lc=no
12543      hardcode_shlibpath_var=no
12544      runpath_var='LD_RUN_PATH'
12545
12546      if test yes = "$GCC"; then
12547	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12548	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12549      else
12550	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12551	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12552      fi
12553      ;;
12554
12555    sysv5* | sco3.2v5* | sco5v6*)
12556      # Note: We CANNOT use -z defs as we might desire, because we do not
12557      # link with -lc, and that would cause any symbols used from libc to
12558      # always be unresolved, which means just about no library would
12559      # ever link correctly.  If we're not using GNU ld we use -z text
12560      # though, which does catch some bad symbols but isn't as heavy-handed
12561      # as -z defs.
12562      no_undefined_flag='$wl-z,text'
12563      allow_undefined_flag='$wl-z,nodefs'
12564      archive_cmds_need_lc=no
12565      hardcode_shlibpath_var=no
12566      hardcode_libdir_flag_spec='$wl-R,$libdir'
12567      hardcode_libdir_separator=':'
12568      link_all_deplibs=yes
12569      export_dynamic_flag_spec='$wl-Bexport'
12570      runpath_var='LD_RUN_PATH'
12571
12572      if test yes = "$GCC"; then
12573	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12574	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12575      else
12576	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12577	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12578      fi
12579      ;;
12580
12581    uts4*)
12582      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12583      hardcode_libdir_flag_spec='-L$libdir'
12584      hardcode_shlibpath_var=no
12585      ;;
12586
12587    *)
12588      ld_shlibs=no
12589      ;;
12590    esac
12591
12592    if test sni = "$host_vendor"; then
12593      case $host in
12594      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12595	export_dynamic_flag_spec='$wl-Blargedynsym'
12596	;;
12597      esac
12598    fi
12599  fi
12600
12601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12602$as_echo "$ld_shlibs" >&6; }
12603test no = "$ld_shlibs" && can_build_shared=no
12604
12605with_gnu_ld=$with_gnu_ld
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621#
12622# Do we need to explicitly link libc?
12623#
12624case "x$archive_cmds_need_lc" in
12625x|xyes)
12626  # Assume -lc should be added
12627  archive_cmds_need_lc=yes
12628
12629  if test yes,yes = "$GCC,$enable_shared"; then
12630    case $archive_cmds in
12631    *'~'*)
12632      # FIXME: we may have to deal with multi-command sequences.
12633      ;;
12634    '$CC '*)
12635      # Test whether the compiler implicitly links with -lc since on some
12636      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12637      # to ld, don't add -lc before -lgcc.
12638      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12639$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12640if ${lt_cv_archive_cmds_need_lc+:} false; then :
12641  $as_echo_n "(cached) " >&6
12642else
12643  $RM conftest*
12644	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12645
12646	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12647  (eval $ac_compile) 2>&5
12648  ac_status=$?
12649  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12650  test $ac_status = 0; } 2>conftest.err; then
12651	  soname=conftest
12652	  lib=conftest
12653	  libobjs=conftest.$ac_objext
12654	  deplibs=
12655	  wl=$lt_prog_compiler_wl
12656	  pic_flag=$lt_prog_compiler_pic
12657	  compiler_flags=-v
12658	  linker_flags=-v
12659	  verstring=
12660	  output_objdir=.
12661	  libname=conftest
12662	  lt_save_allow_undefined_flag=$allow_undefined_flag
12663	  allow_undefined_flag=
12664	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12665  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12666  ac_status=$?
12667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12668  test $ac_status = 0; }
12669	  then
12670	    lt_cv_archive_cmds_need_lc=no
12671	  else
12672	    lt_cv_archive_cmds_need_lc=yes
12673	  fi
12674	  allow_undefined_flag=$lt_save_allow_undefined_flag
12675	else
12676	  cat conftest.err 1>&5
12677	fi
12678	$RM conftest*
12679
12680fi
12681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12682$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12683      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12684      ;;
12685    esac
12686  fi
12687  ;;
12688esac
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12842$as_echo_n "checking dynamic linker characteristics... " >&6; }
12843
12844if test yes = "$GCC"; then
12845  case $host_os in
12846    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12847    *) lt_awk_arg='/^libraries:/' ;;
12848  esac
12849  case $host_os in
12850    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12851    *) lt_sed_strip_eq='s|=/|/|g' ;;
12852  esac
12853  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12854  case $lt_search_path_spec in
12855  *\;*)
12856    # if the path contains ";" then we assume it to be the separator
12857    # otherwise default to the standard path separator (i.e. ":") - it is
12858    # assumed that no part of a normal pathname contains ";" but that should
12859    # okay in the real world where ";" in dirpaths is itself problematic.
12860    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12861    ;;
12862  *)
12863    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12864    ;;
12865  esac
12866  # Ok, now we have the path, separated by spaces, we can step through it
12867  # and add multilib dir if necessary...
12868  lt_tmp_lt_search_path_spec=
12869  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12870  # ...but if some path component already ends with the multilib dir we assume
12871  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12872  case "$lt_multi_os_dir; $lt_search_path_spec " in
12873  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12874    lt_multi_os_dir=
12875    ;;
12876  esac
12877  for lt_sys_path in $lt_search_path_spec; do
12878    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12879      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12880    elif test -n "$lt_multi_os_dir"; then
12881      test -d "$lt_sys_path" && \
12882	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12883    fi
12884  done
12885  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12886BEGIN {RS = " "; FS = "/|\n";} {
12887  lt_foo = "";
12888  lt_count = 0;
12889  for (lt_i = NF; lt_i > 0; lt_i--) {
12890    if ($lt_i != "" && $lt_i != ".") {
12891      if ($lt_i == "..") {
12892        lt_count++;
12893      } else {
12894        if (lt_count == 0) {
12895          lt_foo = "/" $lt_i lt_foo;
12896        } else {
12897          lt_count--;
12898        }
12899      }
12900    }
12901  }
12902  if (lt_foo != "") { lt_freq[lt_foo]++; }
12903  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12904}'`
12905  # AWK program above erroneously prepends '/' to C:/dos/paths
12906  # for these hosts.
12907  case $host_os in
12908    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12909      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12910  esac
12911  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12912else
12913  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12914fi
12915library_names_spec=
12916libname_spec='lib$name'
12917soname_spec=
12918shrext_cmds=.so
12919postinstall_cmds=
12920postuninstall_cmds=
12921finish_cmds=
12922finish_eval=
12923shlibpath_var=
12924shlibpath_overrides_runpath=unknown
12925version_type=none
12926dynamic_linker="$host_os ld.so"
12927sys_lib_dlsearch_path_spec="/lib /usr/lib"
12928need_lib_prefix=unknown
12929hardcode_into_libs=no
12930
12931# when you set need_version to no, make sure it does not cause -set_version
12932# flags to be left without arguments
12933need_version=unknown
12934
12935
12936
12937case $host_os in
12938aix3*)
12939  version_type=linux # correct to gnu/linux during the next big refactor
12940  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12941  shlibpath_var=LIBPATH
12942
12943  # AIX 3 has no versioning support, so we append a major version to the name.
12944  soname_spec='$libname$release$shared_ext$major'
12945  ;;
12946
12947aix[4-9]*)
12948  version_type=linux # correct to gnu/linux during the next big refactor
12949  need_lib_prefix=no
12950  need_version=no
12951  hardcode_into_libs=yes
12952  if test ia64 = "$host_cpu"; then
12953    # AIX 5 supports IA64
12954    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12955    shlibpath_var=LD_LIBRARY_PATH
12956  else
12957    # With GCC up to 2.95.x, collect2 would create an import file
12958    # for dependence libraries.  The import file would start with
12959    # the line '#! .'.  This would cause the generated library to
12960    # depend on '.', always an invalid library.  This was fixed in
12961    # development snapshots of GCC prior to 3.0.
12962    case $host_os in
12963      aix4 | aix4.[01] | aix4.[01].*)
12964      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12965	   echo ' yes '
12966	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12967	:
12968      else
12969	can_build_shared=no
12970      fi
12971      ;;
12972    esac
12973    # Using Import Files as archive members, it is possible to support
12974    # filename-based versioning of shared library archives on AIX. While
12975    # this would work for both with and without runtime linking, it will
12976    # prevent static linking of such archives. So we do filename-based
12977    # shared library versioning with .so extension only, which is used
12978    # when both runtime linking and shared linking is enabled.
12979    # Unfortunately, runtime linking may impact performance, so we do
12980    # not want this to be the default eventually. Also, we use the
12981    # versioned .so libs for executables only if there is the -brtl
12982    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12983    # To allow for filename-based versioning support, we need to create
12984    # libNAME.so.V as an archive file, containing:
12985    # *) an Import File, referring to the versioned filename of the
12986    #    archive as well as the shared archive member, telling the
12987    #    bitwidth (32 or 64) of that shared object, and providing the
12988    #    list of exported symbols of that shared object, eventually
12989    #    decorated with the 'weak' keyword
12990    # *) the shared object with the F_LOADONLY flag set, to really avoid
12991    #    it being seen by the linker.
12992    # At run time we better use the real file rather than another symlink,
12993    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12994
12995    case $with_aix_soname,$aix_use_runtimelinking in
12996    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12997    # soname into executable. Probably we can add versioning support to
12998    # collect2, so additional links can be useful in future.
12999    aix,yes) # traditional libtool
13000      dynamic_linker='AIX unversionable lib.so'
13001      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13002      # instead of lib<name>.a to let people know that these are not
13003      # typical AIX shared libraries.
13004      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13005      ;;
13006    aix,no) # traditional AIX only
13007      dynamic_linker='AIX lib.a(lib.so.V)'
13008      # We preserve .a as extension for shared libraries through AIX4.2
13009      # and later when we are not doing run time linking.
13010      library_names_spec='$libname$release.a $libname.a'
13011      soname_spec='$libname$release$shared_ext$major'
13012      ;;
13013    svr4,*) # full svr4 only
13014      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
13015      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13016      # We do not specify a path in Import Files, so LIBPATH fires.
13017      shlibpath_overrides_runpath=yes
13018      ;;
13019    *,yes) # both, prefer svr4
13020      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13021      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13022      # unpreferred sharedlib libNAME.a needs extra handling
13023      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"'
13024      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"'
13025      # We do not specify a path in Import Files, so LIBPATH fires.
13026      shlibpath_overrides_runpath=yes
13027      ;;
13028    *,no) # both, prefer aix
13029      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13030      library_names_spec='$libname$release.a $libname.a'
13031      soname_spec='$libname$release$shared_ext$major'
13032      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13033      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)'
13034      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"'
13035      ;;
13036    esac
13037    shlibpath_var=LIBPATH
13038  fi
13039  ;;
13040
13041amigaos*)
13042  case $host_cpu in
13043  powerpc)
13044    # Since July 2007 AmigaOS4 officially supports .so libraries.
13045    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13046    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13047    ;;
13048  m68k)
13049    library_names_spec='$libname.ixlibrary $libname.a'
13050    # Create ${libname}_ixlibrary.a entries in /sys/libs.
13051    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'
13052    ;;
13053  esac
13054  ;;
13055
13056beos*)
13057  library_names_spec='$libname$shared_ext'
13058  dynamic_linker="$host_os ld.so"
13059  shlibpath_var=LIBRARY_PATH
13060  ;;
13061
13062bsdi[45]*)
13063  version_type=linux # correct to gnu/linux during the next big refactor
13064  need_version=no
13065  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13066  soname_spec='$libname$release$shared_ext$major'
13067  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13068  shlibpath_var=LD_LIBRARY_PATH
13069  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13070  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13071  # the default ld.so.conf also contains /usr/contrib/lib and
13072  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13073  # libtool to hard-code these into programs
13074  ;;
13075
13076cygwin* | mingw* | pw32* | cegcc*)
13077  version_type=windows
13078  shrext_cmds=.dll
13079  need_version=no
13080  need_lib_prefix=no
13081
13082  case $GCC,$cc_basename in
13083  yes,*)
13084    # gcc
13085    library_names_spec='$libname.dll.a'
13086    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13087    postinstall_cmds='base_file=`basename \$file`~
13088      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13089      dldir=$destdir/`dirname \$dlpath`~
13090      test -d \$dldir || mkdir -p \$dldir~
13091      $install_prog $dir/$dlname \$dldir/$dlname~
13092      chmod a+x \$dldir/$dlname~
13093      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13094        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13095      fi'
13096    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13097      dlpath=$dir/\$dldll~
13098       $RM \$dlpath'
13099    shlibpath_overrides_runpath=yes
13100
13101    case $host_os in
13102    cygwin*)
13103      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13104      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13105
13106      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13107      ;;
13108    mingw* | cegcc*)
13109      # MinGW DLLs use traditional 'lib' prefix
13110      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13111      ;;
13112    pw32*)
13113      # pw32 DLLs use 'pw' prefix rather than 'lib'
13114      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13115      ;;
13116    esac
13117    dynamic_linker='Win32 ld.exe'
13118    ;;
13119
13120  *,cl*)
13121    # Native MSVC
13122    libname_spec='$name'
13123    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13124    library_names_spec='$libname.dll.lib'
13125
13126    case $build_os in
13127    mingw*)
13128      sys_lib_search_path_spec=
13129      lt_save_ifs=$IFS
13130      IFS=';'
13131      for lt_path in $LIB
13132      do
13133        IFS=$lt_save_ifs
13134        # Let DOS variable expansion print the short 8.3 style file name.
13135        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13136        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13137      done
13138      IFS=$lt_save_ifs
13139      # Convert to MSYS style.
13140      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13141      ;;
13142    cygwin*)
13143      # Convert to unix form, then to dos form, then back to unix form
13144      # but this time dos style (no spaces!) so that the unix form looks
13145      # like /cygdrive/c/PROGRA~1:/cygdr...
13146      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13147      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13148      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13149      ;;
13150    *)
13151      sys_lib_search_path_spec=$LIB
13152      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13153        # It is most probably a Windows format PATH.
13154        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13155      else
13156        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13157      fi
13158      # FIXME: find the short name or the path components, as spaces are
13159      # common. (e.g. "Program Files" -> "PROGRA~1")
13160      ;;
13161    esac
13162
13163    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13164    postinstall_cmds='base_file=`basename \$file`~
13165      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13166      dldir=$destdir/`dirname \$dlpath`~
13167      test -d \$dldir || mkdir -p \$dldir~
13168      $install_prog $dir/$dlname \$dldir/$dlname'
13169    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13170      dlpath=$dir/\$dldll~
13171       $RM \$dlpath'
13172    shlibpath_overrides_runpath=yes
13173    dynamic_linker='Win32 link.exe'
13174    ;;
13175
13176  *)
13177    # Assume MSVC wrapper
13178    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13179    dynamic_linker='Win32 ld.exe'
13180    ;;
13181  esac
13182  # FIXME: first we should search . and the directory the executable is in
13183  shlibpath_var=PATH
13184  ;;
13185
13186darwin* | rhapsody*)
13187  dynamic_linker="$host_os dyld"
13188  version_type=darwin
13189  need_lib_prefix=no
13190  need_version=no
13191  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13192  soname_spec='$libname$release$major$shared_ext'
13193  shlibpath_overrides_runpath=yes
13194  shlibpath_var=DYLD_LIBRARY_PATH
13195  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13196
13197  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13198  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13199  ;;
13200
13201dgux*)
13202  version_type=linux # correct to gnu/linux during the next big refactor
13203  need_lib_prefix=no
13204  need_version=no
13205  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13206  soname_spec='$libname$release$shared_ext$major'
13207  shlibpath_var=LD_LIBRARY_PATH
13208  ;;
13209
13210freebsd* | dragonfly*)
13211  # DragonFly does not have aout.  When/if they implement a new
13212  # versioning mechanism, adjust this.
13213  if test -x /usr/bin/objformat; then
13214    objformat=`/usr/bin/objformat`
13215  else
13216    case $host_os in
13217    freebsd[23].*) objformat=aout ;;
13218    *) objformat=elf ;;
13219    esac
13220  fi
13221  version_type=freebsd-$objformat
13222  case $version_type in
13223    freebsd-elf*)
13224      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13225      soname_spec='$libname$release$shared_ext$major'
13226      need_version=no
13227      need_lib_prefix=no
13228      ;;
13229    freebsd-*)
13230      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13231      need_version=yes
13232      ;;
13233  esac
13234  shlibpath_var=LD_LIBRARY_PATH
13235  case $host_os in
13236  freebsd2.*)
13237    shlibpath_overrides_runpath=yes
13238    ;;
13239  freebsd3.[01]* | freebsdelf3.[01]*)
13240    shlibpath_overrides_runpath=yes
13241    hardcode_into_libs=yes
13242    ;;
13243  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13244  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13245    shlibpath_overrides_runpath=no
13246    hardcode_into_libs=yes
13247    ;;
13248  *) # from 4.6 on, and DragonFly
13249    shlibpath_overrides_runpath=yes
13250    hardcode_into_libs=yes
13251    ;;
13252  esac
13253  ;;
13254
13255haiku*)
13256  version_type=linux # correct to gnu/linux during the next big refactor
13257  need_lib_prefix=no
13258  need_version=no
13259  dynamic_linker="$host_os runtime_loader"
13260  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13261  soname_spec='$libname$release$shared_ext$major'
13262  shlibpath_var=LIBRARY_PATH
13263  shlibpath_overrides_runpath=no
13264  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13265  hardcode_into_libs=yes
13266  ;;
13267
13268hpux9* | hpux10* | hpux11*)
13269  # Give a soname corresponding to the major version so that dld.sl refuses to
13270  # link against other versions.
13271  version_type=sunos
13272  need_lib_prefix=no
13273  need_version=no
13274  case $host_cpu in
13275  ia64*)
13276    shrext_cmds='.so'
13277    hardcode_into_libs=yes
13278    dynamic_linker="$host_os dld.so"
13279    shlibpath_var=LD_LIBRARY_PATH
13280    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13281    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13282    soname_spec='$libname$release$shared_ext$major'
13283    if test 32 = "$HPUX_IA64_MODE"; then
13284      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13285      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13286    else
13287      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13288      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13289    fi
13290    ;;
13291  hppa*64*)
13292    shrext_cmds='.sl'
13293    hardcode_into_libs=yes
13294    dynamic_linker="$host_os dld.sl"
13295    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13296    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13297    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13298    soname_spec='$libname$release$shared_ext$major'
13299    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13300    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13301    ;;
13302  *)
13303    shrext_cmds='.sl'
13304    dynamic_linker="$host_os dld.sl"
13305    shlibpath_var=SHLIB_PATH
13306    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13307    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13308    soname_spec='$libname$release$shared_ext$major'
13309    ;;
13310  esac
13311  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13312  postinstall_cmds='chmod 555 $lib'
13313  # or fails outright, so override atomically:
13314  install_override_mode=555
13315  ;;
13316
13317interix[3-9]*)
13318  version_type=linux # correct to gnu/linux during the next big refactor
13319  need_lib_prefix=no
13320  need_version=no
13321  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13322  soname_spec='$libname$release$shared_ext$major'
13323  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13324  shlibpath_var=LD_LIBRARY_PATH
13325  shlibpath_overrides_runpath=no
13326  hardcode_into_libs=yes
13327  ;;
13328
13329irix5* | irix6* | nonstopux*)
13330  case $host_os in
13331    nonstopux*) version_type=nonstopux ;;
13332    *)
13333	if test yes = "$lt_cv_prog_gnu_ld"; then
13334		version_type=linux # correct to gnu/linux during the next big refactor
13335	else
13336		version_type=irix
13337	fi ;;
13338  esac
13339  need_lib_prefix=no
13340  need_version=no
13341  soname_spec='$libname$release$shared_ext$major'
13342  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13343  case $host_os in
13344  irix5* | nonstopux*)
13345    libsuff= shlibsuff=
13346    ;;
13347  *)
13348    case $LD in # libtool.m4 will add one of these switches to LD
13349    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13350      libsuff= shlibsuff= libmagic=32-bit;;
13351    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13352      libsuff=32 shlibsuff=N32 libmagic=N32;;
13353    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13354      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13355    *) libsuff= shlibsuff= libmagic=never-match;;
13356    esac
13357    ;;
13358  esac
13359  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13360  shlibpath_overrides_runpath=no
13361  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13362  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13363  hardcode_into_libs=yes
13364  ;;
13365
13366# No shared lib support for Linux oldld, aout, or coff.
13367linux*oldld* | linux*aout* | linux*coff*)
13368  dynamic_linker=no
13369  ;;
13370
13371linux*android*)
13372  version_type=none # Android doesn't support versioned libraries.
13373  need_lib_prefix=no
13374  need_version=no
13375  library_names_spec='$libname$release$shared_ext'
13376  soname_spec='$libname$release$shared_ext'
13377  finish_cmds=
13378  shlibpath_var=LD_LIBRARY_PATH
13379  shlibpath_overrides_runpath=yes
13380
13381  # This implies no fast_install, which is unacceptable.
13382  # Some rework will be needed to allow for fast_install
13383  # before this can be enabled.
13384  hardcode_into_libs=yes
13385
13386  dynamic_linker='Android linker'
13387  # Don't embed -rpath directories since the linker doesn't support them.
13388  hardcode_libdir_flag_spec='-L$libdir'
13389  ;;
13390
13391# This must be glibc/ELF.
13392linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13393  version_type=linux # correct to gnu/linux during the next big refactor
13394  need_lib_prefix=no
13395  need_version=no
13396  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13397  soname_spec='$libname$release$shared_ext$major'
13398  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13399  shlibpath_var=LD_LIBRARY_PATH
13400  shlibpath_overrides_runpath=no
13401
13402  # Some binutils ld are patched to set DT_RUNPATH
13403  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13404  $as_echo_n "(cached) " >&6
13405else
13406  lt_cv_shlibpath_overrides_runpath=no
13407    save_LDFLAGS=$LDFLAGS
13408    save_libdir=$libdir
13409    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13410	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13411    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13412/* end confdefs.h.  */
13413
13414int
13415main ()
13416{
13417
13418  ;
13419  return 0;
13420}
13421_ACEOF
13422if ac_fn_c_try_link "$LINENO"; then :
13423  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13424  lt_cv_shlibpath_overrides_runpath=yes
13425fi
13426fi
13427rm -f core conftest.err conftest.$ac_objext \
13428    conftest$ac_exeext conftest.$ac_ext
13429    LDFLAGS=$save_LDFLAGS
13430    libdir=$save_libdir
13431
13432fi
13433
13434  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13435
13436  # This implies no fast_install, which is unacceptable.
13437  # Some rework will be needed to allow for fast_install
13438  # before this can be enabled.
13439  hardcode_into_libs=yes
13440
13441  # Add ABI-specific directories to the system library path.
13442  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
13443
13444  # Ideally, we could use ldconfig to report *all* directores which are
13445  # searched for libraries, however this is still not possible.  Aside from not
13446  # being certain /sbin/ldconfig is available, command
13447  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13448  # even though it is searched at run-time.  Try to do the best guess by
13449  # appending ld.so.conf contents (and includes) to the search path.
13450  if test -f /etc/ld.so.conf; then
13451    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' ' '`
13452    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13453  fi
13454
13455  # We used to test for /lib/ld.so.1 and disable shared libraries on
13456  # powerpc, because MkLinux only supported shared libraries with the
13457  # GNU dynamic linker.  Since this was broken with cross compilers,
13458  # most powerpc-linux boxes support dynamic linking these days and
13459  # people can always --disable-shared, the test was removed, and we
13460  # assume the GNU/Linux dynamic linker is in use.
13461  dynamic_linker='GNU/Linux ld.so'
13462  ;;
13463
13464netbsd*)
13465  version_type=sunos
13466  need_lib_prefix=no
13467  need_version=no
13468  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13469    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13470    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13471    dynamic_linker='NetBSD (a.out) ld.so'
13472  else
13473    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13474    soname_spec='$libname$release$shared_ext$major'
13475    dynamic_linker='NetBSD ld.elf_so'
13476  fi
13477  shlibpath_var=LD_LIBRARY_PATH
13478  shlibpath_overrides_runpath=yes
13479  hardcode_into_libs=yes
13480  ;;
13481
13482newsos6)
13483  version_type=linux # correct to gnu/linux during the next big refactor
13484  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13485  shlibpath_var=LD_LIBRARY_PATH
13486  shlibpath_overrides_runpath=yes
13487  ;;
13488
13489*nto* | *qnx*)
13490  version_type=qnx
13491  need_lib_prefix=no
13492  need_version=no
13493  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13494  soname_spec='$libname$release$shared_ext$major'
13495  shlibpath_var=LD_LIBRARY_PATH
13496  shlibpath_overrides_runpath=no
13497  hardcode_into_libs=yes
13498  dynamic_linker='ldqnx.so'
13499  ;;
13500
13501openbsd* | bitrig*)
13502  version_type=sunos
13503  sys_lib_dlsearch_path_spec=/usr/lib
13504  need_lib_prefix=no
13505  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13506    need_version=no
13507  else
13508    need_version=yes
13509  fi
13510  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13511  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13512  shlibpath_var=LD_LIBRARY_PATH
13513  shlibpath_overrides_runpath=yes
13514  ;;
13515
13516os2*)
13517  libname_spec='$name'
13518  version_type=windows
13519  shrext_cmds=.dll
13520  need_version=no
13521  need_lib_prefix=no
13522  # OS/2 can only load a DLL with a base name of 8 characters or less.
13523  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13524    v=$($ECHO $release$versuffix | tr -d .-);
13525    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13526    $ECHO $n$v`$shared_ext'
13527  library_names_spec='${libname}_dll.$libext'
13528  dynamic_linker='OS/2 ld.exe'
13529  shlibpath_var=BEGINLIBPATH
13530  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13531  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13532  postinstall_cmds='base_file=`basename \$file`~
13533    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13534    dldir=$destdir/`dirname \$dlpath`~
13535    test -d \$dldir || mkdir -p \$dldir~
13536    $install_prog $dir/$dlname \$dldir/$dlname~
13537    chmod a+x \$dldir/$dlname~
13538    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13539      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13540    fi'
13541  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13542    dlpath=$dir/\$dldll~
13543    $RM \$dlpath'
13544  ;;
13545
13546osf3* | osf4* | osf5*)
13547  version_type=osf
13548  need_lib_prefix=no
13549  need_version=no
13550  soname_spec='$libname$release$shared_ext$major'
13551  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13552  shlibpath_var=LD_LIBRARY_PATH
13553  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13554  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13555  ;;
13556
13557rdos*)
13558  dynamic_linker=no
13559  ;;
13560
13561solaris*)
13562  version_type=linux # correct to gnu/linux during the next big refactor
13563  need_lib_prefix=no
13564  need_version=no
13565  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13566  soname_spec='$libname$release$shared_ext$major'
13567  shlibpath_var=LD_LIBRARY_PATH
13568  shlibpath_overrides_runpath=yes
13569  hardcode_into_libs=yes
13570  # ldd complains unless libraries are executable
13571  postinstall_cmds='chmod +x $lib'
13572  ;;
13573
13574sunos4*)
13575  version_type=sunos
13576  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13577  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13578  shlibpath_var=LD_LIBRARY_PATH
13579  shlibpath_overrides_runpath=yes
13580  if test yes = "$with_gnu_ld"; then
13581    need_lib_prefix=no
13582  fi
13583  need_version=yes
13584  ;;
13585
13586sysv4 | sysv4.3*)
13587  version_type=linux # correct to gnu/linux during the next big refactor
13588  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13589  soname_spec='$libname$release$shared_ext$major'
13590  shlibpath_var=LD_LIBRARY_PATH
13591  case $host_vendor in
13592    sni)
13593      shlibpath_overrides_runpath=no
13594      need_lib_prefix=no
13595      runpath_var=LD_RUN_PATH
13596      ;;
13597    siemens)
13598      need_lib_prefix=no
13599      ;;
13600    motorola)
13601      need_lib_prefix=no
13602      need_version=no
13603      shlibpath_overrides_runpath=no
13604      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13605      ;;
13606  esac
13607  ;;
13608
13609sysv4*MP*)
13610  if test -d /usr/nec; then
13611    version_type=linux # correct to gnu/linux during the next big refactor
13612    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13613    soname_spec='$libname$shared_ext.$major'
13614    shlibpath_var=LD_LIBRARY_PATH
13615  fi
13616  ;;
13617
13618sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13619  version_type=sco
13620  need_lib_prefix=no
13621  need_version=no
13622  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13623  soname_spec='$libname$release$shared_ext$major'
13624  shlibpath_var=LD_LIBRARY_PATH
13625  shlibpath_overrides_runpath=yes
13626  hardcode_into_libs=yes
13627  if test yes = "$with_gnu_ld"; then
13628    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13629  else
13630    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13631    case $host_os in
13632      sco3.2v5*)
13633        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13634	;;
13635    esac
13636  fi
13637  sys_lib_dlsearch_path_spec='/usr/lib'
13638  ;;
13639
13640tpf*)
13641  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13642  version_type=linux # correct to gnu/linux during the next big refactor
13643  need_lib_prefix=no
13644  need_version=no
13645  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13646  shlibpath_var=LD_LIBRARY_PATH
13647  shlibpath_overrides_runpath=no
13648  hardcode_into_libs=yes
13649  ;;
13650
13651uts4*)
13652  version_type=linux # correct to gnu/linux during the next big refactor
13653  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13654  soname_spec='$libname$release$shared_ext$major'
13655  shlibpath_var=LD_LIBRARY_PATH
13656  ;;
13657
13658*)
13659  dynamic_linker=no
13660  ;;
13661esac
13662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13663$as_echo "$dynamic_linker" >&6; }
13664test no = "$dynamic_linker" && can_build_shared=no
13665
13666variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13667if test yes = "$GCC"; then
13668  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13669fi
13670
13671if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13672  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13673fi
13674
13675if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13676  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13677fi
13678
13679# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13680configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13681
13682# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13683func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13684
13685# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13686configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13785$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13786hardcode_action=
13787if test -n "$hardcode_libdir_flag_spec" ||
13788   test -n "$runpath_var" ||
13789   test yes = "$hardcode_automatic"; then
13790
13791  # We can hardcode non-existent directories.
13792  if test no != "$hardcode_direct" &&
13793     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13794     # have to relink, otherwise we might link with an installed library
13795     # when we should be linking with a yet-to-be-installed one
13796     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13797     test no != "$hardcode_minus_L"; then
13798    # Linking always hardcodes the temporary library directory.
13799    hardcode_action=relink
13800  else
13801    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13802    hardcode_action=immediate
13803  fi
13804else
13805  # We cannot hardcode anything, or else we can only hardcode existing
13806  # directories.
13807  hardcode_action=unsupported
13808fi
13809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13810$as_echo "$hardcode_action" >&6; }
13811
13812if test relink = "$hardcode_action" ||
13813   test yes = "$inherit_rpath"; then
13814  # Fast installation is not supported
13815  enable_fast_install=no
13816elif test yes = "$shlibpath_overrides_runpath" ||
13817     test no = "$enable_shared"; then
13818  # Fast installation is not necessary
13819  enable_fast_install=needless
13820fi
13821
13822
13823
13824
13825
13826
13827  if test yes != "$enable_dlopen"; then
13828  enable_dlopen=unknown
13829  enable_dlopen_self=unknown
13830  enable_dlopen_self_static=unknown
13831else
13832  lt_cv_dlopen=no
13833  lt_cv_dlopen_libs=
13834
13835  case $host_os in
13836  beos*)
13837    lt_cv_dlopen=load_add_on
13838    lt_cv_dlopen_libs=
13839    lt_cv_dlopen_self=yes
13840    ;;
13841
13842  mingw* | pw32* | cegcc*)
13843    lt_cv_dlopen=LoadLibrary
13844    lt_cv_dlopen_libs=
13845    ;;
13846
13847  cygwin*)
13848    lt_cv_dlopen=dlopen
13849    lt_cv_dlopen_libs=
13850    ;;
13851
13852  darwin*)
13853    # if libdl is installed we need to link against it
13854    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13855$as_echo_n "checking for dlopen in -ldl... " >&6; }
13856if ${ac_cv_lib_dl_dlopen+:} false; then :
13857  $as_echo_n "(cached) " >&6
13858else
13859  ac_check_lib_save_LIBS=$LIBS
13860LIBS="-ldl  $LIBS"
13861cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13862/* end confdefs.h.  */
13863
13864/* Override any GCC internal prototype to avoid an error.
13865   Use char because int might match the return type of a GCC
13866   builtin and then its argument prototype would still apply.  */
13867#ifdef __cplusplus
13868extern "C"
13869#endif
13870char dlopen ();
13871int
13872main ()
13873{
13874return dlopen ();
13875  ;
13876  return 0;
13877}
13878_ACEOF
13879if ac_fn_c_try_link "$LINENO"; then :
13880  ac_cv_lib_dl_dlopen=yes
13881else
13882  ac_cv_lib_dl_dlopen=no
13883fi
13884rm -f core conftest.err conftest.$ac_objext \
13885    conftest$ac_exeext conftest.$ac_ext
13886LIBS=$ac_check_lib_save_LIBS
13887fi
13888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13889$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13890if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13891  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13892else
13893
13894    lt_cv_dlopen=dyld
13895    lt_cv_dlopen_libs=
13896    lt_cv_dlopen_self=yes
13897
13898fi
13899
13900    ;;
13901
13902  tpf*)
13903    # Don't try to run any link tests for TPF.  We know it's impossible
13904    # because TPF is a cross-compiler, and we know how we open DSOs.
13905    lt_cv_dlopen=dlopen
13906    lt_cv_dlopen_libs=
13907    lt_cv_dlopen_self=no
13908    ;;
13909
13910  *)
13911    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13912if test "x$ac_cv_func_shl_load" = xyes; then :
13913  lt_cv_dlopen=shl_load
13914else
13915  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13916$as_echo_n "checking for shl_load in -ldld... " >&6; }
13917if ${ac_cv_lib_dld_shl_load+:} false; then :
13918  $as_echo_n "(cached) " >&6
13919else
13920  ac_check_lib_save_LIBS=$LIBS
13921LIBS="-ldld  $LIBS"
13922cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13923/* end confdefs.h.  */
13924
13925/* Override any GCC internal prototype to avoid an error.
13926   Use char because int might match the return type of a GCC
13927   builtin and then its argument prototype would still apply.  */
13928#ifdef __cplusplus
13929extern "C"
13930#endif
13931char shl_load ();
13932int
13933main ()
13934{
13935return shl_load ();
13936  ;
13937  return 0;
13938}
13939_ACEOF
13940if ac_fn_c_try_link "$LINENO"; then :
13941  ac_cv_lib_dld_shl_load=yes
13942else
13943  ac_cv_lib_dld_shl_load=no
13944fi
13945rm -f core conftest.err conftest.$ac_objext \
13946    conftest$ac_exeext conftest.$ac_ext
13947LIBS=$ac_check_lib_save_LIBS
13948fi
13949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13950$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13951if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13952  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13953else
13954  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13955if test "x$ac_cv_func_dlopen" = xyes; then :
13956  lt_cv_dlopen=dlopen
13957else
13958  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13959$as_echo_n "checking for dlopen in -ldl... " >&6; }
13960if ${ac_cv_lib_dl_dlopen+:} false; then :
13961  $as_echo_n "(cached) " >&6
13962else
13963  ac_check_lib_save_LIBS=$LIBS
13964LIBS="-ldl  $LIBS"
13965cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13966/* end confdefs.h.  */
13967
13968/* Override any GCC internal prototype to avoid an error.
13969   Use char because int might match the return type of a GCC
13970   builtin and then its argument prototype would still apply.  */
13971#ifdef __cplusplus
13972extern "C"
13973#endif
13974char dlopen ();
13975int
13976main ()
13977{
13978return dlopen ();
13979  ;
13980  return 0;
13981}
13982_ACEOF
13983if ac_fn_c_try_link "$LINENO"; then :
13984  ac_cv_lib_dl_dlopen=yes
13985else
13986  ac_cv_lib_dl_dlopen=no
13987fi
13988rm -f core conftest.err conftest.$ac_objext \
13989    conftest$ac_exeext conftest.$ac_ext
13990LIBS=$ac_check_lib_save_LIBS
13991fi
13992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13993$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13994if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13995  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13996else
13997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13998$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13999if ${ac_cv_lib_svld_dlopen+:} false; then :
14000  $as_echo_n "(cached) " >&6
14001else
14002  ac_check_lib_save_LIBS=$LIBS
14003LIBS="-lsvld  $LIBS"
14004cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005/* end confdefs.h.  */
14006
14007/* Override any GCC internal prototype to avoid an error.
14008   Use char because int might match the return type of a GCC
14009   builtin and then its argument prototype would still apply.  */
14010#ifdef __cplusplus
14011extern "C"
14012#endif
14013char dlopen ();
14014int
14015main ()
14016{
14017return dlopen ();
14018  ;
14019  return 0;
14020}
14021_ACEOF
14022if ac_fn_c_try_link "$LINENO"; then :
14023  ac_cv_lib_svld_dlopen=yes
14024else
14025  ac_cv_lib_svld_dlopen=no
14026fi
14027rm -f core conftest.err conftest.$ac_objext \
14028    conftest$ac_exeext conftest.$ac_ext
14029LIBS=$ac_check_lib_save_LIBS
14030fi
14031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14032$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14033if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
14034  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14035else
14036  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14037$as_echo_n "checking for dld_link in -ldld... " >&6; }
14038if ${ac_cv_lib_dld_dld_link+:} false; then :
14039  $as_echo_n "(cached) " >&6
14040else
14041  ac_check_lib_save_LIBS=$LIBS
14042LIBS="-ldld  $LIBS"
14043cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14044/* end confdefs.h.  */
14045
14046/* Override any GCC internal prototype to avoid an error.
14047   Use char because int might match the return type of a GCC
14048   builtin and then its argument prototype would still apply.  */
14049#ifdef __cplusplus
14050extern "C"
14051#endif
14052char dld_link ();
14053int
14054main ()
14055{
14056return dld_link ();
14057  ;
14058  return 0;
14059}
14060_ACEOF
14061if ac_fn_c_try_link "$LINENO"; then :
14062  ac_cv_lib_dld_dld_link=yes
14063else
14064  ac_cv_lib_dld_dld_link=no
14065fi
14066rm -f core conftest.err conftest.$ac_objext \
14067    conftest$ac_exeext conftest.$ac_ext
14068LIBS=$ac_check_lib_save_LIBS
14069fi
14070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14071$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14072if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14073  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14074fi
14075
14076
14077fi
14078
14079
14080fi
14081
14082
14083fi
14084
14085
14086fi
14087
14088
14089fi
14090
14091    ;;
14092  esac
14093
14094  if test no = "$lt_cv_dlopen"; then
14095    enable_dlopen=no
14096  else
14097    enable_dlopen=yes
14098  fi
14099
14100  case $lt_cv_dlopen in
14101  dlopen)
14102    save_CPPFLAGS=$CPPFLAGS
14103    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14104
14105    save_LDFLAGS=$LDFLAGS
14106    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14107
14108    save_LIBS=$LIBS
14109    LIBS="$lt_cv_dlopen_libs $LIBS"
14110
14111    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14112$as_echo_n "checking whether a program can dlopen itself... " >&6; }
14113if ${lt_cv_dlopen_self+:} false; then :
14114  $as_echo_n "(cached) " >&6
14115else
14116  	  if test yes = "$cross_compiling"; then :
14117  lt_cv_dlopen_self=cross
14118else
14119  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14120  lt_status=$lt_dlunknown
14121  cat > conftest.$ac_ext <<_LT_EOF
14122#line $LINENO "configure"
14123#include "confdefs.h"
14124
14125#if HAVE_DLFCN_H
14126#include <dlfcn.h>
14127#endif
14128
14129#include <stdio.h>
14130
14131#ifdef RTLD_GLOBAL
14132#  define LT_DLGLOBAL		RTLD_GLOBAL
14133#else
14134#  ifdef DL_GLOBAL
14135#    define LT_DLGLOBAL		DL_GLOBAL
14136#  else
14137#    define LT_DLGLOBAL		0
14138#  endif
14139#endif
14140
14141/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14142   find out it does not work in some platform. */
14143#ifndef LT_DLLAZY_OR_NOW
14144#  ifdef RTLD_LAZY
14145#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
14146#  else
14147#    ifdef DL_LAZY
14148#      define LT_DLLAZY_OR_NOW		DL_LAZY
14149#    else
14150#      ifdef RTLD_NOW
14151#        define LT_DLLAZY_OR_NOW	RTLD_NOW
14152#      else
14153#        ifdef DL_NOW
14154#          define LT_DLLAZY_OR_NOW	DL_NOW
14155#        else
14156#          define LT_DLLAZY_OR_NOW	0
14157#        endif
14158#      endif
14159#    endif
14160#  endif
14161#endif
14162
14163/* When -fvisibility=hidden is used, assume the code has been annotated
14164   correspondingly for the symbols needed.  */
14165#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14166int fnord () __attribute__((visibility("default")));
14167#endif
14168
14169int fnord () { return 42; }
14170int main ()
14171{
14172  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14173  int status = $lt_dlunknown;
14174
14175  if (self)
14176    {
14177      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14178      else
14179        {
14180	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14181          else puts (dlerror ());
14182	}
14183      /* dlclose (self); */
14184    }
14185  else
14186    puts (dlerror ());
14187
14188  return status;
14189}
14190_LT_EOF
14191  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14192  (eval $ac_link) 2>&5
14193  ac_status=$?
14194  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14195  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14196    (./conftest; exit; ) >&5 2>/dev/null
14197    lt_status=$?
14198    case x$lt_status in
14199      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14200      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14201      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14202    esac
14203  else :
14204    # compilation failed
14205    lt_cv_dlopen_self=no
14206  fi
14207fi
14208rm -fr conftest*
14209
14210
14211fi
14212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14213$as_echo "$lt_cv_dlopen_self" >&6; }
14214
14215    if test yes = "$lt_cv_dlopen_self"; then
14216      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14217      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14218$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14219if ${lt_cv_dlopen_self_static+:} false; then :
14220  $as_echo_n "(cached) " >&6
14221else
14222  	  if test yes = "$cross_compiling"; then :
14223  lt_cv_dlopen_self_static=cross
14224else
14225  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14226  lt_status=$lt_dlunknown
14227  cat > conftest.$ac_ext <<_LT_EOF
14228#line $LINENO "configure"
14229#include "confdefs.h"
14230
14231#if HAVE_DLFCN_H
14232#include <dlfcn.h>
14233#endif
14234
14235#include <stdio.h>
14236
14237#ifdef RTLD_GLOBAL
14238#  define LT_DLGLOBAL		RTLD_GLOBAL
14239#else
14240#  ifdef DL_GLOBAL
14241#    define LT_DLGLOBAL		DL_GLOBAL
14242#  else
14243#    define LT_DLGLOBAL		0
14244#  endif
14245#endif
14246
14247/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14248   find out it does not work in some platform. */
14249#ifndef LT_DLLAZY_OR_NOW
14250#  ifdef RTLD_LAZY
14251#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
14252#  else
14253#    ifdef DL_LAZY
14254#      define LT_DLLAZY_OR_NOW		DL_LAZY
14255#    else
14256#      ifdef RTLD_NOW
14257#        define LT_DLLAZY_OR_NOW	RTLD_NOW
14258#      else
14259#        ifdef DL_NOW
14260#          define LT_DLLAZY_OR_NOW	DL_NOW
14261#        else
14262#          define LT_DLLAZY_OR_NOW	0
14263#        endif
14264#      endif
14265#    endif
14266#  endif
14267#endif
14268
14269/* When -fvisibility=hidden is used, assume the code has been annotated
14270   correspondingly for the symbols needed.  */
14271#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14272int fnord () __attribute__((visibility("default")));
14273#endif
14274
14275int fnord () { return 42; }
14276int main ()
14277{
14278  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14279  int status = $lt_dlunknown;
14280
14281  if (self)
14282    {
14283      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14284      else
14285        {
14286	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14287          else puts (dlerror ());
14288	}
14289      /* dlclose (self); */
14290    }
14291  else
14292    puts (dlerror ());
14293
14294  return status;
14295}
14296_LT_EOF
14297  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14298  (eval $ac_link) 2>&5
14299  ac_status=$?
14300  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14301  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14302    (./conftest; exit; ) >&5 2>/dev/null
14303    lt_status=$?
14304    case x$lt_status in
14305      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14306      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14307      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14308    esac
14309  else :
14310    # compilation failed
14311    lt_cv_dlopen_self_static=no
14312  fi
14313fi
14314rm -fr conftest*
14315
14316
14317fi
14318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14319$as_echo "$lt_cv_dlopen_self_static" >&6; }
14320    fi
14321
14322    CPPFLAGS=$save_CPPFLAGS
14323    LDFLAGS=$save_LDFLAGS
14324    LIBS=$save_LIBS
14325    ;;
14326  esac
14327
14328  case $lt_cv_dlopen_self in
14329  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14330  *) enable_dlopen_self=unknown ;;
14331  esac
14332
14333  case $lt_cv_dlopen_self_static in
14334  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14335  *) enable_dlopen_self_static=unknown ;;
14336  esac
14337fi
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355striplib=
14356old_striplib=
14357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14358$as_echo_n "checking whether stripping libraries is possible... " >&6; }
14359if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14360  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14361  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14363$as_echo "yes" >&6; }
14364else
14365# FIXME - insert some real tests, host_os isn't really good enough
14366  case $host_os in
14367  darwin*)
14368    if test -n "$STRIP"; then
14369      striplib="$STRIP -x"
14370      old_striplib="$STRIP -S"
14371      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14372$as_echo "yes" >&6; }
14373    else
14374      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14375$as_echo "no" >&6; }
14376    fi
14377    ;;
14378  *)
14379    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14380$as_echo "no" >&6; }
14381    ;;
14382  esac
14383fi
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396  # Report what library types will actually be built
14397  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14398$as_echo_n "checking if libtool supports shared libraries... " >&6; }
14399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14400$as_echo "$can_build_shared" >&6; }
14401
14402  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14403$as_echo_n "checking whether to build shared libraries... " >&6; }
14404  test no = "$can_build_shared" && enable_shared=no
14405
14406  # On AIX, shared libraries and static libraries use the same namespace, and
14407  # are all built from PIC.
14408  case $host_os in
14409  aix3*)
14410    test yes = "$enable_shared" && enable_static=no
14411    if test -n "$RANLIB"; then
14412      archive_cmds="$archive_cmds~\$RANLIB \$lib"
14413      postinstall_cmds='$RANLIB $lib'
14414    fi
14415    ;;
14416
14417  aix[4-9]*)
14418    if test ia64 != "$host_cpu"; then
14419      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14420      yes,aix,yes) ;;			# shared object as lib.so file only
14421      yes,svr4,*) ;;			# shared object as lib.so archive member only
14422      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
14423      esac
14424    fi
14425    ;;
14426  esac
14427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14428$as_echo "$enable_shared" >&6; }
14429
14430  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14431$as_echo_n "checking whether to build static libraries... " >&6; }
14432  # Make sure either enable_shared or enable_static is yes.
14433  test yes = "$enable_shared" || enable_static=yes
14434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14435$as_echo "$enable_static" >&6; }
14436
14437
14438
14439
14440fi
14441ac_ext=c
14442ac_cpp='$CPP $CPPFLAGS'
14443ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14444ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14445ac_compiler_gnu=$ac_cv_c_compiler_gnu
14446
14447CC=$lt_save_CC
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463        ac_config_commands="$ac_config_commands libtool"
14464
14465
14466
14467
14468# Only expand once:
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14480	if test -n "$ac_tool_prefix"; then
14481  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14482set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14484$as_echo_n "checking for $ac_word... " >&6; }
14485if ${ac_cv_path_PKG_CONFIG+:} false; then :
14486  $as_echo_n "(cached) " >&6
14487else
14488  case $PKG_CONFIG in
14489  [\\/]* | ?:[\\/]*)
14490  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14491  ;;
14492  *)
14493  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14494for as_dir in $PATH
14495do
14496  IFS=$as_save_IFS
14497  test -z "$as_dir" && as_dir=.
14498    for ac_exec_ext in '' $ac_executable_extensions; do
14499  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14500    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14501    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14502    break 2
14503  fi
14504done
14505  done
14506IFS=$as_save_IFS
14507
14508  ;;
14509esac
14510fi
14511PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14512if test -n "$PKG_CONFIG"; then
14513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14514$as_echo "$PKG_CONFIG" >&6; }
14515else
14516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14517$as_echo "no" >&6; }
14518fi
14519
14520
14521fi
14522if test -z "$ac_cv_path_PKG_CONFIG"; then
14523  ac_pt_PKG_CONFIG=$PKG_CONFIG
14524  # Extract the first word of "pkg-config", so it can be a program name with args.
14525set dummy pkg-config; ac_word=$2
14526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14527$as_echo_n "checking for $ac_word... " >&6; }
14528if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14529  $as_echo_n "(cached) " >&6
14530else
14531  case $ac_pt_PKG_CONFIG in
14532  [\\/]* | ?:[\\/]*)
14533  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14534  ;;
14535  *)
14536  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14537for as_dir in $PATH
14538do
14539  IFS=$as_save_IFS
14540  test -z "$as_dir" && as_dir=.
14541    for ac_exec_ext in '' $ac_executable_extensions; do
14542  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14543    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14544    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14545    break 2
14546  fi
14547done
14548  done
14549IFS=$as_save_IFS
14550
14551  ;;
14552esac
14553fi
14554ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14555if test -n "$ac_pt_PKG_CONFIG"; then
14556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14557$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14558else
14559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14560$as_echo "no" >&6; }
14561fi
14562
14563  if test "x$ac_pt_PKG_CONFIG" = x; then
14564    PKG_CONFIG=""
14565  else
14566    case $cross_compiling:$ac_tool_warned in
14567yes:)
14568{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14569$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14570ac_tool_warned=yes ;;
14571esac
14572    PKG_CONFIG=$ac_pt_PKG_CONFIG
14573  fi
14574else
14575  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14576fi
14577
14578fi
14579if test -n "$PKG_CONFIG"; then
14580	_pkg_min_version=0.9.0
14581	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14582$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14583	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14584		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14585$as_echo "yes" >&6; }
14586	else
14587		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14588$as_echo "no" >&6; }
14589		PKG_CONFIG=""
14590	fi
14591fi
14592
14593pkg_failed=no
14594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LASEM" >&5
14595$as_echo_n "checking for LASEM... " >&6; }
14596
14597if test -n "$LASEM_CFLAGS"; then
14598    pkg_cv_LASEM_CFLAGS="$LASEM_CFLAGS"
14599 elif test -n "$PKG_CONFIG"; then
14600    if test -n "$PKG_CONFIG" && \
14601    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0
14602			  glib-2.0
14603			  gio-2.0
14604			  gdk-pixbuf-2.0 >= 2.16
14605			  cairo >= 1.2
14606			  pangocairo >= 1.16.0
14607			  libxml-2.0\""; } >&5
14608  ($PKG_CONFIG --exists --print-errors "gobject-2.0
14609			  glib-2.0
14610			  gio-2.0
14611			  gdk-pixbuf-2.0 >= 2.16
14612			  cairo >= 1.2
14613			  pangocairo >= 1.16.0
14614			  libxml-2.0") 2>&5
14615  ac_status=$?
14616  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14617  test $ac_status = 0; }; then
14618  pkg_cv_LASEM_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0
14619			  glib-2.0
14620			  gio-2.0
14621			  gdk-pixbuf-2.0 >= 2.16
14622			  cairo >= 1.2
14623			  pangocairo >= 1.16.0
14624			  libxml-2.0" 2>/dev/null`
14625		      test "x$?" != "x0" && pkg_failed=yes
14626else
14627  pkg_failed=yes
14628fi
14629 else
14630    pkg_failed=untried
14631fi
14632if test -n "$LASEM_LIBS"; then
14633    pkg_cv_LASEM_LIBS="$LASEM_LIBS"
14634 elif test -n "$PKG_CONFIG"; then
14635    if test -n "$PKG_CONFIG" && \
14636    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0
14637			  glib-2.0
14638			  gio-2.0
14639			  gdk-pixbuf-2.0 >= 2.16
14640			  cairo >= 1.2
14641			  pangocairo >= 1.16.0
14642			  libxml-2.0\""; } >&5
14643  ($PKG_CONFIG --exists --print-errors "gobject-2.0
14644			  glib-2.0
14645			  gio-2.0
14646			  gdk-pixbuf-2.0 >= 2.16
14647			  cairo >= 1.2
14648			  pangocairo >= 1.16.0
14649			  libxml-2.0") 2>&5
14650  ac_status=$?
14651  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14652  test $ac_status = 0; }; then
14653  pkg_cv_LASEM_LIBS=`$PKG_CONFIG --libs "gobject-2.0
14654			  glib-2.0
14655			  gio-2.0
14656			  gdk-pixbuf-2.0 >= 2.16
14657			  cairo >= 1.2
14658			  pangocairo >= 1.16.0
14659			  libxml-2.0" 2>/dev/null`
14660		      test "x$?" != "x0" && pkg_failed=yes
14661else
14662  pkg_failed=yes
14663fi
14664 else
14665    pkg_failed=untried
14666fi
14667
14668
14669
14670if test $pkg_failed = yes; then
14671   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14672$as_echo "no" >&6; }
14673
14674if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14675        _pkg_short_errors_supported=yes
14676else
14677        _pkg_short_errors_supported=no
14678fi
14679        if test $_pkg_short_errors_supported = yes; then
14680	        LASEM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0
14681			  glib-2.0
14682			  gio-2.0
14683			  gdk-pixbuf-2.0 >= 2.16
14684			  cairo >= 1.2
14685			  pangocairo >= 1.16.0
14686			  libxml-2.0" 2>&1`
14687        else
14688	        LASEM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0
14689			  glib-2.0
14690			  gio-2.0
14691			  gdk-pixbuf-2.0 >= 2.16
14692			  cairo >= 1.2
14693			  pangocairo >= 1.16.0
14694			  libxml-2.0" 2>&1`
14695        fi
14696	# Put the nasty error message in config.log where it belongs
14697	echo "$LASEM_PKG_ERRORS" >&5
14698
14699	as_fn_error $? "Package requirements (gobject-2.0
14700			  glib-2.0
14701			  gio-2.0
14702			  gdk-pixbuf-2.0 >= 2.16
14703			  cairo >= 1.2
14704			  pangocairo >= 1.16.0
14705			  libxml-2.0) were not met:
14706
14707$LASEM_PKG_ERRORS
14708
14709Consider adjusting the PKG_CONFIG_PATH environment variable if you
14710installed software in a non-standard prefix.
14711
14712Alternatively, you may set the environment variables LASEM_CFLAGS
14713and LASEM_LIBS to avoid the need to call pkg-config.
14714See the pkg-config man page for more details." "$LINENO" 5
14715elif test $pkg_failed = untried; then
14716     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14717$as_echo "no" >&6; }
14718	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14719$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14720as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14721is in your PATH or set the PKG_CONFIG environment variable to the full
14722path to pkg-config.
14723
14724Alternatively, you may set the environment variables LASEM_CFLAGS
14725and LASEM_LIBS to avoid the need to call pkg-config.
14726See the pkg-config man page for more details.
14727
14728To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14729See \`config.log' for more details" "$LINENO" 5; }
14730else
14731	LASEM_CFLAGS=$pkg_cv_LASEM_CFLAGS
14732	LASEM_LIBS=$pkg_cv_LASEM_LIBS
14733        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14734$as_echo "yes" >&6; }
14735
14736fi
14737# We use functions from the standard math library; it doesn't have
14738# a pkgconfig file.
14739LASEM_LIBS="${LASEM_LIBS} -lm"
14740
14741## this should come after `AC_PROG_CC'
14742
14743
14744set_more_warnings=yes
14745if test "$GCC" = yes -a "x$set_more_warnings" != xno; then
14746	warning_options="\
14747			 -Wformat=2 \
14748			 -Wmissing-format-attribute \
14749			 -Wextra \
14750			 -Wundef \
14751			 -Wstrict-prototypes -Wnested-externs \
14752			 -Wchar-subscripts -Wwrite-strings \
14753			 -Wmissing-noreturn \
14754			 -Wmissing-declarations \
14755			 -Wcast-align \
14756			 -Winline \
14757			 -Waddress-space \
14758			 -Wbitwise \
14759			 -Wcast-to-as \
14760			 -Wno-pointer-sign \
14761			 -Wdefault-bitfield-sign \
14762			 -Wdo-while \
14763			 -Wparen-string \
14764			 -Wptr-subtraction-blows \
14765			 -Wreturn-void \
14766			 -Wtypesign \
14767			"
14768	# Fine tuning. Some warnings enabled above are a bit too much
14769	# (at least for now)
14770	warning_options="$warning_options \
14771			 -Wno-unused-parameter -Wno-sign-compare"
14772	# Some warnings which we may want to consider later on but which
14773	# trigger too often at the time of writing
14774	not_now_please="\
14775			 -Wpointer-arith \
14776			 -Wbad-function-cast \
14777			 -Wswitch-enum \
14778			 -Wfloat-equal \
14779			 -Wdeclaration-after-statement \
14780			 -Wshadow \
14781			"
14782	for option in $warning_options ; do
14783		SAVE_CFLAGS="$CFLAGS"
14784		CFLAGS="$CFLAGS $option"
14785		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
14786$as_echo_n "checking whether gcc understands $option... " >&6; }
14787		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788/* end confdefs.h.  */
14789
14790int
14791main ()
14792{
14793
14794  ;
14795  return 0;
14796}
14797_ACEOF
14798if ac_fn_c_try_compile "$LINENO"; then :
14799  has_option=yes
14800else
14801  has_option=no
14802fi
14803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14804		if test $has_option = no; then
14805		  CFLAGS="$SAVE_CFLAGS"
14806		fi
14807		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
14808$as_echo "$has_option" >&6; }
14809		unset has_option
14810		unset SAVE_CFLAGS
14811	done
14812	unset option
14813fi
14814
14815
14816
14817
14818# Extract the first word of "glib-mkenums", so it can be a program name with args.
14819set dummy glib-mkenums; ac_word=$2
14820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14821$as_echo_n "checking for $ac_word... " >&6; }
14822if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
14823  $as_echo_n "(cached) " >&6
14824else
14825  case $GLIB_MKENUMS in
14826  [\\/]* | ?:[\\/]*)
14827  ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
14828  ;;
14829  *)
14830  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14831for as_dir in $PATH
14832do
14833  IFS=$as_save_IFS
14834  test -z "$as_dir" && as_dir=.
14835    for ac_exec_ext in '' $ac_executable_extensions; do
14836  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14837    ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
14838    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14839    break 2
14840  fi
14841done
14842  done
14843IFS=$as_save_IFS
14844
14845  ;;
14846esac
14847fi
14848GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
14849if test -n "$GLIB_MKENUMS"; then
14850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
14851$as_echo "$GLIB_MKENUMS" >&6; }
14852else
14853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14854$as_echo "no" >&6; }
14855fi
14856
14857
14858
14859
14860
14861
14862                # Check whether --enable-introspection was given.
14863if test "${enable_introspection+set}" = set; then :
14864  enableval=$enable_introspection;
14865else
14866  enable_introspection=auto
14867fi
14868
14869
14870    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
14871$as_echo_n "checking for gobject-introspection... " >&6; }
14872
14873        case $enable_introspection in #(
14874  no) :
14875            found_introspection="no (disabled, use --enable-introspection to enable)"
14876     ;; #(
14877      yes) :
14878            if test -n "$PKG_CONFIG" && \
14879    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
14880  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
14881  ac_status=$?
14882  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14883  test $ac_status = 0; }; then
14884  :
14885else
14886  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
14887fi
14888        if test -n "$PKG_CONFIG" && \
14889    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
14890  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
14891  ac_status=$?
14892  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14893  test $ac_status = 0; }; then
14894  found_introspection=yes
14895else
14896  as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build lasem" "$LINENO" 5
14897fi
14898     ;; #(
14899      auto) :
14900            if test -n "$PKG_CONFIG" && \
14901    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
14902  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
14903  ac_status=$?
14904  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14905  test $ac_status = 0; }; then
14906  found_introspection=yes
14907else
14908  found_introspection=no
14909fi
14910		enable_introspection=$found_introspection
14911     ;; #(
14912  *) :
14913                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
14914     ;;
14915esac
14916    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
14917$as_echo "$found_introspection" >&6; }
14918
14919    INTROSPECTION_SCANNER=
14920    INTROSPECTION_COMPILER=
14921    INTROSPECTION_GENERATE=
14922    INTROSPECTION_GIRDIR=
14923    INTROSPECTION_TYPELIBDIR=
14924    if test "x$found_introspection" = "xyes"; then
14925       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14926       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14927       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
14928       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
14929       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
14930       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
14931       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
14932       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
14933    fi
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943     if test "x$found_introspection" = "xyes"; then
14944  HAVE_INTROSPECTION_TRUE=
14945  HAVE_INTROSPECTION_FALSE='#'
14946else
14947  HAVE_INTROSPECTION_TRUE='#'
14948  HAVE_INTROSPECTION_FALSE=
14949fi
14950
14951
14952
14953
14954
14955
14956  gtk_doc_requires="gtk-doc >= 1.14"
14957  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
14958$as_echo_n "checking for gtk-doc... " >&6; }
14959  if test -n "$PKG_CONFIG" && \
14960    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
14961  ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
14962  ac_status=$?
14963  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14964  test $ac_status = 0; }; then
14965  have_gtk_doc=yes
14966else
14967  have_gtk_doc=no
14968fi
14969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
14970$as_echo "$have_gtk_doc" >&6; }
14971
14972  if test "$have_gtk_doc" = "no"; then
14973      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
14974  You will not be able to create source packages with 'make dist'
14975  because $gtk_doc_requires is not found." >&5
14976$as_echo "$as_me: WARNING:
14977  You will not be able to create source packages with 'make dist'
14978  because $gtk_doc_requires is not found." >&2;}
14979  fi
14980
14981            # Extract the first word of "gtkdoc-check", so it can be a program name with args.
14982set dummy gtkdoc-check; ac_word=$2
14983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14984$as_echo_n "checking for $ac_word... " >&6; }
14985if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
14986  $as_echo_n "(cached) " >&6
14987else
14988  if test -n "$GTKDOC_CHECK"; then
14989  ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
14990else
14991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14992for as_dir in $PATH
14993do
14994  IFS=$as_save_IFS
14995  test -z "$as_dir" && as_dir=.
14996    for ac_exec_ext in '' $ac_executable_extensions; do
14997  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14998    ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
14999    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15000    break 2
15001  fi
15002done
15003  done
15004IFS=$as_save_IFS
15005
15006fi
15007fi
15008GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
15009if test -n "$GTKDOC_CHECK"; then
15010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
15011$as_echo "$GTKDOC_CHECK" >&6; }
15012else
15013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15014$as_echo "no" >&6; }
15015fi
15016
15017
15018  # Extract the first word of "gtkdoc-check", so it can be a program name with args.
15019set dummy gtkdoc-check; ac_word=$2
15020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15021$as_echo_n "checking for $ac_word... " >&6; }
15022if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
15023  $as_echo_n "(cached) " >&6
15024else
15025  case $GTKDOC_CHECK_PATH in
15026  [\\/]* | ?:[\\/]*)
15027  ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
15028  ;;
15029  *)
15030  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15031for as_dir in $PATH
15032do
15033  IFS=$as_save_IFS
15034  test -z "$as_dir" && as_dir=.
15035    for ac_exec_ext in '' $ac_executable_extensions; do
15036  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15037    ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
15038    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15039    break 2
15040  fi
15041done
15042  done
15043IFS=$as_save_IFS
15044
15045  ;;
15046esac
15047fi
15048GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
15049if test -n "$GTKDOC_CHECK_PATH"; then
15050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
15051$as_echo "$GTKDOC_CHECK_PATH" >&6; }
15052else
15053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15054$as_echo "no" >&6; }
15055fi
15056
15057
15058  for ac_prog in gtkdoc-rebase
15059do
15060  # Extract the first word of "$ac_prog", so it can be a program name with args.
15061set dummy $ac_prog; ac_word=$2
15062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15063$as_echo_n "checking for $ac_word... " >&6; }
15064if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
15065  $as_echo_n "(cached) " >&6
15066else
15067  case $GTKDOC_REBASE in
15068  [\\/]* | ?:[\\/]*)
15069  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
15070  ;;
15071  *)
15072  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15073for as_dir in $PATH
15074do
15075  IFS=$as_save_IFS
15076  test -z "$as_dir" && as_dir=.
15077    for ac_exec_ext in '' $ac_executable_extensions; do
15078  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15079    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
15080    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15081    break 2
15082  fi
15083done
15084  done
15085IFS=$as_save_IFS
15086
15087  ;;
15088esac
15089fi
15090GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
15091if test -n "$GTKDOC_REBASE"; then
15092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
15093$as_echo "$GTKDOC_REBASE" >&6; }
15094else
15095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15096$as_echo "no" >&6; }
15097fi
15098
15099
15100  test -n "$GTKDOC_REBASE" && break
15101done
15102test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
15103
15104  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
15105set dummy gtkdoc-mkpdf; ac_word=$2
15106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15107$as_echo_n "checking for $ac_word... " >&6; }
15108if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
15109  $as_echo_n "(cached) " >&6
15110else
15111  case $GTKDOC_MKPDF in
15112  [\\/]* | ?:[\\/]*)
15113  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
15114  ;;
15115  *)
15116  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15117for as_dir in $PATH
15118do
15119  IFS=$as_save_IFS
15120  test -z "$as_dir" && as_dir=.
15121    for ac_exec_ext in '' $ac_executable_extensions; do
15122  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15123    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
15124    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15125    break 2
15126  fi
15127done
15128  done
15129IFS=$as_save_IFS
15130
15131  ;;
15132esac
15133fi
15134GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
15135if test -n "$GTKDOC_MKPDF"; then
15136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
15137$as_echo "$GTKDOC_MKPDF" >&6; }
15138else
15139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15140$as_echo "no" >&6; }
15141fi
15142
15143
15144
15145
15146# Check whether --with-html-dir was given.
15147if test "${with_html_dir+set}" = set; then :
15148  withval=$with_html_dir;
15149else
15150  with_html_dir='${datadir}/gtk-doc/html'
15151fi
15152
15153  HTML_DIR="$with_html_dir"
15154
15155
15156    # Check whether --enable-gtk-doc was given.
15157if test "${enable_gtk_doc+set}" = set; then :
15158  enableval=$enable_gtk_doc;
15159else
15160  enable_gtk_doc=no
15161fi
15162
15163
15164  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
15165$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
15166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
15167$as_echo "$enable_gtk_doc" >&6; }
15168
15169  if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
15170    as_fn_error $? "
15171  You must have $gtk_doc_requires installed to build documentation for
15172  $PACKAGE_NAME. Please install gtk-doc or disable building the
15173  documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
15174  fi
15175
15176    if test "x$PACKAGE_NAME" != "xglib"; then
15177
15178pkg_failed=no
15179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
15180$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
15181
15182if test -n "$GTKDOC_DEPS_CFLAGS"; then
15183    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
15184 elif test -n "$PKG_CONFIG"; then
15185    if test -n "$PKG_CONFIG" && \
15186    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
15187  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
15188  ac_status=$?
15189  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15190  test $ac_status = 0; }; then
15191  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
15192		      test "x$?" != "x0" && pkg_failed=yes
15193else
15194  pkg_failed=yes
15195fi
15196 else
15197    pkg_failed=untried
15198fi
15199if test -n "$GTKDOC_DEPS_LIBS"; then
15200    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
15201 elif test -n "$PKG_CONFIG"; then
15202    if test -n "$PKG_CONFIG" && \
15203    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
15204  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
15205  ac_status=$?
15206  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15207  test $ac_status = 0; }; then
15208  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
15209		      test "x$?" != "x0" && pkg_failed=yes
15210else
15211  pkg_failed=yes
15212fi
15213 else
15214    pkg_failed=untried
15215fi
15216
15217
15218
15219if test $pkg_failed = yes; then
15220   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15221$as_echo "no" >&6; }
15222
15223if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15224        _pkg_short_errors_supported=yes
15225else
15226        _pkg_short_errors_supported=no
15227fi
15228        if test $_pkg_short_errors_supported = yes; then
15229	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
15230        else
15231	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
15232        fi
15233	# Put the nasty error message in config.log where it belongs
15234	echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
15235
15236	:
15237elif test $pkg_failed = untried; then
15238     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15239$as_echo "no" >&6; }
15240	:
15241else
15242	GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
15243	GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
15244        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15245$as_echo "yes" >&6; }
15246
15247fi
15248  fi
15249
15250    # Check whether --enable-gtk-doc-html was given.
15251if test "${enable_gtk_doc_html+set}" = set; then :
15252  enableval=$enable_gtk_doc_html;
15253else
15254  enable_gtk_doc_html=yes
15255fi
15256
15257    # Check whether --enable-gtk-doc-pdf was given.
15258if test "${enable_gtk_doc_pdf+set}" = set; then :
15259  enableval=$enable_gtk_doc_pdf;
15260else
15261  enable_gtk_doc_pdf=no
15262fi
15263
15264
15265  if test -z "$GTKDOC_MKPDF"; then
15266    enable_gtk_doc_pdf=no
15267  fi
15268
15269  if test -z "$AM_DEFAULT_VERBOSITY"; then
15270    AM_DEFAULT_VERBOSITY=1
15271  fi
15272
15273
15274   if test x$have_gtk_doc = xyes; then
15275  HAVE_GTK_DOC_TRUE=
15276  HAVE_GTK_DOC_FALSE='#'
15277else
15278  HAVE_GTK_DOC_TRUE='#'
15279  HAVE_GTK_DOC_FALSE=
15280fi
15281
15282   if test x$enable_gtk_doc = xyes; then
15283  ENABLE_GTK_DOC_TRUE=
15284  ENABLE_GTK_DOC_FALSE='#'
15285else
15286  ENABLE_GTK_DOC_TRUE='#'
15287  ENABLE_GTK_DOC_FALSE=
15288fi
15289
15290   if test x$enable_gtk_doc_html = xyes; then
15291  GTK_DOC_BUILD_HTML_TRUE=
15292  GTK_DOC_BUILD_HTML_FALSE='#'
15293else
15294  GTK_DOC_BUILD_HTML_TRUE='#'
15295  GTK_DOC_BUILD_HTML_FALSE=
15296fi
15297
15298   if test x$enable_gtk_doc_pdf = xyes; then
15299  GTK_DOC_BUILD_PDF_TRUE=
15300  GTK_DOC_BUILD_PDF_FALSE='#'
15301else
15302  GTK_DOC_BUILD_PDF_TRUE='#'
15303  GTK_DOC_BUILD_PDF_FALSE=
15304fi
15305
15306   if test -n "$LIBTOOL"; then
15307  GTK_DOC_USE_LIBTOOL_TRUE=
15308  GTK_DOC_USE_LIBTOOL_FALSE='#'
15309else
15310  GTK_DOC_USE_LIBTOOL_TRUE='#'
15311  GTK_DOC_USE_LIBTOOL_FALSE=
15312fi
15313
15314   if test -n "$GTKDOC_REBASE"; then
15315  GTK_DOC_USE_REBASE_TRUE=
15316  GTK_DOC_USE_REBASE_FALSE='#'
15317else
15318  GTK_DOC_USE_REBASE_TRUE='#'
15319  GTK_DOC_USE_REBASE_FALSE=
15320fi
15321
15322
15323 if test "x$enable_gtk_doc" = "xyes" || test ! -f "autogen.sh"; then
15324  BUILD_GTK_DOC_TRUE=
15325  BUILD_GTK_DOC_FALSE='#'
15326else
15327  BUILD_GTK_DOC_TRUE='#'
15328  BUILD_GTK_DOC_FALSE=
15329fi
15330
15331
15332ac_config_files="$ac_config_files Makefile itex2mml/Makefile src/Makefile tests/Makefile po/Makefile.in docs/Makefile docs/reference/Makefile docs/reference/lasem/Makefile lasem.pc"
15333
15334cat >confcache <<\_ACEOF
15335# This file is a shell script that caches the results of configure
15336# tests run on this system so they can be shared between configure
15337# scripts and configure runs, see configure's option --config-cache.
15338# It is not useful on other systems.  If it contains results you don't
15339# want to keep, you may remove or edit it.
15340#
15341# config.status only pays attention to the cache file if you give it
15342# the --recheck option to rerun configure.
15343#
15344# `ac_cv_env_foo' variables (set or unset) will be overridden when
15345# loading this file, other *unset* `ac_cv_foo' will be assigned the
15346# following values.
15347
15348_ACEOF
15349
15350# The following way of writing the cache mishandles newlines in values,
15351# but we know of no workaround that is simple, portable, and efficient.
15352# So, we kill variables containing newlines.
15353# Ultrix sh set writes to stderr and can't be redirected directly,
15354# and sets the high bit in the cache file unless we assign to the vars.
15355(
15356  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15357    eval ac_val=\$$ac_var
15358    case $ac_val in #(
15359    *${as_nl}*)
15360      case $ac_var in #(
15361      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15362$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15363      esac
15364      case $ac_var in #(
15365      _ | IFS | as_nl) ;; #(
15366      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15367      *) { eval $ac_var=; unset $ac_var;} ;;
15368      esac ;;
15369    esac
15370  done
15371
15372  (set) 2>&1 |
15373    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15374    *${as_nl}ac_space=\ *)
15375      # `set' does not quote correctly, so add quotes: double-quote
15376      # substitution turns \\\\ into \\, and sed turns \\ into \.
15377      sed -n \
15378	"s/'/'\\\\''/g;
15379	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15380      ;; #(
15381    *)
15382      # `set' quotes correctly as required by POSIX, so do not add quotes.
15383      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15384      ;;
15385    esac |
15386    sort
15387) |
15388  sed '
15389     /^ac_cv_env_/b end
15390     t clear
15391     :clear
15392     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15393     t end
15394     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15395     :end' >>confcache
15396if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15397  if test -w "$cache_file"; then
15398    if test "x$cache_file" != "x/dev/null"; then
15399      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15400$as_echo "$as_me: updating cache $cache_file" >&6;}
15401      if test ! -f "$cache_file" || test -h "$cache_file"; then
15402	cat confcache >"$cache_file"
15403      else
15404        case $cache_file in #(
15405        */* | ?:*)
15406	  mv -f confcache "$cache_file"$$ &&
15407	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15408        *)
15409	  mv -f confcache "$cache_file" ;;
15410	esac
15411      fi
15412    fi
15413  else
15414    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15415$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15416  fi
15417fi
15418rm -f confcache
15419
15420test "x$prefix" = xNONE && prefix=$ac_default_prefix
15421# Let make expand exec_prefix.
15422test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15423
15424DEFS=-DHAVE_CONFIG_H
15425
15426ac_libobjs=
15427ac_ltlibobjs=
15428U=
15429for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15430  # 1. Remove the extension, and $U if already installed.
15431  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15432  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15433  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15434  #    will be set to the directory where LIBOBJS objects are built.
15435  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15436  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15437done
15438LIBOBJS=$ac_libobjs
15439
15440LTLIBOBJS=$ac_ltlibobjs
15441
15442
15443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15444$as_echo_n "checking that generated files are newer than configure... " >&6; }
15445   if test -n "$am_sleep_pid"; then
15446     # Hide warnings about reused PIDs.
15447     wait $am_sleep_pid 2>/dev/null
15448   fi
15449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15450$as_echo "done" >&6; }
15451 if test -n "$EXEEXT"; then
15452  am__EXEEXT_TRUE=
15453  am__EXEEXT_FALSE='#'
15454else
15455  am__EXEEXT_TRUE='#'
15456  am__EXEEXT_FALSE=
15457fi
15458
15459if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15460  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15461Usually this means the macro was only invoked conditionally." "$LINENO" 5
15462fi
15463if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15464  as_fn_error $? "conditional \"AMDEP\" was never defined.
15465Usually this means the macro was only invoked conditionally." "$LINENO" 5
15466fi
15467if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15468  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15469Usually this means the macro was only invoked conditionally." "$LINENO" 5
15470fi
15471if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15472  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15473Usually this means the macro was only invoked conditionally." "$LINENO" 5
15474fi
15475
15476  ac_config_commands="$ac_config_commands po/stamp-it"
15477
15478
15479if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
15480  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
15481Usually this means the macro was only invoked conditionally." "$LINENO" 5
15482fi
15483if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
15484  as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
15485Usually this means the macro was only invoked conditionally." "$LINENO" 5
15486fi
15487if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15488  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15489Usually this means the macro was only invoked conditionally." "$LINENO" 5
15490fi
15491if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15492  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15493Usually this means the macro was only invoked conditionally." "$LINENO" 5
15494fi
15495if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15496  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15497Usually this means the macro was only invoked conditionally." "$LINENO" 5
15498fi
15499if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15500  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15501Usually this means the macro was only invoked conditionally." "$LINENO" 5
15502fi
15503if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15504  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15505Usually this means the macro was only invoked conditionally." "$LINENO" 5
15506fi
15507if test -z "${BUILD_GTK_DOC_TRUE}" && test -z "${BUILD_GTK_DOC_FALSE}"; then
15508  as_fn_error $? "conditional \"BUILD_GTK_DOC\" was never defined.
15509Usually this means the macro was only invoked conditionally." "$LINENO" 5
15510fi
15511
15512: "${CONFIG_STATUS=./config.status}"
15513ac_write_fail=0
15514ac_clean_files_save=$ac_clean_files
15515ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15516{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15517$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15518as_write_fail=0
15519cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15520#! $SHELL
15521# Generated by $as_me.
15522# Run this file to recreate the current configuration.
15523# Compiler output produced by configure, useful for debugging
15524# configure, is in config.log if it exists.
15525
15526debug=false
15527ac_cs_recheck=false
15528ac_cs_silent=false
15529
15530SHELL=\${CONFIG_SHELL-$SHELL}
15531export SHELL
15532_ASEOF
15533cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15534## -------------------- ##
15535## M4sh Initialization. ##
15536## -------------------- ##
15537
15538# Be more Bourne compatible
15539DUALCASE=1; export DUALCASE # for MKS sh
15540if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15541  emulate sh
15542  NULLCMD=:
15543  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15544  # is contrary to our usage.  Disable this feature.
15545  alias -g '${1+"$@"}'='"$@"'
15546  setopt NO_GLOB_SUBST
15547else
15548  case `(set -o) 2>/dev/null` in #(
15549  *posix*) :
15550    set -o posix ;; #(
15551  *) :
15552     ;;
15553esac
15554fi
15555
15556
15557as_nl='
15558'
15559export as_nl
15560# Printing a long string crashes Solaris 7 /usr/bin/printf.
15561as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15562as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15563as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15564# Prefer a ksh shell builtin over an external printf program on Solaris,
15565# but without wasting forks for bash or zsh.
15566if test -z "$BASH_VERSION$ZSH_VERSION" \
15567    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15568  as_echo='print -r --'
15569  as_echo_n='print -rn --'
15570elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15571  as_echo='printf %s\n'
15572  as_echo_n='printf %s'
15573else
15574  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15575    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15576    as_echo_n='/usr/ucb/echo -n'
15577  else
15578    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15579    as_echo_n_body='eval
15580      arg=$1;
15581      case $arg in #(
15582      *"$as_nl"*)
15583	expr "X$arg" : "X\\(.*\\)$as_nl";
15584	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15585      esac;
15586      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15587    '
15588    export as_echo_n_body
15589    as_echo_n='sh -c $as_echo_n_body as_echo'
15590  fi
15591  export as_echo_body
15592  as_echo='sh -c $as_echo_body as_echo'
15593fi
15594
15595# The user is always right.
15596if test "${PATH_SEPARATOR+set}" != set; then
15597  PATH_SEPARATOR=:
15598  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15599    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15600      PATH_SEPARATOR=';'
15601  }
15602fi
15603
15604
15605# IFS
15606# We need space, tab and new line, in precisely that order.  Quoting is
15607# there to prevent editors from complaining about space-tab.
15608# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15609# splitting by setting IFS to empty value.)
15610IFS=" ""	$as_nl"
15611
15612# Find who we are.  Look in the path if we contain no directory separator.
15613as_myself=
15614case $0 in #((
15615  *[\\/]* ) as_myself=$0 ;;
15616  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15617for as_dir in $PATH
15618do
15619  IFS=$as_save_IFS
15620  test -z "$as_dir" && as_dir=.
15621    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15622  done
15623IFS=$as_save_IFS
15624
15625     ;;
15626esac
15627# We did not find ourselves, most probably we were run as `sh COMMAND'
15628# in which case we are not to be found in the path.
15629if test "x$as_myself" = x; then
15630  as_myself=$0
15631fi
15632if test ! -f "$as_myself"; then
15633  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15634  exit 1
15635fi
15636
15637# Unset variables that we do not need and which cause bugs (e.g. in
15638# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15639# suppresses any "Segmentation fault" message there.  '((' could
15640# trigger a bug in pdksh 5.2.14.
15641for as_var in BASH_ENV ENV MAIL MAILPATH
15642do eval test x\${$as_var+set} = xset \
15643  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15644done
15645PS1='$ '
15646PS2='> '
15647PS4='+ '
15648
15649# NLS nuisances.
15650LC_ALL=C
15651export LC_ALL
15652LANGUAGE=C
15653export LANGUAGE
15654
15655# CDPATH.
15656(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15657
15658
15659# as_fn_error STATUS ERROR [LINENO LOG_FD]
15660# ----------------------------------------
15661# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15662# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15663# script with STATUS, using 1 if that was 0.
15664as_fn_error ()
15665{
15666  as_status=$1; test $as_status -eq 0 && as_status=1
15667  if test "$4"; then
15668    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15669    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15670  fi
15671  $as_echo "$as_me: error: $2" >&2
15672  as_fn_exit $as_status
15673} # as_fn_error
15674
15675
15676# as_fn_set_status STATUS
15677# -----------------------
15678# Set $? to STATUS, without forking.
15679as_fn_set_status ()
15680{
15681  return $1
15682} # as_fn_set_status
15683
15684# as_fn_exit STATUS
15685# -----------------
15686# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15687as_fn_exit ()
15688{
15689  set +e
15690  as_fn_set_status $1
15691  exit $1
15692} # as_fn_exit
15693
15694# as_fn_unset VAR
15695# ---------------
15696# Portably unset VAR.
15697as_fn_unset ()
15698{
15699  { eval $1=; unset $1;}
15700}
15701as_unset=as_fn_unset
15702# as_fn_append VAR VALUE
15703# ----------------------
15704# Append the text in VALUE to the end of the definition contained in VAR. Take
15705# advantage of any shell optimizations that allow amortized linear growth over
15706# repeated appends, instead of the typical quadratic growth present in naive
15707# implementations.
15708if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15709  eval 'as_fn_append ()
15710  {
15711    eval $1+=\$2
15712  }'
15713else
15714  as_fn_append ()
15715  {
15716    eval $1=\$$1\$2
15717  }
15718fi # as_fn_append
15719
15720# as_fn_arith ARG...
15721# ------------------
15722# Perform arithmetic evaluation on the ARGs, and store the result in the
15723# global $as_val. Take advantage of shells that can avoid forks. The arguments
15724# must be portable across $(()) and expr.
15725if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15726  eval 'as_fn_arith ()
15727  {
15728    as_val=$(( $* ))
15729  }'
15730else
15731  as_fn_arith ()
15732  {
15733    as_val=`expr "$@" || test $? -eq 1`
15734  }
15735fi # as_fn_arith
15736
15737
15738if expr a : '\(a\)' >/dev/null 2>&1 &&
15739   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15740  as_expr=expr
15741else
15742  as_expr=false
15743fi
15744
15745if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15746  as_basename=basename
15747else
15748  as_basename=false
15749fi
15750
15751if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15752  as_dirname=dirname
15753else
15754  as_dirname=false
15755fi
15756
15757as_me=`$as_basename -- "$0" ||
15758$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15759	 X"$0" : 'X\(//\)$' \| \
15760	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15761$as_echo X/"$0" |
15762    sed '/^.*\/\([^/][^/]*\)\/*$/{
15763	    s//\1/
15764	    q
15765	  }
15766	  /^X\/\(\/\/\)$/{
15767	    s//\1/
15768	    q
15769	  }
15770	  /^X\/\(\/\).*/{
15771	    s//\1/
15772	    q
15773	  }
15774	  s/.*/./; q'`
15775
15776# Avoid depending upon Character Ranges.
15777as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15778as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15779as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15780as_cr_digits='0123456789'
15781as_cr_alnum=$as_cr_Letters$as_cr_digits
15782
15783ECHO_C= ECHO_N= ECHO_T=
15784case `echo -n x` in #(((((
15785-n*)
15786  case `echo 'xy\c'` in
15787  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15788  xy)  ECHO_C='\c';;
15789  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15790       ECHO_T='	';;
15791  esac;;
15792*)
15793  ECHO_N='-n';;
15794esac
15795
15796rm -f conf$$ conf$$.exe conf$$.file
15797if test -d conf$$.dir; then
15798  rm -f conf$$.dir/conf$$.file
15799else
15800  rm -f conf$$.dir
15801  mkdir conf$$.dir 2>/dev/null
15802fi
15803if (echo >conf$$.file) 2>/dev/null; then
15804  if ln -s conf$$.file conf$$ 2>/dev/null; then
15805    as_ln_s='ln -s'
15806    # ... but there are two gotchas:
15807    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15808    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15809    # In both cases, we have to default to `cp -pR'.
15810    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15811      as_ln_s='cp -pR'
15812  elif ln conf$$.file conf$$ 2>/dev/null; then
15813    as_ln_s=ln
15814  else
15815    as_ln_s='cp -pR'
15816  fi
15817else
15818  as_ln_s='cp -pR'
15819fi
15820rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15821rmdir conf$$.dir 2>/dev/null
15822
15823
15824# as_fn_mkdir_p
15825# -------------
15826# Create "$as_dir" as a directory, including parents if necessary.
15827as_fn_mkdir_p ()
15828{
15829
15830  case $as_dir in #(
15831  -*) as_dir=./$as_dir;;
15832  esac
15833  test -d "$as_dir" || eval $as_mkdir_p || {
15834    as_dirs=
15835    while :; do
15836      case $as_dir in #(
15837      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15838      *) as_qdir=$as_dir;;
15839      esac
15840      as_dirs="'$as_qdir' $as_dirs"
15841      as_dir=`$as_dirname -- "$as_dir" ||
15842$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15843	 X"$as_dir" : 'X\(//\)[^/]' \| \
15844	 X"$as_dir" : 'X\(//\)$' \| \
15845	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15846$as_echo X"$as_dir" |
15847    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15848	    s//\1/
15849	    q
15850	  }
15851	  /^X\(\/\/\)[^/].*/{
15852	    s//\1/
15853	    q
15854	  }
15855	  /^X\(\/\/\)$/{
15856	    s//\1/
15857	    q
15858	  }
15859	  /^X\(\/\).*/{
15860	    s//\1/
15861	    q
15862	  }
15863	  s/.*/./; q'`
15864      test -d "$as_dir" && break
15865    done
15866    test -z "$as_dirs" || eval "mkdir $as_dirs"
15867  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15868
15869
15870} # as_fn_mkdir_p
15871if mkdir -p . 2>/dev/null; then
15872  as_mkdir_p='mkdir -p "$as_dir"'
15873else
15874  test -d ./-p && rmdir ./-p
15875  as_mkdir_p=false
15876fi
15877
15878
15879# as_fn_executable_p FILE
15880# -----------------------
15881# Test if FILE is an executable regular file.
15882as_fn_executable_p ()
15883{
15884  test -f "$1" && test -x "$1"
15885} # as_fn_executable_p
15886as_test_x='test -x'
15887as_executable_p=as_fn_executable_p
15888
15889# Sed expression to map a string onto a valid CPP name.
15890as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15891
15892# Sed expression to map a string onto a valid variable name.
15893as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15894
15895
15896exec 6>&1
15897## ----------------------------------- ##
15898## Main body of $CONFIG_STATUS script. ##
15899## ----------------------------------- ##
15900_ASEOF
15901test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15902
15903cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15904# Save the log message, to keep $0 and so on meaningful, and to
15905# report actual input values of CONFIG_FILES etc. instead of their
15906# values after options handling.
15907ac_log="
15908This file was extended by lasem $as_me 0.5.1, which was
15909generated by GNU Autoconf 2.69.  Invocation command line was
15910
15911  CONFIG_FILES    = $CONFIG_FILES
15912  CONFIG_HEADERS  = $CONFIG_HEADERS
15913  CONFIG_LINKS    = $CONFIG_LINKS
15914  CONFIG_COMMANDS = $CONFIG_COMMANDS
15915  $ $0 $@
15916
15917on `(hostname || uname -n) 2>/dev/null | sed 1q`
15918"
15919
15920_ACEOF
15921
15922case $ac_config_files in *"
15923"*) set x $ac_config_files; shift; ac_config_files=$*;;
15924esac
15925
15926case $ac_config_headers in *"
15927"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15928esac
15929
15930
15931cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15932# Files that config.status was made for.
15933config_files="$ac_config_files"
15934config_headers="$ac_config_headers"
15935config_commands="$ac_config_commands"
15936
15937_ACEOF
15938
15939cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15940ac_cs_usage="\
15941\`$as_me' instantiates files and other configuration actions
15942from templates according to the current configuration.  Unless the files
15943and actions are specified as TAGs, all are instantiated by default.
15944
15945Usage: $0 [OPTION]... [TAG]...
15946
15947  -h, --help       print this help, then exit
15948  -V, --version    print version number and configuration settings, then exit
15949      --config     print configuration, then exit
15950  -q, --quiet, --silent
15951                   do not print progress messages
15952  -d, --debug      don't remove temporary files
15953      --recheck    update $as_me by reconfiguring in the same conditions
15954      --file=FILE[:TEMPLATE]
15955                   instantiate the configuration file FILE
15956      --header=FILE[:TEMPLATE]
15957                   instantiate the configuration header FILE
15958
15959Configuration files:
15960$config_files
15961
15962Configuration headers:
15963$config_headers
15964
15965Configuration commands:
15966$config_commands
15967
15968Report bugs to <http://bugzilla.gnome.org/>."
15969
15970_ACEOF
15971cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15972ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15973ac_cs_version="\\
15974lasem config.status 0.5.1
15975configured by $0, generated by GNU Autoconf 2.69,
15976  with options \\"\$ac_cs_config\\"
15977
15978Copyright (C) 2012 Free Software Foundation, Inc.
15979This config.status script is free software; the Free Software Foundation
15980gives unlimited permission to copy, distribute and modify it."
15981
15982ac_pwd='$ac_pwd'
15983srcdir='$srcdir'
15984INSTALL='$INSTALL'
15985MKDIR_P='$MKDIR_P'
15986AWK='$AWK'
15987test -n "\$AWK" || AWK=awk
15988_ACEOF
15989
15990cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15991# The default lists apply if the user does not specify any file.
15992ac_need_defaults=:
15993while test $# != 0
15994do
15995  case $1 in
15996  --*=?*)
15997    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15998    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15999    ac_shift=:
16000    ;;
16001  --*=)
16002    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16003    ac_optarg=
16004    ac_shift=:
16005    ;;
16006  *)
16007    ac_option=$1
16008    ac_optarg=$2
16009    ac_shift=shift
16010    ;;
16011  esac
16012
16013  case $ac_option in
16014  # Handling of the options.
16015  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16016    ac_cs_recheck=: ;;
16017  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16018    $as_echo "$ac_cs_version"; exit ;;
16019  --config | --confi | --conf | --con | --co | --c )
16020    $as_echo "$ac_cs_config"; exit ;;
16021  --debug | --debu | --deb | --de | --d | -d )
16022    debug=: ;;
16023  --file | --fil | --fi | --f )
16024    $ac_shift
16025    case $ac_optarg in
16026    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16027    '') as_fn_error $? "missing file argument" ;;
16028    esac
16029    as_fn_append CONFIG_FILES " '$ac_optarg'"
16030    ac_need_defaults=false;;
16031  --header | --heade | --head | --hea )
16032    $ac_shift
16033    case $ac_optarg in
16034    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16035    esac
16036    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16037    ac_need_defaults=false;;
16038  --he | --h)
16039    # Conflict between --help and --header
16040    as_fn_error $? "ambiguous option: \`$1'
16041Try \`$0 --help' for more information.";;
16042  --help | --hel | -h )
16043    $as_echo "$ac_cs_usage"; exit ;;
16044  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16045  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16046    ac_cs_silent=: ;;
16047
16048  # This is an error.
16049  -*) as_fn_error $? "unrecognized option: \`$1'
16050Try \`$0 --help' for more information." ;;
16051
16052  *) as_fn_append ac_config_targets " $1"
16053     ac_need_defaults=false ;;
16054
16055  esac
16056  shift
16057done
16058
16059ac_configure_extra_args=
16060
16061if $ac_cs_silent; then
16062  exec 6>/dev/null
16063  ac_configure_extra_args="$ac_configure_extra_args --silent"
16064fi
16065
16066_ACEOF
16067cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16068if \$ac_cs_recheck; then
16069  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16070  shift
16071  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16072  CONFIG_SHELL='$SHELL'
16073  export CONFIG_SHELL
16074  exec "\$@"
16075fi
16076
16077_ACEOF
16078cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16079exec 5>>config.log
16080{
16081  echo
16082  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16083## Running $as_me. ##
16084_ASBOX
16085  $as_echo "$ac_log"
16086} >&5
16087
16088_ACEOF
16089cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16090#
16091# INIT-COMMANDS
16092#
16093AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
16094
16095
16096
16097# The HP-UX ksh and POSIX shell print the target directory to stdout
16098# if CDPATH is set.
16099(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16100
16101sed_quote_subst='$sed_quote_subst'
16102double_quote_subst='$double_quote_subst'
16103delay_variable_subst='$delay_variable_subst'
16104macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16105macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16106enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16107enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16108pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16109enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16110shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16111SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16112ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16113PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16114host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16115host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16116host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16117build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16118build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16119build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16120SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16121Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16122GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16123EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16124FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16125LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16126NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16127LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16128max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16129ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16130exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16131lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16132lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16133lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16134lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16135lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16136reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16137reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16138OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16139deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16140file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16141file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16142want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16143DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16144sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16145AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16146AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16147archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16148STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16149RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16150old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16151old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16152old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16153lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16154CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16155CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16156compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16157GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16158lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16159lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16160lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16161lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16162lt_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"`'
16163lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16164nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16165lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16166lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16167objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16168MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16169lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16170lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16171lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16172lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16173lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16174need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16175MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16176DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16177NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16178LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16179OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16180OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16181libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16182shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16183extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16184archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16185enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16186export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16187whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16188compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16189old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16190old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16191archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16192archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16193module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16194module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16195with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16196allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16197no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16198hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16199hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16200hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16201hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16202hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16203hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16204hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16205inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16206link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16207always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16208export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16209exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16210include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16211prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16212postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16213file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16214variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16215need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16216need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16217version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16218runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16219shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16220shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16221libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16222library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16223soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16224install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16225postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16226postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16227finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16228finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16229hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16230sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16231configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16232configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16233hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16234enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16235enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16236enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16237old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16238striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16239
16240LTCC='$LTCC'
16241LTCFLAGS='$LTCFLAGS'
16242compiler='$compiler_DEFAULT'
16243
16244# A function that is used when there is no print builtin or printf.
16245func_fallback_echo ()
16246{
16247  eval 'cat <<_LTECHO_EOF
16248\$1
16249_LTECHO_EOF'
16250}
16251
16252# Quote evaled strings.
16253for var in SHELL \
16254ECHO \
16255PATH_SEPARATOR \
16256SED \
16257GREP \
16258EGREP \
16259FGREP \
16260LD \
16261NM \
16262LN_S \
16263lt_SP2NL \
16264lt_NL2SP \
16265reload_flag \
16266OBJDUMP \
16267deplibs_check_method \
16268file_magic_cmd \
16269file_magic_glob \
16270want_nocaseglob \
16271DLLTOOL \
16272sharedlib_from_linklib_cmd \
16273AR \
16274AR_FLAGS \
16275archiver_list_spec \
16276STRIP \
16277RANLIB \
16278CC \
16279CFLAGS \
16280compiler \
16281lt_cv_sys_global_symbol_pipe \
16282lt_cv_sys_global_symbol_to_cdecl \
16283lt_cv_sys_global_symbol_to_import \
16284lt_cv_sys_global_symbol_to_c_name_address \
16285lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16286lt_cv_nm_interface \
16287nm_file_list_spec \
16288lt_cv_truncate_bin \
16289lt_prog_compiler_no_builtin_flag \
16290lt_prog_compiler_pic \
16291lt_prog_compiler_wl \
16292lt_prog_compiler_static \
16293lt_cv_prog_compiler_c_o \
16294need_locks \
16295MANIFEST_TOOL \
16296DSYMUTIL \
16297NMEDIT \
16298LIPO \
16299OTOOL \
16300OTOOL64 \
16301shrext_cmds \
16302export_dynamic_flag_spec \
16303whole_archive_flag_spec \
16304compiler_needs_object \
16305with_gnu_ld \
16306allow_undefined_flag \
16307no_undefined_flag \
16308hardcode_libdir_flag_spec \
16309hardcode_libdir_separator \
16310exclude_expsyms \
16311include_expsyms \
16312file_list_spec \
16313variables_saved_for_relink \
16314libname_spec \
16315library_names_spec \
16316soname_spec \
16317install_override_mode \
16318finish_eval \
16319old_striplib \
16320striplib; do
16321    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16322    *[\\\\\\\`\\"\\\$]*)
16323      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16324      ;;
16325    *)
16326      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16327      ;;
16328    esac
16329done
16330
16331# Double-quote double-evaled strings.
16332for var in reload_cmds \
16333old_postinstall_cmds \
16334old_postuninstall_cmds \
16335old_archive_cmds \
16336extract_expsyms_cmds \
16337old_archive_from_new_cmds \
16338old_archive_from_expsyms_cmds \
16339archive_cmds \
16340archive_expsym_cmds \
16341module_cmds \
16342module_expsym_cmds \
16343export_symbols_cmds \
16344prelink_cmds \
16345postlink_cmds \
16346postinstall_cmds \
16347postuninstall_cmds \
16348finish_cmds \
16349sys_lib_search_path_spec \
16350configure_time_dlsearch_path \
16351configure_time_lt_sys_library_path; do
16352    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16353    *[\\\\\\\`\\"\\\$]*)
16354      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16355      ;;
16356    *)
16357      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16358      ;;
16359    esac
16360done
16361
16362ac_aux_dir='$ac_aux_dir'
16363
16364# See if we are running on zsh, and set the options that allow our
16365# commands through without removal of \ escapes INIT.
16366if test -n "\${ZSH_VERSION+set}"; then
16367   setopt NO_GLOB_SUBST
16368fi
16369
16370
16371    PACKAGE='$PACKAGE'
16372    VERSION='$VERSION'
16373    RM='$RM'
16374    ofile='$ofile'
16375
16376
16377
16378
16379_ACEOF
16380
16381cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16382
16383# Handling of arguments.
16384for ac_config_target in $ac_config_targets
16385do
16386  case $ac_config_target in
16387    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16388    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16389    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16390    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16391    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16392    "itex2mml/Makefile") CONFIG_FILES="$CONFIG_FILES itex2mml/Makefile" ;;
16393    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16394    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16395    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16396    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16397    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
16398    "docs/reference/lasem/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/lasem/Makefile" ;;
16399    "lasem.pc") CONFIG_FILES="$CONFIG_FILES lasem.pc" ;;
16400    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16401
16402  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16403  esac
16404done
16405
16406
16407# If the user did not use the arguments to specify the items to instantiate,
16408# then the envvar interface is used.  Set only those that are not.
16409# We use the long form for the default assignment because of an extremely
16410# bizarre bug on SunOS 4.1.3.
16411if $ac_need_defaults; then
16412  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16413  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16414  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16415fi
16416
16417# Have a temporary directory for convenience.  Make it in the build tree
16418# simply because there is no reason against having it here, and in addition,
16419# creating and moving files from /tmp can sometimes cause problems.
16420# Hook for its removal unless debugging.
16421# Note that there is a small window in which the directory will not be cleaned:
16422# after its creation but before its name has been assigned to `$tmp'.
16423$debug ||
16424{
16425  tmp= ac_tmp=
16426  trap 'exit_status=$?
16427  : "${ac_tmp:=$tmp}"
16428  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16429' 0
16430  trap 'as_fn_exit 1' 1 2 13 15
16431}
16432# Create a (secure) tmp directory for tmp files.
16433
16434{
16435  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16436  test -d "$tmp"
16437}  ||
16438{
16439  tmp=./conf$$-$RANDOM
16440  (umask 077 && mkdir "$tmp")
16441} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16442ac_tmp=$tmp
16443
16444# Set up the scripts for CONFIG_FILES section.
16445# No need to generate them if there are no CONFIG_FILES.
16446# This happens for instance with `./config.status config.h'.
16447if test -n "$CONFIG_FILES"; then
16448
16449
16450ac_cr=`echo X | tr X '\015'`
16451# On cygwin, bash can eat \r inside `` if the user requested igncr.
16452# But we know of no other shell where ac_cr would be empty at this
16453# point, so we can use a bashism as a fallback.
16454if test "x$ac_cr" = x; then
16455  eval ac_cr=\$\'\\r\'
16456fi
16457ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16458if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16459  ac_cs_awk_cr='\\r'
16460else
16461  ac_cs_awk_cr=$ac_cr
16462fi
16463
16464echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16465_ACEOF
16466
16467
16468{
16469  echo "cat >conf$$subs.awk <<_ACEOF" &&
16470  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16471  echo "_ACEOF"
16472} >conf$$subs.sh ||
16473  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16474ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16475ac_delim='%!_!# '
16476for ac_last_try in false false false false false :; do
16477  . ./conf$$subs.sh ||
16478    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16479
16480  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16481  if test $ac_delim_n = $ac_delim_num; then
16482    break
16483  elif $ac_last_try; then
16484    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16485  else
16486    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16487  fi
16488done
16489rm -f conf$$subs.sh
16490
16491cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16492cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16493_ACEOF
16494sed -n '
16495h
16496s/^/S["/; s/!.*/"]=/
16497p
16498g
16499s/^[^!]*!//
16500:repl
16501t repl
16502s/'"$ac_delim"'$//
16503t delim
16504:nl
16505h
16506s/\(.\{148\}\)..*/\1/
16507t more1
16508s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16509p
16510n
16511b repl
16512:more1
16513s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16514p
16515g
16516s/.\{148\}//
16517t nl
16518:delim
16519h
16520s/\(.\{148\}\)..*/\1/
16521t more2
16522s/["\\]/\\&/g; s/^/"/; s/$/"/
16523p
16524b
16525:more2
16526s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16527p
16528g
16529s/.\{148\}//
16530t delim
16531' <conf$$subs.awk | sed '
16532/^[^""]/{
16533  N
16534  s/\n//
16535}
16536' >>$CONFIG_STATUS || ac_write_fail=1
16537rm -f conf$$subs.awk
16538cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16539_ACAWK
16540cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16541  for (key in S) S_is_set[key] = 1
16542  FS = ""
16543
16544}
16545{
16546  line = $ 0
16547  nfields = split(line, field, "@")
16548  substed = 0
16549  len = length(field[1])
16550  for (i = 2; i < nfields; i++) {
16551    key = field[i]
16552    keylen = length(key)
16553    if (S_is_set[key]) {
16554      value = S[key]
16555      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16556      len += length(value) + length(field[++i])
16557      substed = 1
16558    } else
16559      len += 1 + keylen
16560  }
16561
16562  print line
16563}
16564
16565_ACAWK
16566_ACEOF
16567cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16568if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16569  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16570else
16571  cat
16572fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16573  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16574_ACEOF
16575
16576# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16577# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16578# trailing colons and then remove the whole line if VPATH becomes empty
16579# (actually we leave an empty line to preserve line numbers).
16580if test "x$srcdir" = x.; then
16581  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16582h
16583s///
16584s/^/:/
16585s/[	 ]*$/:/
16586s/:\$(srcdir):/:/g
16587s/:\${srcdir}:/:/g
16588s/:@srcdir@:/:/g
16589s/^:*//
16590s/:*$//
16591x
16592s/\(=[	 ]*\).*/\1/
16593G
16594s/\n//
16595s/^[^=]*=[	 ]*$//
16596}'
16597fi
16598
16599cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16600fi # test -n "$CONFIG_FILES"
16601
16602# Set up the scripts for CONFIG_HEADERS section.
16603# No need to generate them if there are no CONFIG_HEADERS.
16604# This happens for instance with `./config.status Makefile'.
16605if test -n "$CONFIG_HEADERS"; then
16606cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16607BEGIN {
16608_ACEOF
16609
16610# Transform confdefs.h into an awk script `defines.awk', embedded as
16611# here-document in config.status, that substitutes the proper values into
16612# config.h.in to produce config.h.
16613
16614# Create a delimiter string that does not exist in confdefs.h, to ease
16615# handling of long lines.
16616ac_delim='%!_!# '
16617for ac_last_try in false false :; do
16618  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16619  if test -z "$ac_tt"; then
16620    break
16621  elif $ac_last_try; then
16622    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16623  else
16624    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16625  fi
16626done
16627
16628# For the awk script, D is an array of macro values keyed by name,
16629# likewise P contains macro parameters if any.  Preserve backslash
16630# newline sequences.
16631
16632ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16633sed -n '
16634s/.\{148\}/&'"$ac_delim"'/g
16635t rset
16636:rset
16637s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16638t def
16639d
16640:def
16641s/\\$//
16642t bsnl
16643s/["\\]/\\&/g
16644s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16645D["\1"]=" \3"/p
16646s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16647d
16648:bsnl
16649s/["\\]/\\&/g
16650s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16651D["\1"]=" \3\\\\\\n"\\/p
16652t cont
16653s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16654t cont
16655d
16656:cont
16657n
16658s/.\{148\}/&'"$ac_delim"'/g
16659t clear
16660:clear
16661s/\\$//
16662t bsnlc
16663s/["\\]/\\&/g; s/^/"/; s/$/"/p
16664d
16665:bsnlc
16666s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16667b cont
16668' <confdefs.h | sed '
16669s/'"$ac_delim"'/"\\\
16670"/g' >>$CONFIG_STATUS || ac_write_fail=1
16671
16672cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16673  for (key in D) D_is_set[key] = 1
16674  FS = ""
16675}
16676/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16677  line = \$ 0
16678  split(line, arg, " ")
16679  if (arg[1] == "#") {
16680    defundef = arg[2]
16681    mac1 = arg[3]
16682  } else {
16683    defundef = substr(arg[1], 2)
16684    mac1 = arg[2]
16685  }
16686  split(mac1, mac2, "(") #)
16687  macro = mac2[1]
16688  prefix = substr(line, 1, index(line, defundef) - 1)
16689  if (D_is_set[macro]) {
16690    # Preserve the white space surrounding the "#".
16691    print prefix "define", macro P[macro] D[macro]
16692    next
16693  } else {
16694    # Replace #undef with comments.  This is necessary, for example,
16695    # in the case of _POSIX_SOURCE, which is predefined and required
16696    # on some systems where configure will not decide to define it.
16697    if (defundef == "undef") {
16698      print "/*", prefix defundef, macro, "*/"
16699      next
16700    }
16701  }
16702}
16703{ print }
16704_ACAWK
16705_ACEOF
16706cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16707  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16708fi # test -n "$CONFIG_HEADERS"
16709
16710
16711eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16712shift
16713for ac_tag
16714do
16715  case $ac_tag in
16716  :[FHLC]) ac_mode=$ac_tag; continue;;
16717  esac
16718  case $ac_mode$ac_tag in
16719  :[FHL]*:*);;
16720  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16721  :[FH]-) ac_tag=-:-;;
16722  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16723  esac
16724  ac_save_IFS=$IFS
16725  IFS=:
16726  set x $ac_tag
16727  IFS=$ac_save_IFS
16728  shift
16729  ac_file=$1
16730  shift
16731
16732  case $ac_mode in
16733  :L) ac_source=$1;;
16734  :[FH])
16735    ac_file_inputs=
16736    for ac_f
16737    do
16738      case $ac_f in
16739      -) ac_f="$ac_tmp/stdin";;
16740      *) # Look for the file first in the build tree, then in the source tree
16741	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16742	 # because $ac_f cannot contain `:'.
16743	 test -f "$ac_f" ||
16744	   case $ac_f in
16745	   [\\/$]*) false;;
16746	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16747	   esac ||
16748	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16749      esac
16750      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16751      as_fn_append ac_file_inputs " '$ac_f'"
16752    done
16753
16754    # Let's still pretend it is `configure' which instantiates (i.e., don't
16755    # use $as_me), people would be surprised to read:
16756    #    /* config.h.  Generated by config.status.  */
16757    configure_input='Generated from '`
16758	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16759	`' by configure.'
16760    if test x"$ac_file" != x-; then
16761      configure_input="$ac_file.  $configure_input"
16762      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16763$as_echo "$as_me: creating $ac_file" >&6;}
16764    fi
16765    # Neutralize special characters interpreted by sed in replacement strings.
16766    case $configure_input in #(
16767    *\&* | *\|* | *\\* )
16768       ac_sed_conf_input=`$as_echo "$configure_input" |
16769       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16770    *) ac_sed_conf_input=$configure_input;;
16771    esac
16772
16773    case $ac_tag in
16774    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16775      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16776    esac
16777    ;;
16778  esac
16779
16780  ac_dir=`$as_dirname -- "$ac_file" ||
16781$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16782	 X"$ac_file" : 'X\(//\)[^/]' \| \
16783	 X"$ac_file" : 'X\(//\)$' \| \
16784	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16785$as_echo X"$ac_file" |
16786    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16787	    s//\1/
16788	    q
16789	  }
16790	  /^X\(\/\/\)[^/].*/{
16791	    s//\1/
16792	    q
16793	  }
16794	  /^X\(\/\/\)$/{
16795	    s//\1/
16796	    q
16797	  }
16798	  /^X\(\/\).*/{
16799	    s//\1/
16800	    q
16801	  }
16802	  s/.*/./; q'`
16803  as_dir="$ac_dir"; as_fn_mkdir_p
16804  ac_builddir=.
16805
16806case "$ac_dir" in
16807.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16808*)
16809  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16810  # A ".." for each directory in $ac_dir_suffix.
16811  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16812  case $ac_top_builddir_sub in
16813  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16814  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16815  esac ;;
16816esac
16817ac_abs_top_builddir=$ac_pwd
16818ac_abs_builddir=$ac_pwd$ac_dir_suffix
16819# for backward compatibility:
16820ac_top_builddir=$ac_top_build_prefix
16821
16822case $srcdir in
16823  .)  # We are building in place.
16824    ac_srcdir=.
16825    ac_top_srcdir=$ac_top_builddir_sub
16826    ac_abs_top_srcdir=$ac_pwd ;;
16827  [\\/]* | ?:[\\/]* )  # Absolute name.
16828    ac_srcdir=$srcdir$ac_dir_suffix;
16829    ac_top_srcdir=$srcdir
16830    ac_abs_top_srcdir=$srcdir ;;
16831  *) # Relative name.
16832    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16833    ac_top_srcdir=$ac_top_build_prefix$srcdir
16834    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16835esac
16836ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16837
16838
16839  case $ac_mode in
16840  :F)
16841  #
16842  # CONFIG_FILE
16843  #
16844
16845  case $INSTALL in
16846  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16847  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16848  esac
16849  ac_MKDIR_P=$MKDIR_P
16850  case $MKDIR_P in
16851  [\\/$]* | ?:[\\/]* ) ;;
16852  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16853  esac
16854_ACEOF
16855
16856cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16857# If the template does not know about datarootdir, expand it.
16858# FIXME: This hack should be removed a few years after 2.60.
16859ac_datarootdir_hack=; ac_datarootdir_seen=
16860ac_sed_dataroot='
16861/datarootdir/ {
16862  p
16863  q
16864}
16865/@datadir@/p
16866/@docdir@/p
16867/@infodir@/p
16868/@localedir@/p
16869/@mandir@/p'
16870case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16871*datarootdir*) ac_datarootdir_seen=yes;;
16872*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16873  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16874$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16875_ACEOF
16876cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16877  ac_datarootdir_hack='
16878  s&@datadir@&$datadir&g
16879  s&@docdir@&$docdir&g
16880  s&@infodir@&$infodir&g
16881  s&@localedir@&$localedir&g
16882  s&@mandir@&$mandir&g
16883  s&\\\${datarootdir}&$datarootdir&g' ;;
16884esac
16885_ACEOF
16886
16887# Neutralize VPATH when `$srcdir' = `.'.
16888# Shell code in configure.ac might set extrasub.
16889# FIXME: do we really want to maintain this feature?
16890cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16891ac_sed_extra="$ac_vpsub
16892$extrasub
16893_ACEOF
16894cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16895:t
16896/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16897s|@configure_input@|$ac_sed_conf_input|;t t
16898s&@top_builddir@&$ac_top_builddir_sub&;t t
16899s&@top_build_prefix@&$ac_top_build_prefix&;t t
16900s&@srcdir@&$ac_srcdir&;t t
16901s&@abs_srcdir@&$ac_abs_srcdir&;t t
16902s&@top_srcdir@&$ac_top_srcdir&;t t
16903s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16904s&@builddir@&$ac_builddir&;t t
16905s&@abs_builddir@&$ac_abs_builddir&;t t
16906s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16907s&@INSTALL@&$ac_INSTALL&;t t
16908s&@MKDIR_P@&$ac_MKDIR_P&;t t
16909$ac_datarootdir_hack
16910"
16911eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16912  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16913
16914test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16915  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16916  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16917      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16918  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16919which seems to be undefined.  Please make sure it is defined" >&5
16920$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16921which seems to be undefined.  Please make sure it is defined" >&2;}
16922
16923  rm -f "$ac_tmp/stdin"
16924  case $ac_file in
16925  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16926  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16927  esac \
16928  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16929 ;;
16930  :H)
16931  #
16932  # CONFIG_HEADER
16933  #
16934  if test x"$ac_file" != x-; then
16935    {
16936      $as_echo "/* $configure_input  */" \
16937      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16938    } >"$ac_tmp/config.h" \
16939      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16940    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16941      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16942$as_echo "$as_me: $ac_file is unchanged" >&6;}
16943    else
16944      rm -f "$ac_file"
16945      mv "$ac_tmp/config.h" "$ac_file" \
16946	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16947    fi
16948  else
16949    $as_echo "/* $configure_input  */" \
16950      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16951      || as_fn_error $? "could not create -" "$LINENO" 5
16952  fi
16953# Compute "$ac_file"'s index in $config_headers.
16954_am_arg="$ac_file"
16955_am_stamp_count=1
16956for _am_header in $config_headers :; do
16957  case $_am_header in
16958    $_am_arg | $_am_arg:* )
16959      break ;;
16960    * )
16961      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16962  esac
16963done
16964echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16965$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16966	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16967	 X"$_am_arg" : 'X\(//\)$' \| \
16968	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16969$as_echo X"$_am_arg" |
16970    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16971	    s//\1/
16972	    q
16973	  }
16974	  /^X\(\/\/\)[^/].*/{
16975	    s//\1/
16976	    q
16977	  }
16978	  /^X\(\/\/\)$/{
16979	    s//\1/
16980	    q
16981	  }
16982	  /^X\(\/\).*/{
16983	    s//\1/
16984	    q
16985	  }
16986	  s/.*/./; q'`/stamp-h$_am_stamp_count
16987 ;;
16988
16989  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16990$as_echo "$as_me: executing $ac_file commands" >&6;}
16991 ;;
16992  esac
16993
16994
16995  case $ac_file$ac_mode in
16996    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16997  # Older Autoconf quotes --file arguments for eval, but not when files
16998  # are listed without --file.  Let's play safe and only enable the eval
16999  # if we detect the quoting.
17000  # TODO: see whether this extra hack can be removed once we start
17001  # requiring Autoconf 2.70 or later.
17002  case $CONFIG_FILES in #(
17003  *\'*) :
17004    eval set x "$CONFIG_FILES" ;; #(
17005  *) :
17006    set x $CONFIG_FILES ;; #(
17007  *) :
17008     ;;
17009esac
17010  shift
17011  # Used to flag and report bootstrapping failures.
17012  am_rc=0
17013  for am_mf
17014  do
17015    # Strip MF so we end up with the name of the file.
17016    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
17017    # Check whether this is an Automake generated Makefile which includes
17018    # dependency-tracking related rules and includes.
17019    # Grep'ing the whole file directly is not great: AIX grep has a line
17020    # limit of 2048, but all sed's we know have understand at least 4000.
17021    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
17022      || continue
17023    am_dirpart=`$as_dirname -- "$am_mf" ||
17024$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17025	 X"$am_mf" : 'X\(//\)[^/]' \| \
17026	 X"$am_mf" : 'X\(//\)$' \| \
17027	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17028$as_echo X"$am_mf" |
17029    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17030	    s//\1/
17031	    q
17032	  }
17033	  /^X\(\/\/\)[^/].*/{
17034	    s//\1/
17035	    q
17036	  }
17037	  /^X\(\/\/\)$/{
17038	    s//\1/
17039	    q
17040	  }
17041	  /^X\(\/\).*/{
17042	    s//\1/
17043	    q
17044	  }
17045	  s/.*/./; q'`
17046    am_filepart=`$as_basename -- "$am_mf" ||
17047$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
17048	 X"$am_mf" : 'X\(//\)$' \| \
17049	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17050$as_echo X/"$am_mf" |
17051    sed '/^.*\/\([^/][^/]*\)\/*$/{
17052	    s//\1/
17053	    q
17054	  }
17055	  /^X\/\(\/\/\)$/{
17056	    s//\1/
17057	    q
17058	  }
17059	  /^X\/\(\/\).*/{
17060	    s//\1/
17061	    q
17062	  }
17063	  s/.*/./; q'`
17064    { echo "$as_me:$LINENO: cd "$am_dirpart" \
17065      && sed -e '/# am--include-marker/d' "$am_filepart" \
17066        | $MAKE -f - am--depfiles" >&5
17067   (cd "$am_dirpart" \
17068      && sed -e '/# am--include-marker/d' "$am_filepart" \
17069        | $MAKE -f - am--depfiles) >&5 2>&5
17070   ac_status=$?
17071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072   (exit $ac_status); } || am_rc=$?
17073  done
17074  if test $am_rc -ne 0; then
17075    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17076$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17077as_fn_error $? "Something went wrong bootstrapping makefile fragments
17078    for automatic dependency tracking.  Try re-running configure with the
17079    '--disable-dependency-tracking' option to at least be able to build
17080    the package (albeit without support for automatic dependency tracking).
17081See \`config.log' for more details" "$LINENO" 5; }
17082  fi
17083  { am_dirpart=; unset am_dirpart;}
17084  { am_filepart=; unset am_filepart;}
17085  { am_mf=; unset am_mf;}
17086  { am_rc=; unset am_rc;}
17087  rm -f conftest-deps.mk
17088}
17089 ;;
17090    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17091        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17092      esac ;;
17093    "libtool":C)
17094
17095    # See if we are running on zsh, and set the options that allow our
17096    # commands through without removal of \ escapes.
17097    if test -n "${ZSH_VERSION+set}"; then
17098      setopt NO_GLOB_SUBST
17099    fi
17100
17101    cfgfile=${ofile}T
17102    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17103    $RM "$cfgfile"
17104
17105    cat <<_LT_EOF >> "$cfgfile"
17106#! $SHELL
17107# Generated automatically by $as_me ($PACKAGE) $VERSION
17108# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17109# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17110
17111# Provide generalized library-building support services.
17112# Written by Gordon Matzigkeit, 1996
17113
17114# Copyright (C) 2014 Free Software Foundation, Inc.
17115# This is free software; see the source for copying conditions.  There is NO
17116# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17117
17118# GNU Libtool is free software; you can redistribute it and/or modify
17119# it under the terms of the GNU General Public License as published by
17120# the Free Software Foundation; either version 2 of of the License, or
17121# (at your option) any later version.
17122#
17123# As a special exception to the GNU General Public License, if you
17124# distribute this file as part of a program or library that is built
17125# using GNU Libtool, you may include this file under the  same
17126# distribution terms that you use for the rest of that program.
17127#
17128# GNU Libtool is distributed in the hope that it will be useful, but
17129# WITHOUT ANY WARRANTY; without even the implied warranty of
17130# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17131# GNU General Public License for more details.
17132#
17133# You should have received a copy of the GNU General Public License
17134# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17135
17136
17137# The names of the tagged configurations supported by this script.
17138available_tags=''
17139
17140# Configured defaults for sys_lib_dlsearch_path munging.
17141: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17142
17143# ### BEGIN LIBTOOL CONFIG
17144
17145# Which release of libtool.m4 was used?
17146macro_version=$macro_version
17147macro_revision=$macro_revision
17148
17149# Whether or not to build shared libraries.
17150build_libtool_libs=$enable_shared
17151
17152# Whether or not to build static libraries.
17153build_old_libs=$enable_static
17154
17155# What type of objects to build.
17156pic_mode=$pic_mode
17157
17158# Whether or not to optimize for fast installation.
17159fast_install=$enable_fast_install
17160
17161# Shared archive member basename,for filename based shared library versioning on AIX.
17162shared_archive_member_spec=$shared_archive_member_spec
17163
17164# Shell to use when invoking shell scripts.
17165SHELL=$lt_SHELL
17166
17167# An echo program that protects backslashes.
17168ECHO=$lt_ECHO
17169
17170# The PATH separator for the build system.
17171PATH_SEPARATOR=$lt_PATH_SEPARATOR
17172
17173# The host system.
17174host_alias=$host_alias
17175host=$host
17176host_os=$host_os
17177
17178# The build system.
17179build_alias=$build_alias
17180build=$build
17181build_os=$build_os
17182
17183# A sed program that does not truncate output.
17184SED=$lt_SED
17185
17186# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17187Xsed="\$SED -e 1s/^X//"
17188
17189# A grep program that handles long lines.
17190GREP=$lt_GREP
17191
17192# An ERE matcher.
17193EGREP=$lt_EGREP
17194
17195# A literal string matcher.
17196FGREP=$lt_FGREP
17197
17198# A BSD- or MS-compatible name lister.
17199NM=$lt_NM
17200
17201# Whether we need soft or hard links.
17202LN_S=$lt_LN_S
17203
17204# What is the maximum length of a command?
17205max_cmd_len=$max_cmd_len
17206
17207# Object file suffix (normally "o").
17208objext=$ac_objext
17209
17210# Executable file suffix (normally "").
17211exeext=$exeext
17212
17213# whether the shell understands "unset".
17214lt_unset=$lt_unset
17215
17216# turn spaces into newlines.
17217SP2NL=$lt_lt_SP2NL
17218
17219# turn newlines into spaces.
17220NL2SP=$lt_lt_NL2SP
17221
17222# convert \$build file names to \$host format.
17223to_host_file_cmd=$lt_cv_to_host_file_cmd
17224
17225# convert \$build files to toolchain format.
17226to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17227
17228# An object symbol dumper.
17229OBJDUMP=$lt_OBJDUMP
17230
17231# Method to check whether dependent libraries are shared objects.
17232deplibs_check_method=$lt_deplibs_check_method
17233
17234# Command to use when deplibs_check_method = "file_magic".
17235file_magic_cmd=$lt_file_magic_cmd
17236
17237# How to find potential files when deplibs_check_method = "file_magic".
17238file_magic_glob=$lt_file_magic_glob
17239
17240# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17241want_nocaseglob=$lt_want_nocaseglob
17242
17243# DLL creation program.
17244DLLTOOL=$lt_DLLTOOL
17245
17246# Command to associate shared and link libraries.
17247sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17248
17249# The archiver.
17250AR=$lt_AR
17251
17252# Flags to create an archive.
17253AR_FLAGS=$lt_AR_FLAGS
17254
17255# How to feed a file listing to the archiver.
17256archiver_list_spec=$lt_archiver_list_spec
17257
17258# A symbol stripping program.
17259STRIP=$lt_STRIP
17260
17261# Commands used to install an old-style archive.
17262RANLIB=$lt_RANLIB
17263old_postinstall_cmds=$lt_old_postinstall_cmds
17264old_postuninstall_cmds=$lt_old_postuninstall_cmds
17265
17266# Whether to use a lock for old archive extraction.
17267lock_old_archive_extraction=$lock_old_archive_extraction
17268
17269# A C compiler.
17270LTCC=$lt_CC
17271
17272# LTCC compiler flags.
17273LTCFLAGS=$lt_CFLAGS
17274
17275# Take the output of nm and produce a listing of raw symbols and C names.
17276global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17277
17278# Transform the output of nm in a proper C declaration.
17279global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17280
17281# Transform the output of nm into a list of symbols to manually relocate.
17282global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17283
17284# Transform the output of nm in a C name address pair.
17285global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17286
17287# Transform the output of nm in a C name address pair when lib prefix is needed.
17288global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17289
17290# The name lister interface.
17291nm_interface=$lt_lt_cv_nm_interface
17292
17293# Specify filename containing input files for \$NM.
17294nm_file_list_spec=$lt_nm_file_list_spec
17295
17296# The root where to search for dependent libraries,and where our libraries should be installed.
17297lt_sysroot=$lt_sysroot
17298
17299# Command to truncate a binary pipe.
17300lt_truncate_bin=$lt_lt_cv_truncate_bin
17301
17302# The name of the directory that contains temporary libtool files.
17303objdir=$objdir
17304
17305# Used to examine libraries when file_magic_cmd begins with "file".
17306MAGIC_CMD=$MAGIC_CMD
17307
17308# Must we lock files when doing compilation?
17309need_locks=$lt_need_locks
17310
17311# Manifest tool.
17312MANIFEST_TOOL=$lt_MANIFEST_TOOL
17313
17314# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17315DSYMUTIL=$lt_DSYMUTIL
17316
17317# Tool to change global to local symbols on Mac OS X.
17318NMEDIT=$lt_NMEDIT
17319
17320# Tool to manipulate fat objects and archives on Mac OS X.
17321LIPO=$lt_LIPO
17322
17323# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17324OTOOL=$lt_OTOOL
17325
17326# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17327OTOOL64=$lt_OTOOL64
17328
17329# Old archive suffix (normally "a").
17330libext=$libext
17331
17332# Shared library suffix (normally ".so").
17333shrext_cmds=$lt_shrext_cmds
17334
17335# The commands to extract the exported symbol list from a shared archive.
17336extract_expsyms_cmds=$lt_extract_expsyms_cmds
17337
17338# Variables whose values should be saved in libtool wrapper scripts and
17339# restored at link time.
17340variables_saved_for_relink=$lt_variables_saved_for_relink
17341
17342# Do we need the "lib" prefix for modules?
17343need_lib_prefix=$need_lib_prefix
17344
17345# Do we need a version for libraries?
17346need_version=$need_version
17347
17348# Library versioning type.
17349version_type=$version_type
17350
17351# Shared library runtime path variable.
17352runpath_var=$runpath_var
17353
17354# Shared library path variable.
17355shlibpath_var=$shlibpath_var
17356
17357# Is shlibpath searched before the hard-coded library search path?
17358shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17359
17360# Format of library name prefix.
17361libname_spec=$lt_libname_spec
17362
17363# List of archive names.  First name is the real one, the rest are links.
17364# The last name is the one that the linker finds with -lNAME
17365library_names_spec=$lt_library_names_spec
17366
17367# The coded name of the library, if different from the real name.
17368soname_spec=$lt_soname_spec
17369
17370# Permission mode override for installation of shared libraries.
17371install_override_mode=$lt_install_override_mode
17372
17373# Command to use after installation of a shared archive.
17374postinstall_cmds=$lt_postinstall_cmds
17375
17376# Command to use after uninstallation of a shared archive.
17377postuninstall_cmds=$lt_postuninstall_cmds
17378
17379# Commands used to finish a libtool library installation in a directory.
17380finish_cmds=$lt_finish_cmds
17381
17382# As "finish_cmds", except a single script fragment to be evaled but
17383# not shown.
17384finish_eval=$lt_finish_eval
17385
17386# Whether we should hardcode library paths into libraries.
17387hardcode_into_libs=$hardcode_into_libs
17388
17389# Compile-time system search path for libraries.
17390sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17391
17392# Detected run-time system search path for libraries.
17393sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17394
17395# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17396configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17397
17398# Whether dlopen is supported.
17399dlopen_support=$enable_dlopen
17400
17401# Whether dlopen of programs is supported.
17402dlopen_self=$enable_dlopen_self
17403
17404# Whether dlopen of statically linked programs is supported.
17405dlopen_self_static=$enable_dlopen_self_static
17406
17407# Commands to strip libraries.
17408old_striplib=$lt_old_striplib
17409striplib=$lt_striplib
17410
17411
17412# The linker used to build libraries.
17413LD=$lt_LD
17414
17415# How to create reloadable object files.
17416reload_flag=$lt_reload_flag
17417reload_cmds=$lt_reload_cmds
17418
17419# Commands used to build an old-style archive.
17420old_archive_cmds=$lt_old_archive_cmds
17421
17422# A language specific compiler.
17423CC=$lt_compiler
17424
17425# Is the compiler the GNU compiler?
17426with_gcc=$GCC
17427
17428# Compiler flag to turn off builtin functions.
17429no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17430
17431# Additional compiler flags for building library objects.
17432pic_flag=$lt_lt_prog_compiler_pic
17433
17434# How to pass a linker flag through the compiler.
17435wl=$lt_lt_prog_compiler_wl
17436
17437# Compiler flag to prevent dynamic linking.
17438link_static_flag=$lt_lt_prog_compiler_static
17439
17440# Does compiler simultaneously support -c and -o options?
17441compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17442
17443# Whether or not to add -lc for building shared libraries.
17444build_libtool_need_lc=$archive_cmds_need_lc
17445
17446# Whether or not to disallow shared libs when runtime libs are static.
17447allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17448
17449# Compiler flag to allow reflexive dlopens.
17450export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17451
17452# Compiler flag to generate shared objects directly from archives.
17453whole_archive_flag_spec=$lt_whole_archive_flag_spec
17454
17455# Whether the compiler copes with passing no objects directly.
17456compiler_needs_object=$lt_compiler_needs_object
17457
17458# Create an old-style archive from a shared archive.
17459old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17460
17461# Create a temporary old-style archive to link instead of a shared archive.
17462old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17463
17464# Commands used to build a shared archive.
17465archive_cmds=$lt_archive_cmds
17466archive_expsym_cmds=$lt_archive_expsym_cmds
17467
17468# Commands used to build a loadable module if different from building
17469# a shared archive.
17470module_cmds=$lt_module_cmds
17471module_expsym_cmds=$lt_module_expsym_cmds
17472
17473# Whether we are building with GNU ld or not.
17474with_gnu_ld=$lt_with_gnu_ld
17475
17476# Flag that allows shared libraries with undefined symbols to be built.
17477allow_undefined_flag=$lt_allow_undefined_flag
17478
17479# Flag that enforces no undefined symbols.
17480no_undefined_flag=$lt_no_undefined_flag
17481
17482# Flag to hardcode \$libdir into a binary during linking.
17483# This must work even if \$libdir does not exist
17484hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17485
17486# Whether we need a single "-rpath" flag with a separated argument.
17487hardcode_libdir_separator=$lt_hardcode_libdir_separator
17488
17489# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17490# DIR into the resulting binary.
17491hardcode_direct=$hardcode_direct
17492
17493# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17494# DIR into the resulting binary and the resulting library dependency is
17495# "absolute",i.e impossible to change by setting \$shlibpath_var if the
17496# library is relocated.
17497hardcode_direct_absolute=$hardcode_direct_absolute
17498
17499# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17500# into the resulting binary.
17501hardcode_minus_L=$hardcode_minus_L
17502
17503# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17504# into the resulting binary.
17505hardcode_shlibpath_var=$hardcode_shlibpath_var
17506
17507# Set to "yes" if building a shared library automatically hardcodes DIR
17508# into the library and all subsequent libraries and executables linked
17509# against it.
17510hardcode_automatic=$hardcode_automatic
17511
17512# Set to yes if linker adds runtime paths of dependent libraries
17513# to runtime path list.
17514inherit_rpath=$inherit_rpath
17515
17516# Whether libtool must link a program against all its dependency libraries.
17517link_all_deplibs=$link_all_deplibs
17518
17519# Set to "yes" if exported symbols are required.
17520always_export_symbols=$always_export_symbols
17521
17522# The commands to list exported symbols.
17523export_symbols_cmds=$lt_export_symbols_cmds
17524
17525# Symbols that should not be listed in the preloaded symbols.
17526exclude_expsyms=$lt_exclude_expsyms
17527
17528# Symbols that must always be exported.
17529include_expsyms=$lt_include_expsyms
17530
17531# Commands necessary for linking programs (against libraries) with templates.
17532prelink_cmds=$lt_prelink_cmds
17533
17534# Commands necessary for finishing linking programs.
17535postlink_cmds=$lt_postlink_cmds
17536
17537# Specify filename containing input files.
17538file_list_spec=$lt_file_list_spec
17539
17540# How to hardcode a shared library path into an executable.
17541hardcode_action=$hardcode_action
17542
17543# ### END LIBTOOL CONFIG
17544
17545_LT_EOF
17546
17547    cat <<'_LT_EOF' >> "$cfgfile"
17548
17549# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17550
17551# func_munge_path_list VARIABLE PATH
17552# -----------------------------------
17553# VARIABLE is name of variable containing _space_ separated list of
17554# directories to be munged by the contents of PATH, which is string
17555# having a format:
17556# "DIR[:DIR]:"
17557#       string "DIR[ DIR]" will be prepended to VARIABLE
17558# ":DIR[:DIR]"
17559#       string "DIR[ DIR]" will be appended to VARIABLE
17560# "DIRP[:DIRP]::[DIRA:]DIRA"
17561#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17562#       "DIRA[ DIRA]" will be appended to VARIABLE
17563# "DIR[:DIR]"
17564#       VARIABLE will be replaced by "DIR[ DIR]"
17565func_munge_path_list ()
17566{
17567    case x$2 in
17568    x)
17569        ;;
17570    *:)
17571        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17572        ;;
17573    x:*)
17574        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17575        ;;
17576    *::*)
17577        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17578        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17579        ;;
17580    *)
17581        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17582        ;;
17583    esac
17584}
17585
17586
17587# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17588func_cc_basename ()
17589{
17590    for cc_temp in $*""; do
17591      case $cc_temp in
17592        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17593        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17594        \-*) ;;
17595        *) break;;
17596      esac
17597    done
17598    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17599}
17600
17601
17602# ### END FUNCTIONS SHARED WITH CONFIGURE
17603
17604_LT_EOF
17605
17606  case $host_os in
17607  aix3*)
17608    cat <<\_LT_EOF >> "$cfgfile"
17609# AIX sometimes has problems with the GCC collect2 program.  For some
17610# reason, if we set the COLLECT_NAMES environment variable, the problems
17611# vanish in a puff of smoke.
17612if test set != "${COLLECT_NAMES+set}"; then
17613  COLLECT_NAMES=
17614  export COLLECT_NAMES
17615fi
17616_LT_EOF
17617    ;;
17618  esac
17619
17620
17621ltmain=$ac_aux_dir/ltmain.sh
17622
17623
17624  # We use sed instead of cat because bash on DJGPP gets confused if
17625  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17626  # text mode, it properly converts lines to CR/LF.  This bash problem
17627  # is reportedly fixed, but why not run on old versions too?
17628  sed '$q' "$ltmain" >> "$cfgfile" \
17629     || (rm -f "$cfgfile"; exit 1)
17630
17631   mv -f "$cfgfile" "$ofile" ||
17632    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17633  chmod +x "$ofile"
17634
17635 ;;
17636    "po/stamp-it":C)
17637    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17638       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17639    fi
17640    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17641    >"po/stamp-it.tmp"
17642    sed '/^#/d
17643	 s/^[[].*] *//
17644	 /^[ 	]*$/d
17645	'"s|^|	$ac_top_srcdir/|" \
17646      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17647
17648    sed '/^POTFILES =/,/[^\\]$/ {
17649		/^POTFILES =/!d
17650		r po/POTFILES
17651	  }
17652	 ' "po/Makefile.in" >"po/Makefile"
17653    rm -f "po/Makefile.tmp"
17654    mv "po/stamp-it.tmp" "po/stamp-it"
17655   ;;
17656
17657  esac
17658done # for ac_tag
17659
17660
17661as_fn_exit 0
17662_ACEOF
17663ac_clean_files=$ac_clean_files_save
17664
17665test $ac_write_fail = 0 ||
17666  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17667
17668
17669# configure is writing to config.log, and then calls config.status.
17670# config.status does its own redirection, appending to config.log.
17671# Unfortunately, on DOS this fails, as config.log is still kept open
17672# by configure, so config.status won't be able to write to it; its
17673# output is simply discarded.  So we exec the FD to /dev/null,
17674# effectively closing config.log, so it can be properly (re)opened and
17675# appended to by config.status.  When coming back to configure, we
17676# need to make the FD available again.
17677if test "$no_create" != yes; then
17678  ac_cs_success=:
17679  ac_config_status_args=
17680  test "$silent" = yes &&
17681    ac_config_status_args="$ac_config_status_args --quiet"
17682  exec 5>/dev/null
17683  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17684  exec 5>>config.log
17685  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17686  # would make configure fail if this is the last instruction.
17687  $ac_cs_success || as_fn_exit 1
17688fi
17689if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17690  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17691$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17692fi
17693
17694
17695echo ""
17696echo "Configuration:"
17697echo ""
17698echo "    Yacc:                   ${YACC}"
17699echo "    Lex:                    ${LEX}"
17700echo "    Compiler:               ${CC}"
17701echo "    Compiler flags:         ${CFLAGS} ${LASEM_CFLAGS}"
17702echo ""
17703