1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for imlib2_loaders 1.7.0.
4#
5# Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1
202
203  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    PATH=/empty FPATH=/empty; export PATH FPATH
208    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: enlightenment-devel@lists.sourceforge.net about your
279$0: system, including any error possibly output before this
280$0: message. Then install a modern shell, or manually run
281$0: the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='imlib2_loaders'
592PACKAGE_TARNAME='imlib2_loaders'
593PACKAGE_VERSION='1.7.0'
594PACKAGE_STRING='imlib2_loaders 1.7.0'
595PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
596PACKAGE_URL=''
597
598ac_unique_file="configure.ac"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639HAVE_VISIBILITY
640CFLAGS_VISIBILITY
641CFLAGS_WARNINGS
642BUILD_XCF_LOADER_FALSE
643BUILD_XCF_LOADER_TRUE
644BUILD_EET_LOADER_FALSE
645BUILD_EET_LOADER_TRUE
646BUILD_ANI_LOADER_FALSE
647BUILD_ANI_LOADER_TRUE
648EET_LIBS
649EET_CFLAGS
650PKG_CONFIG_LIBDIR
651PKG_CONFIG_PATH
652PKG_CONFIG
653LT_SYS_LIBRARY_PATH
654OTOOL64
655OTOOL
656LIPO
657NMEDIT
658DSYMUTIL
659MANIFEST_TOOL
660RANLIB
661ac_ct_AR
662AR
663DLLTOOL
664OBJDUMP
665LN_S
666NM
667ac_ct_DUMPBIN
668DUMPBIN
669LD
670FGREP
671SED
672LIBTOOL
673EGREP
674GREP
675CPP
676am__fastdepCC_FALSE
677am__fastdepCC_TRUE
678CCDEPMODE
679am__nodep
680AMDEPBACKSLASH
681AMDEP_FALSE
682AMDEP_TRUE
683am__include
684DEPDIR
685OBJEXT
686EXEEXT
687ac_ct_CC
688CPPFLAGS
689LDFLAGS
690CFLAGS
691CC
692AM_BACKSLASH
693AM_DEFAULT_VERBOSITY
694AM_DEFAULT_V
695AM_V
696am__untar
697am__tar
698AMTAR
699am__leading_dot
700SET_MAKE
701AWK
702mkdir_p
703MKDIR_P
704INSTALL_STRIP_PROGRAM
705STRIP
706install_sh
707MAKEINFO
708AUTOHEADER
709AUTOMAKE
710AUTOCONF
711ACLOCAL
712VERSION
713PACKAGE
714CYGPATH_W
715am__isrc
716INSTALL_DATA
717INSTALL_SCRIPT
718INSTALL_PROGRAM
719host_os
720host_vendor
721host_cpu
722host
723build_os
724build_vendor
725build_cpu
726build
727target_alias
728host_alias
729build_alias
730LIBS
731ECHO_T
732ECHO_N
733ECHO_C
734DEFS
735mandir
736localedir
737libdir
738psdir
739pdfdir
740dvidir
741htmldir
742infodir
743docdir
744oldincludedir
745includedir
746localstatedir
747sharedstatedir
748sysconfdir
749datadir
750datarootdir
751libexecdir
752sbindir
753bindir
754program_transform_name
755prefix
756exec_prefix
757PACKAGE_URL
758PACKAGE_BUGREPORT
759PACKAGE_STRING
760PACKAGE_VERSION
761PACKAGE_TARNAME
762PACKAGE_NAME
763PATH_SEPARATOR
764SHELL
765am__quote'
766ac_subst_files=''
767ac_user_opts='
768enable_option_checking
769enable_silent_rules
770enable_dependency_tracking
771enable_shared
772enable_static
773with_pic
774enable_fast_install
775with_aix_soname
776with_gnu_ld
777with_sysroot
778enable_libtool_lock
779enable_eet
780enable_xcf
781enable_werror
782enable_visibility_hiding
783'
784      ac_precious_vars='build_alias
785host_alias
786target_alias
787CC
788CFLAGS
789LDFLAGS
790LIBS
791CPPFLAGS
792CPP
793LT_SYS_LIBRARY_PATH
794PKG_CONFIG
795PKG_CONFIG_PATH
796PKG_CONFIG_LIBDIR
797EET_CFLAGS
798EET_LIBS'
799
800
801# Initialize some variables set by options.
802ac_init_help=
803ac_init_version=false
804ac_unrecognized_opts=
805ac_unrecognized_sep=
806# The variables have the same names as the options, with
807# dashes changed to underlines.
808cache_file=/dev/null
809exec_prefix=NONE
810no_create=
811no_recursion=
812prefix=NONE
813program_prefix=NONE
814program_suffix=NONE
815program_transform_name=s,x,x,
816silent=
817site=
818srcdir=
819verbose=
820x_includes=NONE
821x_libraries=NONE
822
823# Installation directory options.
824# These are left unexpanded so users can "make install exec_prefix=/foo"
825# and all the variables that are supposed to be based on exec_prefix
826# by default will actually change.
827# Use braces instead of parens because sh, perl, etc. also accept them.
828# (The list follows the same order as the GNU Coding Standards.)
829bindir='${exec_prefix}/bin'
830sbindir='${exec_prefix}/sbin'
831libexecdir='${exec_prefix}/libexec'
832datarootdir='${prefix}/share'
833datadir='${datarootdir}'
834sysconfdir='${prefix}/etc'
835sharedstatedir='${prefix}/com'
836localstatedir='${prefix}/var'
837includedir='${prefix}/include'
838oldincludedir='/usr/include'
839docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
840infodir='${datarootdir}/info'
841htmldir='${docdir}'
842dvidir='${docdir}'
843pdfdir='${docdir}'
844psdir='${docdir}'
845libdir='${exec_prefix}/lib'
846localedir='${datarootdir}/locale'
847mandir='${datarootdir}/man'
848
849ac_prev=
850ac_dashdash=
851for ac_option
852do
853  # If the previous option needs an argument, assign it.
854  if test -n "$ac_prev"; then
855    eval $ac_prev=\$ac_option
856    ac_prev=
857    continue
858  fi
859
860  case $ac_option in
861  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862  *=)   ac_optarg= ;;
863  *)    ac_optarg=yes ;;
864  esac
865
866  # Accept the important Cygnus configure options, so we can diagnose typos.
867
868  case $ac_dashdash$ac_option in
869  --)
870    ac_dashdash=yes ;;
871
872  -bindir | --bindir | --bindi | --bind | --bin | --bi)
873    ac_prev=bindir ;;
874  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
875    bindir=$ac_optarg ;;
876
877  -build | --build | --buil | --bui | --bu)
878    ac_prev=build_alias ;;
879  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
880    build_alias=$ac_optarg ;;
881
882  -cache-file | --cache-file | --cache-fil | --cache-fi \
883  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
884    ac_prev=cache_file ;;
885  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
886  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
887    cache_file=$ac_optarg ;;
888
889  --config-cache | -C)
890    cache_file=config.cache ;;
891
892  -datadir | --datadir | --datadi | --datad)
893    ac_prev=datadir ;;
894  -datadir=* | --datadir=* | --datadi=* | --datad=*)
895    datadir=$ac_optarg ;;
896
897  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
898  | --dataroo | --dataro | --datar)
899    ac_prev=datarootdir ;;
900  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
901  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
902    datarootdir=$ac_optarg ;;
903
904  -disable-* | --disable-*)
905    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
906    # Reject names that are not valid shell variable names.
907    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
908      as_fn_error $? "invalid feature name: $ac_useropt"
909    ac_useropt_orig=$ac_useropt
910    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911    case $ac_user_opts in
912      *"
913"enable_$ac_useropt"
914"*) ;;
915      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
916	 ac_unrecognized_sep=', ';;
917    esac
918    eval enable_$ac_useropt=no ;;
919
920  -docdir | --docdir | --docdi | --doc | --do)
921    ac_prev=docdir ;;
922  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
923    docdir=$ac_optarg ;;
924
925  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
926    ac_prev=dvidir ;;
927  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
928    dvidir=$ac_optarg ;;
929
930  -enable-* | --enable-*)
931    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
932    # Reject names that are not valid shell variable names.
933    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
934      as_fn_error $? "invalid feature name: $ac_useropt"
935    ac_useropt_orig=$ac_useropt
936    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
937    case $ac_user_opts in
938      *"
939"enable_$ac_useropt"
940"*) ;;
941      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
942	 ac_unrecognized_sep=', ';;
943    esac
944    eval enable_$ac_useropt=\$ac_optarg ;;
945
946  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
947  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
948  | --exec | --exe | --ex)
949    ac_prev=exec_prefix ;;
950  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
951  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
952  | --exec=* | --exe=* | --ex=*)
953    exec_prefix=$ac_optarg ;;
954
955  -gas | --gas | --ga | --g)
956    # Obsolete; use --with-gas.
957    with_gas=yes ;;
958
959  -help | --help | --hel | --he | -h)
960    ac_init_help=long ;;
961  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
962    ac_init_help=recursive ;;
963  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
964    ac_init_help=short ;;
965
966  -host | --host | --hos | --ho)
967    ac_prev=host_alias ;;
968  -host=* | --host=* | --hos=* | --ho=*)
969    host_alias=$ac_optarg ;;
970
971  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
972    ac_prev=htmldir ;;
973  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
974  | --ht=*)
975    htmldir=$ac_optarg ;;
976
977  -includedir | --includedir | --includedi | --included | --include \
978  | --includ | --inclu | --incl | --inc)
979    ac_prev=includedir ;;
980  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
981  | --includ=* | --inclu=* | --incl=* | --inc=*)
982    includedir=$ac_optarg ;;
983
984  -infodir | --infodir | --infodi | --infod | --info | --inf)
985    ac_prev=infodir ;;
986  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
987    infodir=$ac_optarg ;;
988
989  -libdir | --libdir | --libdi | --libd)
990    ac_prev=libdir ;;
991  -libdir=* | --libdir=* | --libdi=* | --libd=*)
992    libdir=$ac_optarg ;;
993
994  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
995  | --libexe | --libex | --libe)
996    ac_prev=libexecdir ;;
997  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
998  | --libexe=* | --libex=* | --libe=*)
999    libexecdir=$ac_optarg ;;
1000
1001  -localedir | --localedir | --localedi | --localed | --locale)
1002    ac_prev=localedir ;;
1003  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1004    localedir=$ac_optarg ;;
1005
1006  -localstatedir | --localstatedir | --localstatedi | --localstated \
1007  | --localstate | --localstat | --localsta | --localst | --locals)
1008    ac_prev=localstatedir ;;
1009  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1010  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1011    localstatedir=$ac_optarg ;;
1012
1013  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1014    ac_prev=mandir ;;
1015  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1016    mandir=$ac_optarg ;;
1017
1018  -nfp | --nfp | --nf)
1019    # Obsolete; use --without-fp.
1020    with_fp=no ;;
1021
1022  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1023  | --no-cr | --no-c | -n)
1024    no_create=yes ;;
1025
1026  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1027  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1028    no_recursion=yes ;;
1029
1030  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1031  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1032  | --oldin | --oldi | --old | --ol | --o)
1033    ac_prev=oldincludedir ;;
1034  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1035  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1036  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1037    oldincludedir=$ac_optarg ;;
1038
1039  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1040    ac_prev=prefix ;;
1041  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1042    prefix=$ac_optarg ;;
1043
1044  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1045  | --program-pre | --program-pr | --program-p)
1046    ac_prev=program_prefix ;;
1047  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1048  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1049    program_prefix=$ac_optarg ;;
1050
1051  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1052  | --program-suf | --program-su | --program-s)
1053    ac_prev=program_suffix ;;
1054  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1055  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1056    program_suffix=$ac_optarg ;;
1057
1058  -program-transform-name | --program-transform-name \
1059  | --program-transform-nam | --program-transform-na \
1060  | --program-transform-n | --program-transform- \
1061  | --program-transform | --program-transfor \
1062  | --program-transfo | --program-transf \
1063  | --program-trans | --program-tran \
1064  | --progr-tra | --program-tr | --program-t)
1065    ac_prev=program_transform_name ;;
1066  -program-transform-name=* | --program-transform-name=* \
1067  | --program-transform-nam=* | --program-transform-na=* \
1068  | --program-transform-n=* | --program-transform-=* \
1069  | --program-transform=* | --program-transfor=* \
1070  | --program-transfo=* | --program-transf=* \
1071  | --program-trans=* | --program-tran=* \
1072  | --progr-tra=* | --program-tr=* | --program-t=*)
1073    program_transform_name=$ac_optarg ;;
1074
1075  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1076    ac_prev=pdfdir ;;
1077  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1078    pdfdir=$ac_optarg ;;
1079
1080  -psdir | --psdir | --psdi | --psd | --ps)
1081    ac_prev=psdir ;;
1082  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1083    psdir=$ac_optarg ;;
1084
1085  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1086  | -silent | --silent | --silen | --sile | --sil)
1087    silent=yes ;;
1088
1089  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1090    ac_prev=sbindir ;;
1091  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1092  | --sbi=* | --sb=*)
1093    sbindir=$ac_optarg ;;
1094
1095  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1096  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1097  | --sharedst | --shareds | --shared | --share | --shar \
1098  | --sha | --sh)
1099    ac_prev=sharedstatedir ;;
1100  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1101  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1102  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1103  | --sha=* | --sh=*)
1104    sharedstatedir=$ac_optarg ;;
1105
1106  -site | --site | --sit)
1107    ac_prev=site ;;
1108  -site=* | --site=* | --sit=*)
1109    site=$ac_optarg ;;
1110
1111  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1112    ac_prev=srcdir ;;
1113  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1114    srcdir=$ac_optarg ;;
1115
1116  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1117  | --syscon | --sysco | --sysc | --sys | --sy)
1118    ac_prev=sysconfdir ;;
1119  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1120  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1121    sysconfdir=$ac_optarg ;;
1122
1123  -target | --target | --targe | --targ | --tar | --ta | --t)
1124    ac_prev=target_alias ;;
1125  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1126    target_alias=$ac_optarg ;;
1127
1128  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1129    verbose=yes ;;
1130
1131  -version | --version | --versio | --versi | --vers | -V)
1132    ac_init_version=: ;;
1133
1134  -with-* | --with-*)
1135    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1136    # Reject names that are not valid shell variable names.
1137    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1138      as_fn_error $? "invalid package name: $ac_useropt"
1139    ac_useropt_orig=$ac_useropt
1140    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141    case $ac_user_opts in
1142      *"
1143"with_$ac_useropt"
1144"*) ;;
1145      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1146	 ac_unrecognized_sep=', ';;
1147    esac
1148    eval with_$ac_useropt=\$ac_optarg ;;
1149
1150  -without-* | --without-*)
1151    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1152    # Reject names that are not valid shell variable names.
1153    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1154      as_fn_error $? "invalid package name: $ac_useropt"
1155    ac_useropt_orig=$ac_useropt
1156    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157    case $ac_user_opts in
1158      *"
1159"with_$ac_useropt"
1160"*) ;;
1161      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1162	 ac_unrecognized_sep=', ';;
1163    esac
1164    eval with_$ac_useropt=no ;;
1165
1166  --x)
1167    # Obsolete; use --with-x.
1168    with_x=yes ;;
1169
1170  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1171  | --x-incl | --x-inc | --x-in | --x-i)
1172    ac_prev=x_includes ;;
1173  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1174  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1175    x_includes=$ac_optarg ;;
1176
1177  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1178  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1179    ac_prev=x_libraries ;;
1180  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1181  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1182    x_libraries=$ac_optarg ;;
1183
1184  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1185Try \`$0 --help' for more information"
1186    ;;
1187
1188  *=*)
1189    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1190    # Reject names that are not valid shell variable names.
1191    case $ac_envvar in #(
1192      '' | [0-9]* | *[!_$as_cr_alnum]* )
1193      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1194    esac
1195    eval $ac_envvar=\$ac_optarg
1196    export $ac_envvar ;;
1197
1198  *)
1199    # FIXME: should be removed in autoconf 3.0.
1200    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1201    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1202      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1203    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1204    ;;
1205
1206  esac
1207done
1208
1209if test -n "$ac_prev"; then
1210  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1211  as_fn_error $? "missing argument to $ac_option"
1212fi
1213
1214if test -n "$ac_unrecognized_opts"; then
1215  case $enable_option_checking in
1216    no) ;;
1217    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1218    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1219  esac
1220fi
1221
1222# Check all directory arguments for consistency.
1223for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1224		datadir sysconfdir sharedstatedir localstatedir includedir \
1225		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1226		libdir localedir mandir
1227do
1228  eval ac_val=\$$ac_var
1229  # Remove trailing slashes.
1230  case $ac_val in
1231    */ )
1232      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1233      eval $ac_var=\$ac_val;;
1234  esac
1235  # Be sure to have absolute directory names.
1236  case $ac_val in
1237    [\\/$]* | ?:[\\/]* )  continue;;
1238    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1239  esac
1240  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1241done
1242
1243# There might be people who depend on the old broken behavior: `$host'
1244# used to hold the argument of --host etc.
1245# FIXME: To remove some day.
1246build=$build_alias
1247host=$host_alias
1248target=$target_alias
1249
1250# FIXME: To remove some day.
1251if test "x$host_alias" != x; then
1252  if test "x$build_alias" = x; then
1253    cross_compiling=maybe
1254  elif test "x$build_alias" != "x$host_alias"; then
1255    cross_compiling=yes
1256  fi
1257fi
1258
1259ac_tool_prefix=
1260test -n "$host_alias" && ac_tool_prefix=$host_alias-
1261
1262test "$silent" = yes && exec 6>/dev/null
1263
1264
1265ac_pwd=`pwd` && test -n "$ac_pwd" &&
1266ac_ls_di=`ls -di .` &&
1267ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1268  as_fn_error $? "working directory cannot be determined"
1269test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1270  as_fn_error $? "pwd does not report name of working directory"
1271
1272
1273# Find the source files, if location was not specified.
1274if test -z "$srcdir"; then
1275  ac_srcdir_defaulted=yes
1276  # Try the directory containing this script, then the parent directory.
1277  ac_confdir=`$as_dirname -- "$as_myself" ||
1278$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1279	 X"$as_myself" : 'X\(//\)[^/]' \| \
1280	 X"$as_myself" : 'X\(//\)$' \| \
1281	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1282$as_echo X"$as_myself" |
1283    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1284	    s//\1/
1285	    q
1286	  }
1287	  /^X\(\/\/\)[^/].*/{
1288	    s//\1/
1289	    q
1290	  }
1291	  /^X\(\/\/\)$/{
1292	    s//\1/
1293	    q
1294	  }
1295	  /^X\(\/\).*/{
1296	    s//\1/
1297	    q
1298	  }
1299	  s/.*/./; q'`
1300  srcdir=$ac_confdir
1301  if test ! -r "$srcdir/$ac_unique_file"; then
1302    srcdir=..
1303  fi
1304else
1305  ac_srcdir_defaulted=no
1306fi
1307if test ! -r "$srcdir/$ac_unique_file"; then
1308  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1309  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1310fi
1311ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1312ac_abs_confdir=`(
1313	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1314	pwd)`
1315# When building in place, set srcdir=.
1316if test "$ac_abs_confdir" = "$ac_pwd"; then
1317  srcdir=.
1318fi
1319# Remove unnecessary trailing slashes from srcdir.
1320# Double slashes in file names in object file debugging info
1321# mess up M-x gdb in Emacs.
1322case $srcdir in
1323*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1324esac
1325for ac_var in $ac_precious_vars; do
1326  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1327  eval ac_env_${ac_var}_value=\$${ac_var}
1328  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1329  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1330done
1331
1332#
1333# Report the --help message.
1334#
1335if test "$ac_init_help" = "long"; then
1336  # Omit some internal or obsolete options to make the list less imposing.
1337  # This message is too long to be a string in the A/UX 3.1 sh.
1338  cat <<_ACEOF
1339\`configure' configures imlib2_loaders 1.7.0 to adapt to many kinds of systems.
1340
1341Usage: $0 [OPTION]... [VAR=VALUE]...
1342
1343To assign environment variables (e.g., CC, CFLAGS...), specify them as
1344VAR=VALUE.  See below for descriptions of some of the useful variables.
1345
1346Defaults for the options are specified in brackets.
1347
1348Configuration:
1349  -h, --help              display this help and exit
1350      --help=short        display options specific to this package
1351      --help=recursive    display the short help of all the included packages
1352  -V, --version           display version information and exit
1353  -q, --quiet, --silent   do not print \`checking ...' messages
1354      --cache-file=FILE   cache test results in FILE [disabled]
1355  -C, --config-cache      alias for \`--cache-file=config.cache'
1356  -n, --no-create         do not create output files
1357      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1358
1359Installation directories:
1360  --prefix=PREFIX         install architecture-independent files in PREFIX
1361                          [$ac_default_prefix]
1362  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1363                          [PREFIX]
1364
1365By default, \`make install' will install all the files in
1366\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1367an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1368for instance \`--prefix=\$HOME'.
1369
1370For better control, use the options below.
1371
1372Fine tuning of the installation directories:
1373  --bindir=DIR            user executables [EPREFIX/bin]
1374  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1375  --libexecdir=DIR        program executables [EPREFIX/libexec]
1376  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1377  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1378  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1379  --libdir=DIR            object code libraries [EPREFIX/lib]
1380  --includedir=DIR        C header files [PREFIX/include]
1381  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1382  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1383  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1384  --infodir=DIR           info documentation [DATAROOTDIR/info]
1385  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1386  --mandir=DIR            man documentation [DATAROOTDIR/man]
1387  --docdir=DIR            documentation root [DATAROOTDIR/doc/imlib2_loaders]
1388  --htmldir=DIR           html documentation [DOCDIR]
1389  --dvidir=DIR            dvi documentation [DOCDIR]
1390  --pdfdir=DIR            pdf documentation [DOCDIR]
1391  --psdir=DIR             ps documentation [DOCDIR]
1392_ACEOF
1393
1394  cat <<\_ACEOF
1395
1396Program names:
1397  --program-prefix=PREFIX            prepend PREFIX to installed program names
1398  --program-suffix=SUFFIX            append SUFFIX to installed program names
1399  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1400
1401System types:
1402  --build=BUILD     configure for building on BUILD [guessed]
1403  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1404_ACEOF
1405fi
1406
1407if test -n "$ac_init_help"; then
1408  case $ac_init_help in
1409     short | recursive ) echo "Configuration of imlib2_loaders 1.7.0:";;
1410   esac
1411  cat <<\_ACEOF
1412
1413Optional Features:
1414  --disable-option-checking  ignore unrecognized --enable/--with options
1415  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1416  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1417  --enable-silent-rules   less verbose build output (undo: "make V=1")
1418  --disable-silent-rules  verbose build output (undo: "make V=0")
1419  --enable-dependency-tracking
1420                          do not reject slow dependency extractors
1421  --disable-dependency-tracking
1422                          speeds up one-time build
1423  --enable-shared[=PKGS]  build shared libraries [default=yes]
1424  --enable-static[=PKGS]  build static libraries [default=yes]
1425  --enable-fast-install[=PKGS]
1426                          optimize for fast installation [default=yes]
1427  --disable-libtool-lock  avoid locking (might break parallel builds)
1428  --disable-eet           disable building the eet loader
1429  --disable-xcf           disable building the xcf loader
1430  --enable-werror         treat compiler warnings as errors [default=no]
1431  --enable-visibility-hiding
1432                          enable visibility hiding [default=yes]
1433
1434Optional Packages:
1435  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1436  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1437  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1438                          both]
1439  --with-aix-soname=aix|svr4|both
1440                          shared library versioning (aka "SONAME") variant to
1441                          provide on AIX, [default=aix].
1442  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1443  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1444                          compiler's sysroot if not specified).
1445
1446Some influential environment variables:
1447  CC          C compiler command
1448  CFLAGS      C compiler flags
1449  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1450              nonstandard directory <lib dir>
1451  LIBS        libraries to pass to the linker, e.g. -l<library>
1452  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1453              you have headers in a nonstandard directory <include dir>
1454  CPP         C preprocessor
1455  LT_SYS_LIBRARY_PATH
1456              User-defined run-time library search path.
1457  PKG_CONFIG  path to pkg-config utility
1458  PKG_CONFIG_PATH
1459              directories to add to pkg-config's search path
1460  PKG_CONFIG_LIBDIR
1461              path overriding pkg-config's built-in search path
1462  EET_CFLAGS  C compiler flags for EET, overriding pkg-config
1463  EET_LIBS    linker flags for EET, overriding pkg-config
1464
1465Use these variables to override the choices made by `configure' or to help
1466it to find libraries and programs with nonstandard names/locations.
1467
1468Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1469_ACEOF
1470ac_status=$?
1471fi
1472
1473if test "$ac_init_help" = "recursive"; then
1474  # If there are subdirs, report their specific --help.
1475  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1476    test -d "$ac_dir" ||
1477      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1478      continue
1479    ac_builddir=.
1480
1481case "$ac_dir" in
1482.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483*)
1484  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1485  # A ".." for each directory in $ac_dir_suffix.
1486  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1487  case $ac_top_builddir_sub in
1488  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1489  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1490  esac ;;
1491esac
1492ac_abs_top_builddir=$ac_pwd
1493ac_abs_builddir=$ac_pwd$ac_dir_suffix
1494# for backward compatibility:
1495ac_top_builddir=$ac_top_build_prefix
1496
1497case $srcdir in
1498  .)  # We are building in place.
1499    ac_srcdir=.
1500    ac_top_srcdir=$ac_top_builddir_sub
1501    ac_abs_top_srcdir=$ac_pwd ;;
1502  [\\/]* | ?:[\\/]* )  # Absolute name.
1503    ac_srcdir=$srcdir$ac_dir_suffix;
1504    ac_top_srcdir=$srcdir
1505    ac_abs_top_srcdir=$srcdir ;;
1506  *) # Relative name.
1507    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1508    ac_top_srcdir=$ac_top_build_prefix$srcdir
1509    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1510esac
1511ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1512
1513    cd "$ac_dir" || { ac_status=$?; continue; }
1514    # Check for guested configure.
1515    if test -f "$ac_srcdir/configure.gnu"; then
1516      echo &&
1517      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1518    elif test -f "$ac_srcdir/configure"; then
1519      echo &&
1520      $SHELL "$ac_srcdir/configure" --help=recursive
1521    else
1522      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1523    fi || ac_status=$?
1524    cd "$ac_pwd" || { ac_status=$?; break; }
1525  done
1526fi
1527
1528test -n "$ac_init_help" && exit $ac_status
1529if $ac_init_version; then
1530  cat <<\_ACEOF
1531imlib2_loaders configure 1.7.0
1532generated by GNU Autoconf 2.69
1533
1534Copyright (C) 2012 Free Software Foundation, Inc.
1535This configure script is free software; the Free Software Foundation
1536gives unlimited permission to copy, distribute and modify it.
1537_ACEOF
1538  exit
1539fi
1540
1541## ------------------------ ##
1542## Autoconf initialization. ##
1543## ------------------------ ##
1544
1545# ac_fn_c_try_compile LINENO
1546# --------------------------
1547# Try to compile conftest.$ac_ext, and return whether this succeeded.
1548ac_fn_c_try_compile ()
1549{
1550  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551  rm -f conftest.$ac_objext
1552  if { { ac_try="$ac_compile"
1553case "(($ac_try" in
1554  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1555  *) ac_try_echo=$ac_try;;
1556esac
1557eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1558$as_echo "$ac_try_echo"; } >&5
1559  (eval "$ac_compile") 2>conftest.err
1560  ac_status=$?
1561  if test -s conftest.err; then
1562    grep -v '^ *+' conftest.err >conftest.er1
1563    cat conftest.er1 >&5
1564    mv -f conftest.er1 conftest.err
1565  fi
1566  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567  test $ac_status = 0; } && {
1568	 test -z "$ac_c_werror_flag" ||
1569	 test ! -s conftest.err
1570       } && test -s conftest.$ac_objext; then :
1571  ac_retval=0
1572else
1573  $as_echo "$as_me: failed program was:" >&5
1574sed 's/^/| /' conftest.$ac_ext >&5
1575
1576	ac_retval=1
1577fi
1578  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1579  as_fn_set_status $ac_retval
1580
1581} # ac_fn_c_try_compile
1582
1583# ac_fn_c_try_run LINENO
1584# ----------------------
1585# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1586# that executables *can* be run.
1587ac_fn_c_try_run ()
1588{
1589  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590  if { { ac_try="$ac_link"
1591case "(($ac_try" in
1592  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593  *) ac_try_echo=$ac_try;;
1594esac
1595eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596$as_echo "$ac_try_echo"; } >&5
1597  (eval "$ac_link") 2>&5
1598  ac_status=$?
1599  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1601  { { case "(($ac_try" in
1602  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603  *) ac_try_echo=$ac_try;;
1604esac
1605eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606$as_echo "$ac_try_echo"; } >&5
1607  (eval "$ac_try") 2>&5
1608  ac_status=$?
1609  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610  test $ac_status = 0; }; }; then :
1611  ac_retval=0
1612else
1613  $as_echo "$as_me: program exited with status $ac_status" >&5
1614       $as_echo "$as_me: failed program was:" >&5
1615sed 's/^/| /' conftest.$ac_ext >&5
1616
1617       ac_retval=$ac_status
1618fi
1619  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1620  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621  as_fn_set_status $ac_retval
1622
1623} # ac_fn_c_try_run
1624
1625# ac_fn_c_try_cpp LINENO
1626# ----------------------
1627# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1628ac_fn_c_try_cpp ()
1629{
1630  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631  if { { ac_try="$ac_cpp conftest.$ac_ext"
1632case "(($ac_try" in
1633  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1634  *) ac_try_echo=$ac_try;;
1635esac
1636eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637$as_echo "$ac_try_echo"; } >&5
1638  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1639  ac_status=$?
1640  if test -s conftest.err; then
1641    grep -v '^ *+' conftest.err >conftest.er1
1642    cat conftest.er1 >&5
1643    mv -f conftest.er1 conftest.err
1644  fi
1645  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646  test $ac_status = 0; } > conftest.i && {
1647	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1648	 test ! -s conftest.err
1649       }; then :
1650  ac_retval=0
1651else
1652  $as_echo "$as_me: failed program was:" >&5
1653sed 's/^/| /' conftest.$ac_ext >&5
1654
1655    ac_retval=1
1656fi
1657  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658  as_fn_set_status $ac_retval
1659
1660} # ac_fn_c_try_cpp
1661
1662# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1663# -------------------------------------------------------
1664# Tests whether HEADER exists and can be compiled using the include files in
1665# INCLUDES, setting the cache variable VAR accordingly.
1666ac_fn_c_check_header_compile ()
1667{
1668  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1670$as_echo_n "checking for $2... " >&6; }
1671if eval \${$3+:} false; then :
1672  $as_echo_n "(cached) " >&6
1673else
1674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1675/* end confdefs.h.  */
1676$4
1677#include <$2>
1678_ACEOF
1679if ac_fn_c_try_compile "$LINENO"; then :
1680  eval "$3=yes"
1681else
1682  eval "$3=no"
1683fi
1684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1685fi
1686eval ac_res=\$$3
1687	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1688$as_echo "$ac_res" >&6; }
1689  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690
1691} # ac_fn_c_check_header_compile
1692
1693# ac_fn_c_try_link LINENO
1694# -----------------------
1695# Try to link conftest.$ac_ext, and return whether this succeeded.
1696ac_fn_c_try_link ()
1697{
1698  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699  rm -f conftest.$ac_objext conftest$ac_exeext
1700  if { { ac_try="$ac_link"
1701case "(($ac_try" in
1702  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1703  *) ac_try_echo=$ac_try;;
1704esac
1705eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706$as_echo "$ac_try_echo"; } >&5
1707  (eval "$ac_link") 2>conftest.err
1708  ac_status=$?
1709  if test -s conftest.err; then
1710    grep -v '^ *+' conftest.err >conftest.er1
1711    cat conftest.er1 >&5
1712    mv -f conftest.er1 conftest.err
1713  fi
1714  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715  test $ac_status = 0; } && {
1716	 test -z "$ac_c_werror_flag" ||
1717	 test ! -s conftest.err
1718       } && test -s conftest$ac_exeext && {
1719	 test "$cross_compiling" = yes ||
1720	 test -x conftest$ac_exeext
1721       }; then :
1722  ac_retval=0
1723else
1724  $as_echo "$as_me: failed program was:" >&5
1725sed 's/^/| /' conftest.$ac_ext >&5
1726
1727	ac_retval=1
1728fi
1729  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1730  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1731  # interfere with the next link command; also delete a directory that is
1732  # left behind by Apple's compiler.  We do this before executing the actions.
1733  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1734  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735  as_fn_set_status $ac_retval
1736
1737} # ac_fn_c_try_link
1738
1739# ac_fn_c_check_func LINENO FUNC VAR
1740# ----------------------------------
1741# Tests whether FUNC exists, setting the cache variable VAR accordingly
1742ac_fn_c_check_func ()
1743{
1744  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746$as_echo_n "checking for $2... " >&6; }
1747if eval \${$3+:} false; then :
1748  $as_echo_n "(cached) " >&6
1749else
1750  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1751/* end confdefs.h.  */
1752/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1753   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1754#define $2 innocuous_$2
1755
1756/* System header to define __stub macros and hopefully few prototypes,
1757    which can conflict with char $2 (); below.
1758    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1759    <limits.h> exists even on freestanding compilers.  */
1760
1761#ifdef __STDC__
1762# include <limits.h>
1763#else
1764# include <assert.h>
1765#endif
1766
1767#undef $2
1768
1769/* Override any GCC internal prototype to avoid an error.
1770   Use char because int might match the return type of a GCC
1771   builtin and then its argument prototype would still apply.  */
1772#ifdef __cplusplus
1773extern "C"
1774#endif
1775char $2 ();
1776/* The GNU C library defines this for functions which it implements
1777    to always fail with ENOSYS.  Some functions are actually named
1778    something starting with __ and the normal name is an alias.  */
1779#if defined __stub_$2 || defined __stub___$2
1780choke me
1781#endif
1782
1783int
1784main ()
1785{
1786return $2 ();
1787  ;
1788  return 0;
1789}
1790_ACEOF
1791if ac_fn_c_try_link "$LINENO"; then :
1792  eval "$3=yes"
1793else
1794  eval "$3=no"
1795fi
1796rm -f core conftest.err conftest.$ac_objext \
1797    conftest$ac_exeext conftest.$ac_ext
1798fi
1799eval ac_res=\$$3
1800	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801$as_echo "$ac_res" >&6; }
1802  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803
1804} # ac_fn_c_check_func
1805cat >config.log <<_ACEOF
1806This file contains any messages produced by compilers while
1807running configure, to aid debugging if configure makes a mistake.
1808
1809It was created by imlib2_loaders $as_me 1.7.0, which was
1810generated by GNU Autoconf 2.69.  Invocation command line was
1811
1812  $ $0 $@
1813
1814_ACEOF
1815exec 5>>config.log
1816{
1817cat <<_ASUNAME
1818## --------- ##
1819## Platform. ##
1820## --------- ##
1821
1822hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1823uname -m = `(uname -m) 2>/dev/null || echo unknown`
1824uname -r = `(uname -r) 2>/dev/null || echo unknown`
1825uname -s = `(uname -s) 2>/dev/null || echo unknown`
1826uname -v = `(uname -v) 2>/dev/null || echo unknown`
1827
1828/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1829/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1830
1831/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1832/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1833/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1834/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1835/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1836/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1837/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1838
1839_ASUNAME
1840
1841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1842for as_dir in $PATH
1843do
1844  IFS=$as_save_IFS
1845  test -z "$as_dir" && as_dir=.
1846    $as_echo "PATH: $as_dir"
1847  done
1848IFS=$as_save_IFS
1849
1850} >&5
1851
1852cat >&5 <<_ACEOF
1853
1854
1855## ----------- ##
1856## Core tests. ##
1857## ----------- ##
1858
1859_ACEOF
1860
1861
1862# Keep a trace of the command line.
1863# Strip out --no-create and --no-recursion so they do not pile up.
1864# Strip out --silent because we don't want to record it for future runs.
1865# Also quote any args containing shell meta-characters.
1866# Make two passes to allow for proper duplicate-argument suppression.
1867ac_configure_args=
1868ac_configure_args0=
1869ac_configure_args1=
1870ac_must_keep_next=false
1871for ac_pass in 1 2
1872do
1873  for ac_arg
1874  do
1875    case $ac_arg in
1876    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1877    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1878    | -silent | --silent | --silen | --sile | --sil)
1879      continue ;;
1880    *\'*)
1881      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1882    esac
1883    case $ac_pass in
1884    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1885    2)
1886      as_fn_append ac_configure_args1 " '$ac_arg'"
1887      if test $ac_must_keep_next = true; then
1888	ac_must_keep_next=false # Got value, back to normal.
1889      else
1890	case $ac_arg in
1891	  *=* | --config-cache | -C | -disable-* | --disable-* \
1892	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1893	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1894	  | -with-* | --with-* | -without-* | --without-* | --x)
1895	    case "$ac_configure_args0 " in
1896	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1897	    esac
1898	    ;;
1899	  -* ) ac_must_keep_next=true ;;
1900	esac
1901      fi
1902      as_fn_append ac_configure_args " '$ac_arg'"
1903      ;;
1904    esac
1905  done
1906done
1907{ ac_configure_args0=; unset ac_configure_args0;}
1908{ ac_configure_args1=; unset ac_configure_args1;}
1909
1910# When interrupted or exit'd, cleanup temporary files, and complete
1911# config.log.  We remove comments because anyway the quotes in there
1912# would cause problems or look ugly.
1913# WARNING: Use '\'' to represent an apostrophe within the trap.
1914# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1915trap 'exit_status=$?
1916  # Save into config.log some information that might help in debugging.
1917  {
1918    echo
1919
1920    $as_echo "## ---------------- ##
1921## Cache variables. ##
1922## ---------------- ##"
1923    echo
1924    # The following way of writing the cache mishandles newlines in values,
1925(
1926  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1927    eval ac_val=\$$ac_var
1928    case $ac_val in #(
1929    *${as_nl}*)
1930      case $ac_var in #(
1931      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1932$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1933      esac
1934      case $ac_var in #(
1935      _ | IFS | as_nl) ;; #(
1936      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1937      *) { eval $ac_var=; unset $ac_var;} ;;
1938      esac ;;
1939    esac
1940  done
1941  (set) 2>&1 |
1942    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1943    *${as_nl}ac_space=\ *)
1944      sed -n \
1945	"s/'\''/'\''\\\\'\'''\''/g;
1946	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1947      ;; #(
1948    *)
1949      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1950      ;;
1951    esac |
1952    sort
1953)
1954    echo
1955
1956    $as_echo "## ----------------- ##
1957## Output variables. ##
1958## ----------------- ##"
1959    echo
1960    for ac_var in $ac_subst_vars
1961    do
1962      eval ac_val=\$$ac_var
1963      case $ac_val in
1964      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1965      esac
1966      $as_echo "$ac_var='\''$ac_val'\''"
1967    done | sort
1968    echo
1969
1970    if test -n "$ac_subst_files"; then
1971      $as_echo "## ------------------- ##
1972## File substitutions. ##
1973## ------------------- ##"
1974      echo
1975      for ac_var in $ac_subst_files
1976      do
1977	eval ac_val=\$$ac_var
1978	case $ac_val in
1979	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1980	esac
1981	$as_echo "$ac_var='\''$ac_val'\''"
1982      done | sort
1983      echo
1984    fi
1985
1986    if test -s confdefs.h; then
1987      $as_echo "## ----------- ##
1988## confdefs.h. ##
1989## ----------- ##"
1990      echo
1991      cat confdefs.h
1992      echo
1993    fi
1994    test "$ac_signal" != 0 &&
1995      $as_echo "$as_me: caught signal $ac_signal"
1996    $as_echo "$as_me: exit $exit_status"
1997  } >&5
1998  rm -f core *.core core.conftest.* &&
1999    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2000    exit $exit_status
2001' 0
2002for ac_signal in 1 2 13 15; do
2003  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2004done
2005ac_signal=0
2006
2007# confdefs.h avoids OS command line length limits that DEFS can exceed.
2008rm -f -r conftest* confdefs.h
2009
2010$as_echo "/* confdefs.h */" > confdefs.h
2011
2012# Predefined preprocessor variables.
2013
2014cat >>confdefs.h <<_ACEOF
2015#define PACKAGE_NAME "$PACKAGE_NAME"
2016_ACEOF
2017
2018cat >>confdefs.h <<_ACEOF
2019#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2020_ACEOF
2021
2022cat >>confdefs.h <<_ACEOF
2023#define PACKAGE_VERSION "$PACKAGE_VERSION"
2024_ACEOF
2025
2026cat >>confdefs.h <<_ACEOF
2027#define PACKAGE_STRING "$PACKAGE_STRING"
2028_ACEOF
2029
2030cat >>confdefs.h <<_ACEOF
2031#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2032_ACEOF
2033
2034cat >>confdefs.h <<_ACEOF
2035#define PACKAGE_URL "$PACKAGE_URL"
2036_ACEOF
2037
2038
2039# Let the site file select an alternate cache file if it wants to.
2040# Prefer an explicitly selected file to automatically selected ones.
2041ac_site_file1=NONE
2042ac_site_file2=NONE
2043if test -n "$CONFIG_SITE"; then
2044  # We do not want a PATH search for config.site.
2045  case $CONFIG_SITE in #((
2046    -*)  ac_site_file1=./$CONFIG_SITE;;
2047    */*) ac_site_file1=$CONFIG_SITE;;
2048    *)   ac_site_file1=./$CONFIG_SITE;;
2049  esac
2050elif test "x$prefix" != xNONE; then
2051  ac_site_file1=$prefix/share/config.site
2052  ac_site_file2=$prefix/etc/config.site
2053else
2054  ac_site_file1=$ac_default_prefix/share/config.site
2055  ac_site_file2=$ac_default_prefix/etc/config.site
2056fi
2057for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2058do
2059  test "x$ac_site_file" = xNONE && continue
2060  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2061    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2062$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2063    sed 's/^/| /' "$ac_site_file" >&5
2064    . "$ac_site_file" \
2065      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2066$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2067as_fn_error $? "failed to load site script $ac_site_file
2068See \`config.log' for more details" "$LINENO" 5; }
2069  fi
2070done
2071
2072if test -r "$cache_file"; then
2073  # Some versions of bash will fail to source /dev/null (special files
2074  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2075  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2076    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2077$as_echo "$as_me: loading cache $cache_file" >&6;}
2078    case $cache_file in
2079      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2080      *)                      . "./$cache_file";;
2081    esac
2082  fi
2083else
2084  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2085$as_echo "$as_me: creating cache $cache_file" >&6;}
2086  >$cache_file
2087fi
2088
2089# Check that the precious variables saved in the cache have kept the same
2090# value.
2091ac_cache_corrupted=false
2092for ac_var in $ac_precious_vars; do
2093  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2094  eval ac_new_set=\$ac_env_${ac_var}_set
2095  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2096  eval ac_new_val=\$ac_env_${ac_var}_value
2097  case $ac_old_set,$ac_new_set in
2098    set,)
2099      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2100$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2101      ac_cache_corrupted=: ;;
2102    ,set)
2103      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2104$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2105      ac_cache_corrupted=: ;;
2106    ,);;
2107    *)
2108      if test "x$ac_old_val" != "x$ac_new_val"; then
2109	# differences in whitespace do not lead to failure.
2110	ac_old_val_w=`echo x $ac_old_val`
2111	ac_new_val_w=`echo x $ac_new_val`
2112	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2113	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2114$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2115	  ac_cache_corrupted=:
2116	else
2117	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2118$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2119	  eval $ac_var=\$ac_old_val
2120	fi
2121	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2122$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2123	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2124$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2125      fi;;
2126  esac
2127  # Pass precious variables to config.status.
2128  if test "$ac_new_set" = set; then
2129    case $ac_new_val in
2130    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2131    *) ac_arg=$ac_var=$ac_new_val ;;
2132    esac
2133    case " $ac_configure_args " in
2134      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2135      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2136    esac
2137  fi
2138done
2139if $ac_cache_corrupted; then
2140  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2141$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2142  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2143$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2144  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2145fi
2146## -------------------- ##
2147## Main body of script. ##
2148## -------------------- ##
2149
2150ac_ext=c
2151ac_cpp='$CPP $CPPFLAGS'
2152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2154ac_compiler_gnu=$ac_cv_c_compiler_gnu
2155
2156
2157
2158
2159ac_aux_dir=
2160for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2161  if test -f "$ac_dir/install-sh"; then
2162    ac_aux_dir=$ac_dir
2163    ac_install_sh="$ac_aux_dir/install-sh -c"
2164    break
2165  elif test -f "$ac_dir/install.sh"; then
2166    ac_aux_dir=$ac_dir
2167    ac_install_sh="$ac_aux_dir/install.sh -c"
2168    break
2169  elif test -f "$ac_dir/shtool"; then
2170    ac_aux_dir=$ac_dir
2171    ac_install_sh="$ac_aux_dir/shtool install -c"
2172    break
2173  fi
2174done
2175if test -z "$ac_aux_dir"; then
2176  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2177fi
2178
2179# These three variables are undocumented and unsupported,
2180# and are intended to be withdrawn in a future Autoconf release.
2181# They can cause serious problems if a builder's source tree is in a directory
2182# whose full name contains unusual characters.
2183ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2184ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2185ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2186
2187
2188# Make sure we can run config.sub.
2189$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2190  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2191
2192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2193$as_echo_n "checking build system type... " >&6; }
2194if ${ac_cv_build+:} false; then :
2195  $as_echo_n "(cached) " >&6
2196else
2197  ac_build_alias=$build_alias
2198test "x$ac_build_alias" = x &&
2199  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2200test "x$ac_build_alias" = x &&
2201  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2202ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2203  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2204
2205fi
2206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2207$as_echo "$ac_cv_build" >&6; }
2208case $ac_cv_build in
2209*-*-*) ;;
2210*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2211esac
2212build=$ac_cv_build
2213ac_save_IFS=$IFS; IFS='-'
2214set x $ac_cv_build
2215shift
2216build_cpu=$1
2217build_vendor=$2
2218shift; shift
2219# Remember, the first character of IFS is used to create $*,
2220# except with old shells:
2221build_os=$*
2222IFS=$ac_save_IFS
2223case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2224
2225
2226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2227$as_echo_n "checking host system type... " >&6; }
2228if ${ac_cv_host+:} false; then :
2229  $as_echo_n "(cached) " >&6
2230else
2231  if test "x$host_alias" = x; then
2232  ac_cv_host=$ac_cv_build
2233else
2234  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2235    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2236fi
2237
2238fi
2239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2240$as_echo "$ac_cv_host" >&6; }
2241case $ac_cv_host in
2242*-*-*) ;;
2243*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2244esac
2245host=$ac_cv_host
2246ac_save_IFS=$IFS; IFS='-'
2247set x $ac_cv_host
2248shift
2249host_cpu=$1
2250host_vendor=$2
2251shift; shift
2252# Remember, the first character of IFS is used to create $*,
2253# except with old shells:
2254host_os=$*
2255IFS=$ac_save_IFS
2256case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2257
2258
2259
2260am__api_version='1.16'
2261
2262# Find a good install program.  We prefer a C program (faster),
2263# so one script is as good as another.  But avoid the broken or
2264# incompatible versions:
2265# SysV /etc/install, /usr/sbin/install
2266# SunOS /usr/etc/install
2267# IRIX /sbin/install
2268# AIX /bin/install
2269# AmigaOS /C/install, which installs bootblocks on floppy discs
2270# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2271# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2272# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2273# OS/2's system install, which has a completely different semantic
2274# ./install, which can be erroneously created by make from ./install.sh.
2275# Reject install programs that cannot install multiple files.
2276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2277$as_echo_n "checking for a BSD-compatible install... " >&6; }
2278if test -z "$INSTALL"; then
2279if ${ac_cv_path_install+:} false; then :
2280  $as_echo_n "(cached) " >&6
2281else
2282  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283for as_dir in $PATH
2284do
2285  IFS=$as_save_IFS
2286  test -z "$as_dir" && as_dir=.
2287    # Account for people who put trailing slashes in PATH elements.
2288case $as_dir/ in #((
2289  ./ | .// | /[cC]/* | \
2290  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2291  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2292  /usr/ucb/* ) ;;
2293  *)
2294    # OSF1 and SCO ODT 3.0 have their own names for install.
2295    # Don't use installbsd from OSF since it installs stuff as root
2296    # by default.
2297    for ac_prog in ginstall scoinst install; do
2298      for ac_exec_ext in '' $ac_executable_extensions; do
2299	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2300	  if test $ac_prog = install &&
2301	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2302	    # AIX install.  It has an incompatible calling convention.
2303	    :
2304	  elif test $ac_prog = install &&
2305	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2306	    # program-specific install script used by HP pwplus--don't use.
2307	    :
2308	  else
2309	    rm -rf conftest.one conftest.two conftest.dir
2310	    echo one > conftest.one
2311	    echo two > conftest.two
2312	    mkdir conftest.dir
2313	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2314	      test -s conftest.one && test -s conftest.two &&
2315	      test -s conftest.dir/conftest.one &&
2316	      test -s conftest.dir/conftest.two
2317	    then
2318	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2319	      break 3
2320	    fi
2321	  fi
2322	fi
2323      done
2324    done
2325    ;;
2326esac
2327
2328  done
2329IFS=$as_save_IFS
2330
2331rm -rf conftest.one conftest.two conftest.dir
2332
2333fi
2334  if test "${ac_cv_path_install+set}" = set; then
2335    INSTALL=$ac_cv_path_install
2336  else
2337    # As a last resort, use the slow shell script.  Don't cache a
2338    # value for INSTALL within a source directory, because that will
2339    # break other packages using the cache if that directory is
2340    # removed, or if the value is a relative name.
2341    INSTALL=$ac_install_sh
2342  fi
2343fi
2344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2345$as_echo "$INSTALL" >&6; }
2346
2347# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2348# It thinks the first close brace ends the variable substitution.
2349test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2350
2351test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2352
2353test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2354
2355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2356$as_echo_n "checking whether build environment is sane... " >&6; }
2357# Reject unsafe characters in $srcdir or the absolute working directory
2358# name.  Accept space and tab only in the latter.
2359am_lf='
2360'
2361case `pwd` in
2362  *[\\\"\#\$\&\'\`$am_lf]*)
2363    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2364esac
2365case $srcdir in
2366  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2367    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2368esac
2369
2370# Do 'set' in a subshell so we don't clobber the current shell's
2371# arguments.  Must try -L first in case configure is actually a
2372# symlink; some systems play weird games with the mod time of symlinks
2373# (eg FreeBSD returns the mod time of the symlink's containing
2374# directory).
2375if (
2376   am_has_slept=no
2377   for am_try in 1 2; do
2378     echo "timestamp, slept: $am_has_slept" > conftest.file
2379     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2380     if test "$*" = "X"; then
2381	# -L didn't work.
2382	set X `ls -t "$srcdir/configure" conftest.file`
2383     fi
2384     if test "$*" != "X $srcdir/configure conftest.file" \
2385	&& test "$*" != "X conftest.file $srcdir/configure"; then
2386
2387	# If neither matched, then we have a broken ls.  This can happen
2388	# if, for instance, CONFIG_SHELL is bash and it inherits a
2389	# broken ls alias from the environment.  This has actually
2390	# happened.  Such a system could not be considered "sane".
2391	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2392  alias in your environment" "$LINENO" 5
2393     fi
2394     if test "$2" = conftest.file || test $am_try -eq 2; then
2395       break
2396     fi
2397     # Just in case.
2398     sleep 1
2399     am_has_slept=yes
2400   done
2401   test "$2" = conftest.file
2402   )
2403then
2404   # Ok.
2405   :
2406else
2407   as_fn_error $? "newly created file is older than distributed files!
2408Check your system clock" "$LINENO" 5
2409fi
2410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2411$as_echo "yes" >&6; }
2412# If we didn't sleep, we still need to ensure time stamps of config.status and
2413# generated files are strictly newer.
2414am_sleep_pid=
2415if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2416  ( sleep 1 ) &
2417  am_sleep_pid=$!
2418fi
2419
2420rm -f conftest.file
2421
2422test "$program_prefix" != NONE &&
2423  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2424# Use a double $ so make ignores it.
2425test "$program_suffix" != NONE &&
2426  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2427# Double any \ or $.
2428# By default was `s,x,x', remove it if useless.
2429ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2430program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2431
2432# Expand $ac_aux_dir to an absolute path.
2433am_aux_dir=`cd "$ac_aux_dir" && pwd`
2434
2435if test x"${MISSING+set}" != xset; then
2436  case $am_aux_dir in
2437  *\ * | *\	*)
2438    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2439  *)
2440    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2441  esac
2442fi
2443# Use eval to expand $SHELL
2444if eval "$MISSING --is-lightweight"; then
2445  am_missing_run="$MISSING "
2446else
2447  am_missing_run=
2448  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2449$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2450fi
2451
2452if test x"${install_sh+set}" != xset; then
2453  case $am_aux_dir in
2454  *\ * | *\	*)
2455    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2456  *)
2457    install_sh="\${SHELL} $am_aux_dir/install-sh"
2458  esac
2459fi
2460
2461# Installed binaries are usually stripped using 'strip' when the user
2462# run "make install-strip".  However 'strip' might not be the right
2463# tool to use in cross-compilation environments, therefore Automake
2464# will honor the 'STRIP' environment variable to overrule this program.
2465if test "$cross_compiling" != no; then
2466  if test -n "$ac_tool_prefix"; then
2467  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2468set dummy ${ac_tool_prefix}strip; ac_word=$2
2469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2470$as_echo_n "checking for $ac_word... " >&6; }
2471if ${ac_cv_prog_STRIP+:} false; then :
2472  $as_echo_n "(cached) " >&6
2473else
2474  if test -n "$STRIP"; then
2475  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2476else
2477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478for as_dir in $PATH
2479do
2480  IFS=$as_save_IFS
2481  test -z "$as_dir" && as_dir=.
2482    for ac_exec_ext in '' $ac_executable_extensions; do
2483  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2484    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2485    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2486    break 2
2487  fi
2488done
2489  done
2490IFS=$as_save_IFS
2491
2492fi
2493fi
2494STRIP=$ac_cv_prog_STRIP
2495if test -n "$STRIP"; then
2496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2497$as_echo "$STRIP" >&6; }
2498else
2499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2500$as_echo "no" >&6; }
2501fi
2502
2503
2504fi
2505if test -z "$ac_cv_prog_STRIP"; then
2506  ac_ct_STRIP=$STRIP
2507  # Extract the first word of "strip", so it can be a program name with args.
2508set dummy strip; ac_word=$2
2509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2510$as_echo_n "checking for $ac_word... " >&6; }
2511if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2512  $as_echo_n "(cached) " >&6
2513else
2514  if test -n "$ac_ct_STRIP"; then
2515  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2516else
2517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518for as_dir in $PATH
2519do
2520  IFS=$as_save_IFS
2521  test -z "$as_dir" && as_dir=.
2522    for ac_exec_ext in '' $ac_executable_extensions; do
2523  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2524    ac_cv_prog_ac_ct_STRIP="strip"
2525    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526    break 2
2527  fi
2528done
2529  done
2530IFS=$as_save_IFS
2531
2532fi
2533fi
2534ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2535if test -n "$ac_ct_STRIP"; then
2536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2537$as_echo "$ac_ct_STRIP" >&6; }
2538else
2539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2540$as_echo "no" >&6; }
2541fi
2542
2543  if test "x$ac_ct_STRIP" = x; then
2544    STRIP=":"
2545  else
2546    case $cross_compiling:$ac_tool_warned in
2547yes:)
2548{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2549$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2550ac_tool_warned=yes ;;
2551esac
2552    STRIP=$ac_ct_STRIP
2553  fi
2554else
2555  STRIP="$ac_cv_prog_STRIP"
2556fi
2557
2558fi
2559INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2560
2561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2562$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2563if test -z "$MKDIR_P"; then
2564  if ${ac_cv_path_mkdir+:} false; then :
2565  $as_echo_n "(cached) " >&6
2566else
2567  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2569do
2570  IFS=$as_save_IFS
2571  test -z "$as_dir" && as_dir=.
2572    for ac_prog in mkdir gmkdir; do
2573	 for ac_exec_ext in '' $ac_executable_extensions; do
2574	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2575	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2576	     'mkdir (GNU coreutils) '* | \
2577	     'mkdir (coreutils) '* | \
2578	     'mkdir (fileutils) '4.1*)
2579	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2580	       break 3;;
2581	   esac
2582	 done
2583       done
2584  done
2585IFS=$as_save_IFS
2586
2587fi
2588
2589  test -d ./--version && rmdir ./--version
2590  if test "${ac_cv_path_mkdir+set}" = set; then
2591    MKDIR_P="$ac_cv_path_mkdir -p"
2592  else
2593    # As a last resort, use the slow shell script.  Don't cache a
2594    # value for MKDIR_P within a source directory, because that will
2595    # break other packages using the cache if that directory is
2596    # removed, or if the value is a relative name.
2597    MKDIR_P="$ac_install_sh -d"
2598  fi
2599fi
2600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2601$as_echo "$MKDIR_P" >&6; }
2602
2603for ac_prog in gawk mawk nawk awk
2604do
2605  # Extract the first word of "$ac_prog", so it can be a program name with args.
2606set dummy $ac_prog; ac_word=$2
2607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2608$as_echo_n "checking for $ac_word... " >&6; }
2609if ${ac_cv_prog_AWK+:} false; then :
2610  $as_echo_n "(cached) " >&6
2611else
2612  if test -n "$AWK"; then
2613  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2614else
2615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616for as_dir in $PATH
2617do
2618  IFS=$as_save_IFS
2619  test -z "$as_dir" && as_dir=.
2620    for ac_exec_ext in '' $ac_executable_extensions; do
2621  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2622    ac_cv_prog_AWK="$ac_prog"
2623    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2624    break 2
2625  fi
2626done
2627  done
2628IFS=$as_save_IFS
2629
2630fi
2631fi
2632AWK=$ac_cv_prog_AWK
2633if test -n "$AWK"; then
2634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2635$as_echo "$AWK" >&6; }
2636else
2637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2638$as_echo "no" >&6; }
2639fi
2640
2641
2642  test -n "$AWK" && break
2643done
2644
2645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2646$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2647set x ${MAKE-make}
2648ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2649if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2650  $as_echo_n "(cached) " >&6
2651else
2652  cat >conftest.make <<\_ACEOF
2653SHELL = /bin/sh
2654all:
2655	@echo '@@@%%%=$(MAKE)=@@@%%%'
2656_ACEOF
2657# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2658case `${MAKE-make} -f conftest.make 2>/dev/null` in
2659  *@@@%%%=?*=@@@%%%*)
2660    eval ac_cv_prog_make_${ac_make}_set=yes;;
2661  *)
2662    eval ac_cv_prog_make_${ac_make}_set=no;;
2663esac
2664rm -f conftest.make
2665fi
2666if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2668$as_echo "yes" >&6; }
2669  SET_MAKE=
2670else
2671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2672$as_echo "no" >&6; }
2673  SET_MAKE="MAKE=${MAKE-make}"
2674fi
2675
2676rm -rf .tst 2>/dev/null
2677mkdir .tst 2>/dev/null
2678if test -d .tst; then
2679  am__leading_dot=.
2680else
2681  am__leading_dot=_
2682fi
2683rmdir .tst 2>/dev/null
2684
2685# Check whether --enable-silent-rules was given.
2686if test "${enable_silent_rules+set}" = set; then :
2687  enableval=$enable_silent_rules;
2688fi
2689
2690case $enable_silent_rules in # (((
2691  yes) AM_DEFAULT_VERBOSITY=0;;
2692   no) AM_DEFAULT_VERBOSITY=1;;
2693    *) AM_DEFAULT_VERBOSITY=1;;
2694esac
2695am_make=${MAKE-make}
2696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2697$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2698if ${am_cv_make_support_nested_variables+:} false; then :
2699  $as_echo_n "(cached) " >&6
2700else
2701  if $as_echo 'TRUE=$(BAR$(V))
2702BAR0=false
2703BAR1=true
2704V=1
2705am__doit:
2706	@$(TRUE)
2707.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2708  am_cv_make_support_nested_variables=yes
2709else
2710  am_cv_make_support_nested_variables=no
2711fi
2712fi
2713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2714$as_echo "$am_cv_make_support_nested_variables" >&6; }
2715if test $am_cv_make_support_nested_variables = yes; then
2716    AM_V='$(V)'
2717  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2718else
2719  AM_V=$AM_DEFAULT_VERBOSITY
2720  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2721fi
2722AM_BACKSLASH='\'
2723
2724if test "`cd $srcdir && pwd`" != "`pwd`"; then
2725  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2726  # is not polluted with repeated "-I."
2727  am__isrc=' -I$(srcdir)'
2728  # test to see if srcdir already configured
2729  if test -f $srcdir/config.status; then
2730    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2731  fi
2732fi
2733
2734# test whether we have cygpath
2735if test -z "$CYGPATH_W"; then
2736  if (cygpath --version) >/dev/null 2>/dev/null; then
2737    CYGPATH_W='cygpath -w'
2738  else
2739    CYGPATH_W=echo
2740  fi
2741fi
2742
2743
2744# Define the identity of the package.
2745 PACKAGE='imlib2_loaders'
2746 VERSION='1.7.0'
2747
2748
2749cat >>confdefs.h <<_ACEOF
2750#define PACKAGE "$PACKAGE"
2751_ACEOF
2752
2753
2754cat >>confdefs.h <<_ACEOF
2755#define VERSION "$VERSION"
2756_ACEOF
2757
2758# Some tools Automake needs.
2759
2760ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2761
2762
2763AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2764
2765
2766AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2767
2768
2769AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2770
2771
2772MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2773
2774# For better backward compatibility.  To be removed once Automake 1.9.x
2775# dies out for good.  For more background, see:
2776# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2777# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2778mkdir_p='$(MKDIR_P)'
2779
2780# We need awk for the "check" target (and possibly the TAP driver).  The
2781# system "awk" is bad on some platforms.
2782# Always define AMTAR for backward compatibility.  Yes, it's still used
2783# in the wild :-(  We should find a proper way to deprecate it ...
2784AMTAR='$${TAR-tar}'
2785
2786
2787# We'll loop over all known methods to create a tar archive until one works.
2788_am_tools='gnutar  pax cpio none'
2789
2790am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2791
2792
2793
2794
2795
2796
2797# POSIX will say in a future version that running "rm -f" with no argument
2798# is OK; and we want to be able to make that assumption in our Makefile
2799# recipes.  So use an aggressive probe to check that the usage we want is
2800# actually supported "in the wild" to an acceptable degree.
2801# See automake bug#10828.
2802# To make any issue more visible, cause the running configure to be aborted
2803# by default if the 'rm' program in use doesn't match our expectations; the
2804# user can still override this though.
2805if rm -f && rm -fr && rm -rf; then : OK; else
2806  cat >&2 <<'END'
2807Oops!
2808
2809Your 'rm' program seems unable to run without file operands specified
2810on the command line, even when the '-f' option is present.  This is contrary
2811to the behaviour of most rm programs out there, and not conforming with
2812the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2813
2814Please tell bug-automake@gnu.org about your system, including the value
2815of your $PATH and any error possibly output before this message.  This
2816can help us improve future automake versions.
2817
2818END
2819  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2820    echo 'Configuration will proceed anyway, since you have set the' >&2
2821    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2822    echo >&2
2823  else
2824    cat >&2 <<'END'
2825Aborting the configuration process, to ensure you take notice of the issue.
2826
2827You can download and install GNU coreutils to get an 'rm' implementation
2828that behaves properly: <https://www.gnu.org/software/coreutils/>.
2829
2830If you want to complete the configuration process using your problematic
2831'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2832to "yes", and re-run configure.
2833
2834END
2835    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2836  fi
2837fi
2838
2839# Check whether --enable-silent-rules was given.
2840if test "${enable_silent_rules+set}" = set; then :
2841  enableval=$enable_silent_rules;
2842fi
2843
2844case $enable_silent_rules in # (((
2845  yes) AM_DEFAULT_VERBOSITY=0;;
2846   no) AM_DEFAULT_VERBOSITY=1;;
2847    *) AM_DEFAULT_VERBOSITY=0;;
2848esac
2849am_make=${MAKE-make}
2850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2851$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2852if ${am_cv_make_support_nested_variables+:} false; then :
2853  $as_echo_n "(cached) " >&6
2854else
2855  if $as_echo 'TRUE=$(BAR$(V))
2856BAR0=false
2857BAR1=true
2858V=1
2859am__doit:
2860	@$(TRUE)
2861.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2862  am_cv_make_support_nested_variables=yes
2863else
2864  am_cv_make_support_nested_variables=no
2865fi
2866fi
2867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2868$as_echo "$am_cv_make_support_nested_variables" >&6; }
2869if test $am_cv_make_support_nested_variables = yes; then
2870    AM_V='$(V)'
2871  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2872else
2873  AM_V=$AM_DEFAULT_VERBOSITY
2874  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2875fi
2876AM_BACKSLASH='\'
2877
2878
2879DEPDIR="${am__leading_dot}deps"
2880
2881ac_config_commands="$ac_config_commands depfiles"
2882
2883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
2884$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
2885cat > confinc.mk << 'END'
2886am__doit:
2887	@echo this is the am__doit target >confinc.out
2888.PHONY: am__doit
2889END
2890am__include="#"
2891am__quote=
2892# BSD make does it like this.
2893echo '.include "confinc.mk" # ignored' > confmf.BSD
2894# Other make implementations (GNU, Solaris 10, AIX) do it like this.
2895echo 'include confinc.mk # ignored' > confmf.GNU
2896_am_result=no
2897for s in GNU BSD; do
2898  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
2899   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
2900   ac_status=$?
2901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902   (exit $ac_status); }
2903  case $?:`cat confinc.out 2>/dev/null` in #(
2904  '0:this is the am__doit target') :
2905    case $s in #(
2906  BSD) :
2907    am__include='.include' am__quote='"' ;; #(
2908  *) :
2909    am__include='include' am__quote='' ;;
2910esac ;; #(
2911  *) :
2912     ;;
2913esac
2914  if test "$am__include" != "#"; then
2915    _am_result="yes ($s style)"
2916    break
2917  fi
2918done
2919rm -f confinc.* confmf.*
2920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
2921$as_echo "${_am_result}" >&6; }
2922
2923# Check whether --enable-dependency-tracking was given.
2924if test "${enable_dependency_tracking+set}" = set; then :
2925  enableval=$enable_dependency_tracking;
2926fi
2927
2928if test "x$enable_dependency_tracking" != xno; then
2929  am_depcomp="$ac_aux_dir/depcomp"
2930  AMDEPBACKSLASH='\'
2931  am__nodep='_no'
2932fi
2933 if test "x$enable_dependency_tracking" != xno; then
2934  AMDEP_TRUE=
2935  AMDEP_FALSE='#'
2936else
2937  AMDEP_TRUE='#'
2938  AMDEP_FALSE=
2939fi
2940
2941
2942ac_ext=c
2943ac_cpp='$CPP $CPPFLAGS'
2944ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2945ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2946ac_compiler_gnu=$ac_cv_c_compiler_gnu
2947if test -n "$ac_tool_prefix"; then
2948  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2949set dummy ${ac_tool_prefix}gcc; ac_word=$2
2950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2951$as_echo_n "checking for $ac_word... " >&6; }
2952if ${ac_cv_prog_CC+:} false; then :
2953  $as_echo_n "(cached) " >&6
2954else
2955  if test -n "$CC"; then
2956  ac_cv_prog_CC="$CC" # Let the user override the test.
2957else
2958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2959for as_dir in $PATH
2960do
2961  IFS=$as_save_IFS
2962  test -z "$as_dir" && as_dir=.
2963    for ac_exec_ext in '' $ac_executable_extensions; do
2964  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2965    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2966    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2967    break 2
2968  fi
2969done
2970  done
2971IFS=$as_save_IFS
2972
2973fi
2974fi
2975CC=$ac_cv_prog_CC
2976if test -n "$CC"; then
2977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2978$as_echo "$CC" >&6; }
2979else
2980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2981$as_echo "no" >&6; }
2982fi
2983
2984
2985fi
2986if test -z "$ac_cv_prog_CC"; then
2987  ac_ct_CC=$CC
2988  # Extract the first word of "gcc", so it can be a program name with args.
2989set dummy gcc; ac_word=$2
2990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991$as_echo_n "checking for $ac_word... " >&6; }
2992if ${ac_cv_prog_ac_ct_CC+:} false; then :
2993  $as_echo_n "(cached) " >&6
2994else
2995  if test -n "$ac_ct_CC"; then
2996  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2997else
2998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999for as_dir in $PATH
3000do
3001  IFS=$as_save_IFS
3002  test -z "$as_dir" && as_dir=.
3003    for ac_exec_ext in '' $ac_executable_extensions; do
3004  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3005    ac_cv_prog_ac_ct_CC="gcc"
3006    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3007    break 2
3008  fi
3009done
3010  done
3011IFS=$as_save_IFS
3012
3013fi
3014fi
3015ac_ct_CC=$ac_cv_prog_ac_ct_CC
3016if test -n "$ac_ct_CC"; then
3017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3018$as_echo "$ac_ct_CC" >&6; }
3019else
3020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021$as_echo "no" >&6; }
3022fi
3023
3024  if test "x$ac_ct_CC" = x; then
3025    CC=""
3026  else
3027    case $cross_compiling:$ac_tool_warned in
3028yes:)
3029{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3030$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3031ac_tool_warned=yes ;;
3032esac
3033    CC=$ac_ct_CC
3034  fi
3035else
3036  CC="$ac_cv_prog_CC"
3037fi
3038
3039if test -z "$CC"; then
3040          if test -n "$ac_tool_prefix"; then
3041    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3042set dummy ${ac_tool_prefix}cc; ac_word=$2
3043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3044$as_echo_n "checking for $ac_word... " >&6; }
3045if ${ac_cv_prog_CC+:} false; then :
3046  $as_echo_n "(cached) " >&6
3047else
3048  if test -n "$CC"; then
3049  ac_cv_prog_CC="$CC" # Let the user override the test.
3050else
3051as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052for as_dir in $PATH
3053do
3054  IFS=$as_save_IFS
3055  test -z "$as_dir" && as_dir=.
3056    for ac_exec_ext in '' $ac_executable_extensions; do
3057  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3058    ac_cv_prog_CC="${ac_tool_prefix}cc"
3059    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3060    break 2
3061  fi
3062done
3063  done
3064IFS=$as_save_IFS
3065
3066fi
3067fi
3068CC=$ac_cv_prog_CC
3069if test -n "$CC"; then
3070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3071$as_echo "$CC" >&6; }
3072else
3073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3074$as_echo "no" >&6; }
3075fi
3076
3077
3078  fi
3079fi
3080if test -z "$CC"; then
3081  # Extract the first word of "cc", so it can be a program name with args.
3082set dummy cc; ac_word=$2
3083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084$as_echo_n "checking for $ac_word... " >&6; }
3085if ${ac_cv_prog_CC+:} false; then :
3086  $as_echo_n "(cached) " >&6
3087else
3088  if test -n "$CC"; then
3089  ac_cv_prog_CC="$CC" # Let the user override the test.
3090else
3091  ac_prog_rejected=no
3092as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093for as_dir in $PATH
3094do
3095  IFS=$as_save_IFS
3096  test -z "$as_dir" && as_dir=.
3097    for ac_exec_ext in '' $ac_executable_extensions; do
3098  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3099    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3100       ac_prog_rejected=yes
3101       continue
3102     fi
3103    ac_cv_prog_CC="cc"
3104    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3105    break 2
3106  fi
3107done
3108  done
3109IFS=$as_save_IFS
3110
3111if test $ac_prog_rejected = yes; then
3112  # We found a bogon in the path, so make sure we never use it.
3113  set dummy $ac_cv_prog_CC
3114  shift
3115  if test $# != 0; then
3116    # We chose a different compiler from the bogus one.
3117    # However, it has the same basename, so the bogon will be chosen
3118    # first if we set CC to just the basename; use the full file name.
3119    shift
3120    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3121  fi
3122fi
3123fi
3124fi
3125CC=$ac_cv_prog_CC
3126if test -n "$CC"; then
3127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3128$as_echo "$CC" >&6; }
3129else
3130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3131$as_echo "no" >&6; }
3132fi
3133
3134
3135fi
3136if test -z "$CC"; then
3137  if test -n "$ac_tool_prefix"; then
3138  for ac_prog in cl.exe
3139  do
3140    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3141set dummy $ac_tool_prefix$ac_prog; 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_CC+:} false; then :
3145  $as_echo_n "(cached) " >&6
3146else
3147  if test -n "$CC"; then
3148  ac_cv_prog_CC="$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_CC="$ac_tool_prefix$ac_prog"
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
3167CC=$ac_cv_prog_CC
3168if test -n "$CC"; then
3169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3170$as_echo "$CC" >&6; }
3171else
3172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3173$as_echo "no" >&6; }
3174fi
3175
3176
3177    test -n "$CC" && break
3178  done
3179fi
3180if test -z "$CC"; then
3181  ac_ct_CC=$CC
3182  for ac_prog in cl.exe
3183do
3184  # Extract the first word of "$ac_prog", so it can be a program name with args.
3185set dummy $ac_prog; ac_word=$2
3186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187$as_echo_n "checking for $ac_word... " >&6; }
3188if ${ac_cv_prog_ac_ct_CC+:} false; then :
3189  $as_echo_n "(cached) " >&6
3190else
3191  if test -n "$ac_ct_CC"; then
3192  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3193else
3194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195for as_dir in $PATH
3196do
3197  IFS=$as_save_IFS
3198  test -z "$as_dir" && as_dir=.
3199    for ac_exec_ext in '' $ac_executable_extensions; do
3200  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3201    ac_cv_prog_ac_ct_CC="$ac_prog"
3202    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203    break 2
3204  fi
3205done
3206  done
3207IFS=$as_save_IFS
3208
3209fi
3210fi
3211ac_ct_CC=$ac_cv_prog_ac_ct_CC
3212if test -n "$ac_ct_CC"; then
3213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3214$as_echo "$ac_ct_CC" >&6; }
3215else
3216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217$as_echo "no" >&6; }
3218fi
3219
3220
3221  test -n "$ac_ct_CC" && break
3222done
3223
3224  if test "x$ac_ct_CC" = x; then
3225    CC=""
3226  else
3227    case $cross_compiling:$ac_tool_warned in
3228yes:)
3229{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3230$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3231ac_tool_warned=yes ;;
3232esac
3233    CC=$ac_ct_CC
3234  fi
3235fi
3236
3237fi
3238
3239
3240test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3241$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3242as_fn_error $? "no acceptable C compiler found in \$PATH
3243See \`config.log' for more details" "$LINENO" 5; }
3244
3245# Provide some information about the compiler.
3246$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3247set X $ac_compile
3248ac_compiler=$2
3249for ac_option in --version -v -V -qversion; do
3250  { { ac_try="$ac_compiler $ac_option >&5"
3251case "(($ac_try" in
3252  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3253  *) ac_try_echo=$ac_try;;
3254esac
3255eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3256$as_echo "$ac_try_echo"; } >&5
3257  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3258  ac_status=$?
3259  if test -s conftest.err; then
3260    sed '10a\
3261... rest of stderr output deleted ...
3262         10q' conftest.err >conftest.er1
3263    cat conftest.er1 >&5
3264  fi
3265  rm -f conftest.er1 conftest.err
3266  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267  test $ac_status = 0; }
3268done
3269
3270cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3271/* end confdefs.h.  */
3272
3273int
3274main ()
3275{
3276
3277  ;
3278  return 0;
3279}
3280_ACEOF
3281ac_clean_files_save=$ac_clean_files
3282ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3283# Try to create an executable without -o first, disregard a.out.
3284# It will help us diagnose broken compilers, and finding out an intuition
3285# of exeext.
3286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3287$as_echo_n "checking whether the C compiler works... " >&6; }
3288ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3289
3290# The possible output files:
3291ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3292
3293ac_rmfiles=
3294for ac_file in $ac_files
3295do
3296  case $ac_file in
3297    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3298    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3299  esac
3300done
3301rm -f $ac_rmfiles
3302
3303if { { ac_try="$ac_link_default"
3304case "(($ac_try" in
3305  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3306  *) ac_try_echo=$ac_try;;
3307esac
3308eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3309$as_echo "$ac_try_echo"; } >&5
3310  (eval "$ac_link_default") 2>&5
3311  ac_status=$?
3312  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3313  test $ac_status = 0; }; then :
3314  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3315# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3316# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3317# so that the user can short-circuit this test for compilers unknown to
3318# Autoconf.
3319for ac_file in $ac_files ''
3320do
3321  test -f "$ac_file" || continue
3322  case $ac_file in
3323    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3324	;;
3325    [ab].out )
3326	# We found the default executable, but exeext='' is most
3327	# certainly right.
3328	break;;
3329    *.* )
3330	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3331	then :; else
3332	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3333	fi
3334	# We set ac_cv_exeext here because the later test for it is not
3335	# safe: cross compilers may not add the suffix if given an `-o'
3336	# argument, so we may need to know it at that point already.
3337	# Even if this section looks crufty: it has the advantage of
3338	# actually working.
3339	break;;
3340    * )
3341	break;;
3342  esac
3343done
3344test "$ac_cv_exeext" = no && ac_cv_exeext=
3345
3346else
3347  ac_file=''
3348fi
3349if test -z "$ac_file"; then :
3350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351$as_echo "no" >&6; }
3352$as_echo "$as_me: failed program was:" >&5
3353sed 's/^/| /' conftest.$ac_ext >&5
3354
3355{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357as_fn_error 77 "C compiler cannot create executables
3358See \`config.log' for more details" "$LINENO" 5; }
3359else
3360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3361$as_echo "yes" >&6; }
3362fi
3363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3364$as_echo_n "checking for C compiler default output file name... " >&6; }
3365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3366$as_echo "$ac_file" >&6; }
3367ac_exeext=$ac_cv_exeext
3368
3369rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3370ac_clean_files=$ac_clean_files_save
3371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3372$as_echo_n "checking for suffix of executables... " >&6; }
3373if { { ac_try="$ac_link"
3374case "(($ac_try" in
3375  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3376  *) ac_try_echo=$ac_try;;
3377esac
3378eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3379$as_echo "$ac_try_echo"; } >&5
3380  (eval "$ac_link") 2>&5
3381  ac_status=$?
3382  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3383  test $ac_status = 0; }; then :
3384  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3385# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3386# work properly (i.e., refer to `conftest.exe'), while it won't with
3387# `rm'.
3388for ac_file in conftest.exe conftest conftest.*; do
3389  test -f "$ac_file" || continue
3390  case $ac_file in
3391    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3392    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3393	  break;;
3394    * ) break;;
3395  esac
3396done
3397else
3398  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3399$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3400as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3401See \`config.log' for more details" "$LINENO" 5; }
3402fi
3403rm -f conftest conftest$ac_cv_exeext
3404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3405$as_echo "$ac_cv_exeext" >&6; }
3406
3407rm -f conftest.$ac_ext
3408EXEEXT=$ac_cv_exeext
3409ac_exeext=$EXEEXT
3410cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411/* end confdefs.h.  */
3412#include <stdio.h>
3413int
3414main ()
3415{
3416FILE *f = fopen ("conftest.out", "w");
3417 return ferror (f) || fclose (f) != 0;
3418
3419  ;
3420  return 0;
3421}
3422_ACEOF
3423ac_clean_files="$ac_clean_files conftest.out"
3424# Check that the compiler produces executables we can run.  If not, either
3425# the compiler is broken, or we cross compile.
3426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3427$as_echo_n "checking whether we are cross compiling... " >&6; }
3428if test "$cross_compiling" != yes; then
3429  { { ac_try="$ac_link"
3430case "(($ac_try" in
3431  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432  *) ac_try_echo=$ac_try;;
3433esac
3434eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3435$as_echo "$ac_try_echo"; } >&5
3436  (eval "$ac_link") 2>&5
3437  ac_status=$?
3438  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3439  test $ac_status = 0; }
3440  if { ac_try='./conftest$ac_cv_exeext'
3441  { { case "(($ac_try" in
3442  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3443  *) ac_try_echo=$ac_try;;
3444esac
3445eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3446$as_echo "$ac_try_echo"; } >&5
3447  (eval "$ac_try") 2>&5
3448  ac_status=$?
3449  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3450  test $ac_status = 0; }; }; then
3451    cross_compiling=no
3452  else
3453    if test "$cross_compiling" = maybe; then
3454	cross_compiling=yes
3455    else
3456	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3457$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3458as_fn_error $? "cannot run C compiled programs.
3459If you meant to cross compile, use \`--host'.
3460See \`config.log' for more details" "$LINENO" 5; }
3461    fi
3462  fi
3463fi
3464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3465$as_echo "$cross_compiling" >&6; }
3466
3467rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3468ac_clean_files=$ac_clean_files_save
3469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3470$as_echo_n "checking for suffix of object files... " >&6; }
3471if ${ac_cv_objext+:} false; then :
3472  $as_echo_n "(cached) " >&6
3473else
3474  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3475/* end confdefs.h.  */
3476
3477int
3478main ()
3479{
3480
3481  ;
3482  return 0;
3483}
3484_ACEOF
3485rm -f conftest.o conftest.obj
3486if { { ac_try="$ac_compile"
3487case "(($ac_try" in
3488  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3489  *) ac_try_echo=$ac_try;;
3490esac
3491eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3492$as_echo "$ac_try_echo"; } >&5
3493  (eval "$ac_compile") 2>&5
3494  ac_status=$?
3495  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3496  test $ac_status = 0; }; then :
3497  for ac_file in conftest.o conftest.obj conftest.*; do
3498  test -f "$ac_file" || continue;
3499  case $ac_file in
3500    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3501    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3502       break;;
3503  esac
3504done
3505else
3506  $as_echo "$as_me: failed program was:" >&5
3507sed 's/^/| /' conftest.$ac_ext >&5
3508
3509{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3510$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3511as_fn_error $? "cannot compute suffix of object files: cannot compile
3512See \`config.log' for more details" "$LINENO" 5; }
3513fi
3514rm -f conftest.$ac_cv_objext conftest.$ac_ext
3515fi
3516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3517$as_echo "$ac_cv_objext" >&6; }
3518OBJEXT=$ac_cv_objext
3519ac_objext=$OBJEXT
3520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3521$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3522if ${ac_cv_c_compiler_gnu+:} false; then :
3523  $as_echo_n "(cached) " >&6
3524else
3525  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526/* end confdefs.h.  */
3527
3528int
3529main ()
3530{
3531#ifndef __GNUC__
3532       choke me
3533#endif
3534
3535  ;
3536  return 0;
3537}
3538_ACEOF
3539if ac_fn_c_try_compile "$LINENO"; then :
3540  ac_compiler_gnu=yes
3541else
3542  ac_compiler_gnu=no
3543fi
3544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3545ac_cv_c_compiler_gnu=$ac_compiler_gnu
3546
3547fi
3548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3549$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3550if test $ac_compiler_gnu = yes; then
3551  GCC=yes
3552else
3553  GCC=
3554fi
3555ac_test_CFLAGS=${CFLAGS+set}
3556ac_save_CFLAGS=$CFLAGS
3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3558$as_echo_n "checking whether $CC accepts -g... " >&6; }
3559if ${ac_cv_prog_cc_g+:} false; then :
3560  $as_echo_n "(cached) " >&6
3561else
3562  ac_save_c_werror_flag=$ac_c_werror_flag
3563   ac_c_werror_flag=yes
3564   ac_cv_prog_cc_g=no
3565   CFLAGS="-g"
3566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567/* end confdefs.h.  */
3568
3569int
3570main ()
3571{
3572
3573  ;
3574  return 0;
3575}
3576_ACEOF
3577if ac_fn_c_try_compile "$LINENO"; then :
3578  ac_cv_prog_cc_g=yes
3579else
3580  CFLAGS=""
3581      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582/* end confdefs.h.  */
3583
3584int
3585main ()
3586{
3587
3588  ;
3589  return 0;
3590}
3591_ACEOF
3592if ac_fn_c_try_compile "$LINENO"; then :
3593
3594else
3595  ac_c_werror_flag=$ac_save_c_werror_flag
3596	 CFLAGS="-g"
3597	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598/* end confdefs.h.  */
3599
3600int
3601main ()
3602{
3603
3604  ;
3605  return 0;
3606}
3607_ACEOF
3608if ac_fn_c_try_compile "$LINENO"; then :
3609  ac_cv_prog_cc_g=yes
3610fi
3611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3612fi
3613rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3614fi
3615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3616   ac_c_werror_flag=$ac_save_c_werror_flag
3617fi
3618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3619$as_echo "$ac_cv_prog_cc_g" >&6; }
3620if test "$ac_test_CFLAGS" = set; then
3621  CFLAGS=$ac_save_CFLAGS
3622elif test $ac_cv_prog_cc_g = yes; then
3623  if test "$GCC" = yes; then
3624    CFLAGS="-g -O2"
3625  else
3626    CFLAGS="-g"
3627  fi
3628else
3629  if test "$GCC" = yes; then
3630    CFLAGS="-O2"
3631  else
3632    CFLAGS=
3633  fi
3634fi
3635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3636$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3637if ${ac_cv_prog_cc_c89+:} false; then :
3638  $as_echo_n "(cached) " >&6
3639else
3640  ac_cv_prog_cc_c89=no
3641ac_save_CC=$CC
3642cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643/* end confdefs.h.  */
3644#include <stdarg.h>
3645#include <stdio.h>
3646struct stat;
3647/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3648struct buf { int x; };
3649FILE * (*rcsopen) (struct buf *, struct stat *, int);
3650static char *e (p, i)
3651     char **p;
3652     int i;
3653{
3654  return p[i];
3655}
3656static char *f (char * (*g) (char **, int), char **p, ...)
3657{
3658  char *s;
3659  va_list v;
3660  va_start (v,p);
3661  s = g (p, va_arg (v,int));
3662  va_end (v);
3663  return s;
3664}
3665
3666/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3667   function prototypes and stuff, but not '\xHH' hex character constants.
3668   These don't provoke an error unfortunately, instead are silently treated
3669   as 'x'.  The following induces an error, until -std is added to get
3670   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3671   array size at least.  It's necessary to write '\x00'==0 to get something
3672   that's true only with -std.  */
3673int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3674
3675/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3676   inside strings and character constants.  */
3677#define FOO(x) 'x'
3678int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3679
3680int test (int i, double x);
3681struct s1 {int (*f) (int a);};
3682struct s2 {int (*f) (double a);};
3683int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3684int argc;
3685char **argv;
3686int
3687main ()
3688{
3689return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3690  ;
3691  return 0;
3692}
3693_ACEOF
3694for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3695	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3696do
3697  CC="$ac_save_CC $ac_arg"
3698  if ac_fn_c_try_compile "$LINENO"; then :
3699  ac_cv_prog_cc_c89=$ac_arg
3700fi
3701rm -f core conftest.err conftest.$ac_objext
3702  test "x$ac_cv_prog_cc_c89" != "xno" && break
3703done
3704rm -f conftest.$ac_ext
3705CC=$ac_save_CC
3706
3707fi
3708# AC_CACHE_VAL
3709case "x$ac_cv_prog_cc_c89" in
3710  x)
3711    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3712$as_echo "none needed" >&6; } ;;
3713  xno)
3714    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3715$as_echo "unsupported" >&6; } ;;
3716  *)
3717    CC="$CC $ac_cv_prog_cc_c89"
3718    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3719$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3720esac
3721if test "x$ac_cv_prog_cc_c89" != xno; then :
3722
3723fi
3724
3725ac_ext=c
3726ac_cpp='$CPP $CPPFLAGS'
3727ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3729ac_compiler_gnu=$ac_cv_c_compiler_gnu
3730
3731ac_ext=c
3732ac_cpp='$CPP $CPPFLAGS'
3733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735ac_compiler_gnu=$ac_cv_c_compiler_gnu
3736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3737$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3738if ${am_cv_prog_cc_c_o+:} false; then :
3739  $as_echo_n "(cached) " >&6
3740else
3741  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3742/* end confdefs.h.  */
3743
3744int
3745main ()
3746{
3747
3748  ;
3749  return 0;
3750}
3751_ACEOF
3752  # Make sure it works both with $CC and with simple cc.
3753  # Following AC_PROG_CC_C_O, we do the test twice because some
3754  # compilers refuse to overwrite an existing .o file with -o,
3755  # though they will create one.
3756  am_cv_prog_cc_c_o=yes
3757  for am_i in 1 2; do
3758    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3759   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3760   ac_status=$?
3761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762   (exit $ac_status); } \
3763         && test -f conftest2.$ac_objext; then
3764      : OK
3765    else
3766      am_cv_prog_cc_c_o=no
3767      break
3768    fi
3769  done
3770  rm -f core conftest*
3771  unset am_i
3772fi
3773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3774$as_echo "$am_cv_prog_cc_c_o" >&6; }
3775if test "$am_cv_prog_cc_c_o" != yes; then
3776   # Losing compiler, so override with the script.
3777   # FIXME: It is wrong to rewrite CC.
3778   # But if we don't then we get into trouble of one sort or another.
3779   # A longer-term fix would be to have automake use am__CC in this case,
3780   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3781   CC="$am_aux_dir/compile $CC"
3782fi
3783ac_ext=c
3784ac_cpp='$CPP $CPPFLAGS'
3785ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3786ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3787ac_compiler_gnu=$ac_cv_c_compiler_gnu
3788
3789
3790depcc="$CC"   am_compiler_list=
3791
3792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3793$as_echo_n "checking dependency style of $depcc... " >&6; }
3794if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3795  $as_echo_n "(cached) " >&6
3796else
3797  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3798  # We make a subdir and do the tests there.  Otherwise we can end up
3799  # making bogus files that we don't know about and never remove.  For
3800  # instance it was reported that on HP-UX the gcc test will end up
3801  # making a dummy file named 'D' -- because '-MD' means "put the output
3802  # in D".
3803  rm -rf conftest.dir
3804  mkdir conftest.dir
3805  # Copy depcomp to subdir because otherwise we won't find it if we're
3806  # using a relative directory.
3807  cp "$am_depcomp" conftest.dir
3808  cd conftest.dir
3809  # We will build objects and dependencies in a subdirectory because
3810  # it helps to detect inapplicable dependency modes.  For instance
3811  # both Tru64's cc and ICC support -MD to output dependencies as a
3812  # side effect of compilation, but ICC will put the dependencies in
3813  # the current directory while Tru64 will put them in the object
3814  # directory.
3815  mkdir sub
3816
3817  am_cv_CC_dependencies_compiler_type=none
3818  if test "$am_compiler_list" = ""; then
3819     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3820  fi
3821  am__universal=false
3822  case " $depcc " in #(
3823     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3824     esac
3825
3826  for depmode in $am_compiler_list; do
3827    # Setup a source with many dependencies, because some compilers
3828    # like to wrap large dependency lists on column 80 (with \), and
3829    # we should not choose a depcomp mode which is confused by this.
3830    #
3831    # We need to recreate these files for each test, as the compiler may
3832    # overwrite some of them when testing with obscure command lines.
3833    # This happens at least with the AIX C compiler.
3834    : > sub/conftest.c
3835    for i in 1 2 3 4 5 6; do
3836      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3837      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3838      # Solaris 10 /bin/sh.
3839      echo '/* dummy */' > sub/conftst$i.h
3840    done
3841    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3842
3843    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3844    # mode.  It turns out that the SunPro C++ compiler does not properly
3845    # handle '-M -o', and we need to detect this.  Also, some Intel
3846    # versions had trouble with output in subdirs.
3847    am__obj=sub/conftest.${OBJEXT-o}
3848    am__minus_obj="-o $am__obj"
3849    case $depmode in
3850    gcc)
3851      # This depmode causes a compiler race in universal mode.
3852      test "$am__universal" = false || continue
3853      ;;
3854    nosideeffect)
3855      # After this tag, mechanisms are not by side-effect, so they'll
3856      # only be used when explicitly requested.
3857      if test "x$enable_dependency_tracking" = xyes; then
3858	continue
3859      else
3860	break
3861      fi
3862      ;;
3863    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3864      # This compiler won't grok '-c -o', but also, the minuso test has
3865      # not run yet.  These depmodes are late enough in the game, and
3866      # so weak that their functioning should not be impacted.
3867      am__obj=conftest.${OBJEXT-o}
3868      am__minus_obj=
3869      ;;
3870    none) break ;;
3871    esac
3872    if depmode=$depmode \
3873       source=sub/conftest.c object=$am__obj \
3874       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3875       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3876         >/dev/null 2>conftest.err &&
3877       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3878       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3879       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3880       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3881      # icc doesn't choke on unknown options, it will just issue warnings
3882      # or remarks (even with -Werror).  So we grep stderr for any message
3883      # that says an option was ignored or not supported.
3884      # When given -MP, icc 7.0 and 7.1 complain thusly:
3885      #   icc: Command line warning: ignoring option '-M'; no argument required
3886      # The diagnosis changed in icc 8.0:
3887      #   icc: Command line remark: option '-MP' not supported
3888      if (grep 'ignoring option' conftest.err ||
3889          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3890        am_cv_CC_dependencies_compiler_type=$depmode
3891        break
3892      fi
3893    fi
3894  done
3895
3896  cd ..
3897  rm -rf conftest.dir
3898else
3899  am_cv_CC_dependencies_compiler_type=none
3900fi
3901
3902fi
3903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3904$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3905CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3906
3907 if
3908  test "x$enable_dependency_tracking" != xno \
3909  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3910  am__fastdepCC_TRUE=
3911  am__fastdepCC_FALSE='#'
3912else
3913  am__fastdepCC_TRUE='#'
3914  am__fastdepCC_FALSE=
3915fi
3916
3917
3918
3919ac_ext=c
3920ac_cpp='$CPP $CPPFLAGS'
3921ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3922ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3923ac_compiler_gnu=$ac_cv_c_compiler_gnu
3924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3925$as_echo_n "checking how to run the C preprocessor... " >&6; }
3926# On Suns, sometimes $CPP names a directory.
3927if test -n "$CPP" && test -d "$CPP"; then
3928  CPP=
3929fi
3930if test -z "$CPP"; then
3931  if ${ac_cv_prog_CPP+:} false; then :
3932  $as_echo_n "(cached) " >&6
3933else
3934      # Double quotes because CPP needs to be expanded
3935    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3936    do
3937      ac_preproc_ok=false
3938for ac_c_preproc_warn_flag in '' yes
3939do
3940  # Use a header file that comes with gcc, so configuring glibc
3941  # with a fresh cross-compiler works.
3942  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3943  # <limits.h> exists even on freestanding compilers.
3944  # On the NeXT, cc -E runs the code through the compiler's parser,
3945  # not just through cpp. "Syntax error" is here to catch this case.
3946  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3947/* end confdefs.h.  */
3948#ifdef __STDC__
3949# include <limits.h>
3950#else
3951# include <assert.h>
3952#endif
3953		     Syntax error
3954_ACEOF
3955if ac_fn_c_try_cpp "$LINENO"; then :
3956
3957else
3958  # Broken: fails on valid input.
3959continue
3960fi
3961rm -f conftest.err conftest.i conftest.$ac_ext
3962
3963  # OK, works on sane cases.  Now check whether nonexistent headers
3964  # can be detected and how.
3965  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966/* end confdefs.h.  */
3967#include <ac_nonexistent.h>
3968_ACEOF
3969if ac_fn_c_try_cpp "$LINENO"; then :
3970  # Broken: success on invalid input.
3971continue
3972else
3973  # Passes both tests.
3974ac_preproc_ok=:
3975break
3976fi
3977rm -f conftest.err conftest.i conftest.$ac_ext
3978
3979done
3980# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3981rm -f conftest.i conftest.err conftest.$ac_ext
3982if $ac_preproc_ok; then :
3983  break
3984fi
3985
3986    done
3987    ac_cv_prog_CPP=$CPP
3988
3989fi
3990  CPP=$ac_cv_prog_CPP
3991else
3992  ac_cv_prog_CPP=$CPP
3993fi
3994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3995$as_echo "$CPP" >&6; }
3996ac_preproc_ok=false
3997for ac_c_preproc_warn_flag in '' yes
3998do
3999  # Use a header file that comes with gcc, so configuring glibc
4000  # with a fresh cross-compiler works.
4001  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4002  # <limits.h> exists even on freestanding compilers.
4003  # On the NeXT, cc -E runs the code through the compiler's parser,
4004  # not just through cpp. "Syntax error" is here to catch this case.
4005  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006/* end confdefs.h.  */
4007#ifdef __STDC__
4008# include <limits.h>
4009#else
4010# include <assert.h>
4011#endif
4012		     Syntax error
4013_ACEOF
4014if ac_fn_c_try_cpp "$LINENO"; then :
4015
4016else
4017  # Broken: fails on valid input.
4018continue
4019fi
4020rm -f conftest.err conftest.i conftest.$ac_ext
4021
4022  # OK, works on sane cases.  Now check whether nonexistent headers
4023  # can be detected and how.
4024  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4025/* end confdefs.h.  */
4026#include <ac_nonexistent.h>
4027_ACEOF
4028if ac_fn_c_try_cpp "$LINENO"; then :
4029  # Broken: success on invalid input.
4030continue
4031else
4032  # Passes both tests.
4033ac_preproc_ok=:
4034break
4035fi
4036rm -f conftest.err conftest.i conftest.$ac_ext
4037
4038done
4039# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4040rm -f conftest.i conftest.err conftest.$ac_ext
4041if $ac_preproc_ok; then :
4042
4043else
4044  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4045$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4046as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4047See \`config.log' for more details" "$LINENO" 5; }
4048fi
4049
4050ac_ext=c
4051ac_cpp='$CPP $CPPFLAGS'
4052ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4053ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4054ac_compiler_gnu=$ac_cv_c_compiler_gnu
4055
4056
4057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4058$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4059if ${ac_cv_path_GREP+:} false; then :
4060  $as_echo_n "(cached) " >&6
4061else
4062  if test -z "$GREP"; then
4063  ac_path_GREP_found=false
4064  # Loop through the user's path and test for each of PROGNAME-LIST
4065  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4066for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4067do
4068  IFS=$as_save_IFS
4069  test -z "$as_dir" && as_dir=.
4070    for ac_prog in grep ggrep; do
4071    for ac_exec_ext in '' $ac_executable_extensions; do
4072      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4073      as_fn_executable_p "$ac_path_GREP" || continue
4074# Check for GNU ac_path_GREP and select it if it is found.
4075  # Check for GNU $ac_path_GREP
4076case `"$ac_path_GREP" --version 2>&1` in
4077*GNU*)
4078  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4079*)
4080  ac_count=0
4081  $as_echo_n 0123456789 >"conftest.in"
4082  while :
4083  do
4084    cat "conftest.in" "conftest.in" >"conftest.tmp"
4085    mv "conftest.tmp" "conftest.in"
4086    cp "conftest.in" "conftest.nl"
4087    $as_echo 'GREP' >> "conftest.nl"
4088    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4089    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4090    as_fn_arith $ac_count + 1 && ac_count=$as_val
4091    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4092      # Best one so far, save it but keep looking for a better one
4093      ac_cv_path_GREP="$ac_path_GREP"
4094      ac_path_GREP_max=$ac_count
4095    fi
4096    # 10*(2^10) chars as input seems more than enough
4097    test $ac_count -gt 10 && break
4098  done
4099  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4100esac
4101
4102      $ac_path_GREP_found && break 3
4103    done
4104  done
4105  done
4106IFS=$as_save_IFS
4107  if test -z "$ac_cv_path_GREP"; then
4108    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4109  fi
4110else
4111  ac_cv_path_GREP=$GREP
4112fi
4113
4114fi
4115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4116$as_echo "$ac_cv_path_GREP" >&6; }
4117 GREP="$ac_cv_path_GREP"
4118
4119
4120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4121$as_echo_n "checking for egrep... " >&6; }
4122if ${ac_cv_path_EGREP+:} false; then :
4123  $as_echo_n "(cached) " >&6
4124else
4125  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4126   then ac_cv_path_EGREP="$GREP -E"
4127   else
4128     if test -z "$EGREP"; then
4129  ac_path_EGREP_found=false
4130  # Loop through the user's path and test for each of PROGNAME-LIST
4131  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4132for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4133do
4134  IFS=$as_save_IFS
4135  test -z "$as_dir" && as_dir=.
4136    for ac_prog in egrep; do
4137    for ac_exec_ext in '' $ac_executable_extensions; do
4138      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4139      as_fn_executable_p "$ac_path_EGREP" || continue
4140# Check for GNU ac_path_EGREP and select it if it is found.
4141  # Check for GNU $ac_path_EGREP
4142case `"$ac_path_EGREP" --version 2>&1` in
4143*GNU*)
4144  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4145*)
4146  ac_count=0
4147  $as_echo_n 0123456789 >"conftest.in"
4148  while :
4149  do
4150    cat "conftest.in" "conftest.in" >"conftest.tmp"
4151    mv "conftest.tmp" "conftest.in"
4152    cp "conftest.in" "conftest.nl"
4153    $as_echo 'EGREP' >> "conftest.nl"
4154    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4155    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4156    as_fn_arith $ac_count + 1 && ac_count=$as_val
4157    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4158      # Best one so far, save it but keep looking for a better one
4159      ac_cv_path_EGREP="$ac_path_EGREP"
4160      ac_path_EGREP_max=$ac_count
4161    fi
4162    # 10*(2^10) chars as input seems more than enough
4163    test $ac_count -gt 10 && break
4164  done
4165  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4166esac
4167
4168      $ac_path_EGREP_found && break 3
4169    done
4170  done
4171  done
4172IFS=$as_save_IFS
4173  if test -z "$ac_cv_path_EGREP"; then
4174    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4175  fi
4176else
4177  ac_cv_path_EGREP=$EGREP
4178fi
4179
4180   fi
4181fi
4182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4183$as_echo "$ac_cv_path_EGREP" >&6; }
4184 EGREP="$ac_cv_path_EGREP"
4185
4186
4187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4188$as_echo_n "checking for ANSI C header files... " >&6; }
4189if ${ac_cv_header_stdc+:} false; then :
4190  $as_echo_n "(cached) " >&6
4191else
4192  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193/* end confdefs.h.  */
4194#include <stdlib.h>
4195#include <stdarg.h>
4196#include <string.h>
4197#include <float.h>
4198
4199int
4200main ()
4201{
4202
4203  ;
4204  return 0;
4205}
4206_ACEOF
4207if ac_fn_c_try_compile "$LINENO"; then :
4208  ac_cv_header_stdc=yes
4209else
4210  ac_cv_header_stdc=no
4211fi
4212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213
4214if test $ac_cv_header_stdc = yes; then
4215  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4216  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217/* end confdefs.h.  */
4218#include <string.h>
4219
4220_ACEOF
4221if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4222  $EGREP "memchr" >/dev/null 2>&1; then :
4223
4224else
4225  ac_cv_header_stdc=no
4226fi
4227rm -f conftest*
4228
4229fi
4230
4231if test $ac_cv_header_stdc = yes; then
4232  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4233  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234/* end confdefs.h.  */
4235#include <stdlib.h>
4236
4237_ACEOF
4238if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4239  $EGREP "free" >/dev/null 2>&1; then :
4240
4241else
4242  ac_cv_header_stdc=no
4243fi
4244rm -f conftest*
4245
4246fi
4247
4248if test $ac_cv_header_stdc = yes; then
4249  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4250  if test "$cross_compiling" = yes; then :
4251  :
4252else
4253  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254/* end confdefs.h.  */
4255#include <ctype.h>
4256#include <stdlib.h>
4257#if ((' ' & 0x0FF) == 0x020)
4258# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4259# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4260#else
4261# define ISLOWER(c) \
4262		   (('a' <= (c) && (c) <= 'i') \
4263		     || ('j' <= (c) && (c) <= 'r') \
4264		     || ('s' <= (c) && (c) <= 'z'))
4265# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4266#endif
4267
4268#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4269int
4270main ()
4271{
4272  int i;
4273  for (i = 0; i < 256; i++)
4274    if (XOR (islower (i), ISLOWER (i))
4275	|| toupper (i) != TOUPPER (i))
4276      return 2;
4277  return 0;
4278}
4279_ACEOF
4280if ac_fn_c_try_run "$LINENO"; then :
4281
4282else
4283  ac_cv_header_stdc=no
4284fi
4285rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4286  conftest.$ac_objext conftest.beam conftest.$ac_ext
4287fi
4288
4289fi
4290fi
4291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4292$as_echo "$ac_cv_header_stdc" >&6; }
4293if test $ac_cv_header_stdc = yes; then
4294
4295$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4296
4297fi
4298
4299# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4300for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4301		  inttypes.h stdint.h unistd.h
4302do :
4303  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4304ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4305"
4306if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4307  cat >>confdefs.h <<_ACEOF
4308#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4309_ACEOF
4310
4311fi
4312
4313done
4314
4315
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4317$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4318if ${ac_cv_c_bigendian+:} false; then :
4319  $as_echo_n "(cached) " >&6
4320else
4321  ac_cv_c_bigendian=unknown
4322    # See if we're dealing with a universal compiler.
4323    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324/* end confdefs.h.  */
4325#ifndef __APPLE_CC__
4326	       not a universal capable compiler
4327	     #endif
4328	     typedef int dummy;
4329
4330_ACEOF
4331if ac_fn_c_try_compile "$LINENO"; then :
4332
4333	# Check for potential -arch flags.  It is not universal unless
4334	# there are at least two -arch flags with different values.
4335	ac_arch=
4336	ac_prev=
4337	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4338	 if test -n "$ac_prev"; then
4339	   case $ac_word in
4340	     i?86 | x86_64 | ppc | ppc64)
4341	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4342		 ac_arch=$ac_word
4343	       else
4344		 ac_cv_c_bigendian=universal
4345		 break
4346	       fi
4347	       ;;
4348	   esac
4349	   ac_prev=
4350	 elif test "x$ac_word" = "x-arch"; then
4351	   ac_prev=arch
4352	 fi
4353       done
4354fi
4355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4356    if test $ac_cv_c_bigendian = unknown; then
4357      # See if sys/param.h defines the BYTE_ORDER macro.
4358      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4359/* end confdefs.h.  */
4360#include <sys/types.h>
4361	     #include <sys/param.h>
4362
4363int
4364main ()
4365{
4366#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4367		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4368		     && LITTLE_ENDIAN)
4369	      bogus endian macros
4370	     #endif
4371
4372  ;
4373  return 0;
4374}
4375_ACEOF
4376if ac_fn_c_try_compile "$LINENO"; then :
4377  # It does; now see whether it defined to BIG_ENDIAN or not.
4378	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379/* end confdefs.h.  */
4380#include <sys/types.h>
4381		#include <sys/param.h>
4382
4383int
4384main ()
4385{
4386#if BYTE_ORDER != BIG_ENDIAN
4387		 not big endian
4388		#endif
4389
4390  ;
4391  return 0;
4392}
4393_ACEOF
4394if ac_fn_c_try_compile "$LINENO"; then :
4395  ac_cv_c_bigendian=yes
4396else
4397  ac_cv_c_bigendian=no
4398fi
4399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4400fi
4401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4402    fi
4403    if test $ac_cv_c_bigendian = unknown; then
4404      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4405      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406/* end confdefs.h.  */
4407#include <limits.h>
4408
4409int
4410main ()
4411{
4412#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4413	      bogus endian macros
4414	     #endif
4415
4416  ;
4417  return 0;
4418}
4419_ACEOF
4420if ac_fn_c_try_compile "$LINENO"; then :
4421  # It does; now see whether it defined to _BIG_ENDIAN or not.
4422	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423/* end confdefs.h.  */
4424#include <limits.h>
4425
4426int
4427main ()
4428{
4429#ifndef _BIG_ENDIAN
4430		 not big endian
4431		#endif
4432
4433  ;
4434  return 0;
4435}
4436_ACEOF
4437if ac_fn_c_try_compile "$LINENO"; then :
4438  ac_cv_c_bigendian=yes
4439else
4440  ac_cv_c_bigendian=no
4441fi
4442rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4443fi
4444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4445    fi
4446    if test $ac_cv_c_bigendian = unknown; then
4447      # Compile a test program.
4448      if test "$cross_compiling" = yes; then :
4449  # Try to guess by grepping values from an object file.
4450	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451/* end confdefs.h.  */
4452short int ascii_mm[] =
4453		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4454		short int ascii_ii[] =
4455		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4456		int use_ascii (int i) {
4457		  return ascii_mm[i] + ascii_ii[i];
4458		}
4459		short int ebcdic_ii[] =
4460		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4461		short int ebcdic_mm[] =
4462		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4463		int use_ebcdic (int i) {
4464		  return ebcdic_mm[i] + ebcdic_ii[i];
4465		}
4466		extern int foo;
4467
4468int
4469main ()
4470{
4471return use_ascii (foo) == use_ebcdic (foo);
4472  ;
4473  return 0;
4474}
4475_ACEOF
4476if ac_fn_c_try_compile "$LINENO"; then :
4477  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4478	      ac_cv_c_bigendian=yes
4479	    fi
4480	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4481	      if test "$ac_cv_c_bigendian" = unknown; then
4482		ac_cv_c_bigendian=no
4483	      else
4484		# finding both strings is unlikely to happen, but who knows?
4485		ac_cv_c_bigendian=unknown
4486	      fi
4487	    fi
4488fi
4489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4490else
4491  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492/* end confdefs.h.  */
4493$ac_includes_default
4494int
4495main ()
4496{
4497
4498	     /* Are we little or big endian?  From Harbison&Steele.  */
4499	     union
4500	     {
4501	       long int l;
4502	       char c[sizeof (long int)];
4503	     } u;
4504	     u.l = 1;
4505	     return u.c[sizeof (long int) - 1] == 1;
4506
4507  ;
4508  return 0;
4509}
4510_ACEOF
4511if ac_fn_c_try_run "$LINENO"; then :
4512  ac_cv_c_bigendian=no
4513else
4514  ac_cv_c_bigendian=yes
4515fi
4516rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4517  conftest.$ac_objext conftest.beam conftest.$ac_ext
4518fi
4519
4520    fi
4521fi
4522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4523$as_echo "$ac_cv_c_bigendian" >&6; }
4524 case $ac_cv_c_bigendian in #(
4525   yes)
4526     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4527;; #(
4528   no)
4529      ;; #(
4530   universal)
4531
4532$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4533
4534     ;; #(
4535   *)
4536     as_fn_error $? "unknown endianness
4537 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4538 esac
4539
4540ac_ext=c
4541ac_cpp='$CPP $CPPFLAGS'
4542ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4543ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4544ac_compiler_gnu=$ac_cv_c_compiler_gnu
4545if test -n "$ac_tool_prefix"; then
4546  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4547set dummy ${ac_tool_prefix}gcc; ac_word=$2
4548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4549$as_echo_n "checking for $ac_word... " >&6; }
4550if ${ac_cv_prog_CC+:} false; then :
4551  $as_echo_n "(cached) " >&6
4552else
4553  if test -n "$CC"; then
4554  ac_cv_prog_CC="$CC" # Let the user override the test.
4555else
4556as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557for as_dir in $PATH
4558do
4559  IFS=$as_save_IFS
4560  test -z "$as_dir" && as_dir=.
4561    for ac_exec_ext in '' $ac_executable_extensions; do
4562  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4563    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4564    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565    break 2
4566  fi
4567done
4568  done
4569IFS=$as_save_IFS
4570
4571fi
4572fi
4573CC=$ac_cv_prog_CC
4574if test -n "$CC"; then
4575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4576$as_echo "$CC" >&6; }
4577else
4578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4579$as_echo "no" >&6; }
4580fi
4581
4582
4583fi
4584if test -z "$ac_cv_prog_CC"; then
4585  ac_ct_CC=$CC
4586  # Extract the first word of "gcc", so it can be a program name with args.
4587set dummy gcc; ac_word=$2
4588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4589$as_echo_n "checking for $ac_word... " >&6; }
4590if ${ac_cv_prog_ac_ct_CC+:} false; then :
4591  $as_echo_n "(cached) " >&6
4592else
4593  if test -n "$ac_ct_CC"; then
4594  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4595else
4596as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597for as_dir in $PATH
4598do
4599  IFS=$as_save_IFS
4600  test -z "$as_dir" && as_dir=.
4601    for ac_exec_ext in '' $ac_executable_extensions; do
4602  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4603    ac_cv_prog_ac_ct_CC="gcc"
4604    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4605    break 2
4606  fi
4607done
4608  done
4609IFS=$as_save_IFS
4610
4611fi
4612fi
4613ac_ct_CC=$ac_cv_prog_ac_ct_CC
4614if test -n "$ac_ct_CC"; then
4615  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4616$as_echo "$ac_ct_CC" >&6; }
4617else
4618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619$as_echo "no" >&6; }
4620fi
4621
4622  if test "x$ac_ct_CC" = x; then
4623    CC=""
4624  else
4625    case $cross_compiling:$ac_tool_warned in
4626yes:)
4627{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4628$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4629ac_tool_warned=yes ;;
4630esac
4631    CC=$ac_ct_CC
4632  fi
4633else
4634  CC="$ac_cv_prog_CC"
4635fi
4636
4637if test -z "$CC"; then
4638          if test -n "$ac_tool_prefix"; then
4639    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4640set dummy ${ac_tool_prefix}cc; ac_word=$2
4641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642$as_echo_n "checking for $ac_word... " >&6; }
4643if ${ac_cv_prog_CC+:} false; then :
4644  $as_echo_n "(cached) " >&6
4645else
4646  if test -n "$CC"; then
4647  ac_cv_prog_CC="$CC" # Let the user override the test.
4648else
4649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4650for as_dir in $PATH
4651do
4652  IFS=$as_save_IFS
4653  test -z "$as_dir" && as_dir=.
4654    for ac_exec_ext in '' $ac_executable_extensions; do
4655  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4656    ac_cv_prog_CC="${ac_tool_prefix}cc"
4657    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4658    break 2
4659  fi
4660done
4661  done
4662IFS=$as_save_IFS
4663
4664fi
4665fi
4666CC=$ac_cv_prog_CC
4667if test -n "$CC"; then
4668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4669$as_echo "$CC" >&6; }
4670else
4671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672$as_echo "no" >&6; }
4673fi
4674
4675
4676  fi
4677fi
4678if test -z "$CC"; then
4679  # Extract the first word of "cc", so it can be a program name with args.
4680set dummy cc; ac_word=$2
4681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682$as_echo_n "checking for $ac_word... " >&6; }
4683if ${ac_cv_prog_CC+:} false; then :
4684  $as_echo_n "(cached) " >&6
4685else
4686  if test -n "$CC"; then
4687  ac_cv_prog_CC="$CC" # Let the user override the test.
4688else
4689  ac_prog_rejected=no
4690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691for as_dir in $PATH
4692do
4693  IFS=$as_save_IFS
4694  test -z "$as_dir" && as_dir=.
4695    for ac_exec_ext in '' $ac_executable_extensions; do
4696  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4697    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4698       ac_prog_rejected=yes
4699       continue
4700     fi
4701    ac_cv_prog_CC="cc"
4702    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4703    break 2
4704  fi
4705done
4706  done
4707IFS=$as_save_IFS
4708
4709if test $ac_prog_rejected = yes; then
4710  # We found a bogon in the path, so make sure we never use it.
4711  set dummy $ac_cv_prog_CC
4712  shift
4713  if test $# != 0; then
4714    # We chose a different compiler from the bogus one.
4715    # However, it has the same basename, so the bogon will be chosen
4716    # first if we set CC to just the basename; use the full file name.
4717    shift
4718    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4719  fi
4720fi
4721fi
4722fi
4723CC=$ac_cv_prog_CC
4724if test -n "$CC"; then
4725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4726$as_echo "$CC" >&6; }
4727else
4728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729$as_echo "no" >&6; }
4730fi
4731
4732
4733fi
4734if test -z "$CC"; then
4735  if test -n "$ac_tool_prefix"; then
4736  for ac_prog in cl.exe
4737  do
4738    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4739set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4741$as_echo_n "checking for $ac_word... " >&6; }
4742if ${ac_cv_prog_CC+:} false; then :
4743  $as_echo_n "(cached) " >&6
4744else
4745  if test -n "$CC"; then
4746  ac_cv_prog_CC="$CC" # Let the user override the test.
4747else
4748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4749for as_dir in $PATH
4750do
4751  IFS=$as_save_IFS
4752  test -z "$as_dir" && as_dir=.
4753    for ac_exec_ext in '' $ac_executable_extensions; do
4754  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4755    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4756    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4757    break 2
4758  fi
4759done
4760  done
4761IFS=$as_save_IFS
4762
4763fi
4764fi
4765CC=$ac_cv_prog_CC
4766if test -n "$CC"; then
4767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4768$as_echo "$CC" >&6; }
4769else
4770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771$as_echo "no" >&6; }
4772fi
4773
4774
4775    test -n "$CC" && break
4776  done
4777fi
4778if test -z "$CC"; then
4779  ac_ct_CC=$CC
4780  for ac_prog in cl.exe
4781do
4782  # Extract the first word of "$ac_prog", so it can be a program name with args.
4783set dummy $ac_prog; ac_word=$2
4784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785$as_echo_n "checking for $ac_word... " >&6; }
4786if ${ac_cv_prog_ac_ct_CC+:} false; then :
4787  $as_echo_n "(cached) " >&6
4788else
4789  if test -n "$ac_ct_CC"; then
4790  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4791else
4792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793for as_dir in $PATH
4794do
4795  IFS=$as_save_IFS
4796  test -z "$as_dir" && as_dir=.
4797    for ac_exec_ext in '' $ac_executable_extensions; do
4798  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4799    ac_cv_prog_ac_ct_CC="$ac_prog"
4800    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4801    break 2
4802  fi
4803done
4804  done
4805IFS=$as_save_IFS
4806
4807fi
4808fi
4809ac_ct_CC=$ac_cv_prog_ac_ct_CC
4810if test -n "$ac_ct_CC"; then
4811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4812$as_echo "$ac_ct_CC" >&6; }
4813else
4814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815$as_echo "no" >&6; }
4816fi
4817
4818
4819  test -n "$ac_ct_CC" && break
4820done
4821
4822  if test "x$ac_ct_CC" = x; then
4823    CC=""
4824  else
4825    case $cross_compiling:$ac_tool_warned in
4826yes:)
4827{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4828$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4829ac_tool_warned=yes ;;
4830esac
4831    CC=$ac_ct_CC
4832  fi
4833fi
4834
4835fi
4836
4837
4838test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4839$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4840as_fn_error $? "no acceptable C compiler found in \$PATH
4841See \`config.log' for more details" "$LINENO" 5; }
4842
4843# Provide some information about the compiler.
4844$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4845set X $ac_compile
4846ac_compiler=$2
4847for ac_option in --version -v -V -qversion; do
4848  { { ac_try="$ac_compiler $ac_option >&5"
4849case "(($ac_try" in
4850  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851  *) ac_try_echo=$ac_try;;
4852esac
4853eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4854$as_echo "$ac_try_echo"; } >&5
4855  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4856  ac_status=$?
4857  if test -s conftest.err; then
4858    sed '10a\
4859... rest of stderr output deleted ...
4860         10q' conftest.err >conftest.er1
4861    cat conftest.er1 >&5
4862  fi
4863  rm -f conftest.er1 conftest.err
4864  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4865  test $ac_status = 0; }
4866done
4867
4868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4869$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4870if ${ac_cv_c_compiler_gnu+:} false; then :
4871  $as_echo_n "(cached) " >&6
4872else
4873  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4874/* end confdefs.h.  */
4875
4876int
4877main ()
4878{
4879#ifndef __GNUC__
4880       choke me
4881#endif
4882
4883  ;
4884  return 0;
4885}
4886_ACEOF
4887if ac_fn_c_try_compile "$LINENO"; then :
4888  ac_compiler_gnu=yes
4889else
4890  ac_compiler_gnu=no
4891fi
4892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4893ac_cv_c_compiler_gnu=$ac_compiler_gnu
4894
4895fi
4896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4897$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4898if test $ac_compiler_gnu = yes; then
4899  GCC=yes
4900else
4901  GCC=
4902fi
4903ac_test_CFLAGS=${CFLAGS+set}
4904ac_save_CFLAGS=$CFLAGS
4905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4906$as_echo_n "checking whether $CC accepts -g... " >&6; }
4907if ${ac_cv_prog_cc_g+:} false; then :
4908  $as_echo_n "(cached) " >&6
4909else
4910  ac_save_c_werror_flag=$ac_c_werror_flag
4911   ac_c_werror_flag=yes
4912   ac_cv_prog_cc_g=no
4913   CFLAGS="-g"
4914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4915/* end confdefs.h.  */
4916
4917int
4918main ()
4919{
4920
4921  ;
4922  return 0;
4923}
4924_ACEOF
4925if ac_fn_c_try_compile "$LINENO"; then :
4926  ac_cv_prog_cc_g=yes
4927else
4928  CFLAGS=""
4929      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4930/* end confdefs.h.  */
4931
4932int
4933main ()
4934{
4935
4936  ;
4937  return 0;
4938}
4939_ACEOF
4940if ac_fn_c_try_compile "$LINENO"; then :
4941
4942else
4943  ac_c_werror_flag=$ac_save_c_werror_flag
4944	 CFLAGS="-g"
4945	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4946/* end confdefs.h.  */
4947
4948int
4949main ()
4950{
4951
4952  ;
4953  return 0;
4954}
4955_ACEOF
4956if ac_fn_c_try_compile "$LINENO"; then :
4957  ac_cv_prog_cc_g=yes
4958fi
4959rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4960fi
4961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4962fi
4963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4964   ac_c_werror_flag=$ac_save_c_werror_flag
4965fi
4966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4967$as_echo "$ac_cv_prog_cc_g" >&6; }
4968if test "$ac_test_CFLAGS" = set; then
4969  CFLAGS=$ac_save_CFLAGS
4970elif test $ac_cv_prog_cc_g = yes; then
4971  if test "$GCC" = yes; then
4972    CFLAGS="-g -O2"
4973  else
4974    CFLAGS="-g"
4975  fi
4976else
4977  if test "$GCC" = yes; then
4978    CFLAGS="-O2"
4979  else
4980    CFLAGS=
4981  fi
4982fi
4983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4984$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4985if ${ac_cv_prog_cc_c89+:} false; then :
4986  $as_echo_n "(cached) " >&6
4987else
4988  ac_cv_prog_cc_c89=no
4989ac_save_CC=$CC
4990cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4991/* end confdefs.h.  */
4992#include <stdarg.h>
4993#include <stdio.h>
4994struct stat;
4995/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4996struct buf { int x; };
4997FILE * (*rcsopen) (struct buf *, struct stat *, int);
4998static char *e (p, i)
4999     char **p;
5000     int i;
5001{
5002  return p[i];
5003}
5004static char *f (char * (*g) (char **, int), char **p, ...)
5005{
5006  char *s;
5007  va_list v;
5008  va_start (v,p);
5009  s = g (p, va_arg (v,int));
5010  va_end (v);
5011  return s;
5012}
5013
5014/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5015   function prototypes and stuff, but not '\xHH' hex character constants.
5016   These don't provoke an error unfortunately, instead are silently treated
5017   as 'x'.  The following induces an error, until -std is added to get
5018   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5019   array size at least.  It's necessary to write '\x00'==0 to get something
5020   that's true only with -std.  */
5021int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5022
5023/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5024   inside strings and character constants.  */
5025#define FOO(x) 'x'
5026int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5027
5028int test (int i, double x);
5029struct s1 {int (*f) (int a);};
5030struct s2 {int (*f) (double a);};
5031int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5032int argc;
5033char **argv;
5034int
5035main ()
5036{
5037return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5038  ;
5039  return 0;
5040}
5041_ACEOF
5042for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5043	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5044do
5045  CC="$ac_save_CC $ac_arg"
5046  if ac_fn_c_try_compile "$LINENO"; then :
5047  ac_cv_prog_cc_c89=$ac_arg
5048fi
5049rm -f core conftest.err conftest.$ac_objext
5050  test "x$ac_cv_prog_cc_c89" != "xno" && break
5051done
5052rm -f conftest.$ac_ext
5053CC=$ac_save_CC
5054
5055fi
5056# AC_CACHE_VAL
5057case "x$ac_cv_prog_cc_c89" in
5058  x)
5059    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5060$as_echo "none needed" >&6; } ;;
5061  xno)
5062    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5063$as_echo "unsupported" >&6; } ;;
5064  *)
5065    CC="$CC $ac_cv_prog_cc_c89"
5066    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5067$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5068esac
5069if test "x$ac_cv_prog_cc_c89" != xno; then :
5070
5071fi
5072
5073ac_ext=c
5074ac_cpp='$CPP $CPPFLAGS'
5075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5077ac_compiler_gnu=$ac_cv_c_compiler_gnu
5078
5079ac_ext=c
5080ac_cpp='$CPP $CPPFLAGS'
5081ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5082ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5083ac_compiler_gnu=$ac_cv_c_compiler_gnu
5084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5085$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5086if ${am_cv_prog_cc_c_o+:} false; then :
5087  $as_echo_n "(cached) " >&6
5088else
5089  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5090/* end confdefs.h.  */
5091
5092int
5093main ()
5094{
5095
5096  ;
5097  return 0;
5098}
5099_ACEOF
5100  # Make sure it works both with $CC and with simple cc.
5101  # Following AC_PROG_CC_C_O, we do the test twice because some
5102  # compilers refuse to overwrite an existing .o file with -o,
5103  # though they will create one.
5104  am_cv_prog_cc_c_o=yes
5105  for am_i in 1 2; do
5106    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5107   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5108   ac_status=$?
5109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110   (exit $ac_status); } \
5111         && test -f conftest2.$ac_objext; then
5112      : OK
5113    else
5114      am_cv_prog_cc_c_o=no
5115      break
5116    fi
5117  done
5118  rm -f core conftest*
5119  unset am_i
5120fi
5121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5122$as_echo "$am_cv_prog_cc_c_o" >&6; }
5123if test "$am_cv_prog_cc_c_o" != yes; then
5124   # Losing compiler, so override with the script.
5125   # FIXME: It is wrong to rewrite CC.
5126   # But if we don't then we get into trouble of one sort or another.
5127   # A longer-term fix would be to have automake use am__CC in this case,
5128   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5129   CC="$am_aux_dir/compile $CC"
5130fi
5131ac_ext=c
5132ac_cpp='$CPP $CPPFLAGS'
5133ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5134ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5135ac_compiler_gnu=$ac_cv_c_compiler_gnu
5136
5137
5138depcc="$CC"   am_compiler_list=
5139
5140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5141$as_echo_n "checking dependency style of $depcc... " >&6; }
5142if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5143  $as_echo_n "(cached) " >&6
5144else
5145  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5146  # We make a subdir and do the tests there.  Otherwise we can end up
5147  # making bogus files that we don't know about and never remove.  For
5148  # instance it was reported that on HP-UX the gcc test will end up
5149  # making a dummy file named 'D' -- because '-MD' means "put the output
5150  # in D".
5151  rm -rf conftest.dir
5152  mkdir conftest.dir
5153  # Copy depcomp to subdir because otherwise we won't find it if we're
5154  # using a relative directory.
5155  cp "$am_depcomp" conftest.dir
5156  cd conftest.dir
5157  # We will build objects and dependencies in a subdirectory because
5158  # it helps to detect inapplicable dependency modes.  For instance
5159  # both Tru64's cc and ICC support -MD to output dependencies as a
5160  # side effect of compilation, but ICC will put the dependencies in
5161  # the current directory while Tru64 will put them in the object
5162  # directory.
5163  mkdir sub
5164
5165  am_cv_CC_dependencies_compiler_type=none
5166  if test "$am_compiler_list" = ""; then
5167     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5168  fi
5169  am__universal=false
5170  case " $depcc " in #(
5171     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5172     esac
5173
5174  for depmode in $am_compiler_list; do
5175    # Setup a source with many dependencies, because some compilers
5176    # like to wrap large dependency lists on column 80 (with \), and
5177    # we should not choose a depcomp mode which is confused by this.
5178    #
5179    # We need to recreate these files for each test, as the compiler may
5180    # overwrite some of them when testing with obscure command lines.
5181    # This happens at least with the AIX C compiler.
5182    : > sub/conftest.c
5183    for i in 1 2 3 4 5 6; do
5184      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5185      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5186      # Solaris 10 /bin/sh.
5187      echo '/* dummy */' > sub/conftst$i.h
5188    done
5189    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5190
5191    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5192    # mode.  It turns out that the SunPro C++ compiler does not properly
5193    # handle '-M -o', and we need to detect this.  Also, some Intel
5194    # versions had trouble with output in subdirs.
5195    am__obj=sub/conftest.${OBJEXT-o}
5196    am__minus_obj="-o $am__obj"
5197    case $depmode in
5198    gcc)
5199      # This depmode causes a compiler race in universal mode.
5200      test "$am__universal" = false || continue
5201      ;;
5202    nosideeffect)
5203      # After this tag, mechanisms are not by side-effect, so they'll
5204      # only be used when explicitly requested.
5205      if test "x$enable_dependency_tracking" = xyes; then
5206	continue
5207      else
5208	break
5209      fi
5210      ;;
5211    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5212      # This compiler won't grok '-c -o', but also, the minuso test has
5213      # not run yet.  These depmodes are late enough in the game, and
5214      # so weak that their functioning should not be impacted.
5215      am__obj=conftest.${OBJEXT-o}
5216      am__minus_obj=
5217      ;;
5218    none) break ;;
5219    esac
5220    if depmode=$depmode \
5221       source=sub/conftest.c object=$am__obj \
5222       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5223       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5224         >/dev/null 2>conftest.err &&
5225       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5226       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5227       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5228       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5229      # icc doesn't choke on unknown options, it will just issue warnings
5230      # or remarks (even with -Werror).  So we grep stderr for any message
5231      # that says an option was ignored or not supported.
5232      # When given -MP, icc 7.0 and 7.1 complain thusly:
5233      #   icc: Command line warning: ignoring option '-M'; no argument required
5234      # The diagnosis changed in icc 8.0:
5235      #   icc: Command line remark: option '-MP' not supported
5236      if (grep 'ignoring option' conftest.err ||
5237          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5238        am_cv_CC_dependencies_compiler_type=$depmode
5239        break
5240      fi
5241    fi
5242  done
5243
5244  cd ..
5245  rm -rf conftest.dir
5246else
5247  am_cv_CC_dependencies_compiler_type=none
5248fi
5249
5250fi
5251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5252$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5253CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5254
5255 if
5256  test "x$enable_dependency_tracking" != xno \
5257  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5258  am__fastdepCC_TRUE=
5259  am__fastdepCC_FALSE='#'
5260else
5261  am__fastdepCC_TRUE='#'
5262  am__fastdepCC_FALSE=
5263fi
5264
5265
5266
5267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5268$as_echo_n "checking for ANSI C header files... " >&6; }
5269if ${ac_cv_header_stdc+:} false; then :
5270  $as_echo_n "(cached) " >&6
5271else
5272  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273/* end confdefs.h.  */
5274#include <stdlib.h>
5275#include <stdarg.h>
5276#include <string.h>
5277#include <float.h>
5278
5279int
5280main ()
5281{
5282
5283  ;
5284  return 0;
5285}
5286_ACEOF
5287if ac_fn_c_try_compile "$LINENO"; then :
5288  ac_cv_header_stdc=yes
5289else
5290  ac_cv_header_stdc=no
5291fi
5292rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5293
5294if test $ac_cv_header_stdc = yes; then
5295  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5296  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297/* end confdefs.h.  */
5298#include <string.h>
5299
5300_ACEOF
5301if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5302  $EGREP "memchr" >/dev/null 2>&1; then :
5303
5304else
5305  ac_cv_header_stdc=no
5306fi
5307rm -f conftest*
5308
5309fi
5310
5311if test $ac_cv_header_stdc = yes; then
5312  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5313  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5314/* end confdefs.h.  */
5315#include <stdlib.h>
5316
5317_ACEOF
5318if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5319  $EGREP "free" >/dev/null 2>&1; then :
5320
5321else
5322  ac_cv_header_stdc=no
5323fi
5324rm -f conftest*
5325
5326fi
5327
5328if test $ac_cv_header_stdc = yes; then
5329  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5330  if test "$cross_compiling" = yes; then :
5331  :
5332else
5333  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334/* end confdefs.h.  */
5335#include <ctype.h>
5336#include <stdlib.h>
5337#if ((' ' & 0x0FF) == 0x020)
5338# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5339# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5340#else
5341# define ISLOWER(c) \
5342		   (('a' <= (c) && (c) <= 'i') \
5343		     || ('j' <= (c) && (c) <= 'r') \
5344		     || ('s' <= (c) && (c) <= 'z'))
5345# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5346#endif
5347
5348#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5349int
5350main ()
5351{
5352  int i;
5353  for (i = 0; i < 256; i++)
5354    if (XOR (islower (i), ISLOWER (i))
5355	|| toupper (i) != TOUPPER (i))
5356      return 2;
5357  return 0;
5358}
5359_ACEOF
5360if ac_fn_c_try_run "$LINENO"; then :
5361
5362else
5363  ac_cv_header_stdc=no
5364fi
5365rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5366  conftest.$ac_objext conftest.beam conftest.$ac_ext
5367fi
5368
5369fi
5370fi
5371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5372$as_echo "$ac_cv_header_stdc" >&6; }
5373if test $ac_cv_header_stdc = yes; then
5374
5375$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5376
5377fi
5378
5379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5380$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5381if ${ac_cv_c_const+:} false; then :
5382  $as_echo_n "(cached) " >&6
5383else
5384  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385/* end confdefs.h.  */
5386
5387int
5388main ()
5389{
5390
5391#ifndef __cplusplus
5392  /* Ultrix mips cc rejects this sort of thing.  */
5393  typedef int charset[2];
5394  const charset cs = { 0, 0 };
5395  /* SunOS 4.1.1 cc rejects this.  */
5396  char const *const *pcpcc;
5397  char **ppc;
5398  /* NEC SVR4.0.2 mips cc rejects this.  */
5399  struct point {int x, y;};
5400  static struct point const zero = {0,0};
5401  /* AIX XL C 1.02.0.0 rejects this.
5402     It does not let you subtract one const X* pointer from another in
5403     an arm of an if-expression whose if-part is not a constant
5404     expression */
5405  const char *g = "string";
5406  pcpcc = &g + (g ? g-g : 0);
5407  /* HPUX 7.0 cc rejects these. */
5408  ++pcpcc;
5409  ppc = (char**) pcpcc;
5410  pcpcc = (char const *const *) ppc;
5411  { /* SCO 3.2v4 cc rejects this sort of thing.  */
5412    char tx;
5413    char *t = &tx;
5414    char const *s = 0 ? (char *) 0 : (char const *) 0;
5415
5416    *t++ = 0;
5417    if (s) return 0;
5418  }
5419  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
5420    int x[] = {25, 17};
5421    const int *foo = &x[0];
5422    ++foo;
5423  }
5424  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5425    typedef const int *iptr;
5426    iptr p = 0;
5427    ++p;
5428  }
5429  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5430       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5431    struct s { int j; const int *ap[3]; } bx;
5432    struct s *b = &bx; b->j = 5;
5433  }
5434  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5435    const int foo = 10;
5436    if (!foo) return 0;
5437  }
5438  return !cs[0] && !zero.x;
5439#endif
5440
5441  ;
5442  return 0;
5443}
5444_ACEOF
5445if ac_fn_c_try_compile "$LINENO"; then :
5446  ac_cv_c_const=yes
5447else
5448  ac_cv_c_const=no
5449fi
5450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5451fi
5452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5453$as_echo "$ac_cv_c_const" >&6; }
5454if test $ac_cv_c_const = no; then
5455
5456$as_echo "#define const /**/" >>confdefs.h
5457
5458fi
5459
5460
5461case `pwd` in
5462  *\ * | *\	*)
5463    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5464$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5465esac
5466
5467
5468
5469macro_version='2.4.6'
5470macro_revision='2.4.6'
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484ltmain=$ac_aux_dir/ltmain.sh
5485
5486# Backslashify metacharacters that are still active within
5487# double-quoted strings.
5488sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5489
5490# Same as above, but do not quote variable references.
5491double_quote_subst='s/\(["`\\]\)/\\\1/g'
5492
5493# Sed substitution to delay expansion of an escaped shell variable in a
5494# double_quote_subst'ed string.
5495delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5496
5497# Sed substitution to delay expansion of an escaped single quote.
5498delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5499
5500# Sed substitution to avoid accidental globbing in evaled expressions
5501no_glob_subst='s/\*/\\\*/g'
5502
5503ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5504ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5505ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5506
5507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5508$as_echo_n "checking how to print strings... " >&6; }
5509# Test print first, because it will be a builtin if present.
5510if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5511   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5512  ECHO='print -r --'
5513elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5514  ECHO='printf %s\n'
5515else
5516  # Use this function as a fallback that always works.
5517  func_fallback_echo ()
5518  {
5519    eval 'cat <<_LTECHO_EOF
5520$1
5521_LTECHO_EOF'
5522  }
5523  ECHO='func_fallback_echo'
5524fi
5525
5526# func_echo_all arg...
5527# Invoke $ECHO with all args, space-separated.
5528func_echo_all ()
5529{
5530    $ECHO ""
5531}
5532
5533case $ECHO in
5534  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5535$as_echo "printf" >&6; } ;;
5536  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5537$as_echo "print -r" >&6; } ;;
5538  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5539$as_echo "cat" >&6; } ;;
5540esac
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5556$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5557if ${ac_cv_path_SED+:} false; then :
5558  $as_echo_n "(cached) " >&6
5559else
5560            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5561     for ac_i in 1 2 3 4 5 6 7; do
5562       ac_script="$ac_script$as_nl$ac_script"
5563     done
5564     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5565     { ac_script=; unset ac_script;}
5566     if test -z "$SED"; then
5567  ac_path_SED_found=false
5568  # Loop through the user's path and test for each of PROGNAME-LIST
5569  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570for as_dir in $PATH
5571do
5572  IFS=$as_save_IFS
5573  test -z "$as_dir" && as_dir=.
5574    for ac_prog in sed gsed; do
5575    for ac_exec_ext in '' $ac_executable_extensions; do
5576      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5577      as_fn_executable_p "$ac_path_SED" || continue
5578# Check for GNU ac_path_SED and select it if it is found.
5579  # Check for GNU $ac_path_SED
5580case `"$ac_path_SED" --version 2>&1` in
5581*GNU*)
5582  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5583*)
5584  ac_count=0
5585  $as_echo_n 0123456789 >"conftest.in"
5586  while :
5587  do
5588    cat "conftest.in" "conftest.in" >"conftest.tmp"
5589    mv "conftest.tmp" "conftest.in"
5590    cp "conftest.in" "conftest.nl"
5591    $as_echo '' >> "conftest.nl"
5592    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5593    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5594    as_fn_arith $ac_count + 1 && ac_count=$as_val
5595    if test $ac_count -gt ${ac_path_SED_max-0}; then
5596      # Best one so far, save it but keep looking for a better one
5597      ac_cv_path_SED="$ac_path_SED"
5598      ac_path_SED_max=$ac_count
5599    fi
5600    # 10*(2^10) chars as input seems more than enough
5601    test $ac_count -gt 10 && break
5602  done
5603  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5604esac
5605
5606      $ac_path_SED_found && break 3
5607    done
5608  done
5609  done
5610IFS=$as_save_IFS
5611  if test -z "$ac_cv_path_SED"; then
5612    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5613  fi
5614else
5615  ac_cv_path_SED=$SED
5616fi
5617
5618fi
5619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5620$as_echo "$ac_cv_path_SED" >&6; }
5621 SED="$ac_cv_path_SED"
5622  rm -f conftest.sed
5623
5624test -z "$SED" && SED=sed
5625Xsed="$SED -e 1s/^X//"
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5638$as_echo_n "checking for fgrep... " >&6; }
5639if ${ac_cv_path_FGREP+:} false; then :
5640  $as_echo_n "(cached) " >&6
5641else
5642  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5643   then ac_cv_path_FGREP="$GREP -F"
5644   else
5645     if test -z "$FGREP"; then
5646  ac_path_FGREP_found=false
5647  # Loop through the user's path and test for each of PROGNAME-LIST
5648  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5650do
5651  IFS=$as_save_IFS
5652  test -z "$as_dir" && as_dir=.
5653    for ac_prog in fgrep; do
5654    for ac_exec_ext in '' $ac_executable_extensions; do
5655      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5656      as_fn_executable_p "$ac_path_FGREP" || continue
5657# Check for GNU ac_path_FGREP and select it if it is found.
5658  # Check for GNU $ac_path_FGREP
5659case `"$ac_path_FGREP" --version 2>&1` in
5660*GNU*)
5661  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5662*)
5663  ac_count=0
5664  $as_echo_n 0123456789 >"conftest.in"
5665  while :
5666  do
5667    cat "conftest.in" "conftest.in" >"conftest.tmp"
5668    mv "conftest.tmp" "conftest.in"
5669    cp "conftest.in" "conftest.nl"
5670    $as_echo 'FGREP' >> "conftest.nl"
5671    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5672    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5673    as_fn_arith $ac_count + 1 && ac_count=$as_val
5674    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5675      # Best one so far, save it but keep looking for a better one
5676      ac_cv_path_FGREP="$ac_path_FGREP"
5677      ac_path_FGREP_max=$ac_count
5678    fi
5679    # 10*(2^10) chars as input seems more than enough
5680    test $ac_count -gt 10 && break
5681  done
5682  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5683esac
5684
5685      $ac_path_FGREP_found && break 3
5686    done
5687  done
5688  done
5689IFS=$as_save_IFS
5690  if test -z "$ac_cv_path_FGREP"; then
5691    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5692  fi
5693else
5694  ac_cv_path_FGREP=$FGREP
5695fi
5696
5697   fi
5698fi
5699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5700$as_echo "$ac_cv_path_FGREP" >&6; }
5701 FGREP="$ac_cv_path_FGREP"
5702
5703
5704test -z "$GREP" && GREP=grep
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724# Check whether --with-gnu-ld was given.
5725if test "${with_gnu_ld+set}" = set; then :
5726  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5727else
5728  with_gnu_ld=no
5729fi
5730
5731ac_prog=ld
5732if test yes = "$GCC"; then
5733  # Check if gcc -print-prog-name=ld gives a path.
5734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5735$as_echo_n "checking for ld used by $CC... " >&6; }
5736  case $host in
5737  *-*-mingw*)
5738    # gcc leaves a trailing carriage return, which upsets mingw
5739    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5740  *)
5741    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5742  esac
5743  case $ac_prog in
5744    # Accept absolute paths.
5745    [\\/]* | ?:[\\/]*)
5746      re_direlt='/[^/][^/]*/\.\./'
5747      # Canonicalize the pathname of ld
5748      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5749      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5750	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5751      done
5752      test -z "$LD" && LD=$ac_prog
5753      ;;
5754  "")
5755    # If it fails, then pretend we aren't using GCC.
5756    ac_prog=ld
5757    ;;
5758  *)
5759    # If it is relative, then search for the first ld in PATH.
5760    with_gnu_ld=unknown
5761    ;;
5762  esac
5763elif test yes = "$with_gnu_ld"; then
5764  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5765$as_echo_n "checking for GNU ld... " >&6; }
5766else
5767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5768$as_echo_n "checking for non-GNU ld... " >&6; }
5769fi
5770if ${lt_cv_path_LD+:} false; then :
5771  $as_echo_n "(cached) " >&6
5772else
5773  if test -z "$LD"; then
5774  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5775  for ac_dir in $PATH; do
5776    IFS=$lt_save_ifs
5777    test -z "$ac_dir" && ac_dir=.
5778    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5779      lt_cv_path_LD=$ac_dir/$ac_prog
5780      # Check to see if the program is GNU ld.  I'd rather use --version,
5781      # but apparently some variants of GNU ld only accept -v.
5782      # Break only if it was the GNU/non-GNU ld that we prefer.
5783      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5784      *GNU* | *'with BFD'*)
5785	test no != "$with_gnu_ld" && break
5786	;;
5787      *)
5788	test yes != "$with_gnu_ld" && break
5789	;;
5790      esac
5791    fi
5792  done
5793  IFS=$lt_save_ifs
5794else
5795  lt_cv_path_LD=$LD # Let the user override the test with a path.
5796fi
5797fi
5798
5799LD=$lt_cv_path_LD
5800if test -n "$LD"; then
5801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5802$as_echo "$LD" >&6; }
5803else
5804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5805$as_echo "no" >&6; }
5806fi
5807test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5809$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5810if ${lt_cv_prog_gnu_ld+:} false; then :
5811  $as_echo_n "(cached) " >&6
5812else
5813  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5814case `$LD -v 2>&1 </dev/null` in
5815*GNU* | *'with BFD'*)
5816  lt_cv_prog_gnu_ld=yes
5817  ;;
5818*)
5819  lt_cv_prog_gnu_ld=no
5820  ;;
5821esac
5822fi
5823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5824$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5825with_gnu_ld=$lt_cv_prog_gnu_ld
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5836$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5837if ${lt_cv_path_NM+:} false; then :
5838  $as_echo_n "(cached) " >&6
5839else
5840  if test -n "$NM"; then
5841  # Let the user override the test.
5842  lt_cv_path_NM=$NM
5843else
5844  lt_nm_to_check=${ac_tool_prefix}nm
5845  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5846    lt_nm_to_check="$lt_nm_to_check nm"
5847  fi
5848  for lt_tmp_nm in $lt_nm_to_check; do
5849    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5850    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5851      IFS=$lt_save_ifs
5852      test -z "$ac_dir" && ac_dir=.
5853      tmp_nm=$ac_dir/$lt_tmp_nm
5854      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5855	# Check to see if the nm accepts a BSD-compat flag.
5856	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5857	#   nm: unknown option "B" ignored
5858	# Tru64's nm complains that /dev/null is an invalid object file
5859	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5860	case $build_os in
5861	mingw*) lt_bad_file=conftest.nm/nofile ;;
5862	*) lt_bad_file=/dev/null ;;
5863	esac
5864	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5865	*$lt_bad_file* | *'Invalid file or object type'*)
5866	  lt_cv_path_NM="$tmp_nm -B"
5867	  break 2
5868	  ;;
5869	*)
5870	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5871	  */dev/null*)
5872	    lt_cv_path_NM="$tmp_nm -p"
5873	    break 2
5874	    ;;
5875	  *)
5876	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5877	    continue # so that we can try to find one that supports BSD flags
5878	    ;;
5879	  esac
5880	  ;;
5881	esac
5882      fi
5883    done
5884    IFS=$lt_save_ifs
5885  done
5886  : ${lt_cv_path_NM=no}
5887fi
5888fi
5889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5890$as_echo "$lt_cv_path_NM" >&6; }
5891if test no != "$lt_cv_path_NM"; then
5892  NM=$lt_cv_path_NM
5893else
5894  # Didn't find any BSD compatible name lister, look for dumpbin.
5895  if test -n "$DUMPBIN"; then :
5896    # Let the user override the test.
5897  else
5898    if test -n "$ac_tool_prefix"; then
5899  for ac_prog in dumpbin "link -dump"
5900  do
5901    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5902set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5904$as_echo_n "checking for $ac_word... " >&6; }
5905if ${ac_cv_prog_DUMPBIN+:} false; then :
5906  $as_echo_n "(cached) " >&6
5907else
5908  if test -n "$DUMPBIN"; then
5909  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5910else
5911as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912for as_dir in $PATH
5913do
5914  IFS=$as_save_IFS
5915  test -z "$as_dir" && as_dir=.
5916    for ac_exec_ext in '' $ac_executable_extensions; do
5917  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5918    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5919    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5920    break 2
5921  fi
5922done
5923  done
5924IFS=$as_save_IFS
5925
5926fi
5927fi
5928DUMPBIN=$ac_cv_prog_DUMPBIN
5929if test -n "$DUMPBIN"; then
5930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5931$as_echo "$DUMPBIN" >&6; }
5932else
5933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5934$as_echo "no" >&6; }
5935fi
5936
5937
5938    test -n "$DUMPBIN" && break
5939  done
5940fi
5941if test -z "$DUMPBIN"; then
5942  ac_ct_DUMPBIN=$DUMPBIN
5943  for ac_prog in dumpbin "link -dump"
5944do
5945  # Extract the first word of "$ac_prog", so it can be a program name with args.
5946set dummy $ac_prog; ac_word=$2
5947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5948$as_echo_n "checking for $ac_word... " >&6; }
5949if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5950  $as_echo_n "(cached) " >&6
5951else
5952  if test -n "$ac_ct_DUMPBIN"; then
5953  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5954else
5955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956for as_dir in $PATH
5957do
5958  IFS=$as_save_IFS
5959  test -z "$as_dir" && as_dir=.
5960    for ac_exec_ext in '' $ac_executable_extensions; do
5961  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5963    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5964    break 2
5965  fi
5966done
5967  done
5968IFS=$as_save_IFS
5969
5970fi
5971fi
5972ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5973if test -n "$ac_ct_DUMPBIN"; then
5974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5975$as_echo "$ac_ct_DUMPBIN" >&6; }
5976else
5977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978$as_echo "no" >&6; }
5979fi
5980
5981
5982  test -n "$ac_ct_DUMPBIN" && break
5983done
5984
5985  if test "x$ac_ct_DUMPBIN" = x; then
5986    DUMPBIN=":"
5987  else
5988    case $cross_compiling:$ac_tool_warned in
5989yes:)
5990{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5991$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5992ac_tool_warned=yes ;;
5993esac
5994    DUMPBIN=$ac_ct_DUMPBIN
5995  fi
5996fi
5997
5998    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5999    *COFF*)
6000      DUMPBIN="$DUMPBIN -symbols -headers"
6001      ;;
6002    *)
6003      DUMPBIN=:
6004      ;;
6005    esac
6006  fi
6007
6008  if test : != "$DUMPBIN"; then
6009    NM=$DUMPBIN
6010  fi
6011fi
6012test -z "$NM" && NM=nm
6013
6014
6015
6016
6017
6018
6019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6020$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6021if ${lt_cv_nm_interface+:} false; then :
6022  $as_echo_n "(cached) " >&6
6023else
6024  lt_cv_nm_interface="BSD nm"
6025  echo "int some_variable = 0;" > conftest.$ac_ext
6026  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6027  (eval "$ac_compile" 2>conftest.err)
6028  cat conftest.err >&5
6029  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6030  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6031  cat conftest.err >&5
6032  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6033  cat conftest.out >&5
6034  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6035    lt_cv_nm_interface="MS dumpbin"
6036  fi
6037  rm -f conftest*
6038fi
6039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6040$as_echo "$lt_cv_nm_interface" >&6; }
6041
6042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6043$as_echo_n "checking whether ln -s works... " >&6; }
6044LN_S=$as_ln_s
6045if test "$LN_S" = "ln -s"; then
6046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6047$as_echo "yes" >&6; }
6048else
6049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6050$as_echo "no, using $LN_S" >&6; }
6051fi
6052
6053# find the maximum length of command line arguments
6054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6055$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6056if ${lt_cv_sys_max_cmd_len+:} false; then :
6057  $as_echo_n "(cached) " >&6
6058else
6059    i=0
6060  teststring=ABCD
6061
6062  case $build_os in
6063  msdosdjgpp*)
6064    # On DJGPP, this test can blow up pretty badly due to problems in libc
6065    # (any single argument exceeding 2000 bytes causes a buffer overrun
6066    # during glob expansion).  Even if it were fixed, the result of this
6067    # check would be larger than it should be.
6068    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6069    ;;
6070
6071  gnu*)
6072    # Under GNU Hurd, this test is not required because there is
6073    # no limit to the length of command line arguments.
6074    # Libtool will interpret -1 as no limit whatsoever
6075    lt_cv_sys_max_cmd_len=-1;
6076    ;;
6077
6078  cygwin* | mingw* | cegcc*)
6079    # On Win9x/ME, this test blows up -- it succeeds, but takes
6080    # about 5 minutes as the teststring grows exponentially.
6081    # Worse, since 9x/ME are not pre-emptively multitasking,
6082    # you end up with a "frozen" computer, even though with patience
6083    # the test eventually succeeds (with a max line length of 256k).
6084    # Instead, let's just punt: use the minimum linelength reported by
6085    # all of the supported platforms: 8192 (on NT/2K/XP).
6086    lt_cv_sys_max_cmd_len=8192;
6087    ;;
6088
6089  mint*)
6090    # On MiNT this can take a long time and run out of memory.
6091    lt_cv_sys_max_cmd_len=8192;
6092    ;;
6093
6094  amigaos*)
6095    # On AmigaOS with pdksh, this test takes hours, literally.
6096    # So we just punt and use a minimum line length of 8192.
6097    lt_cv_sys_max_cmd_len=8192;
6098    ;;
6099
6100  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6101    # This has been around since 386BSD, at least.  Likely further.
6102    if test -x /sbin/sysctl; then
6103      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6104    elif test -x /usr/sbin/sysctl; then
6105      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6106    else
6107      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6108    fi
6109    # And add a safety zone
6110    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6111    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6112    ;;
6113
6114  interix*)
6115    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6116    lt_cv_sys_max_cmd_len=196608
6117    ;;
6118
6119  os2*)
6120    # The test takes a long time on OS/2.
6121    lt_cv_sys_max_cmd_len=8192
6122    ;;
6123
6124  osf*)
6125    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6126    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6127    # nice to cause kernel panics so lets avoid the loop below.
6128    # First set a reasonable default.
6129    lt_cv_sys_max_cmd_len=16384
6130    #
6131    if test -x /sbin/sysconfig; then
6132      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6133        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6134      esac
6135    fi
6136    ;;
6137  sco3.2v5*)
6138    lt_cv_sys_max_cmd_len=102400
6139    ;;
6140  sysv5* | sco5v6* | sysv4.2uw2*)
6141    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6142    if test -n "$kargmax"; then
6143      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6144    else
6145      lt_cv_sys_max_cmd_len=32768
6146    fi
6147    ;;
6148  *)
6149    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6150    if test -n "$lt_cv_sys_max_cmd_len" && \
6151       test undefined != "$lt_cv_sys_max_cmd_len"; then
6152      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6153      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6154    else
6155      # Make teststring a little bigger before we do anything with it.
6156      # a 1K string should be a reasonable start.
6157      for i in 1 2 3 4 5 6 7 8; do
6158        teststring=$teststring$teststring
6159      done
6160      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6161      # If test is not a shell built-in, we'll probably end up computing a
6162      # maximum length that is only half of the actual maximum length, but
6163      # we can't tell.
6164      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6165	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6166	      test 17 != "$i" # 1/2 MB should be enough
6167      do
6168        i=`expr $i + 1`
6169        teststring=$teststring$teststring
6170      done
6171      # Only check the string length outside the loop.
6172      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6173      teststring=
6174      # Add a significant safety factor because C++ compilers can tack on
6175      # massive amounts of additional arguments before passing them to the
6176      # linker.  It appears as though 1/2 is a usable value.
6177      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6178    fi
6179    ;;
6180  esac
6181
6182fi
6183
6184if test -n "$lt_cv_sys_max_cmd_len"; then
6185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6186$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6187else
6188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6189$as_echo "none" >&6; }
6190fi
6191max_cmd_len=$lt_cv_sys_max_cmd_len
6192
6193
6194
6195
6196
6197
6198: ${CP="cp -f"}
6199: ${MV="mv -f"}
6200: ${RM="rm -f"}
6201
6202if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6203  lt_unset=unset
6204else
6205  lt_unset=false
6206fi
6207
6208
6209
6210
6211
6212# test EBCDIC or ASCII
6213case `echo X|tr X '\101'` in
6214 A) # ASCII based system
6215    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6216  lt_SP2NL='tr \040 \012'
6217  lt_NL2SP='tr \015\012 \040\040'
6218  ;;
6219 *) # EBCDIC based system
6220  lt_SP2NL='tr \100 \n'
6221  lt_NL2SP='tr \r\n \100\100'
6222  ;;
6223esac
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6234$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6235if ${lt_cv_to_host_file_cmd+:} false; then :
6236  $as_echo_n "(cached) " >&6
6237else
6238  case $host in
6239  *-*-mingw* )
6240    case $build in
6241      *-*-mingw* ) # actually msys
6242        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6243        ;;
6244      *-*-cygwin* )
6245        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6246        ;;
6247      * ) # otherwise, assume *nix
6248        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6249        ;;
6250    esac
6251    ;;
6252  *-*-cygwin* )
6253    case $build in
6254      *-*-mingw* ) # actually msys
6255        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6256        ;;
6257      *-*-cygwin* )
6258        lt_cv_to_host_file_cmd=func_convert_file_noop
6259        ;;
6260      * ) # otherwise, assume *nix
6261        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6262        ;;
6263    esac
6264    ;;
6265  * ) # unhandled hosts (and "normal" native builds)
6266    lt_cv_to_host_file_cmd=func_convert_file_noop
6267    ;;
6268esac
6269
6270fi
6271
6272to_host_file_cmd=$lt_cv_to_host_file_cmd
6273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6274$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6275
6276
6277
6278
6279
6280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6281$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6282if ${lt_cv_to_tool_file_cmd+:} false; then :
6283  $as_echo_n "(cached) " >&6
6284else
6285  #assume ordinary cross tools, or native build.
6286lt_cv_to_tool_file_cmd=func_convert_file_noop
6287case $host in
6288  *-*-mingw* )
6289    case $build in
6290      *-*-mingw* ) # actually msys
6291        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6292        ;;
6293    esac
6294    ;;
6295esac
6296
6297fi
6298
6299to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6301$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6302
6303
6304
6305
6306
6307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6308$as_echo_n "checking for $LD option to reload object files... " >&6; }
6309if ${lt_cv_ld_reload_flag+:} false; then :
6310  $as_echo_n "(cached) " >&6
6311else
6312  lt_cv_ld_reload_flag='-r'
6313fi
6314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6315$as_echo "$lt_cv_ld_reload_flag" >&6; }
6316reload_flag=$lt_cv_ld_reload_flag
6317case $reload_flag in
6318"" | " "*) ;;
6319*) reload_flag=" $reload_flag" ;;
6320esac
6321reload_cmds='$LD$reload_flag -o $output$reload_objs'
6322case $host_os in
6323  cygwin* | mingw* | pw32* | cegcc*)
6324    if test yes != "$GCC"; then
6325      reload_cmds=false
6326    fi
6327    ;;
6328  darwin*)
6329    if test yes = "$GCC"; then
6330      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6331    else
6332      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6333    fi
6334    ;;
6335esac
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345if test -n "$ac_tool_prefix"; then
6346  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6347set dummy ${ac_tool_prefix}objdump; ac_word=$2
6348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6349$as_echo_n "checking for $ac_word... " >&6; }
6350if ${ac_cv_prog_OBJDUMP+:} false; then :
6351  $as_echo_n "(cached) " >&6
6352else
6353  if test -n "$OBJDUMP"; then
6354  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6355else
6356as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6357for as_dir in $PATH
6358do
6359  IFS=$as_save_IFS
6360  test -z "$as_dir" && as_dir=.
6361    for ac_exec_ext in '' $ac_executable_extensions; do
6362  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6363    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6364    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6365    break 2
6366  fi
6367done
6368  done
6369IFS=$as_save_IFS
6370
6371fi
6372fi
6373OBJDUMP=$ac_cv_prog_OBJDUMP
6374if test -n "$OBJDUMP"; then
6375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6376$as_echo "$OBJDUMP" >&6; }
6377else
6378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6379$as_echo "no" >&6; }
6380fi
6381
6382
6383fi
6384if test -z "$ac_cv_prog_OBJDUMP"; then
6385  ac_ct_OBJDUMP=$OBJDUMP
6386  # Extract the first word of "objdump", so it can be a program name with args.
6387set dummy objdump; ac_word=$2
6388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6389$as_echo_n "checking for $ac_word... " >&6; }
6390if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6391  $as_echo_n "(cached) " >&6
6392else
6393  if test -n "$ac_ct_OBJDUMP"; then
6394  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6395else
6396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6397for as_dir in $PATH
6398do
6399  IFS=$as_save_IFS
6400  test -z "$as_dir" && as_dir=.
6401    for ac_exec_ext in '' $ac_executable_extensions; do
6402  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6403    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6404    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6405    break 2
6406  fi
6407done
6408  done
6409IFS=$as_save_IFS
6410
6411fi
6412fi
6413ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6414if test -n "$ac_ct_OBJDUMP"; then
6415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6416$as_echo "$ac_ct_OBJDUMP" >&6; }
6417else
6418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6419$as_echo "no" >&6; }
6420fi
6421
6422  if test "x$ac_ct_OBJDUMP" = x; then
6423    OBJDUMP="false"
6424  else
6425    case $cross_compiling:$ac_tool_warned in
6426yes:)
6427{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6428$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6429ac_tool_warned=yes ;;
6430esac
6431    OBJDUMP=$ac_ct_OBJDUMP
6432  fi
6433else
6434  OBJDUMP="$ac_cv_prog_OBJDUMP"
6435fi
6436
6437test -z "$OBJDUMP" && OBJDUMP=objdump
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6448$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6449if ${lt_cv_deplibs_check_method+:} false; then :
6450  $as_echo_n "(cached) " >&6
6451else
6452  lt_cv_file_magic_cmd='$MAGIC_CMD'
6453lt_cv_file_magic_test_file=
6454lt_cv_deplibs_check_method='unknown'
6455# Need to set the preceding variable on all platforms that support
6456# interlibrary dependencies.
6457# 'none' -- dependencies not supported.
6458# 'unknown' -- same as none, but documents that we really don't know.
6459# 'pass_all' -- all dependencies passed with no checks.
6460# 'test_compile' -- check by making test program.
6461# 'file_magic [[regex]]' -- check by looking for files in library path
6462# that responds to the $file_magic_cmd with a given extended regex.
6463# If you have 'file' or equivalent on your system and you're not sure
6464# whether 'pass_all' will *always* work, you probably want this one.
6465
6466case $host_os in
6467aix[4-9]*)
6468  lt_cv_deplibs_check_method=pass_all
6469  ;;
6470
6471beos*)
6472  lt_cv_deplibs_check_method=pass_all
6473  ;;
6474
6475bsdi[45]*)
6476  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6477  lt_cv_file_magic_cmd='/usr/bin/file -L'
6478  lt_cv_file_magic_test_file=/shlib/libc.so
6479  ;;
6480
6481cygwin*)
6482  # func_win32_libid is a shell function defined in ltmain.sh
6483  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6484  lt_cv_file_magic_cmd='func_win32_libid'
6485  ;;
6486
6487mingw* | pw32*)
6488  # Base MSYS/MinGW do not provide the 'file' command needed by
6489  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6490  # unless we find 'file', for example because we are cross-compiling.
6491  if ( file / ) >/dev/null 2>&1; then
6492    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6493    lt_cv_file_magic_cmd='func_win32_libid'
6494  else
6495    # Keep this pattern in sync with the one in func_win32_libid.
6496    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6497    lt_cv_file_magic_cmd='$OBJDUMP -f'
6498  fi
6499  ;;
6500
6501cegcc*)
6502  # use the weaker test based on 'objdump'. See mingw*.
6503  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6504  lt_cv_file_magic_cmd='$OBJDUMP -f'
6505  ;;
6506
6507darwin* | rhapsody*)
6508  lt_cv_deplibs_check_method=pass_all
6509  ;;
6510
6511freebsd* | dragonfly*)
6512  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6513    case $host_cpu in
6514    i*86 )
6515      # Not sure whether the presence of OpenBSD here was a mistake.
6516      # Let's accept both of them until this is cleared up.
6517      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6518      lt_cv_file_magic_cmd=/usr/bin/file
6519      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6520      ;;
6521    esac
6522  else
6523    lt_cv_deplibs_check_method=pass_all
6524  fi
6525  ;;
6526
6527haiku*)
6528  lt_cv_deplibs_check_method=pass_all
6529  ;;
6530
6531hpux10.20* | hpux11*)
6532  lt_cv_file_magic_cmd=/usr/bin/file
6533  case $host_cpu in
6534  ia64*)
6535    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6536    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6537    ;;
6538  hppa*64*)
6539    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]'
6540    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6541    ;;
6542  *)
6543    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6544    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6545    ;;
6546  esac
6547  ;;
6548
6549interix[3-9]*)
6550  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6551  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6552  ;;
6553
6554irix5* | irix6* | nonstopux*)
6555  case $LD in
6556  *-32|*"-32 ") libmagic=32-bit;;
6557  *-n32|*"-n32 ") libmagic=N32;;
6558  *-64|*"-64 ") libmagic=64-bit;;
6559  *) libmagic=never-match;;
6560  esac
6561  lt_cv_deplibs_check_method=pass_all
6562  ;;
6563
6564# This must be glibc/ELF.
6565linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6566  lt_cv_deplibs_check_method=pass_all
6567  ;;
6568
6569netbsd*)
6570  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6571    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6572  else
6573    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6574  fi
6575  ;;
6576
6577newos6*)
6578  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6579  lt_cv_file_magic_cmd=/usr/bin/file
6580  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6581  ;;
6582
6583*nto* | *qnx*)
6584  lt_cv_deplibs_check_method=pass_all
6585  ;;
6586
6587openbsd* | bitrig*)
6588  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6589    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6590  else
6591    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6592  fi
6593  ;;
6594
6595osf3* | osf4* | osf5*)
6596  lt_cv_deplibs_check_method=pass_all
6597  ;;
6598
6599rdos*)
6600  lt_cv_deplibs_check_method=pass_all
6601  ;;
6602
6603solaris*)
6604  lt_cv_deplibs_check_method=pass_all
6605  ;;
6606
6607sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6608  lt_cv_deplibs_check_method=pass_all
6609  ;;
6610
6611sysv4 | sysv4.3*)
6612  case $host_vendor in
6613  motorola)
6614    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]'
6615    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6616    ;;
6617  ncr)
6618    lt_cv_deplibs_check_method=pass_all
6619    ;;
6620  sequent)
6621    lt_cv_file_magic_cmd='/bin/file'
6622    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6623    ;;
6624  sni)
6625    lt_cv_file_magic_cmd='/bin/file'
6626    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6627    lt_cv_file_magic_test_file=/lib/libc.so
6628    ;;
6629  siemens)
6630    lt_cv_deplibs_check_method=pass_all
6631    ;;
6632  pc)
6633    lt_cv_deplibs_check_method=pass_all
6634    ;;
6635  esac
6636  ;;
6637
6638tpf*)
6639  lt_cv_deplibs_check_method=pass_all
6640  ;;
6641os2*)
6642  lt_cv_deplibs_check_method=pass_all
6643  ;;
6644esac
6645
6646fi
6647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6648$as_echo "$lt_cv_deplibs_check_method" >&6; }
6649
6650file_magic_glob=
6651want_nocaseglob=no
6652if test "$build" = "$host"; then
6653  case $host_os in
6654  mingw* | pw32*)
6655    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6656      want_nocaseglob=yes
6657    else
6658      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6659    fi
6660    ;;
6661  esac
6662fi
6663
6664file_magic_cmd=$lt_cv_file_magic_cmd
6665deplibs_check_method=$lt_cv_deplibs_check_method
6666test -z "$deplibs_check_method" && deplibs_check_method=unknown
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689if test -n "$ac_tool_prefix"; then
6690  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6691set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6693$as_echo_n "checking for $ac_word... " >&6; }
6694if ${ac_cv_prog_DLLTOOL+:} false; then :
6695  $as_echo_n "(cached) " >&6
6696else
6697  if test -n "$DLLTOOL"; then
6698  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6699else
6700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6701for as_dir in $PATH
6702do
6703  IFS=$as_save_IFS
6704  test -z "$as_dir" && as_dir=.
6705    for ac_exec_ext in '' $ac_executable_extensions; do
6706  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6707    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6708    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709    break 2
6710  fi
6711done
6712  done
6713IFS=$as_save_IFS
6714
6715fi
6716fi
6717DLLTOOL=$ac_cv_prog_DLLTOOL
6718if test -n "$DLLTOOL"; then
6719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6720$as_echo "$DLLTOOL" >&6; }
6721else
6722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723$as_echo "no" >&6; }
6724fi
6725
6726
6727fi
6728if test -z "$ac_cv_prog_DLLTOOL"; then
6729  ac_ct_DLLTOOL=$DLLTOOL
6730  # Extract the first word of "dlltool", so it can be a program name with args.
6731set dummy dlltool; ac_word=$2
6732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733$as_echo_n "checking for $ac_word... " >&6; }
6734if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6735  $as_echo_n "(cached) " >&6
6736else
6737  if test -n "$ac_ct_DLLTOOL"; then
6738  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6739else
6740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741for as_dir in $PATH
6742do
6743  IFS=$as_save_IFS
6744  test -z "$as_dir" && as_dir=.
6745    for ac_exec_ext in '' $ac_executable_extensions; do
6746  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6747    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6748    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6749    break 2
6750  fi
6751done
6752  done
6753IFS=$as_save_IFS
6754
6755fi
6756fi
6757ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6758if test -n "$ac_ct_DLLTOOL"; then
6759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6760$as_echo "$ac_ct_DLLTOOL" >&6; }
6761else
6762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6763$as_echo "no" >&6; }
6764fi
6765
6766  if test "x$ac_ct_DLLTOOL" = x; then
6767    DLLTOOL="false"
6768  else
6769    case $cross_compiling:$ac_tool_warned in
6770yes:)
6771{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6772$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6773ac_tool_warned=yes ;;
6774esac
6775    DLLTOOL=$ac_ct_DLLTOOL
6776  fi
6777else
6778  DLLTOOL="$ac_cv_prog_DLLTOOL"
6779fi
6780
6781test -z "$DLLTOOL" && DLLTOOL=dlltool
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6793$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6794if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6795  $as_echo_n "(cached) " >&6
6796else
6797  lt_cv_sharedlib_from_linklib_cmd='unknown'
6798
6799case $host_os in
6800cygwin* | mingw* | pw32* | cegcc*)
6801  # two different shell functions defined in ltmain.sh;
6802  # decide which one to use based on capabilities of $DLLTOOL
6803  case `$DLLTOOL --help 2>&1` in
6804  *--identify-strict*)
6805    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6806    ;;
6807  *)
6808    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6809    ;;
6810  esac
6811  ;;
6812*)
6813  # fallback: assume linklib IS sharedlib
6814  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6815  ;;
6816esac
6817
6818fi
6819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6820$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6821sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6822test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6823
6824
6825
6826
6827
6828
6829
6830if test -n "$ac_tool_prefix"; then
6831  for ac_prog in ar
6832  do
6833    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6834set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6836$as_echo_n "checking for $ac_word... " >&6; }
6837if ${ac_cv_prog_AR+:} false; then :
6838  $as_echo_n "(cached) " >&6
6839else
6840  if test -n "$AR"; then
6841  ac_cv_prog_AR="$AR" # Let the user override the test.
6842else
6843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844for as_dir in $PATH
6845do
6846  IFS=$as_save_IFS
6847  test -z "$as_dir" && as_dir=.
6848    for ac_exec_ext in '' $ac_executable_extensions; do
6849  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6850    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6851    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6852    break 2
6853  fi
6854done
6855  done
6856IFS=$as_save_IFS
6857
6858fi
6859fi
6860AR=$ac_cv_prog_AR
6861if test -n "$AR"; then
6862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6863$as_echo "$AR" >&6; }
6864else
6865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6866$as_echo "no" >&6; }
6867fi
6868
6869
6870    test -n "$AR" && break
6871  done
6872fi
6873if test -z "$AR"; then
6874  ac_ct_AR=$AR
6875  for ac_prog in ar
6876do
6877  # Extract the first word of "$ac_prog", so it can be a program name with args.
6878set dummy $ac_prog; ac_word=$2
6879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880$as_echo_n "checking for $ac_word... " >&6; }
6881if ${ac_cv_prog_ac_ct_AR+:} false; then :
6882  $as_echo_n "(cached) " >&6
6883else
6884  if test -n "$ac_ct_AR"; then
6885  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6886else
6887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6888for as_dir in $PATH
6889do
6890  IFS=$as_save_IFS
6891  test -z "$as_dir" && as_dir=.
6892    for ac_exec_ext in '' $ac_executable_extensions; do
6893  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6894    ac_cv_prog_ac_ct_AR="$ac_prog"
6895    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896    break 2
6897  fi
6898done
6899  done
6900IFS=$as_save_IFS
6901
6902fi
6903fi
6904ac_ct_AR=$ac_cv_prog_ac_ct_AR
6905if test -n "$ac_ct_AR"; then
6906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6907$as_echo "$ac_ct_AR" >&6; }
6908else
6909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910$as_echo "no" >&6; }
6911fi
6912
6913
6914  test -n "$ac_ct_AR" && break
6915done
6916
6917  if test "x$ac_ct_AR" = x; then
6918    AR="false"
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    AR=$ac_ct_AR
6927  fi
6928fi
6929
6930: ${AR=ar}
6931: ${AR_FLAGS=cru}
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6944$as_echo_n "checking for archiver @FILE support... " >&6; }
6945if ${lt_cv_ar_at_file+:} false; then :
6946  $as_echo_n "(cached) " >&6
6947else
6948  lt_cv_ar_at_file=no
6949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6950/* end confdefs.h.  */
6951
6952int
6953main ()
6954{
6955
6956  ;
6957  return 0;
6958}
6959_ACEOF
6960if ac_fn_c_try_compile "$LINENO"; then :
6961  echo conftest.$ac_objext > conftest.lst
6962      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6963      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6964  (eval $lt_ar_try) 2>&5
6965  ac_status=$?
6966  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6967  test $ac_status = 0; }
6968      if test 0 -eq "$ac_status"; then
6969	# Ensure the archiver fails upon bogus file names.
6970	rm -f conftest.$ac_objext libconftest.a
6971	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6972  (eval $lt_ar_try) 2>&5
6973  ac_status=$?
6974  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6975  test $ac_status = 0; }
6976	if test 0 -ne "$ac_status"; then
6977          lt_cv_ar_at_file=@
6978        fi
6979      fi
6980      rm -f conftest.* libconftest.a
6981
6982fi
6983rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6984
6985fi
6986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6987$as_echo "$lt_cv_ar_at_file" >&6; }
6988
6989if test no = "$lt_cv_ar_at_file"; then
6990  archiver_list_spec=
6991else
6992  archiver_list_spec=$lt_cv_ar_at_file
6993fi
6994
6995
6996
6997
6998
6999
7000
7001if test -n "$ac_tool_prefix"; then
7002  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7003set dummy ${ac_tool_prefix}strip; ac_word=$2
7004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005$as_echo_n "checking for $ac_word... " >&6; }
7006if ${ac_cv_prog_STRIP+:} false; then :
7007  $as_echo_n "(cached) " >&6
7008else
7009  if test -n "$STRIP"; then
7010  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7011else
7012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013for as_dir in $PATH
7014do
7015  IFS=$as_save_IFS
7016  test -z "$as_dir" && as_dir=.
7017    for ac_exec_ext in '' $ac_executable_extensions; do
7018  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7019    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7020    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7021    break 2
7022  fi
7023done
7024  done
7025IFS=$as_save_IFS
7026
7027fi
7028fi
7029STRIP=$ac_cv_prog_STRIP
7030if test -n "$STRIP"; then
7031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7032$as_echo "$STRIP" >&6; }
7033else
7034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035$as_echo "no" >&6; }
7036fi
7037
7038
7039fi
7040if test -z "$ac_cv_prog_STRIP"; then
7041  ac_ct_STRIP=$STRIP
7042  # Extract the first word of "strip", so it can be a program name with args.
7043set dummy strip; ac_word=$2
7044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7045$as_echo_n "checking for $ac_word... " >&6; }
7046if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7047  $as_echo_n "(cached) " >&6
7048else
7049  if test -n "$ac_ct_STRIP"; then
7050  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7051else
7052as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7053for as_dir in $PATH
7054do
7055  IFS=$as_save_IFS
7056  test -z "$as_dir" && as_dir=.
7057    for ac_exec_ext in '' $ac_executable_extensions; do
7058  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7059    ac_cv_prog_ac_ct_STRIP="strip"
7060    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7061    break 2
7062  fi
7063done
7064  done
7065IFS=$as_save_IFS
7066
7067fi
7068fi
7069ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7070if test -n "$ac_ct_STRIP"; then
7071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7072$as_echo "$ac_ct_STRIP" >&6; }
7073else
7074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7075$as_echo "no" >&6; }
7076fi
7077
7078  if test "x$ac_ct_STRIP" = x; then
7079    STRIP=":"
7080  else
7081    case $cross_compiling:$ac_tool_warned in
7082yes:)
7083{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7084$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7085ac_tool_warned=yes ;;
7086esac
7087    STRIP=$ac_ct_STRIP
7088  fi
7089else
7090  STRIP="$ac_cv_prog_STRIP"
7091fi
7092
7093test -z "$STRIP" && STRIP=:
7094
7095
7096
7097
7098
7099
7100if test -n "$ac_tool_prefix"; then
7101  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7102set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104$as_echo_n "checking for $ac_word... " >&6; }
7105if ${ac_cv_prog_RANLIB+:} false; then :
7106  $as_echo_n "(cached) " >&6
7107else
7108  if test -n "$RANLIB"; then
7109  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7110else
7111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112for as_dir in $PATH
7113do
7114  IFS=$as_save_IFS
7115  test -z "$as_dir" && as_dir=.
7116    for ac_exec_ext in '' $ac_executable_extensions; do
7117  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7118    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7119    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120    break 2
7121  fi
7122done
7123  done
7124IFS=$as_save_IFS
7125
7126fi
7127fi
7128RANLIB=$ac_cv_prog_RANLIB
7129if test -n "$RANLIB"; then
7130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7131$as_echo "$RANLIB" >&6; }
7132else
7133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134$as_echo "no" >&6; }
7135fi
7136
7137
7138fi
7139if test -z "$ac_cv_prog_RANLIB"; then
7140  ac_ct_RANLIB=$RANLIB
7141  # Extract the first word of "ranlib", so it can be a program name with args.
7142set dummy ranlib; ac_word=$2
7143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144$as_echo_n "checking for $ac_word... " >&6; }
7145if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7146  $as_echo_n "(cached) " >&6
7147else
7148  if test -n "$ac_ct_RANLIB"; then
7149  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7150else
7151as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7152for as_dir in $PATH
7153do
7154  IFS=$as_save_IFS
7155  test -z "$as_dir" && as_dir=.
7156    for ac_exec_ext in '' $ac_executable_extensions; do
7157  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158    ac_cv_prog_ac_ct_RANLIB="ranlib"
7159    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160    break 2
7161  fi
7162done
7163  done
7164IFS=$as_save_IFS
7165
7166fi
7167fi
7168ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7169if test -n "$ac_ct_RANLIB"; then
7170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7171$as_echo "$ac_ct_RANLIB" >&6; }
7172else
7173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174$as_echo "no" >&6; }
7175fi
7176
7177  if test "x$ac_ct_RANLIB" = x; then
7178    RANLIB=":"
7179  else
7180    case $cross_compiling:$ac_tool_warned in
7181yes:)
7182{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7183$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7184ac_tool_warned=yes ;;
7185esac
7186    RANLIB=$ac_ct_RANLIB
7187  fi
7188else
7189  RANLIB="$ac_cv_prog_RANLIB"
7190fi
7191
7192test -z "$RANLIB" && RANLIB=:
7193
7194
7195
7196
7197
7198
7199# Determine commands to create old-style static archives.
7200old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7201old_postinstall_cmds='chmod 644 $oldlib'
7202old_postuninstall_cmds=
7203
7204if test -n "$RANLIB"; then
7205  case $host_os in
7206  bitrig* | openbsd*)
7207    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7208    ;;
7209  *)
7210    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7211    ;;
7212  esac
7213  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7214fi
7215
7216case $host_os in
7217  darwin*)
7218    lock_old_archive_extraction=yes ;;
7219  *)
7220    lock_old_archive_extraction=no ;;
7221esac
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261# If no C compiler was specified, use CC.
7262LTCC=${LTCC-"$CC"}
7263
7264# If no C compiler flags were specified, use CFLAGS.
7265LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7266
7267# Allow CC to be a program name with arguments.
7268compiler=$CC
7269
7270
7271# Check for command to grab the raw symbol name followed by C symbol from nm.
7272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7273$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7274if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7275  $as_echo_n "(cached) " >&6
7276else
7277
7278# These are sane defaults that work on at least a few old systems.
7279# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7280
7281# Character class describing NM global symbol codes.
7282symcode='[BCDEGRST]'
7283
7284# Regexp to match symbols that can be accessed directly from C.
7285sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7286
7287# Define system-specific variables.
7288case $host_os in
7289aix*)
7290  symcode='[BCDT]'
7291  ;;
7292cygwin* | mingw* | pw32* | cegcc*)
7293  symcode='[ABCDGISTW]'
7294  ;;
7295hpux*)
7296  if test ia64 = "$host_cpu"; then
7297    symcode='[ABCDEGRST]'
7298  fi
7299  ;;
7300irix* | nonstopux*)
7301  symcode='[BCDEGRST]'
7302  ;;
7303osf*)
7304  symcode='[BCDEGQRST]'
7305  ;;
7306solaris*)
7307  symcode='[BDRT]'
7308  ;;
7309sco3.2v5*)
7310  symcode='[DT]'
7311  ;;
7312sysv4.2uw2*)
7313  symcode='[DT]'
7314  ;;
7315sysv5* | sco5v6* | unixware* | OpenUNIX*)
7316  symcode='[ABDT]'
7317  ;;
7318sysv4)
7319  symcode='[DFNSTU]'
7320  ;;
7321esac
7322
7323# If we're using GNU nm, then use its standard symbol codes.
7324case `$NM -V 2>&1` in
7325*GNU* | *'with BFD'*)
7326  symcode='[ABCDGIRSTW]' ;;
7327esac
7328
7329if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7330  # Gets list of data symbols to import.
7331  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7332  # Adjust the below global symbol transforms to fixup imported variables.
7333  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7334  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7335  lt_c_name_lib_hook="\
7336  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7337  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7338else
7339  # Disable hooks by default.
7340  lt_cv_sys_global_symbol_to_import=
7341  lt_cdecl_hook=
7342  lt_c_name_hook=
7343  lt_c_name_lib_hook=
7344fi
7345
7346# Transform an extracted symbol line into a proper C declaration.
7347# Some systems (esp. on ia64) link data and code symbols differently,
7348# so use this general approach.
7349lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7350$lt_cdecl_hook\
7351" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7352" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7353
7354# Transform an extracted symbol line into symbol name and symbol address
7355lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7356$lt_c_name_hook\
7357" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7358" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7359
7360# Transform an extracted symbol line into symbol name with lib prefix and
7361# symbol address.
7362lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7363$lt_c_name_lib_hook\
7364" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7365" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7366" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7367
7368# Handle CRLF in mingw tool chain
7369opt_cr=
7370case $build_os in
7371mingw*)
7372  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7373  ;;
7374esac
7375
7376# Try without a prefix underscore, then with it.
7377for ac_symprfx in "" "_"; do
7378
7379  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7380  symxfrm="\\1 $ac_symprfx\\2 \\2"
7381
7382  # Write the raw and C identifiers.
7383  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7384    # Fake it for dumpbin and say T for any non-static function,
7385    # D for any global variable and I for any imported variable.
7386    # Also find C++ and __fastcall symbols from MSVC++,
7387    # which start with @ or ?.
7388    lt_cv_sys_global_symbol_pipe="$AWK '"\
7389"     {last_section=section; section=\$ 3};"\
7390"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7391"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7392"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7393"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7394"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7395"     \$ 0!~/External *\|/{next};"\
7396"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7397"     {if(hide[section]) next};"\
7398"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7399"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7400"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7401"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7402"     ' prfx=^$ac_symprfx"
7403  else
7404    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7405  fi
7406  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7407
7408  # Check to see that the pipe works correctly.
7409  pipe_works=no
7410
7411  rm -f conftest*
7412  cat > conftest.$ac_ext <<_LT_EOF
7413#ifdef __cplusplus
7414extern "C" {
7415#endif
7416char nm_test_var;
7417void nm_test_func(void);
7418void nm_test_func(void){}
7419#ifdef __cplusplus
7420}
7421#endif
7422int main(){nm_test_var='a';nm_test_func();return(0);}
7423_LT_EOF
7424
7425  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7426  (eval $ac_compile) 2>&5
7427  ac_status=$?
7428  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7429  test $ac_status = 0; }; then
7430    # Now try to grab the symbols.
7431    nlist=conftest.nm
7432    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7433  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7434  ac_status=$?
7435  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7436  test $ac_status = 0; } && test -s "$nlist"; then
7437      # Try sorting and uniquifying the output.
7438      if sort "$nlist" | uniq > "$nlist"T; then
7439	mv -f "$nlist"T "$nlist"
7440      else
7441	rm -f "$nlist"T
7442      fi
7443
7444      # Make sure that we snagged all the symbols we need.
7445      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7446	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7447	  cat <<_LT_EOF > conftest.$ac_ext
7448/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7449#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7450/* DATA imports from DLLs on WIN32 can't be const, because runtime
7451   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7452# define LT_DLSYM_CONST
7453#elif defined __osf__
7454/* This system does not cope well with relocations in const data.  */
7455# define LT_DLSYM_CONST
7456#else
7457# define LT_DLSYM_CONST const
7458#endif
7459
7460#ifdef __cplusplus
7461extern "C" {
7462#endif
7463
7464_LT_EOF
7465	  # Now generate the symbol file.
7466	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7467
7468	  cat <<_LT_EOF >> conftest.$ac_ext
7469
7470/* The mapping between symbol names and symbols.  */
7471LT_DLSYM_CONST struct {
7472  const char *name;
7473  void       *address;
7474}
7475lt__PROGRAM__LTX_preloaded_symbols[] =
7476{
7477  { "@PROGRAM@", (void *) 0 },
7478_LT_EOF
7479	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7480	  cat <<\_LT_EOF >> conftest.$ac_ext
7481  {0, (void *) 0}
7482};
7483
7484/* This works around a problem in FreeBSD linker */
7485#ifdef FREEBSD_WORKAROUND
7486static const void *lt_preloaded_setup() {
7487  return lt__PROGRAM__LTX_preloaded_symbols;
7488}
7489#endif
7490
7491#ifdef __cplusplus
7492}
7493#endif
7494_LT_EOF
7495	  # Now try linking the two files.
7496	  mv conftest.$ac_objext conftstm.$ac_objext
7497	  lt_globsym_save_LIBS=$LIBS
7498	  lt_globsym_save_CFLAGS=$CFLAGS
7499	  LIBS=conftstm.$ac_objext
7500	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7501	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7502  (eval $ac_link) 2>&5
7503  ac_status=$?
7504  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7505  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7506	    pipe_works=yes
7507	  fi
7508	  LIBS=$lt_globsym_save_LIBS
7509	  CFLAGS=$lt_globsym_save_CFLAGS
7510	else
7511	  echo "cannot find nm_test_func in $nlist" >&5
7512	fi
7513      else
7514	echo "cannot find nm_test_var in $nlist" >&5
7515      fi
7516    else
7517      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7518    fi
7519  else
7520    echo "$progname: failed program was:" >&5
7521    cat conftest.$ac_ext >&5
7522  fi
7523  rm -rf conftest* conftst*
7524
7525  # Do not use the global_symbol_pipe unless it works.
7526  if test yes = "$pipe_works"; then
7527    break
7528  else
7529    lt_cv_sys_global_symbol_pipe=
7530  fi
7531done
7532
7533fi
7534
7535if test -z "$lt_cv_sys_global_symbol_pipe"; then
7536  lt_cv_sys_global_symbol_to_cdecl=
7537fi
7538if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7540$as_echo "failed" >&6; }
7541else
7542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7543$as_echo "ok" >&6; }
7544fi
7545
7546# Response file support.
7547if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7548  nm_file_list_spec='@'
7549elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7550  nm_file_list_spec='@'
7551fi
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7590$as_echo_n "checking for sysroot... " >&6; }
7591
7592# Check whether --with-sysroot was given.
7593if test "${with_sysroot+set}" = set; then :
7594  withval=$with_sysroot;
7595else
7596  with_sysroot=no
7597fi
7598
7599
7600lt_sysroot=
7601case $with_sysroot in #(
7602 yes)
7603   if test yes = "$GCC"; then
7604     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7605   fi
7606   ;; #(
7607 /*)
7608   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7609   ;; #(
7610 no|'')
7611   ;; #(
7612 *)
7613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7614$as_echo "$with_sysroot" >&6; }
7615   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7616   ;;
7617esac
7618
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7620$as_echo "${lt_sysroot:-no}" >&6; }
7621
7622
7623
7624
7625
7626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7627$as_echo_n "checking for a working dd... " >&6; }
7628if ${ac_cv_path_lt_DD+:} false; then :
7629  $as_echo_n "(cached) " >&6
7630else
7631  printf 0123456789abcdef0123456789abcdef >conftest.i
7632cat conftest.i conftest.i >conftest2.i
7633: ${lt_DD:=$DD}
7634if test -z "$lt_DD"; then
7635  ac_path_lt_DD_found=false
7636  # Loop through the user's path and test for each of PROGNAME-LIST
7637  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7638for as_dir in $PATH
7639do
7640  IFS=$as_save_IFS
7641  test -z "$as_dir" && as_dir=.
7642    for ac_prog in dd; do
7643    for ac_exec_ext in '' $ac_executable_extensions; do
7644      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7645      as_fn_executable_p "$ac_path_lt_DD" || continue
7646if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7647  cmp -s conftest.i conftest.out \
7648  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7649fi
7650      $ac_path_lt_DD_found && break 3
7651    done
7652  done
7653  done
7654IFS=$as_save_IFS
7655  if test -z "$ac_cv_path_lt_DD"; then
7656    :
7657  fi
7658else
7659  ac_cv_path_lt_DD=$lt_DD
7660fi
7661
7662rm -f conftest.i conftest2.i conftest.out
7663fi
7664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7665$as_echo "$ac_cv_path_lt_DD" >&6; }
7666
7667
7668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7669$as_echo_n "checking how to truncate binary pipes... " >&6; }
7670if ${lt_cv_truncate_bin+:} false; then :
7671  $as_echo_n "(cached) " >&6
7672else
7673  printf 0123456789abcdef0123456789abcdef >conftest.i
7674cat conftest.i conftest.i >conftest2.i
7675lt_cv_truncate_bin=
7676if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7677  cmp -s conftest.i conftest.out \
7678  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7679fi
7680rm -f conftest.i conftest2.i conftest.out
7681test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7682fi
7683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7684$as_echo "$lt_cv_truncate_bin" >&6; }
7685
7686
7687
7688
7689
7690
7691
7692# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7693func_cc_basename ()
7694{
7695    for cc_temp in $*""; do
7696      case $cc_temp in
7697        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7698        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7699        \-*) ;;
7700        *) break;;
7701      esac
7702    done
7703    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7704}
7705
7706# Check whether --enable-libtool-lock was given.
7707if test "${enable_libtool_lock+set}" = set; then :
7708  enableval=$enable_libtool_lock;
7709fi
7710
7711test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7712
7713# Some flags need to be propagated to the compiler or linker for good
7714# libtool support.
7715case $host in
7716ia64-*-hpux*)
7717  # Find out what ABI is being produced by ac_compile, and set mode
7718  # options accordingly.
7719  echo 'int i;' > conftest.$ac_ext
7720  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7721  (eval $ac_compile) 2>&5
7722  ac_status=$?
7723  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7724  test $ac_status = 0; }; then
7725    case `/usr/bin/file conftest.$ac_objext` in
7726      *ELF-32*)
7727	HPUX_IA64_MODE=32
7728	;;
7729      *ELF-64*)
7730	HPUX_IA64_MODE=64
7731	;;
7732    esac
7733  fi
7734  rm -rf conftest*
7735  ;;
7736*-*-irix6*)
7737  # Find out what ABI is being produced by ac_compile, and set linker
7738  # options accordingly.
7739  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7740  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7741  (eval $ac_compile) 2>&5
7742  ac_status=$?
7743  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7744  test $ac_status = 0; }; then
7745    if test yes = "$lt_cv_prog_gnu_ld"; then
7746      case `/usr/bin/file conftest.$ac_objext` in
7747	*32-bit*)
7748	  LD="${LD-ld} -melf32bsmip"
7749	  ;;
7750	*N32*)
7751	  LD="${LD-ld} -melf32bmipn32"
7752	  ;;
7753	*64-bit*)
7754	  LD="${LD-ld} -melf64bmip"
7755	;;
7756      esac
7757    else
7758      case `/usr/bin/file conftest.$ac_objext` in
7759	*32-bit*)
7760	  LD="${LD-ld} -32"
7761	  ;;
7762	*N32*)
7763	  LD="${LD-ld} -n32"
7764	  ;;
7765	*64-bit*)
7766	  LD="${LD-ld} -64"
7767	  ;;
7768      esac
7769    fi
7770  fi
7771  rm -rf conftest*
7772  ;;
7773
7774mips64*-*linux*)
7775  # Find out what ABI is being produced by ac_compile, and set linker
7776  # options accordingly.
7777  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7778  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7779  (eval $ac_compile) 2>&5
7780  ac_status=$?
7781  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7782  test $ac_status = 0; }; then
7783    emul=elf
7784    case `/usr/bin/file conftest.$ac_objext` in
7785      *32-bit*)
7786	emul="${emul}32"
7787	;;
7788      *64-bit*)
7789	emul="${emul}64"
7790	;;
7791    esac
7792    case `/usr/bin/file conftest.$ac_objext` in
7793      *MSB*)
7794	emul="${emul}btsmip"
7795	;;
7796      *LSB*)
7797	emul="${emul}ltsmip"
7798	;;
7799    esac
7800    case `/usr/bin/file conftest.$ac_objext` in
7801      *N32*)
7802	emul="${emul}n32"
7803	;;
7804    esac
7805    LD="${LD-ld} -m $emul"
7806  fi
7807  rm -rf conftest*
7808  ;;
7809
7810x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7811s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7812  # Find out what ABI is being produced by ac_compile, and set linker
7813  # options accordingly.  Note that the listed cases only cover the
7814  # situations where additional linker options are needed (such as when
7815  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7816  # vice versa); the common cases where no linker options are needed do
7817  # not appear in the list.
7818  echo 'int i;' > conftest.$ac_ext
7819  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7820  (eval $ac_compile) 2>&5
7821  ac_status=$?
7822  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7823  test $ac_status = 0; }; then
7824    case `/usr/bin/file conftest.o` in
7825      *32-bit*)
7826	case $host in
7827	  x86_64-*kfreebsd*-gnu)
7828	    LD="${LD-ld} -m elf_i386_fbsd"
7829	    ;;
7830	  x86_64-*linux*)
7831	    case `/usr/bin/file conftest.o` in
7832	      *x86-64*)
7833		LD="${LD-ld} -m elf32_x86_64"
7834		;;
7835	      *)
7836		LD="${LD-ld} -m elf_i386"
7837		;;
7838	    esac
7839	    ;;
7840	  powerpc64le-*linux*)
7841	    LD="${LD-ld} -m elf32lppclinux"
7842	    ;;
7843	  powerpc64-*linux*)
7844	    LD="${LD-ld} -m elf32ppclinux"
7845	    ;;
7846	  s390x-*linux*)
7847	    LD="${LD-ld} -m elf_s390"
7848	    ;;
7849	  sparc64-*linux*)
7850	    LD="${LD-ld} -m elf32_sparc"
7851	    ;;
7852	esac
7853	;;
7854      *64-bit*)
7855	case $host in
7856	  x86_64-*kfreebsd*-gnu)
7857	    LD="${LD-ld} -m elf_x86_64_fbsd"
7858	    ;;
7859	  x86_64-*linux*)
7860	    LD="${LD-ld} -m elf_x86_64"
7861	    ;;
7862	  powerpcle-*linux*)
7863	    LD="${LD-ld} -m elf64lppc"
7864	    ;;
7865	  powerpc-*linux*)
7866	    LD="${LD-ld} -m elf64ppc"
7867	    ;;
7868	  s390*-*linux*|s390*-*tpf*)
7869	    LD="${LD-ld} -m elf64_s390"
7870	    ;;
7871	  sparc*-*linux*)
7872	    LD="${LD-ld} -m elf64_sparc"
7873	    ;;
7874	esac
7875	;;
7876    esac
7877  fi
7878  rm -rf conftest*
7879  ;;
7880
7881*-*-sco3.2v5*)
7882  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7883  SAVE_CFLAGS=$CFLAGS
7884  CFLAGS="$CFLAGS -belf"
7885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7886$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7887if ${lt_cv_cc_needs_belf+:} false; then :
7888  $as_echo_n "(cached) " >&6
7889else
7890  ac_ext=c
7891ac_cpp='$CPP $CPPFLAGS'
7892ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7893ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7894ac_compiler_gnu=$ac_cv_c_compiler_gnu
7895
7896     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7897/* end confdefs.h.  */
7898
7899int
7900main ()
7901{
7902
7903  ;
7904  return 0;
7905}
7906_ACEOF
7907if ac_fn_c_try_link "$LINENO"; then :
7908  lt_cv_cc_needs_belf=yes
7909else
7910  lt_cv_cc_needs_belf=no
7911fi
7912rm -f core conftest.err conftest.$ac_objext \
7913    conftest$ac_exeext conftest.$ac_ext
7914     ac_ext=c
7915ac_cpp='$CPP $CPPFLAGS'
7916ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7917ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7918ac_compiler_gnu=$ac_cv_c_compiler_gnu
7919
7920fi
7921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7922$as_echo "$lt_cv_cc_needs_belf" >&6; }
7923  if test yes != "$lt_cv_cc_needs_belf"; then
7924    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7925    CFLAGS=$SAVE_CFLAGS
7926  fi
7927  ;;
7928*-*solaris*)
7929  # Find out what ABI is being produced by ac_compile, and set linker
7930  # options accordingly.
7931  echo 'int i;' > conftest.$ac_ext
7932  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7933  (eval $ac_compile) 2>&5
7934  ac_status=$?
7935  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7936  test $ac_status = 0; }; then
7937    case `/usr/bin/file conftest.o` in
7938    *64-bit*)
7939      case $lt_cv_prog_gnu_ld in
7940      yes*)
7941        case $host in
7942        i?86-*-solaris*|x86_64-*-solaris*)
7943          LD="${LD-ld} -m elf_x86_64"
7944          ;;
7945        sparc*-*-solaris*)
7946          LD="${LD-ld} -m elf64_sparc"
7947          ;;
7948        esac
7949        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7950        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7951          LD=${LD-ld}_sol2
7952        fi
7953        ;;
7954      *)
7955	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7956	  LD="${LD-ld} -64"
7957	fi
7958	;;
7959      esac
7960      ;;
7961    esac
7962  fi
7963  rm -rf conftest*
7964  ;;
7965esac
7966
7967need_locks=$enable_libtool_lock
7968
7969if test -n "$ac_tool_prefix"; then
7970  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7971set dummy ${ac_tool_prefix}mt; ac_word=$2
7972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7973$as_echo_n "checking for $ac_word... " >&6; }
7974if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7975  $as_echo_n "(cached) " >&6
7976else
7977  if test -n "$MANIFEST_TOOL"; then
7978  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7979else
7980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981for as_dir in $PATH
7982do
7983  IFS=$as_save_IFS
7984  test -z "$as_dir" && as_dir=.
7985    for ac_exec_ext in '' $ac_executable_extensions; do
7986  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7987    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7988    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7989    break 2
7990  fi
7991done
7992  done
7993IFS=$as_save_IFS
7994
7995fi
7996fi
7997MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7998if test -n "$MANIFEST_TOOL"; then
7999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8000$as_echo "$MANIFEST_TOOL" >&6; }
8001else
8002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003$as_echo "no" >&6; }
8004fi
8005
8006
8007fi
8008if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8009  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8010  # Extract the first word of "mt", so it can be a program name with args.
8011set dummy mt; ac_word=$2
8012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013$as_echo_n "checking for $ac_word... " >&6; }
8014if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8015  $as_echo_n "(cached) " >&6
8016else
8017  if test -n "$ac_ct_MANIFEST_TOOL"; then
8018  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8019else
8020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021for as_dir in $PATH
8022do
8023  IFS=$as_save_IFS
8024  test -z "$as_dir" && as_dir=.
8025    for ac_exec_ext in '' $ac_executable_extensions; do
8026  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8028    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029    break 2
8030  fi
8031done
8032  done
8033IFS=$as_save_IFS
8034
8035fi
8036fi
8037ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8038if test -n "$ac_ct_MANIFEST_TOOL"; then
8039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8040$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8041else
8042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043$as_echo "no" >&6; }
8044fi
8045
8046  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8047    MANIFEST_TOOL=":"
8048  else
8049    case $cross_compiling:$ac_tool_warned in
8050yes:)
8051{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8052$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8053ac_tool_warned=yes ;;
8054esac
8055    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8056  fi
8057else
8058  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8059fi
8060
8061test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8063$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8064if ${lt_cv_path_mainfest_tool+:} false; then :
8065  $as_echo_n "(cached) " >&6
8066else
8067  lt_cv_path_mainfest_tool=no
8068  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8069  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8070  cat conftest.err >&5
8071  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8072    lt_cv_path_mainfest_tool=yes
8073  fi
8074  rm -f conftest*
8075fi
8076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8077$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8078if test yes != "$lt_cv_path_mainfest_tool"; then
8079  MANIFEST_TOOL=:
8080fi
8081
8082
8083
8084
8085
8086
8087  case $host_os in
8088    rhapsody* | darwin*)
8089    if test -n "$ac_tool_prefix"; then
8090  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8091set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8093$as_echo_n "checking for $ac_word... " >&6; }
8094if ${ac_cv_prog_DSYMUTIL+:} false; then :
8095  $as_echo_n "(cached) " >&6
8096else
8097  if test -n "$DSYMUTIL"; then
8098  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8099else
8100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8101for as_dir in $PATH
8102do
8103  IFS=$as_save_IFS
8104  test -z "$as_dir" && as_dir=.
8105    for ac_exec_ext in '' $ac_executable_extensions; do
8106  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8107    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8108    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8109    break 2
8110  fi
8111done
8112  done
8113IFS=$as_save_IFS
8114
8115fi
8116fi
8117DSYMUTIL=$ac_cv_prog_DSYMUTIL
8118if test -n "$DSYMUTIL"; then
8119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8120$as_echo "$DSYMUTIL" >&6; }
8121else
8122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123$as_echo "no" >&6; }
8124fi
8125
8126
8127fi
8128if test -z "$ac_cv_prog_DSYMUTIL"; then
8129  ac_ct_DSYMUTIL=$DSYMUTIL
8130  # Extract the first word of "dsymutil", so it can be a program name with args.
8131set dummy dsymutil; ac_word=$2
8132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8133$as_echo_n "checking for $ac_word... " >&6; }
8134if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8135  $as_echo_n "(cached) " >&6
8136else
8137  if test -n "$ac_ct_DSYMUTIL"; then
8138  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8139else
8140as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8141for as_dir in $PATH
8142do
8143  IFS=$as_save_IFS
8144  test -z "$as_dir" && as_dir=.
8145    for ac_exec_ext in '' $ac_executable_extensions; do
8146  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8147    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8148    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8149    break 2
8150  fi
8151done
8152  done
8153IFS=$as_save_IFS
8154
8155fi
8156fi
8157ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8158if test -n "$ac_ct_DSYMUTIL"; then
8159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8160$as_echo "$ac_ct_DSYMUTIL" >&6; }
8161else
8162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8163$as_echo "no" >&6; }
8164fi
8165
8166  if test "x$ac_ct_DSYMUTIL" = x; then
8167    DSYMUTIL=":"
8168  else
8169    case $cross_compiling:$ac_tool_warned in
8170yes:)
8171{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8172$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8173ac_tool_warned=yes ;;
8174esac
8175    DSYMUTIL=$ac_ct_DSYMUTIL
8176  fi
8177else
8178  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8179fi
8180
8181    if test -n "$ac_tool_prefix"; then
8182  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8183set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8185$as_echo_n "checking for $ac_word... " >&6; }
8186if ${ac_cv_prog_NMEDIT+:} false; then :
8187  $as_echo_n "(cached) " >&6
8188else
8189  if test -n "$NMEDIT"; then
8190  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8191else
8192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8193for as_dir in $PATH
8194do
8195  IFS=$as_save_IFS
8196  test -z "$as_dir" && as_dir=.
8197    for ac_exec_ext in '' $ac_executable_extensions; do
8198  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8199    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8200    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8201    break 2
8202  fi
8203done
8204  done
8205IFS=$as_save_IFS
8206
8207fi
8208fi
8209NMEDIT=$ac_cv_prog_NMEDIT
8210if test -n "$NMEDIT"; then
8211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8212$as_echo "$NMEDIT" >&6; }
8213else
8214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8215$as_echo "no" >&6; }
8216fi
8217
8218
8219fi
8220if test -z "$ac_cv_prog_NMEDIT"; then
8221  ac_ct_NMEDIT=$NMEDIT
8222  # Extract the first word of "nmedit", so it can be a program name with args.
8223set dummy nmedit; ac_word=$2
8224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8225$as_echo_n "checking for $ac_word... " >&6; }
8226if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8227  $as_echo_n "(cached) " >&6
8228else
8229  if test -n "$ac_ct_NMEDIT"; then
8230  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8231else
8232as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8233for as_dir in $PATH
8234do
8235  IFS=$as_save_IFS
8236  test -z "$as_dir" && as_dir=.
8237    for ac_exec_ext in '' $ac_executable_extensions; do
8238  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8239    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8240    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8241    break 2
8242  fi
8243done
8244  done
8245IFS=$as_save_IFS
8246
8247fi
8248fi
8249ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8250if test -n "$ac_ct_NMEDIT"; then
8251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8252$as_echo "$ac_ct_NMEDIT" >&6; }
8253else
8254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8255$as_echo "no" >&6; }
8256fi
8257
8258  if test "x$ac_ct_NMEDIT" = x; then
8259    NMEDIT=":"
8260  else
8261    case $cross_compiling:$ac_tool_warned in
8262yes:)
8263{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8264$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8265ac_tool_warned=yes ;;
8266esac
8267    NMEDIT=$ac_ct_NMEDIT
8268  fi
8269else
8270  NMEDIT="$ac_cv_prog_NMEDIT"
8271fi
8272
8273    if test -n "$ac_tool_prefix"; then
8274  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8275set dummy ${ac_tool_prefix}lipo; ac_word=$2
8276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8277$as_echo_n "checking for $ac_word... " >&6; }
8278if ${ac_cv_prog_LIPO+:} false; then :
8279  $as_echo_n "(cached) " >&6
8280else
8281  if test -n "$LIPO"; then
8282  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8283else
8284as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8285for as_dir in $PATH
8286do
8287  IFS=$as_save_IFS
8288  test -z "$as_dir" && as_dir=.
8289    for ac_exec_ext in '' $ac_executable_extensions; do
8290  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8291    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8292    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8293    break 2
8294  fi
8295done
8296  done
8297IFS=$as_save_IFS
8298
8299fi
8300fi
8301LIPO=$ac_cv_prog_LIPO
8302if test -n "$LIPO"; then
8303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8304$as_echo "$LIPO" >&6; }
8305else
8306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307$as_echo "no" >&6; }
8308fi
8309
8310
8311fi
8312if test -z "$ac_cv_prog_LIPO"; then
8313  ac_ct_LIPO=$LIPO
8314  # Extract the first word of "lipo", so it can be a program name with args.
8315set dummy lipo; ac_word=$2
8316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8317$as_echo_n "checking for $ac_word... " >&6; }
8318if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8319  $as_echo_n "(cached) " >&6
8320else
8321  if test -n "$ac_ct_LIPO"; then
8322  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8323else
8324as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8325for as_dir in $PATH
8326do
8327  IFS=$as_save_IFS
8328  test -z "$as_dir" && as_dir=.
8329    for ac_exec_ext in '' $ac_executable_extensions; do
8330  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8331    ac_cv_prog_ac_ct_LIPO="lipo"
8332    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8333    break 2
8334  fi
8335done
8336  done
8337IFS=$as_save_IFS
8338
8339fi
8340fi
8341ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8342if test -n "$ac_ct_LIPO"; then
8343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8344$as_echo "$ac_ct_LIPO" >&6; }
8345else
8346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8347$as_echo "no" >&6; }
8348fi
8349
8350  if test "x$ac_ct_LIPO" = x; then
8351    LIPO=":"
8352  else
8353    case $cross_compiling:$ac_tool_warned in
8354yes:)
8355{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8356$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8357ac_tool_warned=yes ;;
8358esac
8359    LIPO=$ac_ct_LIPO
8360  fi
8361else
8362  LIPO="$ac_cv_prog_LIPO"
8363fi
8364
8365    if test -n "$ac_tool_prefix"; then
8366  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8367set dummy ${ac_tool_prefix}otool; ac_word=$2
8368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8369$as_echo_n "checking for $ac_word... " >&6; }
8370if ${ac_cv_prog_OTOOL+:} false; then :
8371  $as_echo_n "(cached) " >&6
8372else
8373  if test -n "$OTOOL"; then
8374  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8375else
8376as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8377for as_dir in $PATH
8378do
8379  IFS=$as_save_IFS
8380  test -z "$as_dir" && as_dir=.
8381    for ac_exec_ext in '' $ac_executable_extensions; do
8382  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8383    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8384    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8385    break 2
8386  fi
8387done
8388  done
8389IFS=$as_save_IFS
8390
8391fi
8392fi
8393OTOOL=$ac_cv_prog_OTOOL
8394if test -n "$OTOOL"; then
8395  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8396$as_echo "$OTOOL" >&6; }
8397else
8398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8399$as_echo "no" >&6; }
8400fi
8401
8402
8403fi
8404if test -z "$ac_cv_prog_OTOOL"; then
8405  ac_ct_OTOOL=$OTOOL
8406  # Extract the first word of "otool", so it can be a program name with args.
8407set dummy otool; ac_word=$2
8408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8409$as_echo_n "checking for $ac_word... " >&6; }
8410if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8411  $as_echo_n "(cached) " >&6
8412else
8413  if test -n "$ac_ct_OTOOL"; then
8414  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8415else
8416as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8417for as_dir in $PATH
8418do
8419  IFS=$as_save_IFS
8420  test -z "$as_dir" && as_dir=.
8421    for ac_exec_ext in '' $ac_executable_extensions; do
8422  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8423    ac_cv_prog_ac_ct_OTOOL="otool"
8424    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8425    break 2
8426  fi
8427done
8428  done
8429IFS=$as_save_IFS
8430
8431fi
8432fi
8433ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8434if test -n "$ac_ct_OTOOL"; then
8435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8436$as_echo "$ac_ct_OTOOL" >&6; }
8437else
8438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8439$as_echo "no" >&6; }
8440fi
8441
8442  if test "x$ac_ct_OTOOL" = x; then
8443    OTOOL=":"
8444  else
8445    case $cross_compiling:$ac_tool_warned in
8446yes:)
8447{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8448$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8449ac_tool_warned=yes ;;
8450esac
8451    OTOOL=$ac_ct_OTOOL
8452  fi
8453else
8454  OTOOL="$ac_cv_prog_OTOOL"
8455fi
8456
8457    if test -n "$ac_tool_prefix"; then
8458  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8459set dummy ${ac_tool_prefix}otool64; ac_word=$2
8460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8461$as_echo_n "checking for $ac_word... " >&6; }
8462if ${ac_cv_prog_OTOOL64+:} false; then :
8463  $as_echo_n "(cached) " >&6
8464else
8465  if test -n "$OTOOL64"; then
8466  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8467else
8468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8469for as_dir in $PATH
8470do
8471  IFS=$as_save_IFS
8472  test -z "$as_dir" && as_dir=.
8473    for ac_exec_ext in '' $ac_executable_extensions; do
8474  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8475    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8476    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8477    break 2
8478  fi
8479done
8480  done
8481IFS=$as_save_IFS
8482
8483fi
8484fi
8485OTOOL64=$ac_cv_prog_OTOOL64
8486if test -n "$OTOOL64"; then
8487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8488$as_echo "$OTOOL64" >&6; }
8489else
8490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8491$as_echo "no" >&6; }
8492fi
8493
8494
8495fi
8496if test -z "$ac_cv_prog_OTOOL64"; then
8497  ac_ct_OTOOL64=$OTOOL64
8498  # Extract the first word of "otool64", so it can be a program name with args.
8499set dummy otool64; ac_word=$2
8500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8501$as_echo_n "checking for $ac_word... " >&6; }
8502if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8503  $as_echo_n "(cached) " >&6
8504else
8505  if test -n "$ac_ct_OTOOL64"; then
8506  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8507else
8508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8509for as_dir in $PATH
8510do
8511  IFS=$as_save_IFS
8512  test -z "$as_dir" && as_dir=.
8513    for ac_exec_ext in '' $ac_executable_extensions; do
8514  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8515    ac_cv_prog_ac_ct_OTOOL64="otool64"
8516    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8517    break 2
8518  fi
8519done
8520  done
8521IFS=$as_save_IFS
8522
8523fi
8524fi
8525ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8526if test -n "$ac_ct_OTOOL64"; then
8527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8528$as_echo "$ac_ct_OTOOL64" >&6; }
8529else
8530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8531$as_echo "no" >&6; }
8532fi
8533
8534  if test "x$ac_ct_OTOOL64" = x; then
8535    OTOOL64=":"
8536  else
8537    case $cross_compiling:$ac_tool_warned in
8538yes:)
8539{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8540$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8541ac_tool_warned=yes ;;
8542esac
8543    OTOOL64=$ac_ct_OTOOL64
8544  fi
8545else
8546  OTOOL64="$ac_cv_prog_OTOOL64"
8547fi
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8576$as_echo_n "checking for -single_module linker flag... " >&6; }
8577if ${lt_cv_apple_cc_single_mod+:} false; then :
8578  $as_echo_n "(cached) " >&6
8579else
8580  lt_cv_apple_cc_single_mod=no
8581      if test -z "$LT_MULTI_MODULE"; then
8582	# By default we will add the -single_module flag. You can override
8583	# by either setting the environment variable LT_MULTI_MODULE
8584	# non-empty at configure time, or by adding -multi_module to the
8585	# link flags.
8586	rm -rf libconftest.dylib*
8587	echo "int foo(void){return 1;}" > conftest.c
8588	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8589-dynamiclib -Wl,-single_module conftest.c" >&5
8590	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8591	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8592        _lt_result=$?
8593	# If there is a non-empty error log, and "single_module"
8594	# appears in it, assume the flag caused a linker warning
8595        if test -s conftest.err && $GREP single_module conftest.err; then
8596	  cat conftest.err >&5
8597	# Otherwise, if the output was created with a 0 exit code from
8598	# the compiler, it worked.
8599	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8600	  lt_cv_apple_cc_single_mod=yes
8601	else
8602	  cat conftest.err >&5
8603	fi
8604	rm -rf libconftest.dylib*
8605	rm -f conftest.*
8606      fi
8607fi
8608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8609$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8610
8611    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8612$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8613if ${lt_cv_ld_exported_symbols_list+:} false; then :
8614  $as_echo_n "(cached) " >&6
8615else
8616  lt_cv_ld_exported_symbols_list=no
8617      save_LDFLAGS=$LDFLAGS
8618      echo "_main" > conftest.sym
8619      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8620      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621/* end confdefs.h.  */
8622
8623int
8624main ()
8625{
8626
8627  ;
8628  return 0;
8629}
8630_ACEOF
8631if ac_fn_c_try_link "$LINENO"; then :
8632  lt_cv_ld_exported_symbols_list=yes
8633else
8634  lt_cv_ld_exported_symbols_list=no
8635fi
8636rm -f core conftest.err conftest.$ac_objext \
8637    conftest$ac_exeext conftest.$ac_ext
8638	LDFLAGS=$save_LDFLAGS
8639
8640fi
8641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8642$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8643
8644    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8645$as_echo_n "checking for -force_load linker flag... " >&6; }
8646if ${lt_cv_ld_force_load+:} false; then :
8647  $as_echo_n "(cached) " >&6
8648else
8649  lt_cv_ld_force_load=no
8650      cat > conftest.c << _LT_EOF
8651int forced_loaded() { return 2;}
8652_LT_EOF
8653      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8654      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8655      echo "$AR cru libconftest.a conftest.o" >&5
8656      $AR cru libconftest.a conftest.o 2>&5
8657      echo "$RANLIB libconftest.a" >&5
8658      $RANLIB libconftest.a 2>&5
8659      cat > conftest.c << _LT_EOF
8660int main() { return 0;}
8661_LT_EOF
8662      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8663      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8664      _lt_result=$?
8665      if test -s conftest.err && $GREP force_load conftest.err; then
8666	cat conftest.err >&5
8667      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8668	lt_cv_ld_force_load=yes
8669      else
8670	cat conftest.err >&5
8671      fi
8672        rm -f conftest.err libconftest.a conftest conftest.c
8673        rm -rf conftest.dSYM
8674
8675fi
8676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8677$as_echo "$lt_cv_ld_force_load" >&6; }
8678    case $host_os in
8679    rhapsody* | darwin1.[012])
8680      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8681    darwin1.*)
8682      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8683    darwin*) # darwin 5.x on
8684      # if running on 10.5 or later, the deployment target defaults
8685      # to the OS version, if on x86, and 10.4, the deployment
8686      # target defaults to 10.4. Don't you love it?
8687      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8688	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8689	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8690	10.[012][,.]*)
8691	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8692	10.*)
8693	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8694      esac
8695    ;;
8696  esac
8697    if test yes = "$lt_cv_apple_cc_single_mod"; then
8698      _lt_dar_single_mod='$single_module'
8699    fi
8700    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8701      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8702    else
8703      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8704    fi
8705    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8706      _lt_dsymutil='~$DSYMUTIL $lib || :'
8707    else
8708      _lt_dsymutil=
8709    fi
8710    ;;
8711  esac
8712
8713# func_munge_path_list VARIABLE PATH
8714# -----------------------------------
8715# VARIABLE is name of variable containing _space_ separated list of
8716# directories to be munged by the contents of PATH, which is string
8717# having a format:
8718# "DIR[:DIR]:"
8719#       string "DIR[ DIR]" will be prepended to VARIABLE
8720# ":DIR[:DIR]"
8721#       string "DIR[ DIR]" will be appended to VARIABLE
8722# "DIRP[:DIRP]::[DIRA:]DIRA"
8723#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8724#       "DIRA[ DIRA]" will be appended to VARIABLE
8725# "DIR[:DIR]"
8726#       VARIABLE will be replaced by "DIR[ DIR]"
8727func_munge_path_list ()
8728{
8729    case x$2 in
8730    x)
8731        ;;
8732    *:)
8733        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8734        ;;
8735    x:*)
8736        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8737        ;;
8738    *::*)
8739        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8740        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8741        ;;
8742    *)
8743        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8744        ;;
8745    esac
8746}
8747
8748for ac_header in dlfcn.h
8749do :
8750  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8751"
8752if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8753  cat >>confdefs.h <<_ACEOF
8754#define HAVE_DLFCN_H 1
8755_ACEOF
8756
8757fi
8758
8759done
8760
8761
8762
8763
8764
8765# Set options
8766
8767
8768
8769        enable_dlopen=no
8770
8771
8772  enable_win32_dll=no
8773
8774
8775            # Check whether --enable-shared was given.
8776if test "${enable_shared+set}" = set; then :
8777  enableval=$enable_shared; p=${PACKAGE-default}
8778    case $enableval in
8779    yes) enable_shared=yes ;;
8780    no) enable_shared=no ;;
8781    *)
8782      enable_shared=no
8783      # Look at the argument we got.  We use all the common list separators.
8784      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8785      for pkg in $enableval; do
8786	IFS=$lt_save_ifs
8787	if test "X$pkg" = "X$p"; then
8788	  enable_shared=yes
8789	fi
8790      done
8791      IFS=$lt_save_ifs
8792      ;;
8793    esac
8794else
8795  enable_shared=yes
8796fi
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806  # Check whether --enable-static was given.
8807if test "${enable_static+set}" = set; then :
8808  enableval=$enable_static; p=${PACKAGE-default}
8809    case $enableval in
8810    yes) enable_static=yes ;;
8811    no) enable_static=no ;;
8812    *)
8813     enable_static=no
8814      # Look at the argument we got.  We use all the common list separators.
8815      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8816      for pkg in $enableval; do
8817	IFS=$lt_save_ifs
8818	if test "X$pkg" = "X$p"; then
8819	  enable_static=yes
8820	fi
8821      done
8822      IFS=$lt_save_ifs
8823      ;;
8824    esac
8825else
8826  enable_static=yes
8827fi
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838# Check whether --with-pic was given.
8839if test "${with_pic+set}" = set; then :
8840  withval=$with_pic; lt_p=${PACKAGE-default}
8841    case $withval in
8842    yes|no) pic_mode=$withval ;;
8843    *)
8844      pic_mode=default
8845      # Look at the argument we got.  We use all the common list separators.
8846      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8847      for lt_pkg in $withval; do
8848	IFS=$lt_save_ifs
8849	if test "X$lt_pkg" = "X$lt_p"; then
8850	  pic_mode=yes
8851	fi
8852      done
8853      IFS=$lt_save_ifs
8854      ;;
8855    esac
8856else
8857  pic_mode=default
8858fi
8859
8860
8861
8862
8863
8864
8865
8866
8867  # Check whether --enable-fast-install was given.
8868if test "${enable_fast_install+set}" = set; then :
8869  enableval=$enable_fast_install; p=${PACKAGE-default}
8870    case $enableval in
8871    yes) enable_fast_install=yes ;;
8872    no) enable_fast_install=no ;;
8873    *)
8874      enable_fast_install=no
8875      # Look at the argument we got.  We use all the common list separators.
8876      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8877      for pkg in $enableval; do
8878	IFS=$lt_save_ifs
8879	if test "X$pkg" = "X$p"; then
8880	  enable_fast_install=yes
8881	fi
8882      done
8883      IFS=$lt_save_ifs
8884      ;;
8885    esac
8886else
8887  enable_fast_install=yes
8888fi
8889
8890
8891
8892
8893
8894
8895
8896
8897  shared_archive_member_spec=
8898case $host,$enable_shared in
8899power*-*-aix[5-9]*,yes)
8900  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8901$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8902
8903# Check whether --with-aix-soname was given.
8904if test "${with_aix_soname+set}" = set; then :
8905  withval=$with_aix_soname; case $withval in
8906    aix|svr4|both)
8907      ;;
8908    *)
8909      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8910      ;;
8911    esac
8912    lt_cv_with_aix_soname=$with_aix_soname
8913else
8914  if ${lt_cv_with_aix_soname+:} false; then :
8915  $as_echo_n "(cached) " >&6
8916else
8917  lt_cv_with_aix_soname=aix
8918fi
8919
8920    with_aix_soname=$lt_cv_with_aix_soname
8921fi
8922
8923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8924$as_echo "$with_aix_soname" >&6; }
8925  if test aix != "$with_aix_soname"; then
8926    # For the AIX way of multilib, we name the shared archive member
8927    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8928    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8929    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8930    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8931    if test 64 = "${OBJECT_MODE-32}"; then
8932      shared_archive_member_spec=shr_64
8933    else
8934      shared_archive_member_spec=shr
8935    fi
8936  fi
8937  ;;
8938*)
8939  with_aix_soname=aix
8940  ;;
8941esac
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952# This can be used to rebuild libtool when needed
8953LIBTOOL_DEPS=$ltmain
8954
8955# Always use our own libtool.
8956LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987test -z "$LN_S" && LN_S="ln -s"
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002if test -n "${ZSH_VERSION+set}"; then
9003   setopt NO_GLOB_SUBST
9004fi
9005
9006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9007$as_echo_n "checking for objdir... " >&6; }
9008if ${lt_cv_objdir+:} false; then :
9009  $as_echo_n "(cached) " >&6
9010else
9011  rm -f .libs 2>/dev/null
9012mkdir .libs 2>/dev/null
9013if test -d .libs; then
9014  lt_cv_objdir=.libs
9015else
9016  # MS-DOS does not allow filenames that begin with a dot.
9017  lt_cv_objdir=_libs
9018fi
9019rmdir .libs 2>/dev/null
9020fi
9021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9022$as_echo "$lt_cv_objdir" >&6; }
9023objdir=$lt_cv_objdir
9024
9025
9026
9027
9028
9029cat >>confdefs.h <<_ACEOF
9030#define LT_OBJDIR "$lt_cv_objdir/"
9031_ACEOF
9032
9033
9034
9035
9036case $host_os in
9037aix3*)
9038  # AIX sometimes has problems with the GCC collect2 program.  For some
9039  # reason, if we set the COLLECT_NAMES environment variable, the problems
9040  # vanish in a puff of smoke.
9041  if test set != "${COLLECT_NAMES+set}"; then
9042    COLLECT_NAMES=
9043    export COLLECT_NAMES
9044  fi
9045  ;;
9046esac
9047
9048# Global variables:
9049ofile=libtool
9050can_build_shared=yes
9051
9052# All known linkers require a '.a' archive for static linking (except MSVC,
9053# which needs '.lib').
9054libext=a
9055
9056with_gnu_ld=$lt_cv_prog_gnu_ld
9057
9058old_CC=$CC
9059old_CFLAGS=$CFLAGS
9060
9061# Set sane defaults for various variables
9062test -z "$CC" && CC=cc
9063test -z "$LTCC" && LTCC=$CC
9064test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9065test -z "$LD" && LD=ld
9066test -z "$ac_objext" && ac_objext=o
9067
9068func_cc_basename $compiler
9069cc_basename=$func_cc_basename_result
9070
9071
9072# Only perform the check for file, if the check method requires it
9073test -z "$MAGIC_CMD" && MAGIC_CMD=file
9074case $deplibs_check_method in
9075file_magic*)
9076  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9077    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9078$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9079if ${lt_cv_path_MAGIC_CMD+:} false; then :
9080  $as_echo_n "(cached) " >&6
9081else
9082  case $MAGIC_CMD in
9083[\\/*] |  ?:[\\/]*)
9084  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9085  ;;
9086*)
9087  lt_save_MAGIC_CMD=$MAGIC_CMD
9088  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9089  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9090  for ac_dir in $ac_dummy; do
9091    IFS=$lt_save_ifs
9092    test -z "$ac_dir" && ac_dir=.
9093    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9094      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9095      if test -n "$file_magic_test_file"; then
9096	case $deplibs_check_method in
9097	"file_magic "*)
9098	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9099	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9100	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9101	    $EGREP "$file_magic_regex" > /dev/null; then
9102	    :
9103	  else
9104	    cat <<_LT_EOF 1>&2
9105
9106*** Warning: the command libtool uses to detect shared libraries,
9107*** $file_magic_cmd, produces output that libtool cannot recognize.
9108*** The result is that libtool may fail to recognize shared libraries
9109*** as such.  This will affect the creation of libtool libraries that
9110*** depend on shared libraries, but programs linked with such libtool
9111*** libraries will work regardless of this problem.  Nevertheless, you
9112*** may want to report the problem to your system manager and/or to
9113*** bug-libtool@gnu.org
9114
9115_LT_EOF
9116	  fi ;;
9117	esac
9118      fi
9119      break
9120    fi
9121  done
9122  IFS=$lt_save_ifs
9123  MAGIC_CMD=$lt_save_MAGIC_CMD
9124  ;;
9125esac
9126fi
9127
9128MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9129if test -n "$MAGIC_CMD"; then
9130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9131$as_echo "$MAGIC_CMD" >&6; }
9132else
9133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9134$as_echo "no" >&6; }
9135fi
9136
9137
9138
9139
9140
9141if test -z "$lt_cv_path_MAGIC_CMD"; then
9142  if test -n "$ac_tool_prefix"; then
9143    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9144$as_echo_n "checking for file... " >&6; }
9145if ${lt_cv_path_MAGIC_CMD+:} false; then :
9146  $as_echo_n "(cached) " >&6
9147else
9148  case $MAGIC_CMD in
9149[\\/*] |  ?:[\\/]*)
9150  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9151  ;;
9152*)
9153  lt_save_MAGIC_CMD=$MAGIC_CMD
9154  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9155  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9156  for ac_dir in $ac_dummy; do
9157    IFS=$lt_save_ifs
9158    test -z "$ac_dir" && ac_dir=.
9159    if test -f "$ac_dir/file"; then
9160      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9161      if test -n "$file_magic_test_file"; then
9162	case $deplibs_check_method in
9163	"file_magic "*)
9164	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9165	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9166	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9167	    $EGREP "$file_magic_regex" > /dev/null; then
9168	    :
9169	  else
9170	    cat <<_LT_EOF 1>&2
9171
9172*** Warning: the command libtool uses to detect shared libraries,
9173*** $file_magic_cmd, produces output that libtool cannot recognize.
9174*** The result is that libtool may fail to recognize shared libraries
9175*** as such.  This will affect the creation of libtool libraries that
9176*** depend on shared libraries, but programs linked with such libtool
9177*** libraries will work regardless of this problem.  Nevertheless, you
9178*** may want to report the problem to your system manager and/or to
9179*** bug-libtool@gnu.org
9180
9181_LT_EOF
9182	  fi ;;
9183	esac
9184      fi
9185      break
9186    fi
9187  done
9188  IFS=$lt_save_ifs
9189  MAGIC_CMD=$lt_save_MAGIC_CMD
9190  ;;
9191esac
9192fi
9193
9194MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9195if test -n "$MAGIC_CMD"; then
9196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9197$as_echo "$MAGIC_CMD" >&6; }
9198else
9199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9200$as_echo "no" >&6; }
9201fi
9202
9203
9204  else
9205    MAGIC_CMD=:
9206  fi
9207fi
9208
9209  fi
9210  ;;
9211esac
9212
9213# Use C for the default configuration in the libtool script
9214
9215lt_save_CC=$CC
9216ac_ext=c
9217ac_cpp='$CPP $CPPFLAGS'
9218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9220ac_compiler_gnu=$ac_cv_c_compiler_gnu
9221
9222
9223# Source file extension for C test sources.
9224ac_ext=c
9225
9226# Object file extension for compiled C test sources.
9227objext=o
9228objext=$objext
9229
9230# Code to be used in simple compile tests
9231lt_simple_compile_test_code="int some_variable = 0;"
9232
9233# Code to be used in simple link tests
9234lt_simple_link_test_code='int main(){return(0);}'
9235
9236
9237
9238
9239
9240
9241
9242# If no C compiler was specified, use CC.
9243LTCC=${LTCC-"$CC"}
9244
9245# If no C compiler flags were specified, use CFLAGS.
9246LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9247
9248# Allow CC to be a program name with arguments.
9249compiler=$CC
9250
9251# Save the default compiler, since it gets overwritten when the other
9252# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9253compiler_DEFAULT=$CC
9254
9255# save warnings/boilerplate of simple test code
9256ac_outfile=conftest.$ac_objext
9257echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9258eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9259_lt_compiler_boilerplate=`cat conftest.err`
9260$RM conftest*
9261
9262ac_outfile=conftest.$ac_objext
9263echo "$lt_simple_link_test_code" >conftest.$ac_ext
9264eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9265_lt_linker_boilerplate=`cat conftest.err`
9266$RM -r conftest*
9267
9268
9269## CAVEAT EMPTOR:
9270## There is no encapsulation within the following macros, do not change
9271## the running order or otherwise move them around unless you know exactly
9272## what you are doing...
9273if test -n "$compiler"; then
9274
9275lt_prog_compiler_no_builtin_flag=
9276
9277if test yes = "$GCC"; then
9278  case $cc_basename in
9279  nvcc*)
9280    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9281  *)
9282    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9283  esac
9284
9285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9286$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9287if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9288  $as_echo_n "(cached) " >&6
9289else
9290  lt_cv_prog_compiler_rtti_exceptions=no
9291   ac_outfile=conftest.$ac_objext
9292   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9293   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9294   # Insert the option either (1) after the last *FLAGS variable, or
9295   # (2) before a word containing "conftest.", or (3) at the end.
9296   # Note that $ac_compile itself does not contain backslashes and begins
9297   # with a dollar sign (not a hyphen), so the echo should work correctly.
9298   # The option is referenced via a variable to avoid confusing sed.
9299   lt_compile=`echo "$ac_compile" | $SED \
9300   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9301   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9302   -e 's:$: $lt_compiler_flag:'`
9303   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9304   (eval "$lt_compile" 2>conftest.err)
9305   ac_status=$?
9306   cat conftest.err >&5
9307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9308   if (exit $ac_status) && test -s "$ac_outfile"; then
9309     # The compiler can only warn and ignore the option if not recognized
9310     # So say no if there are warnings other than the usual output.
9311     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9312     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9313     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9314       lt_cv_prog_compiler_rtti_exceptions=yes
9315     fi
9316   fi
9317   $RM conftest*
9318
9319fi
9320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9321$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9322
9323if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9324    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9325else
9326    :
9327fi
9328
9329fi
9330
9331
9332
9333
9334
9335
9336  lt_prog_compiler_wl=
9337lt_prog_compiler_pic=
9338lt_prog_compiler_static=
9339
9340
9341  if test yes = "$GCC"; then
9342    lt_prog_compiler_wl='-Wl,'
9343    lt_prog_compiler_static='-static'
9344
9345    case $host_os in
9346      aix*)
9347      # All AIX code is PIC.
9348      if test ia64 = "$host_cpu"; then
9349	# AIX 5 now supports IA64 processor
9350	lt_prog_compiler_static='-Bstatic'
9351      fi
9352      lt_prog_compiler_pic='-fPIC'
9353      ;;
9354
9355    amigaos*)
9356      case $host_cpu in
9357      powerpc)
9358            # see comment about AmigaOS4 .so support
9359            lt_prog_compiler_pic='-fPIC'
9360        ;;
9361      m68k)
9362            # FIXME: we need at least 68020 code to build shared libraries, but
9363            # adding the '-m68020' flag to GCC prevents building anything better,
9364            # like '-m68040'.
9365            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9366        ;;
9367      esac
9368      ;;
9369
9370    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9371      # PIC is the default for these OSes.
9372      ;;
9373
9374    mingw* | cygwin* | pw32* | os2* | cegcc*)
9375      # This hack is so that the source file can tell whether it is being
9376      # built for inclusion in a dll (and should export symbols for example).
9377      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9378      # (--disable-auto-import) libraries
9379      lt_prog_compiler_pic='-DDLL_EXPORT'
9380      case $host_os in
9381      os2*)
9382	lt_prog_compiler_static='$wl-static'
9383	;;
9384      esac
9385      ;;
9386
9387    darwin* | rhapsody*)
9388      # PIC is the default on this platform
9389      # Common symbols not allowed in MH_DYLIB files
9390      lt_prog_compiler_pic='-fno-common'
9391      ;;
9392
9393    haiku*)
9394      # PIC is the default for Haiku.
9395      # The "-static" flag exists, but is broken.
9396      lt_prog_compiler_static=
9397      ;;
9398
9399    hpux*)
9400      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9401      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9402      # sets the default TLS model and affects inlining.
9403      case $host_cpu in
9404      hppa*64*)
9405	# +Z the default
9406	;;
9407      *)
9408	lt_prog_compiler_pic='-fPIC'
9409	;;
9410      esac
9411      ;;
9412
9413    interix[3-9]*)
9414      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9415      # Instead, we relocate shared libraries at runtime.
9416      ;;
9417
9418    msdosdjgpp*)
9419      # Just because we use GCC doesn't mean we suddenly get shared libraries
9420      # on systems that don't support them.
9421      lt_prog_compiler_can_build_shared=no
9422      enable_shared=no
9423      ;;
9424
9425    *nto* | *qnx*)
9426      # QNX uses GNU C++, but need to define -shared option too, otherwise
9427      # it will coredump.
9428      lt_prog_compiler_pic='-fPIC -shared'
9429      ;;
9430
9431    sysv4*MP*)
9432      if test -d /usr/nec; then
9433	lt_prog_compiler_pic=-Kconform_pic
9434      fi
9435      ;;
9436
9437    *)
9438      lt_prog_compiler_pic='-fPIC'
9439      ;;
9440    esac
9441
9442    case $cc_basename in
9443    nvcc*) # Cuda Compiler Driver 2.2
9444      lt_prog_compiler_wl='-Xlinker '
9445      if test -n "$lt_prog_compiler_pic"; then
9446        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9447      fi
9448      ;;
9449    esac
9450  else
9451    # PORTME Check for flag to pass linker flags through the system compiler.
9452    case $host_os in
9453    aix*)
9454      lt_prog_compiler_wl='-Wl,'
9455      if test ia64 = "$host_cpu"; then
9456	# AIX 5 now supports IA64 processor
9457	lt_prog_compiler_static='-Bstatic'
9458      else
9459	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9460      fi
9461      ;;
9462
9463    darwin* | rhapsody*)
9464      # PIC is the default on this platform
9465      # Common symbols not allowed in MH_DYLIB files
9466      lt_prog_compiler_pic='-fno-common'
9467      case $cc_basename in
9468      nagfor*)
9469        # NAG Fortran compiler
9470        lt_prog_compiler_wl='-Wl,-Wl,,'
9471        lt_prog_compiler_pic='-PIC'
9472        lt_prog_compiler_static='-Bstatic'
9473        ;;
9474      esac
9475      ;;
9476
9477    mingw* | cygwin* | pw32* | os2* | cegcc*)
9478      # This hack is so that the source file can tell whether it is being
9479      # built for inclusion in a dll (and should export symbols for example).
9480      lt_prog_compiler_pic='-DDLL_EXPORT'
9481      case $host_os in
9482      os2*)
9483	lt_prog_compiler_static='$wl-static'
9484	;;
9485      esac
9486      ;;
9487
9488    hpux9* | hpux10* | hpux11*)
9489      lt_prog_compiler_wl='-Wl,'
9490      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9491      # not for PA HP-UX.
9492      case $host_cpu in
9493      hppa*64*|ia64*)
9494	# +Z the default
9495	;;
9496      *)
9497	lt_prog_compiler_pic='+Z'
9498	;;
9499      esac
9500      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9501      lt_prog_compiler_static='$wl-a ${wl}archive'
9502      ;;
9503
9504    irix5* | irix6* | nonstopux*)
9505      lt_prog_compiler_wl='-Wl,'
9506      # PIC (with -KPIC) is the default.
9507      lt_prog_compiler_static='-non_shared'
9508      ;;
9509
9510    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9511      case $cc_basename in
9512      # old Intel for x86_64, which still supported -KPIC.
9513      ecc*)
9514	lt_prog_compiler_wl='-Wl,'
9515	lt_prog_compiler_pic='-KPIC'
9516	lt_prog_compiler_static='-static'
9517        ;;
9518      # icc used to be incompatible with GCC.
9519      # ICC 10 doesn't accept -KPIC any more.
9520      icc* | ifort*)
9521	lt_prog_compiler_wl='-Wl,'
9522	lt_prog_compiler_pic='-fPIC'
9523	lt_prog_compiler_static='-static'
9524        ;;
9525      # Lahey Fortran 8.1.
9526      lf95*)
9527	lt_prog_compiler_wl='-Wl,'
9528	lt_prog_compiler_pic='--shared'
9529	lt_prog_compiler_static='--static'
9530	;;
9531      nagfor*)
9532	# NAG Fortran compiler
9533	lt_prog_compiler_wl='-Wl,-Wl,,'
9534	lt_prog_compiler_pic='-PIC'
9535	lt_prog_compiler_static='-Bstatic'
9536	;;
9537      tcc*)
9538	# Fabrice Bellard et al's Tiny C Compiler
9539	lt_prog_compiler_wl='-Wl,'
9540	lt_prog_compiler_pic='-fPIC'
9541	lt_prog_compiler_static='-static'
9542	;;
9543      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9544        # Portland Group compilers (*not* the Pentium gcc compiler,
9545	# which looks to be a dead project)
9546	lt_prog_compiler_wl='-Wl,'
9547	lt_prog_compiler_pic='-fpic'
9548	lt_prog_compiler_static='-Bstatic'
9549        ;;
9550      ccc*)
9551        lt_prog_compiler_wl='-Wl,'
9552        # All Alpha code is PIC.
9553        lt_prog_compiler_static='-non_shared'
9554        ;;
9555      xl* | bgxl* | bgf* | mpixl*)
9556	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9557	lt_prog_compiler_wl='-Wl,'
9558	lt_prog_compiler_pic='-qpic'
9559	lt_prog_compiler_static='-qstaticlink'
9560	;;
9561      *)
9562	case `$CC -V 2>&1 | sed 5q` in
9563	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9564	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9565	  lt_prog_compiler_pic='-KPIC'
9566	  lt_prog_compiler_static='-Bstatic'
9567	  lt_prog_compiler_wl=''
9568	  ;;
9569	*Sun\ F* | *Sun*Fortran*)
9570	  lt_prog_compiler_pic='-KPIC'
9571	  lt_prog_compiler_static='-Bstatic'
9572	  lt_prog_compiler_wl='-Qoption ld '
9573	  ;;
9574	*Sun\ C*)
9575	  # Sun C 5.9
9576	  lt_prog_compiler_pic='-KPIC'
9577	  lt_prog_compiler_static='-Bstatic'
9578	  lt_prog_compiler_wl='-Wl,'
9579	  ;;
9580        *Intel*\ [CF]*Compiler*)
9581	  lt_prog_compiler_wl='-Wl,'
9582	  lt_prog_compiler_pic='-fPIC'
9583	  lt_prog_compiler_static='-static'
9584	  ;;
9585	*Portland\ Group*)
9586	  lt_prog_compiler_wl='-Wl,'
9587	  lt_prog_compiler_pic='-fpic'
9588	  lt_prog_compiler_static='-Bstatic'
9589	  ;;
9590	esac
9591	;;
9592      esac
9593      ;;
9594
9595    newsos6)
9596      lt_prog_compiler_pic='-KPIC'
9597      lt_prog_compiler_static='-Bstatic'
9598      ;;
9599
9600    *nto* | *qnx*)
9601      # QNX uses GNU C++, but need to define -shared option too, otherwise
9602      # it will coredump.
9603      lt_prog_compiler_pic='-fPIC -shared'
9604      ;;
9605
9606    osf3* | osf4* | osf5*)
9607      lt_prog_compiler_wl='-Wl,'
9608      # All OSF/1 code is PIC.
9609      lt_prog_compiler_static='-non_shared'
9610      ;;
9611
9612    rdos*)
9613      lt_prog_compiler_static='-non_shared'
9614      ;;
9615
9616    solaris*)
9617      lt_prog_compiler_pic='-KPIC'
9618      lt_prog_compiler_static='-Bstatic'
9619      case $cc_basename in
9620      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9621	lt_prog_compiler_wl='-Qoption ld ';;
9622      *)
9623	lt_prog_compiler_wl='-Wl,';;
9624      esac
9625      ;;
9626
9627    sunos4*)
9628      lt_prog_compiler_wl='-Qoption ld '
9629      lt_prog_compiler_pic='-PIC'
9630      lt_prog_compiler_static='-Bstatic'
9631      ;;
9632
9633    sysv4 | sysv4.2uw2* | sysv4.3*)
9634      lt_prog_compiler_wl='-Wl,'
9635      lt_prog_compiler_pic='-KPIC'
9636      lt_prog_compiler_static='-Bstatic'
9637      ;;
9638
9639    sysv4*MP*)
9640      if test -d /usr/nec; then
9641	lt_prog_compiler_pic='-Kconform_pic'
9642	lt_prog_compiler_static='-Bstatic'
9643      fi
9644      ;;
9645
9646    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9647      lt_prog_compiler_wl='-Wl,'
9648      lt_prog_compiler_pic='-KPIC'
9649      lt_prog_compiler_static='-Bstatic'
9650      ;;
9651
9652    unicos*)
9653      lt_prog_compiler_wl='-Wl,'
9654      lt_prog_compiler_can_build_shared=no
9655      ;;
9656
9657    uts4*)
9658      lt_prog_compiler_pic='-pic'
9659      lt_prog_compiler_static='-Bstatic'
9660      ;;
9661
9662    *)
9663      lt_prog_compiler_can_build_shared=no
9664      ;;
9665    esac
9666  fi
9667
9668case $host_os in
9669  # For platforms that do not support PIC, -DPIC is meaningless:
9670  *djgpp*)
9671    lt_prog_compiler_pic=
9672    ;;
9673  *)
9674    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9675    ;;
9676esac
9677
9678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9679$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9680if ${lt_cv_prog_compiler_pic+:} false; then :
9681  $as_echo_n "(cached) " >&6
9682else
9683  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9684fi
9685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9686$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9687lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9688
9689#
9690# Check to make sure the PIC flag actually works.
9691#
9692if test -n "$lt_prog_compiler_pic"; then
9693  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9694$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9695if ${lt_cv_prog_compiler_pic_works+:} false; then :
9696  $as_echo_n "(cached) " >&6
9697else
9698  lt_cv_prog_compiler_pic_works=no
9699   ac_outfile=conftest.$ac_objext
9700   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9701   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9702   # Insert the option either (1) after the last *FLAGS variable, or
9703   # (2) before a word containing "conftest.", or (3) at the end.
9704   # Note that $ac_compile itself does not contain backslashes and begins
9705   # with a dollar sign (not a hyphen), so the echo should work correctly.
9706   # The option is referenced via a variable to avoid confusing sed.
9707   lt_compile=`echo "$ac_compile" | $SED \
9708   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9709   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9710   -e 's:$: $lt_compiler_flag:'`
9711   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9712   (eval "$lt_compile" 2>conftest.err)
9713   ac_status=$?
9714   cat conftest.err >&5
9715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716   if (exit $ac_status) && test -s "$ac_outfile"; then
9717     # The compiler can only warn and ignore the option if not recognized
9718     # So say no if there are warnings other than the usual output.
9719     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9720     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9721     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9722       lt_cv_prog_compiler_pic_works=yes
9723     fi
9724   fi
9725   $RM conftest*
9726
9727fi
9728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9729$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9730
9731if test yes = "$lt_cv_prog_compiler_pic_works"; then
9732    case $lt_prog_compiler_pic in
9733     "" | " "*) ;;
9734     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9735     esac
9736else
9737    lt_prog_compiler_pic=
9738     lt_prog_compiler_can_build_shared=no
9739fi
9740
9741fi
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753#
9754# Check to make sure the static flag actually works.
9755#
9756wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9758$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9759if ${lt_cv_prog_compiler_static_works+:} false; then :
9760  $as_echo_n "(cached) " >&6
9761else
9762  lt_cv_prog_compiler_static_works=no
9763   save_LDFLAGS=$LDFLAGS
9764   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9765   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9766   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9767     # The linker can only warn and ignore the option if not recognized
9768     # So say no if there are warnings
9769     if test -s conftest.err; then
9770       # Append any errors to the config.log.
9771       cat conftest.err 1>&5
9772       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9773       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9774       if diff conftest.exp conftest.er2 >/dev/null; then
9775         lt_cv_prog_compiler_static_works=yes
9776       fi
9777     else
9778       lt_cv_prog_compiler_static_works=yes
9779     fi
9780   fi
9781   $RM -r conftest*
9782   LDFLAGS=$save_LDFLAGS
9783
9784fi
9785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9786$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9787
9788if test yes = "$lt_cv_prog_compiler_static_works"; then
9789    :
9790else
9791    lt_prog_compiler_static=
9792fi
9793
9794
9795
9796
9797
9798
9799
9800  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9801$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9802if ${lt_cv_prog_compiler_c_o+:} false; then :
9803  $as_echo_n "(cached) " >&6
9804else
9805  lt_cv_prog_compiler_c_o=no
9806   $RM -r conftest 2>/dev/null
9807   mkdir conftest
9808   cd conftest
9809   mkdir out
9810   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9811
9812   lt_compiler_flag="-o out/conftest2.$ac_objext"
9813   # Insert the option either (1) after the last *FLAGS variable, or
9814   # (2) before a word containing "conftest.", or (3) at the end.
9815   # Note that $ac_compile itself does not contain backslashes and begins
9816   # with a dollar sign (not a hyphen), so the echo should work correctly.
9817   lt_compile=`echo "$ac_compile" | $SED \
9818   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9819   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9820   -e 's:$: $lt_compiler_flag:'`
9821   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9822   (eval "$lt_compile" 2>out/conftest.err)
9823   ac_status=$?
9824   cat out/conftest.err >&5
9825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9827   then
9828     # The compiler can only warn and ignore the option if not recognized
9829     # So say no if there are warnings
9830     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9831     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9832     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9833       lt_cv_prog_compiler_c_o=yes
9834     fi
9835   fi
9836   chmod u+w . 2>&5
9837   $RM conftest*
9838   # SGI C++ compiler will create directory out/ii_files/ for
9839   # template instantiation
9840   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9841   $RM out/* && rmdir out
9842   cd ..
9843   $RM -r conftest
9844   $RM conftest*
9845
9846fi
9847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9848$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9849
9850
9851
9852
9853
9854
9855  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9856$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9857if ${lt_cv_prog_compiler_c_o+:} false; then :
9858  $as_echo_n "(cached) " >&6
9859else
9860  lt_cv_prog_compiler_c_o=no
9861   $RM -r conftest 2>/dev/null
9862   mkdir conftest
9863   cd conftest
9864   mkdir out
9865   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9866
9867   lt_compiler_flag="-o out/conftest2.$ac_objext"
9868   # Insert the option either (1) after the last *FLAGS variable, or
9869   # (2) before a word containing "conftest.", or (3) at the end.
9870   # Note that $ac_compile itself does not contain backslashes and begins
9871   # with a dollar sign (not a hyphen), so the echo should work correctly.
9872   lt_compile=`echo "$ac_compile" | $SED \
9873   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9874   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9875   -e 's:$: $lt_compiler_flag:'`
9876   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9877   (eval "$lt_compile" 2>out/conftest.err)
9878   ac_status=$?
9879   cat out/conftest.err >&5
9880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9882   then
9883     # The compiler can only warn and ignore the option if not recognized
9884     # So say no if there are warnings
9885     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9886     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9887     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9888       lt_cv_prog_compiler_c_o=yes
9889     fi
9890   fi
9891   chmod u+w . 2>&5
9892   $RM conftest*
9893   # SGI C++ compiler will create directory out/ii_files/ for
9894   # template instantiation
9895   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9896   $RM out/* && rmdir out
9897   cd ..
9898   $RM -r conftest
9899   $RM conftest*
9900
9901fi
9902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9903$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9904
9905
9906
9907
9908hard_links=nottested
9909if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9910  # do not overwrite the value of need_locks provided by the user
9911  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9912$as_echo_n "checking if we can lock with hard links... " >&6; }
9913  hard_links=yes
9914  $RM conftest*
9915  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9916  touch conftest.a
9917  ln conftest.a conftest.b 2>&5 || hard_links=no
9918  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9920$as_echo "$hard_links" >&6; }
9921  if test no = "$hard_links"; then
9922    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9923$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9924    need_locks=warn
9925  fi
9926else
9927  need_locks=no
9928fi
9929
9930
9931
9932
9933
9934
9935  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9936$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9937
9938  runpath_var=
9939  allow_undefined_flag=
9940  always_export_symbols=no
9941  archive_cmds=
9942  archive_expsym_cmds=
9943  compiler_needs_object=no
9944  enable_shared_with_static_runtimes=no
9945  export_dynamic_flag_spec=
9946  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9947  hardcode_automatic=no
9948  hardcode_direct=no
9949  hardcode_direct_absolute=no
9950  hardcode_libdir_flag_spec=
9951  hardcode_libdir_separator=
9952  hardcode_minus_L=no
9953  hardcode_shlibpath_var=unsupported
9954  inherit_rpath=no
9955  link_all_deplibs=unknown
9956  module_cmds=
9957  module_expsym_cmds=
9958  old_archive_from_new_cmds=
9959  old_archive_from_expsyms_cmds=
9960  thread_safe_flag_spec=
9961  whole_archive_flag_spec=
9962  # include_expsyms should be a list of space-separated symbols to be *always*
9963  # included in the symbol list
9964  include_expsyms=
9965  # exclude_expsyms can be an extended regexp of symbols to exclude
9966  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9967  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9968  # as well as any symbol that contains 'd'.
9969  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9970  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9971  # platforms (ab)use it in PIC code, but their linkers get confused if
9972  # the symbol is explicitly referenced.  Since portable code cannot
9973  # rely on this symbol name, it's probably fine to never include it in
9974  # preloaded symbol tables.
9975  # Exclude shared library initialization/finalization symbols.
9976  extract_expsyms_cmds=
9977
9978  case $host_os in
9979  cygwin* | mingw* | pw32* | cegcc*)
9980    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9981    # When not using gcc, we currently assume that we are using
9982    # Microsoft Visual C++.
9983    if test yes != "$GCC"; then
9984      with_gnu_ld=no
9985    fi
9986    ;;
9987  interix*)
9988    # we just hope/assume this is gcc and not c89 (= MSVC++)
9989    with_gnu_ld=yes
9990    ;;
9991  openbsd* | bitrig*)
9992    with_gnu_ld=no
9993    ;;
9994  esac
9995
9996  ld_shlibs=yes
9997
9998  # On some targets, GNU ld is compatible enough with the native linker
9999  # that we're better off using the native interface for both.
10000  lt_use_gnu_ld_interface=no
10001  if test yes = "$with_gnu_ld"; then
10002    case $host_os in
10003      aix*)
10004	# The AIX port of GNU ld has always aspired to compatibility
10005	# with the native linker.  However, as the warning in the GNU ld
10006	# block says, versions before 2.19.5* couldn't really create working
10007	# shared libraries, regardless of the interface used.
10008	case `$LD -v 2>&1` in
10009	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10010	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10011	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10012	  *)
10013	    lt_use_gnu_ld_interface=yes
10014	    ;;
10015	esac
10016	;;
10017      *)
10018	lt_use_gnu_ld_interface=yes
10019	;;
10020    esac
10021  fi
10022
10023  if test yes = "$lt_use_gnu_ld_interface"; then
10024    # If archive_cmds runs LD, not CC, wlarc should be empty
10025    wlarc='$wl'
10026
10027    # Set some defaults for GNU ld with shared library support. These
10028    # are reset later if shared libraries are not supported. Putting them
10029    # here allows them to be overridden if necessary.
10030    runpath_var=LD_RUN_PATH
10031    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10032    export_dynamic_flag_spec='$wl--export-dynamic'
10033    # ancient GNU ld didn't support --whole-archive et. al.
10034    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10035      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10036    else
10037      whole_archive_flag_spec=
10038    fi
10039    supports_anon_versioning=no
10040    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10041      *GNU\ gold*) supports_anon_versioning=yes ;;
10042      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10043      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10044      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10045      *\ 2.11.*) ;; # other 2.11 versions
10046      *) supports_anon_versioning=yes ;;
10047    esac
10048
10049    # See if GNU ld supports shared libraries.
10050    case $host_os in
10051    aix[3-9]*)
10052      # On AIX/PPC, the GNU linker is very broken
10053      if test ia64 != "$host_cpu"; then
10054	ld_shlibs=no
10055	cat <<_LT_EOF 1>&2
10056
10057*** Warning: the GNU linker, at least up to release 2.19, is reported
10058*** to be unable to reliably create shared libraries on AIX.
10059*** Therefore, libtool is disabling shared libraries support.  If you
10060*** really care for shared libraries, you may want to install binutils
10061*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10062*** You will then need to restart the configuration process.
10063
10064_LT_EOF
10065      fi
10066      ;;
10067
10068    amigaos*)
10069      case $host_cpu in
10070      powerpc)
10071            # see comment about AmigaOS4 .so support
10072            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10073            archive_expsym_cmds=''
10074        ;;
10075      m68k)
10076            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)'
10077            hardcode_libdir_flag_spec='-L$libdir'
10078            hardcode_minus_L=yes
10079        ;;
10080      esac
10081      ;;
10082
10083    beos*)
10084      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10085	allow_undefined_flag=unsupported
10086	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10087	# support --undefined.  This deserves some investigation.  FIXME
10088	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10089      else
10090	ld_shlibs=no
10091      fi
10092      ;;
10093
10094    cygwin* | mingw* | pw32* | cegcc*)
10095      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10096      # as there is no search path for DLLs.
10097      hardcode_libdir_flag_spec='-L$libdir'
10098      export_dynamic_flag_spec='$wl--export-all-symbols'
10099      allow_undefined_flag=unsupported
10100      always_export_symbols=no
10101      enable_shared_with_static_runtimes=yes
10102      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'
10103      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10104
10105      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10106        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10107	# If the export-symbols file already is a .def file, use it as
10108	# is; otherwise, prepend EXPORTS...
10109	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10110          cp $export_symbols $output_objdir/$soname.def;
10111        else
10112          echo EXPORTS > $output_objdir/$soname.def;
10113          cat $export_symbols >> $output_objdir/$soname.def;
10114        fi~
10115        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10116      else
10117	ld_shlibs=no
10118      fi
10119      ;;
10120
10121    haiku*)
10122      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10123      link_all_deplibs=yes
10124      ;;
10125
10126    os2*)
10127      hardcode_libdir_flag_spec='-L$libdir'
10128      hardcode_minus_L=yes
10129      allow_undefined_flag=unsupported
10130      shrext_cmds=.dll
10131      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10132	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10133	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10134	$ECHO EXPORTS >> $output_objdir/$libname.def~
10135	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10136	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10137	emximp -o $lib $output_objdir/$libname.def'
10138      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10139	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10140	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10141	$ECHO EXPORTS >> $output_objdir/$libname.def~
10142	prefix_cmds="$SED"~
10143	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10144	  prefix_cmds="$prefix_cmds -e 1d";
10145	fi~
10146	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10147	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10148	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10149	emximp -o $lib $output_objdir/$libname.def'
10150      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10151      enable_shared_with_static_runtimes=yes
10152      ;;
10153
10154    interix[3-9]*)
10155      hardcode_direct=no
10156      hardcode_shlibpath_var=no
10157      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10158      export_dynamic_flag_spec='$wl-E'
10159      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10160      # Instead, shared libraries are loaded at an image base (0x10000000 by
10161      # default) and relocated if they conflict, which is a slow very memory
10162      # consuming and fragmenting process.  To avoid this, we pick a random,
10163      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10164      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10165      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10166      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'
10167      ;;
10168
10169    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10170      tmp_diet=no
10171      if test linux-dietlibc = "$host_os"; then
10172	case $cc_basename in
10173	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10174	esac
10175      fi
10176      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10177	 && test no = "$tmp_diet"
10178      then
10179	tmp_addflag=' $pic_flag'
10180	tmp_sharedflag='-shared'
10181	case $cc_basename,$host_cpu in
10182        pgcc*)				# Portland Group C compiler
10183	  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'
10184	  tmp_addflag=' $pic_flag'
10185	  ;;
10186	pgf77* | pgf90* | pgf95* | pgfortran*)
10187					# Portland Group f77 and f90 compilers
10188	  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'
10189	  tmp_addflag=' $pic_flag -Mnomain' ;;
10190	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10191	  tmp_addflag=' -i_dynamic' ;;
10192	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10193	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10194	ifc* | ifort*)			# Intel Fortran compiler
10195	  tmp_addflag=' -nofor_main' ;;
10196	lf95*)				# Lahey Fortran 8.1
10197	  whole_archive_flag_spec=
10198	  tmp_sharedflag='--shared' ;;
10199        nagfor*)                        # NAGFOR 5.3
10200          tmp_sharedflag='-Wl,-shared' ;;
10201	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10202	  tmp_sharedflag='-qmkshrobj'
10203	  tmp_addflag= ;;
10204	nvcc*)	# Cuda Compiler Driver 2.2
10205	  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'
10206	  compiler_needs_object=yes
10207	  ;;
10208	esac
10209	case `$CC -V 2>&1 | sed 5q` in
10210	*Sun\ C*)			# Sun C 5.9
10211	  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'
10212	  compiler_needs_object=yes
10213	  tmp_sharedflag='-G' ;;
10214	*Sun\ F*)			# Sun Fortran 8.3
10215	  tmp_sharedflag='-G' ;;
10216	esac
10217	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10218
10219        if test yes = "$supports_anon_versioning"; then
10220          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10221            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10222            echo "local: *; };" >> $output_objdir/$libname.ver~
10223            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10224        fi
10225
10226	case $cc_basename in
10227	tcc*)
10228	  export_dynamic_flag_spec='-rdynamic'
10229	  ;;
10230	xlf* | bgf* | bgxlf* | mpixlf*)
10231	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10232	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10233	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10234	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10235	  if test yes = "$supports_anon_versioning"; then
10236	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10237              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10238              echo "local: *; };" >> $output_objdir/$libname.ver~
10239              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10240	  fi
10241	  ;;
10242	esac
10243      else
10244        ld_shlibs=no
10245      fi
10246      ;;
10247
10248    netbsd*)
10249      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10250	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10251	wlarc=
10252      else
10253	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10254	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10255      fi
10256      ;;
10257
10258    solaris*)
10259      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10260	ld_shlibs=no
10261	cat <<_LT_EOF 1>&2
10262
10263*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10264*** create shared libraries on Solaris systems.  Therefore, libtool
10265*** is disabling shared libraries support.  We urge you to upgrade GNU
10266*** binutils to release 2.9.1 or newer.  Another option is to modify
10267*** your PATH or compiler configuration so that the native linker is
10268*** used, and then restart.
10269
10270_LT_EOF
10271      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10272	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10273	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10274      else
10275	ld_shlibs=no
10276      fi
10277      ;;
10278
10279    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10280      case `$LD -v 2>&1` in
10281        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10282	ld_shlibs=no
10283	cat <<_LT_EOF 1>&2
10284
10285*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10286*** reliably create shared libraries on SCO systems.  Therefore, libtool
10287*** is disabling shared libraries support.  We urge you to upgrade GNU
10288*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10289*** your PATH or compiler configuration so that the native linker is
10290*** used, and then restart.
10291
10292_LT_EOF
10293	;;
10294	*)
10295	  # For security reasons, it is highly recommended that you always
10296	  # use absolute paths for naming shared libraries, and exclude the
10297	  # DT_RUNPATH tag from executables and libraries.  But doing so
10298	  # requires that you compile everything twice, which is a pain.
10299	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10300	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10301	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10302	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10303	  else
10304	    ld_shlibs=no
10305	  fi
10306	;;
10307      esac
10308      ;;
10309
10310    sunos4*)
10311      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10312      wlarc=
10313      hardcode_direct=yes
10314      hardcode_shlibpath_var=no
10315      ;;
10316
10317    *)
10318      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10319	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10320	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10321      else
10322	ld_shlibs=no
10323      fi
10324      ;;
10325    esac
10326
10327    if test no = "$ld_shlibs"; then
10328      runpath_var=
10329      hardcode_libdir_flag_spec=
10330      export_dynamic_flag_spec=
10331      whole_archive_flag_spec=
10332    fi
10333  else
10334    # PORTME fill in a description of your system's linker (not GNU ld)
10335    case $host_os in
10336    aix3*)
10337      allow_undefined_flag=unsupported
10338      always_export_symbols=yes
10339      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'
10340      # Note: this linker hardcodes the directories in LIBPATH if there
10341      # are no directories specified by -L.
10342      hardcode_minus_L=yes
10343      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10344	# Neither direct hardcoding nor static linking is supported with a
10345	# broken collect2.
10346	hardcode_direct=unsupported
10347      fi
10348      ;;
10349
10350    aix[4-9]*)
10351      if test ia64 = "$host_cpu"; then
10352	# On IA64, the linker does run time linking by default, so we don't
10353	# have to do anything special.
10354	aix_use_runtimelinking=no
10355	exp_sym_flag='-Bexport'
10356	no_entry_flag=
10357      else
10358	# If we're using GNU nm, then we don't want the "-C" option.
10359	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10360	# Without the "-l" option, or with the "-B" option, AIX nm treats
10361	# weak defined symbols like other global defined symbols, whereas
10362	# GNU nm marks them as "W".
10363	# While the 'weak' keyword is ignored in the Export File, we need
10364	# it in the Import File for the 'aix-soname' feature, so we have
10365	# to replace the "-B" option with "-P" for AIX nm.
10366	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10367	  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'
10368	else
10369	  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'
10370	fi
10371	aix_use_runtimelinking=no
10372
10373	# Test if we are trying to use run time linking or normal
10374	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10375	# have runtime linking enabled, and use it for executables.
10376	# For shared libraries, we enable/disable runtime linking
10377	# depending on the kind of the shared library created -
10378	# when "with_aix_soname,aix_use_runtimelinking" is:
10379	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10380	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10381	#            lib.a           static archive
10382	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10383	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10384	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10385	#            lib.a(lib.so.V) shared, rtl:no
10386	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10387	#            lib.a           static archive
10388	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10389	  for ld_flag in $LDFLAGS; do
10390	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10391	    aix_use_runtimelinking=yes
10392	    break
10393	  fi
10394	  done
10395	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10396	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10397	    # so we don't have lib.a shared libs to link our executables.
10398	    # We have to force runtime linking in this case.
10399	    aix_use_runtimelinking=yes
10400	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10401	  fi
10402	  ;;
10403	esac
10404
10405	exp_sym_flag='-bexport'
10406	no_entry_flag='-bnoentry'
10407      fi
10408
10409      # When large executables or shared objects are built, AIX ld can
10410      # have problems creating the table of contents.  If linking a library
10411      # or program results in "error TOC overflow" add -mminimal-toc to
10412      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10413      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10414
10415      archive_cmds=''
10416      hardcode_direct=yes
10417      hardcode_direct_absolute=yes
10418      hardcode_libdir_separator=':'
10419      link_all_deplibs=yes
10420      file_list_spec='$wl-f,'
10421      case $with_aix_soname,$aix_use_runtimelinking in
10422      aix,*) ;; # traditional, no import file
10423      svr4,* | *,yes) # use import file
10424	# The Import File defines what to hardcode.
10425	hardcode_direct=no
10426	hardcode_direct_absolute=no
10427	;;
10428      esac
10429
10430      if test yes = "$GCC"; then
10431	case $host_os in aix4.[012]|aix4.[012].*)
10432	# We only want to do this on AIX 4.2 and lower, the check
10433	# below for broken collect2 doesn't work under 4.3+
10434	  collect2name=`$CC -print-prog-name=collect2`
10435	  if test -f "$collect2name" &&
10436	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10437	  then
10438	  # We have reworked collect2
10439	  :
10440	  else
10441	  # We have old collect2
10442	  hardcode_direct=unsupported
10443	  # It fails to find uninstalled libraries when the uninstalled
10444	  # path is not listed in the libpath.  Setting hardcode_minus_L
10445	  # to unsupported forces relinking
10446	  hardcode_minus_L=yes
10447	  hardcode_libdir_flag_spec='-L$libdir'
10448	  hardcode_libdir_separator=
10449	  fi
10450	  ;;
10451	esac
10452	shared_flag='-shared'
10453	if test yes = "$aix_use_runtimelinking"; then
10454	  shared_flag="$shared_flag "'$wl-G'
10455	fi
10456	# Need to ensure runtime linking is disabled for the traditional
10457	# shared library, or the linker may eventually find shared libraries
10458	# /with/ Import File - we do not want to mix them.
10459	shared_flag_aix='-shared'
10460	shared_flag_svr4='-shared $wl-G'
10461      else
10462	# not using gcc
10463	if test ia64 = "$host_cpu"; then
10464	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10465	# chokes on -Wl,-G. The following line is correct:
10466	  shared_flag='-G'
10467	else
10468	  if test yes = "$aix_use_runtimelinking"; then
10469	    shared_flag='$wl-G'
10470	  else
10471	    shared_flag='$wl-bM:SRE'
10472	  fi
10473	  shared_flag_aix='$wl-bM:SRE'
10474	  shared_flag_svr4='$wl-G'
10475	fi
10476      fi
10477
10478      export_dynamic_flag_spec='$wl-bexpall'
10479      # It seems that -bexpall does not export symbols beginning with
10480      # underscore (_), so it is better to generate a list of symbols to export.
10481      always_export_symbols=yes
10482      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10483	# Warning - without using the other runtime loading flags (-brtl),
10484	# -berok will link without error, but may produce a broken library.
10485	allow_undefined_flag='-berok'
10486        # Determine the default libpath from the value encoded in an
10487        # empty executable.
10488        if test set = "${lt_cv_aix_libpath+set}"; then
10489  aix_libpath=$lt_cv_aix_libpath
10490else
10491  if ${lt_cv_aix_libpath_+:} false; then :
10492  $as_echo_n "(cached) " >&6
10493else
10494  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10495/* end confdefs.h.  */
10496
10497int
10498main ()
10499{
10500
10501  ;
10502  return 0;
10503}
10504_ACEOF
10505if ac_fn_c_try_link "$LINENO"; then :
10506
10507  lt_aix_libpath_sed='
10508      /Import File Strings/,/^$/ {
10509	  /^0/ {
10510	      s/^0  *\([^ ]*\) *$/\1/
10511	      p
10512	  }
10513      }'
10514  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10515  # Check for a 64-bit object if we didn't find anything.
10516  if test -z "$lt_cv_aix_libpath_"; then
10517    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10518  fi
10519fi
10520rm -f core conftest.err conftest.$ac_objext \
10521    conftest$ac_exeext conftest.$ac_ext
10522  if test -z "$lt_cv_aix_libpath_"; then
10523    lt_cv_aix_libpath_=/usr/lib:/lib
10524  fi
10525
10526fi
10527
10528  aix_libpath=$lt_cv_aix_libpath_
10529fi
10530
10531        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10532        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
10533      else
10534	if test ia64 = "$host_cpu"; then
10535	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10536	  allow_undefined_flag="-z nodefs"
10537	  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"
10538	else
10539	 # Determine the default libpath from the value encoded in an
10540	 # empty executable.
10541	 if test set = "${lt_cv_aix_libpath+set}"; then
10542  aix_libpath=$lt_cv_aix_libpath
10543else
10544  if ${lt_cv_aix_libpath_+:} false; then :
10545  $as_echo_n "(cached) " >&6
10546else
10547  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10548/* end confdefs.h.  */
10549
10550int
10551main ()
10552{
10553
10554  ;
10555  return 0;
10556}
10557_ACEOF
10558if ac_fn_c_try_link "$LINENO"; then :
10559
10560  lt_aix_libpath_sed='
10561      /Import File Strings/,/^$/ {
10562	  /^0/ {
10563	      s/^0  *\([^ ]*\) *$/\1/
10564	      p
10565	  }
10566      }'
10567  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10568  # Check for a 64-bit object if we didn't find anything.
10569  if test -z "$lt_cv_aix_libpath_"; then
10570    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10571  fi
10572fi
10573rm -f core conftest.err conftest.$ac_objext \
10574    conftest$ac_exeext conftest.$ac_ext
10575  if test -z "$lt_cv_aix_libpath_"; then
10576    lt_cv_aix_libpath_=/usr/lib:/lib
10577  fi
10578
10579fi
10580
10581  aix_libpath=$lt_cv_aix_libpath_
10582fi
10583
10584	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10585	  # Warning - without using the other run time loading flags,
10586	  # -berok will link without error, but may produce a broken library.
10587	  no_undefined_flag=' $wl-bernotok'
10588	  allow_undefined_flag=' $wl-berok'
10589	  if test yes = "$with_gnu_ld"; then
10590	    # We only use this code for GNU lds that support --whole-archive.
10591	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10592	  else
10593	    # Exported symbols can be pulled into shared objects from archives
10594	    whole_archive_flag_spec='$convenience'
10595	  fi
10596	  archive_cmds_need_lc=yes
10597	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10598	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10599	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10600	  if test svr4 != "$with_aix_soname"; then
10601	    # This is similar to how AIX traditionally builds its shared libraries.
10602	    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'
10603	  fi
10604	  if test aix != "$with_aix_soname"; then
10605	    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'
10606	  else
10607	    # used by -dlpreopen to get the symbols
10608	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10609	  fi
10610	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10611	fi
10612      fi
10613      ;;
10614
10615    amigaos*)
10616      case $host_cpu in
10617      powerpc)
10618            # see comment about AmigaOS4 .so support
10619            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10620            archive_expsym_cmds=''
10621        ;;
10622      m68k)
10623            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)'
10624            hardcode_libdir_flag_spec='-L$libdir'
10625            hardcode_minus_L=yes
10626        ;;
10627      esac
10628      ;;
10629
10630    bsdi[45]*)
10631      export_dynamic_flag_spec=-rdynamic
10632      ;;
10633
10634    cygwin* | mingw* | pw32* | cegcc*)
10635      # When not using gcc, we currently assume that we are using
10636      # Microsoft Visual C++.
10637      # hardcode_libdir_flag_spec is actually meaningless, as there is
10638      # no search path for DLLs.
10639      case $cc_basename in
10640      cl*)
10641	# Native MSVC
10642	hardcode_libdir_flag_spec=' '
10643	allow_undefined_flag=unsupported
10644	always_export_symbols=yes
10645	file_list_spec='@'
10646	# Tell ltmain to make .lib files, not .a files.
10647	libext=lib
10648	# Tell ltmain to make .dll files, not .so files.
10649	shrext_cmds=.dll
10650	# FIXME: Setting linknames here is a bad hack.
10651	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10652	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10653            cp "$export_symbols" "$output_objdir/$soname.def";
10654            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10655          else
10656            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10657          fi~
10658          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10659          linknames='
10660	# The linker will not automatically build a static lib if we build a DLL.
10661	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10662	enable_shared_with_static_runtimes=yes
10663	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10664	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10665	# Don't use ranlib
10666	old_postinstall_cmds='chmod 644 $oldlib'
10667	postlink_cmds='lt_outputfile="@OUTPUT@"~
10668          lt_tool_outputfile="@TOOL_OUTPUT@"~
10669          case $lt_outputfile in
10670            *.exe|*.EXE) ;;
10671            *)
10672              lt_outputfile=$lt_outputfile.exe
10673              lt_tool_outputfile=$lt_tool_outputfile.exe
10674              ;;
10675          esac~
10676          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10677            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10678            $RM "$lt_outputfile.manifest";
10679          fi'
10680	;;
10681      *)
10682	# Assume MSVC wrapper
10683	hardcode_libdir_flag_spec=' '
10684	allow_undefined_flag=unsupported
10685	# Tell ltmain to make .lib files, not .a files.
10686	libext=lib
10687	# Tell ltmain to make .dll files, not .so files.
10688	shrext_cmds=.dll
10689	# FIXME: Setting linknames here is a bad hack.
10690	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10691	# The linker will automatically build a .lib file if we build a DLL.
10692	old_archive_from_new_cmds='true'
10693	# FIXME: Should let the user specify the lib program.
10694	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10695	enable_shared_with_static_runtimes=yes
10696	;;
10697      esac
10698      ;;
10699
10700    darwin* | rhapsody*)
10701
10702
10703  archive_cmds_need_lc=no
10704  hardcode_direct=no
10705  hardcode_automatic=yes
10706  hardcode_shlibpath_var=unsupported
10707  if test yes = "$lt_cv_ld_force_load"; then
10708    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\"`'
10709
10710  else
10711    whole_archive_flag_spec=''
10712  fi
10713  link_all_deplibs=yes
10714  allow_undefined_flag=$_lt_dar_allow_undefined
10715  case $cc_basename in
10716     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10717     *) _lt_dar_can_shared=$GCC ;;
10718  esac
10719  if test yes = "$_lt_dar_can_shared"; then
10720    output_verbose_link_cmd=func_echo_all
10721    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10722    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10723    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"
10724    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"
10725
10726  else
10727  ld_shlibs=no
10728  fi
10729
10730      ;;
10731
10732    dgux*)
10733      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10734      hardcode_libdir_flag_spec='-L$libdir'
10735      hardcode_shlibpath_var=no
10736      ;;
10737
10738    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10739    # support.  Future versions do this automatically, but an explicit c++rt0.o
10740    # does not break anything, and helps significantly (at the cost of a little
10741    # extra space).
10742    freebsd2.2*)
10743      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10744      hardcode_libdir_flag_spec='-R$libdir'
10745      hardcode_direct=yes
10746      hardcode_shlibpath_var=no
10747      ;;
10748
10749    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10750    freebsd2.*)
10751      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10752      hardcode_direct=yes
10753      hardcode_minus_L=yes
10754      hardcode_shlibpath_var=no
10755      ;;
10756
10757    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10758    freebsd* | dragonfly*)
10759      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10760      hardcode_libdir_flag_spec='-R$libdir'
10761      hardcode_direct=yes
10762      hardcode_shlibpath_var=no
10763      ;;
10764
10765    hpux9*)
10766      if test yes = "$GCC"; then
10767	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'
10768      else
10769	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'
10770      fi
10771      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10772      hardcode_libdir_separator=:
10773      hardcode_direct=yes
10774
10775      # hardcode_minus_L: Not really in the search PATH,
10776      # but as the default location of the library.
10777      hardcode_minus_L=yes
10778      export_dynamic_flag_spec='$wl-E'
10779      ;;
10780
10781    hpux10*)
10782      if test yes,no = "$GCC,$with_gnu_ld"; then
10783	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10784      else
10785	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10786      fi
10787      if test no = "$with_gnu_ld"; then
10788	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10789	hardcode_libdir_separator=:
10790	hardcode_direct=yes
10791	hardcode_direct_absolute=yes
10792	export_dynamic_flag_spec='$wl-E'
10793	# hardcode_minus_L: Not really in the search PATH,
10794	# but as the default location of the library.
10795	hardcode_minus_L=yes
10796      fi
10797      ;;
10798
10799    hpux11*)
10800      if test yes,no = "$GCC,$with_gnu_ld"; then
10801	case $host_cpu in
10802	hppa*64*)
10803	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10804	  ;;
10805	ia64*)
10806	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10807	  ;;
10808	*)
10809	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10810	  ;;
10811	esac
10812      else
10813	case $host_cpu in
10814	hppa*64*)
10815	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10816	  ;;
10817	ia64*)
10818	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10819	  ;;
10820	*)
10821
10822	  # Older versions of the 11.00 compiler do not understand -b yet
10823	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10824	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10825$as_echo_n "checking if $CC understands -b... " >&6; }
10826if ${lt_cv_prog_compiler__b+:} false; then :
10827  $as_echo_n "(cached) " >&6
10828else
10829  lt_cv_prog_compiler__b=no
10830   save_LDFLAGS=$LDFLAGS
10831   LDFLAGS="$LDFLAGS -b"
10832   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10833   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10834     # The linker can only warn and ignore the option if not recognized
10835     # So say no if there are warnings
10836     if test -s conftest.err; then
10837       # Append any errors to the config.log.
10838       cat conftest.err 1>&5
10839       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10840       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10841       if diff conftest.exp conftest.er2 >/dev/null; then
10842         lt_cv_prog_compiler__b=yes
10843       fi
10844     else
10845       lt_cv_prog_compiler__b=yes
10846     fi
10847   fi
10848   $RM -r conftest*
10849   LDFLAGS=$save_LDFLAGS
10850
10851fi
10852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10853$as_echo "$lt_cv_prog_compiler__b" >&6; }
10854
10855if test yes = "$lt_cv_prog_compiler__b"; then
10856    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10857else
10858    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10859fi
10860
10861	  ;;
10862	esac
10863      fi
10864      if test no = "$with_gnu_ld"; then
10865	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10866	hardcode_libdir_separator=:
10867
10868	case $host_cpu in
10869	hppa*64*|ia64*)
10870	  hardcode_direct=no
10871	  hardcode_shlibpath_var=no
10872	  ;;
10873	*)
10874	  hardcode_direct=yes
10875	  hardcode_direct_absolute=yes
10876	  export_dynamic_flag_spec='$wl-E'
10877
10878	  # hardcode_minus_L: Not really in the search PATH,
10879	  # but as the default location of the library.
10880	  hardcode_minus_L=yes
10881	  ;;
10882	esac
10883      fi
10884      ;;
10885
10886    irix5* | irix6* | nonstopux*)
10887      if test yes = "$GCC"; then
10888	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'
10889	# Try to use the -exported_symbol ld option, if it does not
10890	# work, assume that -exports_file does not work either and
10891	# implicitly export all symbols.
10892	# This should be the same for all languages, so no per-tag cache variable.
10893	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10894$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10895if ${lt_cv_irix_exported_symbol+:} false; then :
10896  $as_echo_n "(cached) " >&6
10897else
10898  save_LDFLAGS=$LDFLAGS
10899	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10900	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10901/* end confdefs.h.  */
10902int foo (void) { return 0; }
10903_ACEOF
10904if ac_fn_c_try_link "$LINENO"; then :
10905  lt_cv_irix_exported_symbol=yes
10906else
10907  lt_cv_irix_exported_symbol=no
10908fi
10909rm -f core conftest.err conftest.$ac_objext \
10910    conftest$ac_exeext conftest.$ac_ext
10911           LDFLAGS=$save_LDFLAGS
10912fi
10913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10914$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10915	if test yes = "$lt_cv_irix_exported_symbol"; then
10916          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'
10917	fi
10918      else
10919	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'
10920	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'
10921      fi
10922      archive_cmds_need_lc='no'
10923      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10924      hardcode_libdir_separator=:
10925      inherit_rpath=yes
10926      link_all_deplibs=yes
10927      ;;
10928
10929    linux*)
10930      case $cc_basename in
10931      tcc*)
10932	# Fabrice Bellard et al's Tiny C Compiler
10933	ld_shlibs=yes
10934	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10935	;;
10936      esac
10937      ;;
10938
10939    netbsd*)
10940      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10941	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10942      else
10943	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10944      fi
10945      hardcode_libdir_flag_spec='-R$libdir'
10946      hardcode_direct=yes
10947      hardcode_shlibpath_var=no
10948      ;;
10949
10950    newsos6)
10951      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10952      hardcode_direct=yes
10953      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10954      hardcode_libdir_separator=:
10955      hardcode_shlibpath_var=no
10956      ;;
10957
10958    *nto* | *qnx*)
10959      ;;
10960
10961    openbsd* | bitrig*)
10962      if test -f /usr/libexec/ld.so; then
10963	hardcode_direct=yes
10964	hardcode_shlibpath_var=no
10965	hardcode_direct_absolute=yes
10966	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10967	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10968	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10969	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10970	  export_dynamic_flag_spec='$wl-E'
10971	else
10972	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10973	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10974	fi
10975      else
10976	ld_shlibs=no
10977      fi
10978      ;;
10979
10980    os2*)
10981      hardcode_libdir_flag_spec='-L$libdir'
10982      hardcode_minus_L=yes
10983      allow_undefined_flag=unsupported
10984      shrext_cmds=.dll
10985      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10986	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10987	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10988	$ECHO EXPORTS >> $output_objdir/$libname.def~
10989	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10990	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10991	emximp -o $lib $output_objdir/$libname.def'
10992      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10993	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10994	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10995	$ECHO EXPORTS >> $output_objdir/$libname.def~
10996	prefix_cmds="$SED"~
10997	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10998	  prefix_cmds="$prefix_cmds -e 1d";
10999	fi~
11000	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11001	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11002	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11003	emximp -o $lib $output_objdir/$libname.def'
11004      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11005      enable_shared_with_static_runtimes=yes
11006      ;;
11007
11008    osf3*)
11009      if test yes = "$GCC"; then
11010	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11011	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'
11012      else
11013	allow_undefined_flag=' -expect_unresolved \*'
11014	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'
11015      fi
11016      archive_cmds_need_lc='no'
11017      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11018      hardcode_libdir_separator=:
11019      ;;
11020
11021    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11022      if test yes = "$GCC"; then
11023	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11024	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'
11025	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11026      else
11027	allow_undefined_flag=' -expect_unresolved \*'
11028	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'
11029	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~
11030          $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'
11031
11032	# Both c and cxx compiler support -rpath directly
11033	hardcode_libdir_flag_spec='-rpath $libdir'
11034      fi
11035      archive_cmds_need_lc='no'
11036      hardcode_libdir_separator=:
11037      ;;
11038
11039    solaris*)
11040      no_undefined_flag=' -z defs'
11041      if test yes = "$GCC"; then
11042	wlarc='$wl'
11043	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11044	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11045          $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'
11046      else
11047	case `$CC -V 2>&1` in
11048	*"Compilers 5.0"*)
11049	  wlarc=''
11050	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11051	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11052            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11053	  ;;
11054	*)
11055	  wlarc='$wl'
11056	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11057	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11058            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11059	  ;;
11060	esac
11061      fi
11062      hardcode_libdir_flag_spec='-R$libdir'
11063      hardcode_shlibpath_var=no
11064      case $host_os in
11065      solaris2.[0-5] | solaris2.[0-5].*) ;;
11066      *)
11067	# The compiler driver will combine and reorder linker options,
11068	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11069	# but is careful enough not to reorder.
11070	# Supported since Solaris 2.6 (maybe 2.5.1?)
11071	if test yes = "$GCC"; then
11072	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11073	else
11074	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11075	fi
11076	;;
11077      esac
11078      link_all_deplibs=yes
11079      ;;
11080
11081    sunos4*)
11082      if test sequent = "$host_vendor"; then
11083	# Use $CC to link under sequent, because it throws in some extra .o
11084	# files that make .init and .fini sections work.
11085	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11086      else
11087	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11088      fi
11089      hardcode_libdir_flag_spec='-L$libdir'
11090      hardcode_direct=yes
11091      hardcode_minus_L=yes
11092      hardcode_shlibpath_var=no
11093      ;;
11094
11095    sysv4)
11096      case $host_vendor in
11097	sni)
11098	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11099	  hardcode_direct=yes # is this really true???
11100	;;
11101	siemens)
11102	  ## LD is ld it makes a PLAMLIB
11103	  ## CC just makes a GrossModule.
11104	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11105	  reload_cmds='$CC -r -o $output$reload_objs'
11106	  hardcode_direct=no
11107        ;;
11108	motorola)
11109	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11110	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11111	;;
11112      esac
11113      runpath_var='LD_RUN_PATH'
11114      hardcode_shlibpath_var=no
11115      ;;
11116
11117    sysv4.3*)
11118      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11119      hardcode_shlibpath_var=no
11120      export_dynamic_flag_spec='-Bexport'
11121      ;;
11122
11123    sysv4*MP*)
11124      if test -d /usr/nec; then
11125	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11126	hardcode_shlibpath_var=no
11127	runpath_var=LD_RUN_PATH
11128	hardcode_runpath_var=yes
11129	ld_shlibs=yes
11130      fi
11131      ;;
11132
11133    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11134      no_undefined_flag='$wl-z,text'
11135      archive_cmds_need_lc=no
11136      hardcode_shlibpath_var=no
11137      runpath_var='LD_RUN_PATH'
11138
11139      if test yes = "$GCC"; then
11140	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11141	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11142      else
11143	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11144	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11145      fi
11146      ;;
11147
11148    sysv5* | sco3.2v5* | sco5v6*)
11149      # Note: We CANNOT use -z defs as we might desire, because we do not
11150      # link with -lc, and that would cause any symbols used from libc to
11151      # always be unresolved, which means just about no library would
11152      # ever link correctly.  If we're not using GNU ld we use -z text
11153      # though, which does catch some bad symbols but isn't as heavy-handed
11154      # as -z defs.
11155      no_undefined_flag='$wl-z,text'
11156      allow_undefined_flag='$wl-z,nodefs'
11157      archive_cmds_need_lc=no
11158      hardcode_shlibpath_var=no
11159      hardcode_libdir_flag_spec='$wl-R,$libdir'
11160      hardcode_libdir_separator=':'
11161      link_all_deplibs=yes
11162      export_dynamic_flag_spec='$wl-Bexport'
11163      runpath_var='LD_RUN_PATH'
11164
11165      if test yes = "$GCC"; then
11166	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11167	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11168      else
11169	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11170	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11171      fi
11172      ;;
11173
11174    uts4*)
11175      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11176      hardcode_libdir_flag_spec='-L$libdir'
11177      hardcode_shlibpath_var=no
11178      ;;
11179
11180    *)
11181      ld_shlibs=no
11182      ;;
11183    esac
11184
11185    if test sni = "$host_vendor"; then
11186      case $host in
11187      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11188	export_dynamic_flag_spec='$wl-Blargedynsym'
11189	;;
11190      esac
11191    fi
11192  fi
11193
11194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11195$as_echo "$ld_shlibs" >&6; }
11196test no = "$ld_shlibs" && can_build_shared=no
11197
11198with_gnu_ld=$with_gnu_ld
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214#
11215# Do we need to explicitly link libc?
11216#
11217case "x$archive_cmds_need_lc" in
11218x|xyes)
11219  # Assume -lc should be added
11220  archive_cmds_need_lc=yes
11221
11222  if test yes,yes = "$GCC,$enable_shared"; then
11223    case $archive_cmds in
11224    *'~'*)
11225      # FIXME: we may have to deal with multi-command sequences.
11226      ;;
11227    '$CC '*)
11228      # Test whether the compiler implicitly links with -lc since on some
11229      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11230      # to ld, don't add -lc before -lgcc.
11231      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11232$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11233if ${lt_cv_archive_cmds_need_lc+:} false; then :
11234  $as_echo_n "(cached) " >&6
11235else
11236  $RM conftest*
11237	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11238
11239	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11240  (eval $ac_compile) 2>&5
11241  ac_status=$?
11242  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11243  test $ac_status = 0; } 2>conftest.err; then
11244	  soname=conftest
11245	  lib=conftest
11246	  libobjs=conftest.$ac_objext
11247	  deplibs=
11248	  wl=$lt_prog_compiler_wl
11249	  pic_flag=$lt_prog_compiler_pic
11250	  compiler_flags=-v
11251	  linker_flags=-v
11252	  verstring=
11253	  output_objdir=.
11254	  libname=conftest
11255	  lt_save_allow_undefined_flag=$allow_undefined_flag
11256	  allow_undefined_flag=
11257	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11258  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11259  ac_status=$?
11260  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11261  test $ac_status = 0; }
11262	  then
11263	    lt_cv_archive_cmds_need_lc=no
11264	  else
11265	    lt_cv_archive_cmds_need_lc=yes
11266	  fi
11267	  allow_undefined_flag=$lt_save_allow_undefined_flag
11268	else
11269	  cat conftest.err 1>&5
11270	fi
11271	$RM conftest*
11272
11273fi
11274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11275$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11276      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11277      ;;
11278    esac
11279  fi
11280  ;;
11281esac
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
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11435$as_echo_n "checking dynamic linker characteristics... " >&6; }
11436
11437if test yes = "$GCC"; then
11438  case $host_os in
11439    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11440    *) lt_awk_arg='/^libraries:/' ;;
11441  esac
11442  case $host_os in
11443    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11444    *) lt_sed_strip_eq='s|=/|/|g' ;;
11445  esac
11446  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11447  case $lt_search_path_spec in
11448  *\;*)
11449    # if the path contains ";" then we assume it to be the separator
11450    # otherwise default to the standard path separator (i.e. ":") - it is
11451    # assumed that no part of a normal pathname contains ";" but that should
11452    # okay in the real world where ";" in dirpaths is itself problematic.
11453    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11454    ;;
11455  *)
11456    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11457    ;;
11458  esac
11459  # Ok, now we have the path, separated by spaces, we can step through it
11460  # and add multilib dir if necessary...
11461  lt_tmp_lt_search_path_spec=
11462  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11463  # ...but if some path component already ends with the multilib dir we assume
11464  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11465  case "$lt_multi_os_dir; $lt_search_path_spec " in
11466  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11467    lt_multi_os_dir=
11468    ;;
11469  esac
11470  for lt_sys_path in $lt_search_path_spec; do
11471    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11472      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11473    elif test -n "$lt_multi_os_dir"; then
11474      test -d "$lt_sys_path" && \
11475	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11476    fi
11477  done
11478  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11479BEGIN {RS = " "; FS = "/|\n";} {
11480  lt_foo = "";
11481  lt_count = 0;
11482  for (lt_i = NF; lt_i > 0; lt_i--) {
11483    if ($lt_i != "" && $lt_i != ".") {
11484      if ($lt_i == "..") {
11485        lt_count++;
11486      } else {
11487        if (lt_count == 0) {
11488          lt_foo = "/" $lt_i lt_foo;
11489        } else {
11490          lt_count--;
11491        }
11492      }
11493    }
11494  }
11495  if (lt_foo != "") { lt_freq[lt_foo]++; }
11496  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11497}'`
11498  # AWK program above erroneously prepends '/' to C:/dos/paths
11499  # for these hosts.
11500  case $host_os in
11501    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11502      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11503  esac
11504  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11505else
11506  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11507fi
11508library_names_spec=
11509libname_spec='lib$name'
11510soname_spec=
11511shrext_cmds=.so
11512postinstall_cmds=
11513postuninstall_cmds=
11514finish_cmds=
11515finish_eval=
11516shlibpath_var=
11517shlibpath_overrides_runpath=unknown
11518version_type=none
11519dynamic_linker="$host_os ld.so"
11520sys_lib_dlsearch_path_spec="/lib /usr/lib"
11521need_lib_prefix=unknown
11522hardcode_into_libs=no
11523
11524# when you set need_version to no, make sure it does not cause -set_version
11525# flags to be left without arguments
11526need_version=unknown
11527
11528
11529
11530case $host_os in
11531aix3*)
11532  version_type=linux # correct to gnu/linux during the next big refactor
11533  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11534  shlibpath_var=LIBPATH
11535
11536  # AIX 3 has no versioning support, so we append a major version to the name.
11537  soname_spec='$libname$release$shared_ext$major'
11538  ;;
11539
11540aix[4-9]*)
11541  version_type=linux # correct to gnu/linux during the next big refactor
11542  need_lib_prefix=no
11543  need_version=no
11544  hardcode_into_libs=yes
11545  if test ia64 = "$host_cpu"; then
11546    # AIX 5 supports IA64
11547    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11548    shlibpath_var=LD_LIBRARY_PATH
11549  else
11550    # With GCC up to 2.95.x, collect2 would create an import file
11551    # for dependence libraries.  The import file would start with
11552    # the line '#! .'.  This would cause the generated library to
11553    # depend on '.', always an invalid library.  This was fixed in
11554    # development snapshots of GCC prior to 3.0.
11555    case $host_os in
11556      aix4 | aix4.[01] | aix4.[01].*)
11557      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11558	   echo ' yes '
11559	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11560	:
11561      else
11562	can_build_shared=no
11563      fi
11564      ;;
11565    esac
11566    # Using Import Files as archive members, it is possible to support
11567    # filename-based versioning of shared library archives on AIX. While
11568    # this would work for both with and without runtime linking, it will
11569    # prevent static linking of such archives. So we do filename-based
11570    # shared library versioning with .so extension only, which is used
11571    # when both runtime linking and shared linking is enabled.
11572    # Unfortunately, runtime linking may impact performance, so we do
11573    # not want this to be the default eventually. Also, we use the
11574    # versioned .so libs for executables only if there is the -brtl
11575    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11576    # To allow for filename-based versioning support, we need to create
11577    # libNAME.so.V as an archive file, containing:
11578    # *) an Import File, referring to the versioned filename of the
11579    #    archive as well as the shared archive member, telling the
11580    #    bitwidth (32 or 64) of that shared object, and providing the
11581    #    list of exported symbols of that shared object, eventually
11582    #    decorated with the 'weak' keyword
11583    # *) the shared object with the F_LOADONLY flag set, to really avoid
11584    #    it being seen by the linker.
11585    # At run time we better use the real file rather than another symlink,
11586    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11587
11588    case $with_aix_soname,$aix_use_runtimelinking in
11589    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11590    # soname into executable. Probably we can add versioning support to
11591    # collect2, so additional links can be useful in future.
11592    aix,yes) # traditional libtool
11593      dynamic_linker='AIX unversionable lib.so'
11594      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11595      # instead of lib<name>.a to let people know that these are not
11596      # typical AIX shared libraries.
11597      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11598      ;;
11599    aix,no) # traditional AIX only
11600      dynamic_linker='AIX lib.a(lib.so.V)'
11601      # We preserve .a as extension for shared libraries through AIX4.2
11602      # and later when we are not doing run time linking.
11603      library_names_spec='$libname$release.a $libname.a'
11604      soname_spec='$libname$release$shared_ext$major'
11605      ;;
11606    svr4,*) # full svr4 only
11607      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11608      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11609      # We do not specify a path in Import Files, so LIBPATH fires.
11610      shlibpath_overrides_runpath=yes
11611      ;;
11612    *,yes) # both, prefer svr4
11613      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11614      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11615      # unpreferred sharedlib libNAME.a needs extra handling
11616      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"'
11617      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"'
11618      # We do not specify a path in Import Files, so LIBPATH fires.
11619      shlibpath_overrides_runpath=yes
11620      ;;
11621    *,no) # both, prefer aix
11622      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11623      library_names_spec='$libname$release.a $libname.a'
11624      soname_spec='$libname$release$shared_ext$major'
11625      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11626      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)'
11627      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"'
11628      ;;
11629    esac
11630    shlibpath_var=LIBPATH
11631  fi
11632  ;;
11633
11634amigaos*)
11635  case $host_cpu in
11636  powerpc)
11637    # Since July 2007 AmigaOS4 officially supports .so libraries.
11638    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11639    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11640    ;;
11641  m68k)
11642    library_names_spec='$libname.ixlibrary $libname.a'
11643    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11644    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'
11645    ;;
11646  esac
11647  ;;
11648
11649beos*)
11650  library_names_spec='$libname$shared_ext'
11651  dynamic_linker="$host_os ld.so"
11652  shlibpath_var=LIBRARY_PATH
11653  ;;
11654
11655bsdi[45]*)
11656  version_type=linux # correct to gnu/linux during the next big refactor
11657  need_version=no
11658  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11659  soname_spec='$libname$release$shared_ext$major'
11660  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11661  shlibpath_var=LD_LIBRARY_PATH
11662  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11663  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11664  # the default ld.so.conf also contains /usr/contrib/lib and
11665  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11666  # libtool to hard-code these into programs
11667  ;;
11668
11669cygwin* | mingw* | pw32* | cegcc*)
11670  version_type=windows
11671  shrext_cmds=.dll
11672  need_version=no
11673  need_lib_prefix=no
11674
11675  case $GCC,$cc_basename in
11676  yes,*)
11677    # gcc
11678    library_names_spec='$libname.dll.a'
11679    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11680    postinstall_cmds='base_file=`basename \$file`~
11681      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11682      dldir=$destdir/`dirname \$dlpath`~
11683      test -d \$dldir || mkdir -p \$dldir~
11684      $install_prog $dir/$dlname \$dldir/$dlname~
11685      chmod a+x \$dldir/$dlname~
11686      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11687        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11688      fi'
11689    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11690      dlpath=$dir/\$dldll~
11691       $RM \$dlpath'
11692    shlibpath_overrides_runpath=yes
11693
11694    case $host_os in
11695    cygwin*)
11696      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11697      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11698
11699      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11700      ;;
11701    mingw* | cegcc*)
11702      # MinGW DLLs use traditional 'lib' prefix
11703      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11704      ;;
11705    pw32*)
11706      # pw32 DLLs use 'pw' prefix rather than 'lib'
11707      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11708      ;;
11709    esac
11710    dynamic_linker='Win32 ld.exe'
11711    ;;
11712
11713  *,cl*)
11714    # Native MSVC
11715    libname_spec='$name'
11716    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11717    library_names_spec='$libname.dll.lib'
11718
11719    case $build_os in
11720    mingw*)
11721      sys_lib_search_path_spec=
11722      lt_save_ifs=$IFS
11723      IFS=';'
11724      for lt_path in $LIB
11725      do
11726        IFS=$lt_save_ifs
11727        # Let DOS variable expansion print the short 8.3 style file name.
11728        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11729        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11730      done
11731      IFS=$lt_save_ifs
11732      # Convert to MSYS style.
11733      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11734      ;;
11735    cygwin*)
11736      # Convert to unix form, then to dos form, then back to unix form
11737      # but this time dos style (no spaces!) so that the unix form looks
11738      # like /cygdrive/c/PROGRA~1:/cygdr...
11739      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11740      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11741      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11742      ;;
11743    *)
11744      sys_lib_search_path_spec=$LIB
11745      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11746        # It is most probably a Windows format PATH.
11747        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11748      else
11749        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11750      fi
11751      # FIXME: find the short name or the path components, as spaces are
11752      # common. (e.g. "Program Files" -> "PROGRA~1")
11753      ;;
11754    esac
11755
11756    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11757    postinstall_cmds='base_file=`basename \$file`~
11758      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11759      dldir=$destdir/`dirname \$dlpath`~
11760      test -d \$dldir || mkdir -p \$dldir~
11761      $install_prog $dir/$dlname \$dldir/$dlname'
11762    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11763      dlpath=$dir/\$dldll~
11764       $RM \$dlpath'
11765    shlibpath_overrides_runpath=yes
11766    dynamic_linker='Win32 link.exe'
11767    ;;
11768
11769  *)
11770    # Assume MSVC wrapper
11771    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11772    dynamic_linker='Win32 ld.exe'
11773    ;;
11774  esac
11775  # FIXME: first we should search . and the directory the executable is in
11776  shlibpath_var=PATH
11777  ;;
11778
11779darwin* | rhapsody*)
11780  dynamic_linker="$host_os dyld"
11781  version_type=darwin
11782  need_lib_prefix=no
11783  need_version=no
11784  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11785  soname_spec='$libname$release$major$shared_ext'
11786  shlibpath_overrides_runpath=yes
11787  shlibpath_var=DYLD_LIBRARY_PATH
11788  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11789
11790  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11791  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11792  ;;
11793
11794dgux*)
11795  version_type=linux # correct to gnu/linux during the next big refactor
11796  need_lib_prefix=no
11797  need_version=no
11798  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11799  soname_spec='$libname$release$shared_ext$major'
11800  shlibpath_var=LD_LIBRARY_PATH
11801  ;;
11802
11803freebsd* | dragonfly*)
11804  # DragonFly does not have aout.  When/if they implement a new
11805  # versioning mechanism, adjust this.
11806  if test -x /usr/bin/objformat; then
11807    objformat=`/usr/bin/objformat`
11808  else
11809    case $host_os in
11810    freebsd[23].*) objformat=aout ;;
11811    *) objformat=elf ;;
11812    esac
11813  fi
11814  version_type=freebsd-$objformat
11815  case $version_type in
11816    freebsd-elf*)
11817      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11818      soname_spec='$libname$release$shared_ext$major'
11819      need_version=no
11820      need_lib_prefix=no
11821      ;;
11822    freebsd-*)
11823      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11824      need_version=yes
11825      ;;
11826  esac
11827  shlibpath_var=LD_LIBRARY_PATH
11828  case $host_os in
11829  freebsd2.*)
11830    shlibpath_overrides_runpath=yes
11831    ;;
11832  freebsd3.[01]* | freebsdelf3.[01]*)
11833    shlibpath_overrides_runpath=yes
11834    hardcode_into_libs=yes
11835    ;;
11836  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11837  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11838    shlibpath_overrides_runpath=no
11839    hardcode_into_libs=yes
11840    ;;
11841  *) # from 4.6 on, and DragonFly
11842    shlibpath_overrides_runpath=yes
11843    hardcode_into_libs=yes
11844    ;;
11845  esac
11846  ;;
11847
11848haiku*)
11849  version_type=linux # correct to gnu/linux during the next big refactor
11850  need_lib_prefix=no
11851  need_version=no
11852  dynamic_linker="$host_os runtime_loader"
11853  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11854  soname_spec='$libname$release$shared_ext$major'
11855  shlibpath_var=LIBRARY_PATH
11856  shlibpath_overrides_runpath=no
11857  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11858  hardcode_into_libs=yes
11859  ;;
11860
11861hpux9* | hpux10* | hpux11*)
11862  # Give a soname corresponding to the major version so that dld.sl refuses to
11863  # link against other versions.
11864  version_type=sunos
11865  need_lib_prefix=no
11866  need_version=no
11867  case $host_cpu in
11868  ia64*)
11869    shrext_cmds='.so'
11870    hardcode_into_libs=yes
11871    dynamic_linker="$host_os dld.so"
11872    shlibpath_var=LD_LIBRARY_PATH
11873    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11874    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11875    soname_spec='$libname$release$shared_ext$major'
11876    if test 32 = "$HPUX_IA64_MODE"; then
11877      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11878      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11879    else
11880      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11881      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11882    fi
11883    ;;
11884  hppa*64*)
11885    shrext_cmds='.sl'
11886    hardcode_into_libs=yes
11887    dynamic_linker="$host_os dld.sl"
11888    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11889    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11890    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11891    soname_spec='$libname$release$shared_ext$major'
11892    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11893    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11894    ;;
11895  *)
11896    shrext_cmds='.sl'
11897    dynamic_linker="$host_os dld.sl"
11898    shlibpath_var=SHLIB_PATH
11899    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11900    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11901    soname_spec='$libname$release$shared_ext$major'
11902    ;;
11903  esac
11904  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11905  postinstall_cmds='chmod 555 $lib'
11906  # or fails outright, so override atomically:
11907  install_override_mode=555
11908  ;;
11909
11910interix[3-9]*)
11911  version_type=linux # correct to gnu/linux during the next big refactor
11912  need_lib_prefix=no
11913  need_version=no
11914  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11915  soname_spec='$libname$release$shared_ext$major'
11916  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11917  shlibpath_var=LD_LIBRARY_PATH
11918  shlibpath_overrides_runpath=no
11919  hardcode_into_libs=yes
11920  ;;
11921
11922irix5* | irix6* | nonstopux*)
11923  case $host_os in
11924    nonstopux*) version_type=nonstopux ;;
11925    *)
11926	if test yes = "$lt_cv_prog_gnu_ld"; then
11927		version_type=linux # correct to gnu/linux during the next big refactor
11928	else
11929		version_type=irix
11930	fi ;;
11931  esac
11932  need_lib_prefix=no
11933  need_version=no
11934  soname_spec='$libname$release$shared_ext$major'
11935  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11936  case $host_os in
11937  irix5* | nonstopux*)
11938    libsuff= shlibsuff=
11939    ;;
11940  *)
11941    case $LD in # libtool.m4 will add one of these switches to LD
11942    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11943      libsuff= shlibsuff= libmagic=32-bit;;
11944    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11945      libsuff=32 shlibsuff=N32 libmagic=N32;;
11946    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11947      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11948    *) libsuff= shlibsuff= libmagic=never-match;;
11949    esac
11950    ;;
11951  esac
11952  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11953  shlibpath_overrides_runpath=no
11954  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11955  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11956  hardcode_into_libs=yes
11957  ;;
11958
11959# No shared lib support for Linux oldld, aout, or coff.
11960linux*oldld* | linux*aout* | linux*coff*)
11961  dynamic_linker=no
11962  ;;
11963
11964linux*android*)
11965  version_type=none # Android doesn't support versioned libraries.
11966  need_lib_prefix=no
11967  need_version=no
11968  library_names_spec='$libname$release$shared_ext'
11969  soname_spec='$libname$release$shared_ext'
11970  finish_cmds=
11971  shlibpath_var=LD_LIBRARY_PATH
11972  shlibpath_overrides_runpath=yes
11973
11974  # This implies no fast_install, which is unacceptable.
11975  # Some rework will be needed to allow for fast_install
11976  # before this can be enabled.
11977  hardcode_into_libs=yes
11978
11979  dynamic_linker='Android linker'
11980  # Don't embed -rpath directories since the linker doesn't support them.
11981  hardcode_libdir_flag_spec='-L$libdir'
11982  ;;
11983
11984# This must be glibc/ELF.
11985linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11986  version_type=linux # correct to gnu/linux during the next big refactor
11987  need_lib_prefix=no
11988  need_version=no
11989  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11990  soname_spec='$libname$release$shared_ext$major'
11991  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11992  shlibpath_var=LD_LIBRARY_PATH
11993  shlibpath_overrides_runpath=no
11994
11995  # Some binutils ld are patched to set DT_RUNPATH
11996  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11997  $as_echo_n "(cached) " >&6
11998else
11999  lt_cv_shlibpath_overrides_runpath=no
12000    save_LDFLAGS=$LDFLAGS
12001    save_libdir=$libdir
12002    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12003	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12004    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005/* end confdefs.h.  */
12006
12007int
12008main ()
12009{
12010
12011  ;
12012  return 0;
12013}
12014_ACEOF
12015if ac_fn_c_try_link "$LINENO"; then :
12016  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12017  lt_cv_shlibpath_overrides_runpath=yes
12018fi
12019fi
12020rm -f core conftest.err conftest.$ac_objext \
12021    conftest$ac_exeext conftest.$ac_ext
12022    LDFLAGS=$save_LDFLAGS
12023    libdir=$save_libdir
12024
12025fi
12026
12027  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12028
12029  # This implies no fast_install, which is unacceptable.
12030  # Some rework will be needed to allow for fast_install
12031  # before this can be enabled.
12032  hardcode_into_libs=yes
12033
12034  # Add ABI-specific directories to the system library path.
12035  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12036
12037  # Ideally, we could use ldconfig to report *all* directores which are
12038  # searched for libraries, however this is still not possible.  Aside from not
12039  # being certain /sbin/ldconfig is available, command
12040  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12041  # even though it is searched at run-time.  Try to do the best guess by
12042  # appending ld.so.conf contents (and includes) to the search path.
12043  if test -f /etc/ld.so.conf; then
12044    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' ' '`
12045    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12046  fi
12047
12048  # We used to test for /lib/ld.so.1 and disable shared libraries on
12049  # powerpc, because MkLinux only supported shared libraries with the
12050  # GNU dynamic linker.  Since this was broken with cross compilers,
12051  # most powerpc-linux boxes support dynamic linking these days and
12052  # people can always --disable-shared, the test was removed, and we
12053  # assume the GNU/Linux dynamic linker is in use.
12054  dynamic_linker='GNU/Linux ld.so'
12055  ;;
12056
12057netbsd*)
12058  version_type=sunos
12059  need_lib_prefix=no
12060  need_version=no
12061  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12062    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12063    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12064    dynamic_linker='NetBSD (a.out) ld.so'
12065  else
12066    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12067    soname_spec='$libname$release$shared_ext$major'
12068    dynamic_linker='NetBSD ld.elf_so'
12069  fi
12070  shlibpath_var=LD_LIBRARY_PATH
12071  shlibpath_overrides_runpath=yes
12072  hardcode_into_libs=yes
12073  ;;
12074
12075newsos6)
12076  version_type=linux # correct to gnu/linux during the next big refactor
12077  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12078  shlibpath_var=LD_LIBRARY_PATH
12079  shlibpath_overrides_runpath=yes
12080  ;;
12081
12082*nto* | *qnx*)
12083  version_type=qnx
12084  need_lib_prefix=no
12085  need_version=no
12086  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12087  soname_spec='$libname$release$shared_ext$major'
12088  shlibpath_var=LD_LIBRARY_PATH
12089  shlibpath_overrides_runpath=no
12090  hardcode_into_libs=yes
12091  dynamic_linker='ldqnx.so'
12092  ;;
12093
12094openbsd* | bitrig*)
12095  version_type=sunos
12096  sys_lib_dlsearch_path_spec=/usr/lib
12097  need_lib_prefix=no
12098  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12099    need_version=no
12100  else
12101    need_version=yes
12102  fi
12103  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12104  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12105  shlibpath_var=LD_LIBRARY_PATH
12106  shlibpath_overrides_runpath=yes
12107  ;;
12108
12109os2*)
12110  libname_spec='$name'
12111  version_type=windows
12112  shrext_cmds=.dll
12113  need_version=no
12114  need_lib_prefix=no
12115  # OS/2 can only load a DLL with a base name of 8 characters or less.
12116  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12117    v=$($ECHO $release$versuffix | tr -d .-);
12118    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12119    $ECHO $n$v`$shared_ext'
12120  library_names_spec='${libname}_dll.$libext'
12121  dynamic_linker='OS/2 ld.exe'
12122  shlibpath_var=BEGINLIBPATH
12123  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12124  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12125  postinstall_cmds='base_file=`basename \$file`~
12126    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12127    dldir=$destdir/`dirname \$dlpath`~
12128    test -d \$dldir || mkdir -p \$dldir~
12129    $install_prog $dir/$dlname \$dldir/$dlname~
12130    chmod a+x \$dldir/$dlname~
12131    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12132      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12133    fi'
12134  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12135    dlpath=$dir/\$dldll~
12136    $RM \$dlpath'
12137  ;;
12138
12139osf3* | osf4* | osf5*)
12140  version_type=osf
12141  need_lib_prefix=no
12142  need_version=no
12143  soname_spec='$libname$release$shared_ext$major'
12144  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12145  shlibpath_var=LD_LIBRARY_PATH
12146  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12147  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12148  ;;
12149
12150rdos*)
12151  dynamic_linker=no
12152  ;;
12153
12154solaris*)
12155  version_type=linux # correct to gnu/linux during the next big refactor
12156  need_lib_prefix=no
12157  need_version=no
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  shlibpath_overrides_runpath=yes
12162  hardcode_into_libs=yes
12163  # ldd complains unless libraries are executable
12164  postinstall_cmds='chmod +x $lib'
12165  ;;
12166
12167sunos4*)
12168  version_type=sunos
12169  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12170  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12171  shlibpath_var=LD_LIBRARY_PATH
12172  shlibpath_overrides_runpath=yes
12173  if test yes = "$with_gnu_ld"; then
12174    need_lib_prefix=no
12175  fi
12176  need_version=yes
12177  ;;
12178
12179sysv4 | sysv4.3*)
12180  version_type=linux # correct to gnu/linux during the next big refactor
12181  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12182  soname_spec='$libname$release$shared_ext$major'
12183  shlibpath_var=LD_LIBRARY_PATH
12184  case $host_vendor in
12185    sni)
12186      shlibpath_overrides_runpath=no
12187      need_lib_prefix=no
12188      runpath_var=LD_RUN_PATH
12189      ;;
12190    siemens)
12191      need_lib_prefix=no
12192      ;;
12193    motorola)
12194      need_lib_prefix=no
12195      need_version=no
12196      shlibpath_overrides_runpath=no
12197      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12198      ;;
12199  esac
12200  ;;
12201
12202sysv4*MP*)
12203  if test -d /usr/nec; then
12204    version_type=linux # correct to gnu/linux during the next big refactor
12205    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12206    soname_spec='$libname$shared_ext.$major'
12207    shlibpath_var=LD_LIBRARY_PATH
12208  fi
12209  ;;
12210
12211sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12212  version_type=sco
12213  need_lib_prefix=no
12214  need_version=no
12215  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12216  soname_spec='$libname$release$shared_ext$major'
12217  shlibpath_var=LD_LIBRARY_PATH
12218  shlibpath_overrides_runpath=yes
12219  hardcode_into_libs=yes
12220  if test yes = "$with_gnu_ld"; then
12221    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12222  else
12223    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12224    case $host_os in
12225      sco3.2v5*)
12226        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12227	;;
12228    esac
12229  fi
12230  sys_lib_dlsearch_path_spec='/usr/lib'
12231  ;;
12232
12233tpf*)
12234  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12235  version_type=linux # correct to gnu/linux during the next big refactor
12236  need_lib_prefix=no
12237  need_version=no
12238  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12239  shlibpath_var=LD_LIBRARY_PATH
12240  shlibpath_overrides_runpath=no
12241  hardcode_into_libs=yes
12242  ;;
12243
12244uts4*)
12245  version_type=linux # correct to gnu/linux during the next big refactor
12246  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12247  soname_spec='$libname$release$shared_ext$major'
12248  shlibpath_var=LD_LIBRARY_PATH
12249  ;;
12250
12251*)
12252  dynamic_linker=no
12253  ;;
12254esac
12255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12256$as_echo "$dynamic_linker" >&6; }
12257test no = "$dynamic_linker" && can_build_shared=no
12258
12259variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12260if test yes = "$GCC"; then
12261  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12262fi
12263
12264if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12265  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12266fi
12267
12268if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12269  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12270fi
12271
12272# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12273configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12274
12275# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12276func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12277
12278# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12279configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
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
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12378$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12379hardcode_action=
12380if test -n "$hardcode_libdir_flag_spec" ||
12381   test -n "$runpath_var" ||
12382   test yes = "$hardcode_automatic"; then
12383
12384  # We can hardcode non-existent directories.
12385  if test no != "$hardcode_direct" &&
12386     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12387     # have to relink, otherwise we might link with an installed library
12388     # when we should be linking with a yet-to-be-installed one
12389     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12390     test no != "$hardcode_minus_L"; then
12391    # Linking always hardcodes the temporary library directory.
12392    hardcode_action=relink
12393  else
12394    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12395    hardcode_action=immediate
12396  fi
12397else
12398  # We cannot hardcode anything, or else we can only hardcode existing
12399  # directories.
12400  hardcode_action=unsupported
12401fi
12402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12403$as_echo "$hardcode_action" >&6; }
12404
12405if test relink = "$hardcode_action" ||
12406   test yes = "$inherit_rpath"; then
12407  # Fast installation is not supported
12408  enable_fast_install=no
12409elif test yes = "$shlibpath_overrides_runpath" ||
12410     test no = "$enable_shared"; then
12411  # Fast installation is not necessary
12412  enable_fast_install=needless
12413fi
12414
12415
12416
12417
12418
12419
12420  if test yes != "$enable_dlopen"; then
12421  enable_dlopen=unknown
12422  enable_dlopen_self=unknown
12423  enable_dlopen_self_static=unknown
12424else
12425  lt_cv_dlopen=no
12426  lt_cv_dlopen_libs=
12427
12428  case $host_os in
12429  beos*)
12430    lt_cv_dlopen=load_add_on
12431    lt_cv_dlopen_libs=
12432    lt_cv_dlopen_self=yes
12433    ;;
12434
12435  mingw* | pw32* | cegcc*)
12436    lt_cv_dlopen=LoadLibrary
12437    lt_cv_dlopen_libs=
12438    ;;
12439
12440  cygwin*)
12441    lt_cv_dlopen=dlopen
12442    lt_cv_dlopen_libs=
12443    ;;
12444
12445  darwin*)
12446    # if libdl is installed we need to link against it
12447    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12448$as_echo_n "checking for dlopen in -ldl... " >&6; }
12449if ${ac_cv_lib_dl_dlopen+:} false; then :
12450  $as_echo_n "(cached) " >&6
12451else
12452  ac_check_lib_save_LIBS=$LIBS
12453LIBS="-ldl  $LIBS"
12454cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12455/* end confdefs.h.  */
12456
12457/* Override any GCC internal prototype to avoid an error.
12458   Use char because int might match the return type of a GCC
12459   builtin and then its argument prototype would still apply.  */
12460#ifdef __cplusplus
12461extern "C"
12462#endif
12463char dlopen ();
12464int
12465main ()
12466{
12467return dlopen ();
12468  ;
12469  return 0;
12470}
12471_ACEOF
12472if ac_fn_c_try_link "$LINENO"; then :
12473  ac_cv_lib_dl_dlopen=yes
12474else
12475  ac_cv_lib_dl_dlopen=no
12476fi
12477rm -f core conftest.err conftest.$ac_objext \
12478    conftest$ac_exeext conftest.$ac_ext
12479LIBS=$ac_check_lib_save_LIBS
12480fi
12481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12482$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12483if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12484  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12485else
12486
12487    lt_cv_dlopen=dyld
12488    lt_cv_dlopen_libs=
12489    lt_cv_dlopen_self=yes
12490
12491fi
12492
12493    ;;
12494
12495  tpf*)
12496    # Don't try to run any link tests for TPF.  We know it's impossible
12497    # because TPF is a cross-compiler, and we know how we open DSOs.
12498    lt_cv_dlopen=dlopen
12499    lt_cv_dlopen_libs=
12500    lt_cv_dlopen_self=no
12501    ;;
12502
12503  *)
12504    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12505if test "x$ac_cv_func_shl_load" = xyes; then :
12506  lt_cv_dlopen=shl_load
12507else
12508  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12509$as_echo_n "checking for shl_load in -ldld... " >&6; }
12510if ${ac_cv_lib_dld_shl_load+:} false; then :
12511  $as_echo_n "(cached) " >&6
12512else
12513  ac_check_lib_save_LIBS=$LIBS
12514LIBS="-ldld  $LIBS"
12515cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12516/* end confdefs.h.  */
12517
12518/* Override any GCC internal prototype to avoid an error.
12519   Use char because int might match the return type of a GCC
12520   builtin and then its argument prototype would still apply.  */
12521#ifdef __cplusplus
12522extern "C"
12523#endif
12524char shl_load ();
12525int
12526main ()
12527{
12528return shl_load ();
12529  ;
12530  return 0;
12531}
12532_ACEOF
12533if ac_fn_c_try_link "$LINENO"; then :
12534  ac_cv_lib_dld_shl_load=yes
12535else
12536  ac_cv_lib_dld_shl_load=no
12537fi
12538rm -f core conftest.err conftest.$ac_objext \
12539    conftest$ac_exeext conftest.$ac_ext
12540LIBS=$ac_check_lib_save_LIBS
12541fi
12542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12543$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12544if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12545  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12546else
12547  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12548if test "x$ac_cv_func_dlopen" = xyes; then :
12549  lt_cv_dlopen=dlopen
12550else
12551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12552$as_echo_n "checking for dlopen in -ldl... " >&6; }
12553if ${ac_cv_lib_dl_dlopen+:} false; then :
12554  $as_echo_n "(cached) " >&6
12555else
12556  ac_check_lib_save_LIBS=$LIBS
12557LIBS="-ldl  $LIBS"
12558cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559/* end confdefs.h.  */
12560
12561/* Override any GCC internal prototype to avoid an error.
12562   Use char because int might match the return type of a GCC
12563   builtin and then its argument prototype would still apply.  */
12564#ifdef __cplusplus
12565extern "C"
12566#endif
12567char dlopen ();
12568int
12569main ()
12570{
12571return dlopen ();
12572  ;
12573  return 0;
12574}
12575_ACEOF
12576if ac_fn_c_try_link "$LINENO"; then :
12577  ac_cv_lib_dl_dlopen=yes
12578else
12579  ac_cv_lib_dl_dlopen=no
12580fi
12581rm -f core conftest.err conftest.$ac_objext \
12582    conftest$ac_exeext conftest.$ac_ext
12583LIBS=$ac_check_lib_save_LIBS
12584fi
12585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12586$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12587if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12588  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12589else
12590  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12591$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12592if ${ac_cv_lib_svld_dlopen+:} false; then :
12593  $as_echo_n "(cached) " >&6
12594else
12595  ac_check_lib_save_LIBS=$LIBS
12596LIBS="-lsvld  $LIBS"
12597cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598/* end confdefs.h.  */
12599
12600/* Override any GCC internal prototype to avoid an error.
12601   Use char because int might match the return type of a GCC
12602   builtin and then its argument prototype would still apply.  */
12603#ifdef __cplusplus
12604extern "C"
12605#endif
12606char dlopen ();
12607int
12608main ()
12609{
12610return dlopen ();
12611  ;
12612  return 0;
12613}
12614_ACEOF
12615if ac_fn_c_try_link "$LINENO"; then :
12616  ac_cv_lib_svld_dlopen=yes
12617else
12618  ac_cv_lib_svld_dlopen=no
12619fi
12620rm -f core conftest.err conftest.$ac_objext \
12621    conftest$ac_exeext conftest.$ac_ext
12622LIBS=$ac_check_lib_save_LIBS
12623fi
12624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12625$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12626if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12627  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12628else
12629  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12630$as_echo_n "checking for dld_link in -ldld... " >&6; }
12631if ${ac_cv_lib_dld_dld_link+:} false; then :
12632  $as_echo_n "(cached) " >&6
12633else
12634  ac_check_lib_save_LIBS=$LIBS
12635LIBS="-ldld  $LIBS"
12636cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637/* end confdefs.h.  */
12638
12639/* Override any GCC internal prototype to avoid an error.
12640   Use char because int might match the return type of a GCC
12641   builtin and then its argument prototype would still apply.  */
12642#ifdef __cplusplus
12643extern "C"
12644#endif
12645char dld_link ();
12646int
12647main ()
12648{
12649return dld_link ();
12650  ;
12651  return 0;
12652}
12653_ACEOF
12654if ac_fn_c_try_link "$LINENO"; then :
12655  ac_cv_lib_dld_dld_link=yes
12656else
12657  ac_cv_lib_dld_dld_link=no
12658fi
12659rm -f core conftest.err conftest.$ac_objext \
12660    conftest$ac_exeext conftest.$ac_ext
12661LIBS=$ac_check_lib_save_LIBS
12662fi
12663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12664$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12665if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12666  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12667fi
12668
12669
12670fi
12671
12672
12673fi
12674
12675
12676fi
12677
12678
12679fi
12680
12681
12682fi
12683
12684    ;;
12685  esac
12686
12687  if test no = "$lt_cv_dlopen"; then
12688    enable_dlopen=no
12689  else
12690    enable_dlopen=yes
12691  fi
12692
12693  case $lt_cv_dlopen in
12694  dlopen)
12695    save_CPPFLAGS=$CPPFLAGS
12696    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12697
12698    save_LDFLAGS=$LDFLAGS
12699    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12700
12701    save_LIBS=$LIBS
12702    LIBS="$lt_cv_dlopen_libs $LIBS"
12703
12704    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12705$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12706if ${lt_cv_dlopen_self+:} false; then :
12707  $as_echo_n "(cached) " >&6
12708else
12709  	  if test yes = "$cross_compiling"; then :
12710  lt_cv_dlopen_self=cross
12711else
12712  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12713  lt_status=$lt_dlunknown
12714  cat > conftest.$ac_ext <<_LT_EOF
12715#line $LINENO "configure"
12716#include "confdefs.h"
12717
12718#if HAVE_DLFCN_H
12719#include <dlfcn.h>
12720#endif
12721
12722#include <stdio.h>
12723
12724#ifdef RTLD_GLOBAL
12725#  define LT_DLGLOBAL		RTLD_GLOBAL
12726#else
12727#  ifdef DL_GLOBAL
12728#    define LT_DLGLOBAL		DL_GLOBAL
12729#  else
12730#    define LT_DLGLOBAL		0
12731#  endif
12732#endif
12733
12734/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12735   find out it does not work in some platform. */
12736#ifndef LT_DLLAZY_OR_NOW
12737#  ifdef RTLD_LAZY
12738#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12739#  else
12740#    ifdef DL_LAZY
12741#      define LT_DLLAZY_OR_NOW		DL_LAZY
12742#    else
12743#      ifdef RTLD_NOW
12744#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12745#      else
12746#        ifdef DL_NOW
12747#          define LT_DLLAZY_OR_NOW	DL_NOW
12748#        else
12749#          define LT_DLLAZY_OR_NOW	0
12750#        endif
12751#      endif
12752#    endif
12753#  endif
12754#endif
12755
12756/* When -fvisibility=hidden is used, assume the code has been annotated
12757   correspondingly for the symbols needed.  */
12758#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12759int fnord () __attribute__((visibility("default")));
12760#endif
12761
12762int fnord () { return 42; }
12763int main ()
12764{
12765  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12766  int status = $lt_dlunknown;
12767
12768  if (self)
12769    {
12770      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12771      else
12772        {
12773	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12774          else puts (dlerror ());
12775	}
12776      /* dlclose (self); */
12777    }
12778  else
12779    puts (dlerror ());
12780
12781  return status;
12782}
12783_LT_EOF
12784  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12785  (eval $ac_link) 2>&5
12786  ac_status=$?
12787  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12788  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12789    (./conftest; exit; ) >&5 2>/dev/null
12790    lt_status=$?
12791    case x$lt_status in
12792      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12793      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12794      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12795    esac
12796  else :
12797    # compilation failed
12798    lt_cv_dlopen_self=no
12799  fi
12800fi
12801rm -fr conftest*
12802
12803
12804fi
12805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12806$as_echo "$lt_cv_dlopen_self" >&6; }
12807
12808    if test yes = "$lt_cv_dlopen_self"; then
12809      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12810      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12811$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12812if ${lt_cv_dlopen_self_static+:} false; then :
12813  $as_echo_n "(cached) " >&6
12814else
12815  	  if test yes = "$cross_compiling"; then :
12816  lt_cv_dlopen_self_static=cross
12817else
12818  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12819  lt_status=$lt_dlunknown
12820  cat > conftest.$ac_ext <<_LT_EOF
12821#line $LINENO "configure"
12822#include "confdefs.h"
12823
12824#if HAVE_DLFCN_H
12825#include <dlfcn.h>
12826#endif
12827
12828#include <stdio.h>
12829
12830#ifdef RTLD_GLOBAL
12831#  define LT_DLGLOBAL		RTLD_GLOBAL
12832#else
12833#  ifdef DL_GLOBAL
12834#    define LT_DLGLOBAL		DL_GLOBAL
12835#  else
12836#    define LT_DLGLOBAL		0
12837#  endif
12838#endif
12839
12840/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12841   find out it does not work in some platform. */
12842#ifndef LT_DLLAZY_OR_NOW
12843#  ifdef RTLD_LAZY
12844#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12845#  else
12846#    ifdef DL_LAZY
12847#      define LT_DLLAZY_OR_NOW		DL_LAZY
12848#    else
12849#      ifdef RTLD_NOW
12850#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12851#      else
12852#        ifdef DL_NOW
12853#          define LT_DLLAZY_OR_NOW	DL_NOW
12854#        else
12855#          define LT_DLLAZY_OR_NOW	0
12856#        endif
12857#      endif
12858#    endif
12859#  endif
12860#endif
12861
12862/* When -fvisibility=hidden is used, assume the code has been annotated
12863   correspondingly for the symbols needed.  */
12864#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12865int fnord () __attribute__((visibility("default")));
12866#endif
12867
12868int fnord () { return 42; }
12869int main ()
12870{
12871  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12872  int status = $lt_dlunknown;
12873
12874  if (self)
12875    {
12876      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12877      else
12878        {
12879	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12880          else puts (dlerror ());
12881	}
12882      /* dlclose (self); */
12883    }
12884  else
12885    puts (dlerror ());
12886
12887  return status;
12888}
12889_LT_EOF
12890  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12891  (eval $ac_link) 2>&5
12892  ac_status=$?
12893  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12894  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12895    (./conftest; exit; ) >&5 2>/dev/null
12896    lt_status=$?
12897    case x$lt_status in
12898      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12899      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12900      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12901    esac
12902  else :
12903    # compilation failed
12904    lt_cv_dlopen_self_static=no
12905  fi
12906fi
12907rm -fr conftest*
12908
12909
12910fi
12911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12912$as_echo "$lt_cv_dlopen_self_static" >&6; }
12913    fi
12914
12915    CPPFLAGS=$save_CPPFLAGS
12916    LDFLAGS=$save_LDFLAGS
12917    LIBS=$save_LIBS
12918    ;;
12919  esac
12920
12921  case $lt_cv_dlopen_self in
12922  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12923  *) enable_dlopen_self=unknown ;;
12924  esac
12925
12926  case $lt_cv_dlopen_self_static in
12927  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12928  *) enable_dlopen_self_static=unknown ;;
12929  esac
12930fi
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948striplib=
12949old_striplib=
12950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12951$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12952if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12953  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12954  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12956$as_echo "yes" >&6; }
12957else
12958# FIXME - insert some real tests, host_os isn't really good enough
12959  case $host_os in
12960  darwin*)
12961    if test -n "$STRIP"; then
12962      striplib="$STRIP -x"
12963      old_striplib="$STRIP -S"
12964      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12965$as_echo "yes" >&6; }
12966    else
12967      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12968$as_echo "no" >&6; }
12969    fi
12970    ;;
12971  *)
12972    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12973$as_echo "no" >&6; }
12974    ;;
12975  esac
12976fi
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989  # Report what library types will actually be built
12990  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12991$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12993$as_echo "$can_build_shared" >&6; }
12994
12995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12996$as_echo_n "checking whether to build shared libraries... " >&6; }
12997  test no = "$can_build_shared" && enable_shared=no
12998
12999  # On AIX, shared libraries and static libraries use the same namespace, and
13000  # are all built from PIC.
13001  case $host_os in
13002  aix3*)
13003    test yes = "$enable_shared" && enable_static=no
13004    if test -n "$RANLIB"; then
13005      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13006      postinstall_cmds='$RANLIB $lib'
13007    fi
13008    ;;
13009
13010  aix[4-9]*)
13011    if test ia64 != "$host_cpu"; then
13012      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13013      yes,aix,yes) ;;			# shared object as lib.so file only
13014      yes,svr4,*) ;;			# shared object as lib.so archive member only
13015      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13016      esac
13017    fi
13018    ;;
13019  esac
13020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13021$as_echo "$enable_shared" >&6; }
13022
13023  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13024$as_echo_n "checking whether to build static libraries... " >&6; }
13025  # Make sure either enable_shared or enable_static is yes.
13026  test yes = "$enable_shared" || enable_static=yes
13027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13028$as_echo "$enable_static" >&6; }
13029
13030
13031
13032
13033fi
13034ac_ext=c
13035ac_cpp='$CPP $CPPFLAGS'
13036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13038ac_compiler_gnu=$ac_cv_c_compiler_gnu
13039
13040CC=$lt_save_CC
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056        ac_config_commands="$ac_config_commands libtool"
13057
13058
13059
13060
13061# Only expand once:
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13073	if test -n "$ac_tool_prefix"; then
13074  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13075set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13077$as_echo_n "checking for $ac_word... " >&6; }
13078if ${ac_cv_path_PKG_CONFIG+:} false; then :
13079  $as_echo_n "(cached) " >&6
13080else
13081  case $PKG_CONFIG in
13082  [\\/]* | ?:[\\/]*)
13083  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13084  ;;
13085  *)
13086  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13087for as_dir in $PATH
13088do
13089  IFS=$as_save_IFS
13090  test -z "$as_dir" && as_dir=.
13091    for ac_exec_ext in '' $ac_executable_extensions; do
13092  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13093    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13094    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13095    break 2
13096  fi
13097done
13098  done
13099IFS=$as_save_IFS
13100
13101  ;;
13102esac
13103fi
13104PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13105if test -n "$PKG_CONFIG"; then
13106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13107$as_echo "$PKG_CONFIG" >&6; }
13108else
13109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13110$as_echo "no" >&6; }
13111fi
13112
13113
13114fi
13115if test -z "$ac_cv_path_PKG_CONFIG"; then
13116  ac_pt_PKG_CONFIG=$PKG_CONFIG
13117  # Extract the first word of "pkg-config", so it can be a program name with args.
13118set dummy pkg-config; ac_word=$2
13119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13120$as_echo_n "checking for $ac_word... " >&6; }
13121if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13122  $as_echo_n "(cached) " >&6
13123else
13124  case $ac_pt_PKG_CONFIG in
13125  [\\/]* | ?:[\\/]*)
13126  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13127  ;;
13128  *)
13129  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13130for as_dir in $PATH
13131do
13132  IFS=$as_save_IFS
13133  test -z "$as_dir" && as_dir=.
13134    for ac_exec_ext in '' $ac_executable_extensions; do
13135  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13136    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13137    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13138    break 2
13139  fi
13140done
13141  done
13142IFS=$as_save_IFS
13143
13144  ;;
13145esac
13146fi
13147ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13148if test -n "$ac_pt_PKG_CONFIG"; then
13149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13150$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13151else
13152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13153$as_echo "no" >&6; }
13154fi
13155
13156  if test "x$ac_pt_PKG_CONFIG" = x; then
13157    PKG_CONFIG=""
13158  else
13159    case $cross_compiling:$ac_tool_warned in
13160yes:)
13161{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13162$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13163ac_tool_warned=yes ;;
13164esac
13165    PKG_CONFIG=$ac_pt_PKG_CONFIG
13166  fi
13167else
13168  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13169fi
13170
13171fi
13172if test -n "$PKG_CONFIG"; then
13173	_pkg_min_version=0.9.0
13174	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13175$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13176	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13177		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13178$as_echo "yes" >&6; }
13179	else
13180		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13181$as_echo "no" >&6; }
13182		PKG_CONFIG=""
13183	fi
13184fi
13185
13186ani=yes
13187
13188eet=auto
13189# Check whether --enable-eet was given.
13190if test "${enable_eet+set}" = set; then :
13191  enableval=$enable_eet;
13192 if test x$enableval = xno; then
13193   eet=no
13194 else
13195   eet=yes
13196 fi
13197
13198fi
13199
13200
13201xcf=yes
13202# Check whether --enable-xcf was given.
13203if test "${enable_xcf+set}" = set; then :
13204  enableval=$enable_xcf;
13205 if test x$enableval = xno; then
13206   xcf=no
13207 else
13208   xcf=yes
13209 fi
13210
13211fi
13212
13213
13214
13215
13216found_eet=no
13217if test "x$eet" != "xno" ; then
13218
13219pkg_failed=no
13220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
13221$as_echo_n "checking for EET... " >&6; }
13222
13223if test -n "$EET_CFLAGS"; then
13224    pkg_cv_EET_CFLAGS="$EET_CFLAGS"
13225 elif test -n "$PKG_CONFIG"; then
13226    if test -n "$PKG_CONFIG" && \
13227    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet\""; } >&5
13228  ($PKG_CONFIG --exists --print-errors "eet") 2>&5
13229  ac_status=$?
13230  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13231  test $ac_status = 0; }; then
13232  pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet" 2>/dev/null`
13233		      test "x$?" != "x0" && pkg_failed=yes
13234else
13235  pkg_failed=yes
13236fi
13237 else
13238    pkg_failed=untried
13239fi
13240if test -n "$EET_LIBS"; then
13241    pkg_cv_EET_LIBS="$EET_LIBS"
13242 elif test -n "$PKG_CONFIG"; then
13243    if test -n "$PKG_CONFIG" && \
13244    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet\""; } >&5
13245  ($PKG_CONFIG --exists --print-errors "eet") 2>&5
13246  ac_status=$?
13247  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13248  test $ac_status = 0; }; then
13249  pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet" 2>/dev/null`
13250		      test "x$?" != "x0" && pkg_failed=yes
13251else
13252  pkg_failed=yes
13253fi
13254 else
13255    pkg_failed=untried
13256fi
13257
13258
13259
13260if test $pkg_failed = yes; then
13261   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13262$as_echo "no" >&6; }
13263
13264if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13265        _pkg_short_errors_supported=yes
13266else
13267        _pkg_short_errors_supported=no
13268fi
13269        if test $_pkg_short_errors_supported = yes; then
13270	        EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet" 2>&1`
13271        else
13272	        EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet" 2>&1`
13273        fi
13274	# Put the nasty error message in config.log where it belongs
13275	echo "$EET_PKG_ERRORS" >&5
13276
13277	found_eet=no
13278elif test $pkg_failed = untried; then
13279     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13280$as_echo "no" >&6; }
13281	found_eet=no
13282else
13283	EET_CFLAGS=$pkg_cv_EET_CFLAGS
13284	EET_LIBS=$pkg_cv_EET_LIBS
13285        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13286$as_echo "yes" >&6; }
13287	found_eet=yes
13288fi
13289fi
13290if test "x$eet$found_eet" = "xyesno" ; then
13291	as_fn_error $? "Eet support was requested but not found" "$LINENO" 5
13292elif test "x$found_eet" = "xno" ; then
13293	eet=no
13294fi
13295
13296 if test x$ani != xno; then
13297  BUILD_ANI_LOADER_TRUE=
13298  BUILD_ANI_LOADER_FALSE='#'
13299else
13300  BUILD_ANI_LOADER_TRUE='#'
13301  BUILD_ANI_LOADER_FALSE=
13302fi
13303
13304 if test x$eet != xno; then
13305  BUILD_EET_LOADER_TRUE=
13306  BUILD_EET_LOADER_FALSE='#'
13307else
13308  BUILD_EET_LOADER_TRUE='#'
13309  BUILD_EET_LOADER_FALSE=
13310fi
13311
13312 if test x$xcf != xno; then
13313  BUILD_XCF_LOADER_TRUE=
13314  BUILD_XCF_LOADER_FALSE='#'
13315else
13316  BUILD_XCF_LOADER_TRUE='#'
13317  BUILD_XCF_LOADER_FALSE=
13318fi
13319
13320
13321
13322
13323
13324  # Check whether --enable-werror was given.
13325if test "${enable_werror+set}" = set; then :
13326  enableval=$enable_werror;
13327else
13328  enable_werror=no
13329fi
13330
13331
13332  if test "x$GCC" = "xyes"; then
13333    CFLAGS_WARNINGS="-W -Wall -Wcast-align -Wpointer-arith -Wshadow -Wwrite-strings"
13334    CFLAGS_WARNINGS="$CFLAGS_WARNINGS -Wno-unused-parameter"
13335
13336      CFLAGS_WARNINGS="$CFLAGS_WARNINGS -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes"
13337
13338
13339    if test "x$enable_werror" = "xyes"; then
13340      CFLAGS_WARNINGS="$CFLAGS_WARNINGS -Werror"
13341    fi
13342  fi
13343
13344
13345
13346
13347
13348
13349  CFLAGS_VISIBILITY=
13350  HAVE_VISIBILITY=0
13351
13352  # Check whether --enable-visibility-hiding was given.
13353if test "${enable_visibility_hiding+set}" = set; then :
13354  enableval=$enable_visibility_hiding;
13355else
13356  enable_visibility_hiding=yes
13357fi
13358
13359
13360  if test -n "$GCC" -a "x$enable_visibility_hiding" = "xyes"; then
13361    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
13362$as_echo_n "checking for simple visibility declarations... " >&6; }
13363    if ${ec_cv_cc_visibility+:} false; then :
13364  $as_echo_n "(cached) " >&6
13365else
13366
13367      ec_save_CFLAGS="$CFLAGS"
13368      CFLAGS="$CFLAGS -fvisibility=hidden"
13369      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13370/* end confdefs.h.  */
13371
13372
13373
13374int
13375main ()
13376{
13377
13378extern __attribute__((__visibility__("hidden"))) int hiddenvar;
13379extern __attribute__((__visibility__("default"))) int exportedvar;
13380extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
13381extern __attribute__((__visibility__("default"))) int exportedfunc (void);
13382
13383  ;
13384  return 0;
13385}
13386
13387_ACEOF
13388if ac_fn_c_try_compile "$LINENO"; then :
13389  ec_cv_cc_visibility=yes
13390else
13391  ec_cv_cc_visibility=no
13392fi
13393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13394      CFLAGS="$ec_save_CFLAGS"
13395fi
13396
13397    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ec_cv_cc_visibility" >&5
13398$as_echo "$ec_cv_cc_visibility" >&6; }
13399    if test $ec_cv_cc_visibility = yes; then
13400      CFLAGS_VISIBILITY="-fvisibility=hidden"
13401      HAVE_VISIBILITY=1
13402
13403$as_echo "#define __EXPORT__ __attribute__((__visibility__(\"default\")))" >>confdefs.h
13404
13405    fi
13406  else
13407    enable_visibility_hiding=no
13408  fi
13409
13410
13411
13412
13413cat >>confdefs.h <<_ACEOF
13414#define HAVE_VISIBILITY $HAVE_VISIBILITY
13415_ACEOF
13416
13417
13418
13419ac_config_headers="$ac_config_headers config.h"
13420
13421ac_config_files="$ac_config_files Makefile src/Makefile src/modules/Makefile src/modules/loaders/Makefile README imlib2_loaders.spec"
13422
13423ac_config_commands="$ac_config_commands default"
13424
13425cat >confcache <<\_ACEOF
13426# This file is a shell script that caches the results of configure
13427# tests run on this system so they can be shared between configure
13428# scripts and configure runs, see configure's option --config-cache.
13429# It is not useful on other systems.  If it contains results you don't
13430# want to keep, you may remove or edit it.
13431#
13432# config.status only pays attention to the cache file if you give it
13433# the --recheck option to rerun configure.
13434#
13435# `ac_cv_env_foo' variables (set or unset) will be overridden when
13436# loading this file, other *unset* `ac_cv_foo' will be assigned the
13437# following values.
13438
13439_ACEOF
13440
13441# The following way of writing the cache mishandles newlines in values,
13442# but we know of no workaround that is simple, portable, and efficient.
13443# So, we kill variables containing newlines.
13444# Ultrix sh set writes to stderr and can't be redirected directly,
13445# and sets the high bit in the cache file unless we assign to the vars.
13446(
13447  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13448    eval ac_val=\$$ac_var
13449    case $ac_val in #(
13450    *${as_nl}*)
13451      case $ac_var in #(
13452      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13453$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13454      esac
13455      case $ac_var in #(
13456      _ | IFS | as_nl) ;; #(
13457      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13458      *) { eval $ac_var=; unset $ac_var;} ;;
13459      esac ;;
13460    esac
13461  done
13462
13463  (set) 2>&1 |
13464    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13465    *${as_nl}ac_space=\ *)
13466      # `set' does not quote correctly, so add quotes: double-quote
13467      # substitution turns \\\\ into \\, and sed turns \\ into \.
13468      sed -n \
13469	"s/'/'\\\\''/g;
13470	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13471      ;; #(
13472    *)
13473      # `set' quotes correctly as required by POSIX, so do not add quotes.
13474      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13475      ;;
13476    esac |
13477    sort
13478) |
13479  sed '
13480     /^ac_cv_env_/b end
13481     t clear
13482     :clear
13483     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13484     t end
13485     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13486     :end' >>confcache
13487if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13488  if test -w "$cache_file"; then
13489    if test "x$cache_file" != "x/dev/null"; then
13490      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13491$as_echo "$as_me: updating cache $cache_file" >&6;}
13492      if test ! -f "$cache_file" || test -h "$cache_file"; then
13493	cat confcache >"$cache_file"
13494      else
13495        case $cache_file in #(
13496        */* | ?:*)
13497	  mv -f confcache "$cache_file"$$ &&
13498	  mv -f "$cache_file"$$ "$cache_file" ;; #(
13499        *)
13500	  mv -f confcache "$cache_file" ;;
13501	esac
13502      fi
13503    fi
13504  else
13505    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13506$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13507  fi
13508fi
13509rm -f confcache
13510
13511test "x$prefix" = xNONE && prefix=$ac_default_prefix
13512# Let make expand exec_prefix.
13513test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13514
13515DEFS=-DHAVE_CONFIG_H
13516
13517ac_libobjs=
13518ac_ltlibobjs=
13519U=
13520for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13521  # 1. Remove the extension, and $U if already installed.
13522  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13523  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13524  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13525  #    will be set to the directory where LIBOBJS objects are built.
13526  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13527  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13528done
13529LIBOBJS=$ac_libobjs
13530
13531LTLIBOBJS=$ac_ltlibobjs
13532
13533
13534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13535$as_echo_n "checking that generated files are newer than configure... " >&6; }
13536   if test -n "$am_sleep_pid"; then
13537     # Hide warnings about reused PIDs.
13538     wait $am_sleep_pid 2>/dev/null
13539   fi
13540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13541$as_echo "done" >&6; }
13542 if test -n "$EXEEXT"; then
13543  am__EXEEXT_TRUE=
13544  am__EXEEXT_FALSE='#'
13545else
13546  am__EXEEXT_TRUE='#'
13547  am__EXEEXT_FALSE=
13548fi
13549
13550if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13551  as_fn_error $? "conditional \"AMDEP\" was never defined.
13552Usually this means the macro was only invoked conditionally." "$LINENO" 5
13553fi
13554if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13555  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13556Usually this means the macro was only invoked conditionally." "$LINENO" 5
13557fi
13558
13559if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13560  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13561Usually this means the macro was only invoked conditionally." "$LINENO" 5
13562fi
13563if test -z "${BUILD_ANI_LOADER_TRUE}" && test -z "${BUILD_ANI_LOADER_FALSE}"; then
13564  as_fn_error $? "conditional \"BUILD_ANI_LOADER\" was never defined.
13565Usually this means the macro was only invoked conditionally." "$LINENO" 5
13566fi
13567if test -z "${BUILD_EET_LOADER_TRUE}" && test -z "${BUILD_EET_LOADER_FALSE}"; then
13568  as_fn_error $? "conditional \"BUILD_EET_LOADER\" was never defined.
13569Usually this means the macro was only invoked conditionally." "$LINENO" 5
13570fi
13571if test -z "${BUILD_XCF_LOADER_TRUE}" && test -z "${BUILD_XCF_LOADER_FALSE}"; then
13572  as_fn_error $? "conditional \"BUILD_XCF_LOADER\" was never defined.
13573Usually this means the macro was only invoked conditionally." "$LINENO" 5
13574fi
13575
13576: "${CONFIG_STATUS=./config.status}"
13577ac_write_fail=0
13578ac_clean_files_save=$ac_clean_files
13579ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13580{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13581$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13582as_write_fail=0
13583cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13584#! $SHELL
13585# Generated by $as_me.
13586# Run this file to recreate the current configuration.
13587# Compiler output produced by configure, useful for debugging
13588# configure, is in config.log if it exists.
13589
13590debug=false
13591ac_cs_recheck=false
13592ac_cs_silent=false
13593
13594SHELL=\${CONFIG_SHELL-$SHELL}
13595export SHELL
13596_ASEOF
13597cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13598## -------------------- ##
13599## M4sh Initialization. ##
13600## -------------------- ##
13601
13602# Be more Bourne compatible
13603DUALCASE=1; export DUALCASE # for MKS sh
13604if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13605  emulate sh
13606  NULLCMD=:
13607  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13608  # is contrary to our usage.  Disable this feature.
13609  alias -g '${1+"$@"}'='"$@"'
13610  setopt NO_GLOB_SUBST
13611else
13612  case `(set -o) 2>/dev/null` in #(
13613  *posix*) :
13614    set -o posix ;; #(
13615  *) :
13616     ;;
13617esac
13618fi
13619
13620
13621as_nl='
13622'
13623export as_nl
13624# Printing a long string crashes Solaris 7 /usr/bin/printf.
13625as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13626as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13627as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13628# Prefer a ksh shell builtin over an external printf program on Solaris,
13629# but without wasting forks for bash or zsh.
13630if test -z "$BASH_VERSION$ZSH_VERSION" \
13631    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13632  as_echo='print -r --'
13633  as_echo_n='print -rn --'
13634elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13635  as_echo='printf %s\n'
13636  as_echo_n='printf %s'
13637else
13638  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13639    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13640    as_echo_n='/usr/ucb/echo -n'
13641  else
13642    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13643    as_echo_n_body='eval
13644      arg=$1;
13645      case $arg in #(
13646      *"$as_nl"*)
13647	expr "X$arg" : "X\\(.*\\)$as_nl";
13648	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13649      esac;
13650      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13651    '
13652    export as_echo_n_body
13653    as_echo_n='sh -c $as_echo_n_body as_echo'
13654  fi
13655  export as_echo_body
13656  as_echo='sh -c $as_echo_body as_echo'
13657fi
13658
13659# The user is always right.
13660if test "${PATH_SEPARATOR+set}" != set; then
13661  PATH_SEPARATOR=:
13662  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13663    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13664      PATH_SEPARATOR=';'
13665  }
13666fi
13667
13668
13669# IFS
13670# We need space, tab and new line, in precisely that order.  Quoting is
13671# there to prevent editors from complaining about space-tab.
13672# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13673# splitting by setting IFS to empty value.)
13674IFS=" ""	$as_nl"
13675
13676# Find who we are.  Look in the path if we contain no directory separator.
13677as_myself=
13678case $0 in #((
13679  *[\\/]* ) as_myself=$0 ;;
13680  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13681for as_dir in $PATH
13682do
13683  IFS=$as_save_IFS
13684  test -z "$as_dir" && as_dir=.
13685    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13686  done
13687IFS=$as_save_IFS
13688
13689     ;;
13690esac
13691# We did not find ourselves, most probably we were run as `sh COMMAND'
13692# in which case we are not to be found in the path.
13693if test "x$as_myself" = x; then
13694  as_myself=$0
13695fi
13696if test ! -f "$as_myself"; then
13697  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13698  exit 1
13699fi
13700
13701# Unset variables that we do not need and which cause bugs (e.g. in
13702# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13703# suppresses any "Segmentation fault" message there.  '((' could
13704# trigger a bug in pdksh 5.2.14.
13705for as_var in BASH_ENV ENV MAIL MAILPATH
13706do eval test x\${$as_var+set} = xset \
13707  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13708done
13709PS1='$ '
13710PS2='> '
13711PS4='+ '
13712
13713# NLS nuisances.
13714LC_ALL=C
13715export LC_ALL
13716LANGUAGE=C
13717export LANGUAGE
13718
13719# CDPATH.
13720(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13721
13722
13723# as_fn_error STATUS ERROR [LINENO LOG_FD]
13724# ----------------------------------------
13725# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13726# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13727# script with STATUS, using 1 if that was 0.
13728as_fn_error ()
13729{
13730  as_status=$1; test $as_status -eq 0 && as_status=1
13731  if test "$4"; then
13732    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13733    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13734  fi
13735  $as_echo "$as_me: error: $2" >&2
13736  as_fn_exit $as_status
13737} # as_fn_error
13738
13739
13740# as_fn_set_status STATUS
13741# -----------------------
13742# Set $? to STATUS, without forking.
13743as_fn_set_status ()
13744{
13745  return $1
13746} # as_fn_set_status
13747
13748# as_fn_exit STATUS
13749# -----------------
13750# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13751as_fn_exit ()
13752{
13753  set +e
13754  as_fn_set_status $1
13755  exit $1
13756} # as_fn_exit
13757
13758# as_fn_unset VAR
13759# ---------------
13760# Portably unset VAR.
13761as_fn_unset ()
13762{
13763  { eval $1=; unset $1;}
13764}
13765as_unset=as_fn_unset
13766# as_fn_append VAR VALUE
13767# ----------------------
13768# Append the text in VALUE to the end of the definition contained in VAR. Take
13769# advantage of any shell optimizations that allow amortized linear growth over
13770# repeated appends, instead of the typical quadratic growth present in naive
13771# implementations.
13772if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13773  eval 'as_fn_append ()
13774  {
13775    eval $1+=\$2
13776  }'
13777else
13778  as_fn_append ()
13779  {
13780    eval $1=\$$1\$2
13781  }
13782fi # as_fn_append
13783
13784# as_fn_arith ARG...
13785# ------------------
13786# Perform arithmetic evaluation on the ARGs, and store the result in the
13787# global $as_val. Take advantage of shells that can avoid forks. The arguments
13788# must be portable across $(()) and expr.
13789if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13790  eval 'as_fn_arith ()
13791  {
13792    as_val=$(( $* ))
13793  }'
13794else
13795  as_fn_arith ()
13796  {
13797    as_val=`expr "$@" || test $? -eq 1`
13798  }
13799fi # as_fn_arith
13800
13801
13802if expr a : '\(a\)' >/dev/null 2>&1 &&
13803   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13804  as_expr=expr
13805else
13806  as_expr=false
13807fi
13808
13809if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13810  as_basename=basename
13811else
13812  as_basename=false
13813fi
13814
13815if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13816  as_dirname=dirname
13817else
13818  as_dirname=false
13819fi
13820
13821as_me=`$as_basename -- "$0" ||
13822$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13823	 X"$0" : 'X\(//\)$' \| \
13824	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13825$as_echo X/"$0" |
13826    sed '/^.*\/\([^/][^/]*\)\/*$/{
13827	    s//\1/
13828	    q
13829	  }
13830	  /^X\/\(\/\/\)$/{
13831	    s//\1/
13832	    q
13833	  }
13834	  /^X\/\(\/\).*/{
13835	    s//\1/
13836	    q
13837	  }
13838	  s/.*/./; q'`
13839
13840# Avoid depending upon Character Ranges.
13841as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13842as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13843as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13844as_cr_digits='0123456789'
13845as_cr_alnum=$as_cr_Letters$as_cr_digits
13846
13847ECHO_C= ECHO_N= ECHO_T=
13848case `echo -n x` in #(((((
13849-n*)
13850  case `echo 'xy\c'` in
13851  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13852  xy)  ECHO_C='\c';;
13853  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13854       ECHO_T='	';;
13855  esac;;
13856*)
13857  ECHO_N='-n';;
13858esac
13859
13860rm -f conf$$ conf$$.exe conf$$.file
13861if test -d conf$$.dir; then
13862  rm -f conf$$.dir/conf$$.file
13863else
13864  rm -f conf$$.dir
13865  mkdir conf$$.dir 2>/dev/null
13866fi
13867if (echo >conf$$.file) 2>/dev/null; then
13868  if ln -s conf$$.file conf$$ 2>/dev/null; then
13869    as_ln_s='ln -s'
13870    # ... but there are two gotchas:
13871    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13872    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13873    # In both cases, we have to default to `cp -pR'.
13874    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13875      as_ln_s='cp -pR'
13876  elif ln conf$$.file conf$$ 2>/dev/null; then
13877    as_ln_s=ln
13878  else
13879    as_ln_s='cp -pR'
13880  fi
13881else
13882  as_ln_s='cp -pR'
13883fi
13884rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13885rmdir conf$$.dir 2>/dev/null
13886
13887
13888# as_fn_mkdir_p
13889# -------------
13890# Create "$as_dir" as a directory, including parents if necessary.
13891as_fn_mkdir_p ()
13892{
13893
13894  case $as_dir in #(
13895  -*) as_dir=./$as_dir;;
13896  esac
13897  test -d "$as_dir" || eval $as_mkdir_p || {
13898    as_dirs=
13899    while :; do
13900      case $as_dir in #(
13901      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13902      *) as_qdir=$as_dir;;
13903      esac
13904      as_dirs="'$as_qdir' $as_dirs"
13905      as_dir=`$as_dirname -- "$as_dir" ||
13906$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13907	 X"$as_dir" : 'X\(//\)[^/]' \| \
13908	 X"$as_dir" : 'X\(//\)$' \| \
13909	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13910$as_echo X"$as_dir" |
13911    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13912	    s//\1/
13913	    q
13914	  }
13915	  /^X\(\/\/\)[^/].*/{
13916	    s//\1/
13917	    q
13918	  }
13919	  /^X\(\/\/\)$/{
13920	    s//\1/
13921	    q
13922	  }
13923	  /^X\(\/\).*/{
13924	    s//\1/
13925	    q
13926	  }
13927	  s/.*/./; q'`
13928      test -d "$as_dir" && break
13929    done
13930    test -z "$as_dirs" || eval "mkdir $as_dirs"
13931  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13932
13933
13934} # as_fn_mkdir_p
13935if mkdir -p . 2>/dev/null; then
13936  as_mkdir_p='mkdir -p "$as_dir"'
13937else
13938  test -d ./-p && rmdir ./-p
13939  as_mkdir_p=false
13940fi
13941
13942
13943# as_fn_executable_p FILE
13944# -----------------------
13945# Test if FILE is an executable regular file.
13946as_fn_executable_p ()
13947{
13948  test -f "$1" && test -x "$1"
13949} # as_fn_executable_p
13950as_test_x='test -x'
13951as_executable_p=as_fn_executable_p
13952
13953# Sed expression to map a string onto a valid CPP name.
13954as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13955
13956# Sed expression to map a string onto a valid variable name.
13957as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13958
13959
13960exec 6>&1
13961## ----------------------------------- ##
13962## Main body of $CONFIG_STATUS script. ##
13963## ----------------------------------- ##
13964_ASEOF
13965test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13966
13967cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13968# Save the log message, to keep $0 and so on meaningful, and to
13969# report actual input values of CONFIG_FILES etc. instead of their
13970# values after options handling.
13971ac_log="
13972This file was extended by imlib2_loaders $as_me 1.7.0, which was
13973generated by GNU Autoconf 2.69.  Invocation command line was
13974
13975  CONFIG_FILES    = $CONFIG_FILES
13976  CONFIG_HEADERS  = $CONFIG_HEADERS
13977  CONFIG_LINKS    = $CONFIG_LINKS
13978  CONFIG_COMMANDS = $CONFIG_COMMANDS
13979  $ $0 $@
13980
13981on `(hostname || uname -n) 2>/dev/null | sed 1q`
13982"
13983
13984_ACEOF
13985
13986case $ac_config_files in *"
13987"*) set x $ac_config_files; shift; ac_config_files=$*;;
13988esac
13989
13990case $ac_config_headers in *"
13991"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13992esac
13993
13994
13995cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13996# Files that config.status was made for.
13997config_files="$ac_config_files"
13998config_headers="$ac_config_headers"
13999config_commands="$ac_config_commands"
14000
14001_ACEOF
14002
14003cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14004ac_cs_usage="\
14005\`$as_me' instantiates files and other configuration actions
14006from templates according to the current configuration.  Unless the files
14007and actions are specified as TAGs, all are instantiated by default.
14008
14009Usage: $0 [OPTION]... [TAG]...
14010
14011  -h, --help       print this help, then exit
14012  -V, --version    print version number and configuration settings, then exit
14013      --config     print configuration, then exit
14014  -q, --quiet, --silent
14015                   do not print progress messages
14016  -d, --debug      don't remove temporary files
14017      --recheck    update $as_me by reconfiguring in the same conditions
14018      --file=FILE[:TEMPLATE]
14019                   instantiate the configuration file FILE
14020      --header=FILE[:TEMPLATE]
14021                   instantiate the configuration header FILE
14022
14023Configuration files:
14024$config_files
14025
14026Configuration headers:
14027$config_headers
14028
14029Configuration commands:
14030$config_commands
14031
14032Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14033
14034_ACEOF
14035cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14036ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14037ac_cs_version="\\
14038imlib2_loaders config.status 1.7.0
14039configured by $0, generated by GNU Autoconf 2.69,
14040  with options \\"\$ac_cs_config\\"
14041
14042Copyright (C) 2012 Free Software Foundation, Inc.
14043This config.status script is free software; the Free Software Foundation
14044gives unlimited permission to copy, distribute and modify it."
14045
14046ac_pwd='$ac_pwd'
14047srcdir='$srcdir'
14048INSTALL='$INSTALL'
14049MKDIR_P='$MKDIR_P'
14050AWK='$AWK'
14051test -n "\$AWK" || AWK=awk
14052_ACEOF
14053
14054cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14055# The default lists apply if the user does not specify any file.
14056ac_need_defaults=:
14057while test $# != 0
14058do
14059  case $1 in
14060  --*=?*)
14061    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14062    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14063    ac_shift=:
14064    ;;
14065  --*=)
14066    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14067    ac_optarg=
14068    ac_shift=:
14069    ;;
14070  *)
14071    ac_option=$1
14072    ac_optarg=$2
14073    ac_shift=shift
14074    ;;
14075  esac
14076
14077  case $ac_option in
14078  # Handling of the options.
14079  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14080    ac_cs_recheck=: ;;
14081  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14082    $as_echo "$ac_cs_version"; exit ;;
14083  --config | --confi | --conf | --con | --co | --c )
14084    $as_echo "$ac_cs_config"; exit ;;
14085  --debug | --debu | --deb | --de | --d | -d )
14086    debug=: ;;
14087  --file | --fil | --fi | --f )
14088    $ac_shift
14089    case $ac_optarg in
14090    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14091    '') as_fn_error $? "missing file argument" ;;
14092    esac
14093    as_fn_append CONFIG_FILES " '$ac_optarg'"
14094    ac_need_defaults=false;;
14095  --header | --heade | --head | --hea )
14096    $ac_shift
14097    case $ac_optarg in
14098    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14099    esac
14100    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14101    ac_need_defaults=false;;
14102  --he | --h)
14103    # Conflict between --help and --header
14104    as_fn_error $? "ambiguous option: \`$1'
14105Try \`$0 --help' for more information.";;
14106  --help | --hel | -h )
14107    $as_echo "$ac_cs_usage"; exit ;;
14108  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14109  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14110    ac_cs_silent=: ;;
14111
14112  # This is an error.
14113  -*) as_fn_error $? "unrecognized option: \`$1'
14114Try \`$0 --help' for more information." ;;
14115
14116  *) as_fn_append ac_config_targets " $1"
14117     ac_need_defaults=false ;;
14118
14119  esac
14120  shift
14121done
14122
14123ac_configure_extra_args=
14124
14125if $ac_cs_silent; then
14126  exec 6>/dev/null
14127  ac_configure_extra_args="$ac_configure_extra_args --silent"
14128fi
14129
14130_ACEOF
14131cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14132if \$ac_cs_recheck; then
14133  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14134  shift
14135  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14136  CONFIG_SHELL='$SHELL'
14137  export CONFIG_SHELL
14138  exec "\$@"
14139fi
14140
14141_ACEOF
14142cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14143exec 5>>config.log
14144{
14145  echo
14146  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14147## Running $as_me. ##
14148_ASBOX
14149  $as_echo "$ac_log"
14150} >&5
14151
14152_ACEOF
14153cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14154#
14155# INIT-COMMANDS
14156#
14157AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
14158
14159
14160# The HP-UX ksh and POSIX shell print the target directory to stdout
14161# if CDPATH is set.
14162(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14163
14164sed_quote_subst='$sed_quote_subst'
14165double_quote_subst='$double_quote_subst'
14166delay_variable_subst='$delay_variable_subst'
14167macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14168macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14169enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14170enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14171pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14172enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14173shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14174SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14175ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14176PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14177host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14178host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14179host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14180build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14181build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14182build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14183SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14184Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14185GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14186EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14187FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14188LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14189NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14190LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14191max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14192ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14193exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14194lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14195lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14196lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14197lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14198lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14199reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14200reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14201OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14202deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14203file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14204file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14205want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14206DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14207sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14208AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14209AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14210archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14211STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14212RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14213old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14214old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14215old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14216lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14217CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14218CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14219compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14220GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14221lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14222lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14223lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14224lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14225lt_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"`'
14226lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14227nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14228lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14229lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14230objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14231MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14232lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14233lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14234lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14235lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14236lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14237need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14238MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14239DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14240NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14241LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14242OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14243OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14244libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14245shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14246extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14247archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14248enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14249export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14250whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14251compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14252old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14253old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14254archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14255archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14256module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14257module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14258with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14259allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14260no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14261hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14262hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14263hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14264hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14265hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14266hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14267hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14268inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14269link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14270always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14271export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14272exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14273include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14274prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14275postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14276file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14277variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14278need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14279need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14280version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14281runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14282shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14283shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14284libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14285library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14286soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14287install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14288postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14289postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14290finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14291finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14292hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14293sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14294configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14295configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14296hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14297enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14298enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14299enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14300old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14301striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14302
14303LTCC='$LTCC'
14304LTCFLAGS='$LTCFLAGS'
14305compiler='$compiler_DEFAULT'
14306
14307# A function that is used when there is no print builtin or printf.
14308func_fallback_echo ()
14309{
14310  eval 'cat <<_LTECHO_EOF
14311\$1
14312_LTECHO_EOF'
14313}
14314
14315# Quote evaled strings.
14316for var in SHELL \
14317ECHO \
14318PATH_SEPARATOR \
14319SED \
14320GREP \
14321EGREP \
14322FGREP \
14323LD \
14324NM \
14325LN_S \
14326lt_SP2NL \
14327lt_NL2SP \
14328reload_flag \
14329OBJDUMP \
14330deplibs_check_method \
14331file_magic_cmd \
14332file_magic_glob \
14333want_nocaseglob \
14334DLLTOOL \
14335sharedlib_from_linklib_cmd \
14336AR \
14337AR_FLAGS \
14338archiver_list_spec \
14339STRIP \
14340RANLIB \
14341CC \
14342CFLAGS \
14343compiler \
14344lt_cv_sys_global_symbol_pipe \
14345lt_cv_sys_global_symbol_to_cdecl \
14346lt_cv_sys_global_symbol_to_import \
14347lt_cv_sys_global_symbol_to_c_name_address \
14348lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14349lt_cv_nm_interface \
14350nm_file_list_spec \
14351lt_cv_truncate_bin \
14352lt_prog_compiler_no_builtin_flag \
14353lt_prog_compiler_pic \
14354lt_prog_compiler_wl \
14355lt_prog_compiler_static \
14356lt_cv_prog_compiler_c_o \
14357need_locks \
14358MANIFEST_TOOL \
14359DSYMUTIL \
14360NMEDIT \
14361LIPO \
14362OTOOL \
14363OTOOL64 \
14364shrext_cmds \
14365export_dynamic_flag_spec \
14366whole_archive_flag_spec \
14367compiler_needs_object \
14368with_gnu_ld \
14369allow_undefined_flag \
14370no_undefined_flag \
14371hardcode_libdir_flag_spec \
14372hardcode_libdir_separator \
14373exclude_expsyms \
14374include_expsyms \
14375file_list_spec \
14376variables_saved_for_relink \
14377libname_spec \
14378library_names_spec \
14379soname_spec \
14380install_override_mode \
14381finish_eval \
14382old_striplib \
14383striplib; do
14384    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14385    *[\\\\\\\`\\"\\\$]*)
14386      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14387      ;;
14388    *)
14389      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14390      ;;
14391    esac
14392done
14393
14394# Double-quote double-evaled strings.
14395for var in reload_cmds \
14396old_postinstall_cmds \
14397old_postuninstall_cmds \
14398old_archive_cmds \
14399extract_expsyms_cmds \
14400old_archive_from_new_cmds \
14401old_archive_from_expsyms_cmds \
14402archive_cmds \
14403archive_expsym_cmds \
14404module_cmds \
14405module_expsym_cmds \
14406export_symbols_cmds \
14407prelink_cmds \
14408postlink_cmds \
14409postinstall_cmds \
14410postuninstall_cmds \
14411finish_cmds \
14412sys_lib_search_path_spec \
14413configure_time_dlsearch_path \
14414configure_time_lt_sys_library_path; do
14415    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14416    *[\\\\\\\`\\"\\\$]*)
14417      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14418      ;;
14419    *)
14420      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14421      ;;
14422    esac
14423done
14424
14425ac_aux_dir='$ac_aux_dir'
14426
14427# See if we are running on zsh, and set the options that allow our
14428# commands through without removal of \ escapes INIT.
14429if test -n "\${ZSH_VERSION+set}"; then
14430   setopt NO_GLOB_SUBST
14431fi
14432
14433
14434    PACKAGE='$PACKAGE'
14435    VERSION='$VERSION'
14436    RM='$RM'
14437    ofile='$ofile'
14438
14439
14440
14441
14442_ACEOF
14443
14444cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14445
14446# Handling of arguments.
14447for ac_config_target in $ac_config_targets
14448do
14449  case $ac_config_target in
14450    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14451    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14452    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14453    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14454    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14455    "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
14456    "src/modules/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/Makefile" ;;
14457    "README") CONFIG_FILES="$CONFIG_FILES README" ;;
14458    "imlib2_loaders.spec") CONFIG_FILES="$CONFIG_FILES imlib2_loaders.spec" ;;
14459    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
14460
14461  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14462  esac
14463done
14464
14465
14466# If the user did not use the arguments to specify the items to instantiate,
14467# then the envvar interface is used.  Set only those that are not.
14468# We use the long form for the default assignment because of an extremely
14469# bizarre bug on SunOS 4.1.3.
14470if $ac_need_defaults; then
14471  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14472  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14473  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14474fi
14475
14476# Have a temporary directory for convenience.  Make it in the build tree
14477# simply because there is no reason against having it here, and in addition,
14478# creating and moving files from /tmp can sometimes cause problems.
14479# Hook for its removal unless debugging.
14480# Note that there is a small window in which the directory will not be cleaned:
14481# after its creation but before its name has been assigned to `$tmp'.
14482$debug ||
14483{
14484  tmp= ac_tmp=
14485  trap 'exit_status=$?
14486  : "${ac_tmp:=$tmp}"
14487  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14488' 0
14489  trap 'as_fn_exit 1' 1 2 13 15
14490}
14491# Create a (secure) tmp directory for tmp files.
14492
14493{
14494  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14495  test -d "$tmp"
14496}  ||
14497{
14498  tmp=./conf$$-$RANDOM
14499  (umask 077 && mkdir "$tmp")
14500} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14501ac_tmp=$tmp
14502
14503# Set up the scripts for CONFIG_FILES section.
14504# No need to generate them if there are no CONFIG_FILES.
14505# This happens for instance with `./config.status config.h'.
14506if test -n "$CONFIG_FILES"; then
14507
14508
14509ac_cr=`echo X | tr X '\015'`
14510# On cygwin, bash can eat \r inside `` if the user requested igncr.
14511# But we know of no other shell where ac_cr would be empty at this
14512# point, so we can use a bashism as a fallback.
14513if test "x$ac_cr" = x; then
14514  eval ac_cr=\$\'\\r\'
14515fi
14516ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14517if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14518  ac_cs_awk_cr='\\r'
14519else
14520  ac_cs_awk_cr=$ac_cr
14521fi
14522
14523echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14524_ACEOF
14525
14526
14527{
14528  echo "cat >conf$$subs.awk <<_ACEOF" &&
14529  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14530  echo "_ACEOF"
14531} >conf$$subs.sh ||
14532  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14533ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14534ac_delim='%!_!# '
14535for ac_last_try in false false false false false :; do
14536  . ./conf$$subs.sh ||
14537    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14538
14539  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14540  if test $ac_delim_n = $ac_delim_num; then
14541    break
14542  elif $ac_last_try; then
14543    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14544  else
14545    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14546  fi
14547done
14548rm -f conf$$subs.sh
14549
14550cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14551cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14552_ACEOF
14553sed -n '
14554h
14555s/^/S["/; s/!.*/"]=/
14556p
14557g
14558s/^[^!]*!//
14559:repl
14560t repl
14561s/'"$ac_delim"'$//
14562t delim
14563:nl
14564h
14565s/\(.\{148\}\)..*/\1/
14566t more1
14567s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14568p
14569n
14570b repl
14571:more1
14572s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14573p
14574g
14575s/.\{148\}//
14576t nl
14577:delim
14578h
14579s/\(.\{148\}\)..*/\1/
14580t more2
14581s/["\\]/\\&/g; s/^/"/; s/$/"/
14582p
14583b
14584:more2
14585s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14586p
14587g
14588s/.\{148\}//
14589t delim
14590' <conf$$subs.awk | sed '
14591/^[^""]/{
14592  N
14593  s/\n//
14594}
14595' >>$CONFIG_STATUS || ac_write_fail=1
14596rm -f conf$$subs.awk
14597cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14598_ACAWK
14599cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14600  for (key in S) S_is_set[key] = 1
14601  FS = ""
14602
14603}
14604{
14605  line = $ 0
14606  nfields = split(line, field, "@")
14607  substed = 0
14608  len = length(field[1])
14609  for (i = 2; i < nfields; i++) {
14610    key = field[i]
14611    keylen = length(key)
14612    if (S_is_set[key]) {
14613      value = S[key]
14614      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14615      len += length(value) + length(field[++i])
14616      substed = 1
14617    } else
14618      len += 1 + keylen
14619  }
14620
14621  print line
14622}
14623
14624_ACAWK
14625_ACEOF
14626cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14627if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14628  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14629else
14630  cat
14631fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14632  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14633_ACEOF
14634
14635# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14636# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14637# trailing colons and then remove the whole line if VPATH becomes empty
14638# (actually we leave an empty line to preserve line numbers).
14639if test "x$srcdir" = x.; then
14640  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
14641h
14642s///
14643s/^/:/
14644s/[	 ]*$/:/
14645s/:\$(srcdir):/:/g
14646s/:\${srcdir}:/:/g
14647s/:@srcdir@:/:/g
14648s/^:*//
14649s/:*$//
14650x
14651s/\(=[	 ]*\).*/\1/
14652G
14653s/\n//
14654s/^[^=]*=[	 ]*$//
14655}'
14656fi
14657
14658cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14659fi # test -n "$CONFIG_FILES"
14660
14661# Set up the scripts for CONFIG_HEADERS section.
14662# No need to generate them if there are no CONFIG_HEADERS.
14663# This happens for instance with `./config.status Makefile'.
14664if test -n "$CONFIG_HEADERS"; then
14665cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14666BEGIN {
14667_ACEOF
14668
14669# Transform confdefs.h into an awk script `defines.awk', embedded as
14670# here-document in config.status, that substitutes the proper values into
14671# config.h.in to produce config.h.
14672
14673# Create a delimiter string that does not exist in confdefs.h, to ease
14674# handling of long lines.
14675ac_delim='%!_!# '
14676for ac_last_try in false false :; do
14677  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14678  if test -z "$ac_tt"; then
14679    break
14680  elif $ac_last_try; then
14681    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14682  else
14683    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14684  fi
14685done
14686
14687# For the awk script, D is an array of macro values keyed by name,
14688# likewise P contains macro parameters if any.  Preserve backslash
14689# newline sequences.
14690
14691ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14692sed -n '
14693s/.\{148\}/&'"$ac_delim"'/g
14694t rset
14695:rset
14696s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14697t def
14698d
14699:def
14700s/\\$//
14701t bsnl
14702s/["\\]/\\&/g
14703s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14704D["\1"]=" \3"/p
14705s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14706d
14707:bsnl
14708s/["\\]/\\&/g
14709s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14710D["\1"]=" \3\\\\\\n"\\/p
14711t cont
14712s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14713t cont
14714d
14715:cont
14716n
14717s/.\{148\}/&'"$ac_delim"'/g
14718t clear
14719:clear
14720s/\\$//
14721t bsnlc
14722s/["\\]/\\&/g; s/^/"/; s/$/"/p
14723d
14724:bsnlc
14725s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14726b cont
14727' <confdefs.h | sed '
14728s/'"$ac_delim"'/"\\\
14729"/g' >>$CONFIG_STATUS || ac_write_fail=1
14730
14731cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14732  for (key in D) D_is_set[key] = 1
14733  FS = ""
14734}
14735/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14736  line = \$ 0
14737  split(line, arg, " ")
14738  if (arg[1] == "#") {
14739    defundef = arg[2]
14740    mac1 = arg[3]
14741  } else {
14742    defundef = substr(arg[1], 2)
14743    mac1 = arg[2]
14744  }
14745  split(mac1, mac2, "(") #)
14746  macro = mac2[1]
14747  prefix = substr(line, 1, index(line, defundef) - 1)
14748  if (D_is_set[macro]) {
14749    # Preserve the white space surrounding the "#".
14750    print prefix "define", macro P[macro] D[macro]
14751    next
14752  } else {
14753    # Replace #undef with comments.  This is necessary, for example,
14754    # in the case of _POSIX_SOURCE, which is predefined and required
14755    # on some systems where configure will not decide to define it.
14756    if (defundef == "undef") {
14757      print "/*", prefix defundef, macro, "*/"
14758      next
14759    }
14760  }
14761}
14762{ print }
14763_ACAWK
14764_ACEOF
14765cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14766  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14767fi # test -n "$CONFIG_HEADERS"
14768
14769
14770eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14771shift
14772for ac_tag
14773do
14774  case $ac_tag in
14775  :[FHLC]) ac_mode=$ac_tag; continue;;
14776  esac
14777  case $ac_mode$ac_tag in
14778  :[FHL]*:*);;
14779  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14780  :[FH]-) ac_tag=-:-;;
14781  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14782  esac
14783  ac_save_IFS=$IFS
14784  IFS=:
14785  set x $ac_tag
14786  IFS=$ac_save_IFS
14787  shift
14788  ac_file=$1
14789  shift
14790
14791  case $ac_mode in
14792  :L) ac_source=$1;;
14793  :[FH])
14794    ac_file_inputs=
14795    for ac_f
14796    do
14797      case $ac_f in
14798      -) ac_f="$ac_tmp/stdin";;
14799      *) # Look for the file first in the build tree, then in the source tree
14800	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14801	 # because $ac_f cannot contain `:'.
14802	 test -f "$ac_f" ||
14803	   case $ac_f in
14804	   [\\/$]*) false;;
14805	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14806	   esac ||
14807	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14808      esac
14809      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14810      as_fn_append ac_file_inputs " '$ac_f'"
14811    done
14812
14813    # Let's still pretend it is `configure' which instantiates (i.e., don't
14814    # use $as_me), people would be surprised to read:
14815    #    /* config.h.  Generated by config.status.  */
14816    configure_input='Generated from '`
14817	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14818	`' by configure.'
14819    if test x"$ac_file" != x-; then
14820      configure_input="$ac_file.  $configure_input"
14821      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14822$as_echo "$as_me: creating $ac_file" >&6;}
14823    fi
14824    # Neutralize special characters interpreted by sed in replacement strings.
14825    case $configure_input in #(
14826    *\&* | *\|* | *\\* )
14827       ac_sed_conf_input=`$as_echo "$configure_input" |
14828       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14829    *) ac_sed_conf_input=$configure_input;;
14830    esac
14831
14832    case $ac_tag in
14833    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14834      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14835    esac
14836    ;;
14837  esac
14838
14839  ac_dir=`$as_dirname -- "$ac_file" ||
14840$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14841	 X"$ac_file" : 'X\(//\)[^/]' \| \
14842	 X"$ac_file" : 'X\(//\)$' \| \
14843	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14844$as_echo X"$ac_file" |
14845    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14846	    s//\1/
14847	    q
14848	  }
14849	  /^X\(\/\/\)[^/].*/{
14850	    s//\1/
14851	    q
14852	  }
14853	  /^X\(\/\/\)$/{
14854	    s//\1/
14855	    q
14856	  }
14857	  /^X\(\/\).*/{
14858	    s//\1/
14859	    q
14860	  }
14861	  s/.*/./; q'`
14862  as_dir="$ac_dir"; as_fn_mkdir_p
14863  ac_builddir=.
14864
14865case "$ac_dir" in
14866.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14867*)
14868  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14869  # A ".." for each directory in $ac_dir_suffix.
14870  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14871  case $ac_top_builddir_sub in
14872  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14873  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14874  esac ;;
14875esac
14876ac_abs_top_builddir=$ac_pwd
14877ac_abs_builddir=$ac_pwd$ac_dir_suffix
14878# for backward compatibility:
14879ac_top_builddir=$ac_top_build_prefix
14880
14881case $srcdir in
14882  .)  # We are building in place.
14883    ac_srcdir=.
14884    ac_top_srcdir=$ac_top_builddir_sub
14885    ac_abs_top_srcdir=$ac_pwd ;;
14886  [\\/]* | ?:[\\/]* )  # Absolute name.
14887    ac_srcdir=$srcdir$ac_dir_suffix;
14888    ac_top_srcdir=$srcdir
14889    ac_abs_top_srcdir=$srcdir ;;
14890  *) # Relative name.
14891    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14892    ac_top_srcdir=$ac_top_build_prefix$srcdir
14893    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14894esac
14895ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14896
14897
14898  case $ac_mode in
14899  :F)
14900  #
14901  # CONFIG_FILE
14902  #
14903
14904  case $INSTALL in
14905  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14906  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14907  esac
14908  ac_MKDIR_P=$MKDIR_P
14909  case $MKDIR_P in
14910  [\\/$]* | ?:[\\/]* ) ;;
14911  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14912  esac
14913_ACEOF
14914
14915cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14916# If the template does not know about datarootdir, expand it.
14917# FIXME: This hack should be removed a few years after 2.60.
14918ac_datarootdir_hack=; ac_datarootdir_seen=
14919ac_sed_dataroot='
14920/datarootdir/ {
14921  p
14922  q
14923}
14924/@datadir@/p
14925/@docdir@/p
14926/@infodir@/p
14927/@localedir@/p
14928/@mandir@/p'
14929case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14930*datarootdir*) ac_datarootdir_seen=yes;;
14931*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14932  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14933$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14934_ACEOF
14935cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14936  ac_datarootdir_hack='
14937  s&@datadir@&$datadir&g
14938  s&@docdir@&$docdir&g
14939  s&@infodir@&$infodir&g
14940  s&@localedir@&$localedir&g
14941  s&@mandir@&$mandir&g
14942  s&\\\${datarootdir}&$datarootdir&g' ;;
14943esac
14944_ACEOF
14945
14946# Neutralize VPATH when `$srcdir' = `.'.
14947# Shell code in configure.ac might set extrasub.
14948# FIXME: do we really want to maintain this feature?
14949cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14950ac_sed_extra="$ac_vpsub
14951$extrasub
14952_ACEOF
14953cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14954:t
14955/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14956s|@configure_input@|$ac_sed_conf_input|;t t
14957s&@top_builddir@&$ac_top_builddir_sub&;t t
14958s&@top_build_prefix@&$ac_top_build_prefix&;t t
14959s&@srcdir@&$ac_srcdir&;t t
14960s&@abs_srcdir@&$ac_abs_srcdir&;t t
14961s&@top_srcdir@&$ac_top_srcdir&;t t
14962s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14963s&@builddir@&$ac_builddir&;t t
14964s&@abs_builddir@&$ac_abs_builddir&;t t
14965s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14966s&@INSTALL@&$ac_INSTALL&;t t
14967s&@MKDIR_P@&$ac_MKDIR_P&;t t
14968$ac_datarootdir_hack
14969"
14970eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14971  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14972
14973test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14974  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14975  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
14976      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14977  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14978which seems to be undefined.  Please make sure it is defined" >&5
14979$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14980which seems to be undefined.  Please make sure it is defined" >&2;}
14981
14982  rm -f "$ac_tmp/stdin"
14983  case $ac_file in
14984  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14985  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14986  esac \
14987  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14988 ;;
14989  :H)
14990  #
14991  # CONFIG_HEADER
14992  #
14993  if test x"$ac_file" != x-; then
14994    {
14995      $as_echo "/* $configure_input  */" \
14996      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14997    } >"$ac_tmp/config.h" \
14998      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14999    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15000      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15001$as_echo "$as_me: $ac_file is unchanged" >&6;}
15002    else
15003      rm -f "$ac_file"
15004      mv "$ac_tmp/config.h" "$ac_file" \
15005	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15006    fi
15007  else
15008    $as_echo "/* $configure_input  */" \
15009      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15010      || as_fn_error $? "could not create -" "$LINENO" 5
15011  fi
15012# Compute "$ac_file"'s index in $config_headers.
15013_am_arg="$ac_file"
15014_am_stamp_count=1
15015for _am_header in $config_headers :; do
15016  case $_am_header in
15017    $_am_arg | $_am_arg:* )
15018      break ;;
15019    * )
15020      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15021  esac
15022done
15023echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15024$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15025	 X"$_am_arg" : 'X\(//\)[^/]' \| \
15026	 X"$_am_arg" : 'X\(//\)$' \| \
15027	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15028$as_echo X"$_am_arg" |
15029    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15030	    s//\1/
15031	    q
15032	  }
15033	  /^X\(\/\/\)[^/].*/{
15034	    s//\1/
15035	    q
15036	  }
15037	  /^X\(\/\/\)$/{
15038	    s//\1/
15039	    q
15040	  }
15041	  /^X\(\/\).*/{
15042	    s//\1/
15043	    q
15044	  }
15045	  s/.*/./; q'`/stamp-h$_am_stamp_count
15046 ;;
15047
15048  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15049$as_echo "$as_me: executing $ac_file commands" >&6;}
15050 ;;
15051  esac
15052
15053
15054  case $ac_file$ac_mode in
15055    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15056  # Older Autoconf quotes --file arguments for eval, but not when files
15057  # are listed without --file.  Let's play safe and only enable the eval
15058  # if we detect the quoting.
15059  # TODO: see whether this extra hack can be removed once we start
15060  # requiring Autoconf 2.70 or later.
15061  case $CONFIG_FILES in #(
15062  *\'*) :
15063    eval set x "$CONFIG_FILES" ;; #(
15064  *) :
15065    set x $CONFIG_FILES ;; #(
15066  *) :
15067     ;;
15068esac
15069  shift
15070  # Used to flag and report bootstrapping failures.
15071  am_rc=0
15072  for am_mf
15073  do
15074    # Strip MF so we end up with the name of the file.
15075    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
15076    # Check whether this is an Automake generated Makefile which includes
15077    # dependency-tracking related rules and includes.
15078    # Grep'ing the whole file directly is not great: AIX grep has a line
15079    # limit of 2048, but all sed's we know have understand at least 4000.
15080    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
15081      || continue
15082    am_dirpart=`$as_dirname -- "$am_mf" ||
15083$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15084	 X"$am_mf" : 'X\(//\)[^/]' \| \
15085	 X"$am_mf" : 'X\(//\)$' \| \
15086	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15087$as_echo X"$am_mf" |
15088    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15089	    s//\1/
15090	    q
15091	  }
15092	  /^X\(\/\/\)[^/].*/{
15093	    s//\1/
15094	    q
15095	  }
15096	  /^X\(\/\/\)$/{
15097	    s//\1/
15098	    q
15099	  }
15100	  /^X\(\/\).*/{
15101	    s//\1/
15102	    q
15103	  }
15104	  s/.*/./; q'`
15105    am_filepart=`$as_basename -- "$am_mf" ||
15106$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
15107	 X"$am_mf" : 'X\(//\)$' \| \
15108	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15109$as_echo X/"$am_mf" |
15110    sed '/^.*\/\([^/][^/]*\)\/*$/{
15111	    s//\1/
15112	    q
15113	  }
15114	  /^X\/\(\/\/\)$/{
15115	    s//\1/
15116	    q
15117	  }
15118	  /^X\/\(\/\).*/{
15119	    s//\1/
15120	    q
15121	  }
15122	  s/.*/./; q'`
15123    { echo "$as_me:$LINENO: cd "$am_dirpart" \
15124      && sed -e '/# am--include-marker/d' "$am_filepart" \
15125        | $MAKE -f - am--depfiles" >&5
15126   (cd "$am_dirpart" \
15127      && sed -e '/# am--include-marker/d' "$am_filepart" \
15128        | $MAKE -f - am--depfiles) >&5 2>&5
15129   ac_status=$?
15130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131   (exit $ac_status); } || am_rc=$?
15132  done
15133  if test $am_rc -ne 0; then
15134    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15135$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15136as_fn_error $? "Something went wrong bootstrapping makefile fragments
15137    for automatic dependency tracking.  Try re-running configure with the
15138    '--disable-dependency-tracking' option to at least be able to build
15139    the package (albeit without support for automatic dependency tracking).
15140See \`config.log' for more details" "$LINENO" 5; }
15141  fi
15142  { am_dirpart=; unset am_dirpart;}
15143  { am_filepart=; unset am_filepart;}
15144  { am_mf=; unset am_mf;}
15145  { am_rc=; unset am_rc;}
15146  rm -f conftest-deps.mk
15147}
15148 ;;
15149    "libtool":C)
15150
15151    # See if we are running on zsh, and set the options that allow our
15152    # commands through without removal of \ escapes.
15153    if test -n "${ZSH_VERSION+set}"; then
15154      setopt NO_GLOB_SUBST
15155    fi
15156
15157    cfgfile=${ofile}T
15158    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15159    $RM "$cfgfile"
15160
15161    cat <<_LT_EOF >> "$cfgfile"
15162#! $SHELL
15163# Generated automatically by $as_me ($PACKAGE) $VERSION
15164# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15165# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15166
15167# Provide generalized library-building support services.
15168# Written by Gordon Matzigkeit, 1996
15169
15170# Copyright (C) 2014 Free Software Foundation, Inc.
15171# This is free software; see the source for copying conditions.  There is NO
15172# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15173
15174# GNU Libtool is free software; you can redistribute it and/or modify
15175# it under the terms of the GNU General Public License as published by
15176# the Free Software Foundation; either version 2 of of the License, or
15177# (at your option) any later version.
15178#
15179# As a special exception to the GNU General Public License, if you
15180# distribute this file as part of a program or library that is built
15181# using GNU Libtool, you may include this file under the  same
15182# distribution terms that you use for the rest of that program.
15183#
15184# GNU Libtool is distributed in the hope that it will be useful, but
15185# WITHOUT ANY WARRANTY; without even the implied warranty of
15186# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15187# GNU General Public License for more details.
15188#
15189# You should have received a copy of the GNU General Public License
15190# along with this program.  If not, see <http://www.gnu.org/licenses/>.
15191
15192
15193# The names of the tagged configurations supported by this script.
15194available_tags=''
15195
15196# Configured defaults for sys_lib_dlsearch_path munging.
15197: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15198
15199# ### BEGIN LIBTOOL CONFIG
15200
15201# Which release of libtool.m4 was used?
15202macro_version=$macro_version
15203macro_revision=$macro_revision
15204
15205# Whether or not to build shared libraries.
15206build_libtool_libs=$enable_shared
15207
15208# Whether or not to build static libraries.
15209build_old_libs=$enable_static
15210
15211# What type of objects to build.
15212pic_mode=$pic_mode
15213
15214# Whether or not to optimize for fast installation.
15215fast_install=$enable_fast_install
15216
15217# Shared archive member basename,for filename based shared library versioning on AIX.
15218shared_archive_member_spec=$shared_archive_member_spec
15219
15220# Shell to use when invoking shell scripts.
15221SHELL=$lt_SHELL
15222
15223# An echo program that protects backslashes.
15224ECHO=$lt_ECHO
15225
15226# The PATH separator for the build system.
15227PATH_SEPARATOR=$lt_PATH_SEPARATOR
15228
15229# The host system.
15230host_alias=$host_alias
15231host=$host
15232host_os=$host_os
15233
15234# The build system.
15235build_alias=$build_alias
15236build=$build
15237build_os=$build_os
15238
15239# A sed program that does not truncate output.
15240SED=$lt_SED
15241
15242# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15243Xsed="\$SED -e 1s/^X//"
15244
15245# A grep program that handles long lines.
15246GREP=$lt_GREP
15247
15248# An ERE matcher.
15249EGREP=$lt_EGREP
15250
15251# A literal string matcher.
15252FGREP=$lt_FGREP
15253
15254# A BSD- or MS-compatible name lister.
15255NM=$lt_NM
15256
15257# Whether we need soft or hard links.
15258LN_S=$lt_LN_S
15259
15260# What is the maximum length of a command?
15261max_cmd_len=$max_cmd_len
15262
15263# Object file suffix (normally "o").
15264objext=$ac_objext
15265
15266# Executable file suffix (normally "").
15267exeext=$exeext
15268
15269# whether the shell understands "unset".
15270lt_unset=$lt_unset
15271
15272# turn spaces into newlines.
15273SP2NL=$lt_lt_SP2NL
15274
15275# turn newlines into spaces.
15276NL2SP=$lt_lt_NL2SP
15277
15278# convert \$build file names to \$host format.
15279to_host_file_cmd=$lt_cv_to_host_file_cmd
15280
15281# convert \$build files to toolchain format.
15282to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15283
15284# An object symbol dumper.
15285OBJDUMP=$lt_OBJDUMP
15286
15287# Method to check whether dependent libraries are shared objects.
15288deplibs_check_method=$lt_deplibs_check_method
15289
15290# Command to use when deplibs_check_method = "file_magic".
15291file_magic_cmd=$lt_file_magic_cmd
15292
15293# How to find potential files when deplibs_check_method = "file_magic".
15294file_magic_glob=$lt_file_magic_glob
15295
15296# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15297want_nocaseglob=$lt_want_nocaseglob
15298
15299# DLL creation program.
15300DLLTOOL=$lt_DLLTOOL
15301
15302# Command to associate shared and link libraries.
15303sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15304
15305# The archiver.
15306AR=$lt_AR
15307
15308# Flags to create an archive.
15309AR_FLAGS=$lt_AR_FLAGS
15310
15311# How to feed a file listing to the archiver.
15312archiver_list_spec=$lt_archiver_list_spec
15313
15314# A symbol stripping program.
15315STRIP=$lt_STRIP
15316
15317# Commands used to install an old-style archive.
15318RANLIB=$lt_RANLIB
15319old_postinstall_cmds=$lt_old_postinstall_cmds
15320old_postuninstall_cmds=$lt_old_postuninstall_cmds
15321
15322# Whether to use a lock for old archive extraction.
15323lock_old_archive_extraction=$lock_old_archive_extraction
15324
15325# A C compiler.
15326LTCC=$lt_CC
15327
15328# LTCC compiler flags.
15329LTCFLAGS=$lt_CFLAGS
15330
15331# Take the output of nm and produce a listing of raw symbols and C names.
15332global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15333
15334# Transform the output of nm in a proper C declaration.
15335global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15336
15337# Transform the output of nm into a list of symbols to manually relocate.
15338global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15339
15340# Transform the output of nm in a C name address pair.
15341global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15342
15343# Transform the output of nm in a C name address pair when lib prefix is needed.
15344global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15345
15346# The name lister interface.
15347nm_interface=$lt_lt_cv_nm_interface
15348
15349# Specify filename containing input files for \$NM.
15350nm_file_list_spec=$lt_nm_file_list_spec
15351
15352# The root where to search for dependent libraries,and where our libraries should be installed.
15353lt_sysroot=$lt_sysroot
15354
15355# Command to truncate a binary pipe.
15356lt_truncate_bin=$lt_lt_cv_truncate_bin
15357
15358# The name of the directory that contains temporary libtool files.
15359objdir=$objdir
15360
15361# Used to examine libraries when file_magic_cmd begins with "file".
15362MAGIC_CMD=$MAGIC_CMD
15363
15364# Must we lock files when doing compilation?
15365need_locks=$lt_need_locks
15366
15367# Manifest tool.
15368MANIFEST_TOOL=$lt_MANIFEST_TOOL
15369
15370# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15371DSYMUTIL=$lt_DSYMUTIL
15372
15373# Tool to change global to local symbols on Mac OS X.
15374NMEDIT=$lt_NMEDIT
15375
15376# Tool to manipulate fat objects and archives on Mac OS X.
15377LIPO=$lt_LIPO
15378
15379# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15380OTOOL=$lt_OTOOL
15381
15382# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15383OTOOL64=$lt_OTOOL64
15384
15385# Old archive suffix (normally "a").
15386libext=$libext
15387
15388# Shared library suffix (normally ".so").
15389shrext_cmds=$lt_shrext_cmds
15390
15391# The commands to extract the exported symbol list from a shared archive.
15392extract_expsyms_cmds=$lt_extract_expsyms_cmds
15393
15394# Variables whose values should be saved in libtool wrapper scripts and
15395# restored at link time.
15396variables_saved_for_relink=$lt_variables_saved_for_relink
15397
15398# Do we need the "lib" prefix for modules?
15399need_lib_prefix=$need_lib_prefix
15400
15401# Do we need a version for libraries?
15402need_version=$need_version
15403
15404# Library versioning type.
15405version_type=$version_type
15406
15407# Shared library runtime path variable.
15408runpath_var=$runpath_var
15409
15410# Shared library path variable.
15411shlibpath_var=$shlibpath_var
15412
15413# Is shlibpath searched before the hard-coded library search path?
15414shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15415
15416# Format of library name prefix.
15417libname_spec=$lt_libname_spec
15418
15419# List of archive names.  First name is the real one, the rest are links.
15420# The last name is the one that the linker finds with -lNAME
15421library_names_spec=$lt_library_names_spec
15422
15423# The coded name of the library, if different from the real name.
15424soname_spec=$lt_soname_spec
15425
15426# Permission mode override for installation of shared libraries.
15427install_override_mode=$lt_install_override_mode
15428
15429# Command to use after installation of a shared archive.
15430postinstall_cmds=$lt_postinstall_cmds
15431
15432# Command to use after uninstallation of a shared archive.
15433postuninstall_cmds=$lt_postuninstall_cmds
15434
15435# Commands used to finish a libtool library installation in a directory.
15436finish_cmds=$lt_finish_cmds
15437
15438# As "finish_cmds", except a single script fragment to be evaled but
15439# not shown.
15440finish_eval=$lt_finish_eval
15441
15442# Whether we should hardcode library paths into libraries.
15443hardcode_into_libs=$hardcode_into_libs
15444
15445# Compile-time system search path for libraries.
15446sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15447
15448# Detected run-time system search path for libraries.
15449sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15450
15451# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15452configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15453
15454# Whether dlopen is supported.
15455dlopen_support=$enable_dlopen
15456
15457# Whether dlopen of programs is supported.
15458dlopen_self=$enable_dlopen_self
15459
15460# Whether dlopen of statically linked programs is supported.
15461dlopen_self_static=$enable_dlopen_self_static
15462
15463# Commands to strip libraries.
15464old_striplib=$lt_old_striplib
15465striplib=$lt_striplib
15466
15467
15468# The linker used to build libraries.
15469LD=$lt_LD
15470
15471# How to create reloadable object files.
15472reload_flag=$lt_reload_flag
15473reload_cmds=$lt_reload_cmds
15474
15475# Commands used to build an old-style archive.
15476old_archive_cmds=$lt_old_archive_cmds
15477
15478# A language specific compiler.
15479CC=$lt_compiler
15480
15481# Is the compiler the GNU compiler?
15482with_gcc=$GCC
15483
15484# Compiler flag to turn off builtin functions.
15485no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15486
15487# Additional compiler flags for building library objects.
15488pic_flag=$lt_lt_prog_compiler_pic
15489
15490# How to pass a linker flag through the compiler.
15491wl=$lt_lt_prog_compiler_wl
15492
15493# Compiler flag to prevent dynamic linking.
15494link_static_flag=$lt_lt_prog_compiler_static
15495
15496# Does compiler simultaneously support -c and -o options?
15497compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15498
15499# Whether or not to add -lc for building shared libraries.
15500build_libtool_need_lc=$archive_cmds_need_lc
15501
15502# Whether or not to disallow shared libs when runtime libs are static.
15503allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15504
15505# Compiler flag to allow reflexive dlopens.
15506export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15507
15508# Compiler flag to generate shared objects directly from archives.
15509whole_archive_flag_spec=$lt_whole_archive_flag_spec
15510
15511# Whether the compiler copes with passing no objects directly.
15512compiler_needs_object=$lt_compiler_needs_object
15513
15514# Create an old-style archive from a shared archive.
15515old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15516
15517# Create a temporary old-style archive to link instead of a shared archive.
15518old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15519
15520# Commands used to build a shared archive.
15521archive_cmds=$lt_archive_cmds
15522archive_expsym_cmds=$lt_archive_expsym_cmds
15523
15524# Commands used to build a loadable module if different from building
15525# a shared archive.
15526module_cmds=$lt_module_cmds
15527module_expsym_cmds=$lt_module_expsym_cmds
15528
15529# Whether we are building with GNU ld or not.
15530with_gnu_ld=$lt_with_gnu_ld
15531
15532# Flag that allows shared libraries with undefined symbols to be built.
15533allow_undefined_flag=$lt_allow_undefined_flag
15534
15535# Flag that enforces no undefined symbols.
15536no_undefined_flag=$lt_no_undefined_flag
15537
15538# Flag to hardcode \$libdir into a binary during linking.
15539# This must work even if \$libdir does not exist
15540hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15541
15542# Whether we need a single "-rpath" flag with a separated argument.
15543hardcode_libdir_separator=$lt_hardcode_libdir_separator
15544
15545# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15546# DIR into the resulting binary.
15547hardcode_direct=$hardcode_direct
15548
15549# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15550# DIR into the resulting binary and the resulting library dependency is
15551# "absolute",i.e impossible to change by setting \$shlibpath_var if the
15552# library is relocated.
15553hardcode_direct_absolute=$hardcode_direct_absolute
15554
15555# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15556# into the resulting binary.
15557hardcode_minus_L=$hardcode_minus_L
15558
15559# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15560# into the resulting binary.
15561hardcode_shlibpath_var=$hardcode_shlibpath_var
15562
15563# Set to "yes" if building a shared library automatically hardcodes DIR
15564# into the library and all subsequent libraries and executables linked
15565# against it.
15566hardcode_automatic=$hardcode_automatic
15567
15568# Set to yes if linker adds runtime paths of dependent libraries
15569# to runtime path list.
15570inherit_rpath=$inherit_rpath
15571
15572# Whether libtool must link a program against all its dependency libraries.
15573link_all_deplibs=$link_all_deplibs
15574
15575# Set to "yes" if exported symbols are required.
15576always_export_symbols=$always_export_symbols
15577
15578# The commands to list exported symbols.
15579export_symbols_cmds=$lt_export_symbols_cmds
15580
15581# Symbols that should not be listed in the preloaded symbols.
15582exclude_expsyms=$lt_exclude_expsyms
15583
15584# Symbols that must always be exported.
15585include_expsyms=$lt_include_expsyms
15586
15587# Commands necessary for linking programs (against libraries) with templates.
15588prelink_cmds=$lt_prelink_cmds
15589
15590# Commands necessary for finishing linking programs.
15591postlink_cmds=$lt_postlink_cmds
15592
15593# Specify filename containing input files.
15594file_list_spec=$lt_file_list_spec
15595
15596# How to hardcode a shared library path into an executable.
15597hardcode_action=$hardcode_action
15598
15599# ### END LIBTOOL CONFIG
15600
15601_LT_EOF
15602
15603    cat <<'_LT_EOF' >> "$cfgfile"
15604
15605# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15606
15607# func_munge_path_list VARIABLE PATH
15608# -----------------------------------
15609# VARIABLE is name of variable containing _space_ separated list of
15610# directories to be munged by the contents of PATH, which is string
15611# having a format:
15612# "DIR[:DIR]:"
15613#       string "DIR[ DIR]" will be prepended to VARIABLE
15614# ":DIR[:DIR]"
15615#       string "DIR[ DIR]" will be appended to VARIABLE
15616# "DIRP[:DIRP]::[DIRA:]DIRA"
15617#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15618#       "DIRA[ DIRA]" will be appended to VARIABLE
15619# "DIR[:DIR]"
15620#       VARIABLE will be replaced by "DIR[ DIR]"
15621func_munge_path_list ()
15622{
15623    case x$2 in
15624    x)
15625        ;;
15626    *:)
15627        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15628        ;;
15629    x:*)
15630        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15631        ;;
15632    *::*)
15633        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15634        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15635        ;;
15636    *)
15637        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15638        ;;
15639    esac
15640}
15641
15642
15643# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
15644func_cc_basename ()
15645{
15646    for cc_temp in $*""; do
15647      case $cc_temp in
15648        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15649        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15650        \-*) ;;
15651        *) break;;
15652      esac
15653    done
15654    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15655}
15656
15657
15658# ### END FUNCTIONS SHARED WITH CONFIGURE
15659
15660_LT_EOF
15661
15662  case $host_os in
15663  aix3*)
15664    cat <<\_LT_EOF >> "$cfgfile"
15665# AIX sometimes has problems with the GCC collect2 program.  For some
15666# reason, if we set the COLLECT_NAMES environment variable, the problems
15667# vanish in a puff of smoke.
15668if test set != "${COLLECT_NAMES+set}"; then
15669  COLLECT_NAMES=
15670  export COLLECT_NAMES
15671fi
15672_LT_EOF
15673    ;;
15674  esac
15675
15676
15677ltmain=$ac_aux_dir/ltmain.sh
15678
15679
15680  # We use sed instead of cat because bash on DJGPP gets confused if
15681  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15682  # text mode, it properly converts lines to CR/LF.  This bash problem
15683  # is reportedly fixed, but why not run on old versions too?
15684  sed '$q' "$ltmain" >> "$cfgfile" \
15685     || (rm -f "$cfgfile"; exit 1)
15686
15687   mv -f "$cfgfile" "$ofile" ||
15688    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15689  chmod +x "$ofile"
15690
15691 ;;
15692    "default":C)
15693 ;;
15694
15695  esac
15696done # for ac_tag
15697
15698
15699as_fn_exit 0
15700_ACEOF
15701ac_clean_files=$ac_clean_files_save
15702
15703test $ac_write_fail = 0 ||
15704  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15705
15706
15707# configure is writing to config.log, and then calls config.status.
15708# config.status does its own redirection, appending to config.log.
15709# Unfortunately, on DOS this fails, as config.log is still kept open
15710# by configure, so config.status won't be able to write to it; its
15711# output is simply discarded.  So we exec the FD to /dev/null,
15712# effectively closing config.log, so it can be properly (re)opened and
15713# appended to by config.status.  When coming back to configure, we
15714# need to make the FD available again.
15715if test "$no_create" != yes; then
15716  ac_cs_success=:
15717  ac_config_status_args=
15718  test "$silent" = yes &&
15719    ac_config_status_args="$ac_config_status_args --quiet"
15720  exec 5>/dev/null
15721  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15722  exec 5>>config.log
15723  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15724  # would make configure fail if this is the last instruction.
15725  $ac_cs_success || as_fn_exit 1
15726fi
15727if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15728  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15729$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15730fi
15731
15732
15733#####################################################################
15734## Info
15735echo
15736echo
15737echo "------------------------------------------------------------------------"
15738echo "$PACKAGE $VERSION"
15739echo "------------------------------------------------------------------------"
15740echo
15741echo "Configuration Options Summary:"
15742echo
15743echo "Image loaders:"
15744echo "  ANI.....................: $ani"
15745echo "  EET.....................: $eet"
15746echo "  XCF.....................: $xcf"
15747echo
15748echo "Use visibility hiding.....: $enable_visibility_hiding"
15749echo
15750echo "Installation path.........: $prefix"
15751echo
15752