1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for engrampa 1.26.0.
4#
5# Report bugs to <https://github.com/mate-desktop/engrampa/issues>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: https://github.com/mate-desktop/engrampa/issues about
279$0: your system, including any error possibly output before
280$0: this message. Then install a modern shell, or manually
281$0: run the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='engrampa'
592PACKAGE_TARNAME='engrampa'
593PACKAGE_VERSION='1.26.0'
594PACKAGE_STRING='engrampa 1.26.0'
595PACKAGE_BUGREPORT='https://github.com/mate-desktop/engrampa/issues'
596PACKAGE_URL='https://mate-desktop.org'
597
598ac_unique_file="config.h.in"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635gt_needs=
636ac_subst_vars='am__EXEEXT_FALSE
637am__EXEEXT_TRUE
638LTLIBOBJS
639LIBOBJS
640YELP_HELP_RULES
641XMLLINT
642ITSTOOL
643HELP_DIR
644YELP_LC_DIST
645YELP_LC_MEDIA_LINKS
646CPIO
647ZSTD_MIME_TYPE
648ENABLE_MAGIC_FALSE
649ENABLE_MAGIC_TRUE
650MAGIC_LIBS
651MAGIC_CFLAGS
652USE_NLS_FALSE
653USE_NLS_TRUE
654POSUB
655LTLIBINTL
656LIBINTL
657INTLLIBS
658LTLIBICONV
659LIBICONV
660INTL_MACOSX_LIBS
661XGETTEXT_EXTRA_OPTIONS
662MSGMERGE_FOR_MSGFMT_OPTION
663MSGMERGE
664XGETTEXT_015
665XGETTEXT
666GMSGFMT_015
667GMSGFMT
668MSGFMT
669GETTEXT_MACRO_VERSION
670USE_NLS
671GETTEXT_PACKAGE
672ENABLE_PACKAGEKIT_FALSE
673ENABLE_PACKAGEKIT_TRUE
674ENABLE_JSON_GLIB_FALSE
675ENABLE_JSON_GLIB_TRUE
676JSON_GLIB_LIBS
677JSON_GLIB_CFLAGS
678CAJA_EXTENSION_DIR
679ENABLE_CAJA_ACTIONS_FALSE
680ENABLE_CAJA_ACTIONS_TRUE
681CAJA_LIBS
682CAJA_CFLAGS
683FR_LIBS
684FR_CFLAGS
685RUN_IN_PLACE_FALSE
686RUN_IN_PLACE_TRUE
687LIBEGG_LIBS
688LIBEGG_CFLAGS
689CAJA_REQUIRED
690GTK_REQUIRED
691GIO_REQUIRED
692GLIB_REQUIRED
693GLIB_COMPILE_RESOURCES
694GLIB_MKENUMS
695GLIB_GENMARSHAL
696GSETTINGS_RULES
697GLIB_COMPILE_SCHEMAS
698gsettingsschemadir
699GSETTINGS_DISABLE_SCHEMAS_COMPILE
700PKG_CONFIG_LIBDIR
701PKG_CONFIG_PATH
702PKG_CONFIG
703CPP
704LT_SYS_LIBRARY_PATH
705OTOOL64
706OTOOL
707LIPO
708NMEDIT
709DSYMUTIL
710MANIFEST_TOOL
711RANLIB
712ac_ct_AR
713AR
714DLLTOOL
715OBJDUMP
716LN_S
717NM
718ac_ct_DUMPBIN
719DUMPBIN
720LD
721FGREP
722EGREP
723GREP
724SED
725host_os
726host_vendor
727host_cpu
728host
729build_os
730build_vendor
731build_cpu
732build
733LIBTOOL
734WARN_CFLAGS
735am__fastdepCC_FALSE
736am__fastdepCC_TRUE
737CCDEPMODE
738am__nodep
739AMDEPBACKSLASH
740AMDEP_FALSE
741AMDEP_TRUE
742am__include
743DEPDIR
744OBJEXT
745EXEEXT
746ac_ct_CC
747CPPFLAGS
748LDFLAGS
749CFLAGS
750CC
751ACLOCAL_AMFLAGS
752AM_BACKSLASH
753AM_DEFAULT_VERBOSITY
754AM_DEFAULT_V
755AM_V
756am__untar
757am__tar
758AMTAR
759am__leading_dot
760SET_MAKE
761AWK
762mkdir_p
763MKDIR_P
764INSTALL_STRIP_PROGRAM
765STRIP
766install_sh
767MAKEINFO
768AUTOHEADER
769AUTOMAKE
770AUTOCONF
771ACLOCAL
772VERSION
773PACKAGE
774CYGPATH_W
775am__isrc
776INSTALL_DATA
777INSTALL_SCRIPT
778INSTALL_PROGRAM
779target_alias
780host_alias
781build_alias
782LIBS
783ECHO_T
784ECHO_N
785ECHO_C
786DEFS
787mandir
788localedir
789libdir
790psdir
791pdfdir
792dvidir
793htmldir
794infodir
795docdir
796oldincludedir
797includedir
798runstatedir
799localstatedir
800sharedstatedir
801sysconfdir
802datadir
803datarootdir
804libexecdir
805sbindir
806bindir
807program_transform_name
808prefix
809exec_prefix
810PACKAGE_URL
811PACKAGE_BUGREPORT
812PACKAGE_STRING
813PACKAGE_VERSION
814PACKAGE_TARNAME
815PACKAGE_NAME
816PATH_SEPARATOR
817SHELL
818am__quote'
819ac_subst_files=''
820ac_user_opts='
821enable_option_checking
822enable_silent_rules
823enable_debug
824enable_compile_warnings
825enable_dependency_tracking
826enable_static
827enable_shared
828with_pic
829enable_fast_install
830with_aix_soname
831with_gnu_ld
832with_sysroot
833enable_libtool_lock
834enable_schemas_compile
835enable_run_in_place
836enable_caja_actions
837with_cajadir
838enable_packagekit
839enable_nls
840enable_rpath
841with_libiconv_prefix
842with_libintl_prefix
843enable_magic
844with_help_dir
845'
846      ac_precious_vars='build_alias
847host_alias
848target_alias
849CC
850CFLAGS
851LDFLAGS
852LIBS
853CPPFLAGS
854LT_SYS_LIBRARY_PATH
855CPP
856PKG_CONFIG
857PKG_CONFIG_PATH
858PKG_CONFIG_LIBDIR
859GLIB_COMPILE_SCHEMAS
860LIBEGG_CFLAGS
861LIBEGG_LIBS
862FR_CFLAGS
863FR_LIBS
864CAJA_CFLAGS
865CAJA_LIBS
866JSON_GLIB_CFLAGS
867JSON_GLIB_LIBS
868CPIO
869ITSTOOL
870XMLLINT'
871
872
873# Initialize some variables set by options.
874ac_init_help=
875ac_init_version=false
876ac_unrecognized_opts=
877ac_unrecognized_sep=
878# The variables have the same names as the options, with
879# dashes changed to underlines.
880cache_file=/dev/null
881exec_prefix=NONE
882no_create=
883no_recursion=
884prefix=NONE
885program_prefix=NONE
886program_suffix=NONE
887program_transform_name=s,x,x,
888silent=
889site=
890srcdir=
891verbose=
892x_includes=NONE
893x_libraries=NONE
894
895# Installation directory options.
896# These are left unexpanded so users can "make install exec_prefix=/foo"
897# and all the variables that are supposed to be based on exec_prefix
898# by default will actually change.
899# Use braces instead of parens because sh, perl, etc. also accept them.
900# (The list follows the same order as the GNU Coding Standards.)
901bindir='${exec_prefix}/bin'
902sbindir='${exec_prefix}/sbin'
903libexecdir='${exec_prefix}/libexec'
904datarootdir='${prefix}/share'
905datadir='${datarootdir}'
906sysconfdir='${prefix}/etc'
907sharedstatedir='${prefix}/com'
908localstatedir='${prefix}/var'
909runstatedir='${localstatedir}/run'
910includedir='${prefix}/include'
911oldincludedir='/usr/include'
912docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
913infodir='${datarootdir}/info'
914htmldir='${docdir}'
915dvidir='${docdir}'
916pdfdir='${docdir}'
917psdir='${docdir}'
918libdir='${exec_prefix}/lib'
919localedir='${datarootdir}/locale'
920mandir='${datarootdir}/man'
921
922ac_prev=
923ac_dashdash=
924for ac_option
925do
926  # If the previous option needs an argument, assign it.
927  if test -n "$ac_prev"; then
928    eval $ac_prev=\$ac_option
929    ac_prev=
930    continue
931  fi
932
933  case $ac_option in
934  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
935  *=)   ac_optarg= ;;
936  *)    ac_optarg=yes ;;
937  esac
938
939  # Accept the important Cygnus configure options, so we can diagnose typos.
940
941  case $ac_dashdash$ac_option in
942  --)
943    ac_dashdash=yes ;;
944
945  -bindir | --bindir | --bindi | --bind | --bin | --bi)
946    ac_prev=bindir ;;
947  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
948    bindir=$ac_optarg ;;
949
950  -build | --build | --buil | --bui | --bu)
951    ac_prev=build_alias ;;
952  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
953    build_alias=$ac_optarg ;;
954
955  -cache-file | --cache-file | --cache-fil | --cache-fi \
956  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
957    ac_prev=cache_file ;;
958  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
959  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
960    cache_file=$ac_optarg ;;
961
962  --config-cache | -C)
963    cache_file=config.cache ;;
964
965  -datadir | --datadir | --datadi | --datad)
966    ac_prev=datadir ;;
967  -datadir=* | --datadir=* | --datadi=* | --datad=*)
968    datadir=$ac_optarg ;;
969
970  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
971  | --dataroo | --dataro | --datar)
972    ac_prev=datarootdir ;;
973  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
974  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
975    datarootdir=$ac_optarg ;;
976
977  -disable-* | --disable-*)
978    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
979    # Reject names that are not valid shell variable names.
980    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981      as_fn_error $? "invalid feature name: $ac_useropt"
982    ac_useropt_orig=$ac_useropt
983    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984    case $ac_user_opts in
985      *"
986"enable_$ac_useropt"
987"*) ;;
988      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
989	 ac_unrecognized_sep=', ';;
990    esac
991    eval enable_$ac_useropt=no ;;
992
993  -docdir | --docdir | --docdi | --doc | --do)
994    ac_prev=docdir ;;
995  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
996    docdir=$ac_optarg ;;
997
998  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
999    ac_prev=dvidir ;;
1000  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1001    dvidir=$ac_optarg ;;
1002
1003  -enable-* | --enable-*)
1004    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1005    # Reject names that are not valid shell variable names.
1006    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1007      as_fn_error $? "invalid feature name: $ac_useropt"
1008    ac_useropt_orig=$ac_useropt
1009    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1010    case $ac_user_opts in
1011      *"
1012"enable_$ac_useropt"
1013"*) ;;
1014      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1015	 ac_unrecognized_sep=', ';;
1016    esac
1017    eval enable_$ac_useropt=\$ac_optarg ;;
1018
1019  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1020  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1021  | --exec | --exe | --ex)
1022    ac_prev=exec_prefix ;;
1023  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1024  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1025  | --exec=* | --exe=* | --ex=*)
1026    exec_prefix=$ac_optarg ;;
1027
1028  -gas | --gas | --ga | --g)
1029    # Obsolete; use --with-gas.
1030    with_gas=yes ;;
1031
1032  -help | --help | --hel | --he | -h)
1033    ac_init_help=long ;;
1034  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1035    ac_init_help=recursive ;;
1036  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1037    ac_init_help=short ;;
1038
1039  -host | --host | --hos | --ho)
1040    ac_prev=host_alias ;;
1041  -host=* | --host=* | --hos=* | --ho=*)
1042    host_alias=$ac_optarg ;;
1043
1044  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1045    ac_prev=htmldir ;;
1046  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1047  | --ht=*)
1048    htmldir=$ac_optarg ;;
1049
1050  -includedir | --includedir | --includedi | --included | --include \
1051  | --includ | --inclu | --incl | --inc)
1052    ac_prev=includedir ;;
1053  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1054  | --includ=* | --inclu=* | --incl=* | --inc=*)
1055    includedir=$ac_optarg ;;
1056
1057  -infodir | --infodir | --infodi | --infod | --info | --inf)
1058    ac_prev=infodir ;;
1059  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1060    infodir=$ac_optarg ;;
1061
1062  -libdir | --libdir | --libdi | --libd)
1063    ac_prev=libdir ;;
1064  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1065    libdir=$ac_optarg ;;
1066
1067  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1068  | --libexe | --libex | --libe)
1069    ac_prev=libexecdir ;;
1070  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1071  | --libexe=* | --libex=* | --libe=*)
1072    libexecdir=$ac_optarg ;;
1073
1074  -localedir | --localedir | --localedi | --localed | --locale)
1075    ac_prev=localedir ;;
1076  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1077    localedir=$ac_optarg ;;
1078
1079  -localstatedir | --localstatedir | --localstatedi | --localstated \
1080  | --localstate | --localstat | --localsta | --localst | --locals)
1081    ac_prev=localstatedir ;;
1082  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1083  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1084    localstatedir=$ac_optarg ;;
1085
1086  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1087    ac_prev=mandir ;;
1088  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1089    mandir=$ac_optarg ;;
1090
1091  -nfp | --nfp | --nf)
1092    # Obsolete; use --without-fp.
1093    with_fp=no ;;
1094
1095  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1096  | --no-cr | --no-c | -n)
1097    no_create=yes ;;
1098
1099  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1100  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1101    no_recursion=yes ;;
1102
1103  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1104  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1105  | --oldin | --oldi | --old | --ol | --o)
1106    ac_prev=oldincludedir ;;
1107  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1108  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1109  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1110    oldincludedir=$ac_optarg ;;
1111
1112  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1113    ac_prev=prefix ;;
1114  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1115    prefix=$ac_optarg ;;
1116
1117  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1118  | --program-pre | --program-pr | --program-p)
1119    ac_prev=program_prefix ;;
1120  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1121  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1122    program_prefix=$ac_optarg ;;
1123
1124  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1125  | --program-suf | --program-su | --program-s)
1126    ac_prev=program_suffix ;;
1127  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1128  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1129    program_suffix=$ac_optarg ;;
1130
1131  -program-transform-name | --program-transform-name \
1132  | --program-transform-nam | --program-transform-na \
1133  | --program-transform-n | --program-transform- \
1134  | --program-transform | --program-transfor \
1135  | --program-transfo | --program-transf \
1136  | --program-trans | --program-tran \
1137  | --progr-tra | --program-tr | --program-t)
1138    ac_prev=program_transform_name ;;
1139  -program-transform-name=* | --program-transform-name=* \
1140  | --program-transform-nam=* | --program-transform-na=* \
1141  | --program-transform-n=* | --program-transform-=* \
1142  | --program-transform=* | --program-transfor=* \
1143  | --program-transfo=* | --program-transf=* \
1144  | --program-trans=* | --program-tran=* \
1145  | --progr-tra=* | --program-tr=* | --program-t=*)
1146    program_transform_name=$ac_optarg ;;
1147
1148  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1149    ac_prev=pdfdir ;;
1150  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1151    pdfdir=$ac_optarg ;;
1152
1153  -psdir | --psdir | --psdi | --psd | --ps)
1154    ac_prev=psdir ;;
1155  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1156    psdir=$ac_optarg ;;
1157
1158  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1159  | -silent | --silent | --silen | --sile | --sil)
1160    silent=yes ;;
1161
1162  -runstatedir | --runstatedir | --runstatedi | --runstated \
1163  | --runstate | --runstat | --runsta | --runst | --runs \
1164  | --run | --ru | --r)
1165    ac_prev=runstatedir ;;
1166  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1167  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1168  | --run=* | --ru=* | --r=*)
1169    runstatedir=$ac_optarg ;;
1170
1171  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1172    ac_prev=sbindir ;;
1173  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1174  | --sbi=* | --sb=*)
1175    sbindir=$ac_optarg ;;
1176
1177  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1178  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1179  | --sharedst | --shareds | --shared | --share | --shar \
1180  | --sha | --sh)
1181    ac_prev=sharedstatedir ;;
1182  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1183  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1184  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1185  | --sha=* | --sh=*)
1186    sharedstatedir=$ac_optarg ;;
1187
1188  -site | --site | --sit)
1189    ac_prev=site ;;
1190  -site=* | --site=* | --sit=*)
1191    site=$ac_optarg ;;
1192
1193  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1194    ac_prev=srcdir ;;
1195  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1196    srcdir=$ac_optarg ;;
1197
1198  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1199  | --syscon | --sysco | --sysc | --sys | --sy)
1200    ac_prev=sysconfdir ;;
1201  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1202  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1203    sysconfdir=$ac_optarg ;;
1204
1205  -target | --target | --targe | --targ | --tar | --ta | --t)
1206    ac_prev=target_alias ;;
1207  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1208    target_alias=$ac_optarg ;;
1209
1210  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1211    verbose=yes ;;
1212
1213  -version | --version | --versio | --versi | --vers | -V)
1214    ac_init_version=: ;;
1215
1216  -with-* | --with-*)
1217    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1218    # Reject names that are not valid shell variable names.
1219    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1220      as_fn_error $? "invalid package name: $ac_useropt"
1221    ac_useropt_orig=$ac_useropt
1222    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223    case $ac_user_opts in
1224      *"
1225"with_$ac_useropt"
1226"*) ;;
1227      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1228	 ac_unrecognized_sep=', ';;
1229    esac
1230    eval with_$ac_useropt=\$ac_optarg ;;
1231
1232  -without-* | --without-*)
1233    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1234    # Reject names that are not valid shell variable names.
1235    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1236      as_fn_error $? "invalid package name: $ac_useropt"
1237    ac_useropt_orig=$ac_useropt
1238    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239    case $ac_user_opts in
1240      *"
1241"with_$ac_useropt"
1242"*) ;;
1243      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1244	 ac_unrecognized_sep=', ';;
1245    esac
1246    eval with_$ac_useropt=no ;;
1247
1248  --x)
1249    # Obsolete; use --with-x.
1250    with_x=yes ;;
1251
1252  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1253  | --x-incl | --x-inc | --x-in | --x-i)
1254    ac_prev=x_includes ;;
1255  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1256  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1257    x_includes=$ac_optarg ;;
1258
1259  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1260  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1261    ac_prev=x_libraries ;;
1262  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1263  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1264    x_libraries=$ac_optarg ;;
1265
1266  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1267Try \`$0 --help' for more information"
1268    ;;
1269
1270  *=*)
1271    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1272    # Reject names that are not valid shell variable names.
1273    case $ac_envvar in #(
1274      '' | [0-9]* | *[!_$as_cr_alnum]* )
1275      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1276    esac
1277    eval $ac_envvar=\$ac_optarg
1278    export $ac_envvar ;;
1279
1280  *)
1281    # FIXME: should be removed in autoconf 3.0.
1282    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1283    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1284      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1285    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1286    ;;
1287
1288  esac
1289done
1290
1291if test -n "$ac_prev"; then
1292  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1293  as_fn_error $? "missing argument to $ac_option"
1294fi
1295
1296if test -n "$ac_unrecognized_opts"; then
1297  case $enable_option_checking in
1298    no) ;;
1299    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1300    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1301  esac
1302fi
1303
1304# Check all directory arguments for consistency.
1305for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1306		datadir sysconfdir sharedstatedir localstatedir includedir \
1307		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1308		libdir localedir mandir runstatedir
1309do
1310  eval ac_val=\$$ac_var
1311  # Remove trailing slashes.
1312  case $ac_val in
1313    */ )
1314      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1315      eval $ac_var=\$ac_val;;
1316  esac
1317  # Be sure to have absolute directory names.
1318  case $ac_val in
1319    [\\/$]* | ?:[\\/]* )  continue;;
1320    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1321  esac
1322  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1323done
1324
1325# There might be people who depend on the old broken behavior: `$host'
1326# used to hold the argument of --host etc.
1327# FIXME: To remove some day.
1328build=$build_alias
1329host=$host_alias
1330target=$target_alias
1331
1332# FIXME: To remove some day.
1333if test "x$host_alias" != x; then
1334  if test "x$build_alias" = x; then
1335    cross_compiling=maybe
1336  elif test "x$build_alias" != "x$host_alias"; then
1337    cross_compiling=yes
1338  fi
1339fi
1340
1341ac_tool_prefix=
1342test -n "$host_alias" && ac_tool_prefix=$host_alias-
1343
1344test "$silent" = yes && exec 6>/dev/null
1345
1346
1347ac_pwd=`pwd` && test -n "$ac_pwd" &&
1348ac_ls_di=`ls -di .` &&
1349ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1350  as_fn_error $? "working directory cannot be determined"
1351test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1352  as_fn_error $? "pwd does not report name of working directory"
1353
1354
1355# Find the source files, if location was not specified.
1356if test -z "$srcdir"; then
1357  ac_srcdir_defaulted=yes
1358  # Try the directory containing this script, then the parent directory.
1359  ac_confdir=`$as_dirname -- "$as_myself" ||
1360$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1361	 X"$as_myself" : 'X\(//\)[^/]' \| \
1362	 X"$as_myself" : 'X\(//\)$' \| \
1363	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1364$as_echo X"$as_myself" |
1365    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1366	    s//\1/
1367	    q
1368	  }
1369	  /^X\(\/\/\)[^/].*/{
1370	    s//\1/
1371	    q
1372	  }
1373	  /^X\(\/\/\)$/{
1374	    s//\1/
1375	    q
1376	  }
1377	  /^X\(\/\).*/{
1378	    s//\1/
1379	    q
1380	  }
1381	  s/.*/./; q'`
1382  srcdir=$ac_confdir
1383  if test ! -r "$srcdir/$ac_unique_file"; then
1384    srcdir=..
1385  fi
1386else
1387  ac_srcdir_defaulted=no
1388fi
1389if test ! -r "$srcdir/$ac_unique_file"; then
1390  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1391  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1392fi
1393ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1394ac_abs_confdir=`(
1395	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1396	pwd)`
1397# When building in place, set srcdir=.
1398if test "$ac_abs_confdir" = "$ac_pwd"; then
1399  srcdir=.
1400fi
1401# Remove unnecessary trailing slashes from srcdir.
1402# Double slashes in file names in object file debugging info
1403# mess up M-x gdb in Emacs.
1404case $srcdir in
1405*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1406esac
1407for ac_var in $ac_precious_vars; do
1408  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1409  eval ac_env_${ac_var}_value=\$${ac_var}
1410  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1411  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1412done
1413
1414#
1415# Report the --help message.
1416#
1417if test "$ac_init_help" = "long"; then
1418  # Omit some internal or obsolete options to make the list less imposing.
1419  # This message is too long to be a string in the A/UX 3.1 sh.
1420  cat <<_ACEOF
1421\`configure' configures engrampa 1.26.0 to adapt to many kinds of systems.
1422
1423Usage: $0 [OPTION]... [VAR=VALUE]...
1424
1425To assign environment variables (e.g., CC, CFLAGS...), specify them as
1426VAR=VALUE.  See below for descriptions of some of the useful variables.
1427
1428Defaults for the options are specified in brackets.
1429
1430Configuration:
1431  -h, --help              display this help and exit
1432      --help=short        display options specific to this package
1433      --help=recursive    display the short help of all the included packages
1434  -V, --version           display version information and exit
1435  -q, --quiet, --silent   do not print \`checking ...' messages
1436      --cache-file=FILE   cache test results in FILE [disabled]
1437  -C, --config-cache      alias for \`--cache-file=config.cache'
1438  -n, --no-create         do not create output files
1439      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1440
1441Installation directories:
1442  --prefix=PREFIX         install architecture-independent files in PREFIX
1443                          [$ac_default_prefix]
1444  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1445                          [PREFIX]
1446
1447By default, \`make install' will install all the files in
1448\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1449an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1450for instance \`--prefix=\$HOME'.
1451
1452For better control, use the options below.
1453
1454Fine tuning of the installation directories:
1455  --bindir=DIR            user executables [EPREFIX/bin]
1456  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1457  --libexecdir=DIR        program executables [EPREFIX/libexec]
1458  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1459  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1460  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1461  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1462  --libdir=DIR            object code libraries [EPREFIX/lib]
1463  --includedir=DIR        C header files [PREFIX/include]
1464  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1465  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1466  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1467  --infodir=DIR           info documentation [DATAROOTDIR/info]
1468  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1469  --mandir=DIR            man documentation [DATAROOTDIR/man]
1470  --docdir=DIR            documentation root [DATAROOTDIR/doc/engrampa]
1471  --htmldir=DIR           html documentation [DOCDIR]
1472  --dvidir=DIR            dvi documentation [DOCDIR]
1473  --pdfdir=DIR            pdf documentation [DOCDIR]
1474  --psdir=DIR             ps documentation [DOCDIR]
1475_ACEOF
1476
1477  cat <<\_ACEOF
1478
1479Program names:
1480  --program-prefix=PREFIX            prepend PREFIX to installed program names
1481  --program-suffix=SUFFIX            append SUFFIX to installed program names
1482  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1483
1484System types:
1485  --build=BUILD     configure for building on BUILD [guessed]
1486  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1487_ACEOF
1488fi
1489
1490if test -n "$ac_init_help"; then
1491  case $ac_init_help in
1492     short | recursive ) echo "Configuration of engrampa 1.26.0:";;
1493   esac
1494  cat <<\_ACEOF
1495
1496Optional Features:
1497  --disable-option-checking  ignore unrecognized --enable/--with options
1498  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1499  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1500  --enable-silent-rules   less verbose build output (undo: "make V=1")
1501  --disable-silent-rules  verbose build output (undo: "make V=0")
1502  --enable-debug=[yes/info/profile/no]
1503                          compile with debugging
1504  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1505                          Turn on compiler warnings
1506  --enable-dependency-tracking
1507                          do not reject slow dependency extractors
1508  --disable-dependency-tracking
1509                          speeds up one-time build
1510  --enable-static[=PKGS]  build static libraries [default=no]
1511  --enable-shared[=PKGS]  build shared libraries [default=yes]
1512  --enable-fast-install[=PKGS]
1513                          optimize for fast installation [default=yes]
1514  --disable-libtool-lock  avoid locking (might break parallel builds)
1515  --disable-schemas-compile
1516                          Disable regeneration of gschemas.compiled on install
1517  --enable-run-in-place   load ui data and extensions from the source tree
1518  --disable-caja-actions  do not build the caja context menu actions
1519  --disable-packagekit    build without PackageKit support
1520  --disable-nls           do not use Native Language Support
1521  --disable-rpath         do not hardcode runtime library paths
1522  --enable-magic          use libmagic to detect file type
1523
1524Optional Packages:
1525  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1526  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1527  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1528                          both]
1529  --with-aix-soname=aix|svr4|both
1530                          shared library versioning (aka "SONAME") variant to
1531                          provide on AIX, [default=aix].
1532  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1533  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1534                          compiler's sysroot if not specified).
1535  --with-cajadir=DIR      Installation path for Caja extension [auto]
1536  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1537  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1538  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1539  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1540  --without-libintl-prefix     don't search for libintl in includedir and libdir
1541  --with-help-dir=DIR     path where help files are installed
1542
1543Some influential environment variables:
1544  CC          C compiler command
1545  CFLAGS      C compiler flags
1546  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1547              nonstandard directory <lib dir>
1548  LIBS        libraries to pass to the linker, e.g. -l<library>
1549  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1550              you have headers in a nonstandard directory <include dir>
1551  LT_SYS_LIBRARY_PATH
1552              User-defined run-time library search path.
1553  CPP         C preprocessor
1554  PKG_CONFIG  path to pkg-config utility
1555  PKG_CONFIG_PATH
1556              directories to add to pkg-config's search path
1557  PKG_CONFIG_LIBDIR
1558              path overriding pkg-config's built-in search path
1559  GLIB_COMPILE_SCHEMAS
1560              value of glib_compile_schemas for gio-2.0, overriding pkg-config
1561  LIBEGG_CFLAGS
1562              C compiler flags for LIBEGG, overriding pkg-config
1563  LIBEGG_LIBS linker flags for LIBEGG, overriding pkg-config
1564  FR_CFLAGS   C compiler flags for FR, overriding pkg-config
1565  FR_LIBS     linker flags for FR, overriding pkg-config
1566  CAJA_CFLAGS C compiler flags for CAJA, overriding pkg-config
1567  CAJA_LIBS   linker flags for CAJA, overriding pkg-config
1568  JSON_GLIB_CFLAGS
1569              C compiler flags for JSON_GLIB, overriding pkg-config
1570  JSON_GLIB_LIBS
1571              linker flags for JSON_GLIB, overriding pkg-config
1572  CPIO        Path to the `cpio` command
1573  ITSTOOL     Path to the `itstool` command
1574  XMLLINT     Path to the `xmllint` command
1575
1576Use these variables to override the choices made by `configure' or to help
1577it to find libraries and programs with nonstandard names/locations.
1578
1579Report bugs to <https://github.com/mate-desktop/engrampa/issues>.
1580engrampa home page: <https://mate-desktop.org>.
1581_ACEOF
1582ac_status=$?
1583fi
1584
1585if test "$ac_init_help" = "recursive"; then
1586  # If there are subdirs, report their specific --help.
1587  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1588    test -d "$ac_dir" ||
1589      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1590      continue
1591    ac_builddir=.
1592
1593case "$ac_dir" in
1594.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1595*)
1596  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1597  # A ".." for each directory in $ac_dir_suffix.
1598  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1599  case $ac_top_builddir_sub in
1600  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1601  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1602  esac ;;
1603esac
1604ac_abs_top_builddir=$ac_pwd
1605ac_abs_builddir=$ac_pwd$ac_dir_suffix
1606# for backward compatibility:
1607ac_top_builddir=$ac_top_build_prefix
1608
1609case $srcdir in
1610  .)  # We are building in place.
1611    ac_srcdir=.
1612    ac_top_srcdir=$ac_top_builddir_sub
1613    ac_abs_top_srcdir=$ac_pwd ;;
1614  [\\/]* | ?:[\\/]* )  # Absolute name.
1615    ac_srcdir=$srcdir$ac_dir_suffix;
1616    ac_top_srcdir=$srcdir
1617    ac_abs_top_srcdir=$srcdir ;;
1618  *) # Relative name.
1619    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1620    ac_top_srcdir=$ac_top_build_prefix$srcdir
1621    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1622esac
1623ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1624
1625    cd "$ac_dir" || { ac_status=$?; continue; }
1626    # Check for guested configure.
1627    if test -f "$ac_srcdir/configure.gnu"; then
1628      echo &&
1629      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1630    elif test -f "$ac_srcdir/configure"; then
1631      echo &&
1632      $SHELL "$ac_srcdir/configure" --help=recursive
1633    else
1634      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1635    fi || ac_status=$?
1636    cd "$ac_pwd" || { ac_status=$?; break; }
1637  done
1638fi
1639
1640test -n "$ac_init_help" && exit $ac_status
1641if $ac_init_version; then
1642  cat <<\_ACEOF
1643engrampa configure 1.26.0
1644generated by GNU Autoconf 2.69
1645
1646Copyright (C) 2012 Free Software Foundation, Inc.
1647This configure script is free software; the Free Software Foundation
1648gives unlimited permission to copy, distribute and modify it.
1649_ACEOF
1650  exit
1651fi
1652
1653## ------------------------ ##
1654## Autoconf initialization. ##
1655## ------------------------ ##
1656
1657# ac_fn_c_try_compile LINENO
1658# --------------------------
1659# Try to compile conftest.$ac_ext, and return whether this succeeded.
1660ac_fn_c_try_compile ()
1661{
1662  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663  rm -f conftest.$ac_objext
1664  if { { ac_try="$ac_compile"
1665case "(($ac_try" in
1666  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667  *) ac_try_echo=$ac_try;;
1668esac
1669eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670$as_echo "$ac_try_echo"; } >&5
1671  (eval "$ac_compile") 2>conftest.err
1672  ac_status=$?
1673  if test -s conftest.err; then
1674    grep -v '^ *+' conftest.err >conftest.er1
1675    cat conftest.er1 >&5
1676    mv -f conftest.er1 conftest.err
1677  fi
1678  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679  test $ac_status = 0; } && {
1680	 test -z "$ac_c_werror_flag" ||
1681	 test ! -s conftest.err
1682       } && test -s conftest.$ac_objext; then :
1683  ac_retval=0
1684else
1685  $as_echo "$as_me: failed program was:" >&5
1686sed 's/^/| /' conftest.$ac_ext >&5
1687
1688	ac_retval=1
1689fi
1690  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691  as_fn_set_status $ac_retval
1692
1693} # ac_fn_c_try_compile
1694
1695# ac_fn_c_try_link LINENO
1696# -----------------------
1697# Try to link conftest.$ac_ext, and return whether this succeeded.
1698ac_fn_c_try_link ()
1699{
1700  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701  rm -f conftest.$ac_objext conftest$ac_exeext
1702  if { { ac_try="$ac_link"
1703case "(($ac_try" in
1704  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1705  *) ac_try_echo=$ac_try;;
1706esac
1707eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708$as_echo "$ac_try_echo"; } >&5
1709  (eval "$ac_link") 2>conftest.err
1710  ac_status=$?
1711  if test -s conftest.err; then
1712    grep -v '^ *+' conftest.err >conftest.er1
1713    cat conftest.er1 >&5
1714    mv -f conftest.er1 conftest.err
1715  fi
1716  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717  test $ac_status = 0; } && {
1718	 test -z "$ac_c_werror_flag" ||
1719	 test ! -s conftest.err
1720       } && test -s conftest$ac_exeext && {
1721	 test "$cross_compiling" = yes ||
1722	 test -x conftest$ac_exeext
1723       }; then :
1724  ac_retval=0
1725else
1726  $as_echo "$as_me: failed program was:" >&5
1727sed 's/^/| /' conftest.$ac_ext >&5
1728
1729	ac_retval=1
1730fi
1731  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1732  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1733  # interfere with the next link command; also delete a directory that is
1734  # left behind by Apple's compiler.  We do this before executing the actions.
1735  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1736  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737  as_fn_set_status $ac_retval
1738
1739} # ac_fn_c_try_link
1740
1741# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1742# -------------------------------------------------------
1743# Tests whether HEADER exists and can be compiled using the include files in
1744# INCLUDES, setting the cache variable VAR accordingly.
1745ac_fn_c_check_header_compile ()
1746{
1747  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1749$as_echo_n "checking for $2... " >&6; }
1750if eval \${$3+:} false; then :
1751  $as_echo_n "(cached) " >&6
1752else
1753  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1754/* end confdefs.h.  */
1755$4
1756#include <$2>
1757_ACEOF
1758if ac_fn_c_try_compile "$LINENO"; then :
1759  eval "$3=yes"
1760else
1761  eval "$3=no"
1762fi
1763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1764fi
1765eval ac_res=\$$3
1766	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1767$as_echo "$ac_res" >&6; }
1768  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769
1770} # ac_fn_c_check_header_compile
1771
1772# ac_fn_c_try_cpp LINENO
1773# ----------------------
1774# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1775ac_fn_c_try_cpp ()
1776{
1777  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778  if { { ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.err
1786  ac_status=$?
1787  if test -s conftest.err; then
1788    grep -v '^ *+' conftest.err >conftest.er1
1789    cat conftest.er1 >&5
1790    mv -f conftest.er1 conftest.err
1791  fi
1792  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793  test $ac_status = 0; } > conftest.i && {
1794	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1795	 test ! -s conftest.err
1796       }; then :
1797  ac_retval=0
1798else
1799  $as_echo "$as_me: failed program was:" >&5
1800sed 's/^/| /' conftest.$ac_ext >&5
1801
1802    ac_retval=1
1803fi
1804  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805  as_fn_set_status $ac_retval
1806
1807} # ac_fn_c_try_cpp
1808
1809# ac_fn_c_try_run LINENO
1810# ----------------------
1811# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1812# that executables *can* be run.
1813ac_fn_c_try_run ()
1814{
1815  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816  if { { ac_try="$ac_link"
1817case "(($ac_try" in
1818  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1819  *) ac_try_echo=$ac_try;;
1820esac
1821eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822$as_echo "$ac_try_echo"; } >&5
1823  (eval "$ac_link") 2>&5
1824  ac_status=$?
1825  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1827  { { case "(($ac_try" in
1828  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1829  *) ac_try_echo=$ac_try;;
1830esac
1831eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832$as_echo "$ac_try_echo"; } >&5
1833  (eval "$ac_try") 2>&5
1834  ac_status=$?
1835  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836  test $ac_status = 0; }; }; then :
1837  ac_retval=0
1838else
1839  $as_echo "$as_me: program exited with status $ac_status" >&5
1840       $as_echo "$as_me: failed program was:" >&5
1841sed 's/^/| /' conftest.$ac_ext >&5
1842
1843       ac_retval=$ac_status
1844fi
1845  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1846  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847  as_fn_set_status $ac_retval
1848
1849} # ac_fn_c_try_run
1850
1851# ac_fn_c_check_func LINENO FUNC VAR
1852# ----------------------------------
1853# Tests whether FUNC exists, setting the cache variable VAR accordingly
1854ac_fn_c_check_func ()
1855{
1856  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858$as_echo_n "checking for $2... " >&6; }
1859if eval \${$3+:} false; then :
1860  $as_echo_n "(cached) " >&6
1861else
1862  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863/* end confdefs.h.  */
1864/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1865   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1866#define $2 innocuous_$2
1867
1868/* System header to define __stub macros and hopefully few prototypes,
1869    which can conflict with char $2 (); below.
1870    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1871    <limits.h> exists even on freestanding compilers.  */
1872
1873#ifdef __STDC__
1874# include <limits.h>
1875#else
1876# include <assert.h>
1877#endif
1878
1879#undef $2
1880
1881/* Override any GCC internal prototype to avoid an error.
1882   Use char because int might match the return type of a GCC
1883   builtin and then its argument prototype would still apply.  */
1884#ifdef __cplusplus
1885extern "C"
1886#endif
1887char $2 ();
1888/* The GNU C library defines this for functions which it implements
1889    to always fail with ENOSYS.  Some functions are actually named
1890    something starting with __ and the normal name is an alias.  */
1891#if defined __stub_$2 || defined __stub___$2
1892choke me
1893#endif
1894
1895int
1896main ()
1897{
1898return $2 ();
1899  ;
1900  return 0;
1901}
1902_ACEOF
1903if ac_fn_c_try_link "$LINENO"; then :
1904  eval "$3=yes"
1905else
1906  eval "$3=no"
1907fi
1908rm -f core conftest.err conftest.$ac_objext \
1909    conftest$ac_exeext conftest.$ac_ext
1910fi
1911eval ac_res=\$$3
1912	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1913$as_echo "$ac_res" >&6; }
1914  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915
1916} # ac_fn_c_check_func
1917cat >config.log <<_ACEOF
1918This file contains any messages produced by compilers while
1919running configure, to aid debugging if configure makes a mistake.
1920
1921It was created by engrampa $as_me 1.26.0, which was
1922generated by GNU Autoconf 2.69.  Invocation command line was
1923
1924  $ $0 $@
1925
1926_ACEOF
1927exec 5>>config.log
1928{
1929cat <<_ASUNAME
1930## --------- ##
1931## Platform. ##
1932## --------- ##
1933
1934hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1935uname -m = `(uname -m) 2>/dev/null || echo unknown`
1936uname -r = `(uname -r) 2>/dev/null || echo unknown`
1937uname -s = `(uname -s) 2>/dev/null || echo unknown`
1938uname -v = `(uname -v) 2>/dev/null || echo unknown`
1939
1940/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1941/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1942
1943/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1944/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1945/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1946/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1947/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1948/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1949/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1950
1951_ASUNAME
1952
1953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1954for as_dir in $PATH
1955do
1956  IFS=$as_save_IFS
1957  test -z "$as_dir" && as_dir=.
1958    $as_echo "PATH: $as_dir"
1959  done
1960IFS=$as_save_IFS
1961
1962} >&5
1963
1964cat >&5 <<_ACEOF
1965
1966
1967## ----------- ##
1968## Core tests. ##
1969## ----------- ##
1970
1971_ACEOF
1972
1973
1974# Keep a trace of the command line.
1975# Strip out --no-create and --no-recursion so they do not pile up.
1976# Strip out --silent because we don't want to record it for future runs.
1977# Also quote any args containing shell meta-characters.
1978# Make two passes to allow for proper duplicate-argument suppression.
1979ac_configure_args=
1980ac_configure_args0=
1981ac_configure_args1=
1982ac_must_keep_next=false
1983for ac_pass in 1 2
1984do
1985  for ac_arg
1986  do
1987    case $ac_arg in
1988    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1989    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1990    | -silent | --silent | --silen | --sile | --sil)
1991      continue ;;
1992    *\'*)
1993      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1994    esac
1995    case $ac_pass in
1996    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1997    2)
1998      as_fn_append ac_configure_args1 " '$ac_arg'"
1999      if test $ac_must_keep_next = true; then
2000	ac_must_keep_next=false # Got value, back to normal.
2001      else
2002	case $ac_arg in
2003	  *=* | --config-cache | -C | -disable-* | --disable-* \
2004	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2005	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2006	  | -with-* | --with-* | -without-* | --without-* | --x)
2007	    case "$ac_configure_args0 " in
2008	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2009	    esac
2010	    ;;
2011	  -* ) ac_must_keep_next=true ;;
2012	esac
2013      fi
2014      as_fn_append ac_configure_args " '$ac_arg'"
2015      ;;
2016    esac
2017  done
2018done
2019{ ac_configure_args0=; unset ac_configure_args0;}
2020{ ac_configure_args1=; unset ac_configure_args1;}
2021
2022# When interrupted or exit'd, cleanup temporary files, and complete
2023# config.log.  We remove comments because anyway the quotes in there
2024# would cause problems or look ugly.
2025# WARNING: Use '\'' to represent an apostrophe within the trap.
2026# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2027trap 'exit_status=$?
2028  # Save into config.log some information that might help in debugging.
2029  {
2030    echo
2031
2032    $as_echo "## ---------------- ##
2033## Cache variables. ##
2034## ---------------- ##"
2035    echo
2036    # The following way of writing the cache mishandles newlines in values,
2037(
2038  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2039    eval ac_val=\$$ac_var
2040    case $ac_val in #(
2041    *${as_nl}*)
2042      case $ac_var in #(
2043      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2044$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2045      esac
2046      case $ac_var in #(
2047      _ | IFS | as_nl) ;; #(
2048      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2049      *) { eval $ac_var=; unset $ac_var;} ;;
2050      esac ;;
2051    esac
2052  done
2053  (set) 2>&1 |
2054    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2055    *${as_nl}ac_space=\ *)
2056      sed -n \
2057	"s/'\''/'\''\\\\'\'''\''/g;
2058	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2059      ;; #(
2060    *)
2061      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2062      ;;
2063    esac |
2064    sort
2065)
2066    echo
2067
2068    $as_echo "## ----------------- ##
2069## Output variables. ##
2070## ----------------- ##"
2071    echo
2072    for ac_var in $ac_subst_vars
2073    do
2074      eval ac_val=\$$ac_var
2075      case $ac_val in
2076      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2077      esac
2078      $as_echo "$ac_var='\''$ac_val'\''"
2079    done | sort
2080    echo
2081
2082    if test -n "$ac_subst_files"; then
2083      $as_echo "## ------------------- ##
2084## File substitutions. ##
2085## ------------------- ##"
2086      echo
2087      for ac_var in $ac_subst_files
2088      do
2089	eval ac_val=\$$ac_var
2090	case $ac_val in
2091	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2092	esac
2093	$as_echo "$ac_var='\''$ac_val'\''"
2094      done | sort
2095      echo
2096    fi
2097
2098    if test -s confdefs.h; then
2099      $as_echo "## ----------- ##
2100## confdefs.h. ##
2101## ----------- ##"
2102      echo
2103      cat confdefs.h
2104      echo
2105    fi
2106    test "$ac_signal" != 0 &&
2107      $as_echo "$as_me: caught signal $ac_signal"
2108    $as_echo "$as_me: exit $exit_status"
2109  } >&5
2110  rm -f core *.core core.conftest.* &&
2111    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2112    exit $exit_status
2113' 0
2114for ac_signal in 1 2 13 15; do
2115  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2116done
2117ac_signal=0
2118
2119# confdefs.h avoids OS command line length limits that DEFS can exceed.
2120rm -f -r conftest* confdefs.h
2121
2122$as_echo "/* confdefs.h */" > confdefs.h
2123
2124# Predefined preprocessor variables.
2125
2126cat >>confdefs.h <<_ACEOF
2127#define PACKAGE_NAME "$PACKAGE_NAME"
2128_ACEOF
2129
2130cat >>confdefs.h <<_ACEOF
2131#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2132_ACEOF
2133
2134cat >>confdefs.h <<_ACEOF
2135#define PACKAGE_VERSION "$PACKAGE_VERSION"
2136_ACEOF
2137
2138cat >>confdefs.h <<_ACEOF
2139#define PACKAGE_STRING "$PACKAGE_STRING"
2140_ACEOF
2141
2142cat >>confdefs.h <<_ACEOF
2143#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2144_ACEOF
2145
2146cat >>confdefs.h <<_ACEOF
2147#define PACKAGE_URL "$PACKAGE_URL"
2148_ACEOF
2149
2150
2151# Let the site file select an alternate cache file if it wants to.
2152# Prefer an explicitly selected file to automatically selected ones.
2153ac_site_file1=NONE
2154ac_site_file2=NONE
2155if test -n "$CONFIG_SITE"; then
2156  # We do not want a PATH search for config.site.
2157  case $CONFIG_SITE in #((
2158    -*)  ac_site_file1=./$CONFIG_SITE;;
2159    */*) ac_site_file1=$CONFIG_SITE;;
2160    *)   ac_site_file1=./$CONFIG_SITE;;
2161  esac
2162elif test "x$prefix" != xNONE; then
2163  ac_site_file1=$prefix/share/config.site
2164  ac_site_file2=$prefix/etc/config.site
2165else
2166  ac_site_file1=$ac_default_prefix/share/config.site
2167  ac_site_file2=$ac_default_prefix/etc/config.site
2168fi
2169for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2170do
2171  test "x$ac_site_file" = xNONE && continue
2172  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2173    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2174$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2175    sed 's/^/| /' "$ac_site_file" >&5
2176    . "$ac_site_file" \
2177      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2178$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2179as_fn_error $? "failed to load site script $ac_site_file
2180See \`config.log' for more details" "$LINENO" 5; }
2181  fi
2182done
2183
2184if test -r "$cache_file"; then
2185  # Some versions of bash will fail to source /dev/null (special files
2186  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2187  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2188    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2189$as_echo "$as_me: loading cache $cache_file" >&6;}
2190    case $cache_file in
2191      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2192      *)                      . "./$cache_file";;
2193    esac
2194  fi
2195else
2196  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2197$as_echo "$as_me: creating cache $cache_file" >&6;}
2198  >$cache_file
2199fi
2200
2201gt_needs="$gt_needs "
2202# Check that the precious variables saved in the cache have kept the same
2203# value.
2204ac_cache_corrupted=false
2205for ac_var in $ac_precious_vars; do
2206  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2207  eval ac_new_set=\$ac_env_${ac_var}_set
2208  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2209  eval ac_new_val=\$ac_env_${ac_var}_value
2210  case $ac_old_set,$ac_new_set in
2211    set,)
2212      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2213$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2214      ac_cache_corrupted=: ;;
2215    ,set)
2216      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2217$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2218      ac_cache_corrupted=: ;;
2219    ,);;
2220    *)
2221      if test "x$ac_old_val" != "x$ac_new_val"; then
2222	# differences in whitespace do not lead to failure.
2223	ac_old_val_w=`echo x $ac_old_val`
2224	ac_new_val_w=`echo x $ac_new_val`
2225	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2226	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2227$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2228	  ac_cache_corrupted=:
2229	else
2230	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2231$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2232	  eval $ac_var=\$ac_old_val
2233	fi
2234	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2235$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2236	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2237$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2238      fi;;
2239  esac
2240  # Pass precious variables to config.status.
2241  if test "$ac_new_set" = set; then
2242    case $ac_new_val in
2243    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2244    *) ac_arg=$ac_var=$ac_new_val ;;
2245    esac
2246    case " $ac_configure_args " in
2247      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2248      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2249    esac
2250  fi
2251done
2252if $ac_cache_corrupted; then
2253  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2254$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2255  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2256$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2257  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2258fi
2259## -------------------- ##
2260## Main body of script. ##
2261## -------------------- ##
2262
2263ac_ext=c
2264ac_cpp='$CPP $CPPFLAGS'
2265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267ac_compiler_gnu=$ac_cv_c_compiler_gnu
2268
2269
2270am__api_version='1.16'
2271
2272ac_aux_dir=
2273for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2274  if test -f "$ac_dir/install-sh"; then
2275    ac_aux_dir=$ac_dir
2276    ac_install_sh="$ac_aux_dir/install-sh -c"
2277    break
2278  elif test -f "$ac_dir/install.sh"; then
2279    ac_aux_dir=$ac_dir
2280    ac_install_sh="$ac_aux_dir/install.sh -c"
2281    break
2282  elif test -f "$ac_dir/shtool"; then
2283    ac_aux_dir=$ac_dir
2284    ac_install_sh="$ac_aux_dir/shtool install -c"
2285    break
2286  fi
2287done
2288if test -z "$ac_aux_dir"; then
2289  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2290fi
2291
2292# These three variables are undocumented and unsupported,
2293# and are intended to be withdrawn in a future Autoconf release.
2294# They can cause serious problems if a builder's source tree is in a directory
2295# whose full name contains unusual characters.
2296ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2297ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2298ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2299
2300
2301# Find a good install program.  We prefer a C program (faster),
2302# so one script is as good as another.  But avoid the broken or
2303# incompatible versions:
2304# SysV /etc/install, /usr/sbin/install
2305# SunOS /usr/etc/install
2306# IRIX /sbin/install
2307# AIX /bin/install
2308# AmigaOS /C/install, which installs bootblocks on floppy discs
2309# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2310# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2311# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2312# OS/2's system install, which has a completely different semantic
2313# ./install, which can be erroneously created by make from ./install.sh.
2314# Reject install programs that cannot install multiple files.
2315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2316$as_echo_n "checking for a BSD-compatible install... " >&6; }
2317if test -z "$INSTALL"; then
2318if ${ac_cv_path_install+:} false; then :
2319  $as_echo_n "(cached) " >&6
2320else
2321  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322for as_dir in $PATH
2323do
2324  IFS=$as_save_IFS
2325  test -z "$as_dir" && as_dir=.
2326    # Account for people who put trailing slashes in PATH elements.
2327case $as_dir/ in #((
2328  ./ | .// | /[cC]/* | \
2329  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2330  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2331  /usr/ucb/* ) ;;
2332  *)
2333    # OSF1 and SCO ODT 3.0 have their own names for install.
2334    # Don't use installbsd from OSF since it installs stuff as root
2335    # by default.
2336    for ac_prog in ginstall scoinst install; do
2337      for ac_exec_ext in '' $ac_executable_extensions; do
2338	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2339	  if test $ac_prog = install &&
2340	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2341	    # AIX install.  It has an incompatible calling convention.
2342	    :
2343	  elif test $ac_prog = install &&
2344	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2345	    # program-specific install script used by HP pwplus--don't use.
2346	    :
2347	  else
2348	    rm -rf conftest.one conftest.two conftest.dir
2349	    echo one > conftest.one
2350	    echo two > conftest.two
2351	    mkdir conftest.dir
2352	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2353	      test -s conftest.one && test -s conftest.two &&
2354	      test -s conftest.dir/conftest.one &&
2355	      test -s conftest.dir/conftest.two
2356	    then
2357	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2358	      break 3
2359	    fi
2360	  fi
2361	fi
2362      done
2363    done
2364    ;;
2365esac
2366
2367  done
2368IFS=$as_save_IFS
2369
2370rm -rf conftest.one conftest.two conftest.dir
2371
2372fi
2373  if test "${ac_cv_path_install+set}" = set; then
2374    INSTALL=$ac_cv_path_install
2375  else
2376    # As a last resort, use the slow shell script.  Don't cache a
2377    # value for INSTALL within a source directory, because that will
2378    # break other packages using the cache if that directory is
2379    # removed, or if the value is a relative name.
2380    INSTALL=$ac_install_sh
2381  fi
2382fi
2383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2384$as_echo "$INSTALL" >&6; }
2385
2386# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2387# It thinks the first close brace ends the variable substitution.
2388test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2389
2390test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2391
2392test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2393
2394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2395$as_echo_n "checking whether build environment is sane... " >&6; }
2396# Reject unsafe characters in $srcdir or the absolute working directory
2397# name.  Accept space and tab only in the latter.
2398am_lf='
2399'
2400case `pwd` in
2401  *[\\\"\#\$\&\'\`$am_lf]*)
2402    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2403esac
2404case $srcdir in
2405  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2406    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2407esac
2408
2409# Do 'set' in a subshell so we don't clobber the current shell's
2410# arguments.  Must try -L first in case configure is actually a
2411# symlink; some systems play weird games with the mod time of symlinks
2412# (eg FreeBSD returns the mod time of the symlink's containing
2413# directory).
2414if (
2415   am_has_slept=no
2416   for am_try in 1 2; do
2417     echo "timestamp, slept: $am_has_slept" > conftest.file
2418     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2419     if test "$*" = "X"; then
2420	# -L didn't work.
2421	set X `ls -t "$srcdir/configure" conftest.file`
2422     fi
2423     if test "$*" != "X $srcdir/configure conftest.file" \
2424	&& test "$*" != "X conftest.file $srcdir/configure"; then
2425
2426	# If neither matched, then we have a broken ls.  This can happen
2427	# if, for instance, CONFIG_SHELL is bash and it inherits a
2428	# broken ls alias from the environment.  This has actually
2429	# happened.  Such a system could not be considered "sane".
2430	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2431  alias in your environment" "$LINENO" 5
2432     fi
2433     if test "$2" = conftest.file || test $am_try -eq 2; then
2434       break
2435     fi
2436     # Just in case.
2437     sleep 1
2438     am_has_slept=yes
2439   done
2440   test "$2" = conftest.file
2441   )
2442then
2443   # Ok.
2444   :
2445else
2446   as_fn_error $? "newly created file is older than distributed files!
2447Check your system clock" "$LINENO" 5
2448fi
2449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2450$as_echo "yes" >&6; }
2451# If we didn't sleep, we still need to ensure time stamps of config.status and
2452# generated files are strictly newer.
2453am_sleep_pid=
2454if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2455  ( sleep 1 ) &
2456  am_sleep_pid=$!
2457fi
2458
2459rm -f conftest.file
2460
2461test "$program_prefix" != NONE &&
2462  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2463# Use a double $ so make ignores it.
2464test "$program_suffix" != NONE &&
2465  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2466# Double any \ or $.
2467# By default was `s,x,x', remove it if useless.
2468ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2469program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2470
2471# Expand $ac_aux_dir to an absolute path.
2472am_aux_dir=`cd "$ac_aux_dir" && pwd`
2473
2474if test x"${MISSING+set}" != xset; then
2475  case $am_aux_dir in
2476  *\ * | *\	*)
2477    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2478  *)
2479    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2480  esac
2481fi
2482# Use eval to expand $SHELL
2483if eval "$MISSING --is-lightweight"; then
2484  am_missing_run="$MISSING "
2485else
2486  am_missing_run=
2487  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2488$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2489fi
2490
2491if test x"${install_sh+set}" != xset; then
2492  case $am_aux_dir in
2493  *\ * | *\	*)
2494    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2495  *)
2496    install_sh="\${SHELL} $am_aux_dir/install-sh"
2497  esac
2498fi
2499
2500# Installed binaries are usually stripped using 'strip' when the user
2501# run "make install-strip".  However 'strip' might not be the right
2502# tool to use in cross-compilation environments, therefore Automake
2503# will honor the 'STRIP' environment variable to overrule this program.
2504if test "$cross_compiling" != no; then
2505  if test -n "$ac_tool_prefix"; then
2506  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2507set dummy ${ac_tool_prefix}strip; ac_word=$2
2508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2509$as_echo_n "checking for $ac_word... " >&6; }
2510if ${ac_cv_prog_STRIP+:} false; then :
2511  $as_echo_n "(cached) " >&6
2512else
2513  if test -n "$STRIP"; then
2514  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2515else
2516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517for as_dir in $PATH
2518do
2519  IFS=$as_save_IFS
2520  test -z "$as_dir" && as_dir=.
2521    for ac_exec_ext in '' $ac_executable_extensions; do
2522  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2523    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2524    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2525    break 2
2526  fi
2527done
2528  done
2529IFS=$as_save_IFS
2530
2531fi
2532fi
2533STRIP=$ac_cv_prog_STRIP
2534if test -n "$STRIP"; then
2535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2536$as_echo "$STRIP" >&6; }
2537else
2538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2539$as_echo "no" >&6; }
2540fi
2541
2542
2543fi
2544if test -z "$ac_cv_prog_STRIP"; then
2545  ac_ct_STRIP=$STRIP
2546  # Extract the first word of "strip", so it can be a program name with args.
2547set dummy strip; ac_word=$2
2548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2549$as_echo_n "checking for $ac_word... " >&6; }
2550if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2551  $as_echo_n "(cached) " >&6
2552else
2553  if test -n "$ac_ct_STRIP"; then
2554  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2555else
2556as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2557for as_dir in $PATH
2558do
2559  IFS=$as_save_IFS
2560  test -z "$as_dir" && as_dir=.
2561    for ac_exec_ext in '' $ac_executable_extensions; do
2562  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2563    ac_cv_prog_ac_ct_STRIP="strip"
2564    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2565    break 2
2566  fi
2567done
2568  done
2569IFS=$as_save_IFS
2570
2571fi
2572fi
2573ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2574if test -n "$ac_ct_STRIP"; then
2575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2576$as_echo "$ac_ct_STRIP" >&6; }
2577else
2578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2579$as_echo "no" >&6; }
2580fi
2581
2582  if test "x$ac_ct_STRIP" = x; then
2583    STRIP=":"
2584  else
2585    case $cross_compiling:$ac_tool_warned in
2586yes:)
2587{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2588$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2589ac_tool_warned=yes ;;
2590esac
2591    STRIP=$ac_ct_STRIP
2592  fi
2593else
2594  STRIP="$ac_cv_prog_STRIP"
2595fi
2596
2597fi
2598INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2599
2600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2601$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2602if test -z "$MKDIR_P"; then
2603  if ${ac_cv_path_mkdir+:} false; then :
2604  $as_echo_n "(cached) " >&6
2605else
2606  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2608do
2609  IFS=$as_save_IFS
2610  test -z "$as_dir" && as_dir=.
2611    for ac_prog in mkdir gmkdir; do
2612	 for ac_exec_ext in '' $ac_executable_extensions; do
2613	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2614	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2615	     'mkdir (GNU coreutils) '* | \
2616	     'mkdir (coreutils) '* | \
2617	     'mkdir (fileutils) '4.1*)
2618	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2619	       break 3;;
2620	   esac
2621	 done
2622       done
2623  done
2624IFS=$as_save_IFS
2625
2626fi
2627
2628  test -d ./--version && rmdir ./--version
2629  if test "${ac_cv_path_mkdir+set}" = set; then
2630    MKDIR_P="$ac_cv_path_mkdir -p"
2631  else
2632    # As a last resort, use the slow shell script.  Don't cache a
2633    # value for MKDIR_P within a source directory, because that will
2634    # break other packages using the cache if that directory is
2635    # removed, or if the value is a relative name.
2636    MKDIR_P="$ac_install_sh -d"
2637  fi
2638fi
2639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2640$as_echo "$MKDIR_P" >&6; }
2641
2642for ac_prog in gawk mawk nawk awk
2643do
2644  # Extract the first word of "$ac_prog", so it can be a program name with args.
2645set dummy $ac_prog; ac_word=$2
2646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647$as_echo_n "checking for $ac_word... " >&6; }
2648if ${ac_cv_prog_AWK+:} false; then :
2649  $as_echo_n "(cached) " >&6
2650else
2651  if test -n "$AWK"; then
2652  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2653else
2654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655for as_dir in $PATH
2656do
2657  IFS=$as_save_IFS
2658  test -z "$as_dir" && as_dir=.
2659    for ac_exec_ext in '' $ac_executable_extensions; do
2660  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2661    ac_cv_prog_AWK="$ac_prog"
2662    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2663    break 2
2664  fi
2665done
2666  done
2667IFS=$as_save_IFS
2668
2669fi
2670fi
2671AWK=$ac_cv_prog_AWK
2672if test -n "$AWK"; then
2673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2674$as_echo "$AWK" >&6; }
2675else
2676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677$as_echo "no" >&6; }
2678fi
2679
2680
2681  test -n "$AWK" && break
2682done
2683
2684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2685$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2686set x ${MAKE-make}
2687ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2688if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2689  $as_echo_n "(cached) " >&6
2690else
2691  cat >conftest.make <<\_ACEOF
2692SHELL = /bin/sh
2693all:
2694	@echo '@@@%%%=$(MAKE)=@@@%%%'
2695_ACEOF
2696# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2697case `${MAKE-make} -f conftest.make 2>/dev/null` in
2698  *@@@%%%=?*=@@@%%%*)
2699    eval ac_cv_prog_make_${ac_make}_set=yes;;
2700  *)
2701    eval ac_cv_prog_make_${ac_make}_set=no;;
2702esac
2703rm -f conftest.make
2704fi
2705if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2707$as_echo "yes" >&6; }
2708  SET_MAKE=
2709else
2710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711$as_echo "no" >&6; }
2712  SET_MAKE="MAKE=${MAKE-make}"
2713fi
2714
2715rm -rf .tst 2>/dev/null
2716mkdir .tst 2>/dev/null
2717if test -d .tst; then
2718  am__leading_dot=.
2719else
2720  am__leading_dot=_
2721fi
2722rmdir .tst 2>/dev/null
2723
2724# Check whether --enable-silent-rules was given.
2725if test "${enable_silent_rules+set}" = set; then :
2726  enableval=$enable_silent_rules;
2727fi
2728
2729case $enable_silent_rules in # (((
2730  yes) AM_DEFAULT_VERBOSITY=0;;
2731   no) AM_DEFAULT_VERBOSITY=1;;
2732    *) AM_DEFAULT_VERBOSITY=1;;
2733esac
2734am_make=${MAKE-make}
2735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2736$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2737if ${am_cv_make_support_nested_variables+:} false; then :
2738  $as_echo_n "(cached) " >&6
2739else
2740  if $as_echo 'TRUE=$(BAR$(V))
2741BAR0=false
2742BAR1=true
2743V=1
2744am__doit:
2745	@$(TRUE)
2746.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2747  am_cv_make_support_nested_variables=yes
2748else
2749  am_cv_make_support_nested_variables=no
2750fi
2751fi
2752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2753$as_echo "$am_cv_make_support_nested_variables" >&6; }
2754if test $am_cv_make_support_nested_variables = yes; then
2755    AM_V='$(V)'
2756  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2757else
2758  AM_V=$AM_DEFAULT_VERBOSITY
2759  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2760fi
2761AM_BACKSLASH='\'
2762
2763if test "`cd $srcdir && pwd`" != "`pwd`"; then
2764  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2765  # is not polluted with repeated "-I."
2766  am__isrc=' -I$(srcdir)'
2767  # test to see if srcdir already configured
2768  if test -f $srcdir/config.status; then
2769    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2770  fi
2771fi
2772
2773# test whether we have cygpath
2774if test -z "$CYGPATH_W"; then
2775  if (cygpath --version) >/dev/null 2>/dev/null; then
2776    CYGPATH_W='cygpath -w'
2777  else
2778    CYGPATH_W=echo
2779  fi
2780fi
2781
2782
2783# Define the identity of the package.
2784 PACKAGE='engrampa'
2785 VERSION='1.26.0'
2786
2787
2788cat >>confdefs.h <<_ACEOF
2789#define PACKAGE "$PACKAGE"
2790_ACEOF
2791
2792
2793cat >>confdefs.h <<_ACEOF
2794#define VERSION "$VERSION"
2795_ACEOF
2796
2797# Some tools Automake needs.
2798
2799ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2800
2801
2802AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2803
2804
2805AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2806
2807
2808AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2809
2810
2811MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2812
2813# For better backward compatibility.  To be removed once Automake 1.9.x
2814# dies out for good.  For more background, see:
2815# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2816# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2817mkdir_p='$(MKDIR_P)'
2818
2819# We need awk for the "check" target (and possibly the TAP driver).  The
2820# system "awk" is bad on some platforms.
2821# Always define AMTAR for backward compatibility.  Yes, it's still used
2822# in the wild :-(  We should find a proper way to deprecate it ...
2823AMTAR='$${TAR-tar}'
2824
2825
2826# We'll loop over all known methods to create a tar archive until one works.
2827_am_tools='gnutar  pax cpio none'
2828
2829am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2830
2831
2832
2833
2834
2835
2836# POSIX will say in a future version that running "rm -f" with no argument
2837# is OK; and we want to be able to make that assumption in our Makefile
2838# recipes.  So use an aggressive probe to check that the usage we want is
2839# actually supported "in the wild" to an acceptable degree.
2840# See automake bug#10828.
2841# To make any issue more visible, cause the running configure to be aborted
2842# by default if the 'rm' program in use doesn't match our expectations; the
2843# user can still override this though.
2844if rm -f && rm -fr && rm -rf; then : OK; else
2845  cat >&2 <<'END'
2846Oops!
2847
2848Your 'rm' program seems unable to run without file operands specified
2849on the command line, even when the '-f' option is present.  This is contrary
2850to the behaviour of most rm programs out there, and not conforming with
2851the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2852
2853Please tell bug-automake@gnu.org about your system, including the value
2854of your $PATH and any error possibly output before this message.  This
2855can help us improve future automake versions.
2856
2857END
2858  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2859    echo 'Configuration will proceed anyway, since you have set the' >&2
2860    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2861    echo >&2
2862  else
2863    cat >&2 <<'END'
2864Aborting the configuration process, to ensure you take notice of the issue.
2865
2866You can download and install GNU coreutils to get an 'rm' implementation
2867that behaves properly: <https://www.gnu.org/software/coreutils/>.
2868
2869If you want to complete the configuration process using your problematic
2870'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2871to "yes", and re-run configure.
2872
2873END
2874    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2875  fi
2876fi
2877
2878# Check whether --enable-silent-rules was given.
2879if test "${enable_silent_rules+set}" = set; then :
2880  enableval=$enable_silent_rules;
2881fi
2882
2883case $enable_silent_rules in # (((
2884  yes) AM_DEFAULT_VERBOSITY=0;;
2885   no) AM_DEFAULT_VERBOSITY=1;;
2886    *) AM_DEFAULT_VERBOSITY=0;;
2887esac
2888am_make=${MAKE-make}
2889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2890$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2891if ${am_cv_make_support_nested_variables+:} false; then :
2892  $as_echo_n "(cached) " >&6
2893else
2894  if $as_echo 'TRUE=$(BAR$(V))
2895BAR0=false
2896BAR1=true
2897V=1
2898am__doit:
2899	@$(TRUE)
2900.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2901  am_cv_make_support_nested_variables=yes
2902else
2903  am_cv_make_support_nested_variables=no
2904fi
2905fi
2906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2907$as_echo "$am_cv_make_support_nested_variables" >&6; }
2908if test $am_cv_make_support_nested_variables = yes; then
2909    AM_V='$(V)'
2910  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2911else
2912  AM_V=$AM_DEFAULT_VERBOSITY
2913  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2914fi
2915AM_BACKSLASH='\'
2916
2917
2918
2919ac_config_headers="$ac_config_headers config.h"
2920
2921
2922
2923
2924
2925
2926      ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
2927  if test -n "$ac_macro_dir"; then
2928    ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
2929  fi
2930
2931
2932
2933
2934
2935
2936
2937    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debugging" >&5
2938$as_echo_n "checking whether to enable debugging... " >&6; }
2939
2940    ax_enable_debug_default=no
2941    ax_enable_debug_is_release=$ax_is_release
2942
2943    # If this is a release, override the default.
2944    if test "$ax_enable_debug_is_release" = "yes"; then :
2945  ax_enable_debug_default="no"
2946fi
2947
2948
2949
2950
2951    # Check whether --enable-debug was given.
2952if test "${enable_debug+set}" = set; then :
2953  enableval=$enable_debug;
2954else
2955  enable_debug=$ax_enable_debug_default
2956fi
2957
2958
2959    # empty mean debug yes
2960    if test "x$enable_debug" = "x"; then :
2961  enable_debug="yes"
2962fi
2963
2964    # case of debug
2965    case $enable_debug in #(
2966  yes) :
2967
2968        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2969$as_echo "yes" >&6; }
2970        CFLAGS="${CFLAGS} -g -O0"
2971        CXXFLAGS="${CXXFLAGS} -g -O0"
2972        FFLAGS="${FFLAGS} -g -O0"
2973        FCFLAGS="${FCFLAGS} -g -O0"
2974        OBJCFLAGS="${OBJCFLAGS} -g -O0"
2975       ;; #(
2976  info) :
2977
2978        { $as_echo "$as_me:${as_lineno-$LINENO}: result: info" >&5
2979$as_echo "info" >&6; }
2980        CFLAGS="${CFLAGS} -g"
2981        CXXFLAGS="${CXXFLAGS} -g"
2982        FFLAGS="${FFLAGS} -g"
2983        FCFLAGS="${FCFLAGS} -g"
2984        OBJCFLAGS="${OBJCFLAGS} -g"
2985       ;; #(
2986  profile) :
2987
2988        { $as_echo "$as_me:${as_lineno-$LINENO}: result: profile" >&5
2989$as_echo "profile" >&6; }
2990        CFLAGS="${CFLAGS} -g -pg"
2991        CXXFLAGS="${CXXFLAGS} -g -pg"
2992        FFLAGS="${FFLAGS} -g -pg"
2993        FCFLAGS="${FCFLAGS} -g -pg"
2994        OBJCFLAGS="${OBJCFLAGS} -g -pg"
2995        LDFLAGS="${LDFLAGS} -pg"
2996       ;; #(
2997  *) :
2998
2999        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000$as_echo "no" >&6; }
3001                        if test "x${CFLAGS+set}" != "xset"; then :
3002  CFLAGS=""
3003fi
3004        if test "x${CXXFLAGS+set}" != "xset"; then :
3005  CXXFLAGS=""
3006fi
3007        if test "x${FFLAGS+set}" != "xset"; then :
3008  FFLAGS=""
3009fi
3010        if test "x${FCFLAGS+set}" != "xset"; then :
3011  FCFLAGS=""
3012fi
3013        if test "x${OBJCFLAGS+set}" != "xset"; then :
3014  OBJCFLAGS=""
3015fi
3016       ;;
3017esac
3018
3019            if test "x$enable_debug" = "xyes"; then :
3020
3021$as_echo "#define MATE_ENABLE_DEBUG 1" >>confdefs.h
3022
3023else
3024
3025$as_echo "#define NDEBUG 1" >>confdefs.h
3026
3027fi
3028    ax_enable_debug=$enable_debug
3029
3030
3031DEPDIR="${am__leading_dot}deps"
3032
3033ac_config_commands="$ac_config_commands depfiles"
3034
3035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3036$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3037cat > confinc.mk << 'END'
3038am__doit:
3039	@echo this is the am__doit target >confinc.out
3040.PHONY: am__doit
3041END
3042am__include="#"
3043am__quote=
3044# BSD make does it like this.
3045echo '.include "confinc.mk" # ignored' > confmf.BSD
3046# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3047echo 'include confinc.mk # ignored' > confmf.GNU
3048_am_result=no
3049for s in GNU BSD; do
3050  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3051   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3052   ac_status=$?
3053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054   (exit $ac_status); }
3055  case $?:`cat confinc.out 2>/dev/null` in #(
3056  '0:this is the am__doit target') :
3057    case $s in #(
3058  BSD) :
3059    am__include='.include' am__quote='"' ;; #(
3060  *) :
3061    am__include='include' am__quote='' ;;
3062esac ;; #(
3063  *) :
3064     ;;
3065esac
3066  if test "$am__include" != "#"; then
3067    _am_result="yes ($s style)"
3068    break
3069  fi
3070done
3071rm -f confinc.* confmf.*
3072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3073$as_echo "${_am_result}" >&6; }
3074
3075# Check whether --enable-dependency-tracking was given.
3076if test "${enable_dependency_tracking+set}" = set; then :
3077  enableval=$enable_dependency_tracking;
3078fi
3079
3080if test "x$enable_dependency_tracking" != xno; then
3081  am_depcomp="$ac_aux_dir/depcomp"
3082  AMDEPBACKSLASH='\'
3083  am__nodep='_no'
3084fi
3085 if test "x$enable_dependency_tracking" != xno; then
3086  AMDEP_TRUE=
3087  AMDEP_FALSE='#'
3088else
3089  AMDEP_TRUE='#'
3090  AMDEP_FALSE=
3091fi
3092
3093
3094ac_ext=c
3095ac_cpp='$CPP $CPPFLAGS'
3096ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3097ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3098ac_compiler_gnu=$ac_cv_c_compiler_gnu
3099if test -n "$ac_tool_prefix"; then
3100  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3101set dummy ${ac_tool_prefix}gcc; ac_word=$2
3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103$as_echo_n "checking for $ac_word... " >&6; }
3104if ${ac_cv_prog_CC+:} false; then :
3105  $as_echo_n "(cached) " >&6
3106else
3107  if test -n "$CC"; then
3108  ac_cv_prog_CC="$CC" # Let the user override the test.
3109else
3110as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3111for as_dir in $PATH
3112do
3113  IFS=$as_save_IFS
3114  test -z "$as_dir" && as_dir=.
3115    for ac_exec_ext in '' $ac_executable_extensions; do
3116  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3118    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119    break 2
3120  fi
3121done
3122  done
3123IFS=$as_save_IFS
3124
3125fi
3126fi
3127CC=$ac_cv_prog_CC
3128if test -n "$CC"; then
3129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3130$as_echo "$CC" >&6; }
3131else
3132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133$as_echo "no" >&6; }
3134fi
3135
3136
3137fi
3138if test -z "$ac_cv_prog_CC"; then
3139  ac_ct_CC=$CC
3140  # Extract the first word of "gcc", so it can be a program name with args.
3141set dummy gcc; ac_word=$2
3142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143$as_echo_n "checking for $ac_word... " >&6; }
3144if ${ac_cv_prog_ac_ct_CC+:} false; then :
3145  $as_echo_n "(cached) " >&6
3146else
3147  if test -n "$ac_ct_CC"; then
3148  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3149else
3150as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3151for as_dir in $PATH
3152do
3153  IFS=$as_save_IFS
3154  test -z "$as_dir" && as_dir=.
3155    for ac_exec_ext in '' $ac_executable_extensions; do
3156  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3157    ac_cv_prog_ac_ct_CC="gcc"
3158    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159    break 2
3160  fi
3161done
3162  done
3163IFS=$as_save_IFS
3164
3165fi
3166fi
3167ac_ct_CC=$ac_cv_prog_ac_ct_CC
3168if test -n "$ac_ct_CC"; then
3169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3170$as_echo "$ac_ct_CC" >&6; }
3171else
3172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3173$as_echo "no" >&6; }
3174fi
3175
3176  if test "x$ac_ct_CC" = x; then
3177    CC=""
3178  else
3179    case $cross_compiling:$ac_tool_warned in
3180yes:)
3181{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3182$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3183ac_tool_warned=yes ;;
3184esac
3185    CC=$ac_ct_CC
3186  fi
3187else
3188  CC="$ac_cv_prog_CC"
3189fi
3190
3191if test -z "$CC"; then
3192          if test -n "$ac_tool_prefix"; then
3193    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3194set dummy ${ac_tool_prefix}cc; ac_word=$2
3195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196$as_echo_n "checking for $ac_word... " >&6; }
3197if ${ac_cv_prog_CC+:} false; then :
3198  $as_echo_n "(cached) " >&6
3199else
3200  if test -n "$CC"; then
3201  ac_cv_prog_CC="$CC" # Let the user override the test.
3202else
3203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204for as_dir in $PATH
3205do
3206  IFS=$as_save_IFS
3207  test -z "$as_dir" && as_dir=.
3208    for ac_exec_ext in '' $ac_executable_extensions; do
3209  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210    ac_cv_prog_CC="${ac_tool_prefix}cc"
3211    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212    break 2
3213  fi
3214done
3215  done
3216IFS=$as_save_IFS
3217
3218fi
3219fi
3220CC=$ac_cv_prog_CC
3221if test -n "$CC"; then
3222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3223$as_echo "$CC" >&6; }
3224else
3225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226$as_echo "no" >&6; }
3227fi
3228
3229
3230  fi
3231fi
3232if test -z "$CC"; then
3233  # Extract the first word of "cc", so it can be a program name with args.
3234set dummy cc; ac_word=$2
3235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236$as_echo_n "checking for $ac_word... " >&6; }
3237if ${ac_cv_prog_CC+:} false; then :
3238  $as_echo_n "(cached) " >&6
3239else
3240  if test -n "$CC"; then
3241  ac_cv_prog_CC="$CC" # Let the user override the test.
3242else
3243  ac_prog_rejected=no
3244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3245for as_dir in $PATH
3246do
3247  IFS=$as_save_IFS
3248  test -z "$as_dir" && as_dir=.
3249    for ac_exec_ext in '' $ac_executable_extensions; do
3250  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3251    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3252       ac_prog_rejected=yes
3253       continue
3254     fi
3255    ac_cv_prog_CC="cc"
3256    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3257    break 2
3258  fi
3259done
3260  done
3261IFS=$as_save_IFS
3262
3263if test $ac_prog_rejected = yes; then
3264  # We found a bogon in the path, so make sure we never use it.
3265  set dummy $ac_cv_prog_CC
3266  shift
3267  if test $# != 0; then
3268    # We chose a different compiler from the bogus one.
3269    # However, it has the same basename, so the bogon will be chosen
3270    # first if we set CC to just the basename; use the full file name.
3271    shift
3272    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3273  fi
3274fi
3275fi
3276fi
3277CC=$ac_cv_prog_CC
3278if test -n "$CC"; then
3279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3280$as_echo "$CC" >&6; }
3281else
3282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283$as_echo "no" >&6; }
3284fi
3285
3286
3287fi
3288if test -z "$CC"; then
3289  if test -n "$ac_tool_prefix"; then
3290  for ac_prog in cl.exe
3291  do
3292    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3293set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295$as_echo_n "checking for $ac_word... " >&6; }
3296if ${ac_cv_prog_CC+:} false; then :
3297  $as_echo_n "(cached) " >&6
3298else
3299  if test -n "$CC"; then
3300  ac_cv_prog_CC="$CC" # Let the user override the test.
3301else
3302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3303for as_dir in $PATH
3304do
3305  IFS=$as_save_IFS
3306  test -z "$as_dir" && as_dir=.
3307    for ac_exec_ext in '' $ac_executable_extensions; do
3308  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3309    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3310    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3311    break 2
3312  fi
3313done
3314  done
3315IFS=$as_save_IFS
3316
3317fi
3318fi
3319CC=$ac_cv_prog_CC
3320if test -n "$CC"; then
3321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3322$as_echo "$CC" >&6; }
3323else
3324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325$as_echo "no" >&6; }
3326fi
3327
3328
3329    test -n "$CC" && break
3330  done
3331fi
3332if test -z "$CC"; then
3333  ac_ct_CC=$CC
3334  for ac_prog in cl.exe
3335do
3336  # Extract the first word of "$ac_prog", so it can be a program name with args.
3337set dummy $ac_prog; ac_word=$2
3338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339$as_echo_n "checking for $ac_word... " >&6; }
3340if ${ac_cv_prog_ac_ct_CC+:} false; then :
3341  $as_echo_n "(cached) " >&6
3342else
3343  if test -n "$ac_ct_CC"; then
3344  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3345else
3346as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347for as_dir in $PATH
3348do
3349  IFS=$as_save_IFS
3350  test -z "$as_dir" && as_dir=.
3351    for ac_exec_ext in '' $ac_executable_extensions; do
3352  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3353    ac_cv_prog_ac_ct_CC="$ac_prog"
3354    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3355    break 2
3356  fi
3357done
3358  done
3359IFS=$as_save_IFS
3360
3361fi
3362fi
3363ac_ct_CC=$ac_cv_prog_ac_ct_CC
3364if test -n "$ac_ct_CC"; then
3365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3366$as_echo "$ac_ct_CC" >&6; }
3367else
3368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369$as_echo "no" >&6; }
3370fi
3371
3372
3373  test -n "$ac_ct_CC" && break
3374done
3375
3376  if test "x$ac_ct_CC" = x; then
3377    CC=""
3378  else
3379    case $cross_compiling:$ac_tool_warned in
3380yes:)
3381{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3382$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3383ac_tool_warned=yes ;;
3384esac
3385    CC=$ac_ct_CC
3386  fi
3387fi
3388
3389fi
3390
3391
3392test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394as_fn_error $? "no acceptable C compiler found in \$PATH
3395See \`config.log' for more details" "$LINENO" 5; }
3396
3397# Provide some information about the compiler.
3398$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3399set X $ac_compile
3400ac_compiler=$2
3401for ac_option in --version -v -V -qversion; do
3402  { { ac_try="$ac_compiler $ac_option >&5"
3403case "(($ac_try" in
3404  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405  *) ac_try_echo=$ac_try;;
3406esac
3407eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408$as_echo "$ac_try_echo"; } >&5
3409  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3410  ac_status=$?
3411  if test -s conftest.err; then
3412    sed '10a\
3413... rest of stderr output deleted ...
3414         10q' conftest.err >conftest.er1
3415    cat conftest.er1 >&5
3416  fi
3417  rm -f conftest.er1 conftest.err
3418  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3419  test $ac_status = 0; }
3420done
3421
3422cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423/* end confdefs.h.  */
3424
3425int
3426main ()
3427{
3428
3429  ;
3430  return 0;
3431}
3432_ACEOF
3433ac_clean_files_save=$ac_clean_files
3434ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3435# Try to create an executable without -o first, disregard a.out.
3436# It will help us diagnose broken compilers, and finding out an intuition
3437# of exeext.
3438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3439$as_echo_n "checking whether the C compiler works... " >&6; }
3440ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3441
3442# The possible output files:
3443ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3444
3445ac_rmfiles=
3446for ac_file in $ac_files
3447do
3448  case $ac_file in
3449    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3450    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3451  esac
3452done
3453rm -f $ac_rmfiles
3454
3455if { { ac_try="$ac_link_default"
3456case "(($ac_try" in
3457  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458  *) ac_try_echo=$ac_try;;
3459esac
3460eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3461$as_echo "$ac_try_echo"; } >&5
3462  (eval "$ac_link_default") 2>&5
3463  ac_status=$?
3464  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3465  test $ac_status = 0; }; then :
3466  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3467# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3468# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3469# so that the user can short-circuit this test for compilers unknown to
3470# Autoconf.
3471for ac_file in $ac_files ''
3472do
3473  test -f "$ac_file" || continue
3474  case $ac_file in
3475    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3476	;;
3477    [ab].out )
3478	# We found the default executable, but exeext='' is most
3479	# certainly right.
3480	break;;
3481    *.* )
3482	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3483	then :; else
3484	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3485	fi
3486	# We set ac_cv_exeext here because the later test for it is not
3487	# safe: cross compilers may not add the suffix if given an `-o'
3488	# argument, so we may need to know it at that point already.
3489	# Even if this section looks crufty: it has the advantage of
3490	# actually working.
3491	break;;
3492    * )
3493	break;;
3494  esac
3495done
3496test "$ac_cv_exeext" = no && ac_cv_exeext=
3497
3498else
3499  ac_file=''
3500fi
3501if test -z "$ac_file"; then :
3502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503$as_echo "no" >&6; }
3504$as_echo "$as_me: failed program was:" >&5
3505sed 's/^/| /' conftest.$ac_ext >&5
3506
3507{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509as_fn_error 77 "C compiler cannot create executables
3510See \`config.log' for more details" "$LINENO" 5; }
3511else
3512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3513$as_echo "yes" >&6; }
3514fi
3515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3516$as_echo_n "checking for C compiler default output file name... " >&6; }
3517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3518$as_echo "$ac_file" >&6; }
3519ac_exeext=$ac_cv_exeext
3520
3521rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3522ac_clean_files=$ac_clean_files_save
3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3524$as_echo_n "checking for suffix of executables... " >&6; }
3525if { { ac_try="$ac_link"
3526case "(($ac_try" in
3527  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528  *) ac_try_echo=$ac_try;;
3529esac
3530eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3531$as_echo "$ac_try_echo"; } >&5
3532  (eval "$ac_link") 2>&5
3533  ac_status=$?
3534  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3535  test $ac_status = 0; }; then :
3536  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3537# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3538# work properly (i.e., refer to `conftest.exe'), while it won't with
3539# `rm'.
3540for ac_file in conftest.exe conftest conftest.*; do
3541  test -f "$ac_file" || continue
3542  case $ac_file in
3543    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3544    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3545	  break;;
3546    * ) break;;
3547  esac
3548done
3549else
3550  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3551$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3552as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3553See \`config.log' for more details" "$LINENO" 5; }
3554fi
3555rm -f conftest conftest$ac_cv_exeext
3556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3557$as_echo "$ac_cv_exeext" >&6; }
3558
3559rm -f conftest.$ac_ext
3560EXEEXT=$ac_cv_exeext
3561ac_exeext=$EXEEXT
3562cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563/* end confdefs.h.  */
3564#include <stdio.h>
3565int
3566main ()
3567{
3568FILE *f = fopen ("conftest.out", "w");
3569 return ferror (f) || fclose (f) != 0;
3570
3571  ;
3572  return 0;
3573}
3574_ACEOF
3575ac_clean_files="$ac_clean_files conftest.out"
3576# Check that the compiler produces executables we can run.  If not, either
3577# the compiler is broken, or we cross compile.
3578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3579$as_echo_n "checking whether we are cross compiling... " >&6; }
3580if test "$cross_compiling" != yes; then
3581  { { ac_try="$ac_link"
3582case "(($ac_try" in
3583  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584  *) ac_try_echo=$ac_try;;
3585esac
3586eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3587$as_echo "$ac_try_echo"; } >&5
3588  (eval "$ac_link") 2>&5
3589  ac_status=$?
3590  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3591  test $ac_status = 0; }
3592  if { ac_try='./conftest$ac_cv_exeext'
3593  { { case "(($ac_try" in
3594  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3595  *) ac_try_echo=$ac_try;;
3596esac
3597eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3598$as_echo "$ac_try_echo"; } >&5
3599  (eval "$ac_try") 2>&5
3600  ac_status=$?
3601  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3602  test $ac_status = 0; }; }; then
3603    cross_compiling=no
3604  else
3605    if test "$cross_compiling" = maybe; then
3606	cross_compiling=yes
3607    else
3608	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610as_fn_error $? "cannot run C compiled programs.
3611If you meant to cross compile, use \`--host'.
3612See \`config.log' for more details" "$LINENO" 5; }
3613    fi
3614  fi
3615fi
3616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3617$as_echo "$cross_compiling" >&6; }
3618
3619rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3620ac_clean_files=$ac_clean_files_save
3621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3622$as_echo_n "checking for suffix of object files... " >&6; }
3623if ${ac_cv_objext+:} false; then :
3624  $as_echo_n "(cached) " >&6
3625else
3626  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627/* end confdefs.h.  */
3628
3629int
3630main ()
3631{
3632
3633  ;
3634  return 0;
3635}
3636_ACEOF
3637rm -f conftest.o conftest.obj
3638if { { ac_try="$ac_compile"
3639case "(($ac_try" in
3640  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3641  *) ac_try_echo=$ac_try;;
3642esac
3643eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3644$as_echo "$ac_try_echo"; } >&5
3645  (eval "$ac_compile") 2>&5
3646  ac_status=$?
3647  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3648  test $ac_status = 0; }; then :
3649  for ac_file in conftest.o conftest.obj conftest.*; do
3650  test -f "$ac_file" || continue;
3651  case $ac_file in
3652    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3653    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3654       break;;
3655  esac
3656done
3657else
3658  $as_echo "$as_me: failed program was:" >&5
3659sed 's/^/| /' conftest.$ac_ext >&5
3660
3661{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3662$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3663as_fn_error $? "cannot compute suffix of object files: cannot compile
3664See \`config.log' for more details" "$LINENO" 5; }
3665fi
3666rm -f conftest.$ac_cv_objext conftest.$ac_ext
3667fi
3668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3669$as_echo "$ac_cv_objext" >&6; }
3670OBJEXT=$ac_cv_objext
3671ac_objext=$OBJEXT
3672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3673$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3674if ${ac_cv_c_compiler_gnu+:} false; then :
3675  $as_echo_n "(cached) " >&6
3676else
3677  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678/* end confdefs.h.  */
3679
3680int
3681main ()
3682{
3683#ifndef __GNUC__
3684       choke me
3685#endif
3686
3687  ;
3688  return 0;
3689}
3690_ACEOF
3691if ac_fn_c_try_compile "$LINENO"; then :
3692  ac_compiler_gnu=yes
3693else
3694  ac_compiler_gnu=no
3695fi
3696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3697ac_cv_c_compiler_gnu=$ac_compiler_gnu
3698
3699fi
3700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3701$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3702if test $ac_compiler_gnu = yes; then
3703  GCC=yes
3704else
3705  GCC=
3706fi
3707ac_test_CFLAGS=${CFLAGS+set}
3708ac_save_CFLAGS=$CFLAGS
3709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3710$as_echo_n "checking whether $CC accepts -g... " >&6; }
3711if ${ac_cv_prog_cc_g+:} false; then :
3712  $as_echo_n "(cached) " >&6
3713else
3714  ac_save_c_werror_flag=$ac_c_werror_flag
3715   ac_c_werror_flag=yes
3716   ac_cv_prog_cc_g=no
3717   CFLAGS="-g"
3718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719/* end confdefs.h.  */
3720
3721int
3722main ()
3723{
3724
3725  ;
3726  return 0;
3727}
3728_ACEOF
3729if ac_fn_c_try_compile "$LINENO"; then :
3730  ac_cv_prog_cc_g=yes
3731else
3732  CFLAGS=""
3733      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734/* end confdefs.h.  */
3735
3736int
3737main ()
3738{
3739
3740  ;
3741  return 0;
3742}
3743_ACEOF
3744if ac_fn_c_try_compile "$LINENO"; then :
3745
3746else
3747  ac_c_werror_flag=$ac_save_c_werror_flag
3748	 CFLAGS="-g"
3749	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750/* end confdefs.h.  */
3751
3752int
3753main ()
3754{
3755
3756  ;
3757  return 0;
3758}
3759_ACEOF
3760if ac_fn_c_try_compile "$LINENO"; then :
3761  ac_cv_prog_cc_g=yes
3762fi
3763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3764fi
3765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3766fi
3767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3768   ac_c_werror_flag=$ac_save_c_werror_flag
3769fi
3770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3771$as_echo "$ac_cv_prog_cc_g" >&6; }
3772if test "$ac_test_CFLAGS" = set; then
3773  CFLAGS=$ac_save_CFLAGS
3774elif test $ac_cv_prog_cc_g = yes; then
3775  if test "$GCC" = yes; then
3776    CFLAGS="-g -O2"
3777  else
3778    CFLAGS="-g"
3779  fi
3780else
3781  if test "$GCC" = yes; then
3782    CFLAGS="-O2"
3783  else
3784    CFLAGS=
3785  fi
3786fi
3787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3788$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3789if ${ac_cv_prog_cc_c89+:} false; then :
3790  $as_echo_n "(cached) " >&6
3791else
3792  ac_cv_prog_cc_c89=no
3793ac_save_CC=$CC
3794cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795/* end confdefs.h.  */
3796#include <stdarg.h>
3797#include <stdio.h>
3798struct stat;
3799/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3800struct buf { int x; };
3801FILE * (*rcsopen) (struct buf *, struct stat *, int);
3802static char *e (p, i)
3803     char **p;
3804     int i;
3805{
3806  return p[i];
3807}
3808static char *f (char * (*g) (char **, int), char **p, ...)
3809{
3810  char *s;
3811  va_list v;
3812  va_start (v,p);
3813  s = g (p, va_arg (v,int));
3814  va_end (v);
3815  return s;
3816}
3817
3818/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3819   function prototypes and stuff, but not '\xHH' hex character constants.
3820   These don't provoke an error unfortunately, instead are silently treated
3821   as 'x'.  The following induces an error, until -std is added to get
3822   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3823   array size at least.  It's necessary to write '\x00'==0 to get something
3824   that's true only with -std.  */
3825int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3826
3827/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3828   inside strings and character constants.  */
3829#define FOO(x) 'x'
3830int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3831
3832int test (int i, double x);
3833struct s1 {int (*f) (int a);};
3834struct s2 {int (*f) (double a);};
3835int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3836int argc;
3837char **argv;
3838int
3839main ()
3840{
3841return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3842  ;
3843  return 0;
3844}
3845_ACEOF
3846for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3847	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3848do
3849  CC="$ac_save_CC $ac_arg"
3850  if ac_fn_c_try_compile "$LINENO"; then :
3851  ac_cv_prog_cc_c89=$ac_arg
3852fi
3853rm -f core conftest.err conftest.$ac_objext
3854  test "x$ac_cv_prog_cc_c89" != "xno" && break
3855done
3856rm -f conftest.$ac_ext
3857CC=$ac_save_CC
3858
3859fi
3860# AC_CACHE_VAL
3861case "x$ac_cv_prog_cc_c89" in
3862  x)
3863    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3864$as_echo "none needed" >&6; } ;;
3865  xno)
3866    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3867$as_echo "unsupported" >&6; } ;;
3868  *)
3869    CC="$CC $ac_cv_prog_cc_c89"
3870    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3871$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3872esac
3873if test "x$ac_cv_prog_cc_c89" != xno; then :
3874
3875fi
3876
3877ac_ext=c
3878ac_cpp='$CPP $CPPFLAGS'
3879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3881ac_compiler_gnu=$ac_cv_c_compiler_gnu
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{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3889$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3890if ${am_cv_prog_cc_c_o+:} false; then :
3891  $as_echo_n "(cached) " >&6
3892else
3893  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894/* end confdefs.h.  */
3895
3896int
3897main ()
3898{
3899
3900  ;
3901  return 0;
3902}
3903_ACEOF
3904  # Make sure it works both with $CC and with simple cc.
3905  # Following AC_PROG_CC_C_O, we do the test twice because some
3906  # compilers refuse to overwrite an existing .o file with -o,
3907  # though they will create one.
3908  am_cv_prog_cc_c_o=yes
3909  for am_i in 1 2; do
3910    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3911   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3912   ac_status=$?
3913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914   (exit $ac_status); } \
3915         && test -f conftest2.$ac_objext; then
3916      : OK
3917    else
3918      am_cv_prog_cc_c_o=no
3919      break
3920    fi
3921  done
3922  rm -f core conftest*
3923  unset am_i
3924fi
3925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3926$as_echo "$am_cv_prog_cc_c_o" >&6; }
3927if test "$am_cv_prog_cc_c_o" != yes; then
3928   # Losing compiler, so override with the script.
3929   # FIXME: It is wrong to rewrite CC.
3930   # But if we don't then we get into trouble of one sort or another.
3931   # A longer-term fix would be to have automake use am__CC in this case,
3932   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3933   CC="$am_aux_dir/compile $CC"
3934fi
3935ac_ext=c
3936ac_cpp='$CPP $CPPFLAGS'
3937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3939ac_compiler_gnu=$ac_cv_c_compiler_gnu
3940
3941
3942depcc="$CC"   am_compiler_list=
3943
3944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3945$as_echo_n "checking dependency style of $depcc... " >&6; }
3946if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3947  $as_echo_n "(cached) " >&6
3948else
3949  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3950  # We make a subdir and do the tests there.  Otherwise we can end up
3951  # making bogus files that we don't know about and never remove.  For
3952  # instance it was reported that on HP-UX the gcc test will end up
3953  # making a dummy file named 'D' -- because '-MD' means "put the output
3954  # in D".
3955  rm -rf conftest.dir
3956  mkdir conftest.dir
3957  # Copy depcomp to subdir because otherwise we won't find it if we're
3958  # using a relative directory.
3959  cp "$am_depcomp" conftest.dir
3960  cd conftest.dir
3961  # We will build objects and dependencies in a subdirectory because
3962  # it helps to detect inapplicable dependency modes.  For instance
3963  # both Tru64's cc and ICC support -MD to output dependencies as a
3964  # side effect of compilation, but ICC will put the dependencies in
3965  # the current directory while Tru64 will put them in the object
3966  # directory.
3967  mkdir sub
3968
3969  am_cv_CC_dependencies_compiler_type=none
3970  if test "$am_compiler_list" = ""; then
3971     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3972  fi
3973  am__universal=false
3974  case " $depcc " in #(
3975     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3976     esac
3977
3978  for depmode in $am_compiler_list; do
3979    # Setup a source with many dependencies, because some compilers
3980    # like to wrap large dependency lists on column 80 (with \), and
3981    # we should not choose a depcomp mode which is confused by this.
3982    #
3983    # We need to recreate these files for each test, as the compiler may
3984    # overwrite some of them when testing with obscure command lines.
3985    # This happens at least with the AIX C compiler.
3986    : > sub/conftest.c
3987    for i in 1 2 3 4 5 6; do
3988      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3989      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3990      # Solaris 10 /bin/sh.
3991      echo '/* dummy */' > sub/conftst$i.h
3992    done
3993    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3994
3995    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3996    # mode.  It turns out that the SunPro C++ compiler does not properly
3997    # handle '-M -o', and we need to detect this.  Also, some Intel
3998    # versions had trouble with output in subdirs.
3999    am__obj=sub/conftest.${OBJEXT-o}
4000    am__minus_obj="-o $am__obj"
4001    case $depmode in
4002    gcc)
4003      # This depmode causes a compiler race in universal mode.
4004      test "$am__universal" = false || continue
4005      ;;
4006    nosideeffect)
4007      # After this tag, mechanisms are not by side-effect, so they'll
4008      # only be used when explicitly requested.
4009      if test "x$enable_dependency_tracking" = xyes; then
4010	continue
4011      else
4012	break
4013      fi
4014      ;;
4015    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4016      # This compiler won't grok '-c -o', but also, the minuso test has
4017      # not run yet.  These depmodes are late enough in the game, and
4018      # so weak that their functioning should not be impacted.
4019      am__obj=conftest.${OBJEXT-o}
4020      am__minus_obj=
4021      ;;
4022    none) break ;;
4023    esac
4024    if depmode=$depmode \
4025       source=sub/conftest.c object=$am__obj \
4026       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4027       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4028         >/dev/null 2>conftest.err &&
4029       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4030       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4031       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4032       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4033      # icc doesn't choke on unknown options, it will just issue warnings
4034      # or remarks (even with -Werror).  So we grep stderr for any message
4035      # that says an option was ignored or not supported.
4036      # When given -MP, icc 7.0 and 7.1 complain thusly:
4037      #   icc: Command line warning: ignoring option '-M'; no argument required
4038      # The diagnosis changed in icc 8.0:
4039      #   icc: Command line remark: option '-MP' not supported
4040      if (grep 'ignoring option' conftest.err ||
4041          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4042        am_cv_CC_dependencies_compiler_type=$depmode
4043        break
4044      fi
4045    fi
4046  done
4047
4048  cd ..
4049  rm -rf conftest.dir
4050else
4051  am_cv_CC_dependencies_compiler_type=none
4052fi
4053
4054fi
4055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4056$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4057CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4058
4059 if
4060  test "x$enable_dependency_tracking" != xno \
4061  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4062  am__fastdepCC_TRUE=
4063  am__fastdepCC_FALSE='#'
4064else
4065  am__fastdepCC_TRUE='#'
4066  am__fastdepCC_FALSE=
4067fi
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077    # Check whether --enable-compile-warnings was given.
4078if test "${enable_compile_warnings+set}" = set; then :
4079  enableval=$enable_compile_warnings;
4080else
4081  enable_compile_warnings="yes"
4082fi
4083
4084
4085    ac_ext=c
4086ac_cpp='$CPP $CPPFLAGS'
4087ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4088ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4089ac_compiler_gnu=$ac_cv_c_compiler_gnu
4090
4091
4092    case "$enable_compile_warnings" in
4093    no)
4094	warning_flags=
4095	;;
4096    minimum)
4097	warning_flags="-Wall"
4098	;;
4099    yes)
4100	warning_flags="-Wall -Wmissing-prototypes"
4101	;;
4102    maximum|error)
4103	warning_flags="-Wall -Wmissing-prototypes -Wbad-function-cast -Wcast-align -Wextra -Wno-unused-parameter -Wformat-nonliteral -Wmissing-declarations -Wmissing-field-initializers -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Werror=format-security"
4104	if test "$enable_compile_warnings" = "error" ; then
4105	    warning_flags="$warning_flags -Werror"
4106	fi
4107	;;
4108    *)
4109	as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
4110	;;
4111    esac
4112
4113    # Always pass -Werror=unknown-warning-option to get Clang to fail on bad
4114    # flags, otherwise they are always appended to the warn_cflags variable, and
4115    # Clang warns on them for every compilation unit.
4116    # If this is passed to GCC, it will explode, so the flag must be enabled
4117    # conditionally.
4118    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
4119$as_echo_n "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
4120if ${ax_cv_check_cflags___Werror_unknown_warning_option+:} false; then :
4121  $as_echo_n "(cached) " >&6
4122else
4123
4124  ax_check_save_flags=$CFLAGS
4125  CFLAGS="$CFLAGS  -Werror=unknown-warning-option"
4126  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127/* end confdefs.h.  */
4128
4129int
4130main ()
4131{
4132
4133  ;
4134  return 0;
4135}
4136_ACEOF
4137if ac_fn_c_try_compile "$LINENO"; then :
4138  ax_cv_check_cflags___Werror_unknown_warning_option=yes
4139else
4140  ax_cv_check_cflags___Werror_unknown_warning_option=no
4141fi
4142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143  CFLAGS=$ax_check_save_flags
4144fi
4145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
4146$as_echo "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
4147if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes; then :
4148
4149        compiler_flags_test="-Werror=unknown-warning-option"
4150
4151else
4152
4153        compiler_flags_test=""
4154
4155fi
4156
4157
4158    for flag in $warning_flags; do
4159         as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$compiler_flags_test_$flag" | $as_tr_sh`
4160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
4161$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
4162if eval \${$as_CACHEVAR+:} false; then :
4163  $as_echo_n "(cached) " >&6
4164else
4165
4166  ax_check_save_flags=$CFLAGS
4167  CFLAGS="$CFLAGS $compiler_flags_test $flag"
4168  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169/* end confdefs.h.  */
4170
4171int
4172main ()
4173{
4174
4175  ;
4176  return 0;
4177}
4178_ACEOF
4179if ac_fn_c_try_compile "$LINENO"; then :
4180  eval "$as_CACHEVAR=yes"
4181else
4182  eval "$as_CACHEVAR=no"
4183fi
4184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185  CFLAGS=$ax_check_save_flags
4186fi
4187eval ac_res=\$$as_CACHEVAR
4188	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4189$as_echo "$ac_res" >&6; }
4190if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
4191
4192if ${WARN_CFLAGS+:} false; then :
4193
4194  case " $WARN_CFLAGS " in #(
4195  *" $flag "*) :
4196    { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
4197  (: WARN_CFLAGS already contains $flag) 2>&5
4198  ac_status=$?
4199  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4200  test $ac_status = 0; } ;; #(
4201  *) :
4202
4203     as_fn_append WARN_CFLAGS " $flag"
4204     { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
4205  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
4206  ac_status=$?
4207  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4208  test $ac_status = 0; }
4209     ;;
4210esac
4211
4212else
4213
4214  WARN_CFLAGS=$flag
4215  { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
4216  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
4217  ac_status=$?
4218  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4219  test $ac_status = 0; }
4220
4221fi
4222
4223else
4224  :
4225fi
4226
4227    done
4228
4229    { $as_echo "$as_me:${as_lineno-$LINENO}: checking flags to pass to the C compiler $CC" >&5
4230$as_echo_n "checking flags to pass to the C compiler $CC... " >&6; }
4231    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS}" >&5
4232$as_echo "${WARN_CFLAGS}" >&6; }
4233
4234    ac_ext=c
4235ac_cpp='$CPP $CPPFLAGS'
4236ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4237ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4238ac_compiler_gnu=$ac_cv_c_compiler_gnu
4239
4240
4241
4242
4243ac_ext=c
4244ac_cpp='$CPP $CPPFLAGS'
4245ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4246ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4247ac_compiler_gnu=$ac_cv_c_compiler_gnu
4248if test -n "$ac_tool_prefix"; then
4249  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4250set dummy ${ac_tool_prefix}gcc; ac_word=$2
4251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4252$as_echo_n "checking for $ac_word... " >&6; }
4253if ${ac_cv_prog_CC+:} false; then :
4254  $as_echo_n "(cached) " >&6
4255else
4256  if test -n "$CC"; then
4257  ac_cv_prog_CC="$CC" # Let the user override the test.
4258else
4259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260for as_dir in $PATH
4261do
4262  IFS=$as_save_IFS
4263  test -z "$as_dir" && as_dir=.
4264    for ac_exec_ext in '' $ac_executable_extensions; do
4265  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4266    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4267    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4268    break 2
4269  fi
4270done
4271  done
4272IFS=$as_save_IFS
4273
4274fi
4275fi
4276CC=$ac_cv_prog_CC
4277if test -n "$CC"; then
4278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4279$as_echo "$CC" >&6; }
4280else
4281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4282$as_echo "no" >&6; }
4283fi
4284
4285
4286fi
4287if test -z "$ac_cv_prog_CC"; then
4288  ac_ct_CC=$CC
4289  # Extract the first word of "gcc", so it can be a program name with args.
4290set dummy gcc; ac_word=$2
4291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4292$as_echo_n "checking for $ac_word... " >&6; }
4293if ${ac_cv_prog_ac_ct_CC+:} false; then :
4294  $as_echo_n "(cached) " >&6
4295else
4296  if test -n "$ac_ct_CC"; then
4297  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4298else
4299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300for as_dir in $PATH
4301do
4302  IFS=$as_save_IFS
4303  test -z "$as_dir" && as_dir=.
4304    for ac_exec_ext in '' $ac_executable_extensions; do
4305  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4306    ac_cv_prog_ac_ct_CC="gcc"
4307    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4308    break 2
4309  fi
4310done
4311  done
4312IFS=$as_save_IFS
4313
4314fi
4315fi
4316ac_ct_CC=$ac_cv_prog_ac_ct_CC
4317if test -n "$ac_ct_CC"; then
4318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4319$as_echo "$ac_ct_CC" >&6; }
4320else
4321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4322$as_echo "no" >&6; }
4323fi
4324
4325  if test "x$ac_ct_CC" = x; then
4326    CC=""
4327  else
4328    case $cross_compiling:$ac_tool_warned in
4329yes:)
4330{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4331$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4332ac_tool_warned=yes ;;
4333esac
4334    CC=$ac_ct_CC
4335  fi
4336else
4337  CC="$ac_cv_prog_CC"
4338fi
4339
4340if test -z "$CC"; then
4341          if test -n "$ac_tool_prefix"; then
4342    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4343set dummy ${ac_tool_prefix}cc; ac_word=$2
4344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4345$as_echo_n "checking for $ac_word... " >&6; }
4346if ${ac_cv_prog_CC+:} false; then :
4347  $as_echo_n "(cached) " >&6
4348else
4349  if test -n "$CC"; then
4350  ac_cv_prog_CC="$CC" # Let the user override the test.
4351else
4352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4353for as_dir in $PATH
4354do
4355  IFS=$as_save_IFS
4356  test -z "$as_dir" && as_dir=.
4357    for ac_exec_ext in '' $ac_executable_extensions; do
4358  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4359    ac_cv_prog_CC="${ac_tool_prefix}cc"
4360    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4361    break 2
4362  fi
4363done
4364  done
4365IFS=$as_save_IFS
4366
4367fi
4368fi
4369CC=$ac_cv_prog_CC
4370if test -n "$CC"; then
4371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4372$as_echo "$CC" >&6; }
4373else
4374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4375$as_echo "no" >&6; }
4376fi
4377
4378
4379  fi
4380fi
4381if test -z "$CC"; then
4382  # Extract the first word of "cc", so it can be a program name with args.
4383set dummy cc; ac_word=$2
4384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4385$as_echo_n "checking for $ac_word... " >&6; }
4386if ${ac_cv_prog_CC+:} false; then :
4387  $as_echo_n "(cached) " >&6
4388else
4389  if test -n "$CC"; then
4390  ac_cv_prog_CC="$CC" # Let the user override the test.
4391else
4392  ac_prog_rejected=no
4393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394for as_dir in $PATH
4395do
4396  IFS=$as_save_IFS
4397  test -z "$as_dir" && as_dir=.
4398    for ac_exec_ext in '' $ac_executable_extensions; do
4399  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4400    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4401       ac_prog_rejected=yes
4402       continue
4403     fi
4404    ac_cv_prog_CC="cc"
4405    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4406    break 2
4407  fi
4408done
4409  done
4410IFS=$as_save_IFS
4411
4412if test $ac_prog_rejected = yes; then
4413  # We found a bogon in the path, so make sure we never use it.
4414  set dummy $ac_cv_prog_CC
4415  shift
4416  if test $# != 0; then
4417    # We chose a different compiler from the bogus one.
4418    # However, it has the same basename, so the bogon will be chosen
4419    # first if we set CC to just the basename; use the full file name.
4420    shift
4421    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4422  fi
4423fi
4424fi
4425fi
4426CC=$ac_cv_prog_CC
4427if test -n "$CC"; then
4428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4429$as_echo "$CC" >&6; }
4430else
4431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432$as_echo "no" >&6; }
4433fi
4434
4435
4436fi
4437if test -z "$CC"; then
4438  if test -n "$ac_tool_prefix"; then
4439  for ac_prog in cl.exe
4440  do
4441    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4442set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444$as_echo_n "checking for $ac_word... " >&6; }
4445if ${ac_cv_prog_CC+:} false; then :
4446  $as_echo_n "(cached) " >&6
4447else
4448  if test -n "$CC"; then
4449  ac_cv_prog_CC="$CC" # Let the user override the test.
4450else
4451as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452for as_dir in $PATH
4453do
4454  IFS=$as_save_IFS
4455  test -z "$as_dir" && as_dir=.
4456    for ac_exec_ext in '' $ac_executable_extensions; do
4457  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4458    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4459    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4460    break 2
4461  fi
4462done
4463  done
4464IFS=$as_save_IFS
4465
4466fi
4467fi
4468CC=$ac_cv_prog_CC
4469if test -n "$CC"; then
4470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4471$as_echo "$CC" >&6; }
4472else
4473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474$as_echo "no" >&6; }
4475fi
4476
4477
4478    test -n "$CC" && break
4479  done
4480fi
4481if test -z "$CC"; then
4482  ac_ct_CC=$CC
4483  for ac_prog in cl.exe
4484do
4485  # Extract the first word of "$ac_prog", so it can be a program name with args.
4486set dummy $ac_prog; ac_word=$2
4487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4488$as_echo_n "checking for $ac_word... " >&6; }
4489if ${ac_cv_prog_ac_ct_CC+:} false; then :
4490  $as_echo_n "(cached) " >&6
4491else
4492  if test -n "$ac_ct_CC"; then
4493  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4494else
4495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4496for as_dir in $PATH
4497do
4498  IFS=$as_save_IFS
4499  test -z "$as_dir" && as_dir=.
4500    for ac_exec_ext in '' $ac_executable_extensions; do
4501  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4502    ac_cv_prog_ac_ct_CC="$ac_prog"
4503    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4504    break 2
4505  fi
4506done
4507  done
4508IFS=$as_save_IFS
4509
4510fi
4511fi
4512ac_ct_CC=$ac_cv_prog_ac_ct_CC
4513if test -n "$ac_ct_CC"; then
4514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4515$as_echo "$ac_ct_CC" >&6; }
4516else
4517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4518$as_echo "no" >&6; }
4519fi
4520
4521
4522  test -n "$ac_ct_CC" && break
4523done
4524
4525  if test "x$ac_ct_CC" = x; then
4526    CC=""
4527  else
4528    case $cross_compiling:$ac_tool_warned in
4529yes:)
4530{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4531$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4532ac_tool_warned=yes ;;
4533esac
4534    CC=$ac_ct_CC
4535  fi
4536fi
4537
4538fi
4539
4540
4541test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4542$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4543as_fn_error $? "no acceptable C compiler found in \$PATH
4544See \`config.log' for more details" "$LINENO" 5; }
4545
4546# Provide some information about the compiler.
4547$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4548set X $ac_compile
4549ac_compiler=$2
4550for ac_option in --version -v -V -qversion; do
4551  { { ac_try="$ac_compiler $ac_option >&5"
4552case "(($ac_try" in
4553  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4554  *) ac_try_echo=$ac_try;;
4555esac
4556eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4557$as_echo "$ac_try_echo"; } >&5
4558  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4559  ac_status=$?
4560  if test -s conftest.err; then
4561    sed '10a\
4562... rest of stderr output deleted ...
4563         10q' conftest.err >conftest.er1
4564    cat conftest.er1 >&5
4565  fi
4566  rm -f conftest.er1 conftest.err
4567  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4568  test $ac_status = 0; }
4569done
4570
4571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4572$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4573if ${ac_cv_c_compiler_gnu+:} false; then :
4574  $as_echo_n "(cached) " >&6
4575else
4576  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577/* end confdefs.h.  */
4578
4579int
4580main ()
4581{
4582#ifndef __GNUC__
4583       choke me
4584#endif
4585
4586  ;
4587  return 0;
4588}
4589_ACEOF
4590if ac_fn_c_try_compile "$LINENO"; then :
4591  ac_compiler_gnu=yes
4592else
4593  ac_compiler_gnu=no
4594fi
4595rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4596ac_cv_c_compiler_gnu=$ac_compiler_gnu
4597
4598fi
4599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4600$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4601if test $ac_compiler_gnu = yes; then
4602  GCC=yes
4603else
4604  GCC=
4605fi
4606ac_test_CFLAGS=${CFLAGS+set}
4607ac_save_CFLAGS=$CFLAGS
4608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4609$as_echo_n "checking whether $CC accepts -g... " >&6; }
4610if ${ac_cv_prog_cc_g+:} false; then :
4611  $as_echo_n "(cached) " >&6
4612else
4613  ac_save_c_werror_flag=$ac_c_werror_flag
4614   ac_c_werror_flag=yes
4615   ac_cv_prog_cc_g=no
4616   CFLAGS="-g"
4617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618/* end confdefs.h.  */
4619
4620int
4621main ()
4622{
4623
4624  ;
4625  return 0;
4626}
4627_ACEOF
4628if ac_fn_c_try_compile "$LINENO"; then :
4629  ac_cv_prog_cc_g=yes
4630else
4631  CFLAGS=""
4632      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633/* end confdefs.h.  */
4634
4635int
4636main ()
4637{
4638
4639  ;
4640  return 0;
4641}
4642_ACEOF
4643if ac_fn_c_try_compile "$LINENO"; then :
4644
4645else
4646  ac_c_werror_flag=$ac_save_c_werror_flag
4647	 CFLAGS="-g"
4648	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649/* end confdefs.h.  */
4650
4651int
4652main ()
4653{
4654
4655  ;
4656  return 0;
4657}
4658_ACEOF
4659if ac_fn_c_try_compile "$LINENO"; then :
4660  ac_cv_prog_cc_g=yes
4661fi
4662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663fi
4664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665fi
4666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4667   ac_c_werror_flag=$ac_save_c_werror_flag
4668fi
4669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4670$as_echo "$ac_cv_prog_cc_g" >&6; }
4671if test "$ac_test_CFLAGS" = set; then
4672  CFLAGS=$ac_save_CFLAGS
4673elif test $ac_cv_prog_cc_g = yes; then
4674  if test "$GCC" = yes; then
4675    CFLAGS="-g -O2"
4676  else
4677    CFLAGS="-g"
4678  fi
4679else
4680  if test "$GCC" = yes; then
4681    CFLAGS="-O2"
4682  else
4683    CFLAGS=
4684  fi
4685fi
4686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4687$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4688if ${ac_cv_prog_cc_c89+:} false; then :
4689  $as_echo_n "(cached) " >&6
4690else
4691  ac_cv_prog_cc_c89=no
4692ac_save_CC=$CC
4693cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694/* end confdefs.h.  */
4695#include <stdarg.h>
4696#include <stdio.h>
4697struct stat;
4698/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4699struct buf { int x; };
4700FILE * (*rcsopen) (struct buf *, struct stat *, int);
4701static char *e (p, i)
4702     char **p;
4703     int i;
4704{
4705  return p[i];
4706}
4707static char *f (char * (*g) (char **, int), char **p, ...)
4708{
4709  char *s;
4710  va_list v;
4711  va_start (v,p);
4712  s = g (p, va_arg (v,int));
4713  va_end (v);
4714  return s;
4715}
4716
4717/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4718   function prototypes and stuff, but not '\xHH' hex character constants.
4719   These don't provoke an error unfortunately, instead are silently treated
4720   as 'x'.  The following induces an error, until -std is added to get
4721   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4722   array size at least.  It's necessary to write '\x00'==0 to get something
4723   that's true only with -std.  */
4724int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4725
4726/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4727   inside strings and character constants.  */
4728#define FOO(x) 'x'
4729int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4730
4731int test (int i, double x);
4732struct s1 {int (*f) (int a);};
4733struct s2 {int (*f) (double a);};
4734int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4735int argc;
4736char **argv;
4737int
4738main ()
4739{
4740return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4741  ;
4742  return 0;
4743}
4744_ACEOF
4745for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4746	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4747do
4748  CC="$ac_save_CC $ac_arg"
4749  if ac_fn_c_try_compile "$LINENO"; then :
4750  ac_cv_prog_cc_c89=$ac_arg
4751fi
4752rm -f core conftest.err conftest.$ac_objext
4753  test "x$ac_cv_prog_cc_c89" != "xno" && break
4754done
4755rm -f conftest.$ac_ext
4756CC=$ac_save_CC
4757
4758fi
4759# AC_CACHE_VAL
4760case "x$ac_cv_prog_cc_c89" in
4761  x)
4762    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4763$as_echo "none needed" >&6; } ;;
4764  xno)
4765    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4766$as_echo "unsupported" >&6; } ;;
4767  *)
4768    CC="$CC $ac_cv_prog_cc_c89"
4769    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4770$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4771esac
4772if test "x$ac_cv_prog_cc_c89" != xno; then :
4773
4774fi
4775
4776ac_ext=c
4777ac_cpp='$CPP $CPPFLAGS'
4778ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4779ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4780ac_compiler_gnu=$ac_cv_c_compiler_gnu
4781
4782ac_ext=c
4783ac_cpp='$CPP $CPPFLAGS'
4784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4786ac_compiler_gnu=$ac_cv_c_compiler_gnu
4787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4788$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4789if ${am_cv_prog_cc_c_o+:} false; then :
4790  $as_echo_n "(cached) " >&6
4791else
4792  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4793/* end confdefs.h.  */
4794
4795int
4796main ()
4797{
4798
4799  ;
4800  return 0;
4801}
4802_ACEOF
4803  # Make sure it works both with $CC and with simple cc.
4804  # Following AC_PROG_CC_C_O, we do the test twice because some
4805  # compilers refuse to overwrite an existing .o file with -o,
4806  # though they will create one.
4807  am_cv_prog_cc_c_o=yes
4808  for am_i in 1 2; do
4809    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4810   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4811   ac_status=$?
4812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813   (exit $ac_status); } \
4814         && test -f conftest2.$ac_objext; then
4815      : OK
4816    else
4817      am_cv_prog_cc_c_o=no
4818      break
4819    fi
4820  done
4821  rm -f core conftest*
4822  unset am_i
4823fi
4824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4825$as_echo "$am_cv_prog_cc_c_o" >&6; }
4826if test "$am_cv_prog_cc_c_o" != yes; then
4827   # Losing compiler, so override with the script.
4828   # FIXME: It is wrong to rewrite CC.
4829   # But if we don't then we get into trouble of one sort or another.
4830   # A longer-term fix would be to have automake use am__CC in this case,
4831   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4832   CC="$am_aux_dir/compile $CC"
4833fi
4834ac_ext=c
4835ac_cpp='$CPP $CPPFLAGS'
4836ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4837ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4838ac_compiler_gnu=$ac_cv_c_compiler_gnu
4839
4840
4841depcc="$CC"   am_compiler_list=
4842
4843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4844$as_echo_n "checking dependency style of $depcc... " >&6; }
4845if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4846  $as_echo_n "(cached) " >&6
4847else
4848  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4849  # We make a subdir and do the tests there.  Otherwise we can end up
4850  # making bogus files that we don't know about and never remove.  For
4851  # instance it was reported that on HP-UX the gcc test will end up
4852  # making a dummy file named 'D' -- because '-MD' means "put the output
4853  # in D".
4854  rm -rf conftest.dir
4855  mkdir conftest.dir
4856  # Copy depcomp to subdir because otherwise we won't find it if we're
4857  # using a relative directory.
4858  cp "$am_depcomp" conftest.dir
4859  cd conftest.dir
4860  # We will build objects and dependencies in a subdirectory because
4861  # it helps to detect inapplicable dependency modes.  For instance
4862  # both Tru64's cc and ICC support -MD to output dependencies as a
4863  # side effect of compilation, but ICC will put the dependencies in
4864  # the current directory while Tru64 will put them in the object
4865  # directory.
4866  mkdir sub
4867
4868  am_cv_CC_dependencies_compiler_type=none
4869  if test "$am_compiler_list" = ""; then
4870     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4871  fi
4872  am__universal=false
4873  case " $depcc " in #(
4874     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4875     esac
4876
4877  for depmode in $am_compiler_list; do
4878    # Setup a source with many dependencies, because some compilers
4879    # like to wrap large dependency lists on column 80 (with \), and
4880    # we should not choose a depcomp mode which is confused by this.
4881    #
4882    # We need to recreate these files for each test, as the compiler may
4883    # overwrite some of them when testing with obscure command lines.
4884    # This happens at least with the AIX C compiler.
4885    : > sub/conftest.c
4886    for i in 1 2 3 4 5 6; do
4887      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4888      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4889      # Solaris 10 /bin/sh.
4890      echo '/* dummy */' > sub/conftst$i.h
4891    done
4892    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4893
4894    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4895    # mode.  It turns out that the SunPro C++ compiler does not properly
4896    # handle '-M -o', and we need to detect this.  Also, some Intel
4897    # versions had trouble with output in subdirs.
4898    am__obj=sub/conftest.${OBJEXT-o}
4899    am__minus_obj="-o $am__obj"
4900    case $depmode in
4901    gcc)
4902      # This depmode causes a compiler race in universal mode.
4903      test "$am__universal" = false || continue
4904      ;;
4905    nosideeffect)
4906      # After this tag, mechanisms are not by side-effect, so they'll
4907      # only be used when explicitly requested.
4908      if test "x$enable_dependency_tracking" = xyes; then
4909	continue
4910      else
4911	break
4912      fi
4913      ;;
4914    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4915      # This compiler won't grok '-c -o', but also, the minuso test has
4916      # not run yet.  These depmodes are late enough in the game, and
4917      # so weak that their functioning should not be impacted.
4918      am__obj=conftest.${OBJEXT-o}
4919      am__minus_obj=
4920      ;;
4921    none) break ;;
4922    esac
4923    if depmode=$depmode \
4924       source=sub/conftest.c object=$am__obj \
4925       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4926       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4927         >/dev/null 2>conftest.err &&
4928       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4929       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4930       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4931       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4932      # icc doesn't choke on unknown options, it will just issue warnings
4933      # or remarks (even with -Werror).  So we grep stderr for any message
4934      # that says an option was ignored or not supported.
4935      # When given -MP, icc 7.0 and 7.1 complain thusly:
4936      #   icc: Command line warning: ignoring option '-M'; no argument required
4937      # The diagnosis changed in icc 8.0:
4938      #   icc: Command line remark: option '-MP' not supported
4939      if (grep 'ignoring option' conftest.err ||
4940          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4941        am_cv_CC_dependencies_compiler_type=$depmode
4942        break
4943      fi
4944    fi
4945  done
4946
4947  cd ..
4948  rm -rf conftest.dir
4949else
4950  am_cv_CC_dependencies_compiler_type=none
4951fi
4952
4953fi
4954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4955$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4956CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4957
4958 if
4959  test "x$enable_dependency_tracking" != xno \
4960  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4961  am__fastdepCC_TRUE=
4962  am__fastdepCC_FALSE='#'
4963else
4964  am__fastdepCC_TRUE='#'
4965  am__fastdepCC_FALSE=
4966fi
4967
4968
4969# Check whether --enable-static was given.
4970if test "${enable_static+set}" = set; then :
4971  enableval=$enable_static; p=${PACKAGE-default}
4972    case $enableval in
4973    yes) enable_static=yes ;;
4974    no) enable_static=no ;;
4975    *)
4976     enable_static=no
4977      # Look at the argument we got.  We use all the common list separators.
4978      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
4979      for pkg in $enableval; do
4980	IFS=$lt_save_ifs
4981	if test "X$pkg" = "X$p"; then
4982	  enable_static=yes
4983	fi
4984      done
4985      IFS=$lt_save_ifs
4986      ;;
4987    esac
4988else
4989  enable_static=no
4990fi
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000case `pwd` in
5001  *\ * | *\	*)
5002    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5003$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5004esac
5005
5006
5007
5008macro_version='2.4.6'
5009macro_revision='2.4.6'
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023ltmain=$ac_aux_dir/ltmain.sh
5024
5025# Make sure we can run config.sub.
5026$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5027  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5028
5029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5030$as_echo_n "checking build system type... " >&6; }
5031if ${ac_cv_build+:} false; then :
5032  $as_echo_n "(cached) " >&6
5033else
5034  ac_build_alias=$build_alias
5035test "x$ac_build_alias" = x &&
5036  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5037test "x$ac_build_alias" = x &&
5038  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5039ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5040  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5041
5042fi
5043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5044$as_echo "$ac_cv_build" >&6; }
5045case $ac_cv_build in
5046*-*-*) ;;
5047*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5048esac
5049build=$ac_cv_build
5050ac_save_IFS=$IFS; IFS='-'
5051set x $ac_cv_build
5052shift
5053build_cpu=$1
5054build_vendor=$2
5055shift; shift
5056# Remember, the first character of IFS is used to create $*,
5057# except with old shells:
5058build_os=$*
5059IFS=$ac_save_IFS
5060case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5061
5062
5063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5064$as_echo_n "checking host system type... " >&6; }
5065if ${ac_cv_host+:} false; then :
5066  $as_echo_n "(cached) " >&6
5067else
5068  if test "x$host_alias" = x; then
5069  ac_cv_host=$ac_cv_build
5070else
5071  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5072    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5073fi
5074
5075fi
5076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5077$as_echo "$ac_cv_host" >&6; }
5078case $ac_cv_host in
5079*-*-*) ;;
5080*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5081esac
5082host=$ac_cv_host
5083ac_save_IFS=$IFS; IFS='-'
5084set x $ac_cv_host
5085shift
5086host_cpu=$1
5087host_vendor=$2
5088shift; shift
5089# Remember, the first character of IFS is used to create $*,
5090# except with old shells:
5091host_os=$*
5092IFS=$ac_save_IFS
5093case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5094
5095
5096# Backslashify metacharacters that are still active within
5097# double-quoted strings.
5098sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5099
5100# Same as above, but do not quote variable references.
5101double_quote_subst='s/\(["`\\]\)/\\\1/g'
5102
5103# Sed substitution to delay expansion of an escaped shell variable in a
5104# double_quote_subst'ed string.
5105delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5106
5107# Sed substitution to delay expansion of an escaped single quote.
5108delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5109
5110# Sed substitution to avoid accidental globbing in evaled expressions
5111no_glob_subst='s/\*/\\\*/g'
5112
5113ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5114ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5115ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5116
5117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5118$as_echo_n "checking how to print strings... " >&6; }
5119# Test print first, because it will be a builtin if present.
5120if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5121   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5122  ECHO='print -r --'
5123elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5124  ECHO='printf %s\n'
5125else
5126  # Use this function as a fallback that always works.
5127  func_fallback_echo ()
5128  {
5129    eval 'cat <<_LTECHO_EOF
5130$1
5131_LTECHO_EOF'
5132  }
5133  ECHO='func_fallback_echo'
5134fi
5135
5136# func_echo_all arg...
5137# Invoke $ECHO with all args, space-separated.
5138func_echo_all ()
5139{
5140    $ECHO ""
5141}
5142
5143case $ECHO in
5144  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5145$as_echo "printf" >&6; } ;;
5146  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5147$as_echo "print -r" >&6; } ;;
5148  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5149$as_echo "cat" >&6; } ;;
5150esac
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5166$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5167if ${ac_cv_path_SED+:} false; then :
5168  $as_echo_n "(cached) " >&6
5169else
5170            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5171     for ac_i in 1 2 3 4 5 6 7; do
5172       ac_script="$ac_script$as_nl$ac_script"
5173     done
5174     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5175     { ac_script=; unset ac_script;}
5176     if test -z "$SED"; then
5177  ac_path_SED_found=false
5178  # Loop through the user's path and test for each of PROGNAME-LIST
5179  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180for as_dir in $PATH
5181do
5182  IFS=$as_save_IFS
5183  test -z "$as_dir" && as_dir=.
5184    for ac_prog in sed gsed; do
5185    for ac_exec_ext in '' $ac_executable_extensions; do
5186      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5187      as_fn_executable_p "$ac_path_SED" || continue
5188# Check for GNU ac_path_SED and select it if it is found.
5189  # Check for GNU $ac_path_SED
5190case `"$ac_path_SED" --version 2>&1` in
5191*GNU*)
5192  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5193*)
5194  ac_count=0
5195  $as_echo_n 0123456789 >"conftest.in"
5196  while :
5197  do
5198    cat "conftest.in" "conftest.in" >"conftest.tmp"
5199    mv "conftest.tmp" "conftest.in"
5200    cp "conftest.in" "conftest.nl"
5201    $as_echo '' >> "conftest.nl"
5202    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5203    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5204    as_fn_arith $ac_count + 1 && ac_count=$as_val
5205    if test $ac_count -gt ${ac_path_SED_max-0}; then
5206      # Best one so far, save it but keep looking for a better one
5207      ac_cv_path_SED="$ac_path_SED"
5208      ac_path_SED_max=$ac_count
5209    fi
5210    # 10*(2^10) chars as input seems more than enough
5211    test $ac_count -gt 10 && break
5212  done
5213  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5214esac
5215
5216      $ac_path_SED_found && break 3
5217    done
5218  done
5219  done
5220IFS=$as_save_IFS
5221  if test -z "$ac_cv_path_SED"; then
5222    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5223  fi
5224else
5225  ac_cv_path_SED=$SED
5226fi
5227
5228fi
5229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5230$as_echo "$ac_cv_path_SED" >&6; }
5231 SED="$ac_cv_path_SED"
5232  rm -f conftest.sed
5233
5234test -z "$SED" && SED=sed
5235Xsed="$SED -e 1s/^X//"
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5248$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5249if ${ac_cv_path_GREP+:} false; then :
5250  $as_echo_n "(cached) " >&6
5251else
5252  if test -z "$GREP"; then
5253  ac_path_GREP_found=false
5254  # Loop through the user's path and test for each of PROGNAME-LIST
5255  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5257do
5258  IFS=$as_save_IFS
5259  test -z "$as_dir" && as_dir=.
5260    for ac_prog in grep ggrep; do
5261    for ac_exec_ext in '' $ac_executable_extensions; do
5262      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5263      as_fn_executable_p "$ac_path_GREP" || continue
5264# Check for GNU ac_path_GREP and select it if it is found.
5265  # Check for GNU $ac_path_GREP
5266case `"$ac_path_GREP" --version 2>&1` in
5267*GNU*)
5268  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5269*)
5270  ac_count=0
5271  $as_echo_n 0123456789 >"conftest.in"
5272  while :
5273  do
5274    cat "conftest.in" "conftest.in" >"conftest.tmp"
5275    mv "conftest.tmp" "conftest.in"
5276    cp "conftest.in" "conftest.nl"
5277    $as_echo 'GREP' >> "conftest.nl"
5278    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5279    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5280    as_fn_arith $ac_count + 1 && ac_count=$as_val
5281    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5282      # Best one so far, save it but keep looking for a better one
5283      ac_cv_path_GREP="$ac_path_GREP"
5284      ac_path_GREP_max=$ac_count
5285    fi
5286    # 10*(2^10) chars as input seems more than enough
5287    test $ac_count -gt 10 && break
5288  done
5289  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5290esac
5291
5292      $ac_path_GREP_found && break 3
5293    done
5294  done
5295  done
5296IFS=$as_save_IFS
5297  if test -z "$ac_cv_path_GREP"; then
5298    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5299  fi
5300else
5301  ac_cv_path_GREP=$GREP
5302fi
5303
5304fi
5305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5306$as_echo "$ac_cv_path_GREP" >&6; }
5307 GREP="$ac_cv_path_GREP"
5308
5309
5310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5311$as_echo_n "checking for egrep... " >&6; }
5312if ${ac_cv_path_EGREP+:} false; then :
5313  $as_echo_n "(cached) " >&6
5314else
5315  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5316   then ac_cv_path_EGREP="$GREP -E"
5317   else
5318     if test -z "$EGREP"; then
5319  ac_path_EGREP_found=false
5320  # Loop through the user's path and test for each of PROGNAME-LIST
5321  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5323do
5324  IFS=$as_save_IFS
5325  test -z "$as_dir" && as_dir=.
5326    for ac_prog in egrep; do
5327    for ac_exec_ext in '' $ac_executable_extensions; do
5328      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5329      as_fn_executable_p "$ac_path_EGREP" || continue
5330# Check for GNU ac_path_EGREP and select it if it is found.
5331  # Check for GNU $ac_path_EGREP
5332case `"$ac_path_EGREP" --version 2>&1` in
5333*GNU*)
5334  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5335*)
5336  ac_count=0
5337  $as_echo_n 0123456789 >"conftest.in"
5338  while :
5339  do
5340    cat "conftest.in" "conftest.in" >"conftest.tmp"
5341    mv "conftest.tmp" "conftest.in"
5342    cp "conftest.in" "conftest.nl"
5343    $as_echo 'EGREP' >> "conftest.nl"
5344    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5345    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5346    as_fn_arith $ac_count + 1 && ac_count=$as_val
5347    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5348      # Best one so far, save it but keep looking for a better one
5349      ac_cv_path_EGREP="$ac_path_EGREP"
5350      ac_path_EGREP_max=$ac_count
5351    fi
5352    # 10*(2^10) chars as input seems more than enough
5353    test $ac_count -gt 10 && break
5354  done
5355  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5356esac
5357
5358      $ac_path_EGREP_found && break 3
5359    done
5360  done
5361  done
5362IFS=$as_save_IFS
5363  if test -z "$ac_cv_path_EGREP"; then
5364    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5365  fi
5366else
5367  ac_cv_path_EGREP=$EGREP
5368fi
5369
5370   fi
5371fi
5372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5373$as_echo "$ac_cv_path_EGREP" >&6; }
5374 EGREP="$ac_cv_path_EGREP"
5375
5376
5377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5378$as_echo_n "checking for fgrep... " >&6; }
5379if ${ac_cv_path_FGREP+:} false; then :
5380  $as_echo_n "(cached) " >&6
5381else
5382  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5383   then ac_cv_path_FGREP="$GREP -F"
5384   else
5385     if test -z "$FGREP"; then
5386  ac_path_FGREP_found=false
5387  # Loop through the user's path and test for each of PROGNAME-LIST
5388  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5390do
5391  IFS=$as_save_IFS
5392  test -z "$as_dir" && as_dir=.
5393    for ac_prog in fgrep; do
5394    for ac_exec_ext in '' $ac_executable_extensions; do
5395      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5396      as_fn_executable_p "$ac_path_FGREP" || continue
5397# Check for GNU ac_path_FGREP and select it if it is found.
5398  # Check for GNU $ac_path_FGREP
5399case `"$ac_path_FGREP" --version 2>&1` in
5400*GNU*)
5401  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5402*)
5403  ac_count=0
5404  $as_echo_n 0123456789 >"conftest.in"
5405  while :
5406  do
5407    cat "conftest.in" "conftest.in" >"conftest.tmp"
5408    mv "conftest.tmp" "conftest.in"
5409    cp "conftest.in" "conftest.nl"
5410    $as_echo 'FGREP' >> "conftest.nl"
5411    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5412    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5413    as_fn_arith $ac_count + 1 && ac_count=$as_val
5414    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5415      # Best one so far, save it but keep looking for a better one
5416      ac_cv_path_FGREP="$ac_path_FGREP"
5417      ac_path_FGREP_max=$ac_count
5418    fi
5419    # 10*(2^10) chars as input seems more than enough
5420    test $ac_count -gt 10 && break
5421  done
5422  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5423esac
5424
5425      $ac_path_FGREP_found && break 3
5426    done
5427  done
5428  done
5429IFS=$as_save_IFS
5430  if test -z "$ac_cv_path_FGREP"; then
5431    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5432  fi
5433else
5434  ac_cv_path_FGREP=$FGREP
5435fi
5436
5437   fi
5438fi
5439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5440$as_echo "$ac_cv_path_FGREP" >&6; }
5441 FGREP="$ac_cv_path_FGREP"
5442
5443
5444test -z "$GREP" && GREP=grep
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464# Check whether --with-gnu-ld was given.
5465if test "${with_gnu_ld+set}" = set; then :
5466  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5467else
5468  with_gnu_ld=no
5469fi
5470
5471ac_prog=ld
5472if test yes = "$GCC"; then
5473  # Check if gcc -print-prog-name=ld gives a path.
5474  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5475$as_echo_n "checking for ld used by $CC... " >&6; }
5476  case $host in
5477  *-*-mingw*)
5478    # gcc leaves a trailing carriage return, which upsets mingw
5479    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5480  *)
5481    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5482  esac
5483  case $ac_prog in
5484    # Accept absolute paths.
5485    [\\/]* | ?:[\\/]*)
5486      re_direlt='/[^/][^/]*/\.\./'
5487      # Canonicalize the pathname of ld
5488      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5489      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5490	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5491      done
5492      test -z "$LD" && LD=$ac_prog
5493      ;;
5494  "")
5495    # If it fails, then pretend we aren't using GCC.
5496    ac_prog=ld
5497    ;;
5498  *)
5499    # If it is relative, then search for the first ld in PATH.
5500    with_gnu_ld=unknown
5501    ;;
5502  esac
5503elif test yes = "$with_gnu_ld"; then
5504  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5505$as_echo_n "checking for GNU ld... " >&6; }
5506else
5507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5508$as_echo_n "checking for non-GNU ld... " >&6; }
5509fi
5510if ${lt_cv_path_LD+:} false; then :
5511  $as_echo_n "(cached) " >&6
5512else
5513  if test -z "$LD"; then
5514  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5515  for ac_dir in $PATH; do
5516    IFS=$lt_save_ifs
5517    test -z "$ac_dir" && ac_dir=.
5518    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5519      lt_cv_path_LD=$ac_dir/$ac_prog
5520      # Check to see if the program is GNU ld.  I'd rather use --version,
5521      # but apparently some variants of GNU ld only accept -v.
5522      # Break only if it was the GNU/non-GNU ld that we prefer.
5523      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5524      *GNU* | *'with BFD'*)
5525	test no != "$with_gnu_ld" && break
5526	;;
5527      *)
5528	test yes != "$with_gnu_ld" && break
5529	;;
5530      esac
5531    fi
5532  done
5533  IFS=$lt_save_ifs
5534else
5535  lt_cv_path_LD=$LD # Let the user override the test with a path.
5536fi
5537fi
5538
5539LD=$lt_cv_path_LD
5540if test -n "$LD"; then
5541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5542$as_echo "$LD" >&6; }
5543else
5544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545$as_echo "no" >&6; }
5546fi
5547test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5549$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5550if ${lt_cv_prog_gnu_ld+:} false; then :
5551  $as_echo_n "(cached) " >&6
5552else
5553  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5554case `$LD -v 2>&1 </dev/null` in
5555*GNU* | *'with BFD'*)
5556  lt_cv_prog_gnu_ld=yes
5557  ;;
5558*)
5559  lt_cv_prog_gnu_ld=no
5560  ;;
5561esac
5562fi
5563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5564$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5565with_gnu_ld=$lt_cv_prog_gnu_ld
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5576$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5577if ${lt_cv_path_NM+:} false; then :
5578  $as_echo_n "(cached) " >&6
5579else
5580  if test -n "$NM"; then
5581  # Let the user override the test.
5582  lt_cv_path_NM=$NM
5583else
5584  lt_nm_to_check=${ac_tool_prefix}nm
5585  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5586    lt_nm_to_check="$lt_nm_to_check nm"
5587  fi
5588  for lt_tmp_nm in $lt_nm_to_check; do
5589    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5590    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5591      IFS=$lt_save_ifs
5592      test -z "$ac_dir" && ac_dir=.
5593      tmp_nm=$ac_dir/$lt_tmp_nm
5594      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5595	# Check to see if the nm accepts a BSD-compat flag.
5596	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5597	#   nm: unknown option "B" ignored
5598	# Tru64's nm complains that /dev/null is an invalid object file
5599	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5600	case $build_os in
5601	mingw*) lt_bad_file=conftest.nm/nofile ;;
5602	*) lt_bad_file=/dev/null ;;
5603	esac
5604	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5605	*$lt_bad_file* | *'Invalid file or object type'*)
5606	  lt_cv_path_NM="$tmp_nm -B"
5607	  break 2
5608	  ;;
5609	*)
5610	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5611	  */dev/null*)
5612	    lt_cv_path_NM="$tmp_nm -p"
5613	    break 2
5614	    ;;
5615	  *)
5616	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5617	    continue # so that we can try to find one that supports BSD flags
5618	    ;;
5619	  esac
5620	  ;;
5621	esac
5622      fi
5623    done
5624    IFS=$lt_save_ifs
5625  done
5626  : ${lt_cv_path_NM=no}
5627fi
5628fi
5629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5630$as_echo "$lt_cv_path_NM" >&6; }
5631if test no != "$lt_cv_path_NM"; then
5632  NM=$lt_cv_path_NM
5633else
5634  # Didn't find any BSD compatible name lister, look for dumpbin.
5635  if test -n "$DUMPBIN"; then :
5636    # Let the user override the test.
5637  else
5638    if test -n "$ac_tool_prefix"; then
5639  for ac_prog in dumpbin "link -dump"
5640  do
5641    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5642set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644$as_echo_n "checking for $ac_word... " >&6; }
5645if ${ac_cv_prog_DUMPBIN+:} false; then :
5646  $as_echo_n "(cached) " >&6
5647else
5648  if test -n "$DUMPBIN"; then
5649  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5650else
5651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652for as_dir in $PATH
5653do
5654  IFS=$as_save_IFS
5655  test -z "$as_dir" && as_dir=.
5656    for ac_exec_ext in '' $ac_executable_extensions; do
5657  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5658    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5659    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5660    break 2
5661  fi
5662done
5663  done
5664IFS=$as_save_IFS
5665
5666fi
5667fi
5668DUMPBIN=$ac_cv_prog_DUMPBIN
5669if test -n "$DUMPBIN"; then
5670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5671$as_echo "$DUMPBIN" >&6; }
5672else
5673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674$as_echo "no" >&6; }
5675fi
5676
5677
5678    test -n "$DUMPBIN" && break
5679  done
5680fi
5681if test -z "$DUMPBIN"; then
5682  ac_ct_DUMPBIN=$DUMPBIN
5683  for ac_prog in dumpbin "link -dump"
5684do
5685  # Extract the first word of "$ac_prog", so it can be a program name with args.
5686set dummy $ac_prog; ac_word=$2
5687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688$as_echo_n "checking for $ac_word... " >&6; }
5689if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5690  $as_echo_n "(cached) " >&6
5691else
5692  if test -n "$ac_ct_DUMPBIN"; then
5693  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5694else
5695as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696for as_dir in $PATH
5697do
5698  IFS=$as_save_IFS
5699  test -z "$as_dir" && as_dir=.
5700    for ac_exec_ext in '' $ac_executable_extensions; do
5701  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5703    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704    break 2
5705  fi
5706done
5707  done
5708IFS=$as_save_IFS
5709
5710fi
5711fi
5712ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5713if test -n "$ac_ct_DUMPBIN"; then
5714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5715$as_echo "$ac_ct_DUMPBIN" >&6; }
5716else
5717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718$as_echo "no" >&6; }
5719fi
5720
5721
5722  test -n "$ac_ct_DUMPBIN" && break
5723done
5724
5725  if test "x$ac_ct_DUMPBIN" = x; then
5726    DUMPBIN=":"
5727  else
5728    case $cross_compiling:$ac_tool_warned in
5729yes:)
5730{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5731$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5732ac_tool_warned=yes ;;
5733esac
5734    DUMPBIN=$ac_ct_DUMPBIN
5735  fi
5736fi
5737
5738    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5739    *COFF*)
5740      DUMPBIN="$DUMPBIN -symbols -headers"
5741      ;;
5742    *)
5743      DUMPBIN=:
5744      ;;
5745    esac
5746  fi
5747
5748  if test : != "$DUMPBIN"; then
5749    NM=$DUMPBIN
5750  fi
5751fi
5752test -z "$NM" && NM=nm
5753
5754
5755
5756
5757
5758
5759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5760$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5761if ${lt_cv_nm_interface+:} false; then :
5762  $as_echo_n "(cached) " >&6
5763else
5764  lt_cv_nm_interface="BSD nm"
5765  echo "int some_variable = 0;" > conftest.$ac_ext
5766  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5767  (eval "$ac_compile" 2>conftest.err)
5768  cat conftest.err >&5
5769  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5770  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5771  cat conftest.err >&5
5772  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5773  cat conftest.out >&5
5774  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5775    lt_cv_nm_interface="MS dumpbin"
5776  fi
5777  rm -f conftest*
5778fi
5779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5780$as_echo "$lt_cv_nm_interface" >&6; }
5781
5782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5783$as_echo_n "checking whether ln -s works... " >&6; }
5784LN_S=$as_ln_s
5785if test "$LN_S" = "ln -s"; then
5786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5787$as_echo "yes" >&6; }
5788else
5789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5790$as_echo "no, using $LN_S" >&6; }
5791fi
5792
5793# find the maximum length of command line arguments
5794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5795$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5796if ${lt_cv_sys_max_cmd_len+:} false; then :
5797  $as_echo_n "(cached) " >&6
5798else
5799    i=0
5800  teststring=ABCD
5801
5802  case $build_os in
5803  msdosdjgpp*)
5804    # On DJGPP, this test can blow up pretty badly due to problems in libc
5805    # (any single argument exceeding 2000 bytes causes a buffer overrun
5806    # during glob expansion).  Even if it were fixed, the result of this
5807    # check would be larger than it should be.
5808    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5809    ;;
5810
5811  gnu*)
5812    # Under GNU Hurd, this test is not required because there is
5813    # no limit to the length of command line arguments.
5814    # Libtool will interpret -1 as no limit whatsoever
5815    lt_cv_sys_max_cmd_len=-1;
5816    ;;
5817
5818  cygwin* | mingw* | cegcc*)
5819    # On Win9x/ME, this test blows up -- it succeeds, but takes
5820    # about 5 minutes as the teststring grows exponentially.
5821    # Worse, since 9x/ME are not pre-emptively multitasking,
5822    # you end up with a "frozen" computer, even though with patience
5823    # the test eventually succeeds (with a max line length of 256k).
5824    # Instead, let's just punt: use the minimum linelength reported by
5825    # all of the supported platforms: 8192 (on NT/2K/XP).
5826    lt_cv_sys_max_cmd_len=8192;
5827    ;;
5828
5829  mint*)
5830    # On MiNT this can take a long time and run out of memory.
5831    lt_cv_sys_max_cmd_len=8192;
5832    ;;
5833
5834  amigaos*)
5835    # On AmigaOS with pdksh, this test takes hours, literally.
5836    # So we just punt and use a minimum line length of 8192.
5837    lt_cv_sys_max_cmd_len=8192;
5838    ;;
5839
5840  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5841    # This has been around since 386BSD, at least.  Likely further.
5842    if test -x /sbin/sysctl; then
5843      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5844    elif test -x /usr/sbin/sysctl; then
5845      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5846    else
5847      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5848    fi
5849    # And add a safety zone
5850    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5851    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5852    ;;
5853
5854  interix*)
5855    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5856    lt_cv_sys_max_cmd_len=196608
5857    ;;
5858
5859  os2*)
5860    # The test takes a long time on OS/2.
5861    lt_cv_sys_max_cmd_len=8192
5862    ;;
5863
5864  osf*)
5865    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5866    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5867    # nice to cause kernel panics so lets avoid the loop below.
5868    # First set a reasonable default.
5869    lt_cv_sys_max_cmd_len=16384
5870    #
5871    if test -x /sbin/sysconfig; then
5872      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5873        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5874      esac
5875    fi
5876    ;;
5877  sco3.2v5*)
5878    lt_cv_sys_max_cmd_len=102400
5879    ;;
5880  sysv5* | sco5v6* | sysv4.2uw2*)
5881    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5882    if test -n "$kargmax"; then
5883      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5884    else
5885      lt_cv_sys_max_cmd_len=32768
5886    fi
5887    ;;
5888  *)
5889    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5890    if test -n "$lt_cv_sys_max_cmd_len" && \
5891       test undefined != "$lt_cv_sys_max_cmd_len"; then
5892      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5893      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5894    else
5895      # Make teststring a little bigger before we do anything with it.
5896      # a 1K string should be a reasonable start.
5897      for i in 1 2 3 4 5 6 7 8; do
5898        teststring=$teststring$teststring
5899      done
5900      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5901      # If test is not a shell built-in, we'll probably end up computing a
5902      # maximum length that is only half of the actual maximum length, but
5903      # we can't tell.
5904      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5905	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5906	      test 17 != "$i" # 1/2 MB should be enough
5907      do
5908        i=`expr $i + 1`
5909        teststring=$teststring$teststring
5910      done
5911      # Only check the string length outside the loop.
5912      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5913      teststring=
5914      # Add a significant safety factor because C++ compilers can tack on
5915      # massive amounts of additional arguments before passing them to the
5916      # linker.  It appears as though 1/2 is a usable value.
5917      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5918    fi
5919    ;;
5920  esac
5921
5922fi
5923
5924if test -n "$lt_cv_sys_max_cmd_len"; then
5925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5926$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5927else
5928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5929$as_echo "none" >&6; }
5930fi
5931max_cmd_len=$lt_cv_sys_max_cmd_len
5932
5933
5934
5935
5936
5937
5938: ${CP="cp -f"}
5939: ${MV="mv -f"}
5940: ${RM="rm -f"}
5941
5942if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5943  lt_unset=unset
5944else
5945  lt_unset=false
5946fi
5947
5948
5949
5950
5951
5952# test EBCDIC or ASCII
5953case `echo X|tr X '\101'` in
5954 A) # ASCII based system
5955    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5956  lt_SP2NL='tr \040 \012'
5957  lt_NL2SP='tr \015\012 \040\040'
5958  ;;
5959 *) # EBCDIC based system
5960  lt_SP2NL='tr \100 \n'
5961  lt_NL2SP='tr \r\n \100\100'
5962  ;;
5963esac
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5974$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5975if ${lt_cv_to_host_file_cmd+:} false; then :
5976  $as_echo_n "(cached) " >&6
5977else
5978  case $host in
5979  *-*-mingw* )
5980    case $build in
5981      *-*-mingw* ) # actually msys
5982        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5983        ;;
5984      *-*-cygwin* )
5985        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5986        ;;
5987      * ) # otherwise, assume *nix
5988        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5989        ;;
5990    esac
5991    ;;
5992  *-*-cygwin* )
5993    case $build in
5994      *-*-mingw* ) # actually msys
5995        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5996        ;;
5997      *-*-cygwin* )
5998        lt_cv_to_host_file_cmd=func_convert_file_noop
5999        ;;
6000      * ) # otherwise, assume *nix
6001        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6002        ;;
6003    esac
6004    ;;
6005  * ) # unhandled hosts (and "normal" native builds)
6006    lt_cv_to_host_file_cmd=func_convert_file_noop
6007    ;;
6008esac
6009
6010fi
6011
6012to_host_file_cmd=$lt_cv_to_host_file_cmd
6013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6014$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6015
6016
6017
6018
6019
6020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6021$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6022if ${lt_cv_to_tool_file_cmd+:} false; then :
6023  $as_echo_n "(cached) " >&6
6024else
6025  #assume ordinary cross tools, or native build.
6026lt_cv_to_tool_file_cmd=func_convert_file_noop
6027case $host in
6028  *-*-mingw* )
6029    case $build in
6030      *-*-mingw* ) # actually msys
6031        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6032        ;;
6033    esac
6034    ;;
6035esac
6036
6037fi
6038
6039to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6041$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6042
6043
6044
6045
6046
6047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6048$as_echo_n "checking for $LD option to reload object files... " >&6; }
6049if ${lt_cv_ld_reload_flag+:} false; then :
6050  $as_echo_n "(cached) " >&6
6051else
6052  lt_cv_ld_reload_flag='-r'
6053fi
6054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6055$as_echo "$lt_cv_ld_reload_flag" >&6; }
6056reload_flag=$lt_cv_ld_reload_flag
6057case $reload_flag in
6058"" | " "*) ;;
6059*) reload_flag=" $reload_flag" ;;
6060esac
6061reload_cmds='$LD$reload_flag -o $output$reload_objs'
6062case $host_os in
6063  cygwin* | mingw* | pw32* | cegcc*)
6064    if test yes != "$GCC"; then
6065      reload_cmds=false
6066    fi
6067    ;;
6068  darwin*)
6069    if test yes = "$GCC"; then
6070      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6071    else
6072      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6073    fi
6074    ;;
6075esac
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085if test -n "$ac_tool_prefix"; then
6086  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6087set dummy ${ac_tool_prefix}objdump; ac_word=$2
6088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089$as_echo_n "checking for $ac_word... " >&6; }
6090if ${ac_cv_prog_OBJDUMP+:} false; then :
6091  $as_echo_n "(cached) " >&6
6092else
6093  if test -n "$OBJDUMP"; then
6094  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6095else
6096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6097for as_dir in $PATH
6098do
6099  IFS=$as_save_IFS
6100  test -z "$as_dir" && as_dir=.
6101    for ac_exec_ext in '' $ac_executable_extensions; do
6102  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6103    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6104    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105    break 2
6106  fi
6107done
6108  done
6109IFS=$as_save_IFS
6110
6111fi
6112fi
6113OBJDUMP=$ac_cv_prog_OBJDUMP
6114if test -n "$OBJDUMP"; then
6115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6116$as_echo "$OBJDUMP" >&6; }
6117else
6118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119$as_echo "no" >&6; }
6120fi
6121
6122
6123fi
6124if test -z "$ac_cv_prog_OBJDUMP"; then
6125  ac_ct_OBJDUMP=$OBJDUMP
6126  # Extract the first word of "objdump", so it can be a program name with args.
6127set dummy objdump; ac_word=$2
6128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6129$as_echo_n "checking for $ac_word... " >&6; }
6130if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6131  $as_echo_n "(cached) " >&6
6132else
6133  if test -n "$ac_ct_OBJDUMP"; then
6134  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6135else
6136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137for as_dir in $PATH
6138do
6139  IFS=$as_save_IFS
6140  test -z "$as_dir" && as_dir=.
6141    for ac_exec_ext in '' $ac_executable_extensions; do
6142  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6143    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6144    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6145    break 2
6146  fi
6147done
6148  done
6149IFS=$as_save_IFS
6150
6151fi
6152fi
6153ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6154if test -n "$ac_ct_OBJDUMP"; then
6155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6156$as_echo "$ac_ct_OBJDUMP" >&6; }
6157else
6158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159$as_echo "no" >&6; }
6160fi
6161
6162  if test "x$ac_ct_OBJDUMP" = x; then
6163    OBJDUMP="false"
6164  else
6165    case $cross_compiling:$ac_tool_warned in
6166yes:)
6167{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6168$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6169ac_tool_warned=yes ;;
6170esac
6171    OBJDUMP=$ac_ct_OBJDUMP
6172  fi
6173else
6174  OBJDUMP="$ac_cv_prog_OBJDUMP"
6175fi
6176
6177test -z "$OBJDUMP" && OBJDUMP=objdump
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6188$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6189if ${lt_cv_deplibs_check_method+:} false; then :
6190  $as_echo_n "(cached) " >&6
6191else
6192  lt_cv_file_magic_cmd='$MAGIC_CMD'
6193lt_cv_file_magic_test_file=
6194lt_cv_deplibs_check_method='unknown'
6195# Need to set the preceding variable on all platforms that support
6196# interlibrary dependencies.
6197# 'none' -- dependencies not supported.
6198# 'unknown' -- same as none, but documents that we really don't know.
6199# 'pass_all' -- all dependencies passed with no checks.
6200# 'test_compile' -- check by making test program.
6201# 'file_magic [[regex]]' -- check by looking for files in library path
6202# that responds to the $file_magic_cmd with a given extended regex.
6203# If you have 'file' or equivalent on your system and you're not sure
6204# whether 'pass_all' will *always* work, you probably want this one.
6205
6206case $host_os in
6207aix[4-9]*)
6208  lt_cv_deplibs_check_method=pass_all
6209  ;;
6210
6211beos*)
6212  lt_cv_deplibs_check_method=pass_all
6213  ;;
6214
6215bsdi[45]*)
6216  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6217  lt_cv_file_magic_cmd='/usr/bin/file -L'
6218  lt_cv_file_magic_test_file=/shlib/libc.so
6219  ;;
6220
6221cygwin*)
6222  # func_win32_libid is a shell function defined in ltmain.sh
6223  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6224  lt_cv_file_magic_cmd='func_win32_libid'
6225  ;;
6226
6227mingw* | pw32*)
6228  # Base MSYS/MinGW do not provide the 'file' command needed by
6229  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6230  # unless we find 'file', for example because we are cross-compiling.
6231  if ( file / ) >/dev/null 2>&1; then
6232    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6233    lt_cv_file_magic_cmd='func_win32_libid'
6234  else
6235    # Keep this pattern in sync with the one in func_win32_libid.
6236    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6237    lt_cv_file_magic_cmd='$OBJDUMP -f'
6238  fi
6239  ;;
6240
6241cegcc*)
6242  # use the weaker test based on 'objdump'. See mingw*.
6243  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6244  lt_cv_file_magic_cmd='$OBJDUMP -f'
6245  ;;
6246
6247darwin* | rhapsody*)
6248  lt_cv_deplibs_check_method=pass_all
6249  ;;
6250
6251freebsd* | dragonfly*)
6252  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6253    case $host_cpu in
6254    i*86 )
6255      # Not sure whether the presence of OpenBSD here was a mistake.
6256      # Let's accept both of them until this is cleared up.
6257      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6258      lt_cv_file_magic_cmd=/usr/bin/file
6259      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6260      ;;
6261    esac
6262  else
6263    lt_cv_deplibs_check_method=pass_all
6264  fi
6265  ;;
6266
6267haiku*)
6268  lt_cv_deplibs_check_method=pass_all
6269  ;;
6270
6271hpux10.20* | hpux11*)
6272  lt_cv_file_magic_cmd=/usr/bin/file
6273  case $host_cpu in
6274  ia64*)
6275    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6276    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6277    ;;
6278  hppa*64*)
6279    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]'
6280    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6281    ;;
6282  *)
6283    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6284    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6285    ;;
6286  esac
6287  ;;
6288
6289interix[3-9]*)
6290  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6291  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6292  ;;
6293
6294irix5* | irix6* | nonstopux*)
6295  case $LD in
6296  *-32|*"-32 ") libmagic=32-bit;;
6297  *-n32|*"-n32 ") libmagic=N32;;
6298  *-64|*"-64 ") libmagic=64-bit;;
6299  *) libmagic=never-match;;
6300  esac
6301  lt_cv_deplibs_check_method=pass_all
6302  ;;
6303
6304# This must be glibc/ELF.
6305linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6306  lt_cv_deplibs_check_method=pass_all
6307  ;;
6308
6309netbsd*)
6310  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6311    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6312  else
6313    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6314  fi
6315  ;;
6316
6317newos6*)
6318  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6319  lt_cv_file_magic_cmd=/usr/bin/file
6320  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6321  ;;
6322
6323*nto* | *qnx*)
6324  lt_cv_deplibs_check_method=pass_all
6325  ;;
6326
6327openbsd* | bitrig*)
6328  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6329    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6330  else
6331    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6332  fi
6333  ;;
6334
6335osf3* | osf4* | osf5*)
6336  lt_cv_deplibs_check_method=pass_all
6337  ;;
6338
6339rdos*)
6340  lt_cv_deplibs_check_method=pass_all
6341  ;;
6342
6343solaris*)
6344  lt_cv_deplibs_check_method=pass_all
6345  ;;
6346
6347sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6348  lt_cv_deplibs_check_method=pass_all
6349  ;;
6350
6351sysv4 | sysv4.3*)
6352  case $host_vendor in
6353  motorola)
6354    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]'
6355    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6356    ;;
6357  ncr)
6358    lt_cv_deplibs_check_method=pass_all
6359    ;;
6360  sequent)
6361    lt_cv_file_magic_cmd='/bin/file'
6362    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6363    ;;
6364  sni)
6365    lt_cv_file_magic_cmd='/bin/file'
6366    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6367    lt_cv_file_magic_test_file=/lib/libc.so
6368    ;;
6369  siemens)
6370    lt_cv_deplibs_check_method=pass_all
6371    ;;
6372  pc)
6373    lt_cv_deplibs_check_method=pass_all
6374    ;;
6375  esac
6376  ;;
6377
6378tpf*)
6379  lt_cv_deplibs_check_method=pass_all
6380  ;;
6381os2*)
6382  lt_cv_deplibs_check_method=pass_all
6383  ;;
6384esac
6385
6386fi
6387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6388$as_echo "$lt_cv_deplibs_check_method" >&6; }
6389
6390file_magic_glob=
6391want_nocaseglob=no
6392if test "$build" = "$host"; then
6393  case $host_os in
6394  mingw* | pw32*)
6395    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6396      want_nocaseglob=yes
6397    else
6398      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6399    fi
6400    ;;
6401  esac
6402fi
6403
6404file_magic_cmd=$lt_cv_file_magic_cmd
6405deplibs_check_method=$lt_cv_deplibs_check_method
6406test -z "$deplibs_check_method" && deplibs_check_method=unknown
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429if test -n "$ac_tool_prefix"; then
6430  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6431set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6433$as_echo_n "checking for $ac_word... " >&6; }
6434if ${ac_cv_prog_DLLTOOL+:} false; then :
6435  $as_echo_n "(cached) " >&6
6436else
6437  if test -n "$DLLTOOL"; then
6438  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6439else
6440as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441for as_dir in $PATH
6442do
6443  IFS=$as_save_IFS
6444  test -z "$as_dir" && as_dir=.
6445    for ac_exec_ext in '' $ac_executable_extensions; do
6446  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6447    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6448    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6449    break 2
6450  fi
6451done
6452  done
6453IFS=$as_save_IFS
6454
6455fi
6456fi
6457DLLTOOL=$ac_cv_prog_DLLTOOL
6458if test -n "$DLLTOOL"; then
6459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6460$as_echo "$DLLTOOL" >&6; }
6461else
6462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463$as_echo "no" >&6; }
6464fi
6465
6466
6467fi
6468if test -z "$ac_cv_prog_DLLTOOL"; then
6469  ac_ct_DLLTOOL=$DLLTOOL
6470  # Extract the first word of "dlltool", so it can be a program name with args.
6471set dummy dlltool; ac_word=$2
6472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473$as_echo_n "checking for $ac_word... " >&6; }
6474if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6475  $as_echo_n "(cached) " >&6
6476else
6477  if test -n "$ac_ct_DLLTOOL"; then
6478  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6479else
6480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481for as_dir in $PATH
6482do
6483  IFS=$as_save_IFS
6484  test -z "$as_dir" && as_dir=.
6485    for ac_exec_ext in '' $ac_executable_extensions; do
6486  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6487    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6488    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489    break 2
6490  fi
6491done
6492  done
6493IFS=$as_save_IFS
6494
6495fi
6496fi
6497ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6498if test -n "$ac_ct_DLLTOOL"; then
6499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6500$as_echo "$ac_ct_DLLTOOL" >&6; }
6501else
6502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503$as_echo "no" >&6; }
6504fi
6505
6506  if test "x$ac_ct_DLLTOOL" = x; then
6507    DLLTOOL="false"
6508  else
6509    case $cross_compiling:$ac_tool_warned in
6510yes:)
6511{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6512$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6513ac_tool_warned=yes ;;
6514esac
6515    DLLTOOL=$ac_ct_DLLTOOL
6516  fi
6517else
6518  DLLTOOL="$ac_cv_prog_DLLTOOL"
6519fi
6520
6521test -z "$DLLTOOL" && DLLTOOL=dlltool
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6533$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6534if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6535  $as_echo_n "(cached) " >&6
6536else
6537  lt_cv_sharedlib_from_linklib_cmd='unknown'
6538
6539case $host_os in
6540cygwin* | mingw* | pw32* | cegcc*)
6541  # two different shell functions defined in ltmain.sh;
6542  # decide which one to use based on capabilities of $DLLTOOL
6543  case `$DLLTOOL --help 2>&1` in
6544  *--identify-strict*)
6545    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6546    ;;
6547  *)
6548    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6549    ;;
6550  esac
6551  ;;
6552*)
6553  # fallback: assume linklib IS sharedlib
6554  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6555  ;;
6556esac
6557
6558fi
6559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6560$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6561sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6562test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6563
6564
6565
6566
6567
6568
6569
6570if test -n "$ac_tool_prefix"; then
6571  for ac_prog in ar
6572  do
6573    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6574set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6576$as_echo_n "checking for $ac_word... " >&6; }
6577if ${ac_cv_prog_AR+:} false; then :
6578  $as_echo_n "(cached) " >&6
6579else
6580  if test -n "$AR"; then
6581  ac_cv_prog_AR="$AR" # Let the user override the test.
6582else
6583as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584for as_dir in $PATH
6585do
6586  IFS=$as_save_IFS
6587  test -z "$as_dir" && as_dir=.
6588    for ac_exec_ext in '' $ac_executable_extensions; do
6589  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6590    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6591    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6592    break 2
6593  fi
6594done
6595  done
6596IFS=$as_save_IFS
6597
6598fi
6599fi
6600AR=$ac_cv_prog_AR
6601if test -n "$AR"; then
6602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6603$as_echo "$AR" >&6; }
6604else
6605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6606$as_echo "no" >&6; }
6607fi
6608
6609
6610    test -n "$AR" && break
6611  done
6612fi
6613if test -z "$AR"; then
6614  ac_ct_AR=$AR
6615  for ac_prog in ar
6616do
6617  # Extract the first word of "$ac_prog", so it can be a program name with args.
6618set dummy $ac_prog; ac_word=$2
6619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6620$as_echo_n "checking for $ac_word... " >&6; }
6621if ${ac_cv_prog_ac_ct_AR+:} false; then :
6622  $as_echo_n "(cached) " >&6
6623else
6624  if test -n "$ac_ct_AR"; then
6625  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6626else
6627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628for as_dir in $PATH
6629do
6630  IFS=$as_save_IFS
6631  test -z "$as_dir" && as_dir=.
6632    for ac_exec_ext in '' $ac_executable_extensions; do
6633  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6634    ac_cv_prog_ac_ct_AR="$ac_prog"
6635    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6636    break 2
6637  fi
6638done
6639  done
6640IFS=$as_save_IFS
6641
6642fi
6643fi
6644ac_ct_AR=$ac_cv_prog_ac_ct_AR
6645if test -n "$ac_ct_AR"; then
6646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6647$as_echo "$ac_ct_AR" >&6; }
6648else
6649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650$as_echo "no" >&6; }
6651fi
6652
6653
6654  test -n "$ac_ct_AR" && break
6655done
6656
6657  if test "x$ac_ct_AR" = x; then
6658    AR="false"
6659  else
6660    case $cross_compiling:$ac_tool_warned in
6661yes:)
6662{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6663$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6664ac_tool_warned=yes ;;
6665esac
6666    AR=$ac_ct_AR
6667  fi
6668fi
6669
6670: ${AR=ar}
6671: ${AR_FLAGS=cru}
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6684$as_echo_n "checking for archiver @FILE support... " >&6; }
6685if ${lt_cv_ar_at_file+:} false; then :
6686  $as_echo_n "(cached) " >&6
6687else
6688  lt_cv_ar_at_file=no
6689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6690/* end confdefs.h.  */
6691
6692int
6693main ()
6694{
6695
6696  ;
6697  return 0;
6698}
6699_ACEOF
6700if ac_fn_c_try_compile "$LINENO"; then :
6701  echo conftest.$ac_objext > conftest.lst
6702      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6703      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6704  (eval $lt_ar_try) 2>&5
6705  ac_status=$?
6706  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6707  test $ac_status = 0; }
6708      if test 0 -eq "$ac_status"; then
6709	# Ensure the archiver fails upon bogus file names.
6710	rm -f conftest.$ac_objext libconftest.a
6711	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6712  (eval $lt_ar_try) 2>&5
6713  ac_status=$?
6714  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6715  test $ac_status = 0; }
6716	if test 0 -ne "$ac_status"; then
6717          lt_cv_ar_at_file=@
6718        fi
6719      fi
6720      rm -f conftest.* libconftest.a
6721
6722fi
6723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6724
6725fi
6726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6727$as_echo "$lt_cv_ar_at_file" >&6; }
6728
6729if test no = "$lt_cv_ar_at_file"; then
6730  archiver_list_spec=
6731else
6732  archiver_list_spec=$lt_cv_ar_at_file
6733fi
6734
6735
6736
6737
6738
6739
6740
6741if test -n "$ac_tool_prefix"; then
6742  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6743set dummy ${ac_tool_prefix}strip; ac_word=$2
6744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6745$as_echo_n "checking for $ac_word... " >&6; }
6746if ${ac_cv_prog_STRIP+:} false; then :
6747  $as_echo_n "(cached) " >&6
6748else
6749  if test -n "$STRIP"; then
6750  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6751else
6752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753for as_dir in $PATH
6754do
6755  IFS=$as_save_IFS
6756  test -z "$as_dir" && as_dir=.
6757    for ac_exec_ext in '' $ac_executable_extensions; do
6758  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6759    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6760    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6761    break 2
6762  fi
6763done
6764  done
6765IFS=$as_save_IFS
6766
6767fi
6768fi
6769STRIP=$ac_cv_prog_STRIP
6770if test -n "$STRIP"; then
6771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6772$as_echo "$STRIP" >&6; }
6773else
6774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6775$as_echo "no" >&6; }
6776fi
6777
6778
6779fi
6780if test -z "$ac_cv_prog_STRIP"; then
6781  ac_ct_STRIP=$STRIP
6782  # Extract the first word of "strip", so it can be a program name with args.
6783set dummy strip; ac_word=$2
6784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6785$as_echo_n "checking for $ac_word... " >&6; }
6786if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6787  $as_echo_n "(cached) " >&6
6788else
6789  if test -n "$ac_ct_STRIP"; then
6790  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6791else
6792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793for as_dir in $PATH
6794do
6795  IFS=$as_save_IFS
6796  test -z "$as_dir" && as_dir=.
6797    for ac_exec_ext in '' $ac_executable_extensions; do
6798  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6799    ac_cv_prog_ac_ct_STRIP="strip"
6800    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6801    break 2
6802  fi
6803done
6804  done
6805IFS=$as_save_IFS
6806
6807fi
6808fi
6809ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6810if test -n "$ac_ct_STRIP"; then
6811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6812$as_echo "$ac_ct_STRIP" >&6; }
6813else
6814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6815$as_echo "no" >&6; }
6816fi
6817
6818  if test "x$ac_ct_STRIP" = x; then
6819    STRIP=":"
6820  else
6821    case $cross_compiling:$ac_tool_warned in
6822yes:)
6823{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6824$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6825ac_tool_warned=yes ;;
6826esac
6827    STRIP=$ac_ct_STRIP
6828  fi
6829else
6830  STRIP="$ac_cv_prog_STRIP"
6831fi
6832
6833test -z "$STRIP" && STRIP=:
6834
6835
6836
6837
6838
6839
6840if test -n "$ac_tool_prefix"; then
6841  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6842set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6844$as_echo_n "checking for $ac_word... " >&6; }
6845if ${ac_cv_prog_RANLIB+:} false; then :
6846  $as_echo_n "(cached) " >&6
6847else
6848  if test -n "$RANLIB"; then
6849  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6850else
6851as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852for as_dir in $PATH
6853do
6854  IFS=$as_save_IFS
6855  test -z "$as_dir" && as_dir=.
6856    for ac_exec_ext in '' $ac_executable_extensions; do
6857  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6858    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6859    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6860    break 2
6861  fi
6862done
6863  done
6864IFS=$as_save_IFS
6865
6866fi
6867fi
6868RANLIB=$ac_cv_prog_RANLIB
6869if test -n "$RANLIB"; then
6870  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6871$as_echo "$RANLIB" >&6; }
6872else
6873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6874$as_echo "no" >&6; }
6875fi
6876
6877
6878fi
6879if test -z "$ac_cv_prog_RANLIB"; then
6880  ac_ct_RANLIB=$RANLIB
6881  # Extract the first word of "ranlib", so it can be a program name with args.
6882set dummy ranlib; ac_word=$2
6883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884$as_echo_n "checking for $ac_word... " >&6; }
6885if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6886  $as_echo_n "(cached) " >&6
6887else
6888  if test -n "$ac_ct_RANLIB"; then
6889  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6890else
6891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892for as_dir in $PATH
6893do
6894  IFS=$as_save_IFS
6895  test -z "$as_dir" && as_dir=.
6896    for ac_exec_ext in '' $ac_executable_extensions; do
6897  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6898    ac_cv_prog_ac_ct_RANLIB="ranlib"
6899    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6900    break 2
6901  fi
6902done
6903  done
6904IFS=$as_save_IFS
6905
6906fi
6907fi
6908ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6909if test -n "$ac_ct_RANLIB"; then
6910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6911$as_echo "$ac_ct_RANLIB" >&6; }
6912else
6913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914$as_echo "no" >&6; }
6915fi
6916
6917  if test "x$ac_ct_RANLIB" = x; then
6918    RANLIB=":"
6919  else
6920    case $cross_compiling:$ac_tool_warned in
6921yes:)
6922{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6923$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6924ac_tool_warned=yes ;;
6925esac
6926    RANLIB=$ac_ct_RANLIB
6927  fi
6928else
6929  RANLIB="$ac_cv_prog_RANLIB"
6930fi
6931
6932test -z "$RANLIB" && RANLIB=:
6933
6934
6935
6936
6937
6938
6939# Determine commands to create old-style static archives.
6940old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6941old_postinstall_cmds='chmod 644 $oldlib'
6942old_postuninstall_cmds=
6943
6944if test -n "$RANLIB"; then
6945  case $host_os in
6946  bitrig* | openbsd*)
6947    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6948    ;;
6949  *)
6950    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6951    ;;
6952  esac
6953  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6954fi
6955
6956case $host_os in
6957  darwin*)
6958    lock_old_archive_extraction=yes ;;
6959  *)
6960    lock_old_archive_extraction=no ;;
6961esac
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001# If no C compiler was specified, use CC.
7002LTCC=${LTCC-"$CC"}
7003
7004# If no C compiler flags were specified, use CFLAGS.
7005LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7006
7007# Allow CC to be a program name with arguments.
7008compiler=$CC
7009
7010
7011# Check for command to grab the raw symbol name followed by C symbol from nm.
7012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7013$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7014if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7015  $as_echo_n "(cached) " >&6
7016else
7017
7018# These are sane defaults that work on at least a few old systems.
7019# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7020
7021# Character class describing NM global symbol codes.
7022symcode='[BCDEGRST]'
7023
7024# Regexp to match symbols that can be accessed directly from C.
7025sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7026
7027# Define system-specific variables.
7028case $host_os in
7029aix*)
7030  symcode='[BCDT]'
7031  ;;
7032cygwin* | mingw* | pw32* | cegcc*)
7033  symcode='[ABCDGISTW]'
7034  ;;
7035hpux*)
7036  if test ia64 = "$host_cpu"; then
7037    symcode='[ABCDEGRST]'
7038  fi
7039  ;;
7040irix* | nonstopux*)
7041  symcode='[BCDEGRST]'
7042  ;;
7043osf*)
7044  symcode='[BCDEGQRST]'
7045  ;;
7046solaris*)
7047  symcode='[BDRT]'
7048  ;;
7049sco3.2v5*)
7050  symcode='[DT]'
7051  ;;
7052sysv4.2uw2*)
7053  symcode='[DT]'
7054  ;;
7055sysv5* | sco5v6* | unixware* | OpenUNIX*)
7056  symcode='[ABDT]'
7057  ;;
7058sysv4)
7059  symcode='[DFNSTU]'
7060  ;;
7061esac
7062
7063# If we're using GNU nm, then use its standard symbol codes.
7064case `$NM -V 2>&1` in
7065*GNU* | *'with BFD'*)
7066  symcode='[ABCDGIRSTW]' ;;
7067esac
7068
7069if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7070  # Gets list of data symbols to import.
7071  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7072  # Adjust the below global symbol transforms to fixup imported variables.
7073  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7074  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7075  lt_c_name_lib_hook="\
7076  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7077  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7078else
7079  # Disable hooks by default.
7080  lt_cv_sys_global_symbol_to_import=
7081  lt_cdecl_hook=
7082  lt_c_name_hook=
7083  lt_c_name_lib_hook=
7084fi
7085
7086# Transform an extracted symbol line into a proper C declaration.
7087# Some systems (esp. on ia64) link data and code symbols differently,
7088# so use this general approach.
7089lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7090$lt_cdecl_hook\
7091" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7092" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7093
7094# Transform an extracted symbol line into symbol name and symbol address
7095lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7096$lt_c_name_hook\
7097" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7098" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7099
7100# Transform an extracted symbol line into symbol name with lib prefix and
7101# symbol address.
7102lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7103$lt_c_name_lib_hook\
7104" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7105" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7106" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7107
7108# Handle CRLF in mingw tool chain
7109opt_cr=
7110case $build_os in
7111mingw*)
7112  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7113  ;;
7114esac
7115
7116# Try without a prefix underscore, then with it.
7117for ac_symprfx in "" "_"; do
7118
7119  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7120  symxfrm="\\1 $ac_symprfx\\2 \\2"
7121
7122  # Write the raw and C identifiers.
7123  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7124    # Fake it for dumpbin and say T for any non-static function,
7125    # D for any global variable and I for any imported variable.
7126    # Also find C++ and __fastcall symbols from MSVC++,
7127    # which start with @ or ?.
7128    lt_cv_sys_global_symbol_pipe="$AWK '"\
7129"     {last_section=section; section=\$ 3};"\
7130"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7131"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7132"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7133"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7134"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7135"     \$ 0!~/External *\|/{next};"\
7136"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7137"     {if(hide[section]) next};"\
7138"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7139"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7140"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7141"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7142"     ' prfx=^$ac_symprfx"
7143  else
7144    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7145  fi
7146  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7147
7148  # Check to see that the pipe works correctly.
7149  pipe_works=no
7150
7151  rm -f conftest*
7152  cat > conftest.$ac_ext <<_LT_EOF
7153#ifdef __cplusplus
7154extern "C" {
7155#endif
7156char nm_test_var;
7157void nm_test_func(void);
7158void nm_test_func(void){}
7159#ifdef __cplusplus
7160}
7161#endif
7162int main(){nm_test_var='a';nm_test_func();return(0);}
7163_LT_EOF
7164
7165  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7166  (eval $ac_compile) 2>&5
7167  ac_status=$?
7168  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7169  test $ac_status = 0; }; then
7170    # Now try to grab the symbols.
7171    nlist=conftest.nm
7172    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7173  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7174  ac_status=$?
7175  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7176  test $ac_status = 0; } && test -s "$nlist"; then
7177      # Try sorting and uniquifying the output.
7178      if sort "$nlist" | uniq > "$nlist"T; then
7179	mv -f "$nlist"T "$nlist"
7180      else
7181	rm -f "$nlist"T
7182      fi
7183
7184      # Make sure that we snagged all the symbols we need.
7185      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7186	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7187	  cat <<_LT_EOF > conftest.$ac_ext
7188/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7189#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7190/* DATA imports from DLLs on WIN32 can't be const, because runtime
7191   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7192# define LT_DLSYM_CONST
7193#elif defined __osf__
7194/* This system does not cope well with relocations in const data.  */
7195# define LT_DLSYM_CONST
7196#else
7197# define LT_DLSYM_CONST const
7198#endif
7199
7200#ifdef __cplusplus
7201extern "C" {
7202#endif
7203
7204_LT_EOF
7205	  # Now generate the symbol file.
7206	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7207
7208	  cat <<_LT_EOF >> conftest.$ac_ext
7209
7210/* The mapping between symbol names and symbols.  */
7211LT_DLSYM_CONST struct {
7212  const char *name;
7213  void       *address;
7214}
7215lt__PROGRAM__LTX_preloaded_symbols[] =
7216{
7217  { "@PROGRAM@", (void *) 0 },
7218_LT_EOF
7219	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7220	  cat <<\_LT_EOF >> conftest.$ac_ext
7221  {0, (void *) 0}
7222};
7223
7224/* This works around a problem in FreeBSD linker */
7225#ifdef FREEBSD_WORKAROUND
7226static const void *lt_preloaded_setup() {
7227  return lt__PROGRAM__LTX_preloaded_symbols;
7228}
7229#endif
7230
7231#ifdef __cplusplus
7232}
7233#endif
7234_LT_EOF
7235	  # Now try linking the two files.
7236	  mv conftest.$ac_objext conftstm.$ac_objext
7237	  lt_globsym_save_LIBS=$LIBS
7238	  lt_globsym_save_CFLAGS=$CFLAGS
7239	  LIBS=conftstm.$ac_objext
7240	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7241	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7242  (eval $ac_link) 2>&5
7243  ac_status=$?
7244  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7245  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7246	    pipe_works=yes
7247	  fi
7248	  LIBS=$lt_globsym_save_LIBS
7249	  CFLAGS=$lt_globsym_save_CFLAGS
7250	else
7251	  echo "cannot find nm_test_func in $nlist" >&5
7252	fi
7253      else
7254	echo "cannot find nm_test_var in $nlist" >&5
7255      fi
7256    else
7257      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7258    fi
7259  else
7260    echo "$progname: failed program was:" >&5
7261    cat conftest.$ac_ext >&5
7262  fi
7263  rm -rf conftest* conftst*
7264
7265  # Do not use the global_symbol_pipe unless it works.
7266  if test yes = "$pipe_works"; then
7267    break
7268  else
7269    lt_cv_sys_global_symbol_pipe=
7270  fi
7271done
7272
7273fi
7274
7275if test -z "$lt_cv_sys_global_symbol_pipe"; then
7276  lt_cv_sys_global_symbol_to_cdecl=
7277fi
7278if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7280$as_echo "failed" >&6; }
7281else
7282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7283$as_echo "ok" >&6; }
7284fi
7285
7286# Response file support.
7287if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7288  nm_file_list_spec='@'
7289elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7290  nm_file_list_spec='@'
7291fi
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7330$as_echo_n "checking for sysroot... " >&6; }
7331
7332# Check whether --with-sysroot was given.
7333if test "${with_sysroot+set}" = set; then :
7334  withval=$with_sysroot;
7335else
7336  with_sysroot=no
7337fi
7338
7339
7340lt_sysroot=
7341case $with_sysroot in #(
7342 yes)
7343   if test yes = "$GCC"; then
7344     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7345   fi
7346   ;; #(
7347 /*)
7348   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7349   ;; #(
7350 no|'')
7351   ;; #(
7352 *)
7353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7354$as_echo "$with_sysroot" >&6; }
7355   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7356   ;;
7357esac
7358
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7360$as_echo "${lt_sysroot:-no}" >&6; }
7361
7362
7363
7364
7365
7366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7367$as_echo_n "checking for a working dd... " >&6; }
7368if ${ac_cv_path_lt_DD+:} false; then :
7369  $as_echo_n "(cached) " >&6
7370else
7371  printf 0123456789abcdef0123456789abcdef >conftest.i
7372cat conftest.i conftest.i >conftest2.i
7373: ${lt_DD:=$DD}
7374if test -z "$lt_DD"; then
7375  ac_path_lt_DD_found=false
7376  # Loop through the user's path and test for each of PROGNAME-LIST
7377  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378for as_dir in $PATH
7379do
7380  IFS=$as_save_IFS
7381  test -z "$as_dir" && as_dir=.
7382    for ac_prog in dd; do
7383    for ac_exec_ext in '' $ac_executable_extensions; do
7384      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7385      as_fn_executable_p "$ac_path_lt_DD" || continue
7386if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7387  cmp -s conftest.i conftest.out \
7388  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7389fi
7390      $ac_path_lt_DD_found && break 3
7391    done
7392  done
7393  done
7394IFS=$as_save_IFS
7395  if test -z "$ac_cv_path_lt_DD"; then
7396    :
7397  fi
7398else
7399  ac_cv_path_lt_DD=$lt_DD
7400fi
7401
7402rm -f conftest.i conftest2.i conftest.out
7403fi
7404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7405$as_echo "$ac_cv_path_lt_DD" >&6; }
7406
7407
7408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7409$as_echo_n "checking how to truncate binary pipes... " >&6; }
7410if ${lt_cv_truncate_bin+:} false; then :
7411  $as_echo_n "(cached) " >&6
7412else
7413  printf 0123456789abcdef0123456789abcdef >conftest.i
7414cat conftest.i conftest.i >conftest2.i
7415lt_cv_truncate_bin=
7416if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7417  cmp -s conftest.i conftest.out \
7418  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7419fi
7420rm -f conftest.i conftest2.i conftest.out
7421test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7422fi
7423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7424$as_echo "$lt_cv_truncate_bin" >&6; }
7425
7426
7427
7428
7429
7430
7431
7432# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7433func_cc_basename ()
7434{
7435    for cc_temp in $*""; do
7436      case $cc_temp in
7437        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7438        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7439        \-*) ;;
7440        *) break;;
7441      esac
7442    done
7443    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7444}
7445
7446# Check whether --enable-libtool-lock was given.
7447if test "${enable_libtool_lock+set}" = set; then :
7448  enableval=$enable_libtool_lock;
7449fi
7450
7451test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7452
7453# Some flags need to be propagated to the compiler or linker for good
7454# libtool support.
7455case $host in
7456ia64-*-hpux*)
7457  # Find out what ABI is being produced by ac_compile, and set mode
7458  # options accordingly.
7459  echo 'int i;' > conftest.$ac_ext
7460  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7461  (eval $ac_compile) 2>&5
7462  ac_status=$?
7463  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7464  test $ac_status = 0; }; then
7465    case `/usr/bin/file conftest.$ac_objext` in
7466      *ELF-32*)
7467	HPUX_IA64_MODE=32
7468	;;
7469      *ELF-64*)
7470	HPUX_IA64_MODE=64
7471	;;
7472    esac
7473  fi
7474  rm -rf conftest*
7475  ;;
7476*-*-irix6*)
7477  # Find out what ABI is being produced by ac_compile, and set linker
7478  # options accordingly.
7479  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7480  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7481  (eval $ac_compile) 2>&5
7482  ac_status=$?
7483  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7484  test $ac_status = 0; }; then
7485    if test yes = "$lt_cv_prog_gnu_ld"; then
7486      case `/usr/bin/file conftest.$ac_objext` in
7487	*32-bit*)
7488	  LD="${LD-ld} -melf32bsmip"
7489	  ;;
7490	*N32*)
7491	  LD="${LD-ld} -melf32bmipn32"
7492	  ;;
7493	*64-bit*)
7494	  LD="${LD-ld} -melf64bmip"
7495	;;
7496      esac
7497    else
7498      case `/usr/bin/file conftest.$ac_objext` in
7499	*32-bit*)
7500	  LD="${LD-ld} -32"
7501	  ;;
7502	*N32*)
7503	  LD="${LD-ld} -n32"
7504	  ;;
7505	*64-bit*)
7506	  LD="${LD-ld} -64"
7507	  ;;
7508      esac
7509    fi
7510  fi
7511  rm -rf conftest*
7512  ;;
7513
7514mips64*-*linux*)
7515  # Find out what ABI is being produced by ac_compile, and set linker
7516  # options accordingly.
7517  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7518  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7519  (eval $ac_compile) 2>&5
7520  ac_status=$?
7521  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7522  test $ac_status = 0; }; then
7523    emul=elf
7524    case `/usr/bin/file conftest.$ac_objext` in
7525      *32-bit*)
7526	emul="${emul}32"
7527	;;
7528      *64-bit*)
7529	emul="${emul}64"
7530	;;
7531    esac
7532    case `/usr/bin/file conftest.$ac_objext` in
7533      *MSB*)
7534	emul="${emul}btsmip"
7535	;;
7536      *LSB*)
7537	emul="${emul}ltsmip"
7538	;;
7539    esac
7540    case `/usr/bin/file conftest.$ac_objext` in
7541      *N32*)
7542	emul="${emul}n32"
7543	;;
7544    esac
7545    LD="${LD-ld} -m $emul"
7546  fi
7547  rm -rf conftest*
7548  ;;
7549
7550x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7551s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7552  # Find out what ABI is being produced by ac_compile, and set linker
7553  # options accordingly.  Note that the listed cases only cover the
7554  # situations where additional linker options are needed (such as when
7555  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7556  # vice versa); the common cases where no linker options are needed do
7557  # not appear in the list.
7558  echo 'int i;' > conftest.$ac_ext
7559  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7560  (eval $ac_compile) 2>&5
7561  ac_status=$?
7562  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7563  test $ac_status = 0; }; then
7564    case `/usr/bin/file conftest.o` in
7565      *32-bit*)
7566	case $host in
7567	  x86_64-*kfreebsd*-gnu)
7568	    LD="${LD-ld} -m elf_i386_fbsd"
7569	    ;;
7570	  x86_64-*linux*)
7571	    case `/usr/bin/file conftest.o` in
7572	      *x86-64*)
7573		LD="${LD-ld} -m elf32_x86_64"
7574		;;
7575	      *)
7576		LD="${LD-ld} -m elf_i386"
7577		;;
7578	    esac
7579	    ;;
7580	  powerpc64le-*linux*)
7581	    LD="${LD-ld} -m elf32lppclinux"
7582	    ;;
7583	  powerpc64-*linux*)
7584	    LD="${LD-ld} -m elf32ppclinux"
7585	    ;;
7586	  s390x-*linux*)
7587	    LD="${LD-ld} -m elf_s390"
7588	    ;;
7589	  sparc64-*linux*)
7590	    LD="${LD-ld} -m elf32_sparc"
7591	    ;;
7592	esac
7593	;;
7594      *64-bit*)
7595	case $host in
7596	  x86_64-*kfreebsd*-gnu)
7597	    LD="${LD-ld} -m elf_x86_64_fbsd"
7598	    ;;
7599	  x86_64-*linux*)
7600	    LD="${LD-ld} -m elf_x86_64"
7601	    ;;
7602	  powerpcle-*linux*)
7603	    LD="${LD-ld} -m elf64lppc"
7604	    ;;
7605	  powerpc-*linux*)
7606	    LD="${LD-ld} -m elf64ppc"
7607	    ;;
7608	  s390*-*linux*|s390*-*tpf*)
7609	    LD="${LD-ld} -m elf64_s390"
7610	    ;;
7611	  sparc*-*linux*)
7612	    LD="${LD-ld} -m elf64_sparc"
7613	    ;;
7614	esac
7615	;;
7616    esac
7617  fi
7618  rm -rf conftest*
7619  ;;
7620
7621*-*-sco3.2v5*)
7622  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7623  SAVE_CFLAGS=$CFLAGS
7624  CFLAGS="$CFLAGS -belf"
7625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7626$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7627if ${lt_cv_cc_needs_belf+:} false; then :
7628  $as_echo_n "(cached) " >&6
7629else
7630  ac_ext=c
7631ac_cpp='$CPP $CPPFLAGS'
7632ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7633ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7634ac_compiler_gnu=$ac_cv_c_compiler_gnu
7635
7636     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7637/* end confdefs.h.  */
7638
7639int
7640main ()
7641{
7642
7643  ;
7644  return 0;
7645}
7646_ACEOF
7647if ac_fn_c_try_link "$LINENO"; then :
7648  lt_cv_cc_needs_belf=yes
7649else
7650  lt_cv_cc_needs_belf=no
7651fi
7652rm -f core conftest.err conftest.$ac_objext \
7653    conftest$ac_exeext conftest.$ac_ext
7654     ac_ext=c
7655ac_cpp='$CPP $CPPFLAGS'
7656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7658ac_compiler_gnu=$ac_cv_c_compiler_gnu
7659
7660fi
7661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7662$as_echo "$lt_cv_cc_needs_belf" >&6; }
7663  if test yes != "$lt_cv_cc_needs_belf"; then
7664    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7665    CFLAGS=$SAVE_CFLAGS
7666  fi
7667  ;;
7668*-*solaris*)
7669  # Find out what ABI is being produced by ac_compile, and set linker
7670  # options accordingly.
7671  echo 'int i;' > conftest.$ac_ext
7672  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7673  (eval $ac_compile) 2>&5
7674  ac_status=$?
7675  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7676  test $ac_status = 0; }; then
7677    case `/usr/bin/file conftest.o` in
7678    *64-bit*)
7679      case $lt_cv_prog_gnu_ld in
7680      yes*)
7681        case $host in
7682        i?86-*-solaris*|x86_64-*-solaris*)
7683          LD="${LD-ld} -m elf_x86_64"
7684          ;;
7685        sparc*-*-solaris*)
7686          LD="${LD-ld} -m elf64_sparc"
7687          ;;
7688        esac
7689        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7690        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7691          LD=${LD-ld}_sol2
7692        fi
7693        ;;
7694      *)
7695	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7696	  LD="${LD-ld} -64"
7697	fi
7698	;;
7699      esac
7700      ;;
7701    esac
7702  fi
7703  rm -rf conftest*
7704  ;;
7705esac
7706
7707need_locks=$enable_libtool_lock
7708
7709if test -n "$ac_tool_prefix"; then
7710  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7711set dummy ${ac_tool_prefix}mt; ac_word=$2
7712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7713$as_echo_n "checking for $ac_word... " >&6; }
7714if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7715  $as_echo_n "(cached) " >&6
7716else
7717  if test -n "$MANIFEST_TOOL"; then
7718  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7719else
7720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7721for as_dir in $PATH
7722do
7723  IFS=$as_save_IFS
7724  test -z "$as_dir" && as_dir=.
7725    for ac_exec_ext in '' $ac_executable_extensions; do
7726  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7727    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7728    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7729    break 2
7730  fi
7731done
7732  done
7733IFS=$as_save_IFS
7734
7735fi
7736fi
7737MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7738if test -n "$MANIFEST_TOOL"; then
7739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7740$as_echo "$MANIFEST_TOOL" >&6; }
7741else
7742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7743$as_echo "no" >&6; }
7744fi
7745
7746
7747fi
7748if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7749  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7750  # Extract the first word of "mt", so it can be a program name with args.
7751set dummy mt; ac_word=$2
7752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7753$as_echo_n "checking for $ac_word... " >&6; }
7754if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7755  $as_echo_n "(cached) " >&6
7756else
7757  if test -n "$ac_ct_MANIFEST_TOOL"; then
7758  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7759else
7760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7761for as_dir in $PATH
7762do
7763  IFS=$as_save_IFS
7764  test -z "$as_dir" && as_dir=.
7765    for ac_exec_ext in '' $ac_executable_extensions; do
7766  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7767    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7768    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7769    break 2
7770  fi
7771done
7772  done
7773IFS=$as_save_IFS
7774
7775fi
7776fi
7777ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7778if test -n "$ac_ct_MANIFEST_TOOL"; then
7779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7780$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7781else
7782  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7783$as_echo "no" >&6; }
7784fi
7785
7786  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7787    MANIFEST_TOOL=":"
7788  else
7789    case $cross_compiling:$ac_tool_warned in
7790yes:)
7791{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7792$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7793ac_tool_warned=yes ;;
7794esac
7795    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7796  fi
7797else
7798  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7799fi
7800
7801test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7803$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7804if ${lt_cv_path_mainfest_tool+:} false; then :
7805  $as_echo_n "(cached) " >&6
7806else
7807  lt_cv_path_mainfest_tool=no
7808  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7809  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7810  cat conftest.err >&5
7811  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7812    lt_cv_path_mainfest_tool=yes
7813  fi
7814  rm -f conftest*
7815fi
7816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7817$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7818if test yes != "$lt_cv_path_mainfest_tool"; then
7819  MANIFEST_TOOL=:
7820fi
7821
7822
7823
7824
7825
7826
7827  case $host_os in
7828    rhapsody* | darwin*)
7829    if test -n "$ac_tool_prefix"; then
7830  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7831set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7833$as_echo_n "checking for $ac_word... " >&6; }
7834if ${ac_cv_prog_DSYMUTIL+:} false; then :
7835  $as_echo_n "(cached) " >&6
7836else
7837  if test -n "$DSYMUTIL"; then
7838  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7839else
7840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7841for as_dir in $PATH
7842do
7843  IFS=$as_save_IFS
7844  test -z "$as_dir" && as_dir=.
7845    for ac_exec_ext in '' $ac_executable_extensions; do
7846  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7847    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7848    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7849    break 2
7850  fi
7851done
7852  done
7853IFS=$as_save_IFS
7854
7855fi
7856fi
7857DSYMUTIL=$ac_cv_prog_DSYMUTIL
7858if test -n "$DSYMUTIL"; then
7859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7860$as_echo "$DSYMUTIL" >&6; }
7861else
7862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7863$as_echo "no" >&6; }
7864fi
7865
7866
7867fi
7868if test -z "$ac_cv_prog_DSYMUTIL"; then
7869  ac_ct_DSYMUTIL=$DSYMUTIL
7870  # Extract the first word of "dsymutil", so it can be a program name with args.
7871set dummy dsymutil; ac_word=$2
7872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7873$as_echo_n "checking for $ac_word... " >&6; }
7874if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7875  $as_echo_n "(cached) " >&6
7876else
7877  if test -n "$ac_ct_DSYMUTIL"; then
7878  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7879else
7880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7881for as_dir in $PATH
7882do
7883  IFS=$as_save_IFS
7884  test -z "$as_dir" && as_dir=.
7885    for ac_exec_ext in '' $ac_executable_extensions; do
7886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7887    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7889    break 2
7890  fi
7891done
7892  done
7893IFS=$as_save_IFS
7894
7895fi
7896fi
7897ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7898if test -n "$ac_ct_DSYMUTIL"; then
7899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7900$as_echo "$ac_ct_DSYMUTIL" >&6; }
7901else
7902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7903$as_echo "no" >&6; }
7904fi
7905
7906  if test "x$ac_ct_DSYMUTIL" = x; then
7907    DSYMUTIL=":"
7908  else
7909    case $cross_compiling:$ac_tool_warned in
7910yes:)
7911{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7912$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7913ac_tool_warned=yes ;;
7914esac
7915    DSYMUTIL=$ac_ct_DSYMUTIL
7916  fi
7917else
7918  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7919fi
7920
7921    if test -n "$ac_tool_prefix"; then
7922  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7923set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7925$as_echo_n "checking for $ac_word... " >&6; }
7926if ${ac_cv_prog_NMEDIT+:} false; then :
7927  $as_echo_n "(cached) " >&6
7928else
7929  if test -n "$NMEDIT"; then
7930  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7931else
7932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7933for as_dir in $PATH
7934do
7935  IFS=$as_save_IFS
7936  test -z "$as_dir" && as_dir=.
7937    for ac_exec_ext in '' $ac_executable_extensions; do
7938  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7939    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7940    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7941    break 2
7942  fi
7943done
7944  done
7945IFS=$as_save_IFS
7946
7947fi
7948fi
7949NMEDIT=$ac_cv_prog_NMEDIT
7950if test -n "$NMEDIT"; then
7951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7952$as_echo "$NMEDIT" >&6; }
7953else
7954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7955$as_echo "no" >&6; }
7956fi
7957
7958
7959fi
7960if test -z "$ac_cv_prog_NMEDIT"; then
7961  ac_ct_NMEDIT=$NMEDIT
7962  # Extract the first word of "nmedit", so it can be a program name with args.
7963set dummy nmedit; ac_word=$2
7964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7965$as_echo_n "checking for $ac_word... " >&6; }
7966if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7967  $as_echo_n "(cached) " >&6
7968else
7969  if test -n "$ac_ct_NMEDIT"; then
7970  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7971else
7972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7973for as_dir in $PATH
7974do
7975  IFS=$as_save_IFS
7976  test -z "$as_dir" && as_dir=.
7977    for ac_exec_ext in '' $ac_executable_extensions; do
7978  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7979    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7980    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7981    break 2
7982  fi
7983done
7984  done
7985IFS=$as_save_IFS
7986
7987fi
7988fi
7989ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7990if test -n "$ac_ct_NMEDIT"; then
7991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7992$as_echo "$ac_ct_NMEDIT" >&6; }
7993else
7994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7995$as_echo "no" >&6; }
7996fi
7997
7998  if test "x$ac_ct_NMEDIT" = x; then
7999    NMEDIT=":"
8000  else
8001    case $cross_compiling:$ac_tool_warned in
8002yes:)
8003{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8004$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8005ac_tool_warned=yes ;;
8006esac
8007    NMEDIT=$ac_ct_NMEDIT
8008  fi
8009else
8010  NMEDIT="$ac_cv_prog_NMEDIT"
8011fi
8012
8013    if test -n "$ac_tool_prefix"; then
8014  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8015set dummy ${ac_tool_prefix}lipo; ac_word=$2
8016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8017$as_echo_n "checking for $ac_word... " >&6; }
8018if ${ac_cv_prog_LIPO+:} false; then :
8019  $as_echo_n "(cached) " >&6
8020else
8021  if test -n "$LIPO"; then
8022  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8023else
8024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025for as_dir in $PATH
8026do
8027  IFS=$as_save_IFS
8028  test -z "$as_dir" && as_dir=.
8029    for ac_exec_ext in '' $ac_executable_extensions; do
8030  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8031    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8032    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8033    break 2
8034  fi
8035done
8036  done
8037IFS=$as_save_IFS
8038
8039fi
8040fi
8041LIPO=$ac_cv_prog_LIPO
8042if test -n "$LIPO"; then
8043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8044$as_echo "$LIPO" >&6; }
8045else
8046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047$as_echo "no" >&6; }
8048fi
8049
8050
8051fi
8052if test -z "$ac_cv_prog_LIPO"; then
8053  ac_ct_LIPO=$LIPO
8054  # Extract the first word of "lipo", so it can be a program name with args.
8055set dummy lipo; ac_word=$2
8056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8057$as_echo_n "checking for $ac_word... " >&6; }
8058if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8059  $as_echo_n "(cached) " >&6
8060else
8061  if test -n "$ac_ct_LIPO"; then
8062  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8063else
8064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8065for as_dir in $PATH
8066do
8067  IFS=$as_save_IFS
8068  test -z "$as_dir" && as_dir=.
8069    for ac_exec_ext in '' $ac_executable_extensions; do
8070  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8071    ac_cv_prog_ac_ct_LIPO="lipo"
8072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8073    break 2
8074  fi
8075done
8076  done
8077IFS=$as_save_IFS
8078
8079fi
8080fi
8081ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8082if test -n "$ac_ct_LIPO"; then
8083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8084$as_echo "$ac_ct_LIPO" >&6; }
8085else
8086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087$as_echo "no" >&6; }
8088fi
8089
8090  if test "x$ac_ct_LIPO" = x; then
8091    LIPO=":"
8092  else
8093    case $cross_compiling:$ac_tool_warned in
8094yes:)
8095{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8096$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8097ac_tool_warned=yes ;;
8098esac
8099    LIPO=$ac_ct_LIPO
8100  fi
8101else
8102  LIPO="$ac_cv_prog_LIPO"
8103fi
8104
8105    if test -n "$ac_tool_prefix"; then
8106  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8107set dummy ${ac_tool_prefix}otool; ac_word=$2
8108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8109$as_echo_n "checking for $ac_word... " >&6; }
8110if ${ac_cv_prog_OTOOL+:} false; then :
8111  $as_echo_n "(cached) " >&6
8112else
8113  if test -n "$OTOOL"; then
8114  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8115else
8116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8117for as_dir in $PATH
8118do
8119  IFS=$as_save_IFS
8120  test -z "$as_dir" && as_dir=.
8121    for ac_exec_ext in '' $ac_executable_extensions; do
8122  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8123    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8124    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8125    break 2
8126  fi
8127done
8128  done
8129IFS=$as_save_IFS
8130
8131fi
8132fi
8133OTOOL=$ac_cv_prog_OTOOL
8134if test -n "$OTOOL"; then
8135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8136$as_echo "$OTOOL" >&6; }
8137else
8138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139$as_echo "no" >&6; }
8140fi
8141
8142
8143fi
8144if test -z "$ac_cv_prog_OTOOL"; then
8145  ac_ct_OTOOL=$OTOOL
8146  # Extract the first word of "otool", so it can be a program name with args.
8147set dummy otool; ac_word=$2
8148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8149$as_echo_n "checking for $ac_word... " >&6; }
8150if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8151  $as_echo_n "(cached) " >&6
8152else
8153  if test -n "$ac_ct_OTOOL"; then
8154  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8155else
8156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157for as_dir in $PATH
8158do
8159  IFS=$as_save_IFS
8160  test -z "$as_dir" && as_dir=.
8161    for ac_exec_ext in '' $ac_executable_extensions; do
8162  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8163    ac_cv_prog_ac_ct_OTOOL="otool"
8164    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8165    break 2
8166  fi
8167done
8168  done
8169IFS=$as_save_IFS
8170
8171fi
8172fi
8173ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8174if test -n "$ac_ct_OTOOL"; then
8175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8176$as_echo "$ac_ct_OTOOL" >&6; }
8177else
8178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179$as_echo "no" >&6; }
8180fi
8181
8182  if test "x$ac_ct_OTOOL" = x; then
8183    OTOOL=":"
8184  else
8185    case $cross_compiling:$ac_tool_warned in
8186yes:)
8187{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8188$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8189ac_tool_warned=yes ;;
8190esac
8191    OTOOL=$ac_ct_OTOOL
8192  fi
8193else
8194  OTOOL="$ac_cv_prog_OTOOL"
8195fi
8196
8197    if test -n "$ac_tool_prefix"; then
8198  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8199set dummy ${ac_tool_prefix}otool64; ac_word=$2
8200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8201$as_echo_n "checking for $ac_word... " >&6; }
8202if ${ac_cv_prog_OTOOL64+:} false; then :
8203  $as_echo_n "(cached) " >&6
8204else
8205  if test -n "$OTOOL64"; then
8206  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8207else
8208as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209for as_dir in $PATH
8210do
8211  IFS=$as_save_IFS
8212  test -z "$as_dir" && as_dir=.
8213    for ac_exec_ext in '' $ac_executable_extensions; do
8214  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8215    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8216    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8217    break 2
8218  fi
8219done
8220  done
8221IFS=$as_save_IFS
8222
8223fi
8224fi
8225OTOOL64=$ac_cv_prog_OTOOL64
8226if test -n "$OTOOL64"; then
8227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8228$as_echo "$OTOOL64" >&6; }
8229else
8230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8231$as_echo "no" >&6; }
8232fi
8233
8234
8235fi
8236if test -z "$ac_cv_prog_OTOOL64"; then
8237  ac_ct_OTOOL64=$OTOOL64
8238  # Extract the first word of "otool64", so it can be a program name with args.
8239set dummy otool64; ac_word=$2
8240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8241$as_echo_n "checking for $ac_word... " >&6; }
8242if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8243  $as_echo_n "(cached) " >&6
8244else
8245  if test -n "$ac_ct_OTOOL64"; then
8246  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8247else
8248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8249for as_dir in $PATH
8250do
8251  IFS=$as_save_IFS
8252  test -z "$as_dir" && as_dir=.
8253    for ac_exec_ext in '' $ac_executable_extensions; do
8254  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8255    ac_cv_prog_ac_ct_OTOOL64="otool64"
8256    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8257    break 2
8258  fi
8259done
8260  done
8261IFS=$as_save_IFS
8262
8263fi
8264fi
8265ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8266if test -n "$ac_ct_OTOOL64"; then
8267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8268$as_echo "$ac_ct_OTOOL64" >&6; }
8269else
8270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8271$as_echo "no" >&6; }
8272fi
8273
8274  if test "x$ac_ct_OTOOL64" = x; then
8275    OTOOL64=":"
8276  else
8277    case $cross_compiling:$ac_tool_warned in
8278yes:)
8279{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8280$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8281ac_tool_warned=yes ;;
8282esac
8283    OTOOL64=$ac_ct_OTOOL64
8284  fi
8285else
8286  OTOOL64="$ac_cv_prog_OTOOL64"
8287fi
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8316$as_echo_n "checking for -single_module linker flag... " >&6; }
8317if ${lt_cv_apple_cc_single_mod+:} false; then :
8318  $as_echo_n "(cached) " >&6
8319else
8320  lt_cv_apple_cc_single_mod=no
8321      if test -z "$LT_MULTI_MODULE"; then
8322	# By default we will add the -single_module flag. You can override
8323	# by either setting the environment variable LT_MULTI_MODULE
8324	# non-empty at configure time, or by adding -multi_module to the
8325	# link flags.
8326	rm -rf libconftest.dylib*
8327	echo "int foo(void){return 1;}" > conftest.c
8328	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8329-dynamiclib -Wl,-single_module conftest.c" >&5
8330	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8331	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8332        _lt_result=$?
8333	# If there is a non-empty error log, and "single_module"
8334	# appears in it, assume the flag caused a linker warning
8335        if test -s conftest.err && $GREP single_module conftest.err; then
8336	  cat conftest.err >&5
8337	# Otherwise, if the output was created with a 0 exit code from
8338	# the compiler, it worked.
8339	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8340	  lt_cv_apple_cc_single_mod=yes
8341	else
8342	  cat conftest.err >&5
8343	fi
8344	rm -rf libconftest.dylib*
8345	rm -f conftest.*
8346      fi
8347fi
8348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8349$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8350
8351    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8352$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8353if ${lt_cv_ld_exported_symbols_list+:} false; then :
8354  $as_echo_n "(cached) " >&6
8355else
8356  lt_cv_ld_exported_symbols_list=no
8357      save_LDFLAGS=$LDFLAGS
8358      echo "_main" > conftest.sym
8359      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8360      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361/* end confdefs.h.  */
8362
8363int
8364main ()
8365{
8366
8367  ;
8368  return 0;
8369}
8370_ACEOF
8371if ac_fn_c_try_link "$LINENO"; then :
8372  lt_cv_ld_exported_symbols_list=yes
8373else
8374  lt_cv_ld_exported_symbols_list=no
8375fi
8376rm -f core conftest.err conftest.$ac_objext \
8377    conftest$ac_exeext conftest.$ac_ext
8378	LDFLAGS=$save_LDFLAGS
8379
8380fi
8381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8382$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8383
8384    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8385$as_echo_n "checking for -force_load linker flag... " >&6; }
8386if ${lt_cv_ld_force_load+:} false; then :
8387  $as_echo_n "(cached) " >&6
8388else
8389  lt_cv_ld_force_load=no
8390      cat > conftest.c << _LT_EOF
8391int forced_loaded() { return 2;}
8392_LT_EOF
8393      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8394      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8395      echo "$AR cru libconftest.a conftest.o" >&5
8396      $AR cru libconftest.a conftest.o 2>&5
8397      echo "$RANLIB libconftest.a" >&5
8398      $RANLIB libconftest.a 2>&5
8399      cat > conftest.c << _LT_EOF
8400int main() { return 0;}
8401_LT_EOF
8402      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8403      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8404      _lt_result=$?
8405      if test -s conftest.err && $GREP force_load conftest.err; then
8406	cat conftest.err >&5
8407      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8408	lt_cv_ld_force_load=yes
8409      else
8410	cat conftest.err >&5
8411      fi
8412        rm -f conftest.err libconftest.a conftest conftest.c
8413        rm -rf conftest.dSYM
8414
8415fi
8416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8417$as_echo "$lt_cv_ld_force_load" >&6; }
8418    case $host_os in
8419    rhapsody* | darwin1.[012])
8420      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8421    darwin1.*)
8422      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8423    darwin*) # darwin 5.x on
8424      # if running on 10.5 or later, the deployment target defaults
8425      # to the OS version, if on x86, and 10.4, the deployment
8426      # target defaults to 10.4. Don't you love it?
8427      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8428	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8429	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8430	10.[012][,.]*)
8431	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8432	10.*)
8433	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8434      esac
8435    ;;
8436  esac
8437    if test yes = "$lt_cv_apple_cc_single_mod"; then
8438      _lt_dar_single_mod='$single_module'
8439    fi
8440    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8441      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8442    else
8443      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8444    fi
8445    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8446      _lt_dsymutil='~$DSYMUTIL $lib || :'
8447    else
8448      _lt_dsymutil=
8449    fi
8450    ;;
8451  esac
8452
8453# func_munge_path_list VARIABLE PATH
8454# -----------------------------------
8455# VARIABLE is name of variable containing _space_ separated list of
8456# directories to be munged by the contents of PATH, which is string
8457# having a format:
8458# "DIR[:DIR]:"
8459#       string "DIR[ DIR]" will be prepended to VARIABLE
8460# ":DIR[:DIR]"
8461#       string "DIR[ DIR]" will be appended to VARIABLE
8462# "DIRP[:DIRP]::[DIRA:]DIRA"
8463#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8464#       "DIRA[ DIRA]" will be appended to VARIABLE
8465# "DIR[:DIR]"
8466#       VARIABLE will be replaced by "DIR[ DIR]"
8467func_munge_path_list ()
8468{
8469    case x$2 in
8470    x)
8471        ;;
8472    *:)
8473        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8474        ;;
8475    x:*)
8476        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8477        ;;
8478    *::*)
8479        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8480        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8481        ;;
8482    *)
8483        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8484        ;;
8485    esac
8486}
8487
8488ac_ext=c
8489ac_cpp='$CPP $CPPFLAGS'
8490ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8491ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8492ac_compiler_gnu=$ac_cv_c_compiler_gnu
8493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8494$as_echo_n "checking how to run the C preprocessor... " >&6; }
8495# On Suns, sometimes $CPP names a directory.
8496if test -n "$CPP" && test -d "$CPP"; then
8497  CPP=
8498fi
8499if test -z "$CPP"; then
8500  if ${ac_cv_prog_CPP+:} false; then :
8501  $as_echo_n "(cached) " >&6
8502else
8503      # Double quotes because CPP needs to be expanded
8504    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8505    do
8506      ac_preproc_ok=false
8507for ac_c_preproc_warn_flag in '' yes
8508do
8509  # Use a header file that comes with gcc, so configuring glibc
8510  # with a fresh cross-compiler works.
8511  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8512  # <limits.h> exists even on freestanding compilers.
8513  # On the NeXT, cc -E runs the code through the compiler's parser,
8514  # not just through cpp. "Syntax error" is here to catch this case.
8515  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8516/* end confdefs.h.  */
8517#ifdef __STDC__
8518# include <limits.h>
8519#else
8520# include <assert.h>
8521#endif
8522		     Syntax error
8523_ACEOF
8524if ac_fn_c_try_cpp "$LINENO"; then :
8525
8526else
8527  # Broken: fails on valid input.
8528continue
8529fi
8530rm -f conftest.err conftest.i conftest.$ac_ext
8531
8532  # OK, works on sane cases.  Now check whether nonexistent headers
8533  # can be detected and how.
8534  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535/* end confdefs.h.  */
8536#include <ac_nonexistent.h>
8537_ACEOF
8538if ac_fn_c_try_cpp "$LINENO"; then :
8539  # Broken: success on invalid input.
8540continue
8541else
8542  # Passes both tests.
8543ac_preproc_ok=:
8544break
8545fi
8546rm -f conftest.err conftest.i conftest.$ac_ext
8547
8548done
8549# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8550rm -f conftest.i conftest.err conftest.$ac_ext
8551if $ac_preproc_ok; then :
8552  break
8553fi
8554
8555    done
8556    ac_cv_prog_CPP=$CPP
8557
8558fi
8559  CPP=$ac_cv_prog_CPP
8560else
8561  ac_cv_prog_CPP=$CPP
8562fi
8563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8564$as_echo "$CPP" >&6; }
8565ac_preproc_ok=false
8566for ac_c_preproc_warn_flag in '' yes
8567do
8568  # Use a header file that comes with gcc, so configuring glibc
8569  # with a fresh cross-compiler works.
8570  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8571  # <limits.h> exists even on freestanding compilers.
8572  # On the NeXT, cc -E runs the code through the compiler's parser,
8573  # not just through cpp. "Syntax error" is here to catch this case.
8574  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575/* end confdefs.h.  */
8576#ifdef __STDC__
8577# include <limits.h>
8578#else
8579# include <assert.h>
8580#endif
8581		     Syntax error
8582_ACEOF
8583if ac_fn_c_try_cpp "$LINENO"; then :
8584
8585else
8586  # Broken: fails on valid input.
8587continue
8588fi
8589rm -f conftest.err conftest.i conftest.$ac_ext
8590
8591  # OK, works on sane cases.  Now check whether nonexistent headers
8592  # can be detected and how.
8593  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8594/* end confdefs.h.  */
8595#include <ac_nonexistent.h>
8596_ACEOF
8597if ac_fn_c_try_cpp "$LINENO"; then :
8598  # Broken: success on invalid input.
8599continue
8600else
8601  # Passes both tests.
8602ac_preproc_ok=:
8603break
8604fi
8605rm -f conftest.err conftest.i conftest.$ac_ext
8606
8607done
8608# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8609rm -f conftest.i conftest.err conftest.$ac_ext
8610if $ac_preproc_ok; then :
8611
8612else
8613  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8614$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8615as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8616See \`config.log' for more details" "$LINENO" 5; }
8617fi
8618
8619ac_ext=c
8620ac_cpp='$CPP $CPPFLAGS'
8621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8623ac_compiler_gnu=$ac_cv_c_compiler_gnu
8624
8625
8626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8627$as_echo_n "checking for ANSI C header files... " >&6; }
8628if ${ac_cv_header_stdc+:} false; then :
8629  $as_echo_n "(cached) " >&6
8630else
8631  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632/* end confdefs.h.  */
8633#include <stdlib.h>
8634#include <stdarg.h>
8635#include <string.h>
8636#include <float.h>
8637
8638int
8639main ()
8640{
8641
8642  ;
8643  return 0;
8644}
8645_ACEOF
8646if ac_fn_c_try_compile "$LINENO"; then :
8647  ac_cv_header_stdc=yes
8648else
8649  ac_cv_header_stdc=no
8650fi
8651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8652
8653if test $ac_cv_header_stdc = yes; then
8654  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8655  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8656/* end confdefs.h.  */
8657#include <string.h>
8658
8659_ACEOF
8660if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8661  $EGREP "memchr" >/dev/null 2>&1; then :
8662
8663else
8664  ac_cv_header_stdc=no
8665fi
8666rm -f conftest*
8667
8668fi
8669
8670if test $ac_cv_header_stdc = yes; then
8671  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8672  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8673/* end confdefs.h.  */
8674#include <stdlib.h>
8675
8676_ACEOF
8677if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8678  $EGREP "free" >/dev/null 2>&1; then :
8679
8680else
8681  ac_cv_header_stdc=no
8682fi
8683rm -f conftest*
8684
8685fi
8686
8687if test $ac_cv_header_stdc = yes; then
8688  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8689  if test "$cross_compiling" = yes; then :
8690  :
8691else
8692  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8693/* end confdefs.h.  */
8694#include <ctype.h>
8695#include <stdlib.h>
8696#if ((' ' & 0x0FF) == 0x020)
8697# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8698# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8699#else
8700# define ISLOWER(c) \
8701		   (('a' <= (c) && (c) <= 'i') \
8702		     || ('j' <= (c) && (c) <= 'r') \
8703		     || ('s' <= (c) && (c) <= 'z'))
8704# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8705#endif
8706
8707#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8708int
8709main ()
8710{
8711  int i;
8712  for (i = 0; i < 256; i++)
8713    if (XOR (islower (i), ISLOWER (i))
8714	|| toupper (i) != TOUPPER (i))
8715      return 2;
8716  return 0;
8717}
8718_ACEOF
8719if ac_fn_c_try_run "$LINENO"; then :
8720
8721else
8722  ac_cv_header_stdc=no
8723fi
8724rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8725  conftest.$ac_objext conftest.beam conftest.$ac_ext
8726fi
8727
8728fi
8729fi
8730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8731$as_echo "$ac_cv_header_stdc" >&6; }
8732if test $ac_cv_header_stdc = yes; then
8733
8734$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8735
8736fi
8737
8738# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8739for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8740		  inttypes.h stdint.h unistd.h
8741do :
8742  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8743ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8744"
8745if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8746  cat >>confdefs.h <<_ACEOF
8747#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8748_ACEOF
8749
8750fi
8751
8752done
8753
8754
8755for ac_header in dlfcn.h
8756do :
8757  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8758"
8759if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8760  cat >>confdefs.h <<_ACEOF
8761#define HAVE_DLFCN_H 1
8762_ACEOF
8763
8764fi
8765
8766done
8767
8768
8769
8770
8771
8772# Set options
8773
8774
8775
8776        enable_dlopen=no
8777
8778
8779  enable_win32_dll=no
8780
8781
8782            # Check whether --enable-shared was given.
8783if test "${enable_shared+set}" = set; then :
8784  enableval=$enable_shared; p=${PACKAGE-default}
8785    case $enableval in
8786    yes) enable_shared=yes ;;
8787    no) enable_shared=no ;;
8788    *)
8789      enable_shared=no
8790      # Look at the argument we got.  We use all the common list separators.
8791      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8792      for pkg in $enableval; do
8793	IFS=$lt_save_ifs
8794	if test "X$pkg" = "X$p"; then
8795	  enable_shared=yes
8796	fi
8797      done
8798      IFS=$lt_save_ifs
8799      ;;
8800    esac
8801else
8802  enable_shared=yes
8803fi
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815# Check whether --with-pic was given.
8816if test "${with_pic+set}" = set; then :
8817  withval=$with_pic; lt_p=${PACKAGE-default}
8818    case $withval in
8819    yes|no) pic_mode=$withval ;;
8820    *)
8821      pic_mode=default
8822      # Look at the argument we got.  We use all the common list separators.
8823      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8824      for lt_pkg in $withval; do
8825	IFS=$lt_save_ifs
8826	if test "X$lt_pkg" = "X$lt_p"; then
8827	  pic_mode=yes
8828	fi
8829      done
8830      IFS=$lt_save_ifs
8831      ;;
8832    esac
8833else
8834  pic_mode=default
8835fi
8836
8837
8838
8839
8840
8841
8842
8843
8844  # Check whether --enable-fast-install was given.
8845if test "${enable_fast_install+set}" = set; then :
8846  enableval=$enable_fast_install; p=${PACKAGE-default}
8847    case $enableval in
8848    yes) enable_fast_install=yes ;;
8849    no) enable_fast_install=no ;;
8850    *)
8851      enable_fast_install=no
8852      # Look at the argument we got.  We use all the common list separators.
8853      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8854      for pkg in $enableval; do
8855	IFS=$lt_save_ifs
8856	if test "X$pkg" = "X$p"; then
8857	  enable_fast_install=yes
8858	fi
8859      done
8860      IFS=$lt_save_ifs
8861      ;;
8862    esac
8863else
8864  enable_fast_install=yes
8865fi
8866
8867
8868
8869
8870
8871
8872
8873
8874  shared_archive_member_spec=
8875case $host,$enable_shared in
8876power*-*-aix[5-9]*,yes)
8877  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8878$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8879
8880# Check whether --with-aix-soname was given.
8881if test "${with_aix_soname+set}" = set; then :
8882  withval=$with_aix_soname; case $withval in
8883    aix|svr4|both)
8884      ;;
8885    *)
8886      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8887      ;;
8888    esac
8889    lt_cv_with_aix_soname=$with_aix_soname
8890else
8891  if ${lt_cv_with_aix_soname+:} false; then :
8892  $as_echo_n "(cached) " >&6
8893else
8894  lt_cv_with_aix_soname=aix
8895fi
8896
8897    with_aix_soname=$lt_cv_with_aix_soname
8898fi
8899
8900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8901$as_echo "$with_aix_soname" >&6; }
8902  if test aix != "$with_aix_soname"; then
8903    # For the AIX way of multilib, we name the shared archive member
8904    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8905    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8906    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8907    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8908    if test 64 = "${OBJECT_MODE-32}"; then
8909      shared_archive_member_spec=shr_64
8910    else
8911      shared_archive_member_spec=shr
8912    fi
8913  fi
8914  ;;
8915*)
8916  with_aix_soname=aix
8917  ;;
8918esac
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929# This can be used to rebuild libtool when needed
8930LIBTOOL_DEPS=$ltmain
8931
8932# Always use our own libtool.
8933LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964test -z "$LN_S" && LN_S="ln -s"
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979if test -n "${ZSH_VERSION+set}"; then
8980   setopt NO_GLOB_SUBST
8981fi
8982
8983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8984$as_echo_n "checking for objdir... " >&6; }
8985if ${lt_cv_objdir+:} false; then :
8986  $as_echo_n "(cached) " >&6
8987else
8988  rm -f .libs 2>/dev/null
8989mkdir .libs 2>/dev/null
8990if test -d .libs; then
8991  lt_cv_objdir=.libs
8992else
8993  # MS-DOS does not allow filenames that begin with a dot.
8994  lt_cv_objdir=_libs
8995fi
8996rmdir .libs 2>/dev/null
8997fi
8998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8999$as_echo "$lt_cv_objdir" >&6; }
9000objdir=$lt_cv_objdir
9001
9002
9003
9004
9005
9006cat >>confdefs.h <<_ACEOF
9007#define LT_OBJDIR "$lt_cv_objdir/"
9008_ACEOF
9009
9010
9011
9012
9013case $host_os in
9014aix3*)
9015  # AIX sometimes has problems with the GCC collect2 program.  For some
9016  # reason, if we set the COLLECT_NAMES environment variable, the problems
9017  # vanish in a puff of smoke.
9018  if test set != "${COLLECT_NAMES+set}"; then
9019    COLLECT_NAMES=
9020    export COLLECT_NAMES
9021  fi
9022  ;;
9023esac
9024
9025# Global variables:
9026ofile=libtool
9027can_build_shared=yes
9028
9029# All known linkers require a '.a' archive for static linking (except MSVC,
9030# which needs '.lib').
9031libext=a
9032
9033with_gnu_ld=$lt_cv_prog_gnu_ld
9034
9035old_CC=$CC
9036old_CFLAGS=$CFLAGS
9037
9038# Set sane defaults for various variables
9039test -z "$CC" && CC=cc
9040test -z "$LTCC" && LTCC=$CC
9041test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9042test -z "$LD" && LD=ld
9043test -z "$ac_objext" && ac_objext=o
9044
9045func_cc_basename $compiler
9046cc_basename=$func_cc_basename_result
9047
9048
9049# Only perform the check for file, if the check method requires it
9050test -z "$MAGIC_CMD" && MAGIC_CMD=file
9051case $deplibs_check_method in
9052file_magic*)
9053  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9054    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9055$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9056if ${lt_cv_path_MAGIC_CMD+:} false; then :
9057  $as_echo_n "(cached) " >&6
9058else
9059  case $MAGIC_CMD in
9060[\\/*] |  ?:[\\/]*)
9061  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9062  ;;
9063*)
9064  lt_save_MAGIC_CMD=$MAGIC_CMD
9065  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9066  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9067  for ac_dir in $ac_dummy; do
9068    IFS=$lt_save_ifs
9069    test -z "$ac_dir" && ac_dir=.
9070    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9071      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9072      if test -n "$file_magic_test_file"; then
9073	case $deplibs_check_method in
9074	"file_magic "*)
9075	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9076	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9077	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9078	    $EGREP "$file_magic_regex" > /dev/null; then
9079	    :
9080	  else
9081	    cat <<_LT_EOF 1>&2
9082
9083*** Warning: the command libtool uses to detect shared libraries,
9084*** $file_magic_cmd, produces output that libtool cannot recognize.
9085*** The result is that libtool may fail to recognize shared libraries
9086*** as such.  This will affect the creation of libtool libraries that
9087*** depend on shared libraries, but programs linked with such libtool
9088*** libraries will work regardless of this problem.  Nevertheless, you
9089*** may want to report the problem to your system manager and/or to
9090*** bug-libtool@gnu.org
9091
9092_LT_EOF
9093	  fi ;;
9094	esac
9095      fi
9096      break
9097    fi
9098  done
9099  IFS=$lt_save_ifs
9100  MAGIC_CMD=$lt_save_MAGIC_CMD
9101  ;;
9102esac
9103fi
9104
9105MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9106if test -n "$MAGIC_CMD"; then
9107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9108$as_echo "$MAGIC_CMD" >&6; }
9109else
9110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9111$as_echo "no" >&6; }
9112fi
9113
9114
9115
9116
9117
9118if test -z "$lt_cv_path_MAGIC_CMD"; then
9119  if test -n "$ac_tool_prefix"; then
9120    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9121$as_echo_n "checking for file... " >&6; }
9122if ${lt_cv_path_MAGIC_CMD+:} false; then :
9123  $as_echo_n "(cached) " >&6
9124else
9125  case $MAGIC_CMD in
9126[\\/*] |  ?:[\\/]*)
9127  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9128  ;;
9129*)
9130  lt_save_MAGIC_CMD=$MAGIC_CMD
9131  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9132  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9133  for ac_dir in $ac_dummy; do
9134    IFS=$lt_save_ifs
9135    test -z "$ac_dir" && ac_dir=.
9136    if test -f "$ac_dir/file"; then
9137      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9138      if test -n "$file_magic_test_file"; then
9139	case $deplibs_check_method in
9140	"file_magic "*)
9141	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9142	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9143	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9144	    $EGREP "$file_magic_regex" > /dev/null; then
9145	    :
9146	  else
9147	    cat <<_LT_EOF 1>&2
9148
9149*** Warning: the command libtool uses to detect shared libraries,
9150*** $file_magic_cmd, produces output that libtool cannot recognize.
9151*** The result is that libtool may fail to recognize shared libraries
9152*** as such.  This will affect the creation of libtool libraries that
9153*** depend on shared libraries, but programs linked with such libtool
9154*** libraries will work regardless of this problem.  Nevertheless, you
9155*** may want to report the problem to your system manager and/or to
9156*** bug-libtool@gnu.org
9157
9158_LT_EOF
9159	  fi ;;
9160	esac
9161      fi
9162      break
9163    fi
9164  done
9165  IFS=$lt_save_ifs
9166  MAGIC_CMD=$lt_save_MAGIC_CMD
9167  ;;
9168esac
9169fi
9170
9171MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9172if test -n "$MAGIC_CMD"; then
9173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9174$as_echo "$MAGIC_CMD" >&6; }
9175else
9176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9177$as_echo "no" >&6; }
9178fi
9179
9180
9181  else
9182    MAGIC_CMD=:
9183  fi
9184fi
9185
9186  fi
9187  ;;
9188esac
9189
9190# Use C for the default configuration in the libtool script
9191
9192lt_save_CC=$CC
9193ac_ext=c
9194ac_cpp='$CPP $CPPFLAGS'
9195ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9196ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9197ac_compiler_gnu=$ac_cv_c_compiler_gnu
9198
9199
9200# Source file extension for C test sources.
9201ac_ext=c
9202
9203# Object file extension for compiled C test sources.
9204objext=o
9205objext=$objext
9206
9207# Code to be used in simple compile tests
9208lt_simple_compile_test_code="int some_variable = 0;"
9209
9210# Code to be used in simple link tests
9211lt_simple_link_test_code='int main(){return(0);}'
9212
9213
9214
9215
9216
9217
9218
9219# If no C compiler was specified, use CC.
9220LTCC=${LTCC-"$CC"}
9221
9222# If no C compiler flags were specified, use CFLAGS.
9223LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9224
9225# Allow CC to be a program name with arguments.
9226compiler=$CC
9227
9228# Save the default compiler, since it gets overwritten when the other
9229# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9230compiler_DEFAULT=$CC
9231
9232# save warnings/boilerplate of simple test code
9233ac_outfile=conftest.$ac_objext
9234echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9235eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9236_lt_compiler_boilerplate=`cat conftest.err`
9237$RM conftest*
9238
9239ac_outfile=conftest.$ac_objext
9240echo "$lt_simple_link_test_code" >conftest.$ac_ext
9241eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9242_lt_linker_boilerplate=`cat conftest.err`
9243$RM -r conftest*
9244
9245
9246## CAVEAT EMPTOR:
9247## There is no encapsulation within the following macros, do not change
9248## the running order or otherwise move them around unless you know exactly
9249## what you are doing...
9250if test -n "$compiler"; then
9251
9252lt_prog_compiler_no_builtin_flag=
9253
9254if test yes = "$GCC"; then
9255  case $cc_basename in
9256  nvcc*)
9257    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9258  *)
9259    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9260  esac
9261
9262  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9263$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9264if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9265  $as_echo_n "(cached) " >&6
9266else
9267  lt_cv_prog_compiler_rtti_exceptions=no
9268   ac_outfile=conftest.$ac_objext
9269   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9270   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9271   # Insert the option either (1) after the last *FLAGS variable, or
9272   # (2) before a word containing "conftest.", or (3) at the end.
9273   # Note that $ac_compile itself does not contain backslashes and begins
9274   # with a dollar sign (not a hyphen), so the echo should work correctly.
9275   # The option is referenced via a variable to avoid confusing sed.
9276   lt_compile=`echo "$ac_compile" | $SED \
9277   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9278   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9279   -e 's:$: $lt_compiler_flag:'`
9280   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9281   (eval "$lt_compile" 2>conftest.err)
9282   ac_status=$?
9283   cat conftest.err >&5
9284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9285   if (exit $ac_status) && test -s "$ac_outfile"; then
9286     # The compiler can only warn and ignore the option if not recognized
9287     # So say no if there are warnings other than the usual output.
9288     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9289     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9290     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9291       lt_cv_prog_compiler_rtti_exceptions=yes
9292     fi
9293   fi
9294   $RM conftest*
9295
9296fi
9297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9298$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9299
9300if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9301    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9302else
9303    :
9304fi
9305
9306fi
9307
9308
9309
9310
9311
9312
9313  lt_prog_compiler_wl=
9314lt_prog_compiler_pic=
9315lt_prog_compiler_static=
9316
9317
9318  if test yes = "$GCC"; then
9319    lt_prog_compiler_wl='-Wl,'
9320    lt_prog_compiler_static='-static'
9321
9322    case $host_os in
9323      aix*)
9324      # All AIX code is PIC.
9325      if test ia64 = "$host_cpu"; then
9326	# AIX 5 now supports IA64 processor
9327	lt_prog_compiler_static='-Bstatic'
9328      fi
9329      lt_prog_compiler_pic='-fPIC'
9330      ;;
9331
9332    amigaos*)
9333      case $host_cpu in
9334      powerpc)
9335            # see comment about AmigaOS4 .so support
9336            lt_prog_compiler_pic='-fPIC'
9337        ;;
9338      m68k)
9339            # FIXME: we need at least 68020 code to build shared libraries, but
9340            # adding the '-m68020' flag to GCC prevents building anything better,
9341            # like '-m68040'.
9342            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9343        ;;
9344      esac
9345      ;;
9346
9347    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9348      # PIC is the default for these OSes.
9349      ;;
9350
9351    mingw* | cygwin* | pw32* | os2* | cegcc*)
9352      # This hack is so that the source file can tell whether it is being
9353      # built for inclusion in a dll (and should export symbols for example).
9354      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9355      # (--disable-auto-import) libraries
9356      lt_prog_compiler_pic='-DDLL_EXPORT'
9357      case $host_os in
9358      os2*)
9359	lt_prog_compiler_static='$wl-static'
9360	;;
9361      esac
9362      ;;
9363
9364    darwin* | rhapsody*)
9365      # PIC is the default on this platform
9366      # Common symbols not allowed in MH_DYLIB files
9367      lt_prog_compiler_pic='-fno-common'
9368      ;;
9369
9370    haiku*)
9371      # PIC is the default for Haiku.
9372      # The "-static" flag exists, but is broken.
9373      lt_prog_compiler_static=
9374      ;;
9375
9376    hpux*)
9377      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9378      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9379      # sets the default TLS model and affects inlining.
9380      case $host_cpu in
9381      hppa*64*)
9382	# +Z the default
9383	;;
9384      *)
9385	lt_prog_compiler_pic='-fPIC'
9386	;;
9387      esac
9388      ;;
9389
9390    interix[3-9]*)
9391      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9392      # Instead, we relocate shared libraries at runtime.
9393      ;;
9394
9395    msdosdjgpp*)
9396      # Just because we use GCC doesn't mean we suddenly get shared libraries
9397      # on systems that don't support them.
9398      lt_prog_compiler_can_build_shared=no
9399      enable_shared=no
9400      ;;
9401
9402    *nto* | *qnx*)
9403      # QNX uses GNU C++, but need to define -shared option too, otherwise
9404      # it will coredump.
9405      lt_prog_compiler_pic='-fPIC -shared'
9406      ;;
9407
9408    sysv4*MP*)
9409      if test -d /usr/nec; then
9410	lt_prog_compiler_pic=-Kconform_pic
9411      fi
9412      ;;
9413
9414    *)
9415      lt_prog_compiler_pic='-fPIC'
9416      ;;
9417    esac
9418
9419    case $cc_basename in
9420    nvcc*) # Cuda Compiler Driver 2.2
9421      lt_prog_compiler_wl='-Xlinker '
9422      if test -n "$lt_prog_compiler_pic"; then
9423        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9424      fi
9425      ;;
9426    esac
9427  else
9428    # PORTME Check for flag to pass linker flags through the system compiler.
9429    case $host_os in
9430    aix*)
9431      lt_prog_compiler_wl='-Wl,'
9432      if test ia64 = "$host_cpu"; then
9433	# AIX 5 now supports IA64 processor
9434	lt_prog_compiler_static='-Bstatic'
9435      else
9436	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9437      fi
9438      ;;
9439
9440    darwin* | rhapsody*)
9441      # PIC is the default on this platform
9442      # Common symbols not allowed in MH_DYLIB files
9443      lt_prog_compiler_pic='-fno-common'
9444      case $cc_basename in
9445      nagfor*)
9446        # NAG Fortran compiler
9447        lt_prog_compiler_wl='-Wl,-Wl,,'
9448        lt_prog_compiler_pic='-PIC'
9449        lt_prog_compiler_static='-Bstatic'
9450        ;;
9451      esac
9452      ;;
9453
9454    mingw* | cygwin* | pw32* | os2* | cegcc*)
9455      # This hack is so that the source file can tell whether it is being
9456      # built for inclusion in a dll (and should export symbols for example).
9457      lt_prog_compiler_pic='-DDLL_EXPORT'
9458      case $host_os in
9459      os2*)
9460	lt_prog_compiler_static='$wl-static'
9461	;;
9462      esac
9463      ;;
9464
9465    hpux9* | hpux10* | hpux11*)
9466      lt_prog_compiler_wl='-Wl,'
9467      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9468      # not for PA HP-UX.
9469      case $host_cpu in
9470      hppa*64*|ia64*)
9471	# +Z the default
9472	;;
9473      *)
9474	lt_prog_compiler_pic='+Z'
9475	;;
9476      esac
9477      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9478      lt_prog_compiler_static='$wl-a ${wl}archive'
9479      ;;
9480
9481    irix5* | irix6* | nonstopux*)
9482      lt_prog_compiler_wl='-Wl,'
9483      # PIC (with -KPIC) is the default.
9484      lt_prog_compiler_static='-non_shared'
9485      ;;
9486
9487    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9488      case $cc_basename in
9489      # old Intel for x86_64, which still supported -KPIC.
9490      ecc*)
9491	lt_prog_compiler_wl='-Wl,'
9492	lt_prog_compiler_pic='-KPIC'
9493	lt_prog_compiler_static='-static'
9494        ;;
9495      # icc used to be incompatible with GCC.
9496      # ICC 10 doesn't accept -KPIC any more.
9497      icc* | ifort*)
9498	lt_prog_compiler_wl='-Wl,'
9499	lt_prog_compiler_pic='-fPIC'
9500	lt_prog_compiler_static='-static'
9501        ;;
9502      # Lahey Fortran 8.1.
9503      lf95*)
9504	lt_prog_compiler_wl='-Wl,'
9505	lt_prog_compiler_pic='--shared'
9506	lt_prog_compiler_static='--static'
9507	;;
9508      nagfor*)
9509	# NAG Fortran compiler
9510	lt_prog_compiler_wl='-Wl,-Wl,,'
9511	lt_prog_compiler_pic='-PIC'
9512	lt_prog_compiler_static='-Bstatic'
9513	;;
9514      tcc*)
9515	# Fabrice Bellard et al's Tiny C Compiler
9516	lt_prog_compiler_wl='-Wl,'
9517	lt_prog_compiler_pic='-fPIC'
9518	lt_prog_compiler_static='-static'
9519	;;
9520      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9521        # Portland Group compilers (*not* the Pentium gcc compiler,
9522	# which looks to be a dead project)
9523	lt_prog_compiler_wl='-Wl,'
9524	lt_prog_compiler_pic='-fpic'
9525	lt_prog_compiler_static='-Bstatic'
9526        ;;
9527      ccc*)
9528        lt_prog_compiler_wl='-Wl,'
9529        # All Alpha code is PIC.
9530        lt_prog_compiler_static='-non_shared'
9531        ;;
9532      xl* | bgxl* | bgf* | mpixl*)
9533	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9534	lt_prog_compiler_wl='-Wl,'
9535	lt_prog_compiler_pic='-qpic'
9536	lt_prog_compiler_static='-qstaticlink'
9537	;;
9538      *)
9539	case `$CC -V 2>&1 | sed 5q` in
9540	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9541	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9542	  lt_prog_compiler_pic='-KPIC'
9543	  lt_prog_compiler_static='-Bstatic'
9544	  lt_prog_compiler_wl=''
9545	  ;;
9546	*Sun\ F* | *Sun*Fortran*)
9547	  lt_prog_compiler_pic='-KPIC'
9548	  lt_prog_compiler_static='-Bstatic'
9549	  lt_prog_compiler_wl='-Qoption ld '
9550	  ;;
9551	*Sun\ C*)
9552	  # Sun C 5.9
9553	  lt_prog_compiler_pic='-KPIC'
9554	  lt_prog_compiler_static='-Bstatic'
9555	  lt_prog_compiler_wl='-Wl,'
9556	  ;;
9557        *Intel*\ [CF]*Compiler*)
9558	  lt_prog_compiler_wl='-Wl,'
9559	  lt_prog_compiler_pic='-fPIC'
9560	  lt_prog_compiler_static='-static'
9561	  ;;
9562	*Portland\ Group*)
9563	  lt_prog_compiler_wl='-Wl,'
9564	  lt_prog_compiler_pic='-fpic'
9565	  lt_prog_compiler_static='-Bstatic'
9566	  ;;
9567	esac
9568	;;
9569      esac
9570      ;;
9571
9572    newsos6)
9573      lt_prog_compiler_pic='-KPIC'
9574      lt_prog_compiler_static='-Bstatic'
9575      ;;
9576
9577    *nto* | *qnx*)
9578      # QNX uses GNU C++, but need to define -shared option too, otherwise
9579      # it will coredump.
9580      lt_prog_compiler_pic='-fPIC -shared'
9581      ;;
9582
9583    osf3* | osf4* | osf5*)
9584      lt_prog_compiler_wl='-Wl,'
9585      # All OSF/1 code is PIC.
9586      lt_prog_compiler_static='-non_shared'
9587      ;;
9588
9589    rdos*)
9590      lt_prog_compiler_static='-non_shared'
9591      ;;
9592
9593    solaris*)
9594      lt_prog_compiler_pic='-KPIC'
9595      lt_prog_compiler_static='-Bstatic'
9596      case $cc_basename in
9597      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9598	lt_prog_compiler_wl='-Qoption ld ';;
9599      *)
9600	lt_prog_compiler_wl='-Wl,';;
9601      esac
9602      ;;
9603
9604    sunos4*)
9605      lt_prog_compiler_wl='-Qoption ld '
9606      lt_prog_compiler_pic='-PIC'
9607      lt_prog_compiler_static='-Bstatic'
9608      ;;
9609
9610    sysv4 | sysv4.2uw2* | sysv4.3*)
9611      lt_prog_compiler_wl='-Wl,'
9612      lt_prog_compiler_pic='-KPIC'
9613      lt_prog_compiler_static='-Bstatic'
9614      ;;
9615
9616    sysv4*MP*)
9617      if test -d /usr/nec; then
9618	lt_prog_compiler_pic='-Kconform_pic'
9619	lt_prog_compiler_static='-Bstatic'
9620      fi
9621      ;;
9622
9623    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9624      lt_prog_compiler_wl='-Wl,'
9625      lt_prog_compiler_pic='-KPIC'
9626      lt_prog_compiler_static='-Bstatic'
9627      ;;
9628
9629    unicos*)
9630      lt_prog_compiler_wl='-Wl,'
9631      lt_prog_compiler_can_build_shared=no
9632      ;;
9633
9634    uts4*)
9635      lt_prog_compiler_pic='-pic'
9636      lt_prog_compiler_static='-Bstatic'
9637      ;;
9638
9639    *)
9640      lt_prog_compiler_can_build_shared=no
9641      ;;
9642    esac
9643  fi
9644
9645case $host_os in
9646  # For platforms that do not support PIC, -DPIC is meaningless:
9647  *djgpp*)
9648    lt_prog_compiler_pic=
9649    ;;
9650  *)
9651    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9652    ;;
9653esac
9654
9655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9656$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9657if ${lt_cv_prog_compiler_pic+:} false; then :
9658  $as_echo_n "(cached) " >&6
9659else
9660  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9661fi
9662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9663$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9664lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9665
9666#
9667# Check to make sure the PIC flag actually works.
9668#
9669if test -n "$lt_prog_compiler_pic"; then
9670  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9671$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9672if ${lt_cv_prog_compiler_pic_works+:} false; then :
9673  $as_echo_n "(cached) " >&6
9674else
9675  lt_cv_prog_compiler_pic_works=no
9676   ac_outfile=conftest.$ac_objext
9677   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9678   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9679   # Insert the option either (1) after the last *FLAGS variable, or
9680   # (2) before a word containing "conftest.", or (3) at the end.
9681   # Note that $ac_compile itself does not contain backslashes and begins
9682   # with a dollar sign (not a hyphen), so the echo should work correctly.
9683   # The option is referenced via a variable to avoid confusing sed.
9684   lt_compile=`echo "$ac_compile" | $SED \
9685   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9686   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9687   -e 's:$: $lt_compiler_flag:'`
9688   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9689   (eval "$lt_compile" 2>conftest.err)
9690   ac_status=$?
9691   cat conftest.err >&5
9692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693   if (exit $ac_status) && test -s "$ac_outfile"; then
9694     # The compiler can only warn and ignore the option if not recognized
9695     # So say no if there are warnings other than the usual output.
9696     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9697     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9698     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9699       lt_cv_prog_compiler_pic_works=yes
9700     fi
9701   fi
9702   $RM conftest*
9703
9704fi
9705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9706$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9707
9708if test yes = "$lt_cv_prog_compiler_pic_works"; then
9709    case $lt_prog_compiler_pic in
9710     "" | " "*) ;;
9711     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9712     esac
9713else
9714    lt_prog_compiler_pic=
9715     lt_prog_compiler_can_build_shared=no
9716fi
9717
9718fi
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730#
9731# Check to make sure the static flag actually works.
9732#
9733wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9735$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9736if ${lt_cv_prog_compiler_static_works+:} false; then :
9737  $as_echo_n "(cached) " >&6
9738else
9739  lt_cv_prog_compiler_static_works=no
9740   save_LDFLAGS=$LDFLAGS
9741   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9742   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9743   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9744     # The linker can only warn and ignore the option if not recognized
9745     # So say no if there are warnings
9746     if test -s conftest.err; then
9747       # Append any errors to the config.log.
9748       cat conftest.err 1>&5
9749       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9750       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9751       if diff conftest.exp conftest.er2 >/dev/null; then
9752         lt_cv_prog_compiler_static_works=yes
9753       fi
9754     else
9755       lt_cv_prog_compiler_static_works=yes
9756     fi
9757   fi
9758   $RM -r conftest*
9759   LDFLAGS=$save_LDFLAGS
9760
9761fi
9762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9763$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9764
9765if test yes = "$lt_cv_prog_compiler_static_works"; then
9766    :
9767else
9768    lt_prog_compiler_static=
9769fi
9770
9771
9772
9773
9774
9775
9776
9777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9778$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9779if ${lt_cv_prog_compiler_c_o+:} false; then :
9780  $as_echo_n "(cached) " >&6
9781else
9782  lt_cv_prog_compiler_c_o=no
9783   $RM -r conftest 2>/dev/null
9784   mkdir conftest
9785   cd conftest
9786   mkdir out
9787   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9788
9789   lt_compiler_flag="-o out/conftest2.$ac_objext"
9790   # Insert the option either (1) after the last *FLAGS variable, or
9791   # (2) before a word containing "conftest.", or (3) at the end.
9792   # Note that $ac_compile itself does not contain backslashes and begins
9793   # with a dollar sign (not a hyphen), so the echo should work correctly.
9794   lt_compile=`echo "$ac_compile" | $SED \
9795   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9796   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9797   -e 's:$: $lt_compiler_flag:'`
9798   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9799   (eval "$lt_compile" 2>out/conftest.err)
9800   ac_status=$?
9801   cat out/conftest.err >&5
9802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9804   then
9805     # The compiler can only warn and ignore the option if not recognized
9806     # So say no if there are warnings
9807     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9808     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9809     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9810       lt_cv_prog_compiler_c_o=yes
9811     fi
9812   fi
9813   chmod u+w . 2>&5
9814   $RM conftest*
9815   # SGI C++ compiler will create directory out/ii_files/ for
9816   # template instantiation
9817   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9818   $RM out/* && rmdir out
9819   cd ..
9820   $RM -r conftest
9821   $RM conftest*
9822
9823fi
9824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9825$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9826
9827
9828
9829
9830
9831
9832  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9833$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9834if ${lt_cv_prog_compiler_c_o+:} false; then :
9835  $as_echo_n "(cached) " >&6
9836else
9837  lt_cv_prog_compiler_c_o=no
9838   $RM -r conftest 2>/dev/null
9839   mkdir conftest
9840   cd conftest
9841   mkdir out
9842   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9843
9844   lt_compiler_flag="-o out/conftest2.$ac_objext"
9845   # Insert the option either (1) after the last *FLAGS variable, or
9846   # (2) before a word containing "conftest.", or (3) at the end.
9847   # Note that $ac_compile itself does not contain backslashes and begins
9848   # with a dollar sign (not a hyphen), so the echo should work correctly.
9849   lt_compile=`echo "$ac_compile" | $SED \
9850   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9851   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9852   -e 's:$: $lt_compiler_flag:'`
9853   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9854   (eval "$lt_compile" 2>out/conftest.err)
9855   ac_status=$?
9856   cat out/conftest.err >&5
9857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9859   then
9860     # The compiler can only warn and ignore the option if not recognized
9861     # So say no if there are warnings
9862     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9863     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9864     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9865       lt_cv_prog_compiler_c_o=yes
9866     fi
9867   fi
9868   chmod u+w . 2>&5
9869   $RM conftest*
9870   # SGI C++ compiler will create directory out/ii_files/ for
9871   # template instantiation
9872   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9873   $RM out/* && rmdir out
9874   cd ..
9875   $RM -r conftest
9876   $RM conftest*
9877
9878fi
9879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9880$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9881
9882
9883
9884
9885hard_links=nottested
9886if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9887  # do not overwrite the value of need_locks provided by the user
9888  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9889$as_echo_n "checking if we can lock with hard links... " >&6; }
9890  hard_links=yes
9891  $RM conftest*
9892  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9893  touch conftest.a
9894  ln conftest.a conftest.b 2>&5 || hard_links=no
9895  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9897$as_echo "$hard_links" >&6; }
9898  if test no = "$hard_links"; then
9899    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9900$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9901    need_locks=warn
9902  fi
9903else
9904  need_locks=no
9905fi
9906
9907
9908
9909
9910
9911
9912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9913$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9914
9915  runpath_var=
9916  allow_undefined_flag=
9917  always_export_symbols=no
9918  archive_cmds=
9919  archive_expsym_cmds=
9920  compiler_needs_object=no
9921  enable_shared_with_static_runtimes=no
9922  export_dynamic_flag_spec=
9923  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9924  hardcode_automatic=no
9925  hardcode_direct=no
9926  hardcode_direct_absolute=no
9927  hardcode_libdir_flag_spec=
9928  hardcode_libdir_separator=
9929  hardcode_minus_L=no
9930  hardcode_shlibpath_var=unsupported
9931  inherit_rpath=no
9932  link_all_deplibs=unknown
9933  module_cmds=
9934  module_expsym_cmds=
9935  old_archive_from_new_cmds=
9936  old_archive_from_expsyms_cmds=
9937  thread_safe_flag_spec=
9938  whole_archive_flag_spec=
9939  # include_expsyms should be a list of space-separated symbols to be *always*
9940  # included in the symbol list
9941  include_expsyms=
9942  # exclude_expsyms can be an extended regexp of symbols to exclude
9943  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9944  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9945  # as well as any symbol that contains 'd'.
9946  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9947  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9948  # platforms (ab)use it in PIC code, but their linkers get confused if
9949  # the symbol is explicitly referenced.  Since portable code cannot
9950  # rely on this symbol name, it's probably fine to never include it in
9951  # preloaded symbol tables.
9952  # Exclude shared library initialization/finalization symbols.
9953  extract_expsyms_cmds=
9954
9955  case $host_os in
9956  cygwin* | mingw* | pw32* | cegcc*)
9957    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9958    # When not using gcc, we currently assume that we are using
9959    # Microsoft Visual C++.
9960    if test yes != "$GCC"; then
9961      with_gnu_ld=no
9962    fi
9963    ;;
9964  interix*)
9965    # we just hope/assume this is gcc and not c89 (= MSVC++)
9966    with_gnu_ld=yes
9967    ;;
9968  openbsd* | bitrig*)
9969    with_gnu_ld=no
9970    ;;
9971  esac
9972
9973  ld_shlibs=yes
9974
9975  # On some targets, GNU ld is compatible enough with the native linker
9976  # that we're better off using the native interface for both.
9977  lt_use_gnu_ld_interface=no
9978  if test yes = "$with_gnu_ld"; then
9979    case $host_os in
9980      aix*)
9981	# The AIX port of GNU ld has always aspired to compatibility
9982	# with the native linker.  However, as the warning in the GNU ld
9983	# block says, versions before 2.19.5* couldn't really create working
9984	# shared libraries, regardless of the interface used.
9985	case `$LD -v 2>&1` in
9986	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9987	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9988	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9989	  *)
9990	    lt_use_gnu_ld_interface=yes
9991	    ;;
9992	esac
9993	;;
9994      *)
9995	lt_use_gnu_ld_interface=yes
9996	;;
9997    esac
9998  fi
9999
10000  if test yes = "$lt_use_gnu_ld_interface"; then
10001    # If archive_cmds runs LD, not CC, wlarc should be empty
10002    wlarc='$wl'
10003
10004    # Set some defaults for GNU ld with shared library support. These
10005    # are reset later if shared libraries are not supported. Putting them
10006    # here allows them to be overridden if necessary.
10007    runpath_var=LD_RUN_PATH
10008    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10009    export_dynamic_flag_spec='$wl--export-dynamic'
10010    # ancient GNU ld didn't support --whole-archive et. al.
10011    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10012      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10013    else
10014      whole_archive_flag_spec=
10015    fi
10016    supports_anon_versioning=no
10017    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10018      *GNU\ gold*) supports_anon_versioning=yes ;;
10019      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10020      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10021      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10022      *\ 2.11.*) ;; # other 2.11 versions
10023      *) supports_anon_versioning=yes ;;
10024    esac
10025
10026    # See if GNU ld supports shared libraries.
10027    case $host_os in
10028    aix[3-9]*)
10029      # On AIX/PPC, the GNU linker is very broken
10030      if test ia64 != "$host_cpu"; then
10031	ld_shlibs=no
10032	cat <<_LT_EOF 1>&2
10033
10034*** Warning: the GNU linker, at least up to release 2.19, is reported
10035*** to be unable to reliably create shared libraries on AIX.
10036*** Therefore, libtool is disabling shared libraries support.  If you
10037*** really care for shared libraries, you may want to install binutils
10038*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10039*** You will then need to restart the configuration process.
10040
10041_LT_EOF
10042      fi
10043      ;;
10044
10045    amigaos*)
10046      case $host_cpu in
10047      powerpc)
10048            # see comment about AmigaOS4 .so support
10049            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10050            archive_expsym_cmds=''
10051        ;;
10052      m68k)
10053            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)'
10054            hardcode_libdir_flag_spec='-L$libdir'
10055            hardcode_minus_L=yes
10056        ;;
10057      esac
10058      ;;
10059
10060    beos*)
10061      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10062	allow_undefined_flag=unsupported
10063	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10064	# support --undefined.  This deserves some investigation.  FIXME
10065	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10066      else
10067	ld_shlibs=no
10068      fi
10069      ;;
10070
10071    cygwin* | mingw* | pw32* | cegcc*)
10072      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10073      # as there is no search path for DLLs.
10074      hardcode_libdir_flag_spec='-L$libdir'
10075      export_dynamic_flag_spec='$wl--export-all-symbols'
10076      allow_undefined_flag=unsupported
10077      always_export_symbols=no
10078      enable_shared_with_static_runtimes=yes
10079      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'
10080      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10081
10082      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10083        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10084	# If the export-symbols file already is a .def file, use it as
10085	# is; otherwise, prepend EXPORTS...
10086	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10087          cp $export_symbols $output_objdir/$soname.def;
10088        else
10089          echo EXPORTS > $output_objdir/$soname.def;
10090          cat $export_symbols >> $output_objdir/$soname.def;
10091        fi~
10092        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10093      else
10094	ld_shlibs=no
10095      fi
10096      ;;
10097
10098    haiku*)
10099      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10100      link_all_deplibs=yes
10101      ;;
10102
10103    os2*)
10104      hardcode_libdir_flag_spec='-L$libdir'
10105      hardcode_minus_L=yes
10106      allow_undefined_flag=unsupported
10107      shrext_cmds=.dll
10108      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10109	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10110	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10111	$ECHO EXPORTS >> $output_objdir/$libname.def~
10112	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10113	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10114	emximp -o $lib $output_objdir/$libname.def'
10115      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10116	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10117	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10118	$ECHO EXPORTS >> $output_objdir/$libname.def~
10119	prefix_cmds="$SED"~
10120	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10121	  prefix_cmds="$prefix_cmds -e 1d";
10122	fi~
10123	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10124	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10125	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10126	emximp -o $lib $output_objdir/$libname.def'
10127      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10128      enable_shared_with_static_runtimes=yes
10129      ;;
10130
10131    interix[3-9]*)
10132      hardcode_direct=no
10133      hardcode_shlibpath_var=no
10134      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10135      export_dynamic_flag_spec='$wl-E'
10136      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10137      # Instead, shared libraries are loaded at an image base (0x10000000 by
10138      # default) and relocated if they conflict, which is a slow very memory
10139      # consuming and fragmenting process.  To avoid this, we pick a random,
10140      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10141      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10142      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10143      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'
10144      ;;
10145
10146    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10147      tmp_diet=no
10148      if test linux-dietlibc = "$host_os"; then
10149	case $cc_basename in
10150	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10151	esac
10152      fi
10153      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10154	 && test no = "$tmp_diet"
10155      then
10156	tmp_addflag=' $pic_flag'
10157	tmp_sharedflag='-shared'
10158	case $cc_basename,$host_cpu in
10159        pgcc*)				# Portland Group C compiler
10160	  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'
10161	  tmp_addflag=' $pic_flag'
10162	  ;;
10163	pgf77* | pgf90* | pgf95* | pgfortran*)
10164					# Portland Group f77 and f90 compilers
10165	  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'
10166	  tmp_addflag=' $pic_flag -Mnomain' ;;
10167	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10168	  tmp_addflag=' -i_dynamic' ;;
10169	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10170	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10171	ifc* | ifort*)			# Intel Fortran compiler
10172	  tmp_addflag=' -nofor_main' ;;
10173	lf95*)				# Lahey Fortran 8.1
10174	  whole_archive_flag_spec=
10175	  tmp_sharedflag='--shared' ;;
10176        nagfor*)                        # NAGFOR 5.3
10177          tmp_sharedflag='-Wl,-shared' ;;
10178	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10179	  tmp_sharedflag='-qmkshrobj'
10180	  tmp_addflag= ;;
10181	nvcc*)	# Cuda Compiler Driver 2.2
10182	  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'
10183	  compiler_needs_object=yes
10184	  ;;
10185	esac
10186	case `$CC -V 2>&1 | sed 5q` in
10187	*Sun\ C*)			# Sun C 5.9
10188	  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'
10189	  compiler_needs_object=yes
10190	  tmp_sharedflag='-G' ;;
10191	*Sun\ F*)			# Sun Fortran 8.3
10192	  tmp_sharedflag='-G' ;;
10193	esac
10194	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10195
10196        if test yes = "$supports_anon_versioning"; then
10197          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10198            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10199            echo "local: *; };" >> $output_objdir/$libname.ver~
10200            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10201        fi
10202
10203	case $cc_basename in
10204	tcc*)
10205	  export_dynamic_flag_spec='-rdynamic'
10206	  ;;
10207	xlf* | bgf* | bgxlf* | mpixlf*)
10208	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10209	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10210	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10211	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10212	  if test yes = "$supports_anon_versioning"; then
10213	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10214              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10215              echo "local: *; };" >> $output_objdir/$libname.ver~
10216              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10217	  fi
10218	  ;;
10219	esac
10220      else
10221        ld_shlibs=no
10222      fi
10223      ;;
10224
10225    netbsd*)
10226      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10227	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10228	wlarc=
10229      else
10230	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10231	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10232      fi
10233      ;;
10234
10235    solaris*)
10236      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10237	ld_shlibs=no
10238	cat <<_LT_EOF 1>&2
10239
10240*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10241*** create shared libraries on Solaris systems.  Therefore, libtool
10242*** is disabling shared libraries support.  We urge you to upgrade GNU
10243*** binutils to release 2.9.1 or newer.  Another option is to modify
10244*** your PATH or compiler configuration so that the native linker is
10245*** used, and then restart.
10246
10247_LT_EOF
10248      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10249	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10250	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10251      else
10252	ld_shlibs=no
10253      fi
10254      ;;
10255
10256    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10257      case `$LD -v 2>&1` in
10258        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10259	ld_shlibs=no
10260	cat <<_LT_EOF 1>&2
10261
10262*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10263*** reliably create shared libraries on SCO systems.  Therefore, libtool
10264*** is disabling shared libraries support.  We urge you to upgrade GNU
10265*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10266*** your PATH or compiler configuration so that the native linker is
10267*** used, and then restart.
10268
10269_LT_EOF
10270	;;
10271	*)
10272	  # For security reasons, it is highly recommended that you always
10273	  # use absolute paths for naming shared libraries, and exclude the
10274	  # DT_RUNPATH tag from executables and libraries.  But doing so
10275	  # requires that you compile everything twice, which is a pain.
10276	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10277	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10278	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10279	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10280	  else
10281	    ld_shlibs=no
10282	  fi
10283	;;
10284      esac
10285      ;;
10286
10287    sunos4*)
10288      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10289      wlarc=
10290      hardcode_direct=yes
10291      hardcode_shlibpath_var=no
10292      ;;
10293
10294    *)
10295      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10296	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10297	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10298      else
10299	ld_shlibs=no
10300      fi
10301      ;;
10302    esac
10303
10304    if test no = "$ld_shlibs"; then
10305      runpath_var=
10306      hardcode_libdir_flag_spec=
10307      export_dynamic_flag_spec=
10308      whole_archive_flag_spec=
10309    fi
10310  else
10311    # PORTME fill in a description of your system's linker (not GNU ld)
10312    case $host_os in
10313    aix3*)
10314      allow_undefined_flag=unsupported
10315      always_export_symbols=yes
10316      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'
10317      # Note: this linker hardcodes the directories in LIBPATH if there
10318      # are no directories specified by -L.
10319      hardcode_minus_L=yes
10320      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10321	# Neither direct hardcoding nor static linking is supported with a
10322	# broken collect2.
10323	hardcode_direct=unsupported
10324      fi
10325      ;;
10326
10327    aix[4-9]*)
10328      if test ia64 = "$host_cpu"; then
10329	# On IA64, the linker does run time linking by default, so we don't
10330	# have to do anything special.
10331	aix_use_runtimelinking=no
10332	exp_sym_flag='-Bexport'
10333	no_entry_flag=
10334      else
10335	# If we're using GNU nm, then we don't want the "-C" option.
10336	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10337	# Without the "-l" option, or with the "-B" option, AIX nm treats
10338	# weak defined symbols like other global defined symbols, whereas
10339	# GNU nm marks them as "W".
10340	# While the 'weak' keyword is ignored in the Export File, we need
10341	# it in the Import File for the 'aix-soname' feature, so we have
10342	# to replace the "-B" option with "-P" for AIX nm.
10343	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10344	  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'
10345	else
10346	  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'
10347	fi
10348	aix_use_runtimelinking=no
10349
10350	# Test if we are trying to use run time linking or normal
10351	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10352	# have runtime linking enabled, and use it for executables.
10353	# For shared libraries, we enable/disable runtime linking
10354	# depending on the kind of the shared library created -
10355	# when "with_aix_soname,aix_use_runtimelinking" is:
10356	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10357	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10358	#            lib.a           static archive
10359	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10360	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10361	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10362	#            lib.a(lib.so.V) shared, rtl:no
10363	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10364	#            lib.a           static archive
10365	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10366	  for ld_flag in $LDFLAGS; do
10367	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10368	    aix_use_runtimelinking=yes
10369	    break
10370	  fi
10371	  done
10372	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10373	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10374	    # so we don't have lib.a shared libs to link our executables.
10375	    # We have to force runtime linking in this case.
10376	    aix_use_runtimelinking=yes
10377	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10378	  fi
10379	  ;;
10380	esac
10381
10382	exp_sym_flag='-bexport'
10383	no_entry_flag='-bnoentry'
10384      fi
10385
10386      # When large executables or shared objects are built, AIX ld can
10387      # have problems creating the table of contents.  If linking a library
10388      # or program results in "error TOC overflow" add -mminimal-toc to
10389      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10390      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10391
10392      archive_cmds=''
10393      hardcode_direct=yes
10394      hardcode_direct_absolute=yes
10395      hardcode_libdir_separator=':'
10396      link_all_deplibs=yes
10397      file_list_spec='$wl-f,'
10398      case $with_aix_soname,$aix_use_runtimelinking in
10399      aix,*) ;; # traditional, no import file
10400      svr4,* | *,yes) # use import file
10401	# The Import File defines what to hardcode.
10402	hardcode_direct=no
10403	hardcode_direct_absolute=no
10404	;;
10405      esac
10406
10407      if test yes = "$GCC"; then
10408	case $host_os in aix4.[012]|aix4.[012].*)
10409	# We only want to do this on AIX 4.2 and lower, the check
10410	# below for broken collect2 doesn't work under 4.3+
10411	  collect2name=`$CC -print-prog-name=collect2`
10412	  if test -f "$collect2name" &&
10413	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10414	  then
10415	  # We have reworked collect2
10416	  :
10417	  else
10418	  # We have old collect2
10419	  hardcode_direct=unsupported
10420	  # It fails to find uninstalled libraries when the uninstalled
10421	  # path is not listed in the libpath.  Setting hardcode_minus_L
10422	  # to unsupported forces relinking
10423	  hardcode_minus_L=yes
10424	  hardcode_libdir_flag_spec='-L$libdir'
10425	  hardcode_libdir_separator=
10426	  fi
10427	  ;;
10428	esac
10429	shared_flag='-shared'
10430	if test yes = "$aix_use_runtimelinking"; then
10431	  shared_flag="$shared_flag "'$wl-G'
10432	fi
10433	# Need to ensure runtime linking is disabled for the traditional
10434	# shared library, or the linker may eventually find shared libraries
10435	# /with/ Import File - we do not want to mix them.
10436	shared_flag_aix='-shared'
10437	shared_flag_svr4='-shared $wl-G'
10438      else
10439	# not using gcc
10440	if test ia64 = "$host_cpu"; then
10441	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10442	# chokes on -Wl,-G. The following line is correct:
10443	  shared_flag='-G'
10444	else
10445	  if test yes = "$aix_use_runtimelinking"; then
10446	    shared_flag='$wl-G'
10447	  else
10448	    shared_flag='$wl-bM:SRE'
10449	  fi
10450	  shared_flag_aix='$wl-bM:SRE'
10451	  shared_flag_svr4='$wl-G'
10452	fi
10453      fi
10454
10455      export_dynamic_flag_spec='$wl-bexpall'
10456      # It seems that -bexpall does not export symbols beginning with
10457      # underscore (_), so it is better to generate a list of symbols to export.
10458      always_export_symbols=yes
10459      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10460	# Warning - without using the other runtime loading flags (-brtl),
10461	# -berok will link without error, but may produce a broken library.
10462	allow_undefined_flag='-berok'
10463        # Determine the default libpath from the value encoded in an
10464        # empty executable.
10465        if test set = "${lt_cv_aix_libpath+set}"; then
10466  aix_libpath=$lt_cv_aix_libpath
10467else
10468  if ${lt_cv_aix_libpath_+:} false; then :
10469  $as_echo_n "(cached) " >&6
10470else
10471  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10472/* end confdefs.h.  */
10473
10474int
10475main ()
10476{
10477
10478  ;
10479  return 0;
10480}
10481_ACEOF
10482if ac_fn_c_try_link "$LINENO"; then :
10483
10484  lt_aix_libpath_sed='
10485      /Import File Strings/,/^$/ {
10486	  /^0/ {
10487	      s/^0  *\([^ ]*\) *$/\1/
10488	      p
10489	  }
10490      }'
10491  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10492  # Check for a 64-bit object if we didn't find anything.
10493  if test -z "$lt_cv_aix_libpath_"; then
10494    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10495  fi
10496fi
10497rm -f core conftest.err conftest.$ac_objext \
10498    conftest$ac_exeext conftest.$ac_ext
10499  if test -z "$lt_cv_aix_libpath_"; then
10500    lt_cv_aix_libpath_=/usr/lib:/lib
10501  fi
10502
10503fi
10504
10505  aix_libpath=$lt_cv_aix_libpath_
10506fi
10507
10508        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10509        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
10510      else
10511	if test ia64 = "$host_cpu"; then
10512	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10513	  allow_undefined_flag="-z nodefs"
10514	  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"
10515	else
10516	 # Determine the default libpath from the value encoded in an
10517	 # empty executable.
10518	 if test set = "${lt_cv_aix_libpath+set}"; then
10519  aix_libpath=$lt_cv_aix_libpath
10520else
10521  if ${lt_cv_aix_libpath_+:} false; then :
10522  $as_echo_n "(cached) " >&6
10523else
10524  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10525/* end confdefs.h.  */
10526
10527int
10528main ()
10529{
10530
10531  ;
10532  return 0;
10533}
10534_ACEOF
10535if ac_fn_c_try_link "$LINENO"; then :
10536
10537  lt_aix_libpath_sed='
10538      /Import File Strings/,/^$/ {
10539	  /^0/ {
10540	      s/^0  *\([^ ]*\) *$/\1/
10541	      p
10542	  }
10543      }'
10544  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10545  # Check for a 64-bit object if we didn't find anything.
10546  if test -z "$lt_cv_aix_libpath_"; then
10547    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10548  fi
10549fi
10550rm -f core conftest.err conftest.$ac_objext \
10551    conftest$ac_exeext conftest.$ac_ext
10552  if test -z "$lt_cv_aix_libpath_"; then
10553    lt_cv_aix_libpath_=/usr/lib:/lib
10554  fi
10555
10556fi
10557
10558  aix_libpath=$lt_cv_aix_libpath_
10559fi
10560
10561	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10562	  # Warning - without using the other run time loading flags,
10563	  # -berok will link without error, but may produce a broken library.
10564	  no_undefined_flag=' $wl-bernotok'
10565	  allow_undefined_flag=' $wl-berok'
10566	  if test yes = "$with_gnu_ld"; then
10567	    # We only use this code for GNU lds that support --whole-archive.
10568	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10569	  else
10570	    # Exported symbols can be pulled into shared objects from archives
10571	    whole_archive_flag_spec='$convenience'
10572	  fi
10573	  archive_cmds_need_lc=yes
10574	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10575	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10576	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10577	  if test svr4 != "$with_aix_soname"; then
10578	    # This is similar to how AIX traditionally builds its shared libraries.
10579	    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'
10580	  fi
10581	  if test aix != "$with_aix_soname"; then
10582	    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'
10583	  else
10584	    # used by -dlpreopen to get the symbols
10585	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10586	  fi
10587	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10588	fi
10589      fi
10590      ;;
10591
10592    amigaos*)
10593      case $host_cpu in
10594      powerpc)
10595            # see comment about AmigaOS4 .so support
10596            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10597            archive_expsym_cmds=''
10598        ;;
10599      m68k)
10600            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)'
10601            hardcode_libdir_flag_spec='-L$libdir'
10602            hardcode_minus_L=yes
10603        ;;
10604      esac
10605      ;;
10606
10607    bsdi[45]*)
10608      export_dynamic_flag_spec=-rdynamic
10609      ;;
10610
10611    cygwin* | mingw* | pw32* | cegcc*)
10612      # When not using gcc, we currently assume that we are using
10613      # Microsoft Visual C++.
10614      # hardcode_libdir_flag_spec is actually meaningless, as there is
10615      # no search path for DLLs.
10616      case $cc_basename in
10617      cl*)
10618	# Native MSVC
10619	hardcode_libdir_flag_spec=' '
10620	allow_undefined_flag=unsupported
10621	always_export_symbols=yes
10622	file_list_spec='@'
10623	# Tell ltmain to make .lib files, not .a files.
10624	libext=lib
10625	# Tell ltmain to make .dll files, not .so files.
10626	shrext_cmds=.dll
10627	# FIXME: Setting linknames here is a bad hack.
10628	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10629	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10630            cp "$export_symbols" "$output_objdir/$soname.def";
10631            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10632          else
10633            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10634          fi~
10635          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10636          linknames='
10637	# The linker will not automatically build a static lib if we build a DLL.
10638	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10639	enable_shared_with_static_runtimes=yes
10640	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10641	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10642	# Don't use ranlib
10643	old_postinstall_cmds='chmod 644 $oldlib'
10644	postlink_cmds='lt_outputfile="@OUTPUT@"~
10645          lt_tool_outputfile="@TOOL_OUTPUT@"~
10646          case $lt_outputfile in
10647            *.exe|*.EXE) ;;
10648            *)
10649              lt_outputfile=$lt_outputfile.exe
10650              lt_tool_outputfile=$lt_tool_outputfile.exe
10651              ;;
10652          esac~
10653          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10654            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10655            $RM "$lt_outputfile.manifest";
10656          fi'
10657	;;
10658      *)
10659	# Assume MSVC wrapper
10660	hardcode_libdir_flag_spec=' '
10661	allow_undefined_flag=unsupported
10662	# Tell ltmain to make .lib files, not .a files.
10663	libext=lib
10664	# Tell ltmain to make .dll files, not .so files.
10665	shrext_cmds=.dll
10666	# FIXME: Setting linknames here is a bad hack.
10667	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10668	# The linker will automatically build a .lib file if we build a DLL.
10669	old_archive_from_new_cmds='true'
10670	# FIXME: Should let the user specify the lib program.
10671	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10672	enable_shared_with_static_runtimes=yes
10673	;;
10674      esac
10675      ;;
10676
10677    darwin* | rhapsody*)
10678
10679
10680  archive_cmds_need_lc=no
10681  hardcode_direct=no
10682  hardcode_automatic=yes
10683  hardcode_shlibpath_var=unsupported
10684  if test yes = "$lt_cv_ld_force_load"; then
10685    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\"`'
10686
10687  else
10688    whole_archive_flag_spec=''
10689  fi
10690  link_all_deplibs=yes
10691  allow_undefined_flag=$_lt_dar_allow_undefined
10692  case $cc_basename in
10693     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10694     *) _lt_dar_can_shared=$GCC ;;
10695  esac
10696  if test yes = "$_lt_dar_can_shared"; then
10697    output_verbose_link_cmd=func_echo_all
10698    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10699    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10700    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"
10701    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"
10702
10703  else
10704  ld_shlibs=no
10705  fi
10706
10707      ;;
10708
10709    dgux*)
10710      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10711      hardcode_libdir_flag_spec='-L$libdir'
10712      hardcode_shlibpath_var=no
10713      ;;
10714
10715    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10716    # support.  Future versions do this automatically, but an explicit c++rt0.o
10717    # does not break anything, and helps significantly (at the cost of a little
10718    # extra space).
10719    freebsd2.2*)
10720      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10721      hardcode_libdir_flag_spec='-R$libdir'
10722      hardcode_direct=yes
10723      hardcode_shlibpath_var=no
10724      ;;
10725
10726    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10727    freebsd2.*)
10728      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10729      hardcode_direct=yes
10730      hardcode_minus_L=yes
10731      hardcode_shlibpath_var=no
10732      ;;
10733
10734    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10735    freebsd* | dragonfly*)
10736      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10737      hardcode_libdir_flag_spec='-R$libdir'
10738      hardcode_direct=yes
10739      hardcode_shlibpath_var=no
10740      ;;
10741
10742    hpux9*)
10743      if test yes = "$GCC"; then
10744	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'
10745      else
10746	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'
10747      fi
10748      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10749      hardcode_libdir_separator=:
10750      hardcode_direct=yes
10751
10752      # hardcode_minus_L: Not really in the search PATH,
10753      # but as the default location of the library.
10754      hardcode_minus_L=yes
10755      export_dynamic_flag_spec='$wl-E'
10756      ;;
10757
10758    hpux10*)
10759      if test yes,no = "$GCC,$with_gnu_ld"; then
10760	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10761      else
10762	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10763      fi
10764      if test no = "$with_gnu_ld"; then
10765	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10766	hardcode_libdir_separator=:
10767	hardcode_direct=yes
10768	hardcode_direct_absolute=yes
10769	export_dynamic_flag_spec='$wl-E'
10770	# hardcode_minus_L: Not really in the search PATH,
10771	# but as the default location of the library.
10772	hardcode_minus_L=yes
10773      fi
10774      ;;
10775
10776    hpux11*)
10777      if test yes,no = "$GCC,$with_gnu_ld"; then
10778	case $host_cpu in
10779	hppa*64*)
10780	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10781	  ;;
10782	ia64*)
10783	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10784	  ;;
10785	*)
10786	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10787	  ;;
10788	esac
10789      else
10790	case $host_cpu in
10791	hppa*64*)
10792	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10793	  ;;
10794	ia64*)
10795	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10796	  ;;
10797	*)
10798
10799	  # Older versions of the 11.00 compiler do not understand -b yet
10800	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10801	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10802$as_echo_n "checking if $CC understands -b... " >&6; }
10803if ${lt_cv_prog_compiler__b+:} false; then :
10804  $as_echo_n "(cached) " >&6
10805else
10806  lt_cv_prog_compiler__b=no
10807   save_LDFLAGS=$LDFLAGS
10808   LDFLAGS="$LDFLAGS -b"
10809   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10810   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10811     # The linker can only warn and ignore the option if not recognized
10812     # So say no if there are warnings
10813     if test -s conftest.err; then
10814       # Append any errors to the config.log.
10815       cat conftest.err 1>&5
10816       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10817       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10818       if diff conftest.exp conftest.er2 >/dev/null; then
10819         lt_cv_prog_compiler__b=yes
10820       fi
10821     else
10822       lt_cv_prog_compiler__b=yes
10823     fi
10824   fi
10825   $RM -r conftest*
10826   LDFLAGS=$save_LDFLAGS
10827
10828fi
10829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10830$as_echo "$lt_cv_prog_compiler__b" >&6; }
10831
10832if test yes = "$lt_cv_prog_compiler__b"; then
10833    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10834else
10835    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10836fi
10837
10838	  ;;
10839	esac
10840      fi
10841      if test no = "$with_gnu_ld"; then
10842	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10843	hardcode_libdir_separator=:
10844
10845	case $host_cpu in
10846	hppa*64*|ia64*)
10847	  hardcode_direct=no
10848	  hardcode_shlibpath_var=no
10849	  ;;
10850	*)
10851	  hardcode_direct=yes
10852	  hardcode_direct_absolute=yes
10853	  export_dynamic_flag_spec='$wl-E'
10854
10855	  # hardcode_minus_L: Not really in the search PATH,
10856	  # but as the default location of the library.
10857	  hardcode_minus_L=yes
10858	  ;;
10859	esac
10860      fi
10861      ;;
10862
10863    irix5* | irix6* | nonstopux*)
10864      if test yes = "$GCC"; then
10865	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'
10866	# Try to use the -exported_symbol ld option, if it does not
10867	# work, assume that -exports_file does not work either and
10868	# implicitly export all symbols.
10869	# This should be the same for all languages, so no per-tag cache variable.
10870	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10871$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10872if ${lt_cv_irix_exported_symbol+:} false; then :
10873  $as_echo_n "(cached) " >&6
10874else
10875  save_LDFLAGS=$LDFLAGS
10876	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10877	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10878/* end confdefs.h.  */
10879int foo (void) { return 0; }
10880_ACEOF
10881if ac_fn_c_try_link "$LINENO"; then :
10882  lt_cv_irix_exported_symbol=yes
10883else
10884  lt_cv_irix_exported_symbol=no
10885fi
10886rm -f core conftest.err conftest.$ac_objext \
10887    conftest$ac_exeext conftest.$ac_ext
10888           LDFLAGS=$save_LDFLAGS
10889fi
10890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10891$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10892	if test yes = "$lt_cv_irix_exported_symbol"; then
10893          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'
10894	fi
10895      else
10896	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'
10897	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'
10898      fi
10899      archive_cmds_need_lc='no'
10900      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10901      hardcode_libdir_separator=:
10902      inherit_rpath=yes
10903      link_all_deplibs=yes
10904      ;;
10905
10906    linux*)
10907      case $cc_basename in
10908      tcc*)
10909	# Fabrice Bellard et al's Tiny C Compiler
10910	ld_shlibs=yes
10911	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10912	;;
10913      esac
10914      ;;
10915
10916    netbsd*)
10917      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10918	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10919      else
10920	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10921      fi
10922      hardcode_libdir_flag_spec='-R$libdir'
10923      hardcode_direct=yes
10924      hardcode_shlibpath_var=no
10925      ;;
10926
10927    newsos6)
10928      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10929      hardcode_direct=yes
10930      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10931      hardcode_libdir_separator=:
10932      hardcode_shlibpath_var=no
10933      ;;
10934
10935    *nto* | *qnx*)
10936      ;;
10937
10938    openbsd* | bitrig*)
10939      if test -f /usr/libexec/ld.so; then
10940	hardcode_direct=yes
10941	hardcode_shlibpath_var=no
10942	hardcode_direct_absolute=yes
10943	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10944	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10945	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10946	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10947	  export_dynamic_flag_spec='$wl-E'
10948	else
10949	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10950	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10951	fi
10952      else
10953	ld_shlibs=no
10954      fi
10955      ;;
10956
10957    os2*)
10958      hardcode_libdir_flag_spec='-L$libdir'
10959      hardcode_minus_L=yes
10960      allow_undefined_flag=unsupported
10961      shrext_cmds=.dll
10962      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10963	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10964	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10965	$ECHO EXPORTS >> $output_objdir/$libname.def~
10966	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10967	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10968	emximp -o $lib $output_objdir/$libname.def'
10969      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10970	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10971	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10972	$ECHO EXPORTS >> $output_objdir/$libname.def~
10973	prefix_cmds="$SED"~
10974	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10975	  prefix_cmds="$prefix_cmds -e 1d";
10976	fi~
10977	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10978	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10979	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10980	emximp -o $lib $output_objdir/$libname.def'
10981      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10982      enable_shared_with_static_runtimes=yes
10983      ;;
10984
10985    osf3*)
10986      if test yes = "$GCC"; then
10987	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10988	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'
10989      else
10990	allow_undefined_flag=' -expect_unresolved \*'
10991	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'
10992      fi
10993      archive_cmds_need_lc='no'
10994      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10995      hardcode_libdir_separator=:
10996      ;;
10997
10998    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10999      if test yes = "$GCC"; then
11000	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11001	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'
11002	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11003      else
11004	allow_undefined_flag=' -expect_unresolved \*'
11005	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'
11006	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~
11007          $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'
11008
11009	# Both c and cxx compiler support -rpath directly
11010	hardcode_libdir_flag_spec='-rpath $libdir'
11011      fi
11012      archive_cmds_need_lc='no'
11013      hardcode_libdir_separator=:
11014      ;;
11015
11016    solaris*)
11017      no_undefined_flag=' -z defs'
11018      if test yes = "$GCC"; then
11019	wlarc='$wl'
11020	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11021	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11022          $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'
11023      else
11024	case `$CC -V 2>&1` in
11025	*"Compilers 5.0"*)
11026	  wlarc=''
11027	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11028	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11029            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11030	  ;;
11031	*)
11032	  wlarc='$wl'
11033	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11034	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11035            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11036	  ;;
11037	esac
11038      fi
11039      hardcode_libdir_flag_spec='-R$libdir'
11040      hardcode_shlibpath_var=no
11041      case $host_os in
11042      solaris2.[0-5] | solaris2.[0-5].*) ;;
11043      *)
11044	# The compiler driver will combine and reorder linker options,
11045	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11046	# but is careful enough not to reorder.
11047	# Supported since Solaris 2.6 (maybe 2.5.1?)
11048	if test yes = "$GCC"; then
11049	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11050	else
11051	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11052	fi
11053	;;
11054      esac
11055      link_all_deplibs=yes
11056      ;;
11057
11058    sunos4*)
11059      if test sequent = "$host_vendor"; then
11060	# Use $CC to link under sequent, because it throws in some extra .o
11061	# files that make .init and .fini sections work.
11062	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11063      else
11064	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11065      fi
11066      hardcode_libdir_flag_spec='-L$libdir'
11067      hardcode_direct=yes
11068      hardcode_minus_L=yes
11069      hardcode_shlibpath_var=no
11070      ;;
11071
11072    sysv4)
11073      case $host_vendor in
11074	sni)
11075	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11076	  hardcode_direct=yes # is this really true???
11077	;;
11078	siemens)
11079	  ## LD is ld it makes a PLAMLIB
11080	  ## CC just makes a GrossModule.
11081	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11082	  reload_cmds='$CC -r -o $output$reload_objs'
11083	  hardcode_direct=no
11084        ;;
11085	motorola)
11086	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11087	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11088	;;
11089      esac
11090      runpath_var='LD_RUN_PATH'
11091      hardcode_shlibpath_var=no
11092      ;;
11093
11094    sysv4.3*)
11095      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11096      hardcode_shlibpath_var=no
11097      export_dynamic_flag_spec='-Bexport'
11098      ;;
11099
11100    sysv4*MP*)
11101      if test -d /usr/nec; then
11102	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11103	hardcode_shlibpath_var=no
11104	runpath_var=LD_RUN_PATH
11105	hardcode_runpath_var=yes
11106	ld_shlibs=yes
11107      fi
11108      ;;
11109
11110    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11111      no_undefined_flag='$wl-z,text'
11112      archive_cmds_need_lc=no
11113      hardcode_shlibpath_var=no
11114      runpath_var='LD_RUN_PATH'
11115
11116      if test yes = "$GCC"; then
11117	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11118	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11119      else
11120	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11121	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11122      fi
11123      ;;
11124
11125    sysv5* | sco3.2v5* | sco5v6*)
11126      # Note: We CANNOT use -z defs as we might desire, because we do not
11127      # link with -lc, and that would cause any symbols used from libc to
11128      # always be unresolved, which means just about no library would
11129      # ever link correctly.  If we're not using GNU ld we use -z text
11130      # though, which does catch some bad symbols but isn't as heavy-handed
11131      # as -z defs.
11132      no_undefined_flag='$wl-z,text'
11133      allow_undefined_flag='$wl-z,nodefs'
11134      archive_cmds_need_lc=no
11135      hardcode_shlibpath_var=no
11136      hardcode_libdir_flag_spec='$wl-R,$libdir'
11137      hardcode_libdir_separator=':'
11138      link_all_deplibs=yes
11139      export_dynamic_flag_spec='$wl-Bexport'
11140      runpath_var='LD_RUN_PATH'
11141
11142      if test yes = "$GCC"; then
11143	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11144	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11145      else
11146	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11147	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11148      fi
11149      ;;
11150
11151    uts4*)
11152      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11153      hardcode_libdir_flag_spec='-L$libdir'
11154      hardcode_shlibpath_var=no
11155      ;;
11156
11157    *)
11158      ld_shlibs=no
11159      ;;
11160    esac
11161
11162    if test sni = "$host_vendor"; then
11163      case $host in
11164      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11165	export_dynamic_flag_spec='$wl-Blargedynsym'
11166	;;
11167      esac
11168    fi
11169  fi
11170
11171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11172$as_echo "$ld_shlibs" >&6; }
11173test no = "$ld_shlibs" && can_build_shared=no
11174
11175with_gnu_ld=$with_gnu_ld
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191#
11192# Do we need to explicitly link libc?
11193#
11194case "x$archive_cmds_need_lc" in
11195x|xyes)
11196  # Assume -lc should be added
11197  archive_cmds_need_lc=yes
11198
11199  if test yes,yes = "$GCC,$enable_shared"; then
11200    case $archive_cmds in
11201    *'~'*)
11202      # FIXME: we may have to deal with multi-command sequences.
11203      ;;
11204    '$CC '*)
11205      # Test whether the compiler implicitly links with -lc since on some
11206      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11207      # to ld, don't add -lc before -lgcc.
11208      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11209$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11210if ${lt_cv_archive_cmds_need_lc+:} false; then :
11211  $as_echo_n "(cached) " >&6
11212else
11213  $RM conftest*
11214	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11215
11216	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11217  (eval $ac_compile) 2>&5
11218  ac_status=$?
11219  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11220  test $ac_status = 0; } 2>conftest.err; then
11221	  soname=conftest
11222	  lib=conftest
11223	  libobjs=conftest.$ac_objext
11224	  deplibs=
11225	  wl=$lt_prog_compiler_wl
11226	  pic_flag=$lt_prog_compiler_pic
11227	  compiler_flags=-v
11228	  linker_flags=-v
11229	  verstring=
11230	  output_objdir=.
11231	  libname=conftest
11232	  lt_save_allow_undefined_flag=$allow_undefined_flag
11233	  allow_undefined_flag=
11234	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11235  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11236  ac_status=$?
11237  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11238  test $ac_status = 0; }
11239	  then
11240	    lt_cv_archive_cmds_need_lc=no
11241	  else
11242	    lt_cv_archive_cmds_need_lc=yes
11243	  fi
11244	  allow_undefined_flag=$lt_save_allow_undefined_flag
11245	else
11246	  cat conftest.err 1>&5
11247	fi
11248	$RM conftest*
11249
11250fi
11251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11252$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11253      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11254      ;;
11255    esac
11256  fi
11257  ;;
11258esac
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11412$as_echo_n "checking dynamic linker characteristics... " >&6; }
11413
11414if test yes = "$GCC"; then
11415  case $host_os in
11416    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11417    *) lt_awk_arg='/^libraries:/' ;;
11418  esac
11419  case $host_os in
11420    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11421    *) lt_sed_strip_eq='s|=/|/|g' ;;
11422  esac
11423  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11424  case $lt_search_path_spec in
11425  *\;*)
11426    # if the path contains ";" then we assume it to be the separator
11427    # otherwise default to the standard path separator (i.e. ":") - it is
11428    # assumed that no part of a normal pathname contains ";" but that should
11429    # okay in the real world where ";" in dirpaths is itself problematic.
11430    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11431    ;;
11432  *)
11433    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11434    ;;
11435  esac
11436  # Ok, now we have the path, separated by spaces, we can step through it
11437  # and add multilib dir if necessary...
11438  lt_tmp_lt_search_path_spec=
11439  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11440  # ...but if some path component already ends with the multilib dir we assume
11441  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11442  case "$lt_multi_os_dir; $lt_search_path_spec " in
11443  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11444    lt_multi_os_dir=
11445    ;;
11446  esac
11447  for lt_sys_path in $lt_search_path_spec; do
11448    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11449      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11450    elif test -n "$lt_multi_os_dir"; then
11451      test -d "$lt_sys_path" && \
11452	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11453    fi
11454  done
11455  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11456BEGIN {RS = " "; FS = "/|\n";} {
11457  lt_foo = "";
11458  lt_count = 0;
11459  for (lt_i = NF; lt_i > 0; lt_i--) {
11460    if ($lt_i != "" && $lt_i != ".") {
11461      if ($lt_i == "..") {
11462        lt_count++;
11463      } else {
11464        if (lt_count == 0) {
11465          lt_foo = "/" $lt_i lt_foo;
11466        } else {
11467          lt_count--;
11468        }
11469      }
11470    }
11471  }
11472  if (lt_foo != "") { lt_freq[lt_foo]++; }
11473  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11474}'`
11475  # AWK program above erroneously prepends '/' to C:/dos/paths
11476  # for these hosts.
11477  case $host_os in
11478    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11479      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11480  esac
11481  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11482else
11483  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11484fi
11485library_names_spec=
11486libname_spec='lib$name'
11487soname_spec=
11488shrext_cmds=.so
11489postinstall_cmds=
11490postuninstall_cmds=
11491finish_cmds=
11492finish_eval=
11493shlibpath_var=
11494shlibpath_overrides_runpath=unknown
11495version_type=none
11496dynamic_linker="$host_os ld.so"
11497sys_lib_dlsearch_path_spec="/lib /usr/lib"
11498need_lib_prefix=unknown
11499hardcode_into_libs=no
11500
11501# when you set need_version to no, make sure it does not cause -set_version
11502# flags to be left without arguments
11503need_version=unknown
11504
11505
11506
11507case $host_os in
11508aix3*)
11509  version_type=linux # correct to gnu/linux during the next big refactor
11510  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11511  shlibpath_var=LIBPATH
11512
11513  # AIX 3 has no versioning support, so we append a major version to the name.
11514  soname_spec='$libname$release$shared_ext$major'
11515  ;;
11516
11517aix[4-9]*)
11518  version_type=linux # correct to gnu/linux during the next big refactor
11519  need_lib_prefix=no
11520  need_version=no
11521  hardcode_into_libs=yes
11522  if test ia64 = "$host_cpu"; then
11523    # AIX 5 supports IA64
11524    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11525    shlibpath_var=LD_LIBRARY_PATH
11526  else
11527    # With GCC up to 2.95.x, collect2 would create an import file
11528    # for dependence libraries.  The import file would start with
11529    # the line '#! .'.  This would cause the generated library to
11530    # depend on '.', always an invalid library.  This was fixed in
11531    # development snapshots of GCC prior to 3.0.
11532    case $host_os in
11533      aix4 | aix4.[01] | aix4.[01].*)
11534      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11535	   echo ' yes '
11536	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11537	:
11538      else
11539	can_build_shared=no
11540      fi
11541      ;;
11542    esac
11543    # Using Import Files as archive members, it is possible to support
11544    # filename-based versioning of shared library archives on AIX. While
11545    # this would work for both with and without runtime linking, it will
11546    # prevent static linking of such archives. So we do filename-based
11547    # shared library versioning with .so extension only, which is used
11548    # when both runtime linking and shared linking is enabled.
11549    # Unfortunately, runtime linking may impact performance, so we do
11550    # not want this to be the default eventually. Also, we use the
11551    # versioned .so libs for executables only if there is the -brtl
11552    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11553    # To allow for filename-based versioning support, we need to create
11554    # libNAME.so.V as an archive file, containing:
11555    # *) an Import File, referring to the versioned filename of the
11556    #    archive as well as the shared archive member, telling the
11557    #    bitwidth (32 or 64) of that shared object, and providing the
11558    #    list of exported symbols of that shared object, eventually
11559    #    decorated with the 'weak' keyword
11560    # *) the shared object with the F_LOADONLY flag set, to really avoid
11561    #    it being seen by the linker.
11562    # At run time we better use the real file rather than another symlink,
11563    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11564
11565    case $with_aix_soname,$aix_use_runtimelinking in
11566    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11567    # soname into executable. Probably we can add versioning support to
11568    # collect2, so additional links can be useful in future.
11569    aix,yes) # traditional libtool
11570      dynamic_linker='AIX unversionable lib.so'
11571      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11572      # instead of lib<name>.a to let people know that these are not
11573      # typical AIX shared libraries.
11574      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11575      ;;
11576    aix,no) # traditional AIX only
11577      dynamic_linker='AIX lib.a(lib.so.V)'
11578      # We preserve .a as extension for shared libraries through AIX4.2
11579      # and later when we are not doing run time linking.
11580      library_names_spec='$libname$release.a $libname.a'
11581      soname_spec='$libname$release$shared_ext$major'
11582      ;;
11583    svr4,*) # full svr4 only
11584      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11585      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11586      # We do not specify a path in Import Files, so LIBPATH fires.
11587      shlibpath_overrides_runpath=yes
11588      ;;
11589    *,yes) # both, prefer svr4
11590      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11591      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11592      # unpreferred sharedlib libNAME.a needs extra handling
11593      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"'
11594      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"'
11595      # We do not specify a path in Import Files, so LIBPATH fires.
11596      shlibpath_overrides_runpath=yes
11597      ;;
11598    *,no) # both, prefer aix
11599      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11600      library_names_spec='$libname$release.a $libname.a'
11601      soname_spec='$libname$release$shared_ext$major'
11602      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11603      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)'
11604      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"'
11605      ;;
11606    esac
11607    shlibpath_var=LIBPATH
11608  fi
11609  ;;
11610
11611amigaos*)
11612  case $host_cpu in
11613  powerpc)
11614    # Since July 2007 AmigaOS4 officially supports .so libraries.
11615    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11616    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11617    ;;
11618  m68k)
11619    library_names_spec='$libname.ixlibrary $libname.a'
11620    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11621    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'
11622    ;;
11623  esac
11624  ;;
11625
11626beos*)
11627  library_names_spec='$libname$shared_ext'
11628  dynamic_linker="$host_os ld.so"
11629  shlibpath_var=LIBRARY_PATH
11630  ;;
11631
11632bsdi[45]*)
11633  version_type=linux # correct to gnu/linux during the next big refactor
11634  need_version=no
11635  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11636  soname_spec='$libname$release$shared_ext$major'
11637  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11638  shlibpath_var=LD_LIBRARY_PATH
11639  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11640  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11641  # the default ld.so.conf also contains /usr/contrib/lib and
11642  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11643  # libtool to hard-code these into programs
11644  ;;
11645
11646cygwin* | mingw* | pw32* | cegcc*)
11647  version_type=windows
11648  shrext_cmds=.dll
11649  need_version=no
11650  need_lib_prefix=no
11651
11652  case $GCC,$cc_basename in
11653  yes,*)
11654    # gcc
11655    library_names_spec='$libname.dll.a'
11656    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11657    postinstall_cmds='base_file=`basename \$file`~
11658      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11659      dldir=$destdir/`dirname \$dlpath`~
11660      test -d \$dldir || mkdir -p \$dldir~
11661      $install_prog $dir/$dlname \$dldir/$dlname~
11662      chmod a+x \$dldir/$dlname~
11663      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11664        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11665      fi'
11666    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11667      dlpath=$dir/\$dldll~
11668       $RM \$dlpath'
11669    shlibpath_overrides_runpath=yes
11670
11671    case $host_os in
11672    cygwin*)
11673      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11674      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11675
11676      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11677      ;;
11678    mingw* | cegcc*)
11679      # MinGW DLLs use traditional 'lib' prefix
11680      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11681      ;;
11682    pw32*)
11683      # pw32 DLLs use 'pw' prefix rather than 'lib'
11684      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11685      ;;
11686    esac
11687    dynamic_linker='Win32 ld.exe'
11688    ;;
11689
11690  *,cl*)
11691    # Native MSVC
11692    libname_spec='$name'
11693    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11694    library_names_spec='$libname.dll.lib'
11695
11696    case $build_os in
11697    mingw*)
11698      sys_lib_search_path_spec=
11699      lt_save_ifs=$IFS
11700      IFS=';'
11701      for lt_path in $LIB
11702      do
11703        IFS=$lt_save_ifs
11704        # Let DOS variable expansion print the short 8.3 style file name.
11705        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11706        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11707      done
11708      IFS=$lt_save_ifs
11709      # Convert to MSYS style.
11710      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11711      ;;
11712    cygwin*)
11713      # Convert to unix form, then to dos form, then back to unix form
11714      # but this time dos style (no spaces!) so that the unix form looks
11715      # like /cygdrive/c/PROGRA~1:/cygdr...
11716      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11717      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11718      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11719      ;;
11720    *)
11721      sys_lib_search_path_spec=$LIB
11722      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11723        # It is most probably a Windows format PATH.
11724        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11725      else
11726        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11727      fi
11728      # FIXME: find the short name or the path components, as spaces are
11729      # common. (e.g. "Program Files" -> "PROGRA~1")
11730      ;;
11731    esac
11732
11733    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11734    postinstall_cmds='base_file=`basename \$file`~
11735      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11736      dldir=$destdir/`dirname \$dlpath`~
11737      test -d \$dldir || mkdir -p \$dldir~
11738      $install_prog $dir/$dlname \$dldir/$dlname'
11739    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11740      dlpath=$dir/\$dldll~
11741       $RM \$dlpath'
11742    shlibpath_overrides_runpath=yes
11743    dynamic_linker='Win32 link.exe'
11744    ;;
11745
11746  *)
11747    # Assume MSVC wrapper
11748    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11749    dynamic_linker='Win32 ld.exe'
11750    ;;
11751  esac
11752  # FIXME: first we should search . and the directory the executable is in
11753  shlibpath_var=PATH
11754  ;;
11755
11756darwin* | rhapsody*)
11757  dynamic_linker="$host_os dyld"
11758  version_type=darwin
11759  need_lib_prefix=no
11760  need_version=no
11761  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11762  soname_spec='$libname$release$major$shared_ext'
11763  shlibpath_overrides_runpath=yes
11764  shlibpath_var=DYLD_LIBRARY_PATH
11765  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11766
11767  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11768  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11769  ;;
11770
11771dgux*)
11772  version_type=linux # correct to gnu/linux during the next big refactor
11773  need_lib_prefix=no
11774  need_version=no
11775  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11776  soname_spec='$libname$release$shared_ext$major'
11777  shlibpath_var=LD_LIBRARY_PATH
11778  ;;
11779
11780freebsd* | dragonfly*)
11781  # DragonFly does not have aout.  When/if they implement a new
11782  # versioning mechanism, adjust this.
11783  if test -x /usr/bin/objformat; then
11784    objformat=`/usr/bin/objformat`
11785  else
11786    case $host_os in
11787    freebsd[23].*) objformat=aout ;;
11788    *) objformat=elf ;;
11789    esac
11790  fi
11791  version_type=freebsd-$objformat
11792  case $version_type in
11793    freebsd-elf*)
11794      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11795      soname_spec='$libname$release$shared_ext$major'
11796      need_version=no
11797      need_lib_prefix=no
11798      ;;
11799    freebsd-*)
11800      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11801      need_version=yes
11802      ;;
11803  esac
11804  shlibpath_var=LD_LIBRARY_PATH
11805  case $host_os in
11806  freebsd2.*)
11807    shlibpath_overrides_runpath=yes
11808    ;;
11809  freebsd3.[01]* | freebsdelf3.[01]*)
11810    shlibpath_overrides_runpath=yes
11811    hardcode_into_libs=yes
11812    ;;
11813  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11814  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11815    shlibpath_overrides_runpath=no
11816    hardcode_into_libs=yes
11817    ;;
11818  *) # from 4.6 on, and DragonFly
11819    shlibpath_overrides_runpath=yes
11820    hardcode_into_libs=yes
11821    ;;
11822  esac
11823  ;;
11824
11825haiku*)
11826  version_type=linux # correct to gnu/linux during the next big refactor
11827  need_lib_prefix=no
11828  need_version=no
11829  dynamic_linker="$host_os runtime_loader"
11830  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11831  soname_spec='$libname$release$shared_ext$major'
11832  shlibpath_var=LIBRARY_PATH
11833  shlibpath_overrides_runpath=no
11834  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11835  hardcode_into_libs=yes
11836  ;;
11837
11838hpux9* | hpux10* | hpux11*)
11839  # Give a soname corresponding to the major version so that dld.sl refuses to
11840  # link against other versions.
11841  version_type=sunos
11842  need_lib_prefix=no
11843  need_version=no
11844  case $host_cpu in
11845  ia64*)
11846    shrext_cmds='.so'
11847    hardcode_into_libs=yes
11848    dynamic_linker="$host_os dld.so"
11849    shlibpath_var=LD_LIBRARY_PATH
11850    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11851    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11852    soname_spec='$libname$release$shared_ext$major'
11853    if test 32 = "$HPUX_IA64_MODE"; then
11854      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11855      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11856    else
11857      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11858      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11859    fi
11860    ;;
11861  hppa*64*)
11862    shrext_cmds='.sl'
11863    hardcode_into_libs=yes
11864    dynamic_linker="$host_os dld.sl"
11865    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11866    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11867    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11868    soname_spec='$libname$release$shared_ext$major'
11869    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11870    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11871    ;;
11872  *)
11873    shrext_cmds='.sl'
11874    dynamic_linker="$host_os dld.sl"
11875    shlibpath_var=SHLIB_PATH
11876    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11877    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11878    soname_spec='$libname$release$shared_ext$major'
11879    ;;
11880  esac
11881  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11882  postinstall_cmds='chmod 555 $lib'
11883  # or fails outright, so override atomically:
11884  install_override_mode=555
11885  ;;
11886
11887interix[3-9]*)
11888  version_type=linux # correct to gnu/linux during the next big refactor
11889  need_lib_prefix=no
11890  need_version=no
11891  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11892  soname_spec='$libname$release$shared_ext$major'
11893  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11894  shlibpath_var=LD_LIBRARY_PATH
11895  shlibpath_overrides_runpath=no
11896  hardcode_into_libs=yes
11897  ;;
11898
11899irix5* | irix6* | nonstopux*)
11900  case $host_os in
11901    nonstopux*) version_type=nonstopux ;;
11902    *)
11903	if test yes = "$lt_cv_prog_gnu_ld"; then
11904		version_type=linux # correct to gnu/linux during the next big refactor
11905	else
11906		version_type=irix
11907	fi ;;
11908  esac
11909  need_lib_prefix=no
11910  need_version=no
11911  soname_spec='$libname$release$shared_ext$major'
11912  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11913  case $host_os in
11914  irix5* | nonstopux*)
11915    libsuff= shlibsuff=
11916    ;;
11917  *)
11918    case $LD in # libtool.m4 will add one of these switches to LD
11919    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11920      libsuff= shlibsuff= libmagic=32-bit;;
11921    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11922      libsuff=32 shlibsuff=N32 libmagic=N32;;
11923    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11924      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11925    *) libsuff= shlibsuff= libmagic=never-match;;
11926    esac
11927    ;;
11928  esac
11929  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11930  shlibpath_overrides_runpath=no
11931  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11932  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11933  hardcode_into_libs=yes
11934  ;;
11935
11936# No shared lib support for Linux oldld, aout, or coff.
11937linux*oldld* | linux*aout* | linux*coff*)
11938  dynamic_linker=no
11939  ;;
11940
11941linux*android*)
11942  version_type=none # Android doesn't support versioned libraries.
11943  need_lib_prefix=no
11944  need_version=no
11945  library_names_spec='$libname$release$shared_ext'
11946  soname_spec='$libname$release$shared_ext'
11947  finish_cmds=
11948  shlibpath_var=LD_LIBRARY_PATH
11949  shlibpath_overrides_runpath=yes
11950
11951  # This implies no fast_install, which is unacceptable.
11952  # Some rework will be needed to allow for fast_install
11953  # before this can be enabled.
11954  hardcode_into_libs=yes
11955
11956  dynamic_linker='Android linker'
11957  # Don't embed -rpath directories since the linker doesn't support them.
11958  hardcode_libdir_flag_spec='-L$libdir'
11959  ;;
11960
11961# This must be glibc/ELF.
11962linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11963  version_type=linux # correct to gnu/linux during the next big refactor
11964  need_lib_prefix=no
11965  need_version=no
11966  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11967  soname_spec='$libname$release$shared_ext$major'
11968  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11969  shlibpath_var=LD_LIBRARY_PATH
11970  shlibpath_overrides_runpath=no
11971
11972  # Some binutils ld are patched to set DT_RUNPATH
11973  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11974  $as_echo_n "(cached) " >&6
11975else
11976  lt_cv_shlibpath_overrides_runpath=no
11977    save_LDFLAGS=$LDFLAGS
11978    save_libdir=$libdir
11979    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11980	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11981    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11982/* end confdefs.h.  */
11983
11984int
11985main ()
11986{
11987
11988  ;
11989  return 0;
11990}
11991_ACEOF
11992if ac_fn_c_try_link "$LINENO"; then :
11993  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11994  lt_cv_shlibpath_overrides_runpath=yes
11995fi
11996fi
11997rm -f core conftest.err conftest.$ac_objext \
11998    conftest$ac_exeext conftest.$ac_ext
11999    LDFLAGS=$save_LDFLAGS
12000    libdir=$save_libdir
12001
12002fi
12003
12004  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12005
12006  # This implies no fast_install, which is unacceptable.
12007  # Some rework will be needed to allow for fast_install
12008  # before this can be enabled.
12009  hardcode_into_libs=yes
12010
12011  # Add ABI-specific directories to the system library path.
12012  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12013
12014  # Ideally, we could use ldconfig to report *all* directores which are
12015  # searched for libraries, however this is still not possible.  Aside from not
12016  # being certain /sbin/ldconfig is available, command
12017  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12018  # even though it is searched at run-time.  Try to do the best guess by
12019  # appending ld.so.conf contents (and includes) to the search path.
12020  if test -f /etc/ld.so.conf; then
12021    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' ' '`
12022    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12023  fi
12024
12025  # We used to test for /lib/ld.so.1 and disable shared libraries on
12026  # powerpc, because MkLinux only supported shared libraries with the
12027  # GNU dynamic linker.  Since this was broken with cross compilers,
12028  # most powerpc-linux boxes support dynamic linking these days and
12029  # people can always --disable-shared, the test was removed, and we
12030  # assume the GNU/Linux dynamic linker is in use.
12031  dynamic_linker='GNU/Linux ld.so'
12032  ;;
12033
12034netbsd*)
12035  version_type=sunos
12036  need_lib_prefix=no
12037  need_version=no
12038  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12039    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12040    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12041    dynamic_linker='NetBSD (a.out) ld.so'
12042  else
12043    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12044    soname_spec='$libname$release$shared_ext$major'
12045    dynamic_linker='NetBSD ld.elf_so'
12046  fi
12047  shlibpath_var=LD_LIBRARY_PATH
12048  shlibpath_overrides_runpath=yes
12049  hardcode_into_libs=yes
12050  ;;
12051
12052newsos6)
12053  version_type=linux # correct to gnu/linux during the next big refactor
12054  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12055  shlibpath_var=LD_LIBRARY_PATH
12056  shlibpath_overrides_runpath=yes
12057  ;;
12058
12059*nto* | *qnx*)
12060  version_type=qnx
12061  need_lib_prefix=no
12062  need_version=no
12063  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12064  soname_spec='$libname$release$shared_ext$major'
12065  shlibpath_var=LD_LIBRARY_PATH
12066  shlibpath_overrides_runpath=no
12067  hardcode_into_libs=yes
12068  dynamic_linker='ldqnx.so'
12069  ;;
12070
12071openbsd* | bitrig*)
12072  version_type=sunos
12073  sys_lib_dlsearch_path_spec=/usr/lib
12074  need_lib_prefix=no
12075  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12076    need_version=no
12077  else
12078    need_version=yes
12079  fi
12080  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12081  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12082  shlibpath_var=LD_LIBRARY_PATH
12083  shlibpath_overrides_runpath=yes
12084  ;;
12085
12086os2*)
12087  libname_spec='$name'
12088  version_type=windows
12089  shrext_cmds=.dll
12090  need_version=no
12091  need_lib_prefix=no
12092  # OS/2 can only load a DLL with a base name of 8 characters or less.
12093  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12094    v=$($ECHO $release$versuffix | tr -d .-);
12095    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12096    $ECHO $n$v`$shared_ext'
12097  library_names_spec='${libname}_dll.$libext'
12098  dynamic_linker='OS/2 ld.exe'
12099  shlibpath_var=BEGINLIBPATH
12100  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12101  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12102  postinstall_cmds='base_file=`basename \$file`~
12103    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12104    dldir=$destdir/`dirname \$dlpath`~
12105    test -d \$dldir || mkdir -p \$dldir~
12106    $install_prog $dir/$dlname \$dldir/$dlname~
12107    chmod a+x \$dldir/$dlname~
12108    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12109      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12110    fi'
12111  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12112    dlpath=$dir/\$dldll~
12113    $RM \$dlpath'
12114  ;;
12115
12116osf3* | osf4* | osf5*)
12117  version_type=osf
12118  need_lib_prefix=no
12119  need_version=no
12120  soname_spec='$libname$release$shared_ext$major'
12121  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12122  shlibpath_var=LD_LIBRARY_PATH
12123  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12124  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12125  ;;
12126
12127rdos*)
12128  dynamic_linker=no
12129  ;;
12130
12131solaris*)
12132  version_type=linux # correct to gnu/linux during the next big refactor
12133  need_lib_prefix=no
12134  need_version=no
12135  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12136  soname_spec='$libname$release$shared_ext$major'
12137  shlibpath_var=LD_LIBRARY_PATH
12138  shlibpath_overrides_runpath=yes
12139  hardcode_into_libs=yes
12140  # ldd complains unless libraries are executable
12141  postinstall_cmds='chmod +x $lib'
12142  ;;
12143
12144sunos4*)
12145  version_type=sunos
12146  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12147  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12148  shlibpath_var=LD_LIBRARY_PATH
12149  shlibpath_overrides_runpath=yes
12150  if test yes = "$with_gnu_ld"; then
12151    need_lib_prefix=no
12152  fi
12153  need_version=yes
12154  ;;
12155
12156sysv4 | sysv4.3*)
12157  version_type=linux # correct to gnu/linux during the next big refactor
12158  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12159  soname_spec='$libname$release$shared_ext$major'
12160  shlibpath_var=LD_LIBRARY_PATH
12161  case $host_vendor in
12162    sni)
12163      shlibpath_overrides_runpath=no
12164      need_lib_prefix=no
12165      runpath_var=LD_RUN_PATH
12166      ;;
12167    siemens)
12168      need_lib_prefix=no
12169      ;;
12170    motorola)
12171      need_lib_prefix=no
12172      need_version=no
12173      shlibpath_overrides_runpath=no
12174      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12175      ;;
12176  esac
12177  ;;
12178
12179sysv4*MP*)
12180  if test -d /usr/nec; then
12181    version_type=linux # correct to gnu/linux during the next big refactor
12182    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12183    soname_spec='$libname$shared_ext.$major'
12184    shlibpath_var=LD_LIBRARY_PATH
12185  fi
12186  ;;
12187
12188sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12189  version_type=sco
12190  need_lib_prefix=no
12191  need_version=no
12192  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12193  soname_spec='$libname$release$shared_ext$major'
12194  shlibpath_var=LD_LIBRARY_PATH
12195  shlibpath_overrides_runpath=yes
12196  hardcode_into_libs=yes
12197  if test yes = "$with_gnu_ld"; then
12198    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12199  else
12200    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12201    case $host_os in
12202      sco3.2v5*)
12203        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12204	;;
12205    esac
12206  fi
12207  sys_lib_dlsearch_path_spec='/usr/lib'
12208  ;;
12209
12210tpf*)
12211  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12212  version_type=linux # correct to gnu/linux during the next big refactor
12213  need_lib_prefix=no
12214  need_version=no
12215  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12216  shlibpath_var=LD_LIBRARY_PATH
12217  shlibpath_overrides_runpath=no
12218  hardcode_into_libs=yes
12219  ;;
12220
12221uts4*)
12222  version_type=linux # correct to gnu/linux during the next big refactor
12223  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12224  soname_spec='$libname$release$shared_ext$major'
12225  shlibpath_var=LD_LIBRARY_PATH
12226  ;;
12227
12228*)
12229  dynamic_linker=no
12230  ;;
12231esac
12232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12233$as_echo "$dynamic_linker" >&6; }
12234test no = "$dynamic_linker" && can_build_shared=no
12235
12236variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12237if test yes = "$GCC"; then
12238  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12239fi
12240
12241if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12242  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12243fi
12244
12245if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12246  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12247fi
12248
12249# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12250configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12251
12252# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12253func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12254
12255# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12256configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12355$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12356hardcode_action=
12357if test -n "$hardcode_libdir_flag_spec" ||
12358   test -n "$runpath_var" ||
12359   test yes = "$hardcode_automatic"; then
12360
12361  # We can hardcode non-existent directories.
12362  if test no != "$hardcode_direct" &&
12363     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12364     # have to relink, otherwise we might link with an installed library
12365     # when we should be linking with a yet-to-be-installed one
12366     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12367     test no != "$hardcode_minus_L"; then
12368    # Linking always hardcodes the temporary library directory.
12369    hardcode_action=relink
12370  else
12371    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12372    hardcode_action=immediate
12373  fi
12374else
12375  # We cannot hardcode anything, or else we can only hardcode existing
12376  # directories.
12377  hardcode_action=unsupported
12378fi
12379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12380$as_echo "$hardcode_action" >&6; }
12381
12382if test relink = "$hardcode_action" ||
12383   test yes = "$inherit_rpath"; then
12384  # Fast installation is not supported
12385  enable_fast_install=no
12386elif test yes = "$shlibpath_overrides_runpath" ||
12387     test no = "$enable_shared"; then
12388  # Fast installation is not necessary
12389  enable_fast_install=needless
12390fi
12391
12392
12393
12394
12395
12396
12397  if test yes != "$enable_dlopen"; then
12398  enable_dlopen=unknown
12399  enable_dlopen_self=unknown
12400  enable_dlopen_self_static=unknown
12401else
12402  lt_cv_dlopen=no
12403  lt_cv_dlopen_libs=
12404
12405  case $host_os in
12406  beos*)
12407    lt_cv_dlopen=load_add_on
12408    lt_cv_dlopen_libs=
12409    lt_cv_dlopen_self=yes
12410    ;;
12411
12412  mingw* | pw32* | cegcc*)
12413    lt_cv_dlopen=LoadLibrary
12414    lt_cv_dlopen_libs=
12415    ;;
12416
12417  cygwin*)
12418    lt_cv_dlopen=dlopen
12419    lt_cv_dlopen_libs=
12420    ;;
12421
12422  darwin*)
12423    # if libdl is installed we need to link against it
12424    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12425$as_echo_n "checking for dlopen in -ldl... " >&6; }
12426if ${ac_cv_lib_dl_dlopen+:} false; then :
12427  $as_echo_n "(cached) " >&6
12428else
12429  ac_check_lib_save_LIBS=$LIBS
12430LIBS="-ldl  $LIBS"
12431cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432/* end confdefs.h.  */
12433
12434/* Override any GCC internal prototype to avoid an error.
12435   Use char because int might match the return type of a GCC
12436   builtin and then its argument prototype would still apply.  */
12437#ifdef __cplusplus
12438extern "C"
12439#endif
12440char dlopen ();
12441int
12442main ()
12443{
12444return dlopen ();
12445  ;
12446  return 0;
12447}
12448_ACEOF
12449if ac_fn_c_try_link "$LINENO"; then :
12450  ac_cv_lib_dl_dlopen=yes
12451else
12452  ac_cv_lib_dl_dlopen=no
12453fi
12454rm -f core conftest.err conftest.$ac_objext \
12455    conftest$ac_exeext conftest.$ac_ext
12456LIBS=$ac_check_lib_save_LIBS
12457fi
12458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12459$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12460if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12461  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12462else
12463
12464    lt_cv_dlopen=dyld
12465    lt_cv_dlopen_libs=
12466    lt_cv_dlopen_self=yes
12467
12468fi
12469
12470    ;;
12471
12472  tpf*)
12473    # Don't try to run any link tests for TPF.  We know it's impossible
12474    # because TPF is a cross-compiler, and we know how we open DSOs.
12475    lt_cv_dlopen=dlopen
12476    lt_cv_dlopen_libs=
12477    lt_cv_dlopen_self=no
12478    ;;
12479
12480  *)
12481    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12482if test "x$ac_cv_func_shl_load" = xyes; then :
12483  lt_cv_dlopen=shl_load
12484else
12485  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12486$as_echo_n "checking for shl_load in -ldld... " >&6; }
12487if ${ac_cv_lib_dld_shl_load+:} false; then :
12488  $as_echo_n "(cached) " >&6
12489else
12490  ac_check_lib_save_LIBS=$LIBS
12491LIBS="-ldld  $LIBS"
12492cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12493/* end confdefs.h.  */
12494
12495/* Override any GCC internal prototype to avoid an error.
12496   Use char because int might match the return type of a GCC
12497   builtin and then its argument prototype would still apply.  */
12498#ifdef __cplusplus
12499extern "C"
12500#endif
12501char shl_load ();
12502int
12503main ()
12504{
12505return shl_load ();
12506  ;
12507  return 0;
12508}
12509_ACEOF
12510if ac_fn_c_try_link "$LINENO"; then :
12511  ac_cv_lib_dld_shl_load=yes
12512else
12513  ac_cv_lib_dld_shl_load=no
12514fi
12515rm -f core conftest.err conftest.$ac_objext \
12516    conftest$ac_exeext conftest.$ac_ext
12517LIBS=$ac_check_lib_save_LIBS
12518fi
12519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12520$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12521if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12522  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12523else
12524  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12525if test "x$ac_cv_func_dlopen" = xyes; then :
12526  lt_cv_dlopen=dlopen
12527else
12528  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12529$as_echo_n "checking for dlopen in -ldl... " >&6; }
12530if ${ac_cv_lib_dl_dlopen+:} false; then :
12531  $as_echo_n "(cached) " >&6
12532else
12533  ac_check_lib_save_LIBS=$LIBS
12534LIBS="-ldl  $LIBS"
12535cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536/* end confdefs.h.  */
12537
12538/* Override any GCC internal prototype to avoid an error.
12539   Use char because int might match the return type of a GCC
12540   builtin and then its argument prototype would still apply.  */
12541#ifdef __cplusplus
12542extern "C"
12543#endif
12544char dlopen ();
12545int
12546main ()
12547{
12548return dlopen ();
12549  ;
12550  return 0;
12551}
12552_ACEOF
12553if ac_fn_c_try_link "$LINENO"; then :
12554  ac_cv_lib_dl_dlopen=yes
12555else
12556  ac_cv_lib_dl_dlopen=no
12557fi
12558rm -f core conftest.err conftest.$ac_objext \
12559    conftest$ac_exeext conftest.$ac_ext
12560LIBS=$ac_check_lib_save_LIBS
12561fi
12562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12563$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12564if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12565  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12566else
12567  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12568$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12569if ${ac_cv_lib_svld_dlopen+:} false; then :
12570  $as_echo_n "(cached) " >&6
12571else
12572  ac_check_lib_save_LIBS=$LIBS
12573LIBS="-lsvld  $LIBS"
12574cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575/* end confdefs.h.  */
12576
12577/* Override any GCC internal prototype to avoid an error.
12578   Use char because int might match the return type of a GCC
12579   builtin and then its argument prototype would still apply.  */
12580#ifdef __cplusplus
12581extern "C"
12582#endif
12583char dlopen ();
12584int
12585main ()
12586{
12587return dlopen ();
12588  ;
12589  return 0;
12590}
12591_ACEOF
12592if ac_fn_c_try_link "$LINENO"; then :
12593  ac_cv_lib_svld_dlopen=yes
12594else
12595  ac_cv_lib_svld_dlopen=no
12596fi
12597rm -f core conftest.err conftest.$ac_objext \
12598    conftest$ac_exeext conftest.$ac_ext
12599LIBS=$ac_check_lib_save_LIBS
12600fi
12601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12602$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12603if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12604  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12605else
12606  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12607$as_echo_n "checking for dld_link in -ldld... " >&6; }
12608if ${ac_cv_lib_dld_dld_link+:} false; then :
12609  $as_echo_n "(cached) " >&6
12610else
12611  ac_check_lib_save_LIBS=$LIBS
12612LIBS="-ldld  $LIBS"
12613cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614/* end confdefs.h.  */
12615
12616/* Override any GCC internal prototype to avoid an error.
12617   Use char because int might match the return type of a GCC
12618   builtin and then its argument prototype would still apply.  */
12619#ifdef __cplusplus
12620extern "C"
12621#endif
12622char dld_link ();
12623int
12624main ()
12625{
12626return dld_link ();
12627  ;
12628  return 0;
12629}
12630_ACEOF
12631if ac_fn_c_try_link "$LINENO"; then :
12632  ac_cv_lib_dld_dld_link=yes
12633else
12634  ac_cv_lib_dld_dld_link=no
12635fi
12636rm -f core conftest.err conftest.$ac_objext \
12637    conftest$ac_exeext conftest.$ac_ext
12638LIBS=$ac_check_lib_save_LIBS
12639fi
12640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12641$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12642if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12643  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12644fi
12645
12646
12647fi
12648
12649
12650fi
12651
12652
12653fi
12654
12655
12656fi
12657
12658
12659fi
12660
12661    ;;
12662  esac
12663
12664  if test no = "$lt_cv_dlopen"; then
12665    enable_dlopen=no
12666  else
12667    enable_dlopen=yes
12668  fi
12669
12670  case $lt_cv_dlopen in
12671  dlopen)
12672    save_CPPFLAGS=$CPPFLAGS
12673    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12674
12675    save_LDFLAGS=$LDFLAGS
12676    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12677
12678    save_LIBS=$LIBS
12679    LIBS="$lt_cv_dlopen_libs $LIBS"
12680
12681    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12682$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12683if ${lt_cv_dlopen_self+:} false; then :
12684  $as_echo_n "(cached) " >&6
12685else
12686  	  if test yes = "$cross_compiling"; then :
12687  lt_cv_dlopen_self=cross
12688else
12689  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12690  lt_status=$lt_dlunknown
12691  cat > conftest.$ac_ext <<_LT_EOF
12692#line $LINENO "configure"
12693#include "confdefs.h"
12694
12695#if HAVE_DLFCN_H
12696#include <dlfcn.h>
12697#endif
12698
12699#include <stdio.h>
12700
12701#ifdef RTLD_GLOBAL
12702#  define LT_DLGLOBAL		RTLD_GLOBAL
12703#else
12704#  ifdef DL_GLOBAL
12705#    define LT_DLGLOBAL		DL_GLOBAL
12706#  else
12707#    define LT_DLGLOBAL		0
12708#  endif
12709#endif
12710
12711/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12712   find out it does not work in some platform. */
12713#ifndef LT_DLLAZY_OR_NOW
12714#  ifdef RTLD_LAZY
12715#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12716#  else
12717#    ifdef DL_LAZY
12718#      define LT_DLLAZY_OR_NOW		DL_LAZY
12719#    else
12720#      ifdef RTLD_NOW
12721#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12722#      else
12723#        ifdef DL_NOW
12724#          define LT_DLLAZY_OR_NOW	DL_NOW
12725#        else
12726#          define LT_DLLAZY_OR_NOW	0
12727#        endif
12728#      endif
12729#    endif
12730#  endif
12731#endif
12732
12733/* When -fvisibility=hidden is used, assume the code has been annotated
12734   correspondingly for the symbols needed.  */
12735#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12736int fnord () __attribute__((visibility("default")));
12737#endif
12738
12739int fnord () { return 42; }
12740int main ()
12741{
12742  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12743  int status = $lt_dlunknown;
12744
12745  if (self)
12746    {
12747      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12748      else
12749        {
12750	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12751          else puts (dlerror ());
12752	}
12753      /* dlclose (self); */
12754    }
12755  else
12756    puts (dlerror ());
12757
12758  return status;
12759}
12760_LT_EOF
12761  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12762  (eval $ac_link) 2>&5
12763  ac_status=$?
12764  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12765  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12766    (./conftest; exit; ) >&5 2>/dev/null
12767    lt_status=$?
12768    case x$lt_status in
12769      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12770      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12771      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12772    esac
12773  else :
12774    # compilation failed
12775    lt_cv_dlopen_self=no
12776  fi
12777fi
12778rm -fr conftest*
12779
12780
12781fi
12782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12783$as_echo "$lt_cv_dlopen_self" >&6; }
12784
12785    if test yes = "$lt_cv_dlopen_self"; then
12786      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12787      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12788$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12789if ${lt_cv_dlopen_self_static+:} false; then :
12790  $as_echo_n "(cached) " >&6
12791else
12792  	  if test yes = "$cross_compiling"; then :
12793  lt_cv_dlopen_self_static=cross
12794else
12795  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12796  lt_status=$lt_dlunknown
12797  cat > conftest.$ac_ext <<_LT_EOF
12798#line $LINENO "configure"
12799#include "confdefs.h"
12800
12801#if HAVE_DLFCN_H
12802#include <dlfcn.h>
12803#endif
12804
12805#include <stdio.h>
12806
12807#ifdef RTLD_GLOBAL
12808#  define LT_DLGLOBAL		RTLD_GLOBAL
12809#else
12810#  ifdef DL_GLOBAL
12811#    define LT_DLGLOBAL		DL_GLOBAL
12812#  else
12813#    define LT_DLGLOBAL		0
12814#  endif
12815#endif
12816
12817/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12818   find out it does not work in some platform. */
12819#ifndef LT_DLLAZY_OR_NOW
12820#  ifdef RTLD_LAZY
12821#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12822#  else
12823#    ifdef DL_LAZY
12824#      define LT_DLLAZY_OR_NOW		DL_LAZY
12825#    else
12826#      ifdef RTLD_NOW
12827#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12828#      else
12829#        ifdef DL_NOW
12830#          define LT_DLLAZY_OR_NOW	DL_NOW
12831#        else
12832#          define LT_DLLAZY_OR_NOW	0
12833#        endif
12834#      endif
12835#    endif
12836#  endif
12837#endif
12838
12839/* When -fvisibility=hidden is used, assume the code has been annotated
12840   correspondingly for the symbols needed.  */
12841#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12842int fnord () __attribute__((visibility("default")));
12843#endif
12844
12845int fnord () { return 42; }
12846int main ()
12847{
12848  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12849  int status = $lt_dlunknown;
12850
12851  if (self)
12852    {
12853      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12854      else
12855        {
12856	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12857          else puts (dlerror ());
12858	}
12859      /* dlclose (self); */
12860    }
12861  else
12862    puts (dlerror ());
12863
12864  return status;
12865}
12866_LT_EOF
12867  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12868  (eval $ac_link) 2>&5
12869  ac_status=$?
12870  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12871  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12872    (./conftest; exit; ) >&5 2>/dev/null
12873    lt_status=$?
12874    case x$lt_status in
12875      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12876      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12877      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12878    esac
12879  else :
12880    # compilation failed
12881    lt_cv_dlopen_self_static=no
12882  fi
12883fi
12884rm -fr conftest*
12885
12886
12887fi
12888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12889$as_echo "$lt_cv_dlopen_self_static" >&6; }
12890    fi
12891
12892    CPPFLAGS=$save_CPPFLAGS
12893    LDFLAGS=$save_LDFLAGS
12894    LIBS=$save_LIBS
12895    ;;
12896  esac
12897
12898  case $lt_cv_dlopen_self in
12899  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12900  *) enable_dlopen_self=unknown ;;
12901  esac
12902
12903  case $lt_cv_dlopen_self_static in
12904  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12905  *) enable_dlopen_self_static=unknown ;;
12906  esac
12907fi
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925striplib=
12926old_striplib=
12927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12928$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12929if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12930  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12931  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12933$as_echo "yes" >&6; }
12934else
12935# FIXME - insert some real tests, host_os isn't really good enough
12936  case $host_os in
12937  darwin*)
12938    if test -n "$STRIP"; then
12939      striplib="$STRIP -x"
12940      old_striplib="$STRIP -S"
12941      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12942$as_echo "yes" >&6; }
12943    else
12944      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12945$as_echo "no" >&6; }
12946    fi
12947    ;;
12948  *)
12949    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12950$as_echo "no" >&6; }
12951    ;;
12952  esac
12953fi
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966  # Report what library types will actually be built
12967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12968$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12970$as_echo "$can_build_shared" >&6; }
12971
12972  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12973$as_echo_n "checking whether to build shared libraries... " >&6; }
12974  test no = "$can_build_shared" && enable_shared=no
12975
12976  # On AIX, shared libraries and static libraries use the same namespace, and
12977  # are all built from PIC.
12978  case $host_os in
12979  aix3*)
12980    test yes = "$enable_shared" && enable_static=no
12981    if test -n "$RANLIB"; then
12982      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12983      postinstall_cmds='$RANLIB $lib'
12984    fi
12985    ;;
12986
12987  aix[4-9]*)
12988    if test ia64 != "$host_cpu"; then
12989      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12990      yes,aix,yes) ;;			# shared object as lib.so file only
12991      yes,svr4,*) ;;			# shared object as lib.so archive member only
12992      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12993      esac
12994    fi
12995    ;;
12996  esac
12997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12998$as_echo "$enable_shared" >&6; }
12999
13000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13001$as_echo_n "checking whether to build static libraries... " >&6; }
13002  # Make sure either enable_shared or enable_static is yes.
13003  test yes = "$enable_shared" || enable_static=yes
13004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13005$as_echo "$enable_static" >&6; }
13006
13007
13008
13009
13010fi
13011ac_ext=c
13012ac_cpp='$CPP $CPPFLAGS'
13013ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13014ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13015ac_compiler_gnu=$ac_cv_c_compiler_gnu
13016
13017CC=$lt_save_CC
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033        ac_config_commands="$ac_config_commands libtool"
13034
13035
13036
13037
13038# Only expand once:
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13049	if test -n "$ac_tool_prefix"; then
13050  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13051set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13053$as_echo_n "checking for $ac_word... " >&6; }
13054if ${ac_cv_path_PKG_CONFIG+:} false; then :
13055  $as_echo_n "(cached) " >&6
13056else
13057  case $PKG_CONFIG in
13058  [\\/]* | ?:[\\/]*)
13059  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13060  ;;
13061  *)
13062  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13063for as_dir in $PATH
13064do
13065  IFS=$as_save_IFS
13066  test -z "$as_dir" && as_dir=.
13067    for ac_exec_ext in '' $ac_executable_extensions; do
13068  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13069    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13070    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13071    break 2
13072  fi
13073done
13074  done
13075IFS=$as_save_IFS
13076
13077  ;;
13078esac
13079fi
13080PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13081if test -n "$PKG_CONFIG"; then
13082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13083$as_echo "$PKG_CONFIG" >&6; }
13084else
13085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13086$as_echo "no" >&6; }
13087fi
13088
13089
13090fi
13091if test -z "$ac_cv_path_PKG_CONFIG"; then
13092  ac_pt_PKG_CONFIG=$PKG_CONFIG
13093  # Extract the first word of "pkg-config", so it can be a program name with args.
13094set dummy pkg-config; ac_word=$2
13095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13096$as_echo_n "checking for $ac_word... " >&6; }
13097if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13098  $as_echo_n "(cached) " >&6
13099else
13100  case $ac_pt_PKG_CONFIG in
13101  [\\/]* | ?:[\\/]*)
13102  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13103  ;;
13104  *)
13105  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13106for as_dir in $PATH
13107do
13108  IFS=$as_save_IFS
13109  test -z "$as_dir" && as_dir=.
13110    for ac_exec_ext in '' $ac_executable_extensions; do
13111  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13112    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13113    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13114    break 2
13115  fi
13116done
13117  done
13118IFS=$as_save_IFS
13119
13120  ;;
13121esac
13122fi
13123ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13124if test -n "$ac_pt_PKG_CONFIG"; then
13125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13126$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13127else
13128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13129$as_echo "no" >&6; }
13130fi
13131
13132  if test "x$ac_pt_PKG_CONFIG" = x; then
13133    PKG_CONFIG=""
13134  else
13135    case $cross_compiling:$ac_tool_warned in
13136yes:)
13137{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13138$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13139ac_tool_warned=yes ;;
13140esac
13141    PKG_CONFIG=$ac_pt_PKG_CONFIG
13142  fi
13143else
13144  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13145fi
13146
13147fi
13148if test -n "$PKG_CONFIG"; then
13149	_pkg_min_version=0.9.0
13150	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13151$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13152	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13153		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13154$as_echo "yes" >&6; }
13155	else
13156		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13157$as_echo "no" >&6; }
13158		PKG_CONFIG=""
13159	fi
13160fi
13161
13162
13163
13164
13165  # Check whether --enable-schemas-compile was given.
13166if test "${enable_schemas_compile+set}" = set; then :
13167  enableval=$enable_schemas_compile; case ${enableval} in
13168                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
13169                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
13170                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
13171                 esac
13172fi
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13183	if test -n "$ac_tool_prefix"; then
13184  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13185set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13187$as_echo_n "checking for $ac_word... " >&6; }
13188if ${ac_cv_path_PKG_CONFIG+:} false; then :
13189  $as_echo_n "(cached) " >&6
13190else
13191  case $PKG_CONFIG in
13192  [\\/]* | ?:[\\/]*)
13193  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13194  ;;
13195  *)
13196  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13197for as_dir in $PATH
13198do
13199  IFS=$as_save_IFS
13200  test -z "$as_dir" && as_dir=.
13201    for ac_exec_ext in '' $ac_executable_extensions; do
13202  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13203    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13204    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13205    break 2
13206  fi
13207done
13208  done
13209IFS=$as_save_IFS
13210
13211  ;;
13212esac
13213fi
13214PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13215if test -n "$PKG_CONFIG"; then
13216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13217$as_echo "$PKG_CONFIG" >&6; }
13218else
13219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13220$as_echo "no" >&6; }
13221fi
13222
13223
13224fi
13225if test -z "$ac_cv_path_PKG_CONFIG"; then
13226  ac_pt_PKG_CONFIG=$PKG_CONFIG
13227  # Extract the first word of "pkg-config", so it can be a program name with args.
13228set dummy pkg-config; ac_word=$2
13229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13230$as_echo_n "checking for $ac_word... " >&6; }
13231if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13232  $as_echo_n "(cached) " >&6
13233else
13234  case $ac_pt_PKG_CONFIG in
13235  [\\/]* | ?:[\\/]*)
13236  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13237  ;;
13238  *)
13239  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13240for as_dir in $PATH
13241do
13242  IFS=$as_save_IFS
13243  test -z "$as_dir" && as_dir=.
13244    for ac_exec_ext in '' $ac_executable_extensions; do
13245  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13246    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13247    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13248    break 2
13249  fi
13250done
13251  done
13252IFS=$as_save_IFS
13253
13254  ;;
13255esac
13256fi
13257ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13258if test -n "$ac_pt_PKG_CONFIG"; then
13259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13260$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13261else
13262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13263$as_echo "no" >&6; }
13264fi
13265
13266  if test "x$ac_pt_PKG_CONFIG" = x; then
13267    PKG_CONFIG=""
13268  else
13269    case $cross_compiling:$ac_tool_warned in
13270yes:)
13271{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13272$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13273ac_tool_warned=yes ;;
13274esac
13275    PKG_CONFIG=$ac_pt_PKG_CONFIG
13276  fi
13277else
13278  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13279fi
13280
13281fi
13282if test -n "$PKG_CONFIG"; then
13283	_pkg_min_version=0.16
13284	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13285$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13286	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13287		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13288$as_echo "yes" >&6; }
13289	else
13290		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13291$as_echo "no" >&6; }
13292		PKG_CONFIG=""
13293	fi
13294fi
13295  gsettingsschemadir=${datadir}/glib-2.0/schemas
13296
13297  if test x$cross_compiling != xyes; then :
13298
13299if test -n "$GLIB_COMPILE_SCHEMAS"; then
13300    pkg_cv_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS"
13301 elif test -n "$PKG_CONFIG"; then
13302    if test -n "$PKG_CONFIG" && \
13303    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
13304  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
13305  ac_status=$?
13306  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13307  test $ac_status = 0; }; then
13308  pkg_cv_GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable="glib_compile_schemas" "gio-2.0" 2>/dev/null`
13309		      test "x$?" != "x0" && pkg_failed=yes
13310else
13311  pkg_failed=yes
13312fi
13313 else
13314    pkg_failed=untried
13315fi
13316GLIB_COMPILE_SCHEMAS=$pkg_cv_GLIB_COMPILE_SCHEMAS
13317
13318if test "x$GLIB_COMPILE_SCHEMAS" = x""; then :
13319
13320fi
13321else
13322  # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
13323set dummy glib-compile-schemas; ac_word=$2
13324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13325$as_echo_n "checking for $ac_word... " >&6; }
13326if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
13327  $as_echo_n "(cached) " >&6
13328else
13329  case $GLIB_COMPILE_SCHEMAS in
13330  [\\/]* | ?:[\\/]*)
13331  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
13332  ;;
13333  *)
13334  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13335for as_dir in $PATH
13336do
13337  IFS=$as_save_IFS
13338  test -z "$as_dir" && as_dir=.
13339    for ac_exec_ext in '' $ac_executable_extensions; do
13340  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13341    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
13342    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13343    break 2
13344  fi
13345done
13346  done
13347IFS=$as_save_IFS
13348
13349  ;;
13350esac
13351fi
13352GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
13353if test -n "$GLIB_COMPILE_SCHEMAS"; then
13354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
13355$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
13356else
13357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13358$as_echo "no" >&6; }
13359fi
13360
13361
13362fi
13363
13364  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
13365    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
13366  else
13367    :
13368  fi
13369
13370  GSETTINGS_RULES='
13371.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
13372
13373mostlyclean-am: clean-gsettings-schemas
13374
13375gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
13376
13377%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
13378	$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
13379
13380all-am: $(gsettings_SCHEMAS:.xml=.valid)
13381uninstall-am: uninstall-gsettings-schemas
13382install-data-am: install-gsettings-schemas
13383
13384.SECONDARY: $(gsettings_SCHEMAS)
13385
13386install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
13387	@$(NORMAL_INSTALL)
13388	if test -n "$^"; then \
13389		test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
13390		$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
13391		test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
13392	fi
13393
13394uninstall-gsettings-schemas:
13395	@$(NORMAL_UNINSTALL)
13396	@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
13397	files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
13398	test -n "$$files" || exit 0; \
13399	echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
13400	cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
13401	test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
13402
13403clean-gsettings-schemas:
13404	rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
13405
13406ifdef gsettings_ENUM_NAMESPACE
13407$(gsettings__enum_file): $(gsettings_ENUM_FILES)
13408	$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
13409endif
13410'
13411
13412
13413
13414
13415
13416
13417
13418# Extract the first word of "glib-genmarshal", so it can be a program name with args.
13419set dummy glib-genmarshal; ac_word=$2
13420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13421$as_echo_n "checking for $ac_word... " >&6; }
13422if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
13423  $as_echo_n "(cached) " >&6
13424else
13425  case $GLIB_GENMARSHAL in
13426  [\\/]* | ?:[\\/]*)
13427  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13428  ;;
13429  *)
13430  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13431for as_dir in $PATH
13432do
13433  IFS=$as_save_IFS
13434  test -z "$as_dir" && as_dir=.
13435    for ac_exec_ext in '' $ac_executable_extensions; do
13436  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13437    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13438    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13439    break 2
13440  fi
13441done
13442  done
13443IFS=$as_save_IFS
13444
13445  ;;
13446esac
13447fi
13448GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13449if test -n "$GLIB_GENMARSHAL"; then
13450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
13451$as_echo "$GLIB_GENMARSHAL" >&6; }
13452else
13453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13454$as_echo "no" >&6; }
13455fi
13456
13457
13458# Extract the first word of "glib-mkenums", so it can be a program name with args.
13459set dummy glib-mkenums; ac_word=$2
13460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13461$as_echo_n "checking for $ac_word... " >&6; }
13462if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
13463  $as_echo_n "(cached) " >&6
13464else
13465  case $GLIB_MKENUMS in
13466  [\\/]* | ?:[\\/]*)
13467  ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
13468  ;;
13469  *)
13470  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13471for as_dir in $PATH
13472do
13473  IFS=$as_save_IFS
13474  test -z "$as_dir" && as_dir=.
13475    for ac_exec_ext in '' $ac_executable_extensions; do
13476  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13477    ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
13478    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13479    break 2
13480  fi
13481done
13482  done
13483IFS=$as_save_IFS
13484
13485  ;;
13486esac
13487fi
13488GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
13489if test -n "$GLIB_MKENUMS"; then
13490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
13491$as_echo "$GLIB_MKENUMS" >&6; }
13492else
13493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13494$as_echo "no" >&6; }
13495fi
13496
13497
13498# Extract the first word of "glib-compile-resources", so it can be a program name with args.
13499set dummy glib-compile-resources; ac_word=$2
13500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13501$as_echo_n "checking for $ac_word... " >&6; }
13502if ${ac_cv_path_GLIB_COMPILE_RESOURCES+:} false; then :
13503  $as_echo_n "(cached) " >&6
13504else
13505  case $GLIB_COMPILE_RESOURCES in
13506  [\\/]* | ?:[\\/]*)
13507  ac_cv_path_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES" # Let the user override the test with a path.
13508  ;;
13509  *)
13510  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13511for as_dir in $PATH
13512do
13513  IFS=$as_save_IFS
13514  test -z "$as_dir" && as_dir=.
13515    for ac_exec_ext in '' $ac_executable_extensions; do
13516  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13517    ac_cv_path_GLIB_COMPILE_RESOURCES="$as_dir/$ac_word$ac_exec_ext"
13518    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13519    break 2
13520  fi
13521done
13522  done
13523IFS=$as_save_IFS
13524
13525  ;;
13526esac
13527fi
13528GLIB_COMPILE_RESOURCES=$ac_cv_path_GLIB_COMPILE_RESOURCES
13529if test -n "$GLIB_COMPILE_RESOURCES"; then
13530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_RESOURCES" >&5
13531$as_echo "$GLIB_COMPILE_RESOURCES" >&6; }
13532else
13533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13534$as_echo "no" >&6; }
13535fi
13536
13537
13538
13539
13540GLIB_REQUIRED=2.50.0
13541GIO_REQUIRED=2.50.0
13542GTK_REQUIRED=3.22.0
13543CAJA_REQUIRED=1.17.1
13544JSON_GLIB_REQUIRED=0.14.0
13545SM_REQUIRED=1.0.0
13546ICE_REQUIRED=1.0.0
13547
13548
13549
13550
13551
13552
13553
13554
13555pkg_failed=no
13556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEGG" >&5
13557$as_echo_n "checking for LIBEGG... " >&6; }
13558
13559if test -n "$LIBEGG_CFLAGS"; then
13560    pkg_cv_LIBEGG_CFLAGS="$LIBEGG_CFLAGS"
13561 elif test -n "$PKG_CONFIG"; then
13562    if test -n "$PKG_CONFIG" && \
13563    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13564                           gtk+-3.0 >= \$GTK_REQUIRED
13565                           sm >= \$SM_REQUIRED
13566                           ice >= \$ICE_REQUIRED\""; } >&5
13567  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
13568                           gtk+-3.0 >= $GTK_REQUIRED
13569                           sm >= $SM_REQUIRED
13570                           ice >= $ICE_REQUIRED") 2>&5
13571  ac_status=$?
13572  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13573  test $ac_status = 0; }; then
13574  pkg_cv_LIBEGG_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED
13575                           gtk+-3.0 >= $GTK_REQUIRED
13576                           sm >= $SM_REQUIRED
13577                           ice >= $ICE_REQUIRED" 2>/dev/null`
13578		      test "x$?" != "x0" && pkg_failed=yes
13579else
13580  pkg_failed=yes
13581fi
13582 else
13583    pkg_failed=untried
13584fi
13585if test -n "$LIBEGG_LIBS"; then
13586    pkg_cv_LIBEGG_LIBS="$LIBEGG_LIBS"
13587 elif test -n "$PKG_CONFIG"; then
13588    if test -n "$PKG_CONFIG" && \
13589    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13590                           gtk+-3.0 >= \$GTK_REQUIRED
13591                           sm >= \$SM_REQUIRED
13592                           ice >= \$ICE_REQUIRED\""; } >&5
13593  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
13594                           gtk+-3.0 >= $GTK_REQUIRED
13595                           sm >= $SM_REQUIRED
13596                           ice >= $ICE_REQUIRED") 2>&5
13597  ac_status=$?
13598  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13599  test $ac_status = 0; }; then
13600  pkg_cv_LIBEGG_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED
13601                           gtk+-3.0 >= $GTK_REQUIRED
13602                           sm >= $SM_REQUIRED
13603                           ice >= $ICE_REQUIRED" 2>/dev/null`
13604		      test "x$?" != "x0" && pkg_failed=yes
13605else
13606  pkg_failed=yes
13607fi
13608 else
13609    pkg_failed=untried
13610fi
13611
13612
13613
13614if test $pkg_failed = yes; then
13615   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13616$as_echo "no" >&6; }
13617
13618if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13619        _pkg_short_errors_supported=yes
13620else
13621        _pkg_short_errors_supported=no
13622fi
13623        if test $_pkg_short_errors_supported = yes; then
13624	        LIBEGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
13625                           gtk+-3.0 >= $GTK_REQUIRED
13626                           sm >= $SM_REQUIRED
13627                           ice >= $ICE_REQUIRED" 2>&1`
13628        else
13629	        LIBEGG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
13630                           gtk+-3.0 >= $GTK_REQUIRED
13631                           sm >= $SM_REQUIRED
13632                           ice >= $ICE_REQUIRED" 2>&1`
13633        fi
13634	# Put the nasty error message in config.log where it belongs
13635	echo "$LIBEGG_PKG_ERRORS" >&5
13636
13637	as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED
13638                           gtk+-3.0 >= $GTK_REQUIRED
13639                           sm >= $SM_REQUIRED
13640                           ice >= $ICE_REQUIRED) were not met:
13641
13642$LIBEGG_PKG_ERRORS
13643
13644Consider adjusting the PKG_CONFIG_PATH environment variable if you
13645installed software in a non-standard prefix.
13646
13647Alternatively, you may set the environment variables LIBEGG_CFLAGS
13648and LIBEGG_LIBS to avoid the need to call pkg-config.
13649See the pkg-config man page for more details." "$LINENO" 5
13650elif test $pkg_failed = untried; then
13651     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13652$as_echo "no" >&6; }
13653	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13654$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13655as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13656is in your PATH or set the PKG_CONFIG environment variable to the full
13657path to pkg-config.
13658
13659Alternatively, you may set the environment variables LIBEGG_CFLAGS
13660and LIBEGG_LIBS to avoid the need to call pkg-config.
13661See the pkg-config man page for more details.
13662
13663To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13664See \`config.log' for more details" "$LINENO" 5; }
13665else
13666	LIBEGG_CFLAGS=$pkg_cv_LIBEGG_CFLAGS
13667	LIBEGG_LIBS=$pkg_cv_LIBEGG_LIBS
13668        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13669$as_echo "yes" >&6; }
13670
13671fi
13672
13673
13674
13675
13676# Check whether --enable-run_in_place was given.
13677if test "${enable_run_in_place+set}" = set; then :
13678  enableval=$enable_run_in_place;
13679else
13680  enable_run_in_place=no
13681fi
13682
13683 if test "x$enable_run_in_place" != xno; then
13684  RUN_IN_PLACE_TRUE=
13685  RUN_IN_PLACE_FALSE='#'
13686else
13687  RUN_IN_PLACE_TRUE='#'
13688  RUN_IN_PLACE_FALSE=
13689fi
13690
13691
13692
13693
13694pkg_failed=no
13695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FR" >&5
13696$as_echo_n "checking for FR... " >&6; }
13697
13698if test -n "$FR_CFLAGS"; then
13699    pkg_cv_FR_CFLAGS="$FR_CFLAGS"
13700 elif test -n "$PKG_CONFIG"; then
13701    if test -n "$PKG_CONFIG" && \
13702    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13703	glib-2.0 >= \$GLIB_REQUIRED			\\
13704	gthread-2.0					\\
13705	gio-unix-2.0 >= \$GIO_REQUIRED			\\
13706	gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
13707  ($PKG_CONFIG --exists --print-errors "\
13708	glib-2.0 >= $GLIB_REQUIRED			\
13709	gthread-2.0					\
13710	gio-unix-2.0 >= $GIO_REQUIRED			\
13711	gtk+-3.0 >= $GTK_REQUIRED") 2>&5
13712  ac_status=$?
13713  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13714  test $ac_status = 0; }; then
13715  pkg_cv_FR_CFLAGS=`$PKG_CONFIG --cflags "\
13716	glib-2.0 >= $GLIB_REQUIRED			\
13717	gthread-2.0					\
13718	gio-unix-2.0 >= $GIO_REQUIRED			\
13719	gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
13720		      test "x$?" != "x0" && pkg_failed=yes
13721else
13722  pkg_failed=yes
13723fi
13724 else
13725    pkg_failed=untried
13726fi
13727if test -n "$FR_LIBS"; then
13728    pkg_cv_FR_LIBS="$FR_LIBS"
13729 elif test -n "$PKG_CONFIG"; then
13730    if test -n "$PKG_CONFIG" && \
13731    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13732	glib-2.0 >= \$GLIB_REQUIRED			\\
13733	gthread-2.0					\\
13734	gio-unix-2.0 >= \$GIO_REQUIRED			\\
13735	gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
13736  ($PKG_CONFIG --exists --print-errors "\
13737	glib-2.0 >= $GLIB_REQUIRED			\
13738	gthread-2.0					\
13739	gio-unix-2.0 >= $GIO_REQUIRED			\
13740	gtk+-3.0 >= $GTK_REQUIRED") 2>&5
13741  ac_status=$?
13742  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13743  test $ac_status = 0; }; then
13744  pkg_cv_FR_LIBS=`$PKG_CONFIG --libs "\
13745	glib-2.0 >= $GLIB_REQUIRED			\
13746	gthread-2.0					\
13747	gio-unix-2.0 >= $GIO_REQUIRED			\
13748	gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
13749		      test "x$?" != "x0" && pkg_failed=yes
13750else
13751  pkg_failed=yes
13752fi
13753 else
13754    pkg_failed=untried
13755fi
13756
13757
13758
13759if test $pkg_failed = yes; then
13760   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13761$as_echo "no" >&6; }
13762
13763if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13764        _pkg_short_errors_supported=yes
13765else
13766        _pkg_short_errors_supported=no
13767fi
13768        if test $_pkg_short_errors_supported = yes; then
13769	        FR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
13770	glib-2.0 >= $GLIB_REQUIRED			\
13771	gthread-2.0					\
13772	gio-unix-2.0 >= $GIO_REQUIRED			\
13773	gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
13774        else
13775	        FR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
13776	glib-2.0 >= $GLIB_REQUIRED			\
13777	gthread-2.0					\
13778	gio-unix-2.0 >= $GIO_REQUIRED			\
13779	gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
13780        fi
13781	# Put the nasty error message in config.log where it belongs
13782	echo "$FR_PKG_ERRORS" >&5
13783
13784	as_fn_error $? "Package requirements (\
13785	glib-2.0 >= $GLIB_REQUIRED			\
13786	gthread-2.0					\
13787	gio-unix-2.0 >= $GIO_REQUIRED			\
13788	gtk+-3.0 >= $GTK_REQUIRED) were not met:
13789
13790$FR_PKG_ERRORS
13791
13792Consider adjusting the PKG_CONFIG_PATH environment variable if you
13793installed software in a non-standard prefix.
13794
13795Alternatively, you may set the environment variables FR_CFLAGS
13796and FR_LIBS to avoid the need to call pkg-config.
13797See the pkg-config man page for more details." "$LINENO" 5
13798elif test $pkg_failed = untried; then
13799     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13800$as_echo "no" >&6; }
13801	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13802$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13803as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13804is in your PATH or set the PKG_CONFIG environment variable to the full
13805path to pkg-config.
13806
13807Alternatively, you may set the environment variables FR_CFLAGS
13808and FR_LIBS to avoid the need to call pkg-config.
13809See the pkg-config man page for more details.
13810
13811To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13812See \`config.log' for more details" "$LINENO" 5; }
13813else
13814	FR_CFLAGS=$pkg_cv_FR_CFLAGS
13815	FR_LIBS=$pkg_cv_FR_LIBS
13816        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13817$as_echo "yes" >&6; }
13818
13819fi
13820
13821
13822
13823
13824# Check whether --enable-caja_actions was given.
13825if test "${enable_caja_actions+set}" = set; then :
13826  enableval=$enable_caja_actions;
13827else
13828  enable_caja_actions=yes
13829fi
13830
13831
13832if test x"$enable_caja_actions" != x"no" ; then
13833
13834pkg_failed=no
13835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAJA" >&5
13836$as_echo_n "checking for CAJA... " >&6; }
13837
13838if test -n "$CAJA_CFLAGS"; then
13839    pkg_cv_CAJA_CFLAGS="$CAJA_CFLAGS"
13840 elif test -n "$PKG_CONFIG"; then
13841    if test -n "$PKG_CONFIG" && \
13842    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13843			  libcaja-extension >= \$CAJA_REQUIRED \\
13844			  glib-2.0 \\
13845			  gio-2.0\""; } >&5
13846  ($PKG_CONFIG --exists --print-errors "\
13847			  libcaja-extension >= $CAJA_REQUIRED \
13848			  glib-2.0 \
13849			  gio-2.0") 2>&5
13850  ac_status=$?
13851  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13852  test $ac_status = 0; }; then
13853  pkg_cv_CAJA_CFLAGS=`$PKG_CONFIG --cflags "\
13854			  libcaja-extension >= $CAJA_REQUIRED \
13855			  glib-2.0 \
13856			  gio-2.0" 2>/dev/null`
13857		      test "x$?" != "x0" && pkg_failed=yes
13858else
13859  pkg_failed=yes
13860fi
13861 else
13862    pkg_failed=untried
13863fi
13864if test -n "$CAJA_LIBS"; then
13865    pkg_cv_CAJA_LIBS="$CAJA_LIBS"
13866 elif test -n "$PKG_CONFIG"; then
13867    if test -n "$PKG_CONFIG" && \
13868    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13869			  libcaja-extension >= \$CAJA_REQUIRED \\
13870			  glib-2.0 \\
13871			  gio-2.0\""; } >&5
13872  ($PKG_CONFIG --exists --print-errors "\
13873			  libcaja-extension >= $CAJA_REQUIRED \
13874			  glib-2.0 \
13875			  gio-2.0") 2>&5
13876  ac_status=$?
13877  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13878  test $ac_status = 0; }; then
13879  pkg_cv_CAJA_LIBS=`$PKG_CONFIG --libs "\
13880			  libcaja-extension >= $CAJA_REQUIRED \
13881			  glib-2.0 \
13882			  gio-2.0" 2>/dev/null`
13883		      test "x$?" != "x0" && pkg_failed=yes
13884else
13885  pkg_failed=yes
13886fi
13887 else
13888    pkg_failed=untried
13889fi
13890
13891
13892
13893if test $pkg_failed = yes; then
13894   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13895$as_echo "no" >&6; }
13896
13897if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13898        _pkg_short_errors_supported=yes
13899else
13900        _pkg_short_errors_supported=no
13901fi
13902        if test $_pkg_short_errors_supported = yes; then
13903	        CAJA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
13904			  libcaja-extension >= $CAJA_REQUIRED \
13905			  glib-2.0 \
13906			  gio-2.0" 2>&1`
13907        else
13908	        CAJA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
13909			  libcaja-extension >= $CAJA_REQUIRED \
13910			  glib-2.0 \
13911			  gio-2.0" 2>&1`
13912        fi
13913	# Put the nasty error message in config.log where it belongs
13914	echo "$CAJA_PKG_ERRORS" >&5
13915
13916	as_fn_error $? "Package requirements (\
13917			  libcaja-extension >= $CAJA_REQUIRED \
13918			  glib-2.0 \
13919			  gio-2.0) were not met:
13920
13921$CAJA_PKG_ERRORS
13922
13923Consider adjusting the PKG_CONFIG_PATH environment variable if you
13924installed software in a non-standard prefix.
13925
13926Alternatively, you may set the environment variables CAJA_CFLAGS
13927and CAJA_LIBS to avoid the need to call pkg-config.
13928See the pkg-config man page for more details." "$LINENO" 5
13929elif test $pkg_failed = untried; then
13930     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13931$as_echo "no" >&6; }
13932	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13933$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13934as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13935is in your PATH or set the PKG_CONFIG environment variable to the full
13936path to pkg-config.
13937
13938Alternatively, you may set the environment variables CAJA_CFLAGS
13939and CAJA_LIBS to avoid the need to call pkg-config.
13940See the pkg-config man page for more details.
13941
13942To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13943See \`config.log' for more details" "$LINENO" 5; }
13944else
13945	CAJA_CFLAGS=$pkg_cv_CAJA_CFLAGS
13946	CAJA_LIBS=$pkg_cv_CAJA_LIBS
13947        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13948$as_echo "yes" >&6; }
13949
13950fi
13951
13952
13953
13954fi
13955 if test "x$enable_caja_actions" = xyes; then
13956  ENABLE_CAJA_ACTIONS_TRUE=
13957  ENABLE_CAJA_ACTIONS_FALSE='#'
13958else
13959  ENABLE_CAJA_ACTIONS_TRUE='#'
13960  ENABLE_CAJA_ACTIONS_FALSE=
13961fi
13962
13963
13964
13965# Check whether --with-cajadir was given.
13966if test "${with_cajadir+set}" = set; then :
13967  withval=$with_cajadir; ac_with_cajadir=$withval
13968else
13969  ac_with_cajadir=""
13970fi
13971
13972if test "${ac_with_cajadir}" = ""; then
13973        ac_with_cajadir=`$PKG_CONFIG --variable=extensiondir libcaja-extension`
13974fi
13975
13976{ $as_echo "$as_me:${as_lineno-$LINENO}: installing caja plugin in ${ac_with_cajadir}" >&5
13977$as_echo "$as_me: installing caja plugin in ${ac_with_cajadir}" >&6;}
13978CAJA_EXTENSION_DIR=${ac_with_cajadir}
13979
13980
13981
13982
13983pkg_failed=no
13984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON_GLIB" >&5
13985$as_echo_n "checking for JSON_GLIB... " >&6; }
13986
13987if test -n "$JSON_GLIB_CFLAGS"; then
13988    pkg_cv_JSON_GLIB_CFLAGS="$JSON_GLIB_CFLAGS"
13989 elif test -n "$PKG_CONFIG"; then
13990    if test -n "$PKG_CONFIG" && \
13991    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-glib-1.0 >= \$JSON_GLIB_REQUIRED
13992		   glib-2.0\""; } >&5
13993  ($PKG_CONFIG --exists --print-errors "json-glib-1.0 >= $JSON_GLIB_REQUIRED
13994		   glib-2.0") 2>&5
13995  ac_status=$?
13996  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13997  test $ac_status = 0; }; then
13998  pkg_cv_JSON_GLIB_CFLAGS=`$PKG_CONFIG --cflags "json-glib-1.0 >= $JSON_GLIB_REQUIRED
13999		   glib-2.0" 2>/dev/null`
14000		      test "x$?" != "x0" && pkg_failed=yes
14001else
14002  pkg_failed=yes
14003fi
14004 else
14005    pkg_failed=untried
14006fi
14007if test -n "$JSON_GLIB_LIBS"; then
14008    pkg_cv_JSON_GLIB_LIBS="$JSON_GLIB_LIBS"
14009 elif test -n "$PKG_CONFIG"; then
14010    if test -n "$PKG_CONFIG" && \
14011    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-glib-1.0 >= \$JSON_GLIB_REQUIRED
14012		   glib-2.0\""; } >&5
14013  ($PKG_CONFIG --exists --print-errors "json-glib-1.0 >= $JSON_GLIB_REQUIRED
14014		   glib-2.0") 2>&5
14015  ac_status=$?
14016  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14017  test $ac_status = 0; }; then
14018  pkg_cv_JSON_GLIB_LIBS=`$PKG_CONFIG --libs "json-glib-1.0 >= $JSON_GLIB_REQUIRED
14019		   glib-2.0" 2>/dev/null`
14020		      test "x$?" != "x0" && pkg_failed=yes
14021else
14022  pkg_failed=yes
14023fi
14024 else
14025    pkg_failed=untried
14026fi
14027
14028
14029
14030if test $pkg_failed = yes; then
14031   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14032$as_echo "no" >&6; }
14033
14034if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14035        _pkg_short_errors_supported=yes
14036else
14037        _pkg_short_errors_supported=no
14038fi
14039        if test $_pkg_short_errors_supported = yes; then
14040	        JSON_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-glib-1.0 >= $JSON_GLIB_REQUIRED
14041		   glib-2.0" 2>&1`
14042        else
14043	        JSON_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-glib-1.0 >= $JSON_GLIB_REQUIRED
14044		   glib-2.0" 2>&1`
14045        fi
14046	# Put the nasty error message in config.log where it belongs
14047	echo "$JSON_GLIB_PKG_ERRORS" >&5
14048
14049	enable_json_glib=no
14050elif test $pkg_failed = untried; then
14051     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14052$as_echo "no" >&6; }
14053	enable_json_glib=no
14054else
14055	JSON_GLIB_CFLAGS=$pkg_cv_JSON_GLIB_CFLAGS
14056	JSON_GLIB_LIBS=$pkg_cv_JSON_GLIB_LIBS
14057        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14058$as_echo "yes" >&6; }
14059	enable_json_glib=yes
14060fi
14061
14062if test x$enable_json_glib = xyes ; then
14063
14064$as_echo "#define HAVE_JSON_GLIB 1" >>confdefs.h
14065
14066fi
14067
14068
14069
14070
14071 if test x"$enable_json_glib" != x"no"; then
14072  ENABLE_JSON_GLIB_TRUE=
14073  ENABLE_JSON_GLIB_FALSE='#'
14074else
14075  ENABLE_JSON_GLIB_TRUE='#'
14076  ENABLE_JSON_GLIB_FALSE=
14077fi
14078
14079
14080
14081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
14082$as_echo_n "checking for floor in -lm... " >&6; }
14083if ${ac_cv_lib_m_floor+:} false; then :
14084  $as_echo_n "(cached) " >&6
14085else
14086  ac_check_lib_save_LIBS=$LIBS
14087LIBS="-lm  $LIBS"
14088cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14089/* end confdefs.h.  */
14090
14091/* Override any GCC internal prototype to avoid an error.
14092   Use char because int might match the return type of a GCC
14093   builtin and then its argument prototype would still apply.  */
14094#ifdef __cplusplus
14095extern "C"
14096#endif
14097char floor ();
14098int
14099main ()
14100{
14101return floor ();
14102  ;
14103  return 0;
14104}
14105_ACEOF
14106if ac_fn_c_try_link "$LINENO"; then :
14107  ac_cv_lib_m_floor=yes
14108else
14109  ac_cv_lib_m_floor=no
14110fi
14111rm -f core conftest.err conftest.$ac_objext \
14112    conftest$ac_exeext conftest.$ac_ext
14113LIBS=$ac_check_lib_save_LIBS
14114fi
14115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
14116$as_echo "$ac_cv_lib_m_floor" >&6; }
14117if test "x$ac_cv_lib_m_floor" = xyes; then :
14118  cat >>confdefs.h <<_ACEOF
14119#define HAVE_LIBM 1
14120_ACEOF
14121
14122  LIBS="-lm $LIBS"
14123
14124fi
14125
14126
14127
14128# Check whether --enable-packagekit was given.
14129if test "${enable_packagekit+set}" = set; then :
14130  enableval=$enable_packagekit;
14131else
14132  enable_packagekit=yes
14133fi
14134
14135if test "x$enable_packagekit" != "xno"; then
14136
14137$as_echo "#define ENABLE_PACKAGEKIT 1" >>confdefs.h
14138
14139fi
14140 if test x"$enable_packagekit" != x"no"; then
14141  ENABLE_PACKAGEKIT_TRUE=
14142  ENABLE_PACKAGEKIT_FALSE='#'
14143else
14144  ENABLE_PACKAGEKIT_TRUE='#'
14145  ENABLE_PACKAGEKIT_FALSE=
14146fi
14147
14148
14149
14150GETTEXT_PACKAGE=engrampa
14151
14152
14153cat >>confdefs.h <<_ACEOF
14154#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14155_ACEOF
14156
14157
14158
14159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14160$as_echo_n "checking whether NLS is requested... " >&6; }
14161    # Check whether --enable-nls was given.
14162if test "${enable_nls+set}" = set; then :
14163  enableval=$enable_nls; USE_NLS=$enableval
14164else
14165  USE_NLS=yes
14166fi
14167
14168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14169$as_echo "$USE_NLS" >&6; }
14170
14171
14172
14173
14174      GETTEXT_MACRO_VERSION=0.20
14175
14176
14177
14178
14179# Prepare PATH_SEPARATOR.
14180# The user is always right.
14181if test "${PATH_SEPARATOR+set}" != set; then
14182  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
14183  # contains only /bin. Note that ksh looks also at the FPATH variable,
14184  # so we have to set that as well for the test.
14185  PATH_SEPARATOR=:
14186  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
14187    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
14188           || PATH_SEPARATOR=';'
14189       }
14190fi
14191
14192# Find out how to test for executable files. Don't use a zero-byte file,
14193# as systems may use methods other than mode bits to determine executability.
14194cat >conf$$.file <<_ASEOF
14195#! /bin/sh
14196exit 0
14197_ASEOF
14198chmod +x conf$$.file
14199if test -x conf$$.file >/dev/null 2>&1; then
14200  ac_executable_p="test -x"
14201else
14202  ac_executable_p="test -f"
14203fi
14204rm -f conf$$.file
14205
14206# Extract the first word of "msgfmt", so it can be a program name with args.
14207set dummy msgfmt; ac_word=$2
14208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14209$as_echo_n "checking for $ac_word... " >&6; }
14210if ${ac_cv_path_MSGFMT+:} false; then :
14211  $as_echo_n "(cached) " >&6
14212else
14213  case "$MSGFMT" in
14214  [\\/]* | ?:[\\/]*)
14215    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14216    ;;
14217  *)
14218    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14219    for ac_dir in $PATH; do
14220      IFS="$ac_save_IFS"
14221      test -z "$ac_dir" && ac_dir=.
14222      for ac_exec_ext in '' $ac_executable_extensions; do
14223        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14224          echo "$as_me: trying $ac_dir/$ac_word..." >&5
14225          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
14226     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14227            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
14228            break 2
14229          fi
14230        fi
14231      done
14232    done
14233    IFS="$ac_save_IFS"
14234  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
14235    ;;
14236esac
14237fi
14238MSGFMT="$ac_cv_path_MSGFMT"
14239if test "$MSGFMT" != ":"; then
14240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14241$as_echo "$MSGFMT" >&6; }
14242else
14243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14244$as_echo "no" >&6; }
14245fi
14246
14247  # Extract the first word of "gmsgfmt", so it can be a program name with args.
14248set dummy gmsgfmt; ac_word=$2
14249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14250$as_echo_n "checking for $ac_word... " >&6; }
14251if ${ac_cv_path_GMSGFMT+:} false; then :
14252  $as_echo_n "(cached) " >&6
14253else
14254  case $GMSGFMT in
14255  [\\/]* | ?:[\\/]*)
14256  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14257  ;;
14258  *)
14259  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14260for as_dir in $PATH
14261do
14262  IFS=$as_save_IFS
14263  test -z "$as_dir" && as_dir=.
14264    for ac_exec_ext in '' $ac_executable_extensions; do
14265  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14266    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14267    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14268    break 2
14269  fi
14270done
14271  done
14272IFS=$as_save_IFS
14273
14274  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14275  ;;
14276esac
14277fi
14278GMSGFMT=$ac_cv_path_GMSGFMT
14279if test -n "$GMSGFMT"; then
14280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14281$as_echo "$GMSGFMT" >&6; }
14282else
14283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14284$as_echo "no" >&6; }
14285fi
14286
14287
14288
14289    case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14290    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
14291    *) GMSGFMT_015=$GMSGFMT ;;
14292  esac
14293
14294
14295
14296# Prepare PATH_SEPARATOR.
14297# The user is always right.
14298if test "${PATH_SEPARATOR+set}" != set; then
14299  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
14300  # contains only /bin. Note that ksh looks also at the FPATH variable,
14301  # so we have to set that as well for the test.
14302  PATH_SEPARATOR=:
14303  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
14304    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
14305           || PATH_SEPARATOR=';'
14306       }
14307fi
14308
14309# Find out how to test for executable files. Don't use a zero-byte file,
14310# as systems may use methods other than mode bits to determine executability.
14311cat >conf$$.file <<_ASEOF
14312#! /bin/sh
14313exit 0
14314_ASEOF
14315chmod +x conf$$.file
14316if test -x conf$$.file >/dev/null 2>&1; then
14317  ac_executable_p="test -x"
14318else
14319  ac_executable_p="test -f"
14320fi
14321rm -f conf$$.file
14322
14323# Extract the first word of "xgettext", so it can be a program name with args.
14324set dummy xgettext; ac_word=$2
14325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14326$as_echo_n "checking for $ac_word... " >&6; }
14327if ${ac_cv_path_XGETTEXT+:} false; then :
14328  $as_echo_n "(cached) " >&6
14329else
14330  case "$XGETTEXT" in
14331  [\\/]* | ?:[\\/]*)
14332    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14333    ;;
14334  *)
14335    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14336    for ac_dir in $PATH; do
14337      IFS="$ac_save_IFS"
14338      test -z "$ac_dir" && ac_dir=.
14339      for ac_exec_ext in '' $ac_executable_extensions; do
14340        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14341          echo "$as_me: trying $ac_dir/$ac_word..." >&5
14342          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
14343     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14344            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
14345            break 2
14346          fi
14347        fi
14348      done
14349    done
14350    IFS="$ac_save_IFS"
14351  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14352    ;;
14353esac
14354fi
14355XGETTEXT="$ac_cv_path_XGETTEXT"
14356if test "$XGETTEXT" != ":"; then
14357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14358$as_echo "$XGETTEXT" >&6; }
14359else
14360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14361$as_echo "no" >&6; }
14362fi
14363
14364    rm -f messages.po
14365
14366    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14367    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
14368    *) XGETTEXT_015=$XGETTEXT ;;
14369  esac
14370
14371
14372
14373# Prepare PATH_SEPARATOR.
14374# The user is always right.
14375if test "${PATH_SEPARATOR+set}" != set; then
14376  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
14377  # contains only /bin. Note that ksh looks also at the FPATH variable,
14378  # so we have to set that as well for the test.
14379  PATH_SEPARATOR=:
14380  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
14381    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
14382           || PATH_SEPARATOR=';'
14383       }
14384fi
14385
14386# Find out how to test for executable files. Don't use a zero-byte file,
14387# as systems may use methods other than mode bits to determine executability.
14388cat >conf$$.file <<_ASEOF
14389#! /bin/sh
14390exit 0
14391_ASEOF
14392chmod +x conf$$.file
14393if test -x conf$$.file >/dev/null 2>&1; then
14394  ac_executable_p="test -x"
14395else
14396  ac_executable_p="test -f"
14397fi
14398rm -f conf$$.file
14399
14400# Extract the first word of "msgmerge", so it can be a program name with args.
14401set dummy msgmerge; ac_word=$2
14402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14403$as_echo_n "checking for $ac_word... " >&6; }
14404if ${ac_cv_path_MSGMERGE+:} false; then :
14405  $as_echo_n "(cached) " >&6
14406else
14407  case "$MSGMERGE" in
14408  [\\/]* | ?:[\\/]*)
14409    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14410    ;;
14411  *)
14412    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14413    for ac_dir in $PATH; do
14414      IFS="$ac_save_IFS"
14415      test -z "$ac_dir" && ac_dir=.
14416      for ac_exec_ext in '' $ac_executable_extensions; do
14417        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14418          echo "$as_me: trying $ac_dir/$ac_word..." >&5
14419          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
14420            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
14421            break 2
14422          fi
14423        fi
14424      done
14425    done
14426    IFS="$ac_save_IFS"
14427  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
14428    ;;
14429esac
14430fi
14431MSGMERGE="$ac_cv_path_MSGMERGE"
14432if test "$MSGMERGE" != ":"; then
14433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14434$as_echo "$MSGMERGE" >&6; }
14435else
14436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14437$as_echo "no" >&6; }
14438fi
14439
14440
14441    if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then
14442    MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt'
14443  else
14444        if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then
14445      MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet'
14446    else
14447                        MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet'
14448    fi
14449  fi
14450
14451
14452    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14453
14454
14455  ac_config_commands="$ac_config_commands po-directories"
14456
14457
14458
14459      if test "X$prefix" = "XNONE"; then
14460    acl_final_prefix="$ac_default_prefix"
14461  else
14462    acl_final_prefix="$prefix"
14463  fi
14464  if test "X$exec_prefix" = "XNONE"; then
14465    acl_final_exec_prefix='${prefix}'
14466  else
14467    acl_final_exec_prefix="$exec_prefix"
14468  fi
14469  acl_save_prefix="$prefix"
14470  prefix="$acl_final_prefix"
14471  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14472  prefix="$acl_save_prefix"
14473
14474
14475
14476# Check whether --with-gnu-ld was given.
14477if test "${with_gnu_ld+set}" = set; then :
14478  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14479else
14480  with_gnu_ld=no
14481fi
14482
14483# Prepare PATH_SEPARATOR.
14484# The user is always right.
14485if test "${PATH_SEPARATOR+set}" != set; then
14486  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
14487  # contains only /bin. Note that ksh looks also at the FPATH variable,
14488  # so we have to set that as well for the test.
14489  PATH_SEPARATOR=:
14490  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
14491    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
14492           || PATH_SEPARATOR=';'
14493       }
14494fi
14495
14496if test -n "$LD"; then
14497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
14498$as_echo_n "checking for ld... " >&6; }
14499elif test "$GCC" = yes; then
14500  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14501$as_echo_n "checking for ld used by $CC... " >&6; }
14502elif test "$with_gnu_ld" = yes; then
14503  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14504$as_echo_n "checking for GNU ld... " >&6; }
14505else
14506  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14507$as_echo_n "checking for non-GNU ld... " >&6; }
14508fi
14509if test -n "$LD"; then
14510  # Let the user override the test with a path.
14511  :
14512else
14513  if ${acl_cv_path_LD+:} false; then :
14514  $as_echo_n "(cached) " >&6
14515else
14516
14517    acl_cv_path_LD= # Final result of this test
14518    ac_prog=ld # Program to search in $PATH
14519    if test "$GCC" = yes; then
14520      # Check if gcc -print-prog-name=ld gives a path.
14521      case $host in
14522        *-*-mingw*)
14523          # gcc leaves a trailing carriage return which upsets mingw
14524          acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14525        *)
14526          acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
14527      esac
14528      case $acl_output in
14529        # Accept absolute paths.
14530        [\\/]* | ?:[\\/]*)
14531          re_direlt='/[^/][^/]*/\.\./'
14532          # Canonicalize the pathname of ld
14533          acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'`
14534          while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do
14535            acl_output=`echo $acl_output | sed "s%$re_direlt%/%"`
14536          done
14537          # Got the pathname. No search in PATH is needed.
14538          acl_cv_path_LD="$acl_output"
14539          ac_prog=
14540          ;;
14541        "")
14542          # If it fails, then pretend we aren't using GCC.
14543          ;;
14544        *)
14545          # If it is relative, then search for the first ld in PATH.
14546          with_gnu_ld=unknown
14547          ;;
14548      esac
14549    fi
14550    if test -n "$ac_prog"; then
14551      # Search for $ac_prog in $PATH.
14552      acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14553      for ac_dir in $PATH; do
14554        IFS="$acl_save_ifs"
14555        test -z "$ac_dir" && ac_dir=.
14556        if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14557          acl_cv_path_LD="$ac_dir/$ac_prog"
14558          # Check to see if the program is GNU ld.  I'd rather use --version,
14559          # but apparently some variants of GNU ld only accept -v.
14560          # Break only if it was the GNU/non-GNU ld that we prefer.
14561          case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
14562            *GNU* | *'with BFD'*)
14563              test "$with_gnu_ld" != no && break
14564              ;;
14565            *)
14566              test "$with_gnu_ld" != yes && break
14567              ;;
14568          esac
14569        fi
14570      done
14571      IFS="$acl_save_ifs"
14572    fi
14573    case $host in
14574      *-*-aix*)
14575        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14576/* end confdefs.h.  */
14577#if defined __powerpc64__ || defined _ARCH_PPC64
14578                int ok;
14579               #else
14580                error fail
14581               #endif
14582
14583_ACEOF
14584if ac_fn_c_try_compile "$LINENO"; then :
14585  # The compiler produces 64-bit code. Add option '-b64' so that the
14586           # linker groks 64-bit object files.
14587           case "$acl_cv_path_LD " in
14588             *" -b64 "*) ;;
14589             *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
14590           esac
14591
14592fi
14593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14594        ;;
14595      sparc64-*-netbsd*)
14596        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597/* end confdefs.h.  */
14598#if defined __sparcv9 || defined __arch64__
14599                int ok;
14600               #else
14601                error fail
14602               #endif
14603
14604_ACEOF
14605if ac_fn_c_try_compile "$LINENO"; then :
14606
14607else
14608  # The compiler produces 32-bit code. Add option '-m elf32_sparc'
14609           # so that the linker groks 32-bit object files.
14610           case "$acl_cv_path_LD " in
14611             *" -m elf32_sparc "*) ;;
14612             *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
14613           esac
14614
14615fi
14616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14617        ;;
14618    esac
14619
14620fi
14621
14622  LD="$acl_cv_path_LD"
14623fi
14624if test -n "$LD"; then
14625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14626$as_echo "$LD" >&6; }
14627else
14628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14629$as_echo "no" >&6; }
14630  as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14631fi
14632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14633$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14634if ${acl_cv_prog_gnu_ld+:} false; then :
14635  $as_echo_n "(cached) " >&6
14636else
14637  # I'd rather use --version here, but apparently some GNU lds only accept -v.
14638case `$LD -v 2>&1 </dev/null` in
14639*GNU* | *'with BFD'*)
14640  acl_cv_prog_gnu_ld=yes
14641  ;;
14642*)
14643  acl_cv_prog_gnu_ld=no
14644  ;;
14645esac
14646fi
14647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14648$as_echo "$acl_cv_prog_gnu_ld" >&6; }
14649with_gnu_ld=$acl_cv_prog_gnu_ld
14650
14651
14652
14653
14654                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14655$as_echo_n "checking for shared library run path origin... " >&6; }
14656if ${acl_cv_rpath+:} false; then :
14657  $as_echo_n "(cached) " >&6
14658else
14659
14660    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14661    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14662    . ./conftest.sh
14663    rm -f ./conftest.sh
14664    acl_cv_rpath=done
14665
14666fi
14667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14668$as_echo "$acl_cv_rpath" >&6; }
14669  wl="$acl_cv_wl"
14670  acl_libext="$acl_cv_libext"
14671  acl_shlibext="$acl_cv_shlibext"
14672  acl_libname_spec="$acl_cv_libname_spec"
14673  acl_library_names_spec="$acl_cv_library_names_spec"
14674  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14675  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14676  acl_hardcode_direct="$acl_cv_hardcode_direct"
14677  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14678    # Check whether --enable-rpath was given.
14679if test "${enable_rpath+set}" = set; then :
14680  enableval=$enable_rpath; :
14681else
14682  enable_rpath=yes
14683fi
14684
14685
14686
14687
14688  { $as_echo "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
14689$as_echo_n "checking 32-bit host C ABI... " >&6; }
14690if ${gl_cv_host_cpu_c_abi_32bit+:} false; then :
14691  $as_echo_n "(cached) " >&6
14692else
14693  if test -n "$gl_cv_host_cpu_c_abi"; then
14694       case "$gl_cv_host_cpu_c_abi" in
14695         i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
14696           gl_cv_host_cpu_c_abi_32bit=yes ;;
14697         x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
14698           gl_cv_host_cpu_c_abi_32bit=no ;;
14699         *)
14700           gl_cv_host_cpu_c_abi_32bit=unknown ;;
14701       esac
14702     else
14703       case "$host_cpu" in
14704
14705         # CPUs that only support a 32-bit ABI.
14706         arc \
14707         | bfin \
14708         | cris* \
14709         | csky \
14710         | epiphany \
14711         | ft32 \
14712         | h8300 \
14713         | m68k \
14714         | microblaze | microblazeel \
14715         | nds32 | nds32le | nds32be \
14716         | nios2 | nios2eb | nios2el \
14717         | or1k* \
14718         | or32 \
14719         | sh | sh1234 | sh1234elb \
14720         | tic6x \
14721         | xtensa* )
14722           gl_cv_host_cpu_c_abi_32bit=yes
14723           ;;
14724
14725         # CPUs that only support a 64-bit ABI.
14726         alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
14727         | mmix )
14728           gl_cv_host_cpu_c_abi_32bit=no
14729           ;;
14730
14731         i[34567]86 )
14732           gl_cv_host_cpu_c_abi_32bit=yes
14733           ;;
14734
14735         x86_64 )
14736           # On x86_64 systems, the C compiler may be generating code in one of
14737           # these ABIs:
14738           # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
14739           # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
14740           #   with native Windows (mingw, MSVC).
14741           # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
14742           # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
14743           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14744/* end confdefs.h.  */
14745#if (defined __x86_64__ || defined __amd64__ \
14746                       || defined _M_X64 || defined _M_AMD64) \
14747                      && !(defined __ILP32__ || defined _ILP32)
14748                   int ok;
14749                  #else
14750                   error fail
14751                  #endif
14752
14753_ACEOF
14754if ac_fn_c_try_compile "$LINENO"; then :
14755  gl_cv_host_cpu_c_abi_32bit=no
14756else
14757  gl_cv_host_cpu_c_abi_32bit=yes
14758fi
14759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14760           ;;
14761
14762         arm* | aarch64 )
14763           # Assume arm with EABI.
14764           # On arm64 systems, the C compiler may be generating code in one of
14765           # these ABIs:
14766           # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
14767           # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
14768           # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
14769           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14770/* end confdefs.h.  */
14771#if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32)
14772                   int ok;
14773                  #else
14774                   error fail
14775                  #endif
14776
14777_ACEOF
14778if ac_fn_c_try_compile "$LINENO"; then :
14779  gl_cv_host_cpu_c_abi_32bit=no
14780else
14781  gl_cv_host_cpu_c_abi_32bit=yes
14782fi
14783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14784           ;;
14785
14786         hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
14787           # On hppa, the C compiler may be generating 32-bit code or 64-bit
14788           # code. In the latter case, it defines _LP64 and __LP64__.
14789           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14790/* end confdefs.h.  */
14791#ifdef __LP64__
14792                   int ok;
14793                  #else
14794                   error fail
14795                  #endif
14796
14797_ACEOF
14798if ac_fn_c_try_compile "$LINENO"; then :
14799  gl_cv_host_cpu_c_abi_32bit=no
14800else
14801  gl_cv_host_cpu_c_abi_32bit=yes
14802fi
14803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14804           ;;
14805
14806         ia64* )
14807           # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
14808           # 32-bit code. In the latter case, it defines _ILP32.
14809           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14810/* end confdefs.h.  */
14811#ifdef _ILP32
14812                   int ok;
14813                  #else
14814                   error fail
14815                  #endif
14816
14817_ACEOF
14818if ac_fn_c_try_compile "$LINENO"; then :
14819  gl_cv_host_cpu_c_abi_32bit=yes
14820else
14821  gl_cv_host_cpu_c_abi_32bit=no
14822fi
14823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14824           ;;
14825
14826         mips* )
14827           # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
14828           # at 32.
14829           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14830/* end confdefs.h.  */
14831#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
14832                   int ok;
14833                  #else
14834                   error fail
14835                  #endif
14836
14837_ACEOF
14838if ac_fn_c_try_compile "$LINENO"; then :
14839  gl_cv_host_cpu_c_abi_32bit=no
14840else
14841  gl_cv_host_cpu_c_abi_32bit=yes
14842fi
14843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14844           ;;
14845
14846         powerpc* )
14847           # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
14848           # No need to distinguish them here; the caller may distinguish
14849           # them based on the OS.
14850           # On powerpc64 systems, the C compiler may still be generating
14851           # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
14852           # be generating 64-bit code.
14853           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14854/* end confdefs.h.  */
14855#if defined __powerpc64__ || defined _ARCH_PPC64
14856                   int ok;
14857                  #else
14858                   error fail
14859                  #endif
14860
14861_ACEOF
14862if ac_fn_c_try_compile "$LINENO"; then :
14863  gl_cv_host_cpu_c_abi_32bit=no
14864else
14865  gl_cv_host_cpu_c_abi_32bit=yes
14866fi
14867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14868           ;;
14869
14870         rs6000 )
14871           gl_cv_host_cpu_c_abi_32bit=yes
14872           ;;
14873
14874         riscv32 | riscv64 )
14875           # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
14876           # Size of 'long' and 'void *':
14877           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878/* end confdefs.h.  */
14879#if defined __LP64__
14880                    int ok;
14881                  #else
14882                    error fail
14883                  #endif
14884
14885_ACEOF
14886if ac_fn_c_try_compile "$LINENO"; then :
14887  gl_cv_host_cpu_c_abi_32bit=no
14888else
14889  gl_cv_host_cpu_c_abi_32bit=yes
14890fi
14891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14892           ;;
14893
14894         s390* )
14895           # On s390x, the C compiler may be generating 64-bit (= s390x) code
14896           # or 31-bit (= s390) code.
14897           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14898/* end confdefs.h.  */
14899#if defined __LP64__ || defined __s390x__
14900                    int ok;
14901                  #else
14902                    error fail
14903                  #endif
14904
14905_ACEOF
14906if ac_fn_c_try_compile "$LINENO"; then :
14907  gl_cv_host_cpu_c_abi_32bit=no
14908else
14909  gl_cv_host_cpu_c_abi_32bit=yes
14910fi
14911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14912           ;;
14913
14914         sparc | sparc64 )
14915           # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
14916           # C compiler still generates 32-bit code.
14917           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918/* end confdefs.h.  */
14919#if defined __sparcv9 || defined __arch64__
14920                   int ok;
14921                  #else
14922                   error fail
14923                  #endif
14924
14925_ACEOF
14926if ac_fn_c_try_compile "$LINENO"; then :
14927  gl_cv_host_cpu_c_abi_32bit=no
14928else
14929  gl_cv_host_cpu_c_abi_32bit=yes
14930fi
14931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14932           ;;
14933
14934         *)
14935           gl_cv_host_cpu_c_abi_32bit=unknown
14936           ;;
14937       esac
14938     fi
14939
14940fi
14941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
14942$as_echo "$gl_cv_host_cpu_c_abi_32bit" >&6; }
14943
14944  HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
14945
14946
14947
14948
14949
14950  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5
14951$as_echo_n "checking for ELF binary format... " >&6; }
14952if ${gl_cv_elf+:} false; then :
14953  $as_echo_n "(cached) " >&6
14954else
14955  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956/* end confdefs.h.  */
14957#ifdef __ELF__
14958        Extensible Linking Format
14959        #endif
14960
14961_ACEOF
14962if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14963  $EGREP "Extensible Linking Format" >/dev/null 2>&1; then :
14964  gl_cv_elf=yes
14965else
14966  gl_cv_elf=no
14967fi
14968rm -f conftest*
14969
14970
14971fi
14972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5
14973$as_echo "$gl_cv_elf" >&6; }
14974  if test $gl_cv_elf; then
14975    # Extract the ELF class of a file (5th byte) in decimal.
14976    # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
14977    if od -A x < /dev/null >/dev/null 2>/dev/null; then
14978      # Use POSIX od.
14979      func_elfclass ()
14980      {
14981        od -A n -t d1 -j 4 -N 1
14982      }
14983    else
14984      # Use BSD hexdump.
14985      func_elfclass ()
14986      {
14987        dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "'
14988        echo
14989      }
14990    fi
14991    case $HOST_CPU_C_ABI_32BIT in
14992      yes)
14993        # 32-bit ABI.
14994        acl_is_expected_elfclass ()
14995        {
14996          test "`func_elfclass | sed -e 's/[ 	]//g'`" = 1
14997        }
14998        ;;
14999      no)
15000        # 64-bit ABI.
15001        acl_is_expected_elfclass ()
15002        {
15003          test "`func_elfclass | sed -e 's/[ 	]//g'`" = 2
15004        }
15005        ;;
15006      *)
15007        # Unknown.
15008        acl_is_expected_elfclass ()
15009        {
15010          :
15011        }
15012        ;;
15013    esac
15014  else
15015    acl_is_expected_elfclass ()
15016    {
15017      :
15018    }
15019  fi
15020
15021    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
15022$as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; }
15023if ${acl_cv_libdirstems+:} false; then :
15024  $as_echo_n "(cached) " >&6
15025else
15026            acl_libdirstem=lib
15027     acl_libdirstem2=
15028     acl_libdirstem3=
15029     case "$host_os" in
15030       solaris*)
15031                                                      if test $HOST_CPU_C_ABI_32BIT = no; then
15032           acl_libdirstem2=lib/64
15033           case "$host_cpu" in
15034             sparc*)        acl_libdirstem3=lib/sparcv9 ;;
15035             i*86 | x86_64) acl_libdirstem3=lib/amd64 ;;
15036           esac
15037         fi
15038         ;;
15039       *)
15040                                                                                 searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \
15041                     | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
15042         if test $HOST_CPU_C_ABI_32BIT != no; then
15043           # 32-bit or unknown ABI.
15044           if test -d /usr/lib32; then
15045             acl_libdirstem2=lib32
15046           fi
15047         fi
15048         if test $HOST_CPU_C_ABI_32BIT != yes; then
15049           # 64-bit or unknown ABI.
15050           if test -d /usr/lib64; then
15051             acl_libdirstem3=lib64
15052           fi
15053         fi
15054         if test -n "$searchpath"; then
15055           acl_save_IFS="${IFS= 	}"; IFS=":"
15056           for searchdir in $searchpath; do
15057             if test -d "$searchdir"; then
15058               case "$searchdir" in
15059                 */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;;
15060                 */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;;
15061                 */../ | */.. )
15062                   # Better ignore directories of this form. They are misleading.
15063                   ;;
15064                 *) searchdir=`cd "$searchdir" && pwd`
15065                    case "$searchdir" in
15066                      */lib32 ) acl_libdirstem2=lib32 ;;
15067                      */lib64 ) acl_libdirstem3=lib64 ;;
15068                    esac ;;
15069               esac
15070             fi
15071           done
15072           IFS="$acl_save_IFS"
15073           if test $HOST_CPU_C_ABI_32BIT = yes; then
15074             # 32-bit ABI.
15075             acl_libdirstem3=
15076           fi
15077           if test $HOST_CPU_C_ABI_32BIT = no; then
15078             # 64-bit ABI.
15079             acl_libdirstem2=
15080           fi
15081         fi
15082         ;;
15083     esac
15084     test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
15085     test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem"
15086     acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
15087
15088fi
15089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
15090$as_echo "$acl_cv_libdirstems" >&6; }
15091      acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
15092  acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'`
15093  acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105    use_additional=yes
15106
15107  acl_save_prefix="$prefix"
15108  prefix="$acl_final_prefix"
15109  acl_save_exec_prefix="$exec_prefix"
15110  exec_prefix="$acl_final_exec_prefix"
15111
15112    eval additional_includedir=\"$includedir\"
15113    eval additional_libdir=\"$libdir\"
15114    eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
15115    eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
15116
15117  exec_prefix="$acl_save_exec_prefix"
15118  prefix="$acl_save_prefix"
15119
15120
15121# Check whether --with-libiconv-prefix was given.
15122if test "${with_libiconv_prefix+set}" = set; then :
15123  withval=$with_libiconv_prefix;
15124    if test "X$withval" = "Xno"; then
15125      use_additional=no
15126    else
15127      if test "X$withval" = "X"; then
15128
15129  acl_save_prefix="$prefix"
15130  prefix="$acl_final_prefix"
15131  acl_save_exec_prefix="$exec_prefix"
15132  exec_prefix="$acl_final_exec_prefix"
15133
15134          eval additional_includedir=\"$includedir\"
15135          eval additional_libdir=\"$libdir\"
15136          eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
15137          eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
15138
15139  exec_prefix="$acl_save_exec_prefix"
15140  prefix="$acl_save_prefix"
15141
15142      else
15143        additional_includedir="$withval/include"
15144        additional_libdir="$withval/$acl_libdirstem"
15145        additional_libdir2="$withval/$acl_libdirstem2"
15146        additional_libdir3="$withval/$acl_libdirstem3"
15147      fi
15148    fi
15149
15150fi
15151
15152  if test "X$additional_libdir2" = "X$additional_libdir"; then
15153    additional_libdir2=
15154  fi
15155  if test "X$additional_libdir3" = "X$additional_libdir"; then
15156    additional_libdir3=
15157  fi
15158      LIBICONV=
15159  LTLIBICONV=
15160  INCICONV=
15161  LIBICONV_PREFIX=
15162      HAVE_LIBICONV=
15163  rpathdirs=
15164  ltrpathdirs=
15165  names_already_handled=
15166  names_next_round='iconv '
15167  while test -n "$names_next_round"; do
15168    names_this_round="$names_next_round"
15169    names_next_round=
15170    for name in $names_this_round; do
15171      already_handled=
15172      for n in $names_already_handled; do
15173        if test "$n" = "$name"; then
15174          already_handled=yes
15175          break
15176        fi
15177      done
15178      if test -z "$already_handled"; then
15179        names_already_handled="$names_already_handled $name"
15180                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
15181        eval value=\"\$HAVE_LIB$uppername\"
15182        if test -n "$value"; then
15183          if test "$value" = yes; then
15184            eval value=\"\$LIB$uppername\"
15185            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
15186            eval value=\"\$LTLIB$uppername\"
15187            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
15188          else
15189                                    :
15190          fi
15191        else
15192                              found_dir=
15193          found_la=
15194          found_so=
15195          found_a=
15196          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
15197          if test -n "$acl_shlibext"; then
15198            shrext=".$acl_shlibext"             # typically: shrext=.so
15199          else
15200            shrext=
15201          fi
15202          if test $use_additional = yes; then
15203            for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
15204              if test "X$found_dir" = "X"; then
15205                eval dir=\$$additional_libdir_variable
15206                if test -n "$dir"; then
15207                                                      if test -n "$acl_shlibext"; then
15208                    if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
15209                      found_dir="$dir"
15210                      found_so="$dir/$libname$shrext"
15211                    else
15212                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15213                        ver=`(cd "$dir" && \
15214                              for f in "$libname$shrext".*; do echo "$f"; done \
15215                              | sed -e "s,^$libname$shrext\\\\.,," \
15216                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15217                              | sed 1q ) 2>/dev/null`
15218                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
15219                          found_dir="$dir"
15220                          found_so="$dir/$libname$shrext.$ver"
15221                        fi
15222                      else
15223                        eval library_names=\"$acl_library_names_spec\"
15224                        for f in $library_names; do
15225                          if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
15226                            found_dir="$dir"
15227                            found_so="$dir/$f"
15228                            break
15229                          fi
15230                        done
15231                      fi
15232                    fi
15233                  fi
15234                                    if test "X$found_dir" = "X"; then
15235                    if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
15236                      found_dir="$dir"
15237                      found_a="$dir/$libname.$acl_libext"
15238                    fi
15239                  fi
15240                  if test "X$found_dir" != "X"; then
15241                    if test -f "$dir/$libname.la"; then
15242                      found_la="$dir/$libname.la"
15243                    fi
15244                  fi
15245                fi
15246              fi
15247            done
15248          fi
15249          if test "X$found_dir" = "X"; then
15250            for x in $LDFLAGS $LTLIBICONV; do
15251
15252  acl_save_prefix="$prefix"
15253  prefix="$acl_final_prefix"
15254  acl_save_exec_prefix="$exec_prefix"
15255  exec_prefix="$acl_final_exec_prefix"
15256  eval x=\"$x\"
15257  exec_prefix="$acl_save_exec_prefix"
15258  prefix="$acl_save_prefix"
15259
15260              case "$x" in
15261                -L*)
15262                  dir=`echo "X$x" | sed -e 's/^X-L//'`
15263                                    if test -n "$acl_shlibext"; then
15264                    if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
15265                      found_dir="$dir"
15266                      found_so="$dir/$libname$shrext"
15267                    else
15268                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15269                        ver=`(cd "$dir" && \
15270                              for f in "$libname$shrext".*; do echo "$f"; done \
15271                              | sed -e "s,^$libname$shrext\\\\.,," \
15272                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15273                              | sed 1q ) 2>/dev/null`
15274                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
15275                          found_dir="$dir"
15276                          found_so="$dir/$libname$shrext.$ver"
15277                        fi
15278                      else
15279                        eval library_names=\"$acl_library_names_spec\"
15280                        for f in $library_names; do
15281                          if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
15282                            found_dir="$dir"
15283                            found_so="$dir/$f"
15284                            break
15285                          fi
15286                        done
15287                      fi
15288                    fi
15289                  fi
15290                                    if test "X$found_dir" = "X"; then
15291                    if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
15292                      found_dir="$dir"
15293                      found_a="$dir/$libname.$acl_libext"
15294                    fi
15295                  fi
15296                  if test "X$found_dir" != "X"; then
15297                    if test -f "$dir/$libname.la"; then
15298                      found_la="$dir/$libname.la"
15299                    fi
15300                  fi
15301                  ;;
15302              esac
15303              if test "X$found_dir" != "X"; then
15304                break
15305              fi
15306            done
15307          fi
15308          if test "X$found_dir" != "X"; then
15309                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15310            if test "X$found_so" != "X"; then
15311                                                        if test "$enable_rpath" = no \
15312                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
15313                 || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
15314                 || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
15315                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15316              else
15317                                                                                haveit=
15318                for x in $ltrpathdirs; do
15319                  if test "X$x" = "X$found_dir"; then
15320                    haveit=yes
15321                    break
15322                  fi
15323                done
15324                if test -z "$haveit"; then
15325                  ltrpathdirs="$ltrpathdirs $found_dir"
15326                fi
15327                                if test "$acl_hardcode_direct" = yes; then
15328                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15329                else
15330                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15331                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15332                                                            haveit=
15333                    for x in $rpathdirs; do
15334                      if test "X$x" = "X$found_dir"; then
15335                        haveit=yes
15336                        break
15337                      fi
15338                    done
15339                    if test -z "$haveit"; then
15340                      rpathdirs="$rpathdirs $found_dir"
15341                    fi
15342                  else
15343                                                                                haveit=
15344                    for x in $LDFLAGS $LIBICONV; do
15345
15346  acl_save_prefix="$prefix"
15347  prefix="$acl_final_prefix"
15348  acl_save_exec_prefix="$exec_prefix"
15349  exec_prefix="$acl_final_exec_prefix"
15350  eval x=\"$x\"
15351  exec_prefix="$acl_save_exec_prefix"
15352  prefix="$acl_save_prefix"
15353
15354                      if test "X$x" = "X-L$found_dir"; then
15355                        haveit=yes
15356                        break
15357                      fi
15358                    done
15359                    if test -z "$haveit"; then
15360                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15361                    fi
15362                    if test "$acl_hardcode_minus_L" != no; then
15363                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15364                    else
15365                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15366                    fi
15367                  fi
15368                fi
15369              fi
15370            else
15371              if test "X$found_a" != "X"; then
15372                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15373              else
15374                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15375              fi
15376            fi
15377                        additional_includedir=
15378            case "$found_dir" in
15379              */$acl_libdirstem | */$acl_libdirstem/)
15380                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15381                if test "$name" = 'iconv'; then
15382                  LIBICONV_PREFIX="$basedir"
15383                fi
15384                additional_includedir="$basedir/include"
15385                ;;
15386              */$acl_libdirstem2 | */$acl_libdirstem2/)
15387                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
15388                if test "$name" = 'iconv'; then
15389                  LIBICONV_PREFIX="$basedir"
15390                fi
15391                additional_includedir="$basedir/include"
15392                ;;
15393              */$acl_libdirstem3 | */$acl_libdirstem3/)
15394                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
15395                if test "$name" = 'iconv'; then
15396                  LIBICONV_PREFIX="$basedir"
15397                fi
15398                additional_includedir="$basedir/include"
15399                ;;
15400            esac
15401            if test "X$additional_includedir" != "X"; then
15402                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
15403                haveit=
15404                if test "X$additional_includedir" = "X/usr/local/include"; then
15405                  if test -n "$GCC"; then
15406                    case $host_os in
15407                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15408                    esac
15409                  fi
15410                fi
15411                if test -z "$haveit"; then
15412                  for x in $CPPFLAGS $INCICONV; do
15413
15414  acl_save_prefix="$prefix"
15415  prefix="$acl_final_prefix"
15416  acl_save_exec_prefix="$exec_prefix"
15417  exec_prefix="$acl_final_exec_prefix"
15418  eval x=\"$x\"
15419  exec_prefix="$acl_save_exec_prefix"
15420  prefix="$acl_save_prefix"
15421
15422                    if test "X$x" = "X-I$additional_includedir"; then
15423                      haveit=yes
15424                      break
15425                    fi
15426                  done
15427                  if test -z "$haveit"; then
15428                    if test -d "$additional_includedir"; then
15429                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15430                    fi
15431                  fi
15432                fi
15433              fi
15434            fi
15435                        if test -n "$found_la"; then
15436                                                        save_libdir="$libdir"
15437              case "$found_la" in
15438                */* | *\\*) . "$found_la" ;;
15439                *) . "./$found_la" ;;
15440              esac
15441              libdir="$save_libdir"
15442                            for dep in $dependency_libs; do
15443                case "$dep" in
15444                  -L*)
15445                    dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15446                                                                                                                                                                if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
15447                       && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
15448                       && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
15449                      haveit=
15450                      if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
15451                         || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
15452                         || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
15453                        if test -n "$GCC"; then
15454                          case $host_os in
15455                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15456                          esac
15457                        fi
15458                      fi
15459                      if test -z "$haveit"; then
15460                        haveit=
15461                        for x in $LDFLAGS $LIBICONV; do
15462
15463  acl_save_prefix="$prefix"
15464  prefix="$acl_final_prefix"
15465  acl_save_exec_prefix="$exec_prefix"
15466  exec_prefix="$acl_final_exec_prefix"
15467  eval x=\"$x\"
15468  exec_prefix="$acl_save_exec_prefix"
15469  prefix="$acl_save_prefix"
15470
15471                          if test "X$x" = "X-L$dependency_libdir"; then
15472                            haveit=yes
15473                            break
15474                          fi
15475                        done
15476                        if test -z "$haveit"; then
15477                          if test -d "$dependency_libdir"; then
15478                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir"
15479                          fi
15480                        fi
15481                        haveit=
15482                        for x in $LDFLAGS $LTLIBICONV; do
15483
15484  acl_save_prefix="$prefix"
15485  prefix="$acl_final_prefix"
15486  acl_save_exec_prefix="$exec_prefix"
15487  exec_prefix="$acl_final_exec_prefix"
15488  eval x=\"$x\"
15489  exec_prefix="$acl_save_exec_prefix"
15490  prefix="$acl_save_prefix"
15491
15492                          if test "X$x" = "X-L$dependency_libdir"; then
15493                            haveit=yes
15494                            break
15495                          fi
15496                        done
15497                        if test -z "$haveit"; then
15498                          if test -d "$dependency_libdir"; then
15499                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir"
15500                          fi
15501                        fi
15502                      fi
15503                    fi
15504                    ;;
15505                  -R*)
15506                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
15507                    if test "$enable_rpath" != no; then
15508                                                                  haveit=
15509                      for x in $rpathdirs; do
15510                        if test "X$x" = "X$dir"; then
15511                          haveit=yes
15512                          break
15513                        fi
15514                      done
15515                      if test -z "$haveit"; then
15516                        rpathdirs="$rpathdirs $dir"
15517                      fi
15518                                                                  haveit=
15519                      for x in $ltrpathdirs; do
15520                        if test "X$x" = "X$dir"; then
15521                          haveit=yes
15522                          break
15523                        fi
15524                      done
15525                      if test -z "$haveit"; then
15526                        ltrpathdirs="$ltrpathdirs $dir"
15527                      fi
15528                    fi
15529                    ;;
15530                  -l*)
15531                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15532                    ;;
15533                  *.la)
15534                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15535                    ;;
15536                  *)
15537                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15538                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15539                    ;;
15540                esac
15541              done
15542            fi
15543          else
15544                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15545            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15546          fi
15547        fi
15548      fi
15549    done
15550  done
15551  if test "X$rpathdirs" != "X"; then
15552    if test -n "$acl_hardcode_libdir_separator"; then
15553                        alldirs=
15554      for found_dir in $rpathdirs; do
15555        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15556      done
15557            acl_save_libdir="$libdir"
15558      libdir="$alldirs"
15559      eval flag=\"$acl_hardcode_libdir_flag_spec\"
15560      libdir="$acl_save_libdir"
15561      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15562    else
15563            for found_dir in $rpathdirs; do
15564        acl_save_libdir="$libdir"
15565        libdir="$found_dir"
15566        eval flag=\"$acl_hardcode_libdir_flag_spec\"
15567        libdir="$acl_save_libdir"
15568        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15569      done
15570    fi
15571  fi
15572  if test "X$ltrpathdirs" != "X"; then
15573            for found_dir in $ltrpathdirs; do
15574      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15575    done
15576  fi
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15607$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15608if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15609  $as_echo_n "(cached) " >&6
15610else
15611  gt_save_LIBS="$LIBS"
15612     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15613     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15614/* end confdefs.h.  */
15615#include <CoreFoundation/CFPreferences.h>
15616int
15617main ()
15618{
15619CFPreferencesCopyAppValue(NULL, NULL)
15620  ;
15621  return 0;
15622}
15623_ACEOF
15624if ac_fn_c_try_link "$LINENO"; then :
15625  gt_cv_func_CFPreferencesCopyAppValue=yes
15626else
15627  gt_cv_func_CFPreferencesCopyAppValue=no
15628fi
15629rm -f core conftest.err conftest.$ac_objext \
15630    conftest$ac_exeext conftest.$ac_ext
15631     LIBS="$gt_save_LIBS"
15632fi
15633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15634$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15635  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15636
15637$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15638
15639  fi
15640                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
15641$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
15642if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then :
15643  $as_echo_n "(cached) " >&6
15644else
15645  gt_save_LIBS="$LIBS"
15646     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15647     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15648/* end confdefs.h.  */
15649#include <CoreFoundation/CFLocale.h>
15650int
15651main ()
15652{
15653CFLocaleCopyPreferredLanguages();
15654  ;
15655  return 0;
15656}
15657_ACEOF
15658if ac_fn_c_try_link "$LINENO"; then :
15659  gt_cv_func_CFLocaleCopyPreferredLanguages=yes
15660else
15661  gt_cv_func_CFLocaleCopyPreferredLanguages=no
15662fi
15663rm -f core conftest.err conftest.$ac_objext \
15664    conftest$ac_exeext conftest.$ac_ext
15665     LIBS="$gt_save_LIBS"
15666fi
15667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
15668$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
15669  if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
15670
15671$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
15672
15673  fi
15674  INTL_MACOSX_LIBS=
15675  if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
15676     || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
15677    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15678  fi
15679
15680
15681
15682
15683
15684
15685  LIBINTL=
15686  LTLIBINTL=
15687  POSUB=
15688
15689    case " $gt_needs " in
15690    *" need-formatstring-macros "*) gt_api_version=3 ;;
15691    *" need-ngettext "*) gt_api_version=2 ;;
15692    *) gt_api_version=1 ;;
15693  esac
15694  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15695  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15696
15697    if test "$USE_NLS" = "yes"; then
15698    gt_use_preinstalled_gnugettext=no
15699
15700
15701        if test $gt_api_version -ge 3; then
15702          gt_revision_test_code='
15703#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15704#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15705#endif
15706typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15707'
15708        else
15709          gt_revision_test_code=
15710        fi
15711        if test $gt_api_version -ge 2; then
15712          gt_expression_test_code=' + * ngettext ("", "", 0)'
15713        else
15714          gt_expression_test_code=
15715        fi
15716
15717        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15718$as_echo_n "checking for GNU gettext in libc... " >&6; }
15719if eval \${$gt_func_gnugettext_libc+:} false; then :
15720  $as_echo_n "(cached) " >&6
15721else
15722  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15723/* end confdefs.h.  */
15724
15725#include <libintl.h>
15726#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15727extern int _nl_msg_cat_cntr;
15728extern int *_nl_domain_bindings;
15729#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
15730#else
15731#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
15732#endif
15733$gt_revision_test_code
15734
15735int
15736main ()
15737{
15738
15739bindtextdomain ("", "");
15740return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
15741
15742  ;
15743  return 0;
15744}
15745_ACEOF
15746if ac_fn_c_try_link "$LINENO"; then :
15747  eval "$gt_func_gnugettext_libc=yes"
15748else
15749  eval "$gt_func_gnugettext_libc=no"
15750fi
15751rm -f core conftest.err conftest.$ac_objext \
15752    conftest$ac_exeext conftest.$ac_ext
15753fi
15754eval ac_res=\$$gt_func_gnugettext_libc
15755	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15756$as_echo "$ac_res" >&6; }
15757
15758        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15759
15760
15761
15762
15763
15764          am_save_CPPFLAGS="$CPPFLAGS"
15765
15766  for element in $INCICONV; do
15767    haveit=
15768    for x in $CPPFLAGS; do
15769
15770  acl_save_prefix="$prefix"
15771  prefix="$acl_final_prefix"
15772  acl_save_exec_prefix="$exec_prefix"
15773  exec_prefix="$acl_final_exec_prefix"
15774  eval x=\"$x\"
15775  exec_prefix="$acl_save_exec_prefix"
15776  prefix="$acl_save_prefix"
15777
15778      if test "X$x" = "X$element"; then
15779        haveit=yes
15780        break
15781      fi
15782    done
15783    if test -z "$haveit"; then
15784      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15785    fi
15786  done
15787
15788
15789  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15790$as_echo_n "checking for iconv... " >&6; }
15791if ${am_cv_func_iconv+:} false; then :
15792  $as_echo_n "(cached) " >&6
15793else
15794
15795    am_cv_func_iconv="no, consider installing GNU libiconv"
15796    am_cv_lib_iconv=no
15797    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15798/* end confdefs.h.  */
15799
15800#include <stdlib.h>
15801#include <iconv.h>
15802
15803int
15804main ()
15805{
15806iconv_t cd = iconv_open("","");
15807           iconv(cd,NULL,NULL,NULL,NULL);
15808           iconv_close(cd);
15809  ;
15810  return 0;
15811}
15812_ACEOF
15813if ac_fn_c_try_link "$LINENO"; then :
15814  am_cv_func_iconv=yes
15815fi
15816rm -f core conftest.err conftest.$ac_objext \
15817    conftest$ac_exeext conftest.$ac_ext
15818    if test "$am_cv_func_iconv" != yes; then
15819      am_save_LIBS="$LIBS"
15820      LIBS="$LIBS $LIBICONV"
15821      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15822/* end confdefs.h.  */
15823
15824#include <stdlib.h>
15825#include <iconv.h>
15826
15827int
15828main ()
15829{
15830iconv_t cd = iconv_open("","");
15831             iconv(cd,NULL,NULL,NULL,NULL);
15832             iconv_close(cd);
15833  ;
15834  return 0;
15835}
15836_ACEOF
15837if ac_fn_c_try_link "$LINENO"; then :
15838  am_cv_lib_iconv=yes
15839        am_cv_func_iconv=yes
15840fi
15841rm -f core conftest.err conftest.$ac_objext \
15842    conftest$ac_exeext conftest.$ac_ext
15843      LIBS="$am_save_LIBS"
15844    fi
15845
15846fi
15847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15848$as_echo "$am_cv_func_iconv" >&6; }
15849  if test "$am_cv_func_iconv" = yes; then
15850    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15851$as_echo_n "checking for working iconv... " >&6; }
15852if ${am_cv_func_iconv_works+:} false; then :
15853  $as_echo_n "(cached) " >&6
15854else
15855
15856                  am_save_LIBS="$LIBS"
15857      if test $am_cv_lib_iconv = yes; then
15858        LIBS="$LIBS $LIBICONV"
15859      fi
15860      am_cv_func_iconv_works=no
15861      for ac_iconv_const in '' 'const'; do
15862        if test "$cross_compiling" = yes; then :
15863  case "$host_os" in
15864             aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15865             *)            am_cv_func_iconv_works="guessing yes" ;;
15866           esac
15867else
15868  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15869/* end confdefs.h.  */
15870
15871#include <iconv.h>
15872#include <string.h>
15873
15874#ifndef ICONV_CONST
15875# define ICONV_CONST $ac_iconv_const
15876#endif
15877
15878int
15879main ()
15880{
15881int result = 0;
15882  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15883     returns.  */
15884  {
15885    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15886    if (cd_utf8_to_88591 != (iconv_t)(-1))
15887      {
15888        static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
15889        char buf[10];
15890        ICONV_CONST char *inptr = input;
15891        size_t inbytesleft = strlen (input);
15892        char *outptr = buf;
15893        size_t outbytesleft = sizeof (buf);
15894        size_t res = iconv (cd_utf8_to_88591,
15895                            &inptr, &inbytesleft,
15896                            &outptr, &outbytesleft);
15897        if (res == 0)
15898          result |= 1;
15899        iconv_close (cd_utf8_to_88591);
15900      }
15901  }
15902  /* Test against Solaris 10 bug: Failures are not distinguishable from
15903     successful returns.  */
15904  {
15905    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
15906    if (cd_ascii_to_88591 != (iconv_t)(-1))
15907      {
15908        static ICONV_CONST char input[] = "\263";
15909        char buf[10];
15910        ICONV_CONST char *inptr = input;
15911        size_t inbytesleft = strlen (input);
15912        char *outptr = buf;
15913        size_t outbytesleft = sizeof (buf);
15914        size_t res = iconv (cd_ascii_to_88591,
15915                            &inptr, &inbytesleft,
15916                            &outptr, &outbytesleft);
15917        if (res == 0)
15918          result |= 2;
15919        iconv_close (cd_ascii_to_88591);
15920      }
15921  }
15922  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
15923  {
15924    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
15925    if (cd_88591_to_utf8 != (iconv_t)(-1))
15926      {
15927        static ICONV_CONST char input[] = "\304";
15928        static char buf[2] = { (char)0xDE, (char)0xAD };
15929        ICONV_CONST char *inptr = input;
15930        size_t inbytesleft = 1;
15931        char *outptr = buf;
15932        size_t outbytesleft = 1;
15933        size_t res = iconv (cd_88591_to_utf8,
15934                            &inptr, &inbytesleft,
15935                            &outptr, &outbytesleft);
15936        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
15937          result |= 4;
15938        iconv_close (cd_88591_to_utf8);
15939      }
15940  }
15941#if 0 /* This bug could be worked around by the caller.  */
15942  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
15943  {
15944    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15945    if (cd_88591_to_utf8 != (iconv_t)(-1))
15946      {
15947        static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15948        char buf[50];
15949        ICONV_CONST char *inptr = input;
15950        size_t inbytesleft = strlen (input);
15951        char *outptr = buf;
15952        size_t outbytesleft = sizeof (buf);
15953        size_t res = iconv (cd_88591_to_utf8,
15954                            &inptr, &inbytesleft,
15955                            &outptr, &outbytesleft);
15956        if ((int)res > 0)
15957          result |= 8;
15958        iconv_close (cd_88591_to_utf8);
15959      }
15960  }
15961#endif
15962  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15963     provided.  */
15964  {
15965    /* Try standardized names.  */
15966    iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
15967    /* Try IRIX, OSF/1 names.  */
15968    iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
15969    /* Try AIX names.  */
15970    iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
15971    /* Try HP-UX names.  */
15972    iconv_t cd4 = iconv_open ("utf8", "eucJP");
15973    if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
15974        && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
15975      result |= 16;
15976    if (cd1 != (iconv_t)(-1))
15977      iconv_close (cd1);
15978    if (cd2 != (iconv_t)(-1))
15979      iconv_close (cd2);
15980    if (cd3 != (iconv_t)(-1))
15981      iconv_close (cd3);
15982    if (cd4 != (iconv_t)(-1))
15983      iconv_close (cd4);
15984  }
15985  return result;
15986
15987  ;
15988  return 0;
15989}
15990_ACEOF
15991if ac_fn_c_try_run "$LINENO"; then :
15992  am_cv_func_iconv_works=yes
15993fi
15994rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15995  conftest.$ac_objext conftest.beam conftest.$ac_ext
15996fi
15997
15998        test "$am_cv_func_iconv_works" = no || break
15999      done
16000      LIBS="$am_save_LIBS"
16001
16002fi
16003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
16004$as_echo "$am_cv_func_iconv_works" >&6; }
16005    case "$am_cv_func_iconv_works" in
16006      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
16007      *)   am_func_iconv=yes ;;
16008    esac
16009  else
16010    am_func_iconv=no am_cv_lib_iconv=no
16011  fi
16012  if test "$am_func_iconv" = yes; then
16013
16014$as_echo "#define HAVE_ICONV 1" >>confdefs.h
16015
16016  fi
16017  if test "$am_cv_lib_iconv" = yes; then
16018    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
16019$as_echo_n "checking how to link with libiconv... " >&6; }
16020    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
16021$as_echo "$LIBICONV" >&6; }
16022  else
16023            CPPFLAGS="$am_save_CPPFLAGS"
16024    LIBICONV=
16025    LTLIBICONV=
16026  fi
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037    use_additional=yes
16038
16039  acl_save_prefix="$prefix"
16040  prefix="$acl_final_prefix"
16041  acl_save_exec_prefix="$exec_prefix"
16042  exec_prefix="$acl_final_exec_prefix"
16043
16044    eval additional_includedir=\"$includedir\"
16045    eval additional_libdir=\"$libdir\"
16046    eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
16047    eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
16048
16049  exec_prefix="$acl_save_exec_prefix"
16050  prefix="$acl_save_prefix"
16051
16052
16053# Check whether --with-libintl-prefix was given.
16054if test "${with_libintl_prefix+set}" = set; then :
16055  withval=$with_libintl_prefix;
16056    if test "X$withval" = "Xno"; then
16057      use_additional=no
16058    else
16059      if test "X$withval" = "X"; then
16060
16061  acl_save_prefix="$prefix"
16062  prefix="$acl_final_prefix"
16063  acl_save_exec_prefix="$exec_prefix"
16064  exec_prefix="$acl_final_exec_prefix"
16065
16066          eval additional_includedir=\"$includedir\"
16067          eval additional_libdir=\"$libdir\"
16068          eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
16069          eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
16070
16071  exec_prefix="$acl_save_exec_prefix"
16072  prefix="$acl_save_prefix"
16073
16074      else
16075        additional_includedir="$withval/include"
16076        additional_libdir="$withval/$acl_libdirstem"
16077        additional_libdir2="$withval/$acl_libdirstem2"
16078        additional_libdir3="$withval/$acl_libdirstem3"
16079      fi
16080    fi
16081
16082fi
16083
16084  if test "X$additional_libdir2" = "X$additional_libdir"; then
16085    additional_libdir2=
16086  fi
16087  if test "X$additional_libdir3" = "X$additional_libdir"; then
16088    additional_libdir3=
16089  fi
16090      LIBINTL=
16091  LTLIBINTL=
16092  INCINTL=
16093  LIBINTL_PREFIX=
16094      HAVE_LIBINTL=
16095  rpathdirs=
16096  ltrpathdirs=
16097  names_already_handled=
16098  names_next_round='intl '
16099  while test -n "$names_next_round"; do
16100    names_this_round="$names_next_round"
16101    names_next_round=
16102    for name in $names_this_round; do
16103      already_handled=
16104      for n in $names_already_handled; do
16105        if test "$n" = "$name"; then
16106          already_handled=yes
16107          break
16108        fi
16109      done
16110      if test -z "$already_handled"; then
16111        names_already_handled="$names_already_handled $name"
16112                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
16113        eval value=\"\$HAVE_LIB$uppername\"
16114        if test -n "$value"; then
16115          if test "$value" = yes; then
16116            eval value=\"\$LIB$uppername\"
16117            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
16118            eval value=\"\$LTLIB$uppername\"
16119            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
16120          else
16121                                    :
16122          fi
16123        else
16124                              found_dir=
16125          found_la=
16126          found_so=
16127          found_a=
16128          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
16129          if test -n "$acl_shlibext"; then
16130            shrext=".$acl_shlibext"             # typically: shrext=.so
16131          else
16132            shrext=
16133          fi
16134          if test $use_additional = yes; then
16135            for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
16136              if test "X$found_dir" = "X"; then
16137                eval dir=\$$additional_libdir_variable
16138                if test -n "$dir"; then
16139                                                      if test -n "$acl_shlibext"; then
16140                    if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
16141                      found_dir="$dir"
16142                      found_so="$dir/$libname$shrext"
16143                    else
16144                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16145                        ver=`(cd "$dir" && \
16146                              for f in "$libname$shrext".*; do echo "$f"; done \
16147                              | sed -e "s,^$libname$shrext\\\\.,," \
16148                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16149                              | sed 1q ) 2>/dev/null`
16150                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
16151                          found_dir="$dir"
16152                          found_so="$dir/$libname$shrext.$ver"
16153                        fi
16154                      else
16155                        eval library_names=\"$acl_library_names_spec\"
16156                        for f in $library_names; do
16157                          if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
16158                            found_dir="$dir"
16159                            found_so="$dir/$f"
16160                            break
16161                          fi
16162                        done
16163                      fi
16164                    fi
16165                  fi
16166                                    if test "X$found_dir" = "X"; then
16167                    if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
16168                      found_dir="$dir"
16169                      found_a="$dir/$libname.$acl_libext"
16170                    fi
16171                  fi
16172                  if test "X$found_dir" != "X"; then
16173                    if test -f "$dir/$libname.la"; then
16174                      found_la="$dir/$libname.la"
16175                    fi
16176                  fi
16177                fi
16178              fi
16179            done
16180          fi
16181          if test "X$found_dir" = "X"; then
16182            for x in $LDFLAGS $LTLIBINTL; do
16183
16184  acl_save_prefix="$prefix"
16185  prefix="$acl_final_prefix"
16186  acl_save_exec_prefix="$exec_prefix"
16187  exec_prefix="$acl_final_exec_prefix"
16188  eval x=\"$x\"
16189  exec_prefix="$acl_save_exec_prefix"
16190  prefix="$acl_save_prefix"
16191
16192              case "$x" in
16193                -L*)
16194                  dir=`echo "X$x" | sed -e 's/^X-L//'`
16195                                    if test -n "$acl_shlibext"; then
16196                    if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
16197                      found_dir="$dir"
16198                      found_so="$dir/$libname$shrext"
16199                    else
16200                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16201                        ver=`(cd "$dir" && \
16202                              for f in "$libname$shrext".*; do echo "$f"; done \
16203                              | sed -e "s,^$libname$shrext\\\\.,," \
16204                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16205                              | sed 1q ) 2>/dev/null`
16206                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
16207                          found_dir="$dir"
16208                          found_so="$dir/$libname$shrext.$ver"
16209                        fi
16210                      else
16211                        eval library_names=\"$acl_library_names_spec\"
16212                        for f in $library_names; do
16213                          if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
16214                            found_dir="$dir"
16215                            found_so="$dir/$f"
16216                            break
16217                          fi
16218                        done
16219                      fi
16220                    fi
16221                  fi
16222                                    if test "X$found_dir" = "X"; then
16223                    if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
16224                      found_dir="$dir"
16225                      found_a="$dir/$libname.$acl_libext"
16226                    fi
16227                  fi
16228                  if test "X$found_dir" != "X"; then
16229                    if test -f "$dir/$libname.la"; then
16230                      found_la="$dir/$libname.la"
16231                    fi
16232                  fi
16233                  ;;
16234              esac
16235              if test "X$found_dir" != "X"; then
16236                break
16237              fi
16238            done
16239          fi
16240          if test "X$found_dir" != "X"; then
16241                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
16242            if test "X$found_so" != "X"; then
16243                                                        if test "$enable_rpath" = no \
16244                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
16245                 || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
16246                 || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
16247                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16248              else
16249                                                                                haveit=
16250                for x in $ltrpathdirs; do
16251                  if test "X$x" = "X$found_dir"; then
16252                    haveit=yes
16253                    break
16254                  fi
16255                done
16256                if test -z "$haveit"; then
16257                  ltrpathdirs="$ltrpathdirs $found_dir"
16258                fi
16259                                if test "$acl_hardcode_direct" = yes; then
16260                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16261                else
16262                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16263                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16264                                                            haveit=
16265                    for x in $rpathdirs; do
16266                      if test "X$x" = "X$found_dir"; then
16267                        haveit=yes
16268                        break
16269                      fi
16270                    done
16271                    if test -z "$haveit"; then
16272                      rpathdirs="$rpathdirs $found_dir"
16273                    fi
16274                  else
16275                                                                                haveit=
16276                    for x in $LDFLAGS $LIBINTL; do
16277
16278  acl_save_prefix="$prefix"
16279  prefix="$acl_final_prefix"
16280  acl_save_exec_prefix="$exec_prefix"
16281  exec_prefix="$acl_final_exec_prefix"
16282  eval x=\"$x\"
16283  exec_prefix="$acl_save_exec_prefix"
16284  prefix="$acl_save_prefix"
16285
16286                      if test "X$x" = "X-L$found_dir"; then
16287                        haveit=yes
16288                        break
16289                      fi
16290                    done
16291                    if test -z "$haveit"; then
16292                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
16293                    fi
16294                    if test "$acl_hardcode_minus_L" != no; then
16295                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16296                    else
16297                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16298                    fi
16299                  fi
16300                fi
16301              fi
16302            else
16303              if test "X$found_a" != "X"; then
16304                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
16305              else
16306                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
16307              fi
16308            fi
16309                        additional_includedir=
16310            case "$found_dir" in
16311              */$acl_libdirstem | */$acl_libdirstem/)
16312                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16313                if test "$name" = 'intl'; then
16314                  LIBINTL_PREFIX="$basedir"
16315                fi
16316                additional_includedir="$basedir/include"
16317                ;;
16318              */$acl_libdirstem2 | */$acl_libdirstem2/)
16319                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16320                if test "$name" = 'intl'; then
16321                  LIBINTL_PREFIX="$basedir"
16322                fi
16323                additional_includedir="$basedir/include"
16324                ;;
16325              */$acl_libdirstem3 | */$acl_libdirstem3/)
16326                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
16327                if test "$name" = 'intl'; then
16328                  LIBINTL_PREFIX="$basedir"
16329                fi
16330                additional_includedir="$basedir/include"
16331                ;;
16332            esac
16333            if test "X$additional_includedir" != "X"; then
16334                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
16335                haveit=
16336                if test "X$additional_includedir" = "X/usr/local/include"; then
16337                  if test -n "$GCC"; then
16338                    case $host_os in
16339                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16340                    esac
16341                  fi
16342                fi
16343                if test -z "$haveit"; then
16344                  for x in $CPPFLAGS $INCINTL; do
16345
16346  acl_save_prefix="$prefix"
16347  prefix="$acl_final_prefix"
16348  acl_save_exec_prefix="$exec_prefix"
16349  exec_prefix="$acl_final_exec_prefix"
16350  eval x=\"$x\"
16351  exec_prefix="$acl_save_exec_prefix"
16352  prefix="$acl_save_prefix"
16353
16354                    if test "X$x" = "X-I$additional_includedir"; then
16355                      haveit=yes
16356                      break
16357                    fi
16358                  done
16359                  if test -z "$haveit"; then
16360                    if test -d "$additional_includedir"; then
16361                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
16362                    fi
16363                  fi
16364                fi
16365              fi
16366            fi
16367                        if test -n "$found_la"; then
16368                                                        save_libdir="$libdir"
16369              case "$found_la" in
16370                */* | *\\*) . "$found_la" ;;
16371                *) . "./$found_la" ;;
16372              esac
16373              libdir="$save_libdir"
16374                            for dep in $dependency_libs; do
16375                case "$dep" in
16376                  -L*)
16377                    dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16378                                                                                                                                                                if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
16379                       && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
16380                       && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
16381                      haveit=
16382                      if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
16383                         || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
16384                         || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
16385                        if test -n "$GCC"; then
16386                          case $host_os in
16387                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16388                          esac
16389                        fi
16390                      fi
16391                      if test -z "$haveit"; then
16392                        haveit=
16393                        for x in $LDFLAGS $LIBINTL; do
16394
16395  acl_save_prefix="$prefix"
16396  prefix="$acl_final_prefix"
16397  acl_save_exec_prefix="$exec_prefix"
16398  exec_prefix="$acl_final_exec_prefix"
16399  eval x=\"$x\"
16400  exec_prefix="$acl_save_exec_prefix"
16401  prefix="$acl_save_prefix"
16402
16403                          if test "X$x" = "X-L$dependency_libdir"; then
16404                            haveit=yes
16405                            break
16406                          fi
16407                        done
16408                        if test -z "$haveit"; then
16409                          if test -d "$dependency_libdir"; then
16410                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$dependency_libdir"
16411                          fi
16412                        fi
16413                        haveit=
16414                        for x in $LDFLAGS $LTLIBINTL; do
16415
16416  acl_save_prefix="$prefix"
16417  prefix="$acl_final_prefix"
16418  acl_save_exec_prefix="$exec_prefix"
16419  exec_prefix="$acl_final_exec_prefix"
16420  eval x=\"$x\"
16421  exec_prefix="$acl_save_exec_prefix"
16422  prefix="$acl_save_prefix"
16423
16424                          if test "X$x" = "X-L$dependency_libdir"; then
16425                            haveit=yes
16426                            break
16427                          fi
16428                        done
16429                        if test -z "$haveit"; then
16430                          if test -d "$dependency_libdir"; then
16431                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$dependency_libdir"
16432                          fi
16433                        fi
16434                      fi
16435                    fi
16436                    ;;
16437                  -R*)
16438                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
16439                    if test "$enable_rpath" != no; then
16440                                                                  haveit=
16441                      for x in $rpathdirs; do
16442                        if test "X$x" = "X$dir"; then
16443                          haveit=yes
16444                          break
16445                        fi
16446                      done
16447                      if test -z "$haveit"; then
16448                        rpathdirs="$rpathdirs $dir"
16449                      fi
16450                                                                  haveit=
16451                      for x in $ltrpathdirs; do
16452                        if test "X$x" = "X$dir"; then
16453                          haveit=yes
16454                          break
16455                        fi
16456                      done
16457                      if test -z "$haveit"; then
16458                        ltrpathdirs="$ltrpathdirs $dir"
16459                      fi
16460                    fi
16461                    ;;
16462                  -l*)
16463                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16464                    ;;
16465                  *.la)
16466                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16467                    ;;
16468                  *)
16469                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
16470                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
16471                    ;;
16472                esac
16473              done
16474            fi
16475          else
16476                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16477            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
16478          fi
16479        fi
16480      fi
16481    done
16482  done
16483  if test "X$rpathdirs" != "X"; then
16484    if test -n "$acl_hardcode_libdir_separator"; then
16485                        alldirs=
16486      for found_dir in $rpathdirs; do
16487        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16488      done
16489            acl_save_libdir="$libdir"
16490      libdir="$alldirs"
16491      eval flag=\"$acl_hardcode_libdir_flag_spec\"
16492      libdir="$acl_save_libdir"
16493      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16494    else
16495            for found_dir in $rpathdirs; do
16496        acl_save_libdir="$libdir"
16497        libdir="$found_dir"
16498        eval flag=\"$acl_hardcode_libdir_flag_spec\"
16499        libdir="$acl_save_libdir"
16500        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16501      done
16502    fi
16503  fi
16504  if test "X$ltrpathdirs" != "X"; then
16505            for found_dir in $ltrpathdirs; do
16506      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
16507    done
16508  fi
16509
16510
16511
16512
16513
16514          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
16515$as_echo_n "checking for GNU gettext in libintl... " >&6; }
16516if eval \${$gt_func_gnugettext_libintl+:} false; then :
16517  $as_echo_n "(cached) " >&6
16518else
16519  gt_save_CPPFLAGS="$CPPFLAGS"
16520            CPPFLAGS="$CPPFLAGS $INCINTL"
16521            gt_save_LIBS="$LIBS"
16522            LIBS="$LIBS $LIBINTL"
16523                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16524/* end confdefs.h.  */
16525
16526#include <libintl.h>
16527#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
16528extern int _nl_msg_cat_cntr;
16529extern
16530#ifdef __cplusplus
16531"C"
16532#endif
16533const char *_nl_expand_alias (const char *);
16534#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
16535#else
16536#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
16537#endif
16538$gt_revision_test_code
16539
16540int
16541main ()
16542{
16543
16544bindtextdomain ("", "");
16545return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
16546
16547  ;
16548  return 0;
16549}
16550_ACEOF
16551if ac_fn_c_try_link "$LINENO"; then :
16552  eval "$gt_func_gnugettext_libintl=yes"
16553else
16554  eval "$gt_func_gnugettext_libintl=no"
16555fi
16556rm -f core conftest.err conftest.$ac_objext \
16557    conftest$ac_exeext conftest.$ac_ext
16558                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
16559              LIBS="$LIBS $LIBICONV"
16560              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16561/* end confdefs.h.  */
16562
16563#include <libintl.h>
16564#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
16565extern int _nl_msg_cat_cntr;
16566extern
16567#ifdef __cplusplus
16568"C"
16569#endif
16570const char *_nl_expand_alias (const char *);
16571#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
16572#else
16573#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
16574#endif
16575$gt_revision_test_code
16576
16577int
16578main ()
16579{
16580
16581bindtextdomain ("", "");
16582return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
16583
16584  ;
16585  return 0;
16586}
16587_ACEOF
16588if ac_fn_c_try_link "$LINENO"; then :
16589  LIBINTL="$LIBINTL $LIBICONV"
16590                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16591                 eval "$gt_func_gnugettext_libintl=yes"
16592
16593fi
16594rm -f core conftest.err conftest.$ac_objext \
16595    conftest$ac_exeext conftest.$ac_ext
16596            fi
16597            CPPFLAGS="$gt_save_CPPFLAGS"
16598            LIBS="$gt_save_LIBS"
16599fi
16600eval ac_res=\$$gt_func_gnugettext_libintl
16601	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16602$as_echo "$ac_res" >&6; }
16603        fi
16604
16605                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
16606           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
16607                && test "$PACKAGE" != gettext-runtime \
16608                && test "$PACKAGE" != gettext-tools; }; then
16609          gt_use_preinstalled_gnugettext=yes
16610        else
16611                    LIBINTL=
16612          LTLIBINTL=
16613          INCINTL=
16614        fi
16615
16616
16617
16618    if test -n "$INTL_MACOSX_LIBS"; then
16619      if test "$gt_use_preinstalled_gnugettext" = "yes" \
16620         || test "$nls_cv_use_gnu_gettext" = "yes"; then
16621                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
16622        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
16623      fi
16624    fi
16625
16626    if test "$gt_use_preinstalled_gnugettext" = "yes" \
16627       || test "$nls_cv_use_gnu_gettext" = "yes"; then
16628
16629$as_echo "#define ENABLE_NLS 1" >>confdefs.h
16630
16631    else
16632      USE_NLS=no
16633    fi
16634  fi
16635
16636  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16637$as_echo_n "checking whether to use NLS... " >&6; }
16638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16639$as_echo "$USE_NLS" >&6; }
16640  if test "$USE_NLS" = "yes"; then
16641    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16642$as_echo_n "checking where the gettext function comes from... " >&6; }
16643    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16644      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16645        gt_source="external libintl"
16646      else
16647        gt_source="libc"
16648      fi
16649    else
16650      gt_source="included intl directory"
16651    fi
16652    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16653$as_echo "$gt_source" >&6; }
16654  fi
16655
16656  if test "$USE_NLS" = "yes"; then
16657
16658    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16659      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16660        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16661$as_echo_n "checking how to link with libintl... " >&6; }
16662        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16663$as_echo "$LIBINTL" >&6; }
16664
16665  for element in $INCINTL; do
16666    haveit=
16667    for x in $CPPFLAGS; do
16668
16669  acl_save_prefix="$prefix"
16670  prefix="$acl_final_prefix"
16671  acl_save_exec_prefix="$exec_prefix"
16672  exec_prefix="$acl_final_exec_prefix"
16673  eval x=\"$x\"
16674  exec_prefix="$acl_save_exec_prefix"
16675  prefix="$acl_save_prefix"
16676
16677      if test "X$x" = "X$element"; then
16678        haveit=yes
16679        break
16680      fi
16681    done
16682    if test -z "$haveit"; then
16683      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16684    fi
16685  done
16686
16687      fi
16688
16689
16690$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16691
16692
16693$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16694
16695    fi
16696
16697        POSUB=po
16698  fi
16699
16700
16701
16702    INTLLIBS="$LIBINTL"
16703
16704
16705
16706
16707
16708
16709
16710
16711 if test "x${USE_NLS}" = "xyes"; then
16712  USE_NLS_TRUE=
16713  USE_NLS_FALSE='#'
16714else
16715  USE_NLS_TRUE='#'
16716  USE_NLS_FALSE=
16717fi
16718
16719
16720
16721# Check whether --enable-magic was given.
16722if test "${enable_magic+set}" = set; then :
16723  enableval=$enable_magic;
16724else
16725  enable_magic=no
16726fi
16727
16728
16729zstd_mime_type="application/zstd"
16730if test x"$enable_magic" = x"yes" ; then
16731	save_LIBS="$LIBS"
16732	LIBS="$LIBS -lmagic"
16733	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libmagic works" >&5
16734$as_echo_n "checking whether libmagic works... " >&6; }
16735	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16736/* end confdefs.h.  */
16737
16738#include <magic.h>
16739int main () { magic_t m = magic_open(MAGIC_NONE); }
16740
16741_ACEOF
16742if ac_fn_c_try_link "$LINENO"; then :
16743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16744$as_echo "yes" >&6; }
16745else
16746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16747$as_echo "no" >&6; }
16748		        as_fn_error $? "libmagic is needed for magic" "$LINENO" 5
16749fi
16750rm -f core conftest.err conftest.$ac_objext \
16751    conftest$ac_exeext conftest.$ac_ext
16752
16753				{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zstd mime type" >&5
16754$as_echo_n "checking for zstd mime type... " >&6; }
16755	if test "$cross_compiling" = yes; then :
16756  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16757$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16758as_fn_error $? "cannot run test program while cross compiling
16759See \`config.log' for more details" "$LINENO" 5; }
16760else
16761  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16762/* end confdefs.h.  */
16763#include <stdio.h>
16764#include <string.h>
16765#include <magic.h>
16766int
16767main ()
16768{
16769
16770    FILE *fptr;
16771    char *test_file = "test.zst";
16772    char *default_mime_type = "application/zstd";
16773    int status = 0;
16774    if ((fptr = fopen (test_file,"wb")) == NULL) {
16775        status = 1;
16776    } else {
16777	const unsigned char data[5] = "\x28\xb5\x2f\xfd\0";
16778        int i;
16779	for (i = 0; i < strlen (data); i++)
16780            fwrite (&data[i], 1, 1, fptr);
16781        fclose (fptr);
16782        magic_t magic_cookie = magic_open (MAGIC_MIME_TYPE);
16783        if (magic_cookie == NULL) {
16784            status = 1;
16785        } else {
16786            if (magic_load (magic_cookie, NULL) != 0) {
16787                status = 1;
16788            } else {
16789                const char *mime = magic_file (magic_cookie, test_file);
16790                status = (strcmp (default_mime_type, mime) == 0);
16791            }
16792            magic_close(magic_cookie);
16793        }
16794	remove (test_file);
16795    }
16796    return status;
16797  ;
16798  return 0;
16799}
16800_ACEOF
16801if ac_fn_c_try_run "$LINENO"; then :
16802  zstd_mime_type="application/x-zstd"
16803else
16804  zstd_mime_type="application/zstd"
16805
16806fi
16807rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16808  conftest.$ac_objext conftest.beam conftest.$ac_ext
16809fi
16810
16811	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $zstd_mime_type" >&5
16812$as_echo "$zstd_mime_type" >&6; }
16813
16814	LIBS="$save_LIBS"
16815
16816	MAGIC_CFLAGS=
16817	MAGIC_LIBS=-lmagic
16818
16819
16820
16821
16822
16823$as_echo "#define ENABLE_MAGIC 1" >>confdefs.h
16824
16825fi
16826
16827 if test x"$enable_magic" != x"no"; then
16828  ENABLE_MAGIC_TRUE=
16829  ENABLE_MAGIC_FALSE='#'
16830else
16831  ENABLE_MAGIC_TRUE='#'
16832  ENABLE_MAGIC_FALSE=
16833fi
16834
16835ZSTD_MIME_TYPE="$zstd_mime_type"
16836
16837
16838cat >>confdefs.h <<_ACEOF
16839#define ZSTD_MIME_TYPE "$zstd_mime_type"
16840_ACEOF
16841
16842
16843
16844for ac_prog in gcpio cpio
16845do
16846  # Extract the first word of "$ac_prog", so it can be a program name with args.
16847set dummy $ac_prog; ac_word=$2
16848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16849$as_echo_n "checking for $ac_word... " >&6; }
16850if ${ac_cv_path_CPIO+:} false; then :
16851  $as_echo_n "(cached) " >&6
16852else
16853  case $CPIO in
16854  [\\/]* | ?:[\\/]*)
16855  ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path.
16856  ;;
16857  *)
16858  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16859for as_dir in $PATH
16860do
16861  IFS=$as_save_IFS
16862  test -z "$as_dir" && as_dir=.
16863    for ac_exec_ext in '' $ac_executable_extensions; do
16864  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16865    ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext"
16866    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16867    break 2
16868  fi
16869done
16870  done
16871IFS=$as_save_IFS
16872
16873  ;;
16874esac
16875fi
16876CPIO=$ac_cv_path_CPIO
16877if test -n "$CPIO"; then
16878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPIO" >&5
16879$as_echo "$CPIO" >&6; }
16880else
16881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16882$as_echo "no" >&6; }
16883fi
16884
16885
16886  test -n "$CPIO" && break
16887done
16888test -n "$CPIO" || CPIO="cpio"
16889
16890
16891cat >>confdefs.h <<_ACEOF
16892#define CPIO_PATH "${CPIO}"
16893_ACEOF
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903YELP_LC_MEDIA_LINKS=true
16904YELP_LC_DIST=true
16905
16906for yelpopt in ; do
16907  case $yelpopt in
16908    lc-media-links)    YELP_LC_MEDIA_LINKS=true ;;
16909    no-lc-media-links) YELP_LC_MEDIA_LINKS= ;;
16910    lc-dist)           YELP_LC_DIST=true ;;
16911    no-lc-dist)        YELP_LC_DIST= ;;
16912    *) as_fn_error $? "Unrecognized YELP_HELP_INIT option $yelpopt\"" "$LINENO" 5 ;;
16913  esac
16914done;
16915
16916
16917
16918
16919# Check whether --with-help-dir was given.
16920if test "${with_help_dir+set}" = set; then :
16921  withval=$with_help_dir;
16922else
16923  with_help_dir='${datadir}/help'
16924fi
16925
16926HELP_DIR="$with_help_dir"
16927
16928
16929
16930# Extract the first word of "itstool", so it can be a program name with args.
16931set dummy itstool; ac_word=$2
16932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16933$as_echo_n "checking for $ac_word... " >&6; }
16934if ${ac_cv_prog_ITSTOOL+:} false; then :
16935  $as_echo_n "(cached) " >&6
16936else
16937  if test -n "$ITSTOOL"; then
16938  ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
16939else
16940as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16941for as_dir in $PATH
16942do
16943  IFS=$as_save_IFS
16944  test -z "$as_dir" && as_dir=.
16945    for ac_exec_ext in '' $ac_executable_extensions; do
16946  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16947    ac_cv_prog_ITSTOOL="itstool"
16948    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16949    break 2
16950  fi
16951done
16952  done
16953IFS=$as_save_IFS
16954
16955fi
16956fi
16957ITSTOOL=$ac_cv_prog_ITSTOOL
16958if test -n "$ITSTOOL"; then
16959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
16960$as_echo "$ITSTOOL" >&6; }
16961else
16962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16963$as_echo "no" >&6; }
16964fi
16965
16966
16967if test x"$ITSTOOL" = x; then
16968  as_fn_error $? "itstool not found" "$LINENO" 5
16969fi
16970
16971
16972# Extract the first word of "xmllint", so it can be a program name with args.
16973set dummy xmllint; ac_word=$2
16974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16975$as_echo_n "checking for $ac_word... " >&6; }
16976if ${ac_cv_prog_XMLLINT+:} false; then :
16977  $as_echo_n "(cached) " >&6
16978else
16979  if test -n "$XMLLINT"; then
16980  ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
16981else
16982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16983for as_dir in $PATH
16984do
16985  IFS=$as_save_IFS
16986  test -z "$as_dir" && as_dir=.
16987    for ac_exec_ext in '' $ac_executable_extensions; do
16988  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16989    ac_cv_prog_XMLLINT="xmllint"
16990    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16991    break 2
16992  fi
16993done
16994  done
16995IFS=$as_save_IFS
16996
16997fi
16998fi
16999XMLLINT=$ac_cv_prog_XMLLINT
17000if test -n "$XMLLINT"; then
17001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
17002$as_echo "$XMLLINT" >&6; }
17003else
17004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17005$as_echo "no" >&6; }
17006fi
17007
17008
17009if test x"$XMLLINT" = x; then
17010  as_fn_error $? "xmllint not found" "$LINENO" 5
17011fi
17012
17013YELP_HELP_RULES='
17014HELP_ID ?=
17015HELP_POT ?=
17016HELP_FILES ?=
17017HELP_EXTRA ?=
17018HELP_MEDIA ?=
17019HELP_LINGUAS ?=
17020
17021_HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
17022_HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
17023_HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
17024_HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
17025_HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
17026_HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
17027_HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
17028_HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
17029_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
17030
17031_HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
17032_HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
17033_HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
17034_HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
17035_HELP_LC_VERBOSE_0 = @echo "  GEN    "$(dir $@);
17036
17037all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
17038
17039.PHONY: pot
17040pot: $(_HELP_POTFILE)
17041$(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
17042	$(AM_V_GEN)if test -d "C"; then d=; else d="$(srcdir)/"; fi; \
17043	$(ITSTOOL) -o "$@" $(foreach f,$(_HELP_C_FILES),"$${d}$(f)")
17044
17045.PHONY: repo
17046repo: $(_HELP_POTFILE)
17047	$(AM_V_at)for po in $(_HELP_POFILES); do \
17048	  if test "x$(_HELP_V)" = "x0"; then echo "  GEN    $${po}"; fi; \
17049	  msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
17050	done
17051
17052$(_HELP_POFILES):
17053	$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
17054	$(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi
17055	$(AM_V_GEN)if ! test -f "$@"; then \
17056	  (cd "$(dir $@)" && \
17057	    $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
17058	    mv "$(notdir $@).tmp" "$(notdir $@)"); \
17059	else \
17060	  (cd "$(dir $@)" && \
17061	    $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
17062	    msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
17063	    rm "$(notdir $@).tmp"); \
17064	fi
17065
17066$(_HELP_MOFILES): %.mo: %.po
17067	$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
17068	$(AM_V_GEN)msgfmt -o "$@" "$<"
17069
17070$(_HELP_LC_FILES): $(_HELP_LINGUAS)
17071$(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
17072$(_HELP_LC_STAMPS): %.stamp: %.mo
17073$(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
17074	$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
17075	$(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
17076	mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
17077	if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
17078	(cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
17079	touch "$@"
17080
17081.PHONY: clean-help
17082mostlyclean-am: $(if $(HELP_ID),clean-help)
17083clean-help:
17084	rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
17085
17086EXTRA_DIST ?=
17087EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
17088EXTRA_DIST += $(if $(YELP_LC_DIST),$(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp))
17089EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
17090EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
17091
17092distdir: distdir-help-files
17093distdir-help-files: $(_HELP_LC_FILES)
17094	@for lc in C $(if $(YELP_LC_DIST),$(HELP_LINGUAS)) ; do \
17095	  $(MKDIR_P) "$(distdir)/$$lc"; \
17096	  for file in $(HELP_FILES); do \
17097	    if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
17098	    cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
17099	  done; \
17100	done; \
17101
17102.PHONY: check-help
17103check: check-help
17104check-help:
17105	for lc in C $(_HELP_LINGUAS); do \
17106	  if test -d "$$lc"; \
17107	    then d=; \
17108	    xmlpath="$$lc"; \
17109	  else \
17110	    d="$(srcdir)/"; \
17111	    xmlpath="$$lc:$(srcdir)/$$lc"; \
17112	  fi; \
17113	  for page in $(HELP_FILES); do \
17114	    echo "$(XMLLINT) --nonet --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
17115	    $(XMLLINT) --nonet --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
17116	  done; \
17117	done
17118
17119
17120.PHONY: install-help
17121install-data-am: $(if $(HELP_ID),install-help)
17122install-help: $(_HELP_LC_FILES)
17123	@for lc in C $(_HELP_LINGUAS); do \
17124	  $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
17125	done
17126	@for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
17127	  if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
17128	  helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17129	  if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
17130	  echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
17131	  $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
17132	done; done
17133	@for f in $(_HELP_C_EXTRA); do \
17134	  lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
17135	  if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
17136	  helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17137	  if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
17138	  echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
17139	  $(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
17140	done
17141	@for f in $(HELP_MEDIA); do \
17142	  for lc in C $(_HELP_LINGUAS); do \
17143	    if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
17144	    helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17145	    mdir=`dirname "$$f"`; \
17146	    if test "x$mdir" = "x."; then mdir=""; fi; \
17147	    if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
17148	    if test -f "$$d$$lc/$$f"; then \
17149	      echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
17150	      $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
17151	    elif test "x$$lc" != "xC"; then \
17152	      if test "x$(YELP_LC_MEDIA_LINKS)" != "x"; then \
17153	        echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
17154	        $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
17155	      fi; \
17156	    fi; \
17157	  done; \
17158	done
17159
17160.PHONY: uninstall-help
17161uninstall-am: $(if $(HELP_ID),uninstall-help)
17162uninstall-help:
17163	for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
17164	  helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17165	  echo "rm -f $$helpdir`basename $$f`"; \
17166	  rm -f "$$helpdir`basename $$f`"; \
17167	done; done
17168	@for f in $(_HELP_C_EXTRA); do \
17169	  lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
17170	  helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17171	  echo "rm -f $$helpdir`basename $$f`"; \
17172	  rm -f "$$helpdir`basename $$f`"; \
17173	done
17174	@for f in $(HELP_MEDIA); do \
17175	  for lc in C $(_HELP_LINGUAS); do \
17176	    helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17177	    echo "rm -f $$helpdir$$f"; \
17178	    rm -f "$$helpdir$$f"; \
17179	  done; \
17180	done;
17181'
17182
17183
17184
17185
17186
17187ac_config_files="$ac_config_files Makefile data/Makefile data/engrampa.appdata.xml.in data/engrampa.desktop.in data/org.mate.engrampa.gschema.xml data/icons/Makefile mate-submodules/Makefile mate-submodules/libegg/Makefile src/Makefile src/sh/Makefile src/ui/Makefile caja/Makefile caja/libcaja-engrampa.caja-extension.desktop.in help/Makefile po/Makefile.in"
17188
17189cat >confcache <<\_ACEOF
17190# This file is a shell script that caches the results of configure
17191# tests run on this system so they can be shared between configure
17192# scripts and configure runs, see configure's option --config-cache.
17193# It is not useful on other systems.  If it contains results you don't
17194# want to keep, you may remove or edit it.
17195#
17196# config.status only pays attention to the cache file if you give it
17197# the --recheck option to rerun configure.
17198#
17199# `ac_cv_env_foo' variables (set or unset) will be overridden when
17200# loading this file, other *unset* `ac_cv_foo' will be assigned the
17201# following values.
17202
17203_ACEOF
17204
17205# The following way of writing the cache mishandles newlines in values,
17206# but we know of no workaround that is simple, portable, and efficient.
17207# So, we kill variables containing newlines.
17208# Ultrix sh set writes to stderr and can't be redirected directly,
17209# and sets the high bit in the cache file unless we assign to the vars.
17210(
17211  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17212    eval ac_val=\$$ac_var
17213    case $ac_val in #(
17214    *${as_nl}*)
17215      case $ac_var in #(
17216      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17217$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17218      esac
17219      case $ac_var in #(
17220      _ | IFS | as_nl) ;; #(
17221      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17222      *) { eval $ac_var=; unset $ac_var;} ;;
17223      esac ;;
17224    esac
17225  done
17226
17227  (set) 2>&1 |
17228    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17229    *${as_nl}ac_space=\ *)
17230      # `set' does not quote correctly, so add quotes: double-quote
17231      # substitution turns \\\\ into \\, and sed turns \\ into \.
17232      sed -n \
17233	"s/'/'\\\\''/g;
17234	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17235      ;; #(
17236    *)
17237      # `set' quotes correctly as required by POSIX, so do not add quotes.
17238      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17239      ;;
17240    esac |
17241    sort
17242) |
17243  sed '
17244     /^ac_cv_env_/b end
17245     t clear
17246     :clear
17247     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17248     t end
17249     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17250     :end' >>confcache
17251if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17252  if test -w "$cache_file"; then
17253    if test "x$cache_file" != "x/dev/null"; then
17254      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17255$as_echo "$as_me: updating cache $cache_file" >&6;}
17256      if test ! -f "$cache_file" || test -h "$cache_file"; then
17257	cat confcache >"$cache_file"
17258      else
17259        case $cache_file in #(
17260        */* | ?:*)
17261	  mv -f confcache "$cache_file"$$ &&
17262	  mv -f "$cache_file"$$ "$cache_file" ;; #(
17263        *)
17264	  mv -f confcache "$cache_file" ;;
17265	esac
17266      fi
17267    fi
17268  else
17269    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17270$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17271  fi
17272fi
17273rm -f confcache
17274
17275test "x$prefix" = xNONE && prefix=$ac_default_prefix
17276# Let make expand exec_prefix.
17277test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17278
17279DEFS=-DHAVE_CONFIG_H
17280
17281ac_libobjs=
17282ac_ltlibobjs=
17283U=
17284for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17285  # 1. Remove the extension, and $U if already installed.
17286  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17287  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17288  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17289  #    will be set to the directory where LIBOBJS objects are built.
17290  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17291  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17292done
17293LIBOBJS=$ac_libobjs
17294
17295LTLIBOBJS=$ac_ltlibobjs
17296
17297
17298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17299$as_echo_n "checking that generated files are newer than configure... " >&6; }
17300   if test -n "$am_sleep_pid"; then
17301     # Hide warnings about reused PIDs.
17302     wait $am_sleep_pid 2>/dev/null
17303   fi
17304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17305$as_echo "done" >&6; }
17306 if test -n "$EXEEXT"; then
17307  am__EXEEXT_TRUE=
17308  am__EXEEXT_FALSE='#'
17309else
17310  am__EXEEXT_TRUE='#'
17311  am__EXEEXT_FALSE=
17312fi
17313
17314if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17315  as_fn_error $? "conditional \"AMDEP\" was never defined.
17316Usually this means the macro was only invoked conditionally." "$LINENO" 5
17317fi
17318if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17319  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17320Usually this means the macro was only invoked conditionally." "$LINENO" 5
17321fi
17322if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17323  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17324Usually this means the macro was only invoked conditionally." "$LINENO" 5
17325fi
17326if test -z "${RUN_IN_PLACE_TRUE}" && test -z "${RUN_IN_PLACE_FALSE}"; then
17327  as_fn_error $? "conditional \"RUN_IN_PLACE\" was never defined.
17328Usually this means the macro was only invoked conditionally." "$LINENO" 5
17329fi
17330if test -z "${ENABLE_CAJA_ACTIONS_TRUE}" && test -z "${ENABLE_CAJA_ACTIONS_FALSE}"; then
17331  as_fn_error $? "conditional \"ENABLE_CAJA_ACTIONS\" was never defined.
17332Usually this means the macro was only invoked conditionally." "$LINENO" 5
17333fi
17334if test -z "${ENABLE_JSON_GLIB_TRUE}" && test -z "${ENABLE_JSON_GLIB_FALSE}"; then
17335  as_fn_error $? "conditional \"ENABLE_JSON_GLIB\" was never defined.
17336Usually this means the macro was only invoked conditionally." "$LINENO" 5
17337fi
17338if test -z "${ENABLE_PACKAGEKIT_TRUE}" && test -z "${ENABLE_PACKAGEKIT_FALSE}"; then
17339  as_fn_error $? "conditional \"ENABLE_PACKAGEKIT\" was never defined.
17340Usually this means the macro was only invoked conditionally." "$LINENO" 5
17341fi
17342if test -z "${USE_NLS_TRUE}" && test -z "${USE_NLS_FALSE}"; then
17343  as_fn_error $? "conditional \"USE_NLS\" was never defined.
17344Usually this means the macro was only invoked conditionally." "$LINENO" 5
17345fi
17346if test -z "${ENABLE_MAGIC_TRUE}" && test -z "${ENABLE_MAGIC_FALSE}"; then
17347  as_fn_error $? "conditional \"ENABLE_MAGIC\" was never defined.
17348Usually this means the macro was only invoked conditionally." "$LINENO" 5
17349fi
17350
17351: "${CONFIG_STATUS=./config.status}"
17352ac_write_fail=0
17353ac_clean_files_save=$ac_clean_files
17354ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17355{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17356$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17357as_write_fail=0
17358cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17359#! $SHELL
17360# Generated by $as_me.
17361# Run this file to recreate the current configuration.
17362# Compiler output produced by configure, useful for debugging
17363# configure, is in config.log if it exists.
17364
17365debug=false
17366ac_cs_recheck=false
17367ac_cs_silent=false
17368
17369SHELL=\${CONFIG_SHELL-$SHELL}
17370export SHELL
17371_ASEOF
17372cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17373## -------------------- ##
17374## M4sh Initialization. ##
17375## -------------------- ##
17376
17377# Be more Bourne compatible
17378DUALCASE=1; export DUALCASE # for MKS sh
17379if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17380  emulate sh
17381  NULLCMD=:
17382  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17383  # is contrary to our usage.  Disable this feature.
17384  alias -g '${1+"$@"}'='"$@"'
17385  setopt NO_GLOB_SUBST
17386else
17387  case `(set -o) 2>/dev/null` in #(
17388  *posix*) :
17389    set -o posix ;; #(
17390  *) :
17391     ;;
17392esac
17393fi
17394
17395
17396as_nl='
17397'
17398export as_nl
17399# Printing a long string crashes Solaris 7 /usr/bin/printf.
17400as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17401as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17402as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17403# Prefer a ksh shell builtin over an external printf program on Solaris,
17404# but without wasting forks for bash or zsh.
17405if test -z "$BASH_VERSION$ZSH_VERSION" \
17406    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17407  as_echo='print -r --'
17408  as_echo_n='print -rn --'
17409elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17410  as_echo='printf %s\n'
17411  as_echo_n='printf %s'
17412else
17413  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17414    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17415    as_echo_n='/usr/ucb/echo -n'
17416  else
17417    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17418    as_echo_n_body='eval
17419      arg=$1;
17420      case $arg in #(
17421      *"$as_nl"*)
17422	expr "X$arg" : "X\\(.*\\)$as_nl";
17423	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17424      esac;
17425      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17426    '
17427    export as_echo_n_body
17428    as_echo_n='sh -c $as_echo_n_body as_echo'
17429  fi
17430  export as_echo_body
17431  as_echo='sh -c $as_echo_body as_echo'
17432fi
17433
17434# The user is always right.
17435if test "${PATH_SEPARATOR+set}" != set; then
17436  PATH_SEPARATOR=:
17437  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17438    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17439      PATH_SEPARATOR=';'
17440  }
17441fi
17442
17443
17444# IFS
17445# We need space, tab and new line, in precisely that order.  Quoting is
17446# there to prevent editors from complaining about space-tab.
17447# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17448# splitting by setting IFS to empty value.)
17449IFS=" ""	$as_nl"
17450
17451# Find who we are.  Look in the path if we contain no directory separator.
17452as_myself=
17453case $0 in #((
17454  *[\\/]* ) as_myself=$0 ;;
17455  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17456for as_dir in $PATH
17457do
17458  IFS=$as_save_IFS
17459  test -z "$as_dir" && as_dir=.
17460    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17461  done
17462IFS=$as_save_IFS
17463
17464     ;;
17465esac
17466# We did not find ourselves, most probably we were run as `sh COMMAND'
17467# in which case we are not to be found in the path.
17468if test "x$as_myself" = x; then
17469  as_myself=$0
17470fi
17471if test ! -f "$as_myself"; then
17472  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17473  exit 1
17474fi
17475
17476# Unset variables that we do not need and which cause bugs (e.g. in
17477# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17478# suppresses any "Segmentation fault" message there.  '((' could
17479# trigger a bug in pdksh 5.2.14.
17480for as_var in BASH_ENV ENV MAIL MAILPATH
17481do eval test x\${$as_var+set} = xset \
17482  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17483done
17484PS1='$ '
17485PS2='> '
17486PS4='+ '
17487
17488# NLS nuisances.
17489LC_ALL=C
17490export LC_ALL
17491LANGUAGE=C
17492export LANGUAGE
17493
17494# CDPATH.
17495(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17496
17497
17498# as_fn_error STATUS ERROR [LINENO LOG_FD]
17499# ----------------------------------------
17500# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17501# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17502# script with STATUS, using 1 if that was 0.
17503as_fn_error ()
17504{
17505  as_status=$1; test $as_status -eq 0 && as_status=1
17506  if test "$4"; then
17507    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17508    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17509  fi
17510  $as_echo "$as_me: error: $2" >&2
17511  as_fn_exit $as_status
17512} # as_fn_error
17513
17514
17515# as_fn_set_status STATUS
17516# -----------------------
17517# Set $? to STATUS, without forking.
17518as_fn_set_status ()
17519{
17520  return $1
17521} # as_fn_set_status
17522
17523# as_fn_exit STATUS
17524# -----------------
17525# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17526as_fn_exit ()
17527{
17528  set +e
17529  as_fn_set_status $1
17530  exit $1
17531} # as_fn_exit
17532
17533# as_fn_unset VAR
17534# ---------------
17535# Portably unset VAR.
17536as_fn_unset ()
17537{
17538  { eval $1=; unset $1;}
17539}
17540as_unset=as_fn_unset
17541# as_fn_append VAR VALUE
17542# ----------------------
17543# Append the text in VALUE to the end of the definition contained in VAR. Take
17544# advantage of any shell optimizations that allow amortized linear growth over
17545# repeated appends, instead of the typical quadratic growth present in naive
17546# implementations.
17547if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17548  eval 'as_fn_append ()
17549  {
17550    eval $1+=\$2
17551  }'
17552else
17553  as_fn_append ()
17554  {
17555    eval $1=\$$1\$2
17556  }
17557fi # as_fn_append
17558
17559# as_fn_arith ARG...
17560# ------------------
17561# Perform arithmetic evaluation on the ARGs, and store the result in the
17562# global $as_val. Take advantage of shells that can avoid forks. The arguments
17563# must be portable across $(()) and expr.
17564if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17565  eval 'as_fn_arith ()
17566  {
17567    as_val=$(( $* ))
17568  }'
17569else
17570  as_fn_arith ()
17571  {
17572    as_val=`expr "$@" || test $? -eq 1`
17573  }
17574fi # as_fn_arith
17575
17576
17577if expr a : '\(a\)' >/dev/null 2>&1 &&
17578   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17579  as_expr=expr
17580else
17581  as_expr=false
17582fi
17583
17584if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17585  as_basename=basename
17586else
17587  as_basename=false
17588fi
17589
17590if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17591  as_dirname=dirname
17592else
17593  as_dirname=false
17594fi
17595
17596as_me=`$as_basename -- "$0" ||
17597$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17598	 X"$0" : 'X\(//\)$' \| \
17599	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17600$as_echo X/"$0" |
17601    sed '/^.*\/\([^/][^/]*\)\/*$/{
17602	    s//\1/
17603	    q
17604	  }
17605	  /^X\/\(\/\/\)$/{
17606	    s//\1/
17607	    q
17608	  }
17609	  /^X\/\(\/\).*/{
17610	    s//\1/
17611	    q
17612	  }
17613	  s/.*/./; q'`
17614
17615# Avoid depending upon Character Ranges.
17616as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17617as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17618as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17619as_cr_digits='0123456789'
17620as_cr_alnum=$as_cr_Letters$as_cr_digits
17621
17622ECHO_C= ECHO_N= ECHO_T=
17623case `echo -n x` in #(((((
17624-n*)
17625  case `echo 'xy\c'` in
17626  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17627  xy)  ECHO_C='\c';;
17628  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17629       ECHO_T='	';;
17630  esac;;
17631*)
17632  ECHO_N='-n';;
17633esac
17634
17635rm -f conf$$ conf$$.exe conf$$.file
17636if test -d conf$$.dir; then
17637  rm -f conf$$.dir/conf$$.file
17638else
17639  rm -f conf$$.dir
17640  mkdir conf$$.dir 2>/dev/null
17641fi
17642if (echo >conf$$.file) 2>/dev/null; then
17643  if ln -s conf$$.file conf$$ 2>/dev/null; then
17644    as_ln_s='ln -s'
17645    # ... but there are two gotchas:
17646    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17647    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17648    # In both cases, we have to default to `cp -pR'.
17649    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17650      as_ln_s='cp -pR'
17651  elif ln conf$$.file conf$$ 2>/dev/null; then
17652    as_ln_s=ln
17653  else
17654    as_ln_s='cp -pR'
17655  fi
17656else
17657  as_ln_s='cp -pR'
17658fi
17659rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17660rmdir conf$$.dir 2>/dev/null
17661
17662
17663# as_fn_mkdir_p
17664# -------------
17665# Create "$as_dir" as a directory, including parents if necessary.
17666as_fn_mkdir_p ()
17667{
17668
17669  case $as_dir in #(
17670  -*) as_dir=./$as_dir;;
17671  esac
17672  test -d "$as_dir" || eval $as_mkdir_p || {
17673    as_dirs=
17674    while :; do
17675      case $as_dir in #(
17676      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17677      *) as_qdir=$as_dir;;
17678      esac
17679      as_dirs="'$as_qdir' $as_dirs"
17680      as_dir=`$as_dirname -- "$as_dir" ||
17681$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17682	 X"$as_dir" : 'X\(//\)[^/]' \| \
17683	 X"$as_dir" : 'X\(//\)$' \| \
17684	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17685$as_echo X"$as_dir" |
17686    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17687	    s//\1/
17688	    q
17689	  }
17690	  /^X\(\/\/\)[^/].*/{
17691	    s//\1/
17692	    q
17693	  }
17694	  /^X\(\/\/\)$/{
17695	    s//\1/
17696	    q
17697	  }
17698	  /^X\(\/\).*/{
17699	    s//\1/
17700	    q
17701	  }
17702	  s/.*/./; q'`
17703      test -d "$as_dir" && break
17704    done
17705    test -z "$as_dirs" || eval "mkdir $as_dirs"
17706  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17707
17708
17709} # as_fn_mkdir_p
17710if mkdir -p . 2>/dev/null; then
17711  as_mkdir_p='mkdir -p "$as_dir"'
17712else
17713  test -d ./-p && rmdir ./-p
17714  as_mkdir_p=false
17715fi
17716
17717
17718# as_fn_executable_p FILE
17719# -----------------------
17720# Test if FILE is an executable regular file.
17721as_fn_executable_p ()
17722{
17723  test -f "$1" && test -x "$1"
17724} # as_fn_executable_p
17725as_test_x='test -x'
17726as_executable_p=as_fn_executable_p
17727
17728# Sed expression to map a string onto a valid CPP name.
17729as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17730
17731# Sed expression to map a string onto a valid variable name.
17732as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17733
17734
17735exec 6>&1
17736## ----------------------------------- ##
17737## Main body of $CONFIG_STATUS script. ##
17738## ----------------------------------- ##
17739_ASEOF
17740test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17741
17742cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17743# Save the log message, to keep $0 and so on meaningful, and to
17744# report actual input values of CONFIG_FILES etc. instead of their
17745# values after options handling.
17746ac_log="
17747This file was extended by engrampa $as_me 1.26.0, which was
17748generated by GNU Autoconf 2.69.  Invocation command line was
17749
17750  CONFIG_FILES    = $CONFIG_FILES
17751  CONFIG_HEADERS  = $CONFIG_HEADERS
17752  CONFIG_LINKS    = $CONFIG_LINKS
17753  CONFIG_COMMANDS = $CONFIG_COMMANDS
17754  $ $0 $@
17755
17756on `(hostname || uname -n) 2>/dev/null | sed 1q`
17757"
17758
17759_ACEOF
17760
17761case $ac_config_files in *"
17762"*) set x $ac_config_files; shift; ac_config_files=$*;;
17763esac
17764
17765case $ac_config_headers in *"
17766"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17767esac
17768
17769
17770cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17771# Files that config.status was made for.
17772config_files="$ac_config_files"
17773config_headers="$ac_config_headers"
17774config_commands="$ac_config_commands"
17775
17776_ACEOF
17777
17778cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17779ac_cs_usage="\
17780\`$as_me' instantiates files and other configuration actions
17781from templates according to the current configuration.  Unless the files
17782and actions are specified as TAGs, all are instantiated by default.
17783
17784Usage: $0 [OPTION]... [TAG]...
17785
17786  -h, --help       print this help, then exit
17787  -V, --version    print version number and configuration settings, then exit
17788      --config     print configuration, then exit
17789  -q, --quiet, --silent
17790                   do not print progress messages
17791  -d, --debug      don't remove temporary files
17792      --recheck    update $as_me by reconfiguring in the same conditions
17793      --file=FILE[:TEMPLATE]
17794                   instantiate the configuration file FILE
17795      --header=FILE[:TEMPLATE]
17796                   instantiate the configuration header FILE
17797
17798Configuration files:
17799$config_files
17800
17801Configuration headers:
17802$config_headers
17803
17804Configuration commands:
17805$config_commands
17806
17807Report bugs to <https://github.com/mate-desktop/engrampa/issues>.
17808engrampa home page: <https://mate-desktop.org>."
17809
17810_ACEOF
17811cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17812ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17813ac_cs_version="\\
17814engrampa config.status 1.26.0
17815configured by $0, generated by GNU Autoconf 2.69,
17816  with options \\"\$ac_cs_config\\"
17817
17818Copyright (C) 2012 Free Software Foundation, Inc.
17819This config.status script is free software; the Free Software Foundation
17820gives unlimited permission to copy, distribute and modify it."
17821
17822ac_pwd='$ac_pwd'
17823srcdir='$srcdir'
17824INSTALL='$INSTALL'
17825MKDIR_P='$MKDIR_P'
17826AWK='$AWK'
17827test -n "\$AWK" || AWK=awk
17828_ACEOF
17829
17830cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17831# The default lists apply if the user does not specify any file.
17832ac_need_defaults=:
17833while test $# != 0
17834do
17835  case $1 in
17836  --*=?*)
17837    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17838    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17839    ac_shift=:
17840    ;;
17841  --*=)
17842    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17843    ac_optarg=
17844    ac_shift=:
17845    ;;
17846  *)
17847    ac_option=$1
17848    ac_optarg=$2
17849    ac_shift=shift
17850    ;;
17851  esac
17852
17853  case $ac_option in
17854  # Handling of the options.
17855  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17856    ac_cs_recheck=: ;;
17857  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17858    $as_echo "$ac_cs_version"; exit ;;
17859  --config | --confi | --conf | --con | --co | --c )
17860    $as_echo "$ac_cs_config"; exit ;;
17861  --debug | --debu | --deb | --de | --d | -d )
17862    debug=: ;;
17863  --file | --fil | --fi | --f )
17864    $ac_shift
17865    case $ac_optarg in
17866    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17867    '') as_fn_error $? "missing file argument" ;;
17868    esac
17869    as_fn_append CONFIG_FILES " '$ac_optarg'"
17870    ac_need_defaults=false;;
17871  --header | --heade | --head | --hea )
17872    $ac_shift
17873    case $ac_optarg in
17874    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17875    esac
17876    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17877    ac_need_defaults=false;;
17878  --he | --h)
17879    # Conflict between --help and --header
17880    as_fn_error $? "ambiguous option: \`$1'
17881Try \`$0 --help' for more information.";;
17882  --help | --hel | -h )
17883    $as_echo "$ac_cs_usage"; exit ;;
17884  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17885  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17886    ac_cs_silent=: ;;
17887
17888  # This is an error.
17889  -*) as_fn_error $? "unrecognized option: \`$1'
17890Try \`$0 --help' for more information." ;;
17891
17892  *) as_fn_append ac_config_targets " $1"
17893     ac_need_defaults=false ;;
17894
17895  esac
17896  shift
17897done
17898
17899ac_configure_extra_args=
17900
17901if $ac_cs_silent; then
17902  exec 6>/dev/null
17903  ac_configure_extra_args="$ac_configure_extra_args --silent"
17904fi
17905
17906_ACEOF
17907cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17908if \$ac_cs_recheck; then
17909  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17910  shift
17911  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17912  CONFIG_SHELL='$SHELL'
17913  export CONFIG_SHELL
17914  exec "\$@"
17915fi
17916
17917_ACEOF
17918cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17919exec 5>>config.log
17920{
17921  echo
17922  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17923## Running $as_me. ##
17924_ASBOX
17925  $as_echo "$ac_log"
17926} >&5
17927
17928_ACEOF
17929cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17930#
17931# INIT-COMMANDS
17932#
17933AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17934
17935
17936# The HP-UX ksh and POSIX shell print the target directory to stdout
17937# if CDPATH is set.
17938(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17939
17940sed_quote_subst='$sed_quote_subst'
17941double_quote_subst='$double_quote_subst'
17942delay_variable_subst='$delay_variable_subst'
17943enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17944macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17945macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17946enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17947pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17948enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17949shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17950SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17951ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17952PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17953host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17954host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17955host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17956build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17957build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17958build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17959SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17960Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17961GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17962EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17963FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17964LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17965NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17966LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17967max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17968ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17969exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17970lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17971lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17972lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17973lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17974lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17975reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17976reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17977OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17978deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17979file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17980file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17981want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17982DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17983sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17984AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17985AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17986archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17987STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17988RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17989old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17990old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17991old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17992lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17993CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17994CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17995compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17996GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17997lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17998lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17999lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18000lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18001lt_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"`'
18002lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18003nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18004lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18005lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18006objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18007MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18008lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18009lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18010lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18011lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18012lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18013need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18014MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18015DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18016NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18017LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18018OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18019OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18020libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18021shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18022extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18023archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18024enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18025export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18026whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18027compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18028old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18029old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18030archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18031archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18032module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18033module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18034with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18035allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18036no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18037hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18038hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18039hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18040hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18041hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18042hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18043hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18044inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18045link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18046always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18047export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18048exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18049include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18050prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18051postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18052file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18053variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18054need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18055need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18056version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18057runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18058shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18059shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18060libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18061library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18062soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18063install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18064postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18065postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18066finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18067finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18068hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18069sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18070configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18071configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18072hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18073enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18074enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18075enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18076old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18077striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18078
18079LTCC='$LTCC'
18080LTCFLAGS='$LTCFLAGS'
18081compiler='$compiler_DEFAULT'
18082
18083# A function that is used when there is no print builtin or printf.
18084func_fallback_echo ()
18085{
18086  eval 'cat <<_LTECHO_EOF
18087\$1
18088_LTECHO_EOF'
18089}
18090
18091# Quote evaled strings.
18092for var in SHELL \
18093ECHO \
18094PATH_SEPARATOR \
18095SED \
18096GREP \
18097EGREP \
18098FGREP \
18099LD \
18100NM \
18101LN_S \
18102lt_SP2NL \
18103lt_NL2SP \
18104reload_flag \
18105OBJDUMP \
18106deplibs_check_method \
18107file_magic_cmd \
18108file_magic_glob \
18109want_nocaseglob \
18110DLLTOOL \
18111sharedlib_from_linklib_cmd \
18112AR \
18113AR_FLAGS \
18114archiver_list_spec \
18115STRIP \
18116RANLIB \
18117CC \
18118CFLAGS \
18119compiler \
18120lt_cv_sys_global_symbol_pipe \
18121lt_cv_sys_global_symbol_to_cdecl \
18122lt_cv_sys_global_symbol_to_import \
18123lt_cv_sys_global_symbol_to_c_name_address \
18124lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18125lt_cv_nm_interface \
18126nm_file_list_spec \
18127lt_cv_truncate_bin \
18128lt_prog_compiler_no_builtin_flag \
18129lt_prog_compiler_pic \
18130lt_prog_compiler_wl \
18131lt_prog_compiler_static \
18132lt_cv_prog_compiler_c_o \
18133need_locks \
18134MANIFEST_TOOL \
18135DSYMUTIL \
18136NMEDIT \
18137LIPO \
18138OTOOL \
18139OTOOL64 \
18140shrext_cmds \
18141export_dynamic_flag_spec \
18142whole_archive_flag_spec \
18143compiler_needs_object \
18144with_gnu_ld \
18145allow_undefined_flag \
18146no_undefined_flag \
18147hardcode_libdir_flag_spec \
18148hardcode_libdir_separator \
18149exclude_expsyms \
18150include_expsyms \
18151file_list_spec \
18152variables_saved_for_relink \
18153libname_spec \
18154library_names_spec \
18155soname_spec \
18156install_override_mode \
18157finish_eval \
18158old_striplib \
18159striplib; do
18160    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18161    *[\\\\\\\`\\"\\\$]*)
18162      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18163      ;;
18164    *)
18165      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18166      ;;
18167    esac
18168done
18169
18170# Double-quote double-evaled strings.
18171for var in reload_cmds \
18172old_postinstall_cmds \
18173old_postuninstall_cmds \
18174old_archive_cmds \
18175extract_expsyms_cmds \
18176old_archive_from_new_cmds \
18177old_archive_from_expsyms_cmds \
18178archive_cmds \
18179archive_expsym_cmds \
18180module_cmds \
18181module_expsym_cmds \
18182export_symbols_cmds \
18183prelink_cmds \
18184postlink_cmds \
18185postinstall_cmds \
18186postuninstall_cmds \
18187finish_cmds \
18188sys_lib_search_path_spec \
18189configure_time_dlsearch_path \
18190configure_time_lt_sys_library_path; do
18191    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18192    *[\\\\\\\`\\"\\\$]*)
18193      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18194      ;;
18195    *)
18196      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18197      ;;
18198    esac
18199done
18200
18201ac_aux_dir='$ac_aux_dir'
18202
18203# See if we are running on zsh, and set the options that allow our
18204# commands through without removal of \ escapes INIT.
18205if test -n "\${ZSH_VERSION+set}"; then
18206   setopt NO_GLOB_SUBST
18207fi
18208
18209
18210    PACKAGE='$PACKAGE'
18211    VERSION='$VERSION'
18212    RM='$RM'
18213    ofile='$ofile'
18214
18215
18216
18217# Capture the value of obsolete ALL_LINGUAS because we need it to compute
18218    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS.
18219    OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS"
18220    # Capture the value of LINGUAS because we need it to compute CATALOGS.
18221    LINGUAS="${LINGUAS-%UNSET%}"
18222
18223
18224_ACEOF
18225
18226cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18227
18228# Handling of arguments.
18229for ac_config_target in $ac_config_targets
18230do
18231  case $ac_config_target in
18232    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18233    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18234    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18235    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
18236    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18237    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
18238    "data/engrampa.appdata.xml.in") CONFIG_FILES="$CONFIG_FILES data/engrampa.appdata.xml.in" ;;
18239    "data/engrampa.desktop.in") CONFIG_FILES="$CONFIG_FILES data/engrampa.desktop.in" ;;
18240    "data/org.mate.engrampa.gschema.xml") CONFIG_FILES="$CONFIG_FILES data/org.mate.engrampa.gschema.xml" ;;
18241    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
18242    "mate-submodules/Makefile") CONFIG_FILES="$CONFIG_FILES mate-submodules/Makefile" ;;
18243    "mate-submodules/libegg/Makefile") CONFIG_FILES="$CONFIG_FILES mate-submodules/libegg/Makefile" ;;
18244    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18245    "src/sh/Makefile") CONFIG_FILES="$CONFIG_FILES src/sh/Makefile" ;;
18246    "src/ui/Makefile") CONFIG_FILES="$CONFIG_FILES src/ui/Makefile" ;;
18247    "caja/Makefile") CONFIG_FILES="$CONFIG_FILES caja/Makefile" ;;
18248    "caja/libcaja-engrampa.caja-extension.desktop.in") CONFIG_FILES="$CONFIG_FILES caja/libcaja-engrampa.caja-extension.desktop.in" ;;
18249    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
18250    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18251
18252  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18253  esac
18254done
18255
18256
18257# If the user did not use the arguments to specify the items to instantiate,
18258# then the envvar interface is used.  Set only those that are not.
18259# We use the long form for the default assignment because of an extremely
18260# bizarre bug on SunOS 4.1.3.
18261if $ac_need_defaults; then
18262  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18263  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18264  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18265fi
18266
18267# Have a temporary directory for convenience.  Make it in the build tree
18268# simply because there is no reason against having it here, and in addition,
18269# creating and moving files from /tmp can sometimes cause problems.
18270# Hook for its removal unless debugging.
18271# Note that there is a small window in which the directory will not be cleaned:
18272# after its creation but before its name has been assigned to `$tmp'.
18273$debug ||
18274{
18275  tmp= ac_tmp=
18276  trap 'exit_status=$?
18277  : "${ac_tmp:=$tmp}"
18278  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18279' 0
18280  trap 'as_fn_exit 1' 1 2 13 15
18281}
18282# Create a (secure) tmp directory for tmp files.
18283
18284{
18285  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18286  test -d "$tmp"
18287}  ||
18288{
18289  tmp=./conf$$-$RANDOM
18290  (umask 077 && mkdir "$tmp")
18291} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18292ac_tmp=$tmp
18293
18294# Set up the scripts for CONFIG_FILES section.
18295# No need to generate them if there are no CONFIG_FILES.
18296# This happens for instance with `./config.status config.h'.
18297if test -n "$CONFIG_FILES"; then
18298
18299
18300ac_cr=`echo X | tr X '\015'`
18301# On cygwin, bash can eat \r inside `` if the user requested igncr.
18302# But we know of no other shell where ac_cr would be empty at this
18303# point, so we can use a bashism as a fallback.
18304if test "x$ac_cr" = x; then
18305  eval ac_cr=\$\'\\r\'
18306fi
18307ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18308if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18309  ac_cs_awk_cr='\\r'
18310else
18311  ac_cs_awk_cr=$ac_cr
18312fi
18313
18314echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18315_ACEOF
18316
18317
18318{
18319  echo "cat >conf$$subs.awk <<_ACEOF" &&
18320  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18321  echo "_ACEOF"
18322} >conf$$subs.sh ||
18323  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18324ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18325ac_delim='%!_!# '
18326for ac_last_try in false false false false false :; do
18327  . ./conf$$subs.sh ||
18328    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18329
18330  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18331  if test $ac_delim_n = $ac_delim_num; then
18332    break
18333  elif $ac_last_try; then
18334    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18335  else
18336    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18337  fi
18338done
18339rm -f conf$$subs.sh
18340
18341cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18342cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18343_ACEOF
18344sed -n '
18345h
18346s/^/S["/; s/!.*/"]=/
18347p
18348g
18349s/^[^!]*!//
18350:repl
18351t repl
18352s/'"$ac_delim"'$//
18353t delim
18354:nl
18355h
18356s/\(.\{148\}\)..*/\1/
18357t more1
18358s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18359p
18360n
18361b repl
18362:more1
18363s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18364p
18365g
18366s/.\{148\}//
18367t nl
18368:delim
18369h
18370s/\(.\{148\}\)..*/\1/
18371t more2
18372s/["\\]/\\&/g; s/^/"/; s/$/"/
18373p
18374b
18375:more2
18376s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18377p
18378g
18379s/.\{148\}//
18380t delim
18381' <conf$$subs.awk | sed '
18382/^[^""]/{
18383  N
18384  s/\n//
18385}
18386' >>$CONFIG_STATUS || ac_write_fail=1
18387rm -f conf$$subs.awk
18388cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18389_ACAWK
18390cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18391  for (key in S) S_is_set[key] = 1
18392  FS = ""
18393
18394}
18395{
18396  line = $ 0
18397  nfields = split(line, field, "@")
18398  substed = 0
18399  len = length(field[1])
18400  for (i = 2; i < nfields; i++) {
18401    key = field[i]
18402    keylen = length(key)
18403    if (S_is_set[key]) {
18404      value = S[key]
18405      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18406      len += length(value) + length(field[++i])
18407      substed = 1
18408    } else
18409      len += 1 + keylen
18410  }
18411
18412  print line
18413}
18414
18415_ACAWK
18416_ACEOF
18417cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18418if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18419  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18420else
18421  cat
18422fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18423  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18424_ACEOF
18425
18426# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18427# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18428# trailing colons and then remove the whole line if VPATH becomes empty
18429# (actually we leave an empty line to preserve line numbers).
18430if test "x$srcdir" = x.; then
18431  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
18432h
18433s///
18434s/^/:/
18435s/[	 ]*$/:/
18436s/:\$(srcdir):/:/g
18437s/:\${srcdir}:/:/g
18438s/:@srcdir@:/:/g
18439s/^:*//
18440s/:*$//
18441x
18442s/\(=[	 ]*\).*/\1/
18443G
18444s/\n//
18445s/^[^=]*=[	 ]*$//
18446}'
18447fi
18448
18449cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18450fi # test -n "$CONFIG_FILES"
18451
18452# Set up the scripts for CONFIG_HEADERS section.
18453# No need to generate them if there are no CONFIG_HEADERS.
18454# This happens for instance with `./config.status Makefile'.
18455if test -n "$CONFIG_HEADERS"; then
18456cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18457BEGIN {
18458_ACEOF
18459
18460# Transform confdefs.h into an awk script `defines.awk', embedded as
18461# here-document in config.status, that substitutes the proper values into
18462# config.h.in to produce config.h.
18463
18464# Create a delimiter string that does not exist in confdefs.h, to ease
18465# handling of long lines.
18466ac_delim='%!_!# '
18467for ac_last_try in false false :; do
18468  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18469  if test -z "$ac_tt"; then
18470    break
18471  elif $ac_last_try; then
18472    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18473  else
18474    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18475  fi
18476done
18477
18478# For the awk script, D is an array of macro values keyed by name,
18479# likewise P contains macro parameters if any.  Preserve backslash
18480# newline sequences.
18481
18482ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18483sed -n '
18484s/.\{148\}/&'"$ac_delim"'/g
18485t rset
18486:rset
18487s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
18488t def
18489d
18490:def
18491s/\\$//
18492t bsnl
18493s/["\\]/\\&/g
18494s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18495D["\1"]=" \3"/p
18496s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
18497d
18498:bsnl
18499s/["\\]/\\&/g
18500s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18501D["\1"]=" \3\\\\\\n"\\/p
18502t cont
18503s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18504t cont
18505d
18506:cont
18507n
18508s/.\{148\}/&'"$ac_delim"'/g
18509t clear
18510:clear
18511s/\\$//
18512t bsnlc
18513s/["\\]/\\&/g; s/^/"/; s/$/"/p
18514d
18515:bsnlc
18516s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18517b cont
18518' <confdefs.h | sed '
18519s/'"$ac_delim"'/"\\\
18520"/g' >>$CONFIG_STATUS || ac_write_fail=1
18521
18522cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18523  for (key in D) D_is_set[key] = 1
18524  FS = ""
18525}
18526/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18527  line = \$ 0
18528  split(line, arg, " ")
18529  if (arg[1] == "#") {
18530    defundef = arg[2]
18531    mac1 = arg[3]
18532  } else {
18533    defundef = substr(arg[1], 2)
18534    mac1 = arg[2]
18535  }
18536  split(mac1, mac2, "(") #)
18537  macro = mac2[1]
18538  prefix = substr(line, 1, index(line, defundef) - 1)
18539  if (D_is_set[macro]) {
18540    # Preserve the white space surrounding the "#".
18541    print prefix "define", macro P[macro] D[macro]
18542    next
18543  } else {
18544    # Replace #undef with comments.  This is necessary, for example,
18545    # in the case of _POSIX_SOURCE, which is predefined and required
18546    # on some systems where configure will not decide to define it.
18547    if (defundef == "undef") {
18548      print "/*", prefix defundef, macro, "*/"
18549      next
18550    }
18551  }
18552}
18553{ print }
18554_ACAWK
18555_ACEOF
18556cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18557  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18558fi # test -n "$CONFIG_HEADERS"
18559
18560
18561eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18562shift
18563for ac_tag
18564do
18565  case $ac_tag in
18566  :[FHLC]) ac_mode=$ac_tag; continue;;
18567  esac
18568  case $ac_mode$ac_tag in
18569  :[FHL]*:*);;
18570  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18571  :[FH]-) ac_tag=-:-;;
18572  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18573  esac
18574  ac_save_IFS=$IFS
18575  IFS=:
18576  set x $ac_tag
18577  IFS=$ac_save_IFS
18578  shift
18579  ac_file=$1
18580  shift
18581
18582  case $ac_mode in
18583  :L) ac_source=$1;;
18584  :[FH])
18585    ac_file_inputs=
18586    for ac_f
18587    do
18588      case $ac_f in
18589      -) ac_f="$ac_tmp/stdin";;
18590      *) # Look for the file first in the build tree, then in the source tree
18591	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18592	 # because $ac_f cannot contain `:'.
18593	 test -f "$ac_f" ||
18594	   case $ac_f in
18595	   [\\/$]*) false;;
18596	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18597	   esac ||
18598	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18599      esac
18600      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18601      as_fn_append ac_file_inputs " '$ac_f'"
18602    done
18603
18604    # Let's still pretend it is `configure' which instantiates (i.e., don't
18605    # use $as_me), people would be surprised to read:
18606    #    /* config.h.  Generated by config.status.  */
18607    configure_input='Generated from '`
18608	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18609	`' by configure.'
18610    if test x"$ac_file" != x-; then
18611      configure_input="$ac_file.  $configure_input"
18612      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18613$as_echo "$as_me: creating $ac_file" >&6;}
18614    fi
18615    # Neutralize special characters interpreted by sed in replacement strings.
18616    case $configure_input in #(
18617    *\&* | *\|* | *\\* )
18618       ac_sed_conf_input=`$as_echo "$configure_input" |
18619       sed 's/[\\\\&|]/\\\\&/g'`;; #(
18620    *) ac_sed_conf_input=$configure_input;;
18621    esac
18622
18623    case $ac_tag in
18624    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18625      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18626    esac
18627    ;;
18628  esac
18629
18630  ac_dir=`$as_dirname -- "$ac_file" ||
18631$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18632	 X"$ac_file" : 'X\(//\)[^/]' \| \
18633	 X"$ac_file" : 'X\(//\)$' \| \
18634	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18635$as_echo X"$ac_file" |
18636    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18637	    s//\1/
18638	    q
18639	  }
18640	  /^X\(\/\/\)[^/].*/{
18641	    s//\1/
18642	    q
18643	  }
18644	  /^X\(\/\/\)$/{
18645	    s//\1/
18646	    q
18647	  }
18648	  /^X\(\/\).*/{
18649	    s//\1/
18650	    q
18651	  }
18652	  s/.*/./; q'`
18653  as_dir="$ac_dir"; as_fn_mkdir_p
18654  ac_builddir=.
18655
18656case "$ac_dir" in
18657.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18658*)
18659  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18660  # A ".." for each directory in $ac_dir_suffix.
18661  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18662  case $ac_top_builddir_sub in
18663  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18664  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18665  esac ;;
18666esac
18667ac_abs_top_builddir=$ac_pwd
18668ac_abs_builddir=$ac_pwd$ac_dir_suffix
18669# for backward compatibility:
18670ac_top_builddir=$ac_top_build_prefix
18671
18672case $srcdir in
18673  .)  # We are building in place.
18674    ac_srcdir=.
18675    ac_top_srcdir=$ac_top_builddir_sub
18676    ac_abs_top_srcdir=$ac_pwd ;;
18677  [\\/]* | ?:[\\/]* )  # Absolute name.
18678    ac_srcdir=$srcdir$ac_dir_suffix;
18679    ac_top_srcdir=$srcdir
18680    ac_abs_top_srcdir=$srcdir ;;
18681  *) # Relative name.
18682    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18683    ac_top_srcdir=$ac_top_build_prefix$srcdir
18684    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18685esac
18686ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18687
18688
18689  case $ac_mode in
18690  :F)
18691  #
18692  # CONFIG_FILE
18693  #
18694
18695  case $INSTALL in
18696  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18697  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18698  esac
18699  ac_MKDIR_P=$MKDIR_P
18700  case $MKDIR_P in
18701  [\\/$]* | ?:[\\/]* ) ;;
18702  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18703  esac
18704_ACEOF
18705
18706cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18707# If the template does not know about datarootdir, expand it.
18708# FIXME: This hack should be removed a few years after 2.60.
18709ac_datarootdir_hack=; ac_datarootdir_seen=
18710ac_sed_dataroot='
18711/datarootdir/ {
18712  p
18713  q
18714}
18715/@datadir@/p
18716/@docdir@/p
18717/@infodir@/p
18718/@localedir@/p
18719/@mandir@/p'
18720case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18721*datarootdir*) ac_datarootdir_seen=yes;;
18722*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18723  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18724$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18725_ACEOF
18726cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18727  ac_datarootdir_hack='
18728  s&@datadir@&$datadir&g
18729  s&@docdir@&$docdir&g
18730  s&@infodir@&$infodir&g
18731  s&@localedir@&$localedir&g
18732  s&@mandir@&$mandir&g
18733  s&\\\${datarootdir}&$datarootdir&g' ;;
18734esac
18735_ACEOF
18736
18737# Neutralize VPATH when `$srcdir' = `.'.
18738# Shell code in configure.ac might set extrasub.
18739# FIXME: do we really want to maintain this feature?
18740cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18741ac_sed_extra="$ac_vpsub
18742$extrasub
18743_ACEOF
18744cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18745:t
18746/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18747s|@configure_input@|$ac_sed_conf_input|;t t
18748s&@top_builddir@&$ac_top_builddir_sub&;t t
18749s&@top_build_prefix@&$ac_top_build_prefix&;t t
18750s&@srcdir@&$ac_srcdir&;t t
18751s&@abs_srcdir@&$ac_abs_srcdir&;t t
18752s&@top_srcdir@&$ac_top_srcdir&;t t
18753s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18754s&@builddir@&$ac_builddir&;t t
18755s&@abs_builddir@&$ac_abs_builddir&;t t
18756s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18757s&@INSTALL@&$ac_INSTALL&;t t
18758s&@MKDIR_P@&$ac_MKDIR_P&;t t
18759$ac_datarootdir_hack
18760"
18761eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18762  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18763
18764test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18765  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18766  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18767      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18768  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18769which seems to be undefined.  Please make sure it is defined" >&5
18770$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18771which seems to be undefined.  Please make sure it is defined" >&2;}
18772
18773  rm -f "$ac_tmp/stdin"
18774  case $ac_file in
18775  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18776  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18777  esac \
18778  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18779 ;;
18780  :H)
18781  #
18782  # CONFIG_HEADER
18783  #
18784  if test x"$ac_file" != x-; then
18785    {
18786      $as_echo "/* $configure_input  */" \
18787      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18788    } >"$ac_tmp/config.h" \
18789      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18790    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18791      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18792$as_echo "$as_me: $ac_file is unchanged" >&6;}
18793    else
18794      rm -f "$ac_file"
18795      mv "$ac_tmp/config.h" "$ac_file" \
18796	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18797    fi
18798  else
18799    $as_echo "/* $configure_input  */" \
18800      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18801      || as_fn_error $? "could not create -" "$LINENO" 5
18802  fi
18803# Compute "$ac_file"'s index in $config_headers.
18804_am_arg="$ac_file"
18805_am_stamp_count=1
18806for _am_header in $config_headers :; do
18807  case $_am_header in
18808    $_am_arg | $_am_arg:* )
18809      break ;;
18810    * )
18811      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18812  esac
18813done
18814echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18815$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18816	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18817	 X"$_am_arg" : 'X\(//\)$' \| \
18818	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18819$as_echo X"$_am_arg" |
18820    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18821	    s//\1/
18822	    q
18823	  }
18824	  /^X\(\/\/\)[^/].*/{
18825	    s//\1/
18826	    q
18827	  }
18828	  /^X\(\/\/\)$/{
18829	    s//\1/
18830	    q
18831	  }
18832	  /^X\(\/\).*/{
18833	    s//\1/
18834	    q
18835	  }
18836	  s/.*/./; q'`/stamp-h$_am_stamp_count
18837 ;;
18838
18839  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18840$as_echo "$as_me: executing $ac_file commands" >&6;}
18841 ;;
18842  esac
18843
18844
18845  case $ac_file$ac_mode in
18846    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18847  # Older Autoconf quotes --file arguments for eval, but not when files
18848  # are listed without --file.  Let's play safe and only enable the eval
18849  # if we detect the quoting.
18850  # TODO: see whether this extra hack can be removed once we start
18851  # requiring Autoconf 2.70 or later.
18852  case $CONFIG_FILES in #(
18853  *\'*) :
18854    eval set x "$CONFIG_FILES" ;; #(
18855  *) :
18856    set x $CONFIG_FILES ;; #(
18857  *) :
18858     ;;
18859esac
18860  shift
18861  # Used to flag and report bootstrapping failures.
18862  am_rc=0
18863  for am_mf
18864  do
18865    # Strip MF so we end up with the name of the file.
18866    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
18867    # Check whether this is an Automake generated Makefile which includes
18868    # dependency-tracking related rules and includes.
18869    # Grep'ing the whole file directly is not great: AIX grep has a line
18870    # limit of 2048, but all sed's we know have understand at least 4000.
18871    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18872      || continue
18873    am_dirpart=`$as_dirname -- "$am_mf" ||
18874$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18875	 X"$am_mf" : 'X\(//\)[^/]' \| \
18876	 X"$am_mf" : 'X\(//\)$' \| \
18877	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18878$as_echo X"$am_mf" |
18879    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18880	    s//\1/
18881	    q
18882	  }
18883	  /^X\(\/\/\)[^/].*/{
18884	    s//\1/
18885	    q
18886	  }
18887	  /^X\(\/\/\)$/{
18888	    s//\1/
18889	    q
18890	  }
18891	  /^X\(\/\).*/{
18892	    s//\1/
18893	    q
18894	  }
18895	  s/.*/./; q'`
18896    am_filepart=`$as_basename -- "$am_mf" ||
18897$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18898	 X"$am_mf" : 'X\(//\)$' \| \
18899	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18900$as_echo X/"$am_mf" |
18901    sed '/^.*\/\([^/][^/]*\)\/*$/{
18902	    s//\1/
18903	    q
18904	  }
18905	  /^X\/\(\/\/\)$/{
18906	    s//\1/
18907	    q
18908	  }
18909	  /^X\/\(\/\).*/{
18910	    s//\1/
18911	    q
18912	  }
18913	  s/.*/./; q'`
18914    { echo "$as_me:$LINENO: cd "$am_dirpart" \
18915      && sed -e '/# am--include-marker/d' "$am_filepart" \
18916        | $MAKE -f - am--depfiles" >&5
18917   (cd "$am_dirpart" \
18918      && sed -e '/# am--include-marker/d' "$am_filepart" \
18919        | $MAKE -f - am--depfiles) >&5 2>&5
18920   ac_status=$?
18921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922   (exit $ac_status); } || am_rc=$?
18923  done
18924  if test $am_rc -ne 0; then
18925    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18926$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18927as_fn_error $? "Something went wrong bootstrapping makefile fragments
18928    for automatic dependency tracking.  If GNU make was not used, consider
18929    re-running the configure script with MAKE=\"gmake\" (or whatever is
18930    necessary).  You can also try re-running configure with the
18931    '--disable-dependency-tracking' option to at least be able to build
18932    the package (albeit without support for automatic dependency tracking).
18933See \`config.log' for more details" "$LINENO" 5; }
18934  fi
18935  { am_dirpart=; unset am_dirpart;}
18936  { am_filepart=; unset am_filepart;}
18937  { am_mf=; unset am_mf;}
18938  { am_rc=; unset am_rc;}
18939  rm -f conftest-deps.mk
18940}
18941 ;;
18942    "libtool":C)
18943
18944    # See if we are running on zsh, and set the options that allow our
18945    # commands through without removal of \ escapes.
18946    if test -n "${ZSH_VERSION+set}"; then
18947      setopt NO_GLOB_SUBST
18948    fi
18949
18950    cfgfile=${ofile}T
18951    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18952    $RM "$cfgfile"
18953
18954    cat <<_LT_EOF >> "$cfgfile"
18955#! $SHELL
18956# Generated automatically by $as_me ($PACKAGE) $VERSION
18957# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18958# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18959
18960# Provide generalized library-building support services.
18961# Written by Gordon Matzigkeit, 1996
18962
18963# Copyright (C) 2014 Free Software Foundation, Inc.
18964# This is free software; see the source for copying conditions.  There is NO
18965# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18966
18967# GNU Libtool is free software; you can redistribute it and/or modify
18968# it under the terms of the GNU General Public License as published by
18969# the Free Software Foundation; either version 2 of of the License, or
18970# (at your option) any later version.
18971#
18972# As a special exception to the GNU General Public License, if you
18973# distribute this file as part of a program or library that is built
18974# using GNU Libtool, you may include this file under the  same
18975# distribution terms that you use for the rest of that program.
18976#
18977# GNU Libtool is distributed in the hope that it will be useful, but
18978# WITHOUT ANY WARRANTY; without even the implied warranty of
18979# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18980# GNU General Public License for more details.
18981#
18982# You should have received a copy of the GNU General Public License
18983# along with this program.  If not, see <http://www.gnu.org/licenses/>.
18984
18985
18986# The names of the tagged configurations supported by this script.
18987available_tags=''
18988
18989# Configured defaults for sys_lib_dlsearch_path munging.
18990: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18991
18992# ### BEGIN LIBTOOL CONFIG
18993
18994# Whether or not to build static libraries.
18995build_old_libs=$enable_static
18996
18997# Which release of libtool.m4 was used?
18998macro_version=$macro_version
18999macro_revision=$macro_revision
19000
19001# Whether or not to build shared libraries.
19002build_libtool_libs=$enable_shared
19003
19004# What type of objects to build.
19005pic_mode=$pic_mode
19006
19007# Whether or not to optimize for fast installation.
19008fast_install=$enable_fast_install
19009
19010# Shared archive member basename,for filename based shared library versioning on AIX.
19011shared_archive_member_spec=$shared_archive_member_spec
19012
19013# Shell to use when invoking shell scripts.
19014SHELL=$lt_SHELL
19015
19016# An echo program that protects backslashes.
19017ECHO=$lt_ECHO
19018
19019# The PATH separator for the build system.
19020PATH_SEPARATOR=$lt_PATH_SEPARATOR
19021
19022# The host system.
19023host_alias=$host_alias
19024host=$host
19025host_os=$host_os
19026
19027# The build system.
19028build_alias=$build_alias
19029build=$build
19030build_os=$build_os
19031
19032# A sed program that does not truncate output.
19033SED=$lt_SED
19034
19035# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19036Xsed="\$SED -e 1s/^X//"
19037
19038# A grep program that handles long lines.
19039GREP=$lt_GREP
19040
19041# An ERE matcher.
19042EGREP=$lt_EGREP
19043
19044# A literal string matcher.
19045FGREP=$lt_FGREP
19046
19047# A BSD- or MS-compatible name lister.
19048NM=$lt_NM
19049
19050# Whether we need soft or hard links.
19051LN_S=$lt_LN_S
19052
19053# What is the maximum length of a command?
19054max_cmd_len=$max_cmd_len
19055
19056# Object file suffix (normally "o").
19057objext=$ac_objext
19058
19059# Executable file suffix (normally "").
19060exeext=$exeext
19061
19062# whether the shell understands "unset".
19063lt_unset=$lt_unset
19064
19065# turn spaces into newlines.
19066SP2NL=$lt_lt_SP2NL
19067
19068# turn newlines into spaces.
19069NL2SP=$lt_lt_NL2SP
19070
19071# convert \$build file names to \$host format.
19072to_host_file_cmd=$lt_cv_to_host_file_cmd
19073
19074# convert \$build files to toolchain format.
19075to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19076
19077# An object symbol dumper.
19078OBJDUMP=$lt_OBJDUMP
19079
19080# Method to check whether dependent libraries are shared objects.
19081deplibs_check_method=$lt_deplibs_check_method
19082
19083# Command to use when deplibs_check_method = "file_magic".
19084file_magic_cmd=$lt_file_magic_cmd
19085
19086# How to find potential files when deplibs_check_method = "file_magic".
19087file_magic_glob=$lt_file_magic_glob
19088
19089# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19090want_nocaseglob=$lt_want_nocaseglob
19091
19092# DLL creation program.
19093DLLTOOL=$lt_DLLTOOL
19094
19095# Command to associate shared and link libraries.
19096sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19097
19098# The archiver.
19099AR=$lt_AR
19100
19101# Flags to create an archive.
19102AR_FLAGS=$lt_AR_FLAGS
19103
19104# How to feed a file listing to the archiver.
19105archiver_list_spec=$lt_archiver_list_spec
19106
19107# A symbol stripping program.
19108STRIP=$lt_STRIP
19109
19110# Commands used to install an old-style archive.
19111RANLIB=$lt_RANLIB
19112old_postinstall_cmds=$lt_old_postinstall_cmds
19113old_postuninstall_cmds=$lt_old_postuninstall_cmds
19114
19115# Whether to use a lock for old archive extraction.
19116lock_old_archive_extraction=$lock_old_archive_extraction
19117
19118# A C compiler.
19119LTCC=$lt_CC
19120
19121# LTCC compiler flags.
19122LTCFLAGS=$lt_CFLAGS
19123
19124# Take the output of nm and produce a listing of raw symbols and C names.
19125global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19126
19127# Transform the output of nm in a proper C declaration.
19128global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19129
19130# Transform the output of nm into a list of symbols to manually relocate.
19131global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19132
19133# Transform the output of nm in a C name address pair.
19134global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19135
19136# Transform the output of nm in a C name address pair when lib prefix is needed.
19137global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19138
19139# The name lister interface.
19140nm_interface=$lt_lt_cv_nm_interface
19141
19142# Specify filename containing input files for \$NM.
19143nm_file_list_spec=$lt_nm_file_list_spec
19144
19145# The root where to search for dependent libraries,and where our libraries should be installed.
19146lt_sysroot=$lt_sysroot
19147
19148# Command to truncate a binary pipe.
19149lt_truncate_bin=$lt_lt_cv_truncate_bin
19150
19151# The name of the directory that contains temporary libtool files.
19152objdir=$objdir
19153
19154# Used to examine libraries when file_magic_cmd begins with "file".
19155MAGIC_CMD=$MAGIC_CMD
19156
19157# Must we lock files when doing compilation?
19158need_locks=$lt_need_locks
19159
19160# Manifest tool.
19161MANIFEST_TOOL=$lt_MANIFEST_TOOL
19162
19163# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19164DSYMUTIL=$lt_DSYMUTIL
19165
19166# Tool to change global to local symbols on Mac OS X.
19167NMEDIT=$lt_NMEDIT
19168
19169# Tool to manipulate fat objects and archives on Mac OS X.
19170LIPO=$lt_LIPO
19171
19172# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19173OTOOL=$lt_OTOOL
19174
19175# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19176OTOOL64=$lt_OTOOL64
19177
19178# Old archive suffix (normally "a").
19179libext=$libext
19180
19181# Shared library suffix (normally ".so").
19182shrext_cmds=$lt_shrext_cmds
19183
19184# The commands to extract the exported symbol list from a shared archive.
19185extract_expsyms_cmds=$lt_extract_expsyms_cmds
19186
19187# Variables whose values should be saved in libtool wrapper scripts and
19188# restored at link time.
19189variables_saved_for_relink=$lt_variables_saved_for_relink
19190
19191# Do we need the "lib" prefix for modules?
19192need_lib_prefix=$need_lib_prefix
19193
19194# Do we need a version for libraries?
19195need_version=$need_version
19196
19197# Library versioning type.
19198version_type=$version_type
19199
19200# Shared library runtime path variable.
19201runpath_var=$runpath_var
19202
19203# Shared library path variable.
19204shlibpath_var=$shlibpath_var
19205
19206# Is shlibpath searched before the hard-coded library search path?
19207shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19208
19209# Format of library name prefix.
19210libname_spec=$lt_libname_spec
19211
19212# List of archive names.  First name is the real one, the rest are links.
19213# The last name is the one that the linker finds with -lNAME
19214library_names_spec=$lt_library_names_spec
19215
19216# The coded name of the library, if different from the real name.
19217soname_spec=$lt_soname_spec
19218
19219# Permission mode override for installation of shared libraries.
19220install_override_mode=$lt_install_override_mode
19221
19222# Command to use after installation of a shared archive.
19223postinstall_cmds=$lt_postinstall_cmds
19224
19225# Command to use after uninstallation of a shared archive.
19226postuninstall_cmds=$lt_postuninstall_cmds
19227
19228# Commands used to finish a libtool library installation in a directory.
19229finish_cmds=$lt_finish_cmds
19230
19231# As "finish_cmds", except a single script fragment to be evaled but
19232# not shown.
19233finish_eval=$lt_finish_eval
19234
19235# Whether we should hardcode library paths into libraries.
19236hardcode_into_libs=$hardcode_into_libs
19237
19238# Compile-time system search path for libraries.
19239sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19240
19241# Detected run-time system search path for libraries.
19242sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19243
19244# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19245configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19246
19247# Whether dlopen is supported.
19248dlopen_support=$enable_dlopen
19249
19250# Whether dlopen of programs is supported.
19251dlopen_self=$enable_dlopen_self
19252
19253# Whether dlopen of statically linked programs is supported.
19254dlopen_self_static=$enable_dlopen_self_static
19255
19256# Commands to strip libraries.
19257old_striplib=$lt_old_striplib
19258striplib=$lt_striplib
19259
19260
19261# The linker used to build libraries.
19262LD=$lt_LD
19263
19264# How to create reloadable object files.
19265reload_flag=$lt_reload_flag
19266reload_cmds=$lt_reload_cmds
19267
19268# Commands used to build an old-style archive.
19269old_archive_cmds=$lt_old_archive_cmds
19270
19271# A language specific compiler.
19272CC=$lt_compiler
19273
19274# Is the compiler the GNU compiler?
19275with_gcc=$GCC
19276
19277# Compiler flag to turn off builtin functions.
19278no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19279
19280# Additional compiler flags for building library objects.
19281pic_flag=$lt_lt_prog_compiler_pic
19282
19283# How to pass a linker flag through the compiler.
19284wl=$lt_lt_prog_compiler_wl
19285
19286# Compiler flag to prevent dynamic linking.
19287link_static_flag=$lt_lt_prog_compiler_static
19288
19289# Does compiler simultaneously support -c and -o options?
19290compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19291
19292# Whether or not to add -lc for building shared libraries.
19293build_libtool_need_lc=$archive_cmds_need_lc
19294
19295# Whether or not to disallow shared libs when runtime libs are static.
19296allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19297
19298# Compiler flag to allow reflexive dlopens.
19299export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19300
19301# Compiler flag to generate shared objects directly from archives.
19302whole_archive_flag_spec=$lt_whole_archive_flag_spec
19303
19304# Whether the compiler copes with passing no objects directly.
19305compiler_needs_object=$lt_compiler_needs_object
19306
19307# Create an old-style archive from a shared archive.
19308old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19309
19310# Create a temporary old-style archive to link instead of a shared archive.
19311old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19312
19313# Commands used to build a shared archive.
19314archive_cmds=$lt_archive_cmds
19315archive_expsym_cmds=$lt_archive_expsym_cmds
19316
19317# Commands used to build a loadable module if different from building
19318# a shared archive.
19319module_cmds=$lt_module_cmds
19320module_expsym_cmds=$lt_module_expsym_cmds
19321
19322# Whether we are building with GNU ld or not.
19323with_gnu_ld=$lt_with_gnu_ld
19324
19325# Flag that allows shared libraries with undefined symbols to be built.
19326allow_undefined_flag=$lt_allow_undefined_flag
19327
19328# Flag that enforces no undefined symbols.
19329no_undefined_flag=$lt_no_undefined_flag
19330
19331# Flag to hardcode \$libdir into a binary during linking.
19332# This must work even if \$libdir does not exist
19333hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19334
19335# Whether we need a single "-rpath" flag with a separated argument.
19336hardcode_libdir_separator=$lt_hardcode_libdir_separator
19337
19338# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19339# DIR into the resulting binary.
19340hardcode_direct=$hardcode_direct
19341
19342# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19343# DIR into the resulting binary and the resulting library dependency is
19344# "absolute",i.e impossible to change by setting \$shlibpath_var if the
19345# library is relocated.
19346hardcode_direct_absolute=$hardcode_direct_absolute
19347
19348# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19349# into the resulting binary.
19350hardcode_minus_L=$hardcode_minus_L
19351
19352# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19353# into the resulting binary.
19354hardcode_shlibpath_var=$hardcode_shlibpath_var
19355
19356# Set to "yes" if building a shared library automatically hardcodes DIR
19357# into the library and all subsequent libraries and executables linked
19358# against it.
19359hardcode_automatic=$hardcode_automatic
19360
19361# Set to yes if linker adds runtime paths of dependent libraries
19362# to runtime path list.
19363inherit_rpath=$inherit_rpath
19364
19365# Whether libtool must link a program against all its dependency libraries.
19366link_all_deplibs=$link_all_deplibs
19367
19368# Set to "yes" if exported symbols are required.
19369always_export_symbols=$always_export_symbols
19370
19371# The commands to list exported symbols.
19372export_symbols_cmds=$lt_export_symbols_cmds
19373
19374# Symbols that should not be listed in the preloaded symbols.
19375exclude_expsyms=$lt_exclude_expsyms
19376
19377# Symbols that must always be exported.
19378include_expsyms=$lt_include_expsyms
19379
19380# Commands necessary for linking programs (against libraries) with templates.
19381prelink_cmds=$lt_prelink_cmds
19382
19383# Commands necessary for finishing linking programs.
19384postlink_cmds=$lt_postlink_cmds
19385
19386# Specify filename containing input files.
19387file_list_spec=$lt_file_list_spec
19388
19389# How to hardcode a shared library path into an executable.
19390hardcode_action=$hardcode_action
19391
19392# ### END LIBTOOL CONFIG
19393
19394_LT_EOF
19395
19396    cat <<'_LT_EOF' >> "$cfgfile"
19397
19398# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19399
19400# func_munge_path_list VARIABLE PATH
19401# -----------------------------------
19402# VARIABLE is name of variable containing _space_ separated list of
19403# directories to be munged by the contents of PATH, which is string
19404# having a format:
19405# "DIR[:DIR]:"
19406#       string "DIR[ DIR]" will be prepended to VARIABLE
19407# ":DIR[:DIR]"
19408#       string "DIR[ DIR]" will be appended to VARIABLE
19409# "DIRP[:DIRP]::[DIRA:]DIRA"
19410#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19411#       "DIRA[ DIRA]" will be appended to VARIABLE
19412# "DIR[:DIR]"
19413#       VARIABLE will be replaced by "DIR[ DIR]"
19414func_munge_path_list ()
19415{
19416    case x$2 in
19417    x)
19418        ;;
19419    *:)
19420        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19421        ;;
19422    x:*)
19423        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19424        ;;
19425    *::*)
19426        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19427        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19428        ;;
19429    *)
19430        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19431        ;;
19432    esac
19433}
19434
19435
19436# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19437func_cc_basename ()
19438{
19439    for cc_temp in $*""; do
19440      case $cc_temp in
19441        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19442        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19443        \-*) ;;
19444        *) break;;
19445      esac
19446    done
19447    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19448}
19449
19450
19451# ### END FUNCTIONS SHARED WITH CONFIGURE
19452
19453_LT_EOF
19454
19455  case $host_os in
19456  aix3*)
19457    cat <<\_LT_EOF >> "$cfgfile"
19458# AIX sometimes has problems with the GCC collect2 program.  For some
19459# reason, if we set the COLLECT_NAMES environment variable, the problems
19460# vanish in a puff of smoke.
19461if test set != "${COLLECT_NAMES+set}"; then
19462  COLLECT_NAMES=
19463  export COLLECT_NAMES
19464fi
19465_LT_EOF
19466    ;;
19467  esac
19468
19469
19470ltmain=$ac_aux_dir/ltmain.sh
19471
19472
19473  # We use sed instead of cat because bash on DJGPP gets confused if
19474  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19475  # text mode, it properly converts lines to CR/LF.  This bash problem
19476  # is reportedly fixed, but why not run on old versions too?
19477  sed '$q' "$ltmain" >> "$cfgfile" \
19478     || (rm -f "$cfgfile"; exit 1)
19479
19480   mv -f "$cfgfile" "$ofile" ||
19481    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19482  chmod +x "$ofile"
19483
19484 ;;
19485    "po-directories":C)
19486    for ac_file in $CONFIG_FILES; do
19487      # Support "outfile[:infile[:infile...]]"
19488      case "$ac_file" in
19489        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19490      esac
19491      # PO directories have a Makefile.in generated from Makefile.in.in.
19492      case "$ac_file" in */Makefile.in)
19493        # Adjust a relative srcdir.
19494        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19495        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
19496        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19497        # In autoconf-2.13 it is called $ac_given_srcdir.
19498        # In autoconf-2.50 it is called $srcdir.
19499        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
19500        case "$ac_given_srcdir" in
19501          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
19502          /*) top_srcdir="$ac_given_srcdir" ;;
19503          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
19504        esac
19505        # Treat a directory as a PO directory if and only if it has a
19506        # POTFILES.in file. This allows packages to have multiple PO
19507        # directories under different names or in different locations.
19508        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
19509          rm -f "$ac_dir/POTFILES"
19510          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
19511          gt_tab=`printf '\t'`
19512          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
19513          POMAKEFILEDEPS="POTFILES.in"
19514          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
19515          # on $ac_dir but don't depend on user-specified configuration
19516          # parameters.
19517          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
19518            # The LINGUAS file contains the set of available languages.
19519            if test -n "$OBSOLETE_ALL_LINGUAS"; then
19520              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
19521            fi
19522            ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
19523            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
19524          else
19525            # The set of available languages was given in configure.in.
19526            ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS
19527          fi
19528          # Compute POFILES
19529          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
19530          # Compute UPDATEPOFILES
19531          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
19532          # Compute DUMMYPOFILES
19533          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
19534          # Compute GMOFILES
19535          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
19536          case "$ac_given_srcdir" in
19537            .) srcdirpre= ;;
19538            *) srcdirpre='$(srcdir)/' ;;
19539          esac
19540          POFILES=
19541          UPDATEPOFILES=
19542          DUMMYPOFILES=
19543          GMOFILES=
19544          for lang in $ALL_LINGUAS; do
19545            POFILES="$POFILES $srcdirpre$lang.po"
19546            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
19547            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
19548            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
19549          done
19550          # CATALOGS depends on both $ac_dir and the user's LINGUAS
19551          # environment variable.
19552          INST_LINGUAS=
19553          if test -n "$ALL_LINGUAS"; then
19554            for presentlang in $ALL_LINGUAS; do
19555              useit=no
19556              if test "%UNSET%" != "$LINGUAS"; then
19557                desiredlanguages="$LINGUAS"
19558              else
19559                desiredlanguages="$ALL_LINGUAS"
19560              fi
19561              for desiredlang in $desiredlanguages; do
19562                # Use the presentlang catalog if desiredlang is
19563                #   a. equal to presentlang, or
19564                #   b. a variant of presentlang (because in this case,
19565                #      presentlang can be used as a fallback for messages
19566                #      which are not translated in the desiredlang catalog).
19567                case "$desiredlang" in
19568                  "$presentlang"*) useit=yes;;
19569                esac
19570              done
19571              if test $useit = yes; then
19572                INST_LINGUAS="$INST_LINGUAS $presentlang"
19573              fi
19574            done
19575          fi
19576          CATALOGS=
19577          if test -n "$INST_LINGUAS"; then
19578            for lang in $INST_LINGUAS; do
19579              CATALOGS="$CATALOGS $lang.gmo"
19580            done
19581          fi
19582          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
19583          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
19584          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
19585            if test -f "$f"; then
19586              case "$f" in
19587                *.orig | *.bak | *~) ;;
19588                *) cat "$f" >> "$ac_dir/Makefile" ;;
19589              esac
19590            fi
19591          done
19592        fi
19593        ;;
19594      esac
19595    done ;;
19596
19597  esac
19598done # for ac_tag
19599
19600
19601as_fn_exit 0
19602_ACEOF
19603ac_clean_files=$ac_clean_files_save
19604
19605test $ac_write_fail = 0 ||
19606  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19607
19608
19609# configure is writing to config.log, and then calls config.status.
19610# config.status does its own redirection, appending to config.log.
19611# Unfortunately, on DOS this fails, as config.log is still kept open
19612# by configure, so config.status won't be able to write to it; its
19613# output is simply discarded.  So we exec the FD to /dev/null,
19614# effectively closing config.log, so it can be properly (re)opened and
19615# appended to by config.status.  When coming back to configure, we
19616# need to make the FD available again.
19617if test "$no_create" != yes; then
19618  ac_cs_success=:
19619  ac_config_status_args=
19620  test "$silent" = yes &&
19621    ac_config_status_args="$ac_config_status_args --quiet"
19622  exec 5>/dev/null
19623  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19624  exec 5>>config.log
19625  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19626  # would make configure fail if this is the last instruction.
19627  $ac_cs_success || as_fn_exit 1
19628fi
19629if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19630  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19631$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19632fi
19633
19634
19635echo "
19636Configure summary:
19637
19638	${PACKAGE_STRING}
19639	`echo $PACKAGE_STRING | sed "s/./=/g"`
19640
19641	Source code location:      ${srcdir}
19642	Compiler:                  ${CC}
19643	Compiler flags:            ${CFLAGS}
19644	Warning flags:             ${WARN_CFLAGS}
19645	Linker flags:              ${LDFLAGS}
19646	Caja support:              ${enable_caja_actions}
19647	PackageKit support:        ${enable_packagekit}
19648	Run in place               ${enable_run_in_place}
19649	Use libmagic:              ${enable_magic}
19650	JSON support:              ${enable_json_glib}
19651	Native Language support:   ${USE_NLS}
19652"
19653