1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libgeotiff 1.7.0.
4#
5# Report bugs to <warmerdam@pobox.com>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: warmerdam@pobox.com about your system, including any
279$0: error possibly output before this message. Then install
280$0: a modern shell, or manually run the script under such a
281$0: shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='libgeotiff'
592PACKAGE_TARNAME='libgeotiff'
593PACKAGE_VERSION='1.7.0'
594PACKAGE_STRING='libgeotiff 1.7.0'
595PACKAGE_BUGREPORT='warmerdam@pobox.com'
596PACKAGE_URL=''
597
598# Factoring default headers for most tests.
599ac_includes_default="\
600#include <stdio.h>
601#ifdef HAVE_SYS_TYPES_H
602# include <sys/types.h>
603#endif
604#ifdef HAVE_SYS_STAT_H
605# include <sys/stat.h>
606#endif
607#ifdef STDC_HEADERS
608# include <stdlib.h>
609# include <stddef.h>
610#else
611# ifdef HAVE_STDLIB_H
612#  include <stdlib.h>
613# endif
614#endif
615#ifdef HAVE_STRING_H
616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617#  include <memory.h>
618# endif
619# include <string.h>
620#endif
621#ifdef HAVE_STRINGS_H
622# include <strings.h>
623#endif
624#ifdef HAVE_INTTYPES_H
625# include <inttypes.h>
626#endif
627#ifdef HAVE_STDINT_H
628# include <stdint.h>
629#endif
630#ifdef HAVE_UNISTD_H
631# include <unistd.h>
632#endif"
633
634ac_subst_vars='am__EXEEXT_FALSE
635am__EXEEXT_TRUE
636LTLIBOBJS
637LIBOBJS
638DOXYGEN_PAPER_SIZE
639DX_COND_latex_FALSE
640DX_COND_latex_TRUE
641DX_COND_pdf_FALSE
642DX_COND_pdf_TRUE
643DX_PDFLATEX
644DX_FLAG_pdf
645DX_COND_ps_FALSE
646DX_COND_ps_TRUE
647DX_EGREP
648DX_DVIPS
649DX_MAKEINDEX
650DX_LATEX
651DX_FLAG_ps
652DX_COND_html_FALSE
653DX_COND_html_TRUE
654DX_FLAG_html
655DX_COND_chi_FALSE
656DX_COND_chi_TRUE
657DX_FLAG_chi
658DX_COND_chm_FALSE
659DX_COND_chm_TRUE
660DX_HHC
661DX_FLAG_chm
662DX_COND_xml_FALSE
663DX_COND_xml_TRUE
664DX_FLAG_xml
665DX_COND_rtf_FALSE
666DX_COND_rtf_TRUE
667DX_FLAG_rtf
668DX_COND_man_FALSE
669DX_COND_man_TRUE
670DX_FLAG_man
671DX_COND_dot_FALSE
672DX_COND_dot_TRUE
673DX_DOT
674DX_FLAG_dot
675DX_COND_doc_FALSE
676DX_COND_doc_TRUE
677DX_PERL
678DX_FLAG_DX_CURRENT_FEATURE
679DX_DOXYGEN
680DX_FLAG_doc
681DX_ENV
682DX_DOCDIR
683DX_CONFIG
684DX_PROJECT
685NOUNDEFINED
686PROJ_INCLUDE
687PROJ_LIBS
688PROJ_CFLAGS
689TIFF_IS_CONFIG_FALSE
690TIFF_IS_CONFIG_TRUE
691TIFF_PREFIX
692TIFF_INC
693LIBTIFF_LIBS
694LIBTIFF_CFLAGS
695PKG_CONFIG_LIBDIR
696PKG_CONFIG_PATH
697PKG_CONFIG
698JPEG_IS_CONFIG_FALSE
699JPEG_IS_CONFIG_TRUE
700JPEG_PREFIX
701JPEG_INC
702ZIP_IS_CONFIG_FALSE
703ZIP_IS_CONFIG_TRUE
704ZIP_PREFIX
705ZIP_INC
706CPP
707LT_SYS_LIBRARY_PATH
708OTOOL64
709OTOOL
710LIPO
711NMEDIT
712DSYMUTIL
713MANIFEST_TOOL
714RANLIB
715ac_ct_AR
716AR
717DLLTOOL
718OBJDUMP
719NM
720ac_ct_DUMPBIN
721DUMPBIN
722LD
723FGREP
724EGREP
725GREP
726SED
727host_os
728host_vendor
729host_cpu
730host
731LIBTOOL
732LN_S
733am__fastdepCC_FALSE
734am__fastdepCC_TRUE
735CCDEPMODE
736am__nodep
737AMDEPBACKSLASH
738AMDEP_FALSE
739AMDEP_TRUE
740am__include
741DEPDIR
742OBJEXT
743EXEEXT
744ac_ct_CC
745CPPFLAGS
746LDFLAGS
747CFLAGS
748CC
749MAINT
750MAINTAINER_MODE_FALSE
751MAINTAINER_MODE_TRUE
752AM_BACKSLASH
753AM_DEFAULT_VERBOSITY
754AM_DEFAULT_V
755AM_V
756am__untar
757am__tar
758AMTAR
759am__leading_dot
760SET_MAKE
761AWK
762mkdir_p
763MKDIR_P
764INSTALL_STRIP_PROGRAM
765STRIP
766install_sh
767MAKEINFO
768AUTOHEADER
769AUTOMAKE
770AUTOCONF
771ACLOCAL
772VERSION
773PACKAGE
774CYGPATH_W
775am__isrc
776INSTALL_DATA
777INSTALL_SCRIPT
778INSTALL_PROGRAM
779RELEASE_VERSION
780build_os
781build_vendor
782build_cpu
783build
784target_alias
785host_alias
786build_alias
787LIBS
788ECHO_T
789ECHO_N
790ECHO_C
791DEFS
792mandir
793localedir
794libdir
795psdir
796pdfdir
797dvidir
798htmldir
799infodir
800docdir
801oldincludedir
802includedir
803runstatedir
804localstatedir
805sharedstatedir
806sysconfdir
807datadir
808datarootdir
809libexecdir
810sbindir
811bindir
812program_transform_name
813prefix
814exec_prefix
815PACKAGE_URL
816PACKAGE_BUGREPORT
817PACKAGE_STRING
818PACKAGE_VERSION
819PACKAGE_TARNAME
820PACKAGE_NAME
821PATH_SEPARATOR
822SHELL
823am__quote'
824ac_subst_files=''
825ac_user_opts='
826enable_option_checking
827enable_silent_rules
828enable_maintainer_mode
829enable_dependency_tracking
830enable_shared
831enable_static
832with_pic
833enable_fast_install
834with_aix_soname
835with_gnu_ld
836with_sysroot
837enable_libtool_lock
838enable_debug
839with_zip
840with_zlib
841with_libz
842with_jpeg
843with_libtiff
844with_proj
845enable_towgs84
846enable_doxygen_doc
847enable_doxygen_dot
848enable_doxygen_man
849enable_doxygen_rtf
850enable_doxygen_xml
851enable_doxygen_chm
852enable_doxygen_chi
853enable_doxygen_html
854enable_doxygen_ps
855enable_doxygen_pdf
856'
857      ac_precious_vars='build_alias
858host_alias
859target_alias
860CC
861CFLAGS
862LDFLAGS
863LIBS
864CPPFLAGS
865LT_SYS_LIBRARY_PATH
866CPP
867PKG_CONFIG
868PKG_CONFIG_PATH
869PKG_CONFIG_LIBDIR
870LIBTIFF_CFLAGS
871LIBTIFF_LIBS
872PROJ_CFLAGS
873PROJ_LIBS
874DOXYGEN_PAPER_SIZE'
875
876
877# Initialize some variables set by options.
878ac_init_help=
879ac_init_version=false
880ac_unrecognized_opts=
881ac_unrecognized_sep=
882# The variables have the same names as the options, with
883# dashes changed to underlines.
884cache_file=/dev/null
885exec_prefix=NONE
886no_create=
887no_recursion=
888prefix=NONE
889program_prefix=NONE
890program_suffix=NONE
891program_transform_name=s,x,x,
892silent=
893site=
894srcdir=
895verbose=
896x_includes=NONE
897x_libraries=NONE
898
899# Installation directory options.
900# These are left unexpanded so users can "make install exec_prefix=/foo"
901# and all the variables that are supposed to be based on exec_prefix
902# by default will actually change.
903# Use braces instead of parens because sh, perl, etc. also accept them.
904# (The list follows the same order as the GNU Coding Standards.)
905bindir='${exec_prefix}/bin'
906sbindir='${exec_prefix}/sbin'
907libexecdir='${exec_prefix}/libexec'
908datarootdir='${prefix}/share'
909datadir='${datarootdir}'
910sysconfdir='${prefix}/etc'
911sharedstatedir='${prefix}/com'
912localstatedir='${prefix}/var'
913runstatedir='${localstatedir}/run'
914includedir='${prefix}/include'
915oldincludedir='/usr/include'
916docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
917infodir='${datarootdir}/info'
918htmldir='${docdir}'
919dvidir='${docdir}'
920pdfdir='${docdir}'
921psdir='${docdir}'
922libdir='${exec_prefix}/lib'
923localedir='${datarootdir}/locale'
924mandir='${datarootdir}/man'
925
926ac_prev=
927ac_dashdash=
928for ac_option
929do
930  # If the previous option needs an argument, assign it.
931  if test -n "$ac_prev"; then
932    eval $ac_prev=\$ac_option
933    ac_prev=
934    continue
935  fi
936
937  case $ac_option in
938  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
939  *=)   ac_optarg= ;;
940  *)    ac_optarg=yes ;;
941  esac
942
943  # Accept the important Cygnus configure options, so we can diagnose typos.
944
945  case $ac_dashdash$ac_option in
946  --)
947    ac_dashdash=yes ;;
948
949  -bindir | --bindir | --bindi | --bind | --bin | --bi)
950    ac_prev=bindir ;;
951  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
952    bindir=$ac_optarg ;;
953
954  -build | --build | --buil | --bui | --bu)
955    ac_prev=build_alias ;;
956  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
957    build_alias=$ac_optarg ;;
958
959  -cache-file | --cache-file | --cache-fil | --cache-fi \
960  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
961    ac_prev=cache_file ;;
962  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
963  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
964    cache_file=$ac_optarg ;;
965
966  --config-cache | -C)
967    cache_file=config.cache ;;
968
969  -datadir | --datadir | --datadi | --datad)
970    ac_prev=datadir ;;
971  -datadir=* | --datadir=* | --datadi=* | --datad=*)
972    datadir=$ac_optarg ;;
973
974  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
975  | --dataroo | --dataro | --datar)
976    ac_prev=datarootdir ;;
977  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
978  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
979    datarootdir=$ac_optarg ;;
980
981  -disable-* | --disable-*)
982    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
983    # Reject names that are not valid shell variable names.
984    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
985      as_fn_error $? "invalid feature name: $ac_useropt"
986    ac_useropt_orig=$ac_useropt
987    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988    case $ac_user_opts in
989      *"
990"enable_$ac_useropt"
991"*) ;;
992      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
993	 ac_unrecognized_sep=', ';;
994    esac
995    eval enable_$ac_useropt=no ;;
996
997  -docdir | --docdir | --docdi | --doc | --do)
998    ac_prev=docdir ;;
999  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1000    docdir=$ac_optarg ;;
1001
1002  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1003    ac_prev=dvidir ;;
1004  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1005    dvidir=$ac_optarg ;;
1006
1007  -enable-* | --enable-*)
1008    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1009    # Reject names that are not valid shell variable names.
1010    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011      as_fn_error $? "invalid feature name: $ac_useropt"
1012    ac_useropt_orig=$ac_useropt
1013    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014    case $ac_user_opts in
1015      *"
1016"enable_$ac_useropt"
1017"*) ;;
1018      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1019	 ac_unrecognized_sep=', ';;
1020    esac
1021    eval enable_$ac_useropt=\$ac_optarg ;;
1022
1023  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1024  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1025  | --exec | --exe | --ex)
1026    ac_prev=exec_prefix ;;
1027  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1028  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1029  | --exec=* | --exe=* | --ex=*)
1030    exec_prefix=$ac_optarg ;;
1031
1032  -gas | --gas | --ga | --g)
1033    # Obsolete; use --with-gas.
1034    with_gas=yes ;;
1035
1036  -help | --help | --hel | --he | -h)
1037    ac_init_help=long ;;
1038  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1039    ac_init_help=recursive ;;
1040  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1041    ac_init_help=short ;;
1042
1043  -host | --host | --hos | --ho)
1044    ac_prev=host_alias ;;
1045  -host=* | --host=* | --hos=* | --ho=*)
1046    host_alias=$ac_optarg ;;
1047
1048  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1049    ac_prev=htmldir ;;
1050  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1051  | --ht=*)
1052    htmldir=$ac_optarg ;;
1053
1054  -includedir | --includedir | --includedi | --included | --include \
1055  | --includ | --inclu | --incl | --inc)
1056    ac_prev=includedir ;;
1057  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1058  | --includ=* | --inclu=* | --incl=* | --inc=*)
1059    includedir=$ac_optarg ;;
1060
1061  -infodir | --infodir | --infodi | --infod | --info | --inf)
1062    ac_prev=infodir ;;
1063  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1064    infodir=$ac_optarg ;;
1065
1066  -libdir | --libdir | --libdi | --libd)
1067    ac_prev=libdir ;;
1068  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1069    libdir=$ac_optarg ;;
1070
1071  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1072  | --libexe | --libex | --libe)
1073    ac_prev=libexecdir ;;
1074  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1075  | --libexe=* | --libex=* | --libe=*)
1076    libexecdir=$ac_optarg ;;
1077
1078  -localedir | --localedir | --localedi | --localed | --locale)
1079    ac_prev=localedir ;;
1080  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1081    localedir=$ac_optarg ;;
1082
1083  -localstatedir | --localstatedir | --localstatedi | --localstated \
1084  | --localstate | --localstat | --localsta | --localst | --locals)
1085    ac_prev=localstatedir ;;
1086  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1087  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1088    localstatedir=$ac_optarg ;;
1089
1090  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1091    ac_prev=mandir ;;
1092  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1093    mandir=$ac_optarg ;;
1094
1095  -nfp | --nfp | --nf)
1096    # Obsolete; use --without-fp.
1097    with_fp=no ;;
1098
1099  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1100  | --no-cr | --no-c | -n)
1101    no_create=yes ;;
1102
1103  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1104  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1105    no_recursion=yes ;;
1106
1107  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1108  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1109  | --oldin | --oldi | --old | --ol | --o)
1110    ac_prev=oldincludedir ;;
1111  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1112  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1113  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1114    oldincludedir=$ac_optarg ;;
1115
1116  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1117    ac_prev=prefix ;;
1118  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1119    prefix=$ac_optarg ;;
1120
1121  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1122  | --program-pre | --program-pr | --program-p)
1123    ac_prev=program_prefix ;;
1124  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1125  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1126    program_prefix=$ac_optarg ;;
1127
1128  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1129  | --program-suf | --program-su | --program-s)
1130    ac_prev=program_suffix ;;
1131  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1132  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1133    program_suffix=$ac_optarg ;;
1134
1135  -program-transform-name | --program-transform-name \
1136  | --program-transform-nam | --program-transform-na \
1137  | --program-transform-n | --program-transform- \
1138  | --program-transform | --program-transfor \
1139  | --program-transfo | --program-transf \
1140  | --program-trans | --program-tran \
1141  | --progr-tra | --program-tr | --program-t)
1142    ac_prev=program_transform_name ;;
1143  -program-transform-name=* | --program-transform-name=* \
1144  | --program-transform-nam=* | --program-transform-na=* \
1145  | --program-transform-n=* | --program-transform-=* \
1146  | --program-transform=* | --program-transfor=* \
1147  | --program-transfo=* | --program-transf=* \
1148  | --program-trans=* | --program-tran=* \
1149  | --progr-tra=* | --program-tr=* | --program-t=*)
1150    program_transform_name=$ac_optarg ;;
1151
1152  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1153    ac_prev=pdfdir ;;
1154  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1155    pdfdir=$ac_optarg ;;
1156
1157  -psdir | --psdir | --psdi | --psd | --ps)
1158    ac_prev=psdir ;;
1159  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1160    psdir=$ac_optarg ;;
1161
1162  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1163  | -silent | --silent | --silen | --sile | --sil)
1164    silent=yes ;;
1165
1166  -runstatedir | --runstatedir | --runstatedi | --runstated \
1167  | --runstate | --runstat | --runsta | --runst | --runs \
1168  | --run | --ru | --r)
1169    ac_prev=runstatedir ;;
1170  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1171  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1172  | --run=* | --ru=* | --r=*)
1173    runstatedir=$ac_optarg ;;
1174
1175  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176    ac_prev=sbindir ;;
1177  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178  | --sbi=* | --sb=*)
1179    sbindir=$ac_optarg ;;
1180
1181  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183  | --sharedst | --shareds | --shared | --share | --shar \
1184  | --sha | --sh)
1185    ac_prev=sharedstatedir ;;
1186  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189  | --sha=* | --sh=*)
1190    sharedstatedir=$ac_optarg ;;
1191
1192  -site | --site | --sit)
1193    ac_prev=site ;;
1194  -site=* | --site=* | --sit=*)
1195    site=$ac_optarg ;;
1196
1197  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198    ac_prev=srcdir ;;
1199  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200    srcdir=$ac_optarg ;;
1201
1202  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203  | --syscon | --sysco | --sysc | --sys | --sy)
1204    ac_prev=sysconfdir ;;
1205  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207    sysconfdir=$ac_optarg ;;
1208
1209  -target | --target | --targe | --targ | --tar | --ta | --t)
1210    ac_prev=target_alias ;;
1211  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212    target_alias=$ac_optarg ;;
1213
1214  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215    verbose=yes ;;
1216
1217  -version | --version | --versio | --versi | --vers | -V)
1218    ac_init_version=: ;;
1219
1220  -with-* | --with-*)
1221    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222    # Reject names that are not valid shell variable names.
1223    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224      as_fn_error $? "invalid package name: $ac_useropt"
1225    ac_useropt_orig=$ac_useropt
1226    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227    case $ac_user_opts in
1228      *"
1229"with_$ac_useropt"
1230"*) ;;
1231      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232	 ac_unrecognized_sep=', ';;
1233    esac
1234    eval with_$ac_useropt=\$ac_optarg ;;
1235
1236  -without-* | --without-*)
1237    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238    # Reject names that are not valid shell variable names.
1239    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240      as_fn_error $? "invalid package name: $ac_useropt"
1241    ac_useropt_orig=$ac_useropt
1242    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243    case $ac_user_opts in
1244      *"
1245"with_$ac_useropt"
1246"*) ;;
1247      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248	 ac_unrecognized_sep=', ';;
1249    esac
1250    eval with_$ac_useropt=no ;;
1251
1252  --x)
1253    # Obsolete; use --with-x.
1254    with_x=yes ;;
1255
1256  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257  | --x-incl | --x-inc | --x-in | --x-i)
1258    ac_prev=x_includes ;;
1259  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261    x_includes=$ac_optarg ;;
1262
1263  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265    ac_prev=x_libraries ;;
1266  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268    x_libraries=$ac_optarg ;;
1269
1270  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1271Try \`$0 --help' for more information"
1272    ;;
1273
1274  *=*)
1275    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276    # Reject names that are not valid shell variable names.
1277    case $ac_envvar in #(
1278      '' | [0-9]* | *[!_$as_cr_alnum]* )
1279      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1280    esac
1281    eval $ac_envvar=\$ac_optarg
1282    export $ac_envvar ;;
1283
1284  *)
1285    # FIXME: should be removed in autoconf 3.0.
1286    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1290    ;;
1291
1292  esac
1293done
1294
1295if test -n "$ac_prev"; then
1296  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297  as_fn_error $? "missing argument to $ac_option"
1298fi
1299
1300if test -n "$ac_unrecognized_opts"; then
1301  case $enable_option_checking in
1302    no) ;;
1303    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1304    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305  esac
1306fi
1307
1308# Check all directory arguments for consistency.
1309for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310		datadir sysconfdir sharedstatedir localstatedir includedir \
1311		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312		libdir localedir mandir runstatedir
1313do
1314  eval ac_val=\$$ac_var
1315  # Remove trailing slashes.
1316  case $ac_val in
1317    */ )
1318      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319      eval $ac_var=\$ac_val;;
1320  esac
1321  # Be sure to have absolute directory names.
1322  case $ac_val in
1323    [\\/$]* | ?:[\\/]* )  continue;;
1324    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325  esac
1326  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1327done
1328
1329# There might be people who depend on the old broken behavior: `$host'
1330# used to hold the argument of --host etc.
1331# FIXME: To remove some day.
1332build=$build_alias
1333host=$host_alias
1334target=$target_alias
1335
1336# FIXME: To remove some day.
1337if test "x$host_alias" != x; then
1338  if test "x$build_alias" = x; then
1339    cross_compiling=maybe
1340  elif test "x$build_alias" != "x$host_alias"; then
1341    cross_compiling=yes
1342  fi
1343fi
1344
1345ac_tool_prefix=
1346test -n "$host_alias" && ac_tool_prefix=$host_alias-
1347
1348test "$silent" = yes && exec 6>/dev/null
1349
1350
1351ac_pwd=`pwd` && test -n "$ac_pwd" &&
1352ac_ls_di=`ls -di .` &&
1353ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1354  as_fn_error $? "working directory cannot be determined"
1355test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356  as_fn_error $? "pwd does not report name of working directory"
1357
1358
1359# Find the source files, if location was not specified.
1360if test -z "$srcdir"; then
1361  ac_srcdir_defaulted=yes
1362  # Try the directory containing this script, then the parent directory.
1363  ac_confdir=`$as_dirname -- "$as_myself" ||
1364$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365	 X"$as_myself" : 'X\(//\)[^/]' \| \
1366	 X"$as_myself" : 'X\(//\)$' \| \
1367	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368$as_echo X"$as_myself" |
1369    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1370	    s//\1/
1371	    q
1372	  }
1373	  /^X\(\/\/\)[^/].*/{
1374	    s//\1/
1375	    q
1376	  }
1377	  /^X\(\/\/\)$/{
1378	    s//\1/
1379	    q
1380	  }
1381	  /^X\(\/\).*/{
1382	    s//\1/
1383	    q
1384	  }
1385	  s/.*/./; q'`
1386  srcdir=$ac_confdir
1387  if test ! -r "$srcdir/$ac_unique_file"; then
1388    srcdir=..
1389  fi
1390else
1391  ac_srcdir_defaulted=no
1392fi
1393if test ! -r "$srcdir/$ac_unique_file"; then
1394  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1395  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1396fi
1397ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1398ac_abs_confdir=`(
1399	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1400	pwd)`
1401# When building in place, set srcdir=.
1402if test "$ac_abs_confdir" = "$ac_pwd"; then
1403  srcdir=.
1404fi
1405# Remove unnecessary trailing slashes from srcdir.
1406# Double slashes in file names in object file debugging info
1407# mess up M-x gdb in Emacs.
1408case $srcdir in
1409*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1410esac
1411for ac_var in $ac_precious_vars; do
1412  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1413  eval ac_env_${ac_var}_value=\$${ac_var}
1414  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1415  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1416done
1417
1418#
1419# Report the --help message.
1420#
1421if test "$ac_init_help" = "long"; then
1422  # Omit some internal or obsolete options to make the list less imposing.
1423  # This message is too long to be a string in the A/UX 3.1 sh.
1424  cat <<_ACEOF
1425\`configure' configures libgeotiff 1.7.0 to adapt to many kinds of systems.
1426
1427Usage: $0 [OPTION]... [VAR=VALUE]...
1428
1429To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430VAR=VALUE.  See below for descriptions of some of the useful variables.
1431
1432Defaults for the options are specified in brackets.
1433
1434Configuration:
1435  -h, --help              display this help and exit
1436      --help=short        display options specific to this package
1437      --help=recursive    display the short help of all the included packages
1438  -V, --version           display version information and exit
1439  -q, --quiet, --silent   do not print \`checking ...' messages
1440      --cache-file=FILE   cache test results in FILE [disabled]
1441  -C, --config-cache      alias for \`--cache-file=config.cache'
1442  -n, --no-create         do not create output files
1443      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1444
1445Installation directories:
1446  --prefix=PREFIX         install architecture-independent files in PREFIX
1447                          [$ac_default_prefix]
1448  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1449                          [PREFIX]
1450
1451By default, \`make install' will install all the files in
1452\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1453an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454for instance \`--prefix=\$HOME'.
1455
1456For better control, use the options below.
1457
1458Fine tuning of the installation directories:
1459  --bindir=DIR            user executables [EPREFIX/bin]
1460  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1461  --libexecdir=DIR        program executables [EPREFIX/libexec]
1462  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1463  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1464  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1465  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1466  --libdir=DIR            object code libraries [EPREFIX/lib]
1467  --includedir=DIR        C header files [PREFIX/include]
1468  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1469  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1470  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1471  --infodir=DIR           info documentation [DATAROOTDIR/info]
1472  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1473  --mandir=DIR            man documentation [DATAROOTDIR/man]
1474  --docdir=DIR            documentation root [DATAROOTDIR/doc/libgeotiff]
1475  --htmldir=DIR           html documentation [DOCDIR]
1476  --dvidir=DIR            dvi documentation [DOCDIR]
1477  --pdfdir=DIR            pdf documentation [DOCDIR]
1478  --psdir=DIR             ps documentation [DOCDIR]
1479_ACEOF
1480
1481  cat <<\_ACEOF
1482
1483Program names:
1484  --program-prefix=PREFIX            prepend PREFIX to installed program names
1485  --program-suffix=SUFFIX            append SUFFIX to installed program names
1486  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1487
1488System types:
1489  --build=BUILD     configure for building on BUILD [guessed]
1490  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1491_ACEOF
1492fi
1493
1494if test -n "$ac_init_help"; then
1495  case $ac_init_help in
1496     short | recursive ) echo "Configuration of libgeotiff 1.7.0:";;
1497   esac
1498  cat <<\_ACEOF
1499
1500Optional Features:
1501  --disable-option-checking  ignore unrecognized --enable/--with options
1502  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1503  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1504  --enable-silent-rules   less verbose build output (undo: "make V=1")
1505  --disable-silent-rules  verbose build output (undo: "make V=0")
1506  --enable-maintainer-mode
1507                          enable make rules and dependencies not useful (and
1508                          sometimes confusing) to the casual installer
1509  --enable-dependency-tracking
1510                          do not reject slow dependency extractors
1511  --disable-dependency-tracking
1512                          speeds up one-time build
1513  --enable-shared[=PKGS]  build shared libraries [default=yes]
1514  --enable-static[=PKGS]  build static libraries [default=yes]
1515  --enable-fast-install[=PKGS]
1516                          optimize for fast installation [default=yes]
1517  --disable-libtool-lock  avoid locking (might break parallel builds)
1518  --enable-debug=ARG      Enable debug compilation mode [yes|no],
1519                          default=no
1520  --disable-towgs84       Disable WGS84 parameters for binary compatibility with pre-1.4.1
1521  --disable-doxygen-doc   don't generate any doxygen documentation
1522  --disable-doxygen-dot   don't generate graphics for doxygen documentation
1523  --disable-doxygen-man   don't generate doxygen manual pages
1524  --enable-doxygen-rtf    generate doxygen RTF documentation
1525  --enable-doxygen-xml    generate doxygen XML documentation
1526  --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1527  --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
1528                          file
1529  --disable-doxygen-html  don't generate doxygen plain HTML documentation
1530  --enable-doxygen-ps     generate doxygen PostScript documentation
1531  --enable-doxygen-pdf    generate doxygen PDF documentation
1532
1533Optional Packages:
1534  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1535  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1536  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1537                          both]
1538  --with-aix-soname=aix|svr4|both
1539                          shared library versioning (aka "SONAME") variant to
1540                          provide on AIX, [default=aix].
1541  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1542  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1543                          compiler's sysroot if not specified).
1544  --with-zip=ARG          zlib library to use (yes or path)
1545  --with-zlib=ARG         alias for --with-zip
1546  --with-libz=ARG         alias for --with-zip
1547  --with-jpeg=ARG         jpeg library to use (yes or path)
1548  --with-libtiff=dir      Use libtiff in directory dir
1549  --with-proj=ARG Compile with PROJ.x (ARG=yes or path)
1550
1551Some influential environment variables:
1552  CC          C compiler command
1553  CFLAGS      C compiler flags
1554  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1555              nonstandard directory <lib dir>
1556  LIBS        libraries to pass to the linker, e.g. -l<library>
1557  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1558              you have headers in a nonstandard directory <include dir>
1559  LT_SYS_LIBRARY_PATH
1560              User-defined run-time library search path.
1561  CPP         C preprocessor
1562  PKG_CONFIG  path to pkg-config utility
1563  PKG_CONFIG_PATH
1564              directories to add to pkg-config's search path
1565  PKG_CONFIG_LIBDIR
1566              path overriding pkg-config's built-in search path
1567  LIBTIFF_CFLAGS
1568              C compiler flags for LIBTIFF, overriding pkg-config
1569  LIBTIFF_LIBS
1570              linker flags for LIBTIFF, overriding pkg-config
1571  PROJ_CFLAGS C compiler flags for PROJ, overriding pkg-config
1572  PROJ_LIBS   linker flags for PROJ, overriding pkg-config
1573  DOXYGEN_PAPER_SIZE
1574              a4wide (default), a4, letter, legal or executive
1575
1576Use these variables to override the choices made by `configure' or to help
1577it to find libraries and programs with nonstandard names/locations.
1578
1579Report bugs to <warmerdam@pobox.com>.
1580_ACEOF
1581ac_status=$?
1582fi
1583
1584if test "$ac_init_help" = "recursive"; then
1585  # If there are subdirs, report their specific --help.
1586  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1587    test -d "$ac_dir" ||
1588      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1589      continue
1590    ac_builddir=.
1591
1592case "$ac_dir" in
1593.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1594*)
1595  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1596  # A ".." for each directory in $ac_dir_suffix.
1597  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1598  case $ac_top_builddir_sub in
1599  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1600  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1601  esac ;;
1602esac
1603ac_abs_top_builddir=$ac_pwd
1604ac_abs_builddir=$ac_pwd$ac_dir_suffix
1605# for backward compatibility:
1606ac_top_builddir=$ac_top_build_prefix
1607
1608case $srcdir in
1609  .)  # We are building in place.
1610    ac_srcdir=.
1611    ac_top_srcdir=$ac_top_builddir_sub
1612    ac_abs_top_srcdir=$ac_pwd ;;
1613  [\\/]* | ?:[\\/]* )  # Absolute name.
1614    ac_srcdir=$srcdir$ac_dir_suffix;
1615    ac_top_srcdir=$srcdir
1616    ac_abs_top_srcdir=$srcdir ;;
1617  *) # Relative name.
1618    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1619    ac_top_srcdir=$ac_top_build_prefix$srcdir
1620    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1621esac
1622ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1623
1624    cd "$ac_dir" || { ac_status=$?; continue; }
1625    # Check for guested configure.
1626    if test -f "$ac_srcdir/configure.gnu"; then
1627      echo &&
1628      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1629    elif test -f "$ac_srcdir/configure"; then
1630      echo &&
1631      $SHELL "$ac_srcdir/configure" --help=recursive
1632    else
1633      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1634    fi || ac_status=$?
1635    cd "$ac_pwd" || { ac_status=$?; break; }
1636  done
1637fi
1638
1639test -n "$ac_init_help" && exit $ac_status
1640if $ac_init_version; then
1641  cat <<\_ACEOF
1642libgeotiff configure 1.7.0
1643generated by GNU Autoconf 2.69
1644
1645Copyright (C) 2012 Free Software Foundation, Inc.
1646This configure script is free software; the Free Software Foundation
1647gives unlimited permission to copy, distribute and modify it.
1648_ACEOF
1649  exit
1650fi
1651
1652## ------------------------ ##
1653## Autoconf initialization. ##
1654## ------------------------ ##
1655
1656# ac_fn_c_try_compile LINENO
1657# --------------------------
1658# Try to compile conftest.$ac_ext, and return whether this succeeded.
1659ac_fn_c_try_compile ()
1660{
1661  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662  rm -f conftest.$ac_objext
1663  if { { ac_try="$ac_compile"
1664case "(($ac_try" in
1665  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1666  *) ac_try_echo=$ac_try;;
1667esac
1668eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669$as_echo "$ac_try_echo"; } >&5
1670  (eval "$ac_compile") 2>conftest.err
1671  ac_status=$?
1672  if test -s conftest.err; then
1673    grep -v '^ *+' conftest.err >conftest.er1
1674    cat conftest.er1 >&5
1675    mv -f conftest.er1 conftest.err
1676  fi
1677  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678  test $ac_status = 0; } && {
1679	 test -z "$ac_c_werror_flag" ||
1680	 test ! -s conftest.err
1681       } && test -s conftest.$ac_objext; then :
1682  ac_retval=0
1683else
1684  $as_echo "$as_me: failed program was:" >&5
1685sed 's/^/| /' conftest.$ac_ext >&5
1686
1687	ac_retval=1
1688fi
1689  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690  as_fn_set_status $ac_retval
1691
1692} # ac_fn_c_try_compile
1693
1694# ac_fn_c_try_link LINENO
1695# -----------------------
1696# Try to link conftest.$ac_ext, and return whether this succeeded.
1697ac_fn_c_try_link ()
1698{
1699  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700  rm -f conftest.$ac_objext conftest$ac_exeext
1701  if { { ac_try="$ac_link"
1702case "(($ac_try" in
1703  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704  *) ac_try_echo=$ac_try;;
1705esac
1706eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707$as_echo "$ac_try_echo"; } >&5
1708  (eval "$ac_link") 2>conftest.err
1709  ac_status=$?
1710  if test -s conftest.err; then
1711    grep -v '^ *+' conftest.err >conftest.er1
1712    cat conftest.er1 >&5
1713    mv -f conftest.er1 conftest.err
1714  fi
1715  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716  test $ac_status = 0; } && {
1717	 test -z "$ac_c_werror_flag" ||
1718	 test ! -s conftest.err
1719       } && test -s conftest$ac_exeext && {
1720	 test "$cross_compiling" = yes ||
1721	 test -x conftest$ac_exeext
1722       }; then :
1723  ac_retval=0
1724else
1725  $as_echo "$as_me: failed program was:" >&5
1726sed 's/^/| /' conftest.$ac_ext >&5
1727
1728	ac_retval=1
1729fi
1730  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1731  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1732  # interfere with the next link command; also delete a directory that is
1733  # left behind by Apple's compiler.  We do this before executing the actions.
1734  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1735  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736  as_fn_set_status $ac_retval
1737
1738} # ac_fn_c_try_link
1739
1740# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1741# -------------------------------------------------------
1742# Tests whether HEADER exists and can be compiled using the include files in
1743# INCLUDES, setting the cache variable VAR accordingly.
1744ac_fn_c_check_header_compile ()
1745{
1746  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748$as_echo_n "checking for $2... " >&6; }
1749if eval \${$3+:} false; then :
1750  $as_echo_n "(cached) " >&6
1751else
1752  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1753/* end confdefs.h.  */
1754$4
1755#include <$2>
1756_ACEOF
1757if ac_fn_c_try_compile "$LINENO"; then :
1758  eval "$3=yes"
1759else
1760  eval "$3=no"
1761fi
1762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1763fi
1764eval ac_res=\$$3
1765	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1766$as_echo "$ac_res" >&6; }
1767  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768
1769} # ac_fn_c_check_header_compile
1770
1771# ac_fn_c_try_cpp LINENO
1772# ----------------------
1773# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1774ac_fn_c_try_cpp ()
1775{
1776  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777  if { { ac_try="$ac_cpp conftest.$ac_ext"
1778case "(($ac_try" in
1779  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1780  *) ac_try_echo=$ac_try;;
1781esac
1782eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783$as_echo "$ac_try_echo"; } >&5
1784  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1785  ac_status=$?
1786  if test -s conftest.err; then
1787    grep -v '^ *+' conftest.err >conftest.er1
1788    cat conftest.er1 >&5
1789    mv -f conftest.er1 conftest.err
1790  fi
1791  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792  test $ac_status = 0; } > conftest.i && {
1793	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1794	 test ! -s conftest.err
1795       }; then :
1796  ac_retval=0
1797else
1798  $as_echo "$as_me: failed program was:" >&5
1799sed 's/^/| /' conftest.$ac_ext >&5
1800
1801    ac_retval=1
1802fi
1803  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804  as_fn_set_status $ac_retval
1805
1806} # ac_fn_c_try_cpp
1807
1808# ac_fn_c_try_run LINENO
1809# ----------------------
1810# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1811# that executables *can* be run.
1812ac_fn_c_try_run ()
1813{
1814  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815  if { { ac_try="$ac_link"
1816case "(($ac_try" in
1817  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818  *) ac_try_echo=$ac_try;;
1819esac
1820eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821$as_echo "$ac_try_echo"; } >&5
1822  (eval "$ac_link") 2>&5
1823  ac_status=$?
1824  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1826  { { case "(($ac_try" in
1827  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1828  *) ac_try_echo=$ac_try;;
1829esac
1830eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1831$as_echo "$ac_try_echo"; } >&5
1832  (eval "$ac_try") 2>&5
1833  ac_status=$?
1834  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835  test $ac_status = 0; }; }; then :
1836  ac_retval=0
1837else
1838  $as_echo "$as_me: program exited with status $ac_status" >&5
1839       $as_echo "$as_me: failed program was:" >&5
1840sed 's/^/| /' conftest.$ac_ext >&5
1841
1842       ac_retval=$ac_status
1843fi
1844  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846  as_fn_set_status $ac_retval
1847
1848} # ac_fn_c_try_run
1849
1850# ac_fn_c_check_func LINENO FUNC VAR
1851# ----------------------------------
1852# Tests whether FUNC exists, setting the cache variable VAR accordingly
1853ac_fn_c_check_func ()
1854{
1855  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857$as_echo_n "checking for $2... " >&6; }
1858if eval \${$3+:} false; then :
1859  $as_echo_n "(cached) " >&6
1860else
1861  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1862/* end confdefs.h.  */
1863/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1864   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1865#define $2 innocuous_$2
1866
1867/* System header to define __stub macros and hopefully few prototypes,
1868    which can conflict with char $2 (); below.
1869    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1870    <limits.h> exists even on freestanding compilers.  */
1871
1872#ifdef __STDC__
1873# include <limits.h>
1874#else
1875# include <assert.h>
1876#endif
1877
1878#undef $2
1879
1880/* Override any GCC internal prototype to avoid an error.
1881   Use char because int might match the return type of a GCC
1882   builtin and then its argument prototype would still apply.  */
1883#ifdef __cplusplus
1884extern "C"
1885#endif
1886char $2 ();
1887/* The GNU C library defines this for functions which it implements
1888    to always fail with ENOSYS.  Some functions are actually named
1889    something starting with __ and the normal name is an alias.  */
1890#if defined __stub_$2 || defined __stub___$2
1891choke me
1892#endif
1893
1894int
1895main ()
1896{
1897return $2 ();
1898  ;
1899  return 0;
1900}
1901_ACEOF
1902if ac_fn_c_try_link "$LINENO"; then :
1903  eval "$3=yes"
1904else
1905  eval "$3=no"
1906fi
1907rm -f core conftest.err conftest.$ac_objext \
1908    conftest$ac_exeext conftest.$ac_ext
1909fi
1910eval ac_res=\$$3
1911	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1912$as_echo "$ac_res" >&6; }
1913  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914
1915} # ac_fn_c_check_func
1916
1917# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1918# -------------------------------------------------------
1919# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1920# the include files in INCLUDES and setting the cache variable VAR
1921# accordingly.
1922ac_fn_c_check_header_mongrel ()
1923{
1924  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925  if eval \${$3+:} false; then :
1926  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1927$as_echo_n "checking for $2... " >&6; }
1928if eval \${$3+:} false; then :
1929  $as_echo_n "(cached) " >&6
1930fi
1931eval ac_res=\$$3
1932	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933$as_echo "$ac_res" >&6; }
1934else
1935  # Is the header compilable?
1936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1937$as_echo_n "checking $2 usability... " >&6; }
1938cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939/* end confdefs.h.  */
1940$4
1941#include <$2>
1942_ACEOF
1943if ac_fn_c_try_compile "$LINENO"; then :
1944  ac_header_compiler=yes
1945else
1946  ac_header_compiler=no
1947fi
1948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1950$as_echo "$ac_header_compiler" >&6; }
1951
1952# Is the header present?
1953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1954$as_echo_n "checking $2 presence... " >&6; }
1955cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1956/* end confdefs.h.  */
1957#include <$2>
1958_ACEOF
1959if ac_fn_c_try_cpp "$LINENO"; then :
1960  ac_header_preproc=yes
1961else
1962  ac_header_preproc=no
1963fi
1964rm -f conftest.err conftest.i conftest.$ac_ext
1965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1966$as_echo "$ac_header_preproc" >&6; }
1967
1968# So?  What about this header?
1969case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1970  yes:no: )
1971    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1972$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1973    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1974$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1975    ;;
1976  no:yes:* )
1977    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1978$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1979    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1980$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1981    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1982$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1983    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1984$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1985    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1986$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1987( $as_echo "## ---------------------------------- ##
1988## Report this to warmerdam@pobox.com ##
1989## ---------------------------------- ##"
1990     ) | sed "s/^/$as_me: WARNING:     /" >&2
1991    ;;
1992esac
1993  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1994$as_echo_n "checking for $2... " >&6; }
1995if eval \${$3+:} false; then :
1996  $as_echo_n "(cached) " >&6
1997else
1998  eval "$3=\$ac_header_compiler"
1999fi
2000eval ac_res=\$$3
2001	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002$as_echo "$ac_res" >&6; }
2003fi
2004  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2005
2006} # ac_fn_c_check_header_mongrel
2007cat >config.log <<_ACEOF
2008This file contains any messages produced by compilers while
2009running configure, to aid debugging if configure makes a mistake.
2010
2011It was created by libgeotiff $as_me 1.7.0, which was
2012generated by GNU Autoconf 2.69.  Invocation command line was
2013
2014  $ $0 $@
2015
2016_ACEOF
2017exec 5>>config.log
2018{
2019cat <<_ASUNAME
2020## --------- ##
2021## Platform. ##
2022## --------- ##
2023
2024hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2025uname -m = `(uname -m) 2>/dev/null || echo unknown`
2026uname -r = `(uname -r) 2>/dev/null || echo unknown`
2027uname -s = `(uname -s) 2>/dev/null || echo unknown`
2028uname -v = `(uname -v) 2>/dev/null || echo unknown`
2029
2030/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2031/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2032
2033/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2034/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2035/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2036/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2037/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2038/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2039/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2040
2041_ASUNAME
2042
2043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2044for as_dir in $PATH
2045do
2046  IFS=$as_save_IFS
2047  test -z "$as_dir" && as_dir=.
2048    $as_echo "PATH: $as_dir"
2049  done
2050IFS=$as_save_IFS
2051
2052} >&5
2053
2054cat >&5 <<_ACEOF
2055
2056
2057## ----------- ##
2058## Core tests. ##
2059## ----------- ##
2060
2061_ACEOF
2062
2063
2064# Keep a trace of the command line.
2065# Strip out --no-create and --no-recursion so they do not pile up.
2066# Strip out --silent because we don't want to record it for future runs.
2067# Also quote any args containing shell meta-characters.
2068# Make two passes to allow for proper duplicate-argument suppression.
2069ac_configure_args=
2070ac_configure_args0=
2071ac_configure_args1=
2072ac_must_keep_next=false
2073for ac_pass in 1 2
2074do
2075  for ac_arg
2076  do
2077    case $ac_arg in
2078    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2079    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2080    | -silent | --silent | --silen | --sile | --sil)
2081      continue ;;
2082    *\'*)
2083      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2084    esac
2085    case $ac_pass in
2086    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2087    2)
2088      as_fn_append ac_configure_args1 " '$ac_arg'"
2089      if test $ac_must_keep_next = true; then
2090	ac_must_keep_next=false # Got value, back to normal.
2091      else
2092	case $ac_arg in
2093	  *=* | --config-cache | -C | -disable-* | --disable-* \
2094	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2095	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2096	  | -with-* | --with-* | -without-* | --without-* | --x)
2097	    case "$ac_configure_args0 " in
2098	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2099	    esac
2100	    ;;
2101	  -* ) ac_must_keep_next=true ;;
2102	esac
2103      fi
2104      as_fn_append ac_configure_args " '$ac_arg'"
2105      ;;
2106    esac
2107  done
2108done
2109{ ac_configure_args0=; unset ac_configure_args0;}
2110{ ac_configure_args1=; unset ac_configure_args1;}
2111
2112# When interrupted or exit'd, cleanup temporary files, and complete
2113# config.log.  We remove comments because anyway the quotes in there
2114# would cause problems or look ugly.
2115# WARNING: Use '\'' to represent an apostrophe within the trap.
2116# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2117trap 'exit_status=$?
2118  # Save into config.log some information that might help in debugging.
2119  {
2120    echo
2121
2122    $as_echo "## ---------------- ##
2123## Cache variables. ##
2124## ---------------- ##"
2125    echo
2126    # The following way of writing the cache mishandles newlines in values,
2127(
2128  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2129    eval ac_val=\$$ac_var
2130    case $ac_val in #(
2131    *${as_nl}*)
2132      case $ac_var in #(
2133      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2134$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2135      esac
2136      case $ac_var in #(
2137      _ | IFS | as_nl) ;; #(
2138      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2139      *) { eval $ac_var=; unset $ac_var;} ;;
2140      esac ;;
2141    esac
2142  done
2143  (set) 2>&1 |
2144    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2145    *${as_nl}ac_space=\ *)
2146      sed -n \
2147	"s/'\''/'\''\\\\'\'''\''/g;
2148	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2149      ;; #(
2150    *)
2151      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2152      ;;
2153    esac |
2154    sort
2155)
2156    echo
2157
2158    $as_echo "## ----------------- ##
2159## Output variables. ##
2160## ----------------- ##"
2161    echo
2162    for ac_var in $ac_subst_vars
2163    do
2164      eval ac_val=\$$ac_var
2165      case $ac_val in
2166      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2167      esac
2168      $as_echo "$ac_var='\''$ac_val'\''"
2169    done | sort
2170    echo
2171
2172    if test -n "$ac_subst_files"; then
2173      $as_echo "## ------------------- ##
2174## File substitutions. ##
2175## ------------------- ##"
2176      echo
2177      for ac_var in $ac_subst_files
2178      do
2179	eval ac_val=\$$ac_var
2180	case $ac_val in
2181	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2182	esac
2183	$as_echo "$ac_var='\''$ac_val'\''"
2184      done | sort
2185      echo
2186    fi
2187
2188    if test -s confdefs.h; then
2189      $as_echo "## ----------- ##
2190## confdefs.h. ##
2191## ----------- ##"
2192      echo
2193      cat confdefs.h
2194      echo
2195    fi
2196    test "$ac_signal" != 0 &&
2197      $as_echo "$as_me: caught signal $ac_signal"
2198    $as_echo "$as_me: exit $exit_status"
2199  } >&5
2200  rm -f core *.core core.conftest.* &&
2201    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2202    exit $exit_status
2203' 0
2204for ac_signal in 1 2 13 15; do
2205  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2206done
2207ac_signal=0
2208
2209# confdefs.h avoids OS command line length limits that DEFS can exceed.
2210rm -f -r conftest* confdefs.h
2211
2212$as_echo "/* confdefs.h */" > confdefs.h
2213
2214# Predefined preprocessor variables.
2215
2216cat >>confdefs.h <<_ACEOF
2217#define PACKAGE_NAME "$PACKAGE_NAME"
2218_ACEOF
2219
2220cat >>confdefs.h <<_ACEOF
2221#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2222_ACEOF
2223
2224cat >>confdefs.h <<_ACEOF
2225#define PACKAGE_VERSION "$PACKAGE_VERSION"
2226_ACEOF
2227
2228cat >>confdefs.h <<_ACEOF
2229#define PACKAGE_STRING "$PACKAGE_STRING"
2230_ACEOF
2231
2232cat >>confdefs.h <<_ACEOF
2233#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2234_ACEOF
2235
2236cat >>confdefs.h <<_ACEOF
2237#define PACKAGE_URL "$PACKAGE_URL"
2238_ACEOF
2239
2240
2241# Let the site file select an alternate cache file if it wants to.
2242# Prefer an explicitly selected file to automatically selected ones.
2243ac_site_file1=NONE
2244ac_site_file2=NONE
2245if test -n "$CONFIG_SITE"; then
2246  # We do not want a PATH search for config.site.
2247  case $CONFIG_SITE in #((
2248    -*)  ac_site_file1=./$CONFIG_SITE;;
2249    */*) ac_site_file1=$CONFIG_SITE;;
2250    *)   ac_site_file1=./$CONFIG_SITE;;
2251  esac
2252elif test "x$prefix" != xNONE; then
2253  ac_site_file1=$prefix/share/config.site
2254  ac_site_file2=$prefix/etc/config.site
2255else
2256  ac_site_file1=$ac_default_prefix/share/config.site
2257  ac_site_file2=$ac_default_prefix/etc/config.site
2258fi
2259for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2260do
2261  test "x$ac_site_file" = xNONE && continue
2262  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2263    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2264$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2265    sed 's/^/| /' "$ac_site_file" >&5
2266    . "$ac_site_file" \
2267      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2268$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2269as_fn_error $? "failed to load site script $ac_site_file
2270See \`config.log' for more details" "$LINENO" 5; }
2271  fi
2272done
2273
2274if test -r "$cache_file"; then
2275  # Some versions of bash will fail to source /dev/null (special files
2276  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2277  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2278    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2279$as_echo "$as_me: loading cache $cache_file" >&6;}
2280    case $cache_file in
2281      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2282      *)                      . "./$cache_file";;
2283    esac
2284  fi
2285else
2286  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2287$as_echo "$as_me: creating cache $cache_file" >&6;}
2288  >$cache_file
2289fi
2290
2291# Check that the precious variables saved in the cache have kept the same
2292# value.
2293ac_cache_corrupted=false
2294for ac_var in $ac_precious_vars; do
2295  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2296  eval ac_new_set=\$ac_env_${ac_var}_set
2297  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2298  eval ac_new_val=\$ac_env_${ac_var}_value
2299  case $ac_old_set,$ac_new_set in
2300    set,)
2301      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2302$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2303      ac_cache_corrupted=: ;;
2304    ,set)
2305      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2306$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2307      ac_cache_corrupted=: ;;
2308    ,);;
2309    *)
2310      if test "x$ac_old_val" != "x$ac_new_val"; then
2311	# differences in whitespace do not lead to failure.
2312	ac_old_val_w=`echo x $ac_old_val`
2313	ac_new_val_w=`echo x $ac_new_val`
2314	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2315	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2316$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2317	  ac_cache_corrupted=:
2318	else
2319	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2320$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2321	  eval $ac_var=\$ac_old_val
2322	fi
2323	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2324$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2325	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2326$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2327      fi;;
2328  esac
2329  # Pass precious variables to config.status.
2330  if test "$ac_new_set" = set; then
2331    case $ac_new_val in
2332    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2333    *) ac_arg=$ac_var=$ac_new_val ;;
2334    esac
2335    case " $ac_configure_args " in
2336      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2337      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2338    esac
2339  fi
2340done
2341if $ac_cache_corrupted; then
2342  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2343$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2344  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2345$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2346  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2347fi
2348## -------------------- ##
2349## Main body of script. ##
2350## -------------------- ##
2351
2352ac_ext=c
2353ac_cpp='$CPP $CPPFLAGS'
2354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2356ac_compiler_gnu=$ac_cv_c_compiler_gnu
2357
2358
2359ac_aux_dir=
2360for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2361  if test -f "$ac_dir/install-sh"; then
2362    ac_aux_dir=$ac_dir
2363    ac_install_sh="$ac_aux_dir/install-sh -c"
2364    break
2365  elif test -f "$ac_dir/install.sh"; then
2366    ac_aux_dir=$ac_dir
2367    ac_install_sh="$ac_aux_dir/install.sh -c"
2368    break
2369  elif test -f "$ac_dir/shtool"; then
2370    ac_aux_dir=$ac_dir
2371    ac_install_sh="$ac_aux_dir/shtool install -c"
2372    break
2373  fi
2374done
2375if test -z "$ac_aux_dir"; then
2376  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2377fi
2378
2379# These three variables are undocumented and unsupported,
2380# and are intended to be withdrawn in a future Autoconf release.
2381# They can cause serious problems if a builder's source tree is in a directory
2382# whose full name contains unusual characters.
2383ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2384ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2385ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2386
2387
2388# Make sure we can run config.sub.
2389$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2390  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2391
2392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2393$as_echo_n "checking build system type... " >&6; }
2394if ${ac_cv_build+:} false; then :
2395  $as_echo_n "(cached) " >&6
2396else
2397  ac_build_alias=$build_alias
2398test "x$ac_build_alias" = x &&
2399  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2400test "x$ac_build_alias" = x &&
2401  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2402ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2403  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2404
2405fi
2406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2407$as_echo "$ac_cv_build" >&6; }
2408case $ac_cv_build in
2409*-*-*) ;;
2410*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2411esac
2412build=$ac_cv_build
2413ac_save_IFS=$IFS; IFS='-'
2414set x $ac_cv_build
2415shift
2416build_cpu=$1
2417build_vendor=$2
2418shift; shift
2419# Remember, the first character of IFS is used to create $*,
2420# except with old shells:
2421build_os=$*
2422IFS=$ac_save_IFS
2423case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2424
2425
2426
2427
2428
2429RELEASE_VERSION=1.7.0
2430
2431ac_config_headers="$ac_config_headers geo_config.h"
2432
2433
2434
2435am__api_version='1.16'
2436
2437# Find a good install program.  We prefer a C program (faster),
2438# so one script is as good as another.  But avoid the broken or
2439# incompatible versions:
2440# SysV /etc/install, /usr/sbin/install
2441# SunOS /usr/etc/install
2442# IRIX /sbin/install
2443# AIX /bin/install
2444# AmigaOS /C/install, which installs bootblocks on floppy discs
2445# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2446# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2447# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2448# OS/2's system install, which has a completely different semantic
2449# ./install, which can be erroneously created by make from ./install.sh.
2450# Reject install programs that cannot install multiple files.
2451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2452$as_echo_n "checking for a BSD-compatible install... " >&6; }
2453if test -z "$INSTALL"; then
2454if ${ac_cv_path_install+:} false; then :
2455  $as_echo_n "(cached) " >&6
2456else
2457  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458for as_dir in $PATH
2459do
2460  IFS=$as_save_IFS
2461  test -z "$as_dir" && as_dir=.
2462    # Account for people who put trailing slashes in PATH elements.
2463case $as_dir/ in #((
2464  ./ | .// | /[cC]/* | \
2465  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2466  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2467  /usr/ucb/* ) ;;
2468  *)
2469    # OSF1 and SCO ODT 3.0 have their own names for install.
2470    # Don't use installbsd from OSF since it installs stuff as root
2471    # by default.
2472    for ac_prog in ginstall scoinst install; do
2473      for ac_exec_ext in '' $ac_executable_extensions; do
2474	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2475	  if test $ac_prog = install &&
2476	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2477	    # AIX install.  It has an incompatible calling convention.
2478	    :
2479	  elif test $ac_prog = install &&
2480	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2481	    # program-specific install script used by HP pwplus--don't use.
2482	    :
2483	  else
2484	    rm -rf conftest.one conftest.two conftest.dir
2485	    echo one > conftest.one
2486	    echo two > conftest.two
2487	    mkdir conftest.dir
2488	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2489	      test -s conftest.one && test -s conftest.two &&
2490	      test -s conftest.dir/conftest.one &&
2491	      test -s conftest.dir/conftest.two
2492	    then
2493	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2494	      break 3
2495	    fi
2496	  fi
2497	fi
2498      done
2499    done
2500    ;;
2501esac
2502
2503  done
2504IFS=$as_save_IFS
2505
2506rm -rf conftest.one conftest.two conftest.dir
2507
2508fi
2509  if test "${ac_cv_path_install+set}" = set; then
2510    INSTALL=$ac_cv_path_install
2511  else
2512    # As a last resort, use the slow shell script.  Don't cache a
2513    # value for INSTALL within a source directory, because that will
2514    # break other packages using the cache if that directory is
2515    # removed, or if the value is a relative name.
2516    INSTALL=$ac_install_sh
2517  fi
2518fi
2519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2520$as_echo "$INSTALL" >&6; }
2521
2522# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2523# It thinks the first close brace ends the variable substitution.
2524test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2525
2526test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2527
2528test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2529
2530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2531$as_echo_n "checking whether build environment is sane... " >&6; }
2532# Reject unsafe characters in $srcdir or the absolute working directory
2533# name.  Accept space and tab only in the latter.
2534am_lf='
2535'
2536case `pwd` in
2537  *[\\\"\#\$\&\'\`$am_lf]*)
2538    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2539esac
2540case $srcdir in
2541  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2542    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2543esac
2544
2545# Do 'set' in a subshell so we don't clobber the current shell's
2546# arguments.  Must try -L first in case configure is actually a
2547# symlink; some systems play weird games with the mod time of symlinks
2548# (eg FreeBSD returns the mod time of the symlink's containing
2549# directory).
2550if (
2551   am_has_slept=no
2552   for am_try in 1 2; do
2553     echo "timestamp, slept: $am_has_slept" > conftest.file
2554     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2555     if test "$*" = "X"; then
2556	# -L didn't work.
2557	set X `ls -t "$srcdir/configure" conftest.file`
2558     fi
2559     if test "$*" != "X $srcdir/configure conftest.file" \
2560	&& test "$*" != "X conftest.file $srcdir/configure"; then
2561
2562	# If neither matched, then we have a broken ls.  This can happen
2563	# if, for instance, CONFIG_SHELL is bash and it inherits a
2564	# broken ls alias from the environment.  This has actually
2565	# happened.  Such a system could not be considered "sane".
2566	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2567  alias in your environment" "$LINENO" 5
2568     fi
2569     if test "$2" = conftest.file || test $am_try -eq 2; then
2570       break
2571     fi
2572     # Just in case.
2573     sleep 1
2574     am_has_slept=yes
2575   done
2576   test "$2" = conftest.file
2577   )
2578then
2579   # Ok.
2580   :
2581else
2582   as_fn_error $? "newly created file is older than distributed files!
2583Check your system clock" "$LINENO" 5
2584fi
2585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2586$as_echo "yes" >&6; }
2587# If we didn't sleep, we still need to ensure time stamps of config.status and
2588# generated files are strictly newer.
2589am_sleep_pid=
2590if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2591  ( sleep 1 ) &
2592  am_sleep_pid=$!
2593fi
2594
2595rm -f conftest.file
2596
2597test "$program_prefix" != NONE &&
2598  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2599# Use a double $ so make ignores it.
2600test "$program_suffix" != NONE &&
2601  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2602# Double any \ or $.
2603# By default was `s,x,x', remove it if useless.
2604ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2605program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2606
2607# Expand $ac_aux_dir to an absolute path.
2608am_aux_dir=`cd "$ac_aux_dir" && pwd`
2609
2610if test x"${MISSING+set}" != xset; then
2611  case $am_aux_dir in
2612  *\ * | *\	*)
2613    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2614  *)
2615    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2616  esac
2617fi
2618# Use eval to expand $SHELL
2619if eval "$MISSING --is-lightweight"; then
2620  am_missing_run="$MISSING "
2621else
2622  am_missing_run=
2623  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2624$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2625fi
2626
2627if test x"${install_sh+set}" != xset; then
2628  case $am_aux_dir in
2629  *\ * | *\	*)
2630    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2631  *)
2632    install_sh="\${SHELL} $am_aux_dir/install-sh"
2633  esac
2634fi
2635
2636# Installed binaries are usually stripped using 'strip' when the user
2637# run "make install-strip".  However 'strip' might not be the right
2638# tool to use in cross-compilation environments, therefore Automake
2639# will honor the 'STRIP' environment variable to overrule this program.
2640if test "$cross_compiling" != no; then
2641  if test -n "$ac_tool_prefix"; then
2642  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2643set dummy ${ac_tool_prefix}strip; ac_word=$2
2644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2645$as_echo_n "checking for $ac_word... " >&6; }
2646if ${ac_cv_prog_STRIP+:} false; then :
2647  $as_echo_n "(cached) " >&6
2648else
2649  if test -n "$STRIP"; then
2650  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2651else
2652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653for as_dir in $PATH
2654do
2655  IFS=$as_save_IFS
2656  test -z "$as_dir" && as_dir=.
2657    for ac_exec_ext in '' $ac_executable_extensions; do
2658  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2659    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2660    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2661    break 2
2662  fi
2663done
2664  done
2665IFS=$as_save_IFS
2666
2667fi
2668fi
2669STRIP=$ac_cv_prog_STRIP
2670if test -n "$STRIP"; then
2671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2672$as_echo "$STRIP" >&6; }
2673else
2674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675$as_echo "no" >&6; }
2676fi
2677
2678
2679fi
2680if test -z "$ac_cv_prog_STRIP"; then
2681  ac_ct_STRIP=$STRIP
2682  # Extract the first word of "strip", so it can be a program name with args.
2683set dummy strip; ac_word=$2
2684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685$as_echo_n "checking for $ac_word... " >&6; }
2686if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2687  $as_echo_n "(cached) " >&6
2688else
2689  if test -n "$ac_ct_STRIP"; then
2690  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2691else
2692as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693for as_dir in $PATH
2694do
2695  IFS=$as_save_IFS
2696  test -z "$as_dir" && as_dir=.
2697    for ac_exec_ext in '' $ac_executable_extensions; do
2698  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2699    ac_cv_prog_ac_ct_STRIP="strip"
2700    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701    break 2
2702  fi
2703done
2704  done
2705IFS=$as_save_IFS
2706
2707fi
2708fi
2709ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2710if test -n "$ac_ct_STRIP"; then
2711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2712$as_echo "$ac_ct_STRIP" >&6; }
2713else
2714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715$as_echo "no" >&6; }
2716fi
2717
2718  if test "x$ac_ct_STRIP" = x; then
2719    STRIP=":"
2720  else
2721    case $cross_compiling:$ac_tool_warned in
2722yes:)
2723{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2724$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2725ac_tool_warned=yes ;;
2726esac
2727    STRIP=$ac_ct_STRIP
2728  fi
2729else
2730  STRIP="$ac_cv_prog_STRIP"
2731fi
2732
2733fi
2734INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2735
2736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2737$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2738if test -z "$MKDIR_P"; then
2739  if ${ac_cv_path_mkdir+:} false; then :
2740  $as_echo_n "(cached) " >&6
2741else
2742  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2744do
2745  IFS=$as_save_IFS
2746  test -z "$as_dir" && as_dir=.
2747    for ac_prog in mkdir gmkdir; do
2748	 for ac_exec_ext in '' $ac_executable_extensions; do
2749	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2750	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2751	     'mkdir (GNU coreutils) '* | \
2752	     'mkdir (coreutils) '* | \
2753	     'mkdir (fileutils) '4.1*)
2754	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2755	       break 3;;
2756	   esac
2757	 done
2758       done
2759  done
2760IFS=$as_save_IFS
2761
2762fi
2763
2764  test -d ./--version && rmdir ./--version
2765  if test "${ac_cv_path_mkdir+set}" = set; then
2766    MKDIR_P="$ac_cv_path_mkdir -p"
2767  else
2768    # As a last resort, use the slow shell script.  Don't cache a
2769    # value for MKDIR_P within a source directory, because that will
2770    # break other packages using the cache if that directory is
2771    # removed, or if the value is a relative name.
2772    MKDIR_P="$ac_install_sh -d"
2773  fi
2774fi
2775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2776$as_echo "$MKDIR_P" >&6; }
2777
2778for ac_prog in gawk mawk nawk awk
2779do
2780  # Extract the first word of "$ac_prog", so it can be a program name with args.
2781set dummy $ac_prog; ac_word=$2
2782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783$as_echo_n "checking for $ac_word... " >&6; }
2784if ${ac_cv_prog_AWK+:} false; then :
2785  $as_echo_n "(cached) " >&6
2786else
2787  if test -n "$AWK"; then
2788  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2789else
2790as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791for as_dir in $PATH
2792do
2793  IFS=$as_save_IFS
2794  test -z "$as_dir" && as_dir=.
2795    for ac_exec_ext in '' $ac_executable_extensions; do
2796  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2797    ac_cv_prog_AWK="$ac_prog"
2798    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2799    break 2
2800  fi
2801done
2802  done
2803IFS=$as_save_IFS
2804
2805fi
2806fi
2807AWK=$ac_cv_prog_AWK
2808if test -n "$AWK"; then
2809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2810$as_echo "$AWK" >&6; }
2811else
2812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813$as_echo "no" >&6; }
2814fi
2815
2816
2817  test -n "$AWK" && break
2818done
2819
2820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2821$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2822set x ${MAKE-make}
2823ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2824if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2825  $as_echo_n "(cached) " >&6
2826else
2827  cat >conftest.make <<\_ACEOF
2828SHELL = /bin/sh
2829all:
2830	@echo '@@@%%%=$(MAKE)=@@@%%%'
2831_ACEOF
2832# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2833case `${MAKE-make} -f conftest.make 2>/dev/null` in
2834  *@@@%%%=?*=@@@%%%*)
2835    eval ac_cv_prog_make_${ac_make}_set=yes;;
2836  *)
2837    eval ac_cv_prog_make_${ac_make}_set=no;;
2838esac
2839rm -f conftest.make
2840fi
2841if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2843$as_echo "yes" >&6; }
2844  SET_MAKE=
2845else
2846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847$as_echo "no" >&6; }
2848  SET_MAKE="MAKE=${MAKE-make}"
2849fi
2850
2851rm -rf .tst 2>/dev/null
2852mkdir .tst 2>/dev/null
2853if test -d .tst; then
2854  am__leading_dot=.
2855else
2856  am__leading_dot=_
2857fi
2858rmdir .tst 2>/dev/null
2859
2860# Check whether --enable-silent-rules was given.
2861if test "${enable_silent_rules+set}" = set; then :
2862  enableval=$enable_silent_rules;
2863fi
2864
2865case $enable_silent_rules in # (((
2866  yes) AM_DEFAULT_VERBOSITY=0;;
2867   no) AM_DEFAULT_VERBOSITY=1;;
2868    *) AM_DEFAULT_VERBOSITY=1;;
2869esac
2870am_make=${MAKE-make}
2871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2872$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2873if ${am_cv_make_support_nested_variables+:} false; then :
2874  $as_echo_n "(cached) " >&6
2875else
2876  if $as_echo 'TRUE=$(BAR$(V))
2877BAR0=false
2878BAR1=true
2879V=1
2880am__doit:
2881	@$(TRUE)
2882.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2883  am_cv_make_support_nested_variables=yes
2884else
2885  am_cv_make_support_nested_variables=no
2886fi
2887fi
2888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2889$as_echo "$am_cv_make_support_nested_variables" >&6; }
2890if test $am_cv_make_support_nested_variables = yes; then
2891    AM_V='$(V)'
2892  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2893else
2894  AM_V=$AM_DEFAULT_VERBOSITY
2895  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2896fi
2897AM_BACKSLASH='\'
2898
2899if test "`cd $srcdir && pwd`" != "`pwd`"; then
2900  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2901  # is not polluted with repeated "-I."
2902  am__isrc=' -I$(srcdir)'
2903  # test to see if srcdir already configured
2904  if test -f $srcdir/config.status; then
2905    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2906  fi
2907fi
2908
2909# test whether we have cygpath
2910if test -z "$CYGPATH_W"; then
2911  if (cygpath --version) >/dev/null 2>/dev/null; then
2912    CYGPATH_W='cygpath -w'
2913  else
2914    CYGPATH_W=echo
2915  fi
2916fi
2917
2918
2919# Define the identity of the package.
2920 PACKAGE='libgeotiff'
2921 VERSION='1.7.0'
2922
2923
2924cat >>confdefs.h <<_ACEOF
2925#define PACKAGE "$PACKAGE"
2926_ACEOF
2927
2928
2929cat >>confdefs.h <<_ACEOF
2930#define VERSION "$VERSION"
2931_ACEOF
2932
2933# Some tools Automake needs.
2934
2935ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2936
2937
2938AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2939
2940
2941AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2942
2943
2944AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2945
2946
2947MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2948
2949# For better backward compatibility.  To be removed once Automake 1.9.x
2950# dies out for good.  For more background, see:
2951# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2952# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2953mkdir_p='$(MKDIR_P)'
2954
2955# We need awk for the "check" target (and possibly the TAP driver).  The
2956# system "awk" is bad on some platforms.
2957# Always define AMTAR for backward compatibility.  Yes, it's still used
2958# in the wild :-(  We should find a proper way to deprecate it ...
2959AMTAR='$${TAR-tar}'
2960
2961
2962# We'll loop over all known methods to create a tar archive until one works.
2963_am_tools='gnutar  pax cpio none'
2964
2965am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2966
2967
2968
2969
2970
2971
2972# POSIX will say in a future version that running "rm -f" with no argument
2973# is OK; and we want to be able to make that assumption in our Makefile
2974# recipes.  So use an aggressive probe to check that the usage we want is
2975# actually supported "in the wild" to an acceptable degree.
2976# See automake bug#10828.
2977# To make any issue more visible, cause the running configure to be aborted
2978# by default if the 'rm' program in use doesn't match our expectations; the
2979# user can still override this though.
2980if rm -f && rm -fr && rm -rf; then : OK; else
2981  cat >&2 <<'END'
2982Oops!
2983
2984Your 'rm' program seems unable to run without file operands specified
2985on the command line, even when the '-f' option is present.  This is contrary
2986to the behaviour of most rm programs out there, and not conforming with
2987the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2988
2989Please tell bug-automake@gnu.org about your system, including the value
2990of your $PATH and any error possibly output before this message.  This
2991can help us improve future automake versions.
2992
2993END
2994  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2995    echo 'Configuration will proceed anyway, since you have set the' >&2
2996    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2997    echo >&2
2998  else
2999    cat >&2 <<'END'
3000Aborting the configuration process, to ensure you take notice of the issue.
3001
3002You can download and install GNU coreutils to get an 'rm' implementation
3003that behaves properly: <https://www.gnu.org/software/coreutils/>.
3004
3005If you want to complete the configuration process using your problematic
3006'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3007to "yes", and re-run configure.
3008
3009END
3010    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3011  fi
3012fi
3013
3014
3015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3016$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3017    # Check whether --enable-maintainer-mode was given.
3018if test "${enable_maintainer_mode+set}" = set; then :
3019  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3020else
3021  USE_MAINTAINER_MODE=no
3022fi
3023
3024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3025$as_echo "$USE_MAINTAINER_MODE" >&6; }
3026   if test $USE_MAINTAINER_MODE = yes; then
3027  MAINTAINER_MODE_TRUE=
3028  MAINTAINER_MODE_FALSE='#'
3029else
3030  MAINTAINER_MODE_TRUE='#'
3031  MAINTAINER_MODE_FALSE=
3032fi
3033
3034  MAINT=$MAINTAINER_MODE_TRUE
3035
3036
3037ac_ext=c
3038ac_cpp='$CPP $CPPFLAGS'
3039ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3040ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3041ac_compiler_gnu=$ac_cv_c_compiler_gnu
3042if test -n "$ac_tool_prefix"; then
3043  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3044set dummy ${ac_tool_prefix}gcc; ac_word=$2
3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046$as_echo_n "checking for $ac_word... " >&6; }
3047if ${ac_cv_prog_CC+:} false; then :
3048  $as_echo_n "(cached) " >&6
3049else
3050  if test -n "$CC"; then
3051  ac_cv_prog_CC="$CC" # Let the user override the test.
3052else
3053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054for as_dir in $PATH
3055do
3056  IFS=$as_save_IFS
3057  test -z "$as_dir" && as_dir=.
3058    for ac_exec_ext in '' $ac_executable_extensions; do
3059  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3060    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3061    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062    break 2
3063  fi
3064done
3065  done
3066IFS=$as_save_IFS
3067
3068fi
3069fi
3070CC=$ac_cv_prog_CC
3071if test -n "$CC"; then
3072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3073$as_echo "$CC" >&6; }
3074else
3075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076$as_echo "no" >&6; }
3077fi
3078
3079
3080fi
3081if test -z "$ac_cv_prog_CC"; then
3082  ac_ct_CC=$CC
3083  # Extract the first word of "gcc", so it can be a program name with args.
3084set dummy gcc; ac_word=$2
3085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3086$as_echo_n "checking for $ac_word... " >&6; }
3087if ${ac_cv_prog_ac_ct_CC+:} false; then :
3088  $as_echo_n "(cached) " >&6
3089else
3090  if test -n "$ac_ct_CC"; then
3091  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3092else
3093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3094for as_dir in $PATH
3095do
3096  IFS=$as_save_IFS
3097  test -z "$as_dir" && as_dir=.
3098    for ac_exec_ext in '' $ac_executable_extensions; do
3099  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3100    ac_cv_prog_ac_ct_CC="gcc"
3101    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3102    break 2
3103  fi
3104done
3105  done
3106IFS=$as_save_IFS
3107
3108fi
3109fi
3110ac_ct_CC=$ac_cv_prog_ac_ct_CC
3111if test -n "$ac_ct_CC"; then
3112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3113$as_echo "$ac_ct_CC" >&6; }
3114else
3115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3116$as_echo "no" >&6; }
3117fi
3118
3119  if test "x$ac_ct_CC" = x; then
3120    CC=""
3121  else
3122    case $cross_compiling:$ac_tool_warned in
3123yes:)
3124{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3125$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3126ac_tool_warned=yes ;;
3127esac
3128    CC=$ac_ct_CC
3129  fi
3130else
3131  CC="$ac_cv_prog_CC"
3132fi
3133
3134if test -z "$CC"; then
3135          if test -n "$ac_tool_prefix"; then
3136    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3137set dummy ${ac_tool_prefix}cc; ac_word=$2
3138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3139$as_echo_n "checking for $ac_word... " >&6; }
3140if ${ac_cv_prog_CC+:} false; then :
3141  $as_echo_n "(cached) " >&6
3142else
3143  if test -n "$CC"; then
3144  ac_cv_prog_CC="$CC" # Let the user override the test.
3145else
3146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147for as_dir in $PATH
3148do
3149  IFS=$as_save_IFS
3150  test -z "$as_dir" && as_dir=.
3151    for ac_exec_ext in '' $ac_executable_extensions; do
3152  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3153    ac_cv_prog_CC="${ac_tool_prefix}cc"
3154    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3155    break 2
3156  fi
3157done
3158  done
3159IFS=$as_save_IFS
3160
3161fi
3162fi
3163CC=$ac_cv_prog_CC
3164if test -n "$CC"; then
3165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3166$as_echo "$CC" >&6; }
3167else
3168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169$as_echo "no" >&6; }
3170fi
3171
3172
3173  fi
3174fi
3175if test -z "$CC"; then
3176  # Extract the first word of "cc", so it can be a program name with args.
3177set dummy cc; ac_word=$2
3178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3179$as_echo_n "checking for $ac_word... " >&6; }
3180if ${ac_cv_prog_CC+:} false; then :
3181  $as_echo_n "(cached) " >&6
3182else
3183  if test -n "$CC"; then
3184  ac_cv_prog_CC="$CC" # Let the user override the test.
3185else
3186  ac_prog_rejected=no
3187as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188for as_dir in $PATH
3189do
3190  IFS=$as_save_IFS
3191  test -z "$as_dir" && as_dir=.
3192    for ac_exec_ext in '' $ac_executable_extensions; do
3193  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3194    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3195       ac_prog_rejected=yes
3196       continue
3197     fi
3198    ac_cv_prog_CC="cc"
3199    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200    break 2
3201  fi
3202done
3203  done
3204IFS=$as_save_IFS
3205
3206if test $ac_prog_rejected = yes; then
3207  # We found a bogon in the path, so make sure we never use it.
3208  set dummy $ac_cv_prog_CC
3209  shift
3210  if test $# != 0; then
3211    # We chose a different compiler from the bogus one.
3212    # However, it has the same basename, so the bogon will be chosen
3213    # first if we set CC to just the basename; use the full file name.
3214    shift
3215    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3216  fi
3217fi
3218fi
3219fi
3220CC=$ac_cv_prog_CC
3221if test -n "$CC"; then
3222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3223$as_echo "$CC" >&6; }
3224else
3225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226$as_echo "no" >&6; }
3227fi
3228
3229
3230fi
3231if test -z "$CC"; then
3232  if test -n "$ac_tool_prefix"; then
3233  for ac_prog in cl.exe
3234  do
3235    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3236set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3238$as_echo_n "checking for $ac_word... " >&6; }
3239if ${ac_cv_prog_CC+:} false; then :
3240  $as_echo_n "(cached) " >&6
3241else
3242  if test -n "$CC"; then
3243  ac_cv_prog_CC="$CC" # Let the user override the test.
3244else
3245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246for as_dir in $PATH
3247do
3248  IFS=$as_save_IFS
3249  test -z "$as_dir" && as_dir=.
3250    for ac_exec_ext in '' $ac_executable_extensions; do
3251  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3252    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3253    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254    break 2
3255  fi
3256done
3257  done
3258IFS=$as_save_IFS
3259
3260fi
3261fi
3262CC=$ac_cv_prog_CC
3263if test -n "$CC"; then
3264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3265$as_echo "$CC" >&6; }
3266else
3267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3268$as_echo "no" >&6; }
3269fi
3270
3271
3272    test -n "$CC" && break
3273  done
3274fi
3275if test -z "$CC"; then
3276  ac_ct_CC=$CC
3277  for ac_prog in cl.exe
3278do
3279  # Extract the first word of "$ac_prog", so it can be a program name with args.
3280set dummy $ac_prog; ac_word=$2
3281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3282$as_echo_n "checking for $ac_word... " >&6; }
3283if ${ac_cv_prog_ac_ct_CC+:} false; then :
3284  $as_echo_n "(cached) " >&6
3285else
3286  if test -n "$ac_ct_CC"; then
3287  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3288else
3289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290for as_dir in $PATH
3291do
3292  IFS=$as_save_IFS
3293  test -z "$as_dir" && as_dir=.
3294    for ac_exec_ext in '' $ac_executable_extensions; do
3295  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3296    ac_cv_prog_ac_ct_CC="$ac_prog"
3297    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3298    break 2
3299  fi
3300done
3301  done
3302IFS=$as_save_IFS
3303
3304fi
3305fi
3306ac_ct_CC=$ac_cv_prog_ac_ct_CC
3307if test -n "$ac_ct_CC"; then
3308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3309$as_echo "$ac_ct_CC" >&6; }
3310else
3311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3312$as_echo "no" >&6; }
3313fi
3314
3315
3316  test -n "$ac_ct_CC" && break
3317done
3318
3319  if test "x$ac_ct_CC" = x; then
3320    CC=""
3321  else
3322    case $cross_compiling:$ac_tool_warned in
3323yes:)
3324{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3325$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3326ac_tool_warned=yes ;;
3327esac
3328    CC=$ac_ct_CC
3329  fi
3330fi
3331
3332fi
3333
3334
3335test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3336$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3337as_fn_error $? "no acceptable C compiler found in \$PATH
3338See \`config.log' for more details" "$LINENO" 5; }
3339
3340# Provide some information about the compiler.
3341$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3342set X $ac_compile
3343ac_compiler=$2
3344for ac_option in --version -v -V -qversion; do
3345  { { ac_try="$ac_compiler $ac_option >&5"
3346case "(($ac_try" in
3347  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348  *) ac_try_echo=$ac_try;;
3349esac
3350eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3351$as_echo "$ac_try_echo"; } >&5
3352  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3353  ac_status=$?
3354  if test -s conftest.err; then
3355    sed '10a\
3356... rest of stderr output deleted ...
3357         10q' conftest.err >conftest.er1
3358    cat conftest.er1 >&5
3359  fi
3360  rm -f conftest.er1 conftest.err
3361  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3362  test $ac_status = 0; }
3363done
3364
3365cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366/* end confdefs.h.  */
3367
3368int
3369main ()
3370{
3371
3372  ;
3373  return 0;
3374}
3375_ACEOF
3376ac_clean_files_save=$ac_clean_files
3377ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3378# Try to create an executable without -o first, disregard a.out.
3379# It will help us diagnose broken compilers, and finding out an intuition
3380# of exeext.
3381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3382$as_echo_n "checking whether the C compiler works... " >&6; }
3383ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3384
3385# The possible output files:
3386ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3387
3388ac_rmfiles=
3389for ac_file in $ac_files
3390do
3391  case $ac_file in
3392    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3393    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3394  esac
3395done
3396rm -f $ac_rmfiles
3397
3398if { { ac_try="$ac_link_default"
3399case "(($ac_try" in
3400  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401  *) ac_try_echo=$ac_try;;
3402esac
3403eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3404$as_echo "$ac_try_echo"; } >&5
3405  (eval "$ac_link_default") 2>&5
3406  ac_status=$?
3407  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3408  test $ac_status = 0; }; then :
3409  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3410# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3411# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3412# so that the user can short-circuit this test for compilers unknown to
3413# Autoconf.
3414for ac_file in $ac_files ''
3415do
3416  test -f "$ac_file" || continue
3417  case $ac_file in
3418    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3419	;;
3420    [ab].out )
3421	# We found the default executable, but exeext='' is most
3422	# certainly right.
3423	break;;
3424    *.* )
3425	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3426	then :; else
3427	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3428	fi
3429	# We set ac_cv_exeext here because the later test for it is not
3430	# safe: cross compilers may not add the suffix if given an `-o'
3431	# argument, so we may need to know it at that point already.
3432	# Even if this section looks crufty: it has the advantage of
3433	# actually working.
3434	break;;
3435    * )
3436	break;;
3437  esac
3438done
3439test "$ac_cv_exeext" = no && ac_cv_exeext=
3440
3441else
3442  ac_file=''
3443fi
3444if test -z "$ac_file"; then :
3445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3446$as_echo "no" >&6; }
3447$as_echo "$as_me: failed program was:" >&5
3448sed 's/^/| /' conftest.$ac_ext >&5
3449
3450{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3451$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3452as_fn_error 77 "C compiler cannot create executables
3453See \`config.log' for more details" "$LINENO" 5; }
3454else
3455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3456$as_echo "yes" >&6; }
3457fi
3458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3459$as_echo_n "checking for C compiler default output file name... " >&6; }
3460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3461$as_echo "$ac_file" >&6; }
3462ac_exeext=$ac_cv_exeext
3463
3464rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3465ac_clean_files=$ac_clean_files_save
3466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3467$as_echo_n "checking for suffix of executables... " >&6; }
3468if { { ac_try="$ac_link"
3469case "(($ac_try" in
3470  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3471  *) ac_try_echo=$ac_try;;
3472esac
3473eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3474$as_echo "$ac_try_echo"; } >&5
3475  (eval "$ac_link") 2>&5
3476  ac_status=$?
3477  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3478  test $ac_status = 0; }; then :
3479  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3480# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3481# work properly (i.e., refer to `conftest.exe'), while it won't with
3482# `rm'.
3483for ac_file in conftest.exe conftest conftest.*; do
3484  test -f "$ac_file" || continue
3485  case $ac_file in
3486    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3487    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3488	  break;;
3489    * ) break;;
3490  esac
3491done
3492else
3493  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3494$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3495as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3496See \`config.log' for more details" "$LINENO" 5; }
3497fi
3498rm -f conftest conftest$ac_cv_exeext
3499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3500$as_echo "$ac_cv_exeext" >&6; }
3501
3502rm -f conftest.$ac_ext
3503EXEEXT=$ac_cv_exeext
3504ac_exeext=$EXEEXT
3505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506/* end confdefs.h.  */
3507#include <stdio.h>
3508int
3509main ()
3510{
3511FILE *f = fopen ("conftest.out", "w");
3512 return ferror (f) || fclose (f) != 0;
3513
3514  ;
3515  return 0;
3516}
3517_ACEOF
3518ac_clean_files="$ac_clean_files conftest.out"
3519# Check that the compiler produces executables we can run.  If not, either
3520# the compiler is broken, or we cross compile.
3521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3522$as_echo_n "checking whether we are cross compiling... " >&6; }
3523if test "$cross_compiling" != yes; then
3524  { { ac_try="$ac_link"
3525case "(($ac_try" in
3526  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527  *) ac_try_echo=$ac_try;;
3528esac
3529eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530$as_echo "$ac_try_echo"; } >&5
3531  (eval "$ac_link") 2>&5
3532  ac_status=$?
3533  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3534  test $ac_status = 0; }
3535  if { ac_try='./conftest$ac_cv_exeext'
3536  { { case "(($ac_try" in
3537  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3538  *) ac_try_echo=$ac_try;;
3539esac
3540eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3541$as_echo "$ac_try_echo"; } >&5
3542  (eval "$ac_try") 2>&5
3543  ac_status=$?
3544  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3545  test $ac_status = 0; }; }; then
3546    cross_compiling=no
3547  else
3548    if test "$cross_compiling" = maybe; then
3549	cross_compiling=yes
3550    else
3551	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3552$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3553as_fn_error $? "cannot run C compiled programs.
3554If you meant to cross compile, use \`--host'.
3555See \`config.log' for more details" "$LINENO" 5; }
3556    fi
3557  fi
3558fi
3559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3560$as_echo "$cross_compiling" >&6; }
3561
3562rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3563ac_clean_files=$ac_clean_files_save
3564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3565$as_echo_n "checking for suffix of object files... " >&6; }
3566if ${ac_cv_objext+:} false; then :
3567  $as_echo_n "(cached) " >&6
3568else
3569  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570/* end confdefs.h.  */
3571
3572int
3573main ()
3574{
3575
3576  ;
3577  return 0;
3578}
3579_ACEOF
3580rm -f conftest.o conftest.obj
3581if { { ac_try="$ac_compile"
3582case "(($ac_try" in
3583  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584  *) ac_try_echo=$ac_try;;
3585esac
3586eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3587$as_echo "$ac_try_echo"; } >&5
3588  (eval "$ac_compile") 2>&5
3589  ac_status=$?
3590  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3591  test $ac_status = 0; }; then :
3592  for ac_file in conftest.o conftest.obj conftest.*; do
3593  test -f "$ac_file" || continue;
3594  case $ac_file in
3595    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3596    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3597       break;;
3598  esac
3599done
3600else
3601  $as_echo "$as_me: failed program was:" >&5
3602sed 's/^/| /' conftest.$ac_ext >&5
3603
3604{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3605$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3606as_fn_error $? "cannot compute suffix of object files: cannot compile
3607See \`config.log' for more details" "$LINENO" 5; }
3608fi
3609rm -f conftest.$ac_cv_objext conftest.$ac_ext
3610fi
3611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3612$as_echo "$ac_cv_objext" >&6; }
3613OBJEXT=$ac_cv_objext
3614ac_objext=$OBJEXT
3615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3616$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3617if ${ac_cv_c_compiler_gnu+:} false; then :
3618  $as_echo_n "(cached) " >&6
3619else
3620  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621/* end confdefs.h.  */
3622
3623int
3624main ()
3625{
3626#ifndef __GNUC__
3627       choke me
3628#endif
3629
3630  ;
3631  return 0;
3632}
3633_ACEOF
3634if ac_fn_c_try_compile "$LINENO"; then :
3635  ac_compiler_gnu=yes
3636else
3637  ac_compiler_gnu=no
3638fi
3639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3640ac_cv_c_compiler_gnu=$ac_compiler_gnu
3641
3642fi
3643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3644$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3645if test $ac_compiler_gnu = yes; then
3646  GCC=yes
3647else
3648  GCC=
3649fi
3650ac_test_CFLAGS=${CFLAGS+set}
3651ac_save_CFLAGS=$CFLAGS
3652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3653$as_echo_n "checking whether $CC accepts -g... " >&6; }
3654if ${ac_cv_prog_cc_g+:} false; then :
3655  $as_echo_n "(cached) " >&6
3656else
3657  ac_save_c_werror_flag=$ac_c_werror_flag
3658   ac_c_werror_flag=yes
3659   ac_cv_prog_cc_g=no
3660   CFLAGS="-g"
3661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662/* end confdefs.h.  */
3663
3664int
3665main ()
3666{
3667
3668  ;
3669  return 0;
3670}
3671_ACEOF
3672if ac_fn_c_try_compile "$LINENO"; then :
3673  ac_cv_prog_cc_g=yes
3674else
3675  CFLAGS=""
3676      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677/* end confdefs.h.  */
3678
3679int
3680main ()
3681{
3682
3683  ;
3684  return 0;
3685}
3686_ACEOF
3687if ac_fn_c_try_compile "$LINENO"; then :
3688
3689else
3690  ac_c_werror_flag=$ac_save_c_werror_flag
3691	 CFLAGS="-g"
3692	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3693/* end confdefs.h.  */
3694
3695int
3696main ()
3697{
3698
3699  ;
3700  return 0;
3701}
3702_ACEOF
3703if ac_fn_c_try_compile "$LINENO"; then :
3704  ac_cv_prog_cc_g=yes
3705fi
3706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3707fi
3708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3709fi
3710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3711   ac_c_werror_flag=$ac_save_c_werror_flag
3712fi
3713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3714$as_echo "$ac_cv_prog_cc_g" >&6; }
3715if test "$ac_test_CFLAGS" = set; then
3716  CFLAGS=$ac_save_CFLAGS
3717elif test $ac_cv_prog_cc_g = yes; then
3718  if test "$GCC" = yes; then
3719    CFLAGS="-g -O2"
3720  else
3721    CFLAGS="-g"
3722  fi
3723else
3724  if test "$GCC" = yes; then
3725    CFLAGS="-O2"
3726  else
3727    CFLAGS=
3728  fi
3729fi
3730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3731$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3732if ${ac_cv_prog_cc_c89+:} false; then :
3733  $as_echo_n "(cached) " >&6
3734else
3735  ac_cv_prog_cc_c89=no
3736ac_save_CC=$CC
3737cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738/* end confdefs.h.  */
3739#include <stdarg.h>
3740#include <stdio.h>
3741struct stat;
3742/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3743struct buf { int x; };
3744FILE * (*rcsopen) (struct buf *, struct stat *, int);
3745static char *e (p, i)
3746     char **p;
3747     int i;
3748{
3749  return p[i];
3750}
3751static char *f (char * (*g) (char **, int), char **p, ...)
3752{
3753  char *s;
3754  va_list v;
3755  va_start (v,p);
3756  s = g (p, va_arg (v,int));
3757  va_end (v);
3758  return s;
3759}
3760
3761/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3762   function prototypes and stuff, but not '\xHH' hex character constants.
3763   These don't provoke an error unfortunately, instead are silently treated
3764   as 'x'.  The following induces an error, until -std is added to get
3765   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3766   array size at least.  It's necessary to write '\x00'==0 to get something
3767   that's true only with -std.  */
3768int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3769
3770/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3771   inside strings and character constants.  */
3772#define FOO(x) 'x'
3773int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3774
3775int test (int i, double x);
3776struct s1 {int (*f) (int a);};
3777struct s2 {int (*f) (double a);};
3778int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3779int argc;
3780char **argv;
3781int
3782main ()
3783{
3784return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3785  ;
3786  return 0;
3787}
3788_ACEOF
3789for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3790	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3791do
3792  CC="$ac_save_CC $ac_arg"
3793  if ac_fn_c_try_compile "$LINENO"; then :
3794  ac_cv_prog_cc_c89=$ac_arg
3795fi
3796rm -f core conftest.err conftest.$ac_objext
3797  test "x$ac_cv_prog_cc_c89" != "xno" && break
3798done
3799rm -f conftest.$ac_ext
3800CC=$ac_save_CC
3801
3802fi
3803# AC_CACHE_VAL
3804case "x$ac_cv_prog_cc_c89" in
3805  x)
3806    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3807$as_echo "none needed" >&6; } ;;
3808  xno)
3809    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3810$as_echo "unsupported" >&6; } ;;
3811  *)
3812    CC="$CC $ac_cv_prog_cc_c89"
3813    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3814$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3815esac
3816if test "x$ac_cv_prog_cc_c89" != xno; then :
3817
3818fi
3819
3820ac_ext=c
3821ac_cpp='$CPP $CPPFLAGS'
3822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3824ac_compiler_gnu=$ac_cv_c_compiler_gnu
3825
3826ac_ext=c
3827ac_cpp='$CPP $CPPFLAGS'
3828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3830ac_compiler_gnu=$ac_cv_c_compiler_gnu
3831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3832$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3833if ${am_cv_prog_cc_c_o+:} false; then :
3834  $as_echo_n "(cached) " >&6
3835else
3836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837/* end confdefs.h.  */
3838
3839int
3840main ()
3841{
3842
3843  ;
3844  return 0;
3845}
3846_ACEOF
3847  # Make sure it works both with $CC and with simple cc.
3848  # Following AC_PROG_CC_C_O, we do the test twice because some
3849  # compilers refuse to overwrite an existing .o file with -o,
3850  # though they will create one.
3851  am_cv_prog_cc_c_o=yes
3852  for am_i in 1 2; do
3853    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3854   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3855   ac_status=$?
3856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857   (exit $ac_status); } \
3858         && test -f conftest2.$ac_objext; then
3859      : OK
3860    else
3861      am_cv_prog_cc_c_o=no
3862      break
3863    fi
3864  done
3865  rm -f core conftest*
3866  unset am_i
3867fi
3868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3869$as_echo "$am_cv_prog_cc_c_o" >&6; }
3870if test "$am_cv_prog_cc_c_o" != yes; then
3871   # Losing compiler, so override with the script.
3872   # FIXME: It is wrong to rewrite CC.
3873   # But if we don't then we get into trouble of one sort or another.
3874   # A longer-term fix would be to have automake use am__CC in this case,
3875   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3876   CC="$am_aux_dir/compile $CC"
3877fi
3878ac_ext=c
3879ac_cpp='$CPP $CPPFLAGS'
3880ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3881ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3882ac_compiler_gnu=$ac_cv_c_compiler_gnu
3883
3884DEPDIR="${am__leading_dot}deps"
3885
3886ac_config_commands="$ac_config_commands depfiles"
3887
3888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3889$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3890cat > confinc.mk << 'END'
3891am__doit:
3892	@echo this is the am__doit target >confinc.out
3893.PHONY: am__doit
3894END
3895am__include="#"
3896am__quote=
3897# BSD make does it like this.
3898echo '.include "confinc.mk" # ignored' > confmf.BSD
3899# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3900echo 'include confinc.mk # ignored' > confmf.GNU
3901_am_result=no
3902for s in GNU BSD; do
3903  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3904   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3905   ac_status=$?
3906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907   (exit $ac_status); }
3908  case $?:`cat confinc.out 2>/dev/null` in #(
3909  '0:this is the am__doit target') :
3910    case $s in #(
3911  BSD) :
3912    am__include='.include' am__quote='"' ;; #(
3913  *) :
3914    am__include='include' am__quote='' ;;
3915esac ;; #(
3916  *) :
3917     ;;
3918esac
3919  if test "$am__include" != "#"; then
3920    _am_result="yes ($s style)"
3921    break
3922  fi
3923done
3924rm -f confinc.* confmf.*
3925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3926$as_echo "${_am_result}" >&6; }
3927
3928# Check whether --enable-dependency-tracking was given.
3929if test "${enable_dependency_tracking+set}" = set; then :
3930  enableval=$enable_dependency_tracking;
3931fi
3932
3933if test "x$enable_dependency_tracking" != xno; then
3934  am_depcomp="$ac_aux_dir/depcomp"
3935  AMDEPBACKSLASH='\'
3936  am__nodep='_no'
3937fi
3938 if test "x$enable_dependency_tracking" != xno; then
3939  AMDEP_TRUE=
3940  AMDEP_FALSE='#'
3941else
3942  AMDEP_TRUE='#'
3943  AMDEP_FALSE=
3944fi
3945
3946
3947
3948depcc="$CC"   am_compiler_list=
3949
3950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3951$as_echo_n "checking dependency style of $depcc... " >&6; }
3952if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3953  $as_echo_n "(cached) " >&6
3954else
3955  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3956  # We make a subdir and do the tests there.  Otherwise we can end up
3957  # making bogus files that we don't know about and never remove.  For
3958  # instance it was reported that on HP-UX the gcc test will end up
3959  # making a dummy file named 'D' -- because '-MD' means "put the output
3960  # in D".
3961  rm -rf conftest.dir
3962  mkdir conftest.dir
3963  # Copy depcomp to subdir because otherwise we won't find it if we're
3964  # using a relative directory.
3965  cp "$am_depcomp" conftest.dir
3966  cd conftest.dir
3967  # We will build objects and dependencies in a subdirectory because
3968  # it helps to detect inapplicable dependency modes.  For instance
3969  # both Tru64's cc and ICC support -MD to output dependencies as a
3970  # side effect of compilation, but ICC will put the dependencies in
3971  # the current directory while Tru64 will put them in the object
3972  # directory.
3973  mkdir sub
3974
3975  am_cv_CC_dependencies_compiler_type=none
3976  if test "$am_compiler_list" = ""; then
3977     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3978  fi
3979  am__universal=false
3980  case " $depcc " in #(
3981     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3982     esac
3983
3984  for depmode in $am_compiler_list; do
3985    # Setup a source with many dependencies, because some compilers
3986    # like to wrap large dependency lists on column 80 (with \), and
3987    # we should not choose a depcomp mode which is confused by this.
3988    #
3989    # We need to recreate these files for each test, as the compiler may
3990    # overwrite some of them when testing with obscure command lines.
3991    # This happens at least with the AIX C compiler.
3992    : > sub/conftest.c
3993    for i in 1 2 3 4 5 6; do
3994      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3995      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3996      # Solaris 10 /bin/sh.
3997      echo '/* dummy */' > sub/conftst$i.h
3998    done
3999    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4000
4001    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4002    # mode.  It turns out that the SunPro C++ compiler does not properly
4003    # handle '-M -o', and we need to detect this.  Also, some Intel
4004    # versions had trouble with output in subdirs.
4005    am__obj=sub/conftest.${OBJEXT-o}
4006    am__minus_obj="-o $am__obj"
4007    case $depmode in
4008    gcc)
4009      # This depmode causes a compiler race in universal mode.
4010      test "$am__universal" = false || continue
4011      ;;
4012    nosideeffect)
4013      # After this tag, mechanisms are not by side-effect, so they'll
4014      # only be used when explicitly requested.
4015      if test "x$enable_dependency_tracking" = xyes; then
4016	continue
4017      else
4018	break
4019      fi
4020      ;;
4021    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4022      # This compiler won't grok '-c -o', but also, the minuso test has
4023      # not run yet.  These depmodes are late enough in the game, and
4024      # so weak that their functioning should not be impacted.
4025      am__obj=conftest.${OBJEXT-o}
4026      am__minus_obj=
4027      ;;
4028    none) break ;;
4029    esac
4030    if depmode=$depmode \
4031       source=sub/conftest.c object=$am__obj \
4032       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4033       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4034         >/dev/null 2>conftest.err &&
4035       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4036       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4037       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4038       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4039      # icc doesn't choke on unknown options, it will just issue warnings
4040      # or remarks (even with -Werror).  So we grep stderr for any message
4041      # that says an option was ignored or not supported.
4042      # When given -MP, icc 7.0 and 7.1 complain thusly:
4043      #   icc: Command line warning: ignoring option '-M'; no argument required
4044      # The diagnosis changed in icc 8.0:
4045      #   icc: Command line remark: option '-MP' not supported
4046      if (grep 'ignoring option' conftest.err ||
4047          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4048        am_cv_CC_dependencies_compiler_type=$depmode
4049        break
4050      fi
4051    fi
4052  done
4053
4054  cd ..
4055  rm -rf conftest.dir
4056else
4057  am_cv_CC_dependencies_compiler_type=none
4058fi
4059
4060fi
4061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4062$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4063CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4064
4065 if
4066  test "x$enable_dependency_tracking" != xno \
4067  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4068  am__fastdepCC_TRUE=
4069  am__fastdepCC_FALSE='#'
4070else
4071  am__fastdepCC_TRUE='#'
4072  am__fastdepCC_FALSE=
4073fi
4074
4075
4076
4077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4078$as_echo_n "checking whether ln -s works... " >&6; }
4079LN_S=$as_ln_s
4080if test "$LN_S" = "ln -s"; then
4081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4082$as_echo "yes" >&6; }
4083else
4084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4085$as_echo "no, using $LN_S" >&6; }
4086fi
4087
4088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4089$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4090set x ${MAKE-make}
4091ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4092if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4093  $as_echo_n "(cached) " >&6
4094else
4095  cat >conftest.make <<\_ACEOF
4096SHELL = /bin/sh
4097all:
4098	@echo '@@@%%%=$(MAKE)=@@@%%%'
4099_ACEOF
4100# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4101case `${MAKE-make} -f conftest.make 2>/dev/null` in
4102  *@@@%%%=?*=@@@%%%*)
4103    eval ac_cv_prog_make_${ac_make}_set=yes;;
4104  *)
4105    eval ac_cv_prog_make_${ac_make}_set=no;;
4106esac
4107rm -f conftest.make
4108fi
4109if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4111$as_echo "yes" >&6; }
4112  SET_MAKE=
4113else
4114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4115$as_echo "no" >&6; }
4116  SET_MAKE="MAKE=${MAKE-make}"
4117fi
4118
4119case `pwd` in
4120  *\ * | *\	*)
4121    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4122$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4123esac
4124
4125
4126
4127macro_version='2.4.6'
4128macro_revision='2.4.6'
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142ltmain=$ac_aux_dir/ltmain.sh
4143
4144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4145$as_echo_n "checking host system type... " >&6; }
4146if ${ac_cv_host+:} false; then :
4147  $as_echo_n "(cached) " >&6
4148else
4149  if test "x$host_alias" = x; then
4150  ac_cv_host=$ac_cv_build
4151else
4152  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4153    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4154fi
4155
4156fi
4157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4158$as_echo "$ac_cv_host" >&6; }
4159case $ac_cv_host in
4160*-*-*) ;;
4161*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4162esac
4163host=$ac_cv_host
4164ac_save_IFS=$IFS; IFS='-'
4165set x $ac_cv_host
4166shift
4167host_cpu=$1
4168host_vendor=$2
4169shift; shift
4170# Remember, the first character of IFS is used to create $*,
4171# except with old shells:
4172host_os=$*
4173IFS=$ac_save_IFS
4174case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4175
4176
4177# Backslashify metacharacters that are still active within
4178# double-quoted strings.
4179sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4180
4181# Same as above, but do not quote variable references.
4182double_quote_subst='s/\(["`\\]\)/\\\1/g'
4183
4184# Sed substitution to delay expansion of an escaped shell variable in a
4185# double_quote_subst'ed string.
4186delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4187
4188# Sed substitution to delay expansion of an escaped single quote.
4189delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4190
4191# Sed substitution to avoid accidental globbing in evaled expressions
4192no_glob_subst='s/\*/\\\*/g'
4193
4194ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4195ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4196ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4197
4198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4199$as_echo_n "checking how to print strings... " >&6; }
4200# Test print first, because it will be a builtin if present.
4201if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4202   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4203  ECHO='print -r --'
4204elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4205  ECHO='printf %s\n'
4206else
4207  # Use this function as a fallback that always works.
4208  func_fallback_echo ()
4209  {
4210    eval 'cat <<_LTECHO_EOF
4211$1
4212_LTECHO_EOF'
4213  }
4214  ECHO='func_fallback_echo'
4215fi
4216
4217# func_echo_all arg...
4218# Invoke $ECHO with all args, space-separated.
4219func_echo_all ()
4220{
4221    $ECHO ""
4222}
4223
4224case $ECHO in
4225  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4226$as_echo "printf" >&6; } ;;
4227  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4228$as_echo "print -r" >&6; } ;;
4229  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4230$as_echo "cat" >&6; } ;;
4231esac
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4247$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4248if ${ac_cv_path_SED+:} false; then :
4249  $as_echo_n "(cached) " >&6
4250else
4251            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4252     for ac_i in 1 2 3 4 5 6 7; do
4253       ac_script="$ac_script$as_nl$ac_script"
4254     done
4255     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4256     { ac_script=; unset ac_script;}
4257     if test -z "$SED"; then
4258  ac_path_SED_found=false
4259  # Loop through the user's path and test for each of PROGNAME-LIST
4260  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4261for as_dir in $PATH
4262do
4263  IFS=$as_save_IFS
4264  test -z "$as_dir" && as_dir=.
4265    for ac_prog in sed gsed; do
4266    for ac_exec_ext in '' $ac_executable_extensions; do
4267      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4268      as_fn_executable_p "$ac_path_SED" || continue
4269# Check for GNU ac_path_SED and select it if it is found.
4270  # Check for GNU $ac_path_SED
4271case `"$ac_path_SED" --version 2>&1` in
4272*GNU*)
4273  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4274*)
4275  ac_count=0
4276  $as_echo_n 0123456789 >"conftest.in"
4277  while :
4278  do
4279    cat "conftest.in" "conftest.in" >"conftest.tmp"
4280    mv "conftest.tmp" "conftest.in"
4281    cp "conftest.in" "conftest.nl"
4282    $as_echo '' >> "conftest.nl"
4283    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4284    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4285    as_fn_arith $ac_count + 1 && ac_count=$as_val
4286    if test $ac_count -gt ${ac_path_SED_max-0}; then
4287      # Best one so far, save it but keep looking for a better one
4288      ac_cv_path_SED="$ac_path_SED"
4289      ac_path_SED_max=$ac_count
4290    fi
4291    # 10*(2^10) chars as input seems more than enough
4292    test $ac_count -gt 10 && break
4293  done
4294  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4295esac
4296
4297      $ac_path_SED_found && break 3
4298    done
4299  done
4300  done
4301IFS=$as_save_IFS
4302  if test -z "$ac_cv_path_SED"; then
4303    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4304  fi
4305else
4306  ac_cv_path_SED=$SED
4307fi
4308
4309fi
4310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4311$as_echo "$ac_cv_path_SED" >&6; }
4312 SED="$ac_cv_path_SED"
4313  rm -f conftest.sed
4314
4315test -z "$SED" && SED=sed
4316Xsed="$SED -e 1s/^X//"
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4329$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4330if ${ac_cv_path_GREP+:} false; then :
4331  $as_echo_n "(cached) " >&6
4332else
4333  if test -z "$GREP"; then
4334  ac_path_GREP_found=false
4335  # Loop through the user's path and test for each of PROGNAME-LIST
4336  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4337for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4338do
4339  IFS=$as_save_IFS
4340  test -z "$as_dir" && as_dir=.
4341    for ac_prog in grep ggrep; do
4342    for ac_exec_ext in '' $ac_executable_extensions; do
4343      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4344      as_fn_executable_p "$ac_path_GREP" || continue
4345# Check for GNU ac_path_GREP and select it if it is found.
4346  # Check for GNU $ac_path_GREP
4347case `"$ac_path_GREP" --version 2>&1` in
4348*GNU*)
4349  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4350*)
4351  ac_count=0
4352  $as_echo_n 0123456789 >"conftest.in"
4353  while :
4354  do
4355    cat "conftest.in" "conftest.in" >"conftest.tmp"
4356    mv "conftest.tmp" "conftest.in"
4357    cp "conftest.in" "conftest.nl"
4358    $as_echo 'GREP' >> "conftest.nl"
4359    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4360    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4361    as_fn_arith $ac_count + 1 && ac_count=$as_val
4362    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4363      # Best one so far, save it but keep looking for a better one
4364      ac_cv_path_GREP="$ac_path_GREP"
4365      ac_path_GREP_max=$ac_count
4366    fi
4367    # 10*(2^10) chars as input seems more than enough
4368    test $ac_count -gt 10 && break
4369  done
4370  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4371esac
4372
4373      $ac_path_GREP_found && break 3
4374    done
4375  done
4376  done
4377IFS=$as_save_IFS
4378  if test -z "$ac_cv_path_GREP"; then
4379    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4380  fi
4381else
4382  ac_cv_path_GREP=$GREP
4383fi
4384
4385fi
4386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4387$as_echo "$ac_cv_path_GREP" >&6; }
4388 GREP="$ac_cv_path_GREP"
4389
4390
4391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4392$as_echo_n "checking for egrep... " >&6; }
4393if ${ac_cv_path_EGREP+:} false; then :
4394  $as_echo_n "(cached) " >&6
4395else
4396  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4397   then ac_cv_path_EGREP="$GREP -E"
4398   else
4399     if test -z "$EGREP"; then
4400  ac_path_EGREP_found=false
4401  # Loop through the user's path and test for each of PROGNAME-LIST
4402  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4404do
4405  IFS=$as_save_IFS
4406  test -z "$as_dir" && as_dir=.
4407    for ac_prog in egrep; do
4408    for ac_exec_ext in '' $ac_executable_extensions; do
4409      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4410      as_fn_executable_p "$ac_path_EGREP" || continue
4411# Check for GNU ac_path_EGREP and select it if it is found.
4412  # Check for GNU $ac_path_EGREP
4413case `"$ac_path_EGREP" --version 2>&1` in
4414*GNU*)
4415  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4416*)
4417  ac_count=0
4418  $as_echo_n 0123456789 >"conftest.in"
4419  while :
4420  do
4421    cat "conftest.in" "conftest.in" >"conftest.tmp"
4422    mv "conftest.tmp" "conftest.in"
4423    cp "conftest.in" "conftest.nl"
4424    $as_echo 'EGREP' >> "conftest.nl"
4425    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4426    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4427    as_fn_arith $ac_count + 1 && ac_count=$as_val
4428    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4429      # Best one so far, save it but keep looking for a better one
4430      ac_cv_path_EGREP="$ac_path_EGREP"
4431      ac_path_EGREP_max=$ac_count
4432    fi
4433    # 10*(2^10) chars as input seems more than enough
4434    test $ac_count -gt 10 && break
4435  done
4436  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4437esac
4438
4439      $ac_path_EGREP_found && break 3
4440    done
4441  done
4442  done
4443IFS=$as_save_IFS
4444  if test -z "$ac_cv_path_EGREP"; then
4445    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4446  fi
4447else
4448  ac_cv_path_EGREP=$EGREP
4449fi
4450
4451   fi
4452fi
4453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4454$as_echo "$ac_cv_path_EGREP" >&6; }
4455 EGREP="$ac_cv_path_EGREP"
4456
4457
4458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4459$as_echo_n "checking for fgrep... " >&6; }
4460if ${ac_cv_path_FGREP+:} false; then :
4461  $as_echo_n "(cached) " >&6
4462else
4463  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4464   then ac_cv_path_FGREP="$GREP -F"
4465   else
4466     if test -z "$FGREP"; then
4467  ac_path_FGREP_found=false
4468  # Loop through the user's path and test for each of PROGNAME-LIST
4469  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4470for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4471do
4472  IFS=$as_save_IFS
4473  test -z "$as_dir" && as_dir=.
4474    for ac_prog in fgrep; do
4475    for ac_exec_ext in '' $ac_executable_extensions; do
4476      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4477      as_fn_executable_p "$ac_path_FGREP" || continue
4478# Check for GNU ac_path_FGREP and select it if it is found.
4479  # Check for GNU $ac_path_FGREP
4480case `"$ac_path_FGREP" --version 2>&1` in
4481*GNU*)
4482  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4483*)
4484  ac_count=0
4485  $as_echo_n 0123456789 >"conftest.in"
4486  while :
4487  do
4488    cat "conftest.in" "conftest.in" >"conftest.tmp"
4489    mv "conftest.tmp" "conftest.in"
4490    cp "conftest.in" "conftest.nl"
4491    $as_echo 'FGREP' >> "conftest.nl"
4492    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4493    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4494    as_fn_arith $ac_count + 1 && ac_count=$as_val
4495    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4496      # Best one so far, save it but keep looking for a better one
4497      ac_cv_path_FGREP="$ac_path_FGREP"
4498      ac_path_FGREP_max=$ac_count
4499    fi
4500    # 10*(2^10) chars as input seems more than enough
4501    test $ac_count -gt 10 && break
4502  done
4503  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4504esac
4505
4506      $ac_path_FGREP_found && break 3
4507    done
4508  done
4509  done
4510IFS=$as_save_IFS
4511  if test -z "$ac_cv_path_FGREP"; then
4512    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4513  fi
4514else
4515  ac_cv_path_FGREP=$FGREP
4516fi
4517
4518   fi
4519fi
4520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4521$as_echo "$ac_cv_path_FGREP" >&6; }
4522 FGREP="$ac_cv_path_FGREP"
4523
4524
4525test -z "$GREP" && GREP=grep
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545# Check whether --with-gnu-ld was given.
4546if test "${with_gnu_ld+set}" = set; then :
4547  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4548else
4549  with_gnu_ld=no
4550fi
4551
4552ac_prog=ld
4553if test yes = "$GCC"; then
4554  # Check if gcc -print-prog-name=ld gives a path.
4555  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4556$as_echo_n "checking for ld used by $CC... " >&6; }
4557  case $host in
4558  *-*-mingw*)
4559    # gcc leaves a trailing carriage return, which upsets mingw
4560    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4561  *)
4562    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4563  esac
4564  case $ac_prog in
4565    # Accept absolute paths.
4566    [\\/]* | ?:[\\/]*)
4567      re_direlt='/[^/][^/]*/\.\./'
4568      # Canonicalize the pathname of ld
4569      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4570      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4571	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4572      done
4573      test -z "$LD" && LD=$ac_prog
4574      ;;
4575  "")
4576    # If it fails, then pretend we aren't using GCC.
4577    ac_prog=ld
4578    ;;
4579  *)
4580    # If it is relative, then search for the first ld in PATH.
4581    with_gnu_ld=unknown
4582    ;;
4583  esac
4584elif test yes = "$with_gnu_ld"; then
4585  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4586$as_echo_n "checking for GNU ld... " >&6; }
4587else
4588  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4589$as_echo_n "checking for non-GNU ld... " >&6; }
4590fi
4591if ${lt_cv_path_LD+:} false; then :
4592  $as_echo_n "(cached) " >&6
4593else
4594  if test -z "$LD"; then
4595  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4596  for ac_dir in $PATH; do
4597    IFS=$lt_save_ifs
4598    test -z "$ac_dir" && ac_dir=.
4599    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4600      lt_cv_path_LD=$ac_dir/$ac_prog
4601      # Check to see if the program is GNU ld.  I'd rather use --version,
4602      # but apparently some variants of GNU ld only accept -v.
4603      # Break only if it was the GNU/non-GNU ld that we prefer.
4604      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4605      *GNU* | *'with BFD'*)
4606	test no != "$with_gnu_ld" && break
4607	;;
4608      *)
4609	test yes != "$with_gnu_ld" && break
4610	;;
4611      esac
4612    fi
4613  done
4614  IFS=$lt_save_ifs
4615else
4616  lt_cv_path_LD=$LD # Let the user override the test with a path.
4617fi
4618fi
4619
4620LD=$lt_cv_path_LD
4621if test -n "$LD"; then
4622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4623$as_echo "$LD" >&6; }
4624else
4625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626$as_echo "no" >&6; }
4627fi
4628test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4630$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4631if ${lt_cv_prog_gnu_ld+:} false; then :
4632  $as_echo_n "(cached) " >&6
4633else
4634  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4635case `$LD -v 2>&1 </dev/null` in
4636*GNU* | *'with BFD'*)
4637  lt_cv_prog_gnu_ld=yes
4638  ;;
4639*)
4640  lt_cv_prog_gnu_ld=no
4641  ;;
4642esac
4643fi
4644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4645$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4646with_gnu_ld=$lt_cv_prog_gnu_ld
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4657$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4658if ${lt_cv_path_NM+:} false; then :
4659  $as_echo_n "(cached) " >&6
4660else
4661  if test -n "$NM"; then
4662  # Let the user override the test.
4663  lt_cv_path_NM=$NM
4664else
4665  lt_nm_to_check=${ac_tool_prefix}nm
4666  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4667    lt_nm_to_check="$lt_nm_to_check nm"
4668  fi
4669  for lt_tmp_nm in $lt_nm_to_check; do
4670    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4671    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4672      IFS=$lt_save_ifs
4673      test -z "$ac_dir" && ac_dir=.
4674      tmp_nm=$ac_dir/$lt_tmp_nm
4675      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4676	# Check to see if the nm accepts a BSD-compat flag.
4677	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4678	#   nm: unknown option "B" ignored
4679	# Tru64's nm complains that /dev/null is an invalid object file
4680	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4681	case $build_os in
4682	mingw*) lt_bad_file=conftest.nm/nofile ;;
4683	*) lt_bad_file=/dev/null ;;
4684	esac
4685	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4686	*$lt_bad_file* | *'Invalid file or object type'*)
4687	  lt_cv_path_NM="$tmp_nm -B"
4688	  break 2
4689	  ;;
4690	*)
4691	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4692	  */dev/null*)
4693	    lt_cv_path_NM="$tmp_nm -p"
4694	    break 2
4695	    ;;
4696	  *)
4697	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4698	    continue # so that we can try to find one that supports BSD flags
4699	    ;;
4700	  esac
4701	  ;;
4702	esac
4703      fi
4704    done
4705    IFS=$lt_save_ifs
4706  done
4707  : ${lt_cv_path_NM=no}
4708fi
4709fi
4710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4711$as_echo "$lt_cv_path_NM" >&6; }
4712if test no != "$lt_cv_path_NM"; then
4713  NM=$lt_cv_path_NM
4714else
4715  # Didn't find any BSD compatible name lister, look for dumpbin.
4716  if test -n "$DUMPBIN"; then :
4717    # Let the user override the test.
4718  else
4719    if test -n "$ac_tool_prefix"; then
4720  for ac_prog in dumpbin "link -dump"
4721  do
4722    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4723set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4725$as_echo_n "checking for $ac_word... " >&6; }
4726if ${ac_cv_prog_DUMPBIN+:} false; then :
4727  $as_echo_n "(cached) " >&6
4728else
4729  if test -n "$DUMPBIN"; then
4730  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4731else
4732as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4733for as_dir in $PATH
4734do
4735  IFS=$as_save_IFS
4736  test -z "$as_dir" && as_dir=.
4737    for ac_exec_ext in '' $ac_executable_extensions; do
4738  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4739    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4740    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4741    break 2
4742  fi
4743done
4744  done
4745IFS=$as_save_IFS
4746
4747fi
4748fi
4749DUMPBIN=$ac_cv_prog_DUMPBIN
4750if test -n "$DUMPBIN"; then
4751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4752$as_echo "$DUMPBIN" >&6; }
4753else
4754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755$as_echo "no" >&6; }
4756fi
4757
4758
4759    test -n "$DUMPBIN" && break
4760  done
4761fi
4762if test -z "$DUMPBIN"; then
4763  ac_ct_DUMPBIN=$DUMPBIN
4764  for ac_prog in dumpbin "link -dump"
4765do
4766  # Extract the first word of "$ac_prog", so it can be a program name with args.
4767set dummy $ac_prog; ac_word=$2
4768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4769$as_echo_n "checking for $ac_word... " >&6; }
4770if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4771  $as_echo_n "(cached) " >&6
4772else
4773  if test -n "$ac_ct_DUMPBIN"; then
4774  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4775else
4776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4777for as_dir in $PATH
4778do
4779  IFS=$as_save_IFS
4780  test -z "$as_dir" && as_dir=.
4781    for ac_exec_ext in '' $ac_executable_extensions; do
4782  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4783    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4784    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785    break 2
4786  fi
4787done
4788  done
4789IFS=$as_save_IFS
4790
4791fi
4792fi
4793ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4794if test -n "$ac_ct_DUMPBIN"; then
4795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4796$as_echo "$ac_ct_DUMPBIN" >&6; }
4797else
4798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4799$as_echo "no" >&6; }
4800fi
4801
4802
4803  test -n "$ac_ct_DUMPBIN" && break
4804done
4805
4806  if test "x$ac_ct_DUMPBIN" = x; then
4807    DUMPBIN=":"
4808  else
4809    case $cross_compiling:$ac_tool_warned in
4810yes:)
4811{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4812$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4813ac_tool_warned=yes ;;
4814esac
4815    DUMPBIN=$ac_ct_DUMPBIN
4816  fi
4817fi
4818
4819    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4820    *COFF*)
4821      DUMPBIN="$DUMPBIN -symbols -headers"
4822      ;;
4823    *)
4824      DUMPBIN=:
4825      ;;
4826    esac
4827  fi
4828
4829  if test : != "$DUMPBIN"; then
4830    NM=$DUMPBIN
4831  fi
4832fi
4833test -z "$NM" && NM=nm
4834
4835
4836
4837
4838
4839
4840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4841$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4842if ${lt_cv_nm_interface+:} false; then :
4843  $as_echo_n "(cached) " >&6
4844else
4845  lt_cv_nm_interface="BSD nm"
4846  echo "int some_variable = 0;" > conftest.$ac_ext
4847  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4848  (eval "$ac_compile" 2>conftest.err)
4849  cat conftest.err >&5
4850  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4851  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4852  cat conftest.err >&5
4853  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4854  cat conftest.out >&5
4855  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4856    lt_cv_nm_interface="MS dumpbin"
4857  fi
4858  rm -f conftest*
4859fi
4860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4861$as_echo "$lt_cv_nm_interface" >&6; }
4862
4863# find the maximum length of command line arguments
4864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4865$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4866if ${lt_cv_sys_max_cmd_len+:} false; then :
4867  $as_echo_n "(cached) " >&6
4868else
4869    i=0
4870  teststring=ABCD
4871
4872  case $build_os in
4873  msdosdjgpp*)
4874    # On DJGPP, this test can blow up pretty badly due to problems in libc
4875    # (any single argument exceeding 2000 bytes causes a buffer overrun
4876    # during glob expansion).  Even if it were fixed, the result of this
4877    # check would be larger than it should be.
4878    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4879    ;;
4880
4881  gnu*)
4882    # Under GNU Hurd, this test is not required because there is
4883    # no limit to the length of command line arguments.
4884    # Libtool will interpret -1 as no limit whatsoever
4885    lt_cv_sys_max_cmd_len=-1;
4886    ;;
4887
4888  cygwin* | mingw* | cegcc*)
4889    # On Win9x/ME, this test blows up -- it succeeds, but takes
4890    # about 5 minutes as the teststring grows exponentially.
4891    # Worse, since 9x/ME are not pre-emptively multitasking,
4892    # you end up with a "frozen" computer, even though with patience
4893    # the test eventually succeeds (with a max line length of 256k).
4894    # Instead, let's just punt: use the minimum linelength reported by
4895    # all of the supported platforms: 8192 (on NT/2K/XP).
4896    lt_cv_sys_max_cmd_len=8192;
4897    ;;
4898
4899  mint*)
4900    # On MiNT this can take a long time and run out of memory.
4901    lt_cv_sys_max_cmd_len=8192;
4902    ;;
4903
4904  amigaos*)
4905    # On AmigaOS with pdksh, this test takes hours, literally.
4906    # So we just punt and use a minimum line length of 8192.
4907    lt_cv_sys_max_cmd_len=8192;
4908    ;;
4909
4910  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4911    # This has been around since 386BSD, at least.  Likely further.
4912    if test -x /sbin/sysctl; then
4913      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4914    elif test -x /usr/sbin/sysctl; then
4915      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4916    else
4917      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4918    fi
4919    # And add a safety zone
4920    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4921    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4922    ;;
4923
4924  interix*)
4925    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4926    lt_cv_sys_max_cmd_len=196608
4927    ;;
4928
4929  os2*)
4930    # The test takes a long time on OS/2.
4931    lt_cv_sys_max_cmd_len=8192
4932    ;;
4933
4934  osf*)
4935    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4936    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4937    # nice to cause kernel panics so lets avoid the loop below.
4938    # First set a reasonable default.
4939    lt_cv_sys_max_cmd_len=16384
4940    #
4941    if test -x /sbin/sysconfig; then
4942      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4943        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4944      esac
4945    fi
4946    ;;
4947  sco3.2v5*)
4948    lt_cv_sys_max_cmd_len=102400
4949    ;;
4950  sysv5* | sco5v6* | sysv4.2uw2*)
4951    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4952    if test -n "$kargmax"; then
4953      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4954    else
4955      lt_cv_sys_max_cmd_len=32768
4956    fi
4957    ;;
4958  *)
4959    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4960    if test -n "$lt_cv_sys_max_cmd_len" && \
4961       test undefined != "$lt_cv_sys_max_cmd_len"; then
4962      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4963      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4964    else
4965      # Make teststring a little bigger before we do anything with it.
4966      # a 1K string should be a reasonable start.
4967      for i in 1 2 3 4 5 6 7 8; do
4968        teststring=$teststring$teststring
4969      done
4970      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4971      # If test is not a shell built-in, we'll probably end up computing a
4972      # maximum length that is only half of the actual maximum length, but
4973      # we can't tell.
4974      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4975	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4976	      test 17 != "$i" # 1/2 MB should be enough
4977      do
4978        i=`expr $i + 1`
4979        teststring=$teststring$teststring
4980      done
4981      # Only check the string length outside the loop.
4982      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4983      teststring=
4984      # Add a significant safety factor because C++ compilers can tack on
4985      # massive amounts of additional arguments before passing them to the
4986      # linker.  It appears as though 1/2 is a usable value.
4987      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4988    fi
4989    ;;
4990  esac
4991
4992fi
4993
4994if test -n "$lt_cv_sys_max_cmd_len"; then
4995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4996$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4997else
4998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4999$as_echo "none" >&6; }
5000fi
5001max_cmd_len=$lt_cv_sys_max_cmd_len
5002
5003
5004
5005
5006
5007
5008: ${CP="cp -f"}
5009: ${MV="mv -f"}
5010: ${RM="rm -f"}
5011
5012if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5013  lt_unset=unset
5014else
5015  lt_unset=false
5016fi
5017
5018
5019
5020
5021
5022# test EBCDIC or ASCII
5023case `echo X|tr X '\101'` in
5024 A) # ASCII based system
5025    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5026  lt_SP2NL='tr \040 \012'
5027  lt_NL2SP='tr \015\012 \040\040'
5028  ;;
5029 *) # EBCDIC based system
5030  lt_SP2NL='tr \100 \n'
5031  lt_NL2SP='tr \r\n \100\100'
5032  ;;
5033esac
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5044$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5045if ${lt_cv_to_host_file_cmd+:} false; then :
5046  $as_echo_n "(cached) " >&6
5047else
5048  case $host in
5049  *-*-mingw* )
5050    case $build in
5051      *-*-mingw* ) # actually msys
5052        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5053        ;;
5054      *-*-cygwin* )
5055        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5056        ;;
5057      * ) # otherwise, assume *nix
5058        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5059        ;;
5060    esac
5061    ;;
5062  *-*-cygwin* )
5063    case $build in
5064      *-*-mingw* ) # actually msys
5065        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5066        ;;
5067      *-*-cygwin* )
5068        lt_cv_to_host_file_cmd=func_convert_file_noop
5069        ;;
5070      * ) # otherwise, assume *nix
5071        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5072        ;;
5073    esac
5074    ;;
5075  * ) # unhandled hosts (and "normal" native builds)
5076    lt_cv_to_host_file_cmd=func_convert_file_noop
5077    ;;
5078esac
5079
5080fi
5081
5082to_host_file_cmd=$lt_cv_to_host_file_cmd
5083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5084$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5085
5086
5087
5088
5089
5090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5091$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5092if ${lt_cv_to_tool_file_cmd+:} false; then :
5093  $as_echo_n "(cached) " >&6
5094else
5095  #assume ordinary cross tools, or native build.
5096lt_cv_to_tool_file_cmd=func_convert_file_noop
5097case $host in
5098  *-*-mingw* )
5099    case $build in
5100      *-*-mingw* ) # actually msys
5101        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5102        ;;
5103    esac
5104    ;;
5105esac
5106
5107fi
5108
5109to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5111$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5112
5113
5114
5115
5116
5117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5118$as_echo_n "checking for $LD option to reload object files... " >&6; }
5119if ${lt_cv_ld_reload_flag+:} false; then :
5120  $as_echo_n "(cached) " >&6
5121else
5122  lt_cv_ld_reload_flag='-r'
5123fi
5124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5125$as_echo "$lt_cv_ld_reload_flag" >&6; }
5126reload_flag=$lt_cv_ld_reload_flag
5127case $reload_flag in
5128"" | " "*) ;;
5129*) reload_flag=" $reload_flag" ;;
5130esac
5131reload_cmds='$LD$reload_flag -o $output$reload_objs'
5132case $host_os in
5133  cygwin* | mingw* | pw32* | cegcc*)
5134    if test yes != "$GCC"; then
5135      reload_cmds=false
5136    fi
5137    ;;
5138  darwin*)
5139    if test yes = "$GCC"; then
5140      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5141    else
5142      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5143    fi
5144    ;;
5145esac
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155if test -n "$ac_tool_prefix"; then
5156  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5157set dummy ${ac_tool_prefix}objdump; ac_word=$2
5158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159$as_echo_n "checking for $ac_word... " >&6; }
5160if ${ac_cv_prog_OBJDUMP+:} false; then :
5161  $as_echo_n "(cached) " >&6
5162else
5163  if test -n "$OBJDUMP"; then
5164  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5165else
5166as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167for as_dir in $PATH
5168do
5169  IFS=$as_save_IFS
5170  test -z "$as_dir" && as_dir=.
5171    for ac_exec_ext in '' $ac_executable_extensions; do
5172  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5173    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5174    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175    break 2
5176  fi
5177done
5178  done
5179IFS=$as_save_IFS
5180
5181fi
5182fi
5183OBJDUMP=$ac_cv_prog_OBJDUMP
5184if test -n "$OBJDUMP"; then
5185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5186$as_echo "$OBJDUMP" >&6; }
5187else
5188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189$as_echo "no" >&6; }
5190fi
5191
5192
5193fi
5194if test -z "$ac_cv_prog_OBJDUMP"; then
5195  ac_ct_OBJDUMP=$OBJDUMP
5196  # Extract the first word of "objdump", so it can be a program name with args.
5197set dummy objdump; ac_word=$2
5198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5199$as_echo_n "checking for $ac_word... " >&6; }
5200if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5201  $as_echo_n "(cached) " >&6
5202else
5203  if test -n "$ac_ct_OBJDUMP"; then
5204  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5205else
5206as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207for as_dir in $PATH
5208do
5209  IFS=$as_save_IFS
5210  test -z "$as_dir" && as_dir=.
5211    for ac_exec_ext in '' $ac_executable_extensions; do
5212  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5213    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5214    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215    break 2
5216  fi
5217done
5218  done
5219IFS=$as_save_IFS
5220
5221fi
5222fi
5223ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5224if test -n "$ac_ct_OBJDUMP"; then
5225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5226$as_echo "$ac_ct_OBJDUMP" >&6; }
5227else
5228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229$as_echo "no" >&6; }
5230fi
5231
5232  if test "x$ac_ct_OBJDUMP" = x; then
5233    OBJDUMP="false"
5234  else
5235    case $cross_compiling:$ac_tool_warned in
5236yes:)
5237{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5238$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5239ac_tool_warned=yes ;;
5240esac
5241    OBJDUMP=$ac_ct_OBJDUMP
5242  fi
5243else
5244  OBJDUMP="$ac_cv_prog_OBJDUMP"
5245fi
5246
5247test -z "$OBJDUMP" && OBJDUMP=objdump
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5258$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5259if ${lt_cv_deplibs_check_method+:} false; then :
5260  $as_echo_n "(cached) " >&6
5261else
5262  lt_cv_file_magic_cmd='$MAGIC_CMD'
5263lt_cv_file_magic_test_file=
5264lt_cv_deplibs_check_method='unknown'
5265# Need to set the preceding variable on all platforms that support
5266# interlibrary dependencies.
5267# 'none' -- dependencies not supported.
5268# 'unknown' -- same as none, but documents that we really don't know.
5269# 'pass_all' -- all dependencies passed with no checks.
5270# 'test_compile' -- check by making test program.
5271# 'file_magic [[regex]]' -- check by looking for files in library path
5272# that responds to the $file_magic_cmd with a given extended regex.
5273# If you have 'file' or equivalent on your system and you're not sure
5274# whether 'pass_all' will *always* work, you probably want this one.
5275
5276case $host_os in
5277aix[4-9]*)
5278  lt_cv_deplibs_check_method=pass_all
5279  ;;
5280
5281beos*)
5282  lt_cv_deplibs_check_method=pass_all
5283  ;;
5284
5285bsdi[45]*)
5286  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5287  lt_cv_file_magic_cmd='/usr/bin/file -L'
5288  lt_cv_file_magic_test_file=/shlib/libc.so
5289  ;;
5290
5291cygwin*)
5292  # func_win32_libid is a shell function defined in ltmain.sh
5293  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5294  lt_cv_file_magic_cmd='func_win32_libid'
5295  ;;
5296
5297mingw* | pw32*)
5298  # Base MSYS/MinGW do not provide the 'file' command needed by
5299  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5300  # unless we find 'file', for example because we are cross-compiling.
5301  if ( file / ) >/dev/null 2>&1; then
5302    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5303    lt_cv_file_magic_cmd='func_win32_libid'
5304  else
5305    # Keep this pattern in sync with the one in func_win32_libid.
5306    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5307    lt_cv_file_magic_cmd='$OBJDUMP -f'
5308  fi
5309  ;;
5310
5311cegcc*)
5312  # use the weaker test based on 'objdump'. See mingw*.
5313  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5314  lt_cv_file_magic_cmd='$OBJDUMP -f'
5315  ;;
5316
5317darwin* | rhapsody*)
5318  lt_cv_deplibs_check_method=pass_all
5319  ;;
5320
5321freebsd* | dragonfly*)
5322  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5323    case $host_cpu in
5324    i*86 )
5325      # Not sure whether the presence of OpenBSD here was a mistake.
5326      # Let's accept both of them until this is cleared up.
5327      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5328      lt_cv_file_magic_cmd=/usr/bin/file
5329      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5330      ;;
5331    esac
5332  else
5333    lt_cv_deplibs_check_method=pass_all
5334  fi
5335  ;;
5336
5337haiku*)
5338  lt_cv_deplibs_check_method=pass_all
5339  ;;
5340
5341hpux10.20* | hpux11*)
5342  lt_cv_file_magic_cmd=/usr/bin/file
5343  case $host_cpu in
5344  ia64*)
5345    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5346    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5347    ;;
5348  hppa*64*)
5349    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]'
5350    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5351    ;;
5352  *)
5353    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5354    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5355    ;;
5356  esac
5357  ;;
5358
5359interix[3-9]*)
5360  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5361  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5362  ;;
5363
5364irix5* | irix6* | nonstopux*)
5365  case $LD in
5366  *-32|*"-32 ") libmagic=32-bit;;
5367  *-n32|*"-n32 ") libmagic=N32;;
5368  *-64|*"-64 ") libmagic=64-bit;;
5369  *) libmagic=never-match;;
5370  esac
5371  lt_cv_deplibs_check_method=pass_all
5372  ;;
5373
5374# This must be glibc/ELF.
5375linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5376  lt_cv_deplibs_check_method=pass_all
5377  ;;
5378
5379netbsd* | netbsdelf*-gnu)
5380  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5381    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5382  else
5383    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5384  fi
5385  ;;
5386
5387newos6*)
5388  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5389  lt_cv_file_magic_cmd=/usr/bin/file
5390  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5391  ;;
5392
5393*nto* | *qnx*)
5394  lt_cv_deplibs_check_method=pass_all
5395  ;;
5396
5397openbsd* | bitrig*)
5398  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5399    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5400  else
5401    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5402  fi
5403  ;;
5404
5405osf3* | osf4* | osf5*)
5406  lt_cv_deplibs_check_method=pass_all
5407  ;;
5408
5409rdos*)
5410  lt_cv_deplibs_check_method=pass_all
5411  ;;
5412
5413solaris*)
5414  lt_cv_deplibs_check_method=pass_all
5415  ;;
5416
5417sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5418  lt_cv_deplibs_check_method=pass_all
5419  ;;
5420
5421sysv4 | sysv4.3*)
5422  case $host_vendor in
5423  motorola)
5424    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]'
5425    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5426    ;;
5427  ncr)
5428    lt_cv_deplibs_check_method=pass_all
5429    ;;
5430  sequent)
5431    lt_cv_file_magic_cmd='/bin/file'
5432    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5433    ;;
5434  sni)
5435    lt_cv_file_magic_cmd='/bin/file'
5436    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5437    lt_cv_file_magic_test_file=/lib/libc.so
5438    ;;
5439  siemens)
5440    lt_cv_deplibs_check_method=pass_all
5441    ;;
5442  pc)
5443    lt_cv_deplibs_check_method=pass_all
5444    ;;
5445  esac
5446  ;;
5447
5448tpf*)
5449  lt_cv_deplibs_check_method=pass_all
5450  ;;
5451os2*)
5452  lt_cv_deplibs_check_method=pass_all
5453  ;;
5454esac
5455
5456fi
5457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5458$as_echo "$lt_cv_deplibs_check_method" >&6; }
5459
5460file_magic_glob=
5461want_nocaseglob=no
5462if test "$build" = "$host"; then
5463  case $host_os in
5464  mingw* | pw32*)
5465    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5466      want_nocaseglob=yes
5467    else
5468      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5469    fi
5470    ;;
5471  esac
5472fi
5473
5474file_magic_cmd=$lt_cv_file_magic_cmd
5475deplibs_check_method=$lt_cv_deplibs_check_method
5476test -z "$deplibs_check_method" && deplibs_check_method=unknown
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499if test -n "$ac_tool_prefix"; then
5500  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5501set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503$as_echo_n "checking for $ac_word... " >&6; }
5504if ${ac_cv_prog_DLLTOOL+:} false; then :
5505  $as_echo_n "(cached) " >&6
5506else
5507  if test -n "$DLLTOOL"; then
5508  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5509else
5510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511for as_dir in $PATH
5512do
5513  IFS=$as_save_IFS
5514  test -z "$as_dir" && as_dir=.
5515    for ac_exec_ext in '' $ac_executable_extensions; do
5516  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5517    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5518    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5519    break 2
5520  fi
5521done
5522  done
5523IFS=$as_save_IFS
5524
5525fi
5526fi
5527DLLTOOL=$ac_cv_prog_DLLTOOL
5528if test -n "$DLLTOOL"; then
5529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5530$as_echo "$DLLTOOL" >&6; }
5531else
5532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533$as_echo "no" >&6; }
5534fi
5535
5536
5537fi
5538if test -z "$ac_cv_prog_DLLTOOL"; then
5539  ac_ct_DLLTOOL=$DLLTOOL
5540  # Extract the first word of "dlltool", so it can be a program name with args.
5541set dummy dlltool; ac_word=$2
5542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543$as_echo_n "checking for $ac_word... " >&6; }
5544if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5545  $as_echo_n "(cached) " >&6
5546else
5547  if test -n "$ac_ct_DLLTOOL"; then
5548  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5549else
5550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551for as_dir in $PATH
5552do
5553  IFS=$as_save_IFS
5554  test -z "$as_dir" && as_dir=.
5555    for ac_exec_ext in '' $ac_executable_extensions; do
5556  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5557    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5558    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5559    break 2
5560  fi
5561done
5562  done
5563IFS=$as_save_IFS
5564
5565fi
5566fi
5567ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5568if test -n "$ac_ct_DLLTOOL"; then
5569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5570$as_echo "$ac_ct_DLLTOOL" >&6; }
5571else
5572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573$as_echo "no" >&6; }
5574fi
5575
5576  if test "x$ac_ct_DLLTOOL" = x; then
5577    DLLTOOL="false"
5578  else
5579    case $cross_compiling:$ac_tool_warned in
5580yes:)
5581{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5582$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5583ac_tool_warned=yes ;;
5584esac
5585    DLLTOOL=$ac_ct_DLLTOOL
5586  fi
5587else
5588  DLLTOOL="$ac_cv_prog_DLLTOOL"
5589fi
5590
5591test -z "$DLLTOOL" && DLLTOOL=dlltool
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5603$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5604if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5605  $as_echo_n "(cached) " >&6
5606else
5607  lt_cv_sharedlib_from_linklib_cmd='unknown'
5608
5609case $host_os in
5610cygwin* | mingw* | pw32* | cegcc*)
5611  # two different shell functions defined in ltmain.sh;
5612  # decide which one to use based on capabilities of $DLLTOOL
5613  case `$DLLTOOL --help 2>&1` in
5614  *--identify-strict*)
5615    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5616    ;;
5617  *)
5618    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5619    ;;
5620  esac
5621  ;;
5622*)
5623  # fallback: assume linklib IS sharedlib
5624  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5625  ;;
5626esac
5627
5628fi
5629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5630$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5631sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5632test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5633
5634
5635
5636
5637
5638
5639
5640
5641if test -n "$ac_tool_prefix"; then
5642  for ac_prog in ar
5643  do
5644    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5645set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647$as_echo_n "checking for $ac_word... " >&6; }
5648if ${ac_cv_prog_AR+:} false; then :
5649  $as_echo_n "(cached) " >&6
5650else
5651  if test -n "$AR"; then
5652  ac_cv_prog_AR="$AR" # Let the user override the test.
5653else
5654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655for as_dir in $PATH
5656do
5657  IFS=$as_save_IFS
5658  test -z "$as_dir" && as_dir=.
5659    for ac_exec_ext in '' $ac_executable_extensions; do
5660  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5661    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5662    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5663    break 2
5664  fi
5665done
5666  done
5667IFS=$as_save_IFS
5668
5669fi
5670fi
5671AR=$ac_cv_prog_AR
5672if test -n "$AR"; then
5673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5674$as_echo "$AR" >&6; }
5675else
5676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677$as_echo "no" >&6; }
5678fi
5679
5680
5681    test -n "$AR" && break
5682  done
5683fi
5684if test -z "$AR"; then
5685  ac_ct_AR=$AR
5686  for ac_prog in ar
5687do
5688  # Extract the first word of "$ac_prog", so it can be a program name with args.
5689set dummy $ac_prog; ac_word=$2
5690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5691$as_echo_n "checking for $ac_word... " >&6; }
5692if ${ac_cv_prog_ac_ct_AR+:} false; then :
5693  $as_echo_n "(cached) " >&6
5694else
5695  if test -n "$ac_ct_AR"; then
5696  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5697else
5698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699for as_dir in $PATH
5700do
5701  IFS=$as_save_IFS
5702  test -z "$as_dir" && as_dir=.
5703    for ac_exec_ext in '' $ac_executable_extensions; do
5704  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5705    ac_cv_prog_ac_ct_AR="$ac_prog"
5706    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5707    break 2
5708  fi
5709done
5710  done
5711IFS=$as_save_IFS
5712
5713fi
5714fi
5715ac_ct_AR=$ac_cv_prog_ac_ct_AR
5716if test -n "$ac_ct_AR"; then
5717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5718$as_echo "$ac_ct_AR" >&6; }
5719else
5720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721$as_echo "no" >&6; }
5722fi
5723
5724
5725  test -n "$ac_ct_AR" && break
5726done
5727
5728  if test "x$ac_ct_AR" = x; then
5729    AR="false"
5730  else
5731    case $cross_compiling:$ac_tool_warned in
5732yes:)
5733{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5734$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5735ac_tool_warned=yes ;;
5736esac
5737    AR=$ac_ct_AR
5738  fi
5739fi
5740
5741: ${AR=ar}
5742: ${AR_FLAGS=cr}
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5755$as_echo_n "checking for archiver @FILE support... " >&6; }
5756if ${lt_cv_ar_at_file+:} false; then :
5757  $as_echo_n "(cached) " >&6
5758else
5759  lt_cv_ar_at_file=no
5760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5761/* end confdefs.h.  */
5762
5763int
5764main ()
5765{
5766
5767  ;
5768  return 0;
5769}
5770_ACEOF
5771if ac_fn_c_try_compile "$LINENO"; then :
5772  echo conftest.$ac_objext > conftest.lst
5773      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5774      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5775  (eval $lt_ar_try) 2>&5
5776  ac_status=$?
5777  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5778  test $ac_status = 0; }
5779      if test 0 -eq "$ac_status"; then
5780	# Ensure the archiver fails upon bogus file names.
5781	rm -f conftest.$ac_objext libconftest.a
5782	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5783  (eval $lt_ar_try) 2>&5
5784  ac_status=$?
5785  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5786  test $ac_status = 0; }
5787	if test 0 -ne "$ac_status"; then
5788          lt_cv_ar_at_file=@
5789        fi
5790      fi
5791      rm -f conftest.* libconftest.a
5792
5793fi
5794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5795
5796fi
5797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5798$as_echo "$lt_cv_ar_at_file" >&6; }
5799
5800if test no = "$lt_cv_ar_at_file"; then
5801  archiver_list_spec=
5802else
5803  archiver_list_spec=$lt_cv_ar_at_file
5804fi
5805
5806
5807
5808
5809
5810
5811
5812if test -n "$ac_tool_prefix"; then
5813  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5814set dummy ${ac_tool_prefix}strip; ac_word=$2
5815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816$as_echo_n "checking for $ac_word... " >&6; }
5817if ${ac_cv_prog_STRIP+:} false; then :
5818  $as_echo_n "(cached) " >&6
5819else
5820  if test -n "$STRIP"; then
5821  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5822else
5823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824for as_dir in $PATH
5825do
5826  IFS=$as_save_IFS
5827  test -z "$as_dir" && as_dir=.
5828    for ac_exec_ext in '' $ac_executable_extensions; do
5829  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5830    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5831    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832    break 2
5833  fi
5834done
5835  done
5836IFS=$as_save_IFS
5837
5838fi
5839fi
5840STRIP=$ac_cv_prog_STRIP
5841if test -n "$STRIP"; then
5842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5843$as_echo "$STRIP" >&6; }
5844else
5845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846$as_echo "no" >&6; }
5847fi
5848
5849
5850fi
5851if test -z "$ac_cv_prog_STRIP"; then
5852  ac_ct_STRIP=$STRIP
5853  # Extract the first word of "strip", so it can be a program name with args.
5854set dummy strip; ac_word=$2
5855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856$as_echo_n "checking for $ac_word... " >&6; }
5857if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5858  $as_echo_n "(cached) " >&6
5859else
5860  if test -n "$ac_ct_STRIP"; then
5861  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5862else
5863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864for as_dir in $PATH
5865do
5866  IFS=$as_save_IFS
5867  test -z "$as_dir" && as_dir=.
5868    for ac_exec_ext in '' $ac_executable_extensions; do
5869  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5870    ac_cv_prog_ac_ct_STRIP="strip"
5871    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872    break 2
5873  fi
5874done
5875  done
5876IFS=$as_save_IFS
5877
5878fi
5879fi
5880ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5881if test -n "$ac_ct_STRIP"; then
5882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5883$as_echo "$ac_ct_STRIP" >&6; }
5884else
5885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886$as_echo "no" >&6; }
5887fi
5888
5889  if test "x$ac_ct_STRIP" = x; then
5890    STRIP=":"
5891  else
5892    case $cross_compiling:$ac_tool_warned in
5893yes:)
5894{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5895$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5896ac_tool_warned=yes ;;
5897esac
5898    STRIP=$ac_ct_STRIP
5899  fi
5900else
5901  STRIP="$ac_cv_prog_STRIP"
5902fi
5903
5904test -z "$STRIP" && STRIP=:
5905
5906
5907
5908
5909
5910
5911if test -n "$ac_tool_prefix"; then
5912  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5913set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915$as_echo_n "checking for $ac_word... " >&6; }
5916if ${ac_cv_prog_RANLIB+:} false; then :
5917  $as_echo_n "(cached) " >&6
5918else
5919  if test -n "$RANLIB"; then
5920  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5921else
5922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923for as_dir in $PATH
5924do
5925  IFS=$as_save_IFS
5926  test -z "$as_dir" && as_dir=.
5927    for ac_exec_ext in '' $ac_executable_extensions; do
5928  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5929    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5930    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931    break 2
5932  fi
5933done
5934  done
5935IFS=$as_save_IFS
5936
5937fi
5938fi
5939RANLIB=$ac_cv_prog_RANLIB
5940if test -n "$RANLIB"; then
5941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5942$as_echo "$RANLIB" >&6; }
5943else
5944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945$as_echo "no" >&6; }
5946fi
5947
5948
5949fi
5950if test -z "$ac_cv_prog_RANLIB"; then
5951  ac_ct_RANLIB=$RANLIB
5952  # Extract the first word of "ranlib", so it can be a program name with args.
5953set dummy ranlib; ac_word=$2
5954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955$as_echo_n "checking for $ac_word... " >&6; }
5956if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5957  $as_echo_n "(cached) " >&6
5958else
5959  if test -n "$ac_ct_RANLIB"; then
5960  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5961else
5962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963for as_dir in $PATH
5964do
5965  IFS=$as_save_IFS
5966  test -z "$as_dir" && as_dir=.
5967    for ac_exec_ext in '' $ac_executable_extensions; do
5968  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969    ac_cv_prog_ac_ct_RANLIB="ranlib"
5970    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971    break 2
5972  fi
5973done
5974  done
5975IFS=$as_save_IFS
5976
5977fi
5978fi
5979ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5980if test -n "$ac_ct_RANLIB"; then
5981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5982$as_echo "$ac_ct_RANLIB" >&6; }
5983else
5984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985$as_echo "no" >&6; }
5986fi
5987
5988  if test "x$ac_ct_RANLIB" = x; then
5989    RANLIB=":"
5990  else
5991    case $cross_compiling:$ac_tool_warned in
5992yes:)
5993{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5994$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5995ac_tool_warned=yes ;;
5996esac
5997    RANLIB=$ac_ct_RANLIB
5998  fi
5999else
6000  RANLIB="$ac_cv_prog_RANLIB"
6001fi
6002
6003test -z "$RANLIB" && RANLIB=:
6004
6005
6006
6007
6008
6009
6010# Determine commands to create old-style static archives.
6011old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6012old_postinstall_cmds='chmod 644 $oldlib'
6013old_postuninstall_cmds=
6014
6015if test -n "$RANLIB"; then
6016  case $host_os in
6017  bitrig* | openbsd*)
6018    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6019    ;;
6020  *)
6021    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6022    ;;
6023  esac
6024  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6025fi
6026
6027case $host_os in
6028  darwin*)
6029    lock_old_archive_extraction=yes ;;
6030  *)
6031    lock_old_archive_extraction=no ;;
6032esac
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072# If no C compiler was specified, use CC.
6073LTCC=${LTCC-"$CC"}
6074
6075# If no C compiler flags were specified, use CFLAGS.
6076LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6077
6078# Allow CC to be a program name with arguments.
6079compiler=$CC
6080
6081
6082# Check for command to grab the raw symbol name followed by C symbol from nm.
6083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6084$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6085if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6086  $as_echo_n "(cached) " >&6
6087else
6088
6089# These are sane defaults that work on at least a few old systems.
6090# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6091
6092# Character class describing NM global symbol codes.
6093symcode='[BCDEGRST]'
6094
6095# Regexp to match symbols that can be accessed directly from C.
6096sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6097
6098# Define system-specific variables.
6099case $host_os in
6100aix*)
6101  symcode='[BCDT]'
6102  ;;
6103cygwin* | mingw* | pw32* | cegcc*)
6104  symcode='[ABCDGISTW]'
6105  ;;
6106hpux*)
6107  if test ia64 = "$host_cpu"; then
6108    symcode='[ABCDEGRST]'
6109  fi
6110  ;;
6111irix* | nonstopux*)
6112  symcode='[BCDEGRST]'
6113  ;;
6114osf*)
6115  symcode='[BCDEGQRST]'
6116  ;;
6117solaris*)
6118  symcode='[BDRT]'
6119  ;;
6120sco3.2v5*)
6121  symcode='[DT]'
6122  ;;
6123sysv4.2uw2*)
6124  symcode='[DT]'
6125  ;;
6126sysv5* | sco5v6* | unixware* | OpenUNIX*)
6127  symcode='[ABDT]'
6128  ;;
6129sysv4)
6130  symcode='[DFNSTU]'
6131  ;;
6132esac
6133
6134# If we're using GNU nm, then use its standard symbol codes.
6135case `$NM -V 2>&1` in
6136*GNU* | *'with BFD'*)
6137  symcode='[ABCDGIRSTW]' ;;
6138esac
6139
6140if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6141  # Gets list of data symbols to import.
6142  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6143  # Adjust the below global symbol transforms to fixup imported variables.
6144  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6145  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6146  lt_c_name_lib_hook="\
6147  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6148  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6149else
6150  # Disable hooks by default.
6151  lt_cv_sys_global_symbol_to_import=
6152  lt_cdecl_hook=
6153  lt_c_name_hook=
6154  lt_c_name_lib_hook=
6155fi
6156
6157# Transform an extracted symbol line into a proper C declaration.
6158# Some systems (esp. on ia64) link data and code symbols differently,
6159# so use this general approach.
6160lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6161$lt_cdecl_hook\
6162" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6163" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6164
6165# Transform an extracted symbol line into symbol name and symbol address
6166lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6167$lt_c_name_hook\
6168" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6169" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6170
6171# Transform an extracted symbol line into symbol name with lib prefix and
6172# symbol address.
6173lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6174$lt_c_name_lib_hook\
6175" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6176" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6177" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6178
6179# Handle CRLF in mingw tool chain
6180opt_cr=
6181case $build_os in
6182mingw*)
6183  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6184  ;;
6185esac
6186
6187# Try without a prefix underscore, then with it.
6188for ac_symprfx in "" "_"; do
6189
6190  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6191  symxfrm="\\1 $ac_symprfx\\2 \\2"
6192
6193  # Write the raw and C identifiers.
6194  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6195    # Fake it for dumpbin and say T for any non-static function,
6196    # D for any global variable and I for any imported variable.
6197    # Also find C++ and __fastcall symbols from MSVC++,
6198    # which start with @ or ?.
6199    lt_cv_sys_global_symbol_pipe="$AWK '"\
6200"     {last_section=section; section=\$ 3};"\
6201"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6202"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6203"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6204"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6205"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6206"     \$ 0!~/External *\|/{next};"\
6207"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6208"     {if(hide[section]) next};"\
6209"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6210"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6211"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6212"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6213"     ' prfx=^$ac_symprfx"
6214  else
6215    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6216  fi
6217  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6218
6219  # Check to see that the pipe works correctly.
6220  pipe_works=no
6221
6222  rm -f conftest*
6223  cat > conftest.$ac_ext <<_LT_EOF
6224#ifdef __cplusplus
6225extern "C" {
6226#endif
6227char nm_test_var;
6228void nm_test_func(void);
6229void nm_test_func(void){}
6230#ifdef __cplusplus
6231}
6232#endif
6233int main(){nm_test_var='a';nm_test_func();return(0);}
6234_LT_EOF
6235
6236  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6237  (eval $ac_compile) 2>&5
6238  ac_status=$?
6239  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6240  test $ac_status = 0; }; then
6241    # Now try to grab the symbols.
6242    nlist=conftest.nm
6243    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6244    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6245      # Try sorting and uniquifying the output.
6246      if sort "$nlist" | uniq > "$nlist"T; then
6247	mv -f "$nlist"T "$nlist"
6248      else
6249	rm -f "$nlist"T
6250      fi
6251
6252      # Make sure that we snagged all the symbols we need.
6253      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6254	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6255	  cat <<_LT_EOF > conftest.$ac_ext
6256/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6257#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6258/* DATA imports from DLLs on WIN32 can't be const, because runtime
6259   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6260# define LT_DLSYM_CONST
6261#elif defined __osf__
6262/* This system does not cope well with relocations in const data.  */
6263# define LT_DLSYM_CONST
6264#else
6265# define LT_DLSYM_CONST const
6266#endif
6267
6268#ifdef __cplusplus
6269extern "C" {
6270#endif
6271
6272_LT_EOF
6273	  # Now generate the symbol file.
6274	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6275
6276	  cat <<_LT_EOF >> conftest.$ac_ext
6277
6278/* The mapping between symbol names and symbols.  */
6279LT_DLSYM_CONST struct {
6280  const char *name;
6281  void       *address;
6282}
6283lt__PROGRAM__LTX_preloaded_symbols[] =
6284{
6285  { "@PROGRAM@", (void *) 0 },
6286_LT_EOF
6287	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6288	  cat <<\_LT_EOF >> conftest.$ac_ext
6289  {0, (void *) 0}
6290};
6291
6292/* This works around a problem in FreeBSD linker */
6293#ifdef FREEBSD_WORKAROUND
6294static const void *lt_preloaded_setup() {
6295  return lt__PROGRAM__LTX_preloaded_symbols;
6296}
6297#endif
6298
6299#ifdef __cplusplus
6300}
6301#endif
6302_LT_EOF
6303	  # Now try linking the two files.
6304	  mv conftest.$ac_objext conftstm.$ac_objext
6305	  lt_globsym_save_LIBS=$LIBS
6306	  lt_globsym_save_CFLAGS=$CFLAGS
6307	  LIBS=conftstm.$ac_objext
6308	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6309	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6310  (eval $ac_link) 2>&5
6311  ac_status=$?
6312  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6313  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6314	    pipe_works=yes
6315	  fi
6316	  LIBS=$lt_globsym_save_LIBS
6317	  CFLAGS=$lt_globsym_save_CFLAGS
6318	else
6319	  echo "cannot find nm_test_func in $nlist" >&5
6320	fi
6321      else
6322	echo "cannot find nm_test_var in $nlist" >&5
6323      fi
6324    else
6325      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6326    fi
6327  else
6328    echo "$progname: failed program was:" >&5
6329    cat conftest.$ac_ext >&5
6330  fi
6331  rm -rf conftest* conftst*
6332
6333  # Do not use the global_symbol_pipe unless it works.
6334  if test yes = "$pipe_works"; then
6335    break
6336  else
6337    lt_cv_sys_global_symbol_pipe=
6338  fi
6339done
6340
6341fi
6342
6343if test -z "$lt_cv_sys_global_symbol_pipe"; then
6344  lt_cv_sys_global_symbol_to_cdecl=
6345fi
6346if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6348$as_echo "failed" >&6; }
6349else
6350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6351$as_echo "ok" >&6; }
6352fi
6353
6354# Response file support.
6355if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6356  nm_file_list_spec='@'
6357elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6358  nm_file_list_spec='@'
6359fi
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6398$as_echo_n "checking for sysroot... " >&6; }
6399
6400# Check whether --with-sysroot was given.
6401if test "${with_sysroot+set}" = set; then :
6402  withval=$with_sysroot;
6403else
6404  with_sysroot=no
6405fi
6406
6407
6408lt_sysroot=
6409case $with_sysroot in #(
6410 yes)
6411   if test yes = "$GCC"; then
6412     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6413   fi
6414   ;; #(
6415 /*)
6416   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6417   ;; #(
6418 no|'')
6419   ;; #(
6420 *)
6421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6422$as_echo "$with_sysroot" >&6; }
6423   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6424   ;;
6425esac
6426
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6428$as_echo "${lt_sysroot:-no}" >&6; }
6429
6430
6431
6432
6433
6434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6435$as_echo_n "checking for a working dd... " >&6; }
6436if ${ac_cv_path_lt_DD+:} false; then :
6437  $as_echo_n "(cached) " >&6
6438else
6439  printf 0123456789abcdef0123456789abcdef >conftest.i
6440cat conftest.i conftest.i >conftest2.i
6441: ${lt_DD:=$DD}
6442if test -z "$lt_DD"; then
6443  ac_path_lt_DD_found=false
6444  # Loop through the user's path and test for each of PROGNAME-LIST
6445  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446for as_dir in $PATH
6447do
6448  IFS=$as_save_IFS
6449  test -z "$as_dir" && as_dir=.
6450    for ac_prog in dd; do
6451    for ac_exec_ext in '' $ac_executable_extensions; do
6452      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6453      as_fn_executable_p "$ac_path_lt_DD" || continue
6454if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6455  cmp -s conftest.i conftest.out \
6456  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6457fi
6458      $ac_path_lt_DD_found && break 3
6459    done
6460  done
6461  done
6462IFS=$as_save_IFS
6463  if test -z "$ac_cv_path_lt_DD"; then
6464    :
6465  fi
6466else
6467  ac_cv_path_lt_DD=$lt_DD
6468fi
6469
6470rm -f conftest.i conftest2.i conftest.out
6471fi
6472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6473$as_echo "$ac_cv_path_lt_DD" >&6; }
6474
6475
6476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6477$as_echo_n "checking how to truncate binary pipes... " >&6; }
6478if ${lt_cv_truncate_bin+:} false; then :
6479  $as_echo_n "(cached) " >&6
6480else
6481  printf 0123456789abcdef0123456789abcdef >conftest.i
6482cat conftest.i conftest.i >conftest2.i
6483lt_cv_truncate_bin=
6484if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6485  cmp -s conftest.i conftest.out \
6486  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6487fi
6488rm -f conftest.i conftest2.i conftest.out
6489test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6490fi
6491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6492$as_echo "$lt_cv_truncate_bin" >&6; }
6493
6494
6495
6496
6497
6498
6499
6500# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6501func_cc_basename ()
6502{
6503    for cc_temp in $*""; do
6504      case $cc_temp in
6505        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6506        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6507        \-*) ;;
6508        *) break;;
6509      esac
6510    done
6511    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6512}
6513
6514# Check whether --enable-libtool-lock was given.
6515if test "${enable_libtool_lock+set}" = set; then :
6516  enableval=$enable_libtool_lock;
6517fi
6518
6519test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6520
6521# Some flags need to be propagated to the compiler or linker for good
6522# libtool support.
6523case $host in
6524ia64-*-hpux*)
6525  # Find out what ABI is being produced by ac_compile, and set mode
6526  # options accordingly.
6527  echo 'int i;' > conftest.$ac_ext
6528  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6529  (eval $ac_compile) 2>&5
6530  ac_status=$?
6531  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6532  test $ac_status = 0; }; then
6533    case `/usr/bin/file conftest.$ac_objext` in
6534      *ELF-32*)
6535	HPUX_IA64_MODE=32
6536	;;
6537      *ELF-64*)
6538	HPUX_IA64_MODE=64
6539	;;
6540    esac
6541  fi
6542  rm -rf conftest*
6543  ;;
6544*-*-irix6*)
6545  # Find out what ABI is being produced by ac_compile, and set linker
6546  # options accordingly.
6547  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6548  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6549  (eval $ac_compile) 2>&5
6550  ac_status=$?
6551  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6552  test $ac_status = 0; }; then
6553    if test yes = "$lt_cv_prog_gnu_ld"; then
6554      case `/usr/bin/file conftest.$ac_objext` in
6555	*32-bit*)
6556	  LD="${LD-ld} -melf32bsmip"
6557	  ;;
6558	*N32*)
6559	  LD="${LD-ld} -melf32bmipn32"
6560	  ;;
6561	*64-bit*)
6562	  LD="${LD-ld} -melf64bmip"
6563	;;
6564      esac
6565    else
6566      case `/usr/bin/file conftest.$ac_objext` in
6567	*32-bit*)
6568	  LD="${LD-ld} -32"
6569	  ;;
6570	*N32*)
6571	  LD="${LD-ld} -n32"
6572	  ;;
6573	*64-bit*)
6574	  LD="${LD-ld} -64"
6575	  ;;
6576      esac
6577    fi
6578  fi
6579  rm -rf conftest*
6580  ;;
6581
6582mips64*-*linux*)
6583  # Find out what ABI is being produced by ac_compile, and set linker
6584  # options accordingly.
6585  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6586  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6587  (eval $ac_compile) 2>&5
6588  ac_status=$?
6589  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6590  test $ac_status = 0; }; then
6591    emul=elf
6592    case `/usr/bin/file conftest.$ac_objext` in
6593      *32-bit*)
6594	emul="${emul}32"
6595	;;
6596      *64-bit*)
6597	emul="${emul}64"
6598	;;
6599    esac
6600    case `/usr/bin/file conftest.$ac_objext` in
6601      *MSB*)
6602	emul="${emul}btsmip"
6603	;;
6604      *LSB*)
6605	emul="${emul}ltsmip"
6606	;;
6607    esac
6608    case `/usr/bin/file conftest.$ac_objext` in
6609      *N32*)
6610	emul="${emul}n32"
6611	;;
6612    esac
6613    LD="${LD-ld} -m $emul"
6614  fi
6615  rm -rf conftest*
6616  ;;
6617
6618x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6619s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6620  # Find out what ABI is being produced by ac_compile, and set linker
6621  # options accordingly.  Note that the listed cases only cover the
6622  # situations where additional linker options are needed (such as when
6623  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6624  # vice versa); the common cases where no linker options are needed do
6625  # not appear in the list.
6626  echo 'int i;' > conftest.$ac_ext
6627  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6628  (eval $ac_compile) 2>&5
6629  ac_status=$?
6630  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6631  test $ac_status = 0; }; then
6632    case `/usr/bin/file conftest.o` in
6633      *32-bit*)
6634	case $host in
6635	  x86_64-*kfreebsd*-gnu)
6636	    LD="${LD-ld} -m elf_i386_fbsd"
6637	    ;;
6638	  x86_64-*linux*)
6639	    case `/usr/bin/file conftest.o` in
6640	      *x86-64*)
6641		LD="${LD-ld} -m elf32_x86_64"
6642		;;
6643	      *)
6644		LD="${LD-ld} -m elf_i386"
6645		;;
6646	    esac
6647	    ;;
6648	  powerpc64le-*linux*)
6649	    LD="${LD-ld} -m elf32lppclinux"
6650	    ;;
6651	  powerpc64-*linux*)
6652	    LD="${LD-ld} -m elf32ppclinux"
6653	    ;;
6654	  s390x-*linux*)
6655	    LD="${LD-ld} -m elf_s390"
6656	    ;;
6657	  sparc64-*linux*)
6658	    LD="${LD-ld} -m elf32_sparc"
6659	    ;;
6660	esac
6661	;;
6662      *64-bit*)
6663	case $host in
6664	  x86_64-*kfreebsd*-gnu)
6665	    LD="${LD-ld} -m elf_x86_64_fbsd"
6666	    ;;
6667	  x86_64-*linux*)
6668	    LD="${LD-ld} -m elf_x86_64"
6669	    ;;
6670	  powerpcle-*linux*)
6671	    LD="${LD-ld} -m elf64lppc"
6672	    ;;
6673	  powerpc-*linux*)
6674	    LD="${LD-ld} -m elf64ppc"
6675	    ;;
6676	  s390*-*linux*|s390*-*tpf*)
6677	    LD="${LD-ld} -m elf64_s390"
6678	    ;;
6679	  sparc*-*linux*)
6680	    LD="${LD-ld} -m elf64_sparc"
6681	    ;;
6682	esac
6683	;;
6684    esac
6685  fi
6686  rm -rf conftest*
6687  ;;
6688
6689*-*-sco3.2v5*)
6690  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6691  SAVE_CFLAGS=$CFLAGS
6692  CFLAGS="$CFLAGS -belf"
6693  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6694$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6695if ${lt_cv_cc_needs_belf+:} false; then :
6696  $as_echo_n "(cached) " >&6
6697else
6698  ac_ext=c
6699ac_cpp='$CPP $CPPFLAGS'
6700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6702ac_compiler_gnu=$ac_cv_c_compiler_gnu
6703
6704     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6705/* end confdefs.h.  */
6706
6707int
6708main ()
6709{
6710
6711  ;
6712  return 0;
6713}
6714_ACEOF
6715if ac_fn_c_try_link "$LINENO"; then :
6716  lt_cv_cc_needs_belf=yes
6717else
6718  lt_cv_cc_needs_belf=no
6719fi
6720rm -f core conftest.err conftest.$ac_objext \
6721    conftest$ac_exeext conftest.$ac_ext
6722     ac_ext=c
6723ac_cpp='$CPP $CPPFLAGS'
6724ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6725ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6726ac_compiler_gnu=$ac_cv_c_compiler_gnu
6727
6728fi
6729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6730$as_echo "$lt_cv_cc_needs_belf" >&6; }
6731  if test yes != "$lt_cv_cc_needs_belf"; then
6732    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6733    CFLAGS=$SAVE_CFLAGS
6734  fi
6735  ;;
6736*-*solaris*)
6737  # Find out what ABI is being produced by ac_compile, and set linker
6738  # options accordingly.
6739  echo 'int i;' > conftest.$ac_ext
6740  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6741  (eval $ac_compile) 2>&5
6742  ac_status=$?
6743  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6744  test $ac_status = 0; }; then
6745    case `/usr/bin/file conftest.o` in
6746    *64-bit*)
6747      case $lt_cv_prog_gnu_ld in
6748      yes*)
6749        case $host in
6750        i?86-*-solaris*|x86_64-*-solaris*)
6751          LD="${LD-ld} -m elf_x86_64"
6752          ;;
6753        sparc*-*-solaris*)
6754          LD="${LD-ld} -m elf64_sparc"
6755          ;;
6756        esac
6757        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6758        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6759          LD=${LD-ld}_sol2
6760        fi
6761        ;;
6762      *)
6763	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6764	  LD="${LD-ld} -64"
6765	fi
6766	;;
6767      esac
6768      ;;
6769    esac
6770  fi
6771  rm -rf conftest*
6772  ;;
6773esac
6774
6775need_locks=$enable_libtool_lock
6776
6777if test -n "$ac_tool_prefix"; then
6778  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6779set dummy ${ac_tool_prefix}mt; ac_word=$2
6780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781$as_echo_n "checking for $ac_word... " >&6; }
6782if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6783  $as_echo_n "(cached) " >&6
6784else
6785  if test -n "$MANIFEST_TOOL"; then
6786  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6787else
6788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789for as_dir in $PATH
6790do
6791  IFS=$as_save_IFS
6792  test -z "$as_dir" && as_dir=.
6793    for ac_exec_ext in '' $ac_executable_extensions; do
6794  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6795    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6796    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6797    break 2
6798  fi
6799done
6800  done
6801IFS=$as_save_IFS
6802
6803fi
6804fi
6805MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6806if test -n "$MANIFEST_TOOL"; then
6807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6808$as_echo "$MANIFEST_TOOL" >&6; }
6809else
6810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811$as_echo "no" >&6; }
6812fi
6813
6814
6815fi
6816if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6817  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6818  # Extract the first word of "mt", so it can be a program name with args.
6819set dummy mt; ac_word=$2
6820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821$as_echo_n "checking for $ac_word... " >&6; }
6822if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6823  $as_echo_n "(cached) " >&6
6824else
6825  if test -n "$ac_ct_MANIFEST_TOOL"; then
6826  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6827else
6828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829for as_dir in $PATH
6830do
6831  IFS=$as_save_IFS
6832  test -z "$as_dir" && as_dir=.
6833    for ac_exec_ext in '' $ac_executable_extensions; do
6834  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6835    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6836    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6837    break 2
6838  fi
6839done
6840  done
6841IFS=$as_save_IFS
6842
6843fi
6844fi
6845ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6846if test -n "$ac_ct_MANIFEST_TOOL"; then
6847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6848$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6849else
6850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851$as_echo "no" >&6; }
6852fi
6853
6854  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6855    MANIFEST_TOOL=":"
6856  else
6857    case $cross_compiling:$ac_tool_warned in
6858yes:)
6859{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6860$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6861ac_tool_warned=yes ;;
6862esac
6863    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6864  fi
6865else
6866  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6867fi
6868
6869test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6871$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6872if ${lt_cv_path_mainfest_tool+:} false; then :
6873  $as_echo_n "(cached) " >&6
6874else
6875  lt_cv_path_mainfest_tool=no
6876  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6877  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6878  cat conftest.err >&5
6879  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6880    lt_cv_path_mainfest_tool=yes
6881  fi
6882  rm -f conftest*
6883fi
6884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6885$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6886if test yes != "$lt_cv_path_mainfest_tool"; then
6887  MANIFEST_TOOL=:
6888fi
6889
6890
6891
6892
6893
6894
6895  case $host_os in
6896    rhapsody* | darwin*)
6897    if test -n "$ac_tool_prefix"; then
6898  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6899set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6901$as_echo_n "checking for $ac_word... " >&6; }
6902if ${ac_cv_prog_DSYMUTIL+:} false; then :
6903  $as_echo_n "(cached) " >&6
6904else
6905  if test -n "$DSYMUTIL"; then
6906  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6907else
6908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909for as_dir in $PATH
6910do
6911  IFS=$as_save_IFS
6912  test -z "$as_dir" && as_dir=.
6913    for ac_exec_ext in '' $ac_executable_extensions; do
6914  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6915    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6916    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6917    break 2
6918  fi
6919done
6920  done
6921IFS=$as_save_IFS
6922
6923fi
6924fi
6925DSYMUTIL=$ac_cv_prog_DSYMUTIL
6926if test -n "$DSYMUTIL"; then
6927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6928$as_echo "$DSYMUTIL" >&6; }
6929else
6930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6931$as_echo "no" >&6; }
6932fi
6933
6934
6935fi
6936if test -z "$ac_cv_prog_DSYMUTIL"; then
6937  ac_ct_DSYMUTIL=$DSYMUTIL
6938  # Extract the first word of "dsymutil", so it can be a program name with args.
6939set dummy dsymutil; ac_word=$2
6940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6941$as_echo_n "checking for $ac_word... " >&6; }
6942if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6943  $as_echo_n "(cached) " >&6
6944else
6945  if test -n "$ac_ct_DSYMUTIL"; then
6946  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6947else
6948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6949for as_dir in $PATH
6950do
6951  IFS=$as_save_IFS
6952  test -z "$as_dir" && as_dir=.
6953    for ac_exec_ext in '' $ac_executable_extensions; do
6954  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6955    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6956    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6957    break 2
6958  fi
6959done
6960  done
6961IFS=$as_save_IFS
6962
6963fi
6964fi
6965ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6966if test -n "$ac_ct_DSYMUTIL"; then
6967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6968$as_echo "$ac_ct_DSYMUTIL" >&6; }
6969else
6970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6971$as_echo "no" >&6; }
6972fi
6973
6974  if test "x$ac_ct_DSYMUTIL" = x; then
6975    DSYMUTIL=":"
6976  else
6977    case $cross_compiling:$ac_tool_warned in
6978yes:)
6979{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6980$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6981ac_tool_warned=yes ;;
6982esac
6983    DSYMUTIL=$ac_ct_DSYMUTIL
6984  fi
6985else
6986  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6987fi
6988
6989    if test -n "$ac_tool_prefix"; then
6990  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6991set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6993$as_echo_n "checking for $ac_word... " >&6; }
6994if ${ac_cv_prog_NMEDIT+:} false; then :
6995  $as_echo_n "(cached) " >&6
6996else
6997  if test -n "$NMEDIT"; then
6998  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6999else
7000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7001for as_dir in $PATH
7002do
7003  IFS=$as_save_IFS
7004  test -z "$as_dir" && as_dir=.
7005    for ac_exec_ext in '' $ac_executable_extensions; do
7006  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7007    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7008    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7009    break 2
7010  fi
7011done
7012  done
7013IFS=$as_save_IFS
7014
7015fi
7016fi
7017NMEDIT=$ac_cv_prog_NMEDIT
7018if test -n "$NMEDIT"; then
7019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7020$as_echo "$NMEDIT" >&6; }
7021else
7022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7023$as_echo "no" >&6; }
7024fi
7025
7026
7027fi
7028if test -z "$ac_cv_prog_NMEDIT"; then
7029  ac_ct_NMEDIT=$NMEDIT
7030  # Extract the first word of "nmedit", so it can be a program name with args.
7031set dummy nmedit; ac_word=$2
7032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7033$as_echo_n "checking for $ac_word... " >&6; }
7034if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7035  $as_echo_n "(cached) " >&6
7036else
7037  if test -n "$ac_ct_NMEDIT"; then
7038  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7039else
7040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041for as_dir in $PATH
7042do
7043  IFS=$as_save_IFS
7044  test -z "$as_dir" && as_dir=.
7045    for ac_exec_ext in '' $ac_executable_extensions; do
7046  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7047    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7048    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7049    break 2
7050  fi
7051done
7052  done
7053IFS=$as_save_IFS
7054
7055fi
7056fi
7057ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7058if test -n "$ac_ct_NMEDIT"; then
7059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7060$as_echo "$ac_ct_NMEDIT" >&6; }
7061else
7062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7063$as_echo "no" >&6; }
7064fi
7065
7066  if test "x$ac_ct_NMEDIT" = x; then
7067    NMEDIT=":"
7068  else
7069    case $cross_compiling:$ac_tool_warned in
7070yes:)
7071{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7072$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7073ac_tool_warned=yes ;;
7074esac
7075    NMEDIT=$ac_ct_NMEDIT
7076  fi
7077else
7078  NMEDIT="$ac_cv_prog_NMEDIT"
7079fi
7080
7081    if test -n "$ac_tool_prefix"; then
7082  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7083set dummy ${ac_tool_prefix}lipo; ac_word=$2
7084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7085$as_echo_n "checking for $ac_word... " >&6; }
7086if ${ac_cv_prog_LIPO+:} false; then :
7087  $as_echo_n "(cached) " >&6
7088else
7089  if test -n "$LIPO"; then
7090  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7091else
7092as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093for as_dir in $PATH
7094do
7095  IFS=$as_save_IFS
7096  test -z "$as_dir" && as_dir=.
7097    for ac_exec_ext in '' $ac_executable_extensions; do
7098  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7099    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7100    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7101    break 2
7102  fi
7103done
7104  done
7105IFS=$as_save_IFS
7106
7107fi
7108fi
7109LIPO=$ac_cv_prog_LIPO
7110if test -n "$LIPO"; then
7111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7112$as_echo "$LIPO" >&6; }
7113else
7114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7115$as_echo "no" >&6; }
7116fi
7117
7118
7119fi
7120if test -z "$ac_cv_prog_LIPO"; then
7121  ac_ct_LIPO=$LIPO
7122  # Extract the first word of "lipo", so it can be a program name with args.
7123set dummy lipo; ac_word=$2
7124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7125$as_echo_n "checking for $ac_word... " >&6; }
7126if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7127  $as_echo_n "(cached) " >&6
7128else
7129  if test -n "$ac_ct_LIPO"; then
7130  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7131else
7132as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7133for as_dir in $PATH
7134do
7135  IFS=$as_save_IFS
7136  test -z "$as_dir" && as_dir=.
7137    for ac_exec_ext in '' $ac_executable_extensions; do
7138  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7139    ac_cv_prog_ac_ct_LIPO="lipo"
7140    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7141    break 2
7142  fi
7143done
7144  done
7145IFS=$as_save_IFS
7146
7147fi
7148fi
7149ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7150if test -n "$ac_ct_LIPO"; then
7151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7152$as_echo "$ac_ct_LIPO" >&6; }
7153else
7154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7155$as_echo "no" >&6; }
7156fi
7157
7158  if test "x$ac_ct_LIPO" = x; then
7159    LIPO=":"
7160  else
7161    case $cross_compiling:$ac_tool_warned in
7162yes:)
7163{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7164$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7165ac_tool_warned=yes ;;
7166esac
7167    LIPO=$ac_ct_LIPO
7168  fi
7169else
7170  LIPO="$ac_cv_prog_LIPO"
7171fi
7172
7173    if test -n "$ac_tool_prefix"; then
7174  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7175set dummy ${ac_tool_prefix}otool; ac_word=$2
7176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7177$as_echo_n "checking for $ac_word... " >&6; }
7178if ${ac_cv_prog_OTOOL+:} false; then :
7179  $as_echo_n "(cached) " >&6
7180else
7181  if test -n "$OTOOL"; then
7182  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7183else
7184as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7185for as_dir in $PATH
7186do
7187  IFS=$as_save_IFS
7188  test -z "$as_dir" && as_dir=.
7189    for ac_exec_ext in '' $ac_executable_extensions; do
7190  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7191    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7192    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7193    break 2
7194  fi
7195done
7196  done
7197IFS=$as_save_IFS
7198
7199fi
7200fi
7201OTOOL=$ac_cv_prog_OTOOL
7202if test -n "$OTOOL"; then
7203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7204$as_echo "$OTOOL" >&6; }
7205else
7206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7207$as_echo "no" >&6; }
7208fi
7209
7210
7211fi
7212if test -z "$ac_cv_prog_OTOOL"; then
7213  ac_ct_OTOOL=$OTOOL
7214  # Extract the first word of "otool", so it can be a program name with args.
7215set dummy otool; ac_word=$2
7216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7217$as_echo_n "checking for $ac_word... " >&6; }
7218if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7219  $as_echo_n "(cached) " >&6
7220else
7221  if test -n "$ac_ct_OTOOL"; then
7222  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7223else
7224as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7225for as_dir in $PATH
7226do
7227  IFS=$as_save_IFS
7228  test -z "$as_dir" && as_dir=.
7229    for ac_exec_ext in '' $ac_executable_extensions; do
7230  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7231    ac_cv_prog_ac_ct_OTOOL="otool"
7232    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7233    break 2
7234  fi
7235done
7236  done
7237IFS=$as_save_IFS
7238
7239fi
7240fi
7241ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7242if test -n "$ac_ct_OTOOL"; then
7243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7244$as_echo "$ac_ct_OTOOL" >&6; }
7245else
7246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247$as_echo "no" >&6; }
7248fi
7249
7250  if test "x$ac_ct_OTOOL" = x; then
7251    OTOOL=":"
7252  else
7253    case $cross_compiling:$ac_tool_warned in
7254yes:)
7255{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7256$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7257ac_tool_warned=yes ;;
7258esac
7259    OTOOL=$ac_ct_OTOOL
7260  fi
7261else
7262  OTOOL="$ac_cv_prog_OTOOL"
7263fi
7264
7265    if test -n "$ac_tool_prefix"; then
7266  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7267set dummy ${ac_tool_prefix}otool64; ac_word=$2
7268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7269$as_echo_n "checking for $ac_word... " >&6; }
7270if ${ac_cv_prog_OTOOL64+:} false; then :
7271  $as_echo_n "(cached) " >&6
7272else
7273  if test -n "$OTOOL64"; then
7274  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7275else
7276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277for as_dir in $PATH
7278do
7279  IFS=$as_save_IFS
7280  test -z "$as_dir" && as_dir=.
7281    for ac_exec_ext in '' $ac_executable_extensions; do
7282  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7283    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7284    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7285    break 2
7286  fi
7287done
7288  done
7289IFS=$as_save_IFS
7290
7291fi
7292fi
7293OTOOL64=$ac_cv_prog_OTOOL64
7294if test -n "$OTOOL64"; then
7295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7296$as_echo "$OTOOL64" >&6; }
7297else
7298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7299$as_echo "no" >&6; }
7300fi
7301
7302
7303fi
7304if test -z "$ac_cv_prog_OTOOL64"; then
7305  ac_ct_OTOOL64=$OTOOL64
7306  # Extract the first word of "otool64", so it can be a program name with args.
7307set dummy otool64; ac_word=$2
7308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309$as_echo_n "checking for $ac_word... " >&6; }
7310if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7311  $as_echo_n "(cached) " >&6
7312else
7313  if test -n "$ac_ct_OTOOL64"; then
7314  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7315else
7316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317for as_dir in $PATH
7318do
7319  IFS=$as_save_IFS
7320  test -z "$as_dir" && as_dir=.
7321    for ac_exec_ext in '' $ac_executable_extensions; do
7322  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7323    ac_cv_prog_ac_ct_OTOOL64="otool64"
7324    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7325    break 2
7326  fi
7327done
7328  done
7329IFS=$as_save_IFS
7330
7331fi
7332fi
7333ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7334if test -n "$ac_ct_OTOOL64"; then
7335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7336$as_echo "$ac_ct_OTOOL64" >&6; }
7337else
7338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7339$as_echo "no" >&6; }
7340fi
7341
7342  if test "x$ac_ct_OTOOL64" = x; then
7343    OTOOL64=":"
7344  else
7345    case $cross_compiling:$ac_tool_warned in
7346yes:)
7347{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7348$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7349ac_tool_warned=yes ;;
7350esac
7351    OTOOL64=$ac_ct_OTOOL64
7352  fi
7353else
7354  OTOOL64="$ac_cv_prog_OTOOL64"
7355fi
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7384$as_echo_n "checking for -single_module linker flag... " >&6; }
7385if ${lt_cv_apple_cc_single_mod+:} false; then :
7386  $as_echo_n "(cached) " >&6
7387else
7388  lt_cv_apple_cc_single_mod=no
7389      if test -z "$LT_MULTI_MODULE"; then
7390	# By default we will add the -single_module flag. You can override
7391	# by either setting the environment variable LT_MULTI_MODULE
7392	# non-empty at configure time, or by adding -multi_module to the
7393	# link flags.
7394	rm -rf libconftest.dylib*
7395	echo "int foo(void){return 1;}" > conftest.c
7396	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7397-dynamiclib -Wl,-single_module conftest.c" >&5
7398	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7399	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7400        _lt_result=$?
7401	# If there is a non-empty error log, and "single_module"
7402	# appears in it, assume the flag caused a linker warning
7403        if test -s conftest.err && $GREP single_module conftest.err; then
7404	  cat conftest.err >&5
7405	# Otherwise, if the output was created with a 0 exit code from
7406	# the compiler, it worked.
7407	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7408	  lt_cv_apple_cc_single_mod=yes
7409	else
7410	  cat conftest.err >&5
7411	fi
7412	rm -rf libconftest.dylib*
7413	rm -f conftest.*
7414      fi
7415fi
7416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7417$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7418
7419    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7420$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7421if ${lt_cv_ld_exported_symbols_list+:} false; then :
7422  $as_echo_n "(cached) " >&6
7423else
7424  lt_cv_ld_exported_symbols_list=no
7425      save_LDFLAGS=$LDFLAGS
7426      echo "_main" > conftest.sym
7427      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7428      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7429/* end confdefs.h.  */
7430
7431int
7432main ()
7433{
7434
7435  ;
7436  return 0;
7437}
7438_ACEOF
7439if ac_fn_c_try_link "$LINENO"; then :
7440  lt_cv_ld_exported_symbols_list=yes
7441else
7442  lt_cv_ld_exported_symbols_list=no
7443fi
7444rm -f core conftest.err conftest.$ac_objext \
7445    conftest$ac_exeext conftest.$ac_ext
7446	LDFLAGS=$save_LDFLAGS
7447
7448fi
7449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7450$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7451
7452    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7453$as_echo_n "checking for -force_load linker flag... " >&6; }
7454if ${lt_cv_ld_force_load+:} false; then :
7455  $as_echo_n "(cached) " >&6
7456else
7457  lt_cv_ld_force_load=no
7458      cat > conftest.c << _LT_EOF
7459int forced_loaded() { return 2;}
7460_LT_EOF
7461      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7462      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7463      echo "$AR cr libconftest.a conftest.o" >&5
7464      $AR cr libconftest.a conftest.o 2>&5
7465      echo "$RANLIB libconftest.a" >&5
7466      $RANLIB libconftest.a 2>&5
7467      cat > conftest.c << _LT_EOF
7468int main() { return 0;}
7469_LT_EOF
7470      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7471      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7472      _lt_result=$?
7473      if test -s conftest.err && $GREP force_load conftest.err; then
7474	cat conftest.err >&5
7475      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7476	lt_cv_ld_force_load=yes
7477      else
7478	cat conftest.err >&5
7479      fi
7480        rm -f conftest.err libconftest.a conftest conftest.c
7481        rm -rf conftest.dSYM
7482
7483fi
7484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7485$as_echo "$lt_cv_ld_force_load" >&6; }
7486    case $host_os in
7487    rhapsody* | darwin1.[012])
7488      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7489    darwin1.*)
7490      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7491    darwin*) # darwin 5.x on
7492      # if running on 10.5 or later, the deployment target defaults
7493      # to the OS version, if on x86, and 10.4, the deployment
7494      # target defaults to 10.4. Don't you love it?
7495      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7496	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7497	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7498	10.[012][,.]*)
7499	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7500	10.*)
7501	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7502      esac
7503    ;;
7504  esac
7505    if test yes = "$lt_cv_apple_cc_single_mod"; then
7506      _lt_dar_single_mod='$single_module'
7507    fi
7508    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7509      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7510    else
7511      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7512    fi
7513    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7514      _lt_dsymutil='~$DSYMUTIL $lib || :'
7515    else
7516      _lt_dsymutil=
7517    fi
7518    ;;
7519  esac
7520
7521# func_munge_path_list VARIABLE PATH
7522# -----------------------------------
7523# VARIABLE is name of variable containing _space_ separated list of
7524# directories to be munged by the contents of PATH, which is string
7525# having a format:
7526# "DIR[:DIR]:"
7527#       string "DIR[ DIR]" will be prepended to VARIABLE
7528# ":DIR[:DIR]"
7529#       string "DIR[ DIR]" will be appended to VARIABLE
7530# "DIRP[:DIRP]::[DIRA:]DIRA"
7531#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7532#       "DIRA[ DIRA]" will be appended to VARIABLE
7533# "DIR[:DIR]"
7534#       VARIABLE will be replaced by "DIR[ DIR]"
7535func_munge_path_list ()
7536{
7537    case x$2 in
7538    x)
7539        ;;
7540    *:)
7541        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7542        ;;
7543    x:*)
7544        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7545        ;;
7546    *::*)
7547        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7548        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7549        ;;
7550    *)
7551        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7552        ;;
7553    esac
7554}
7555
7556ac_ext=c
7557ac_cpp='$CPP $CPPFLAGS'
7558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7559ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7560ac_compiler_gnu=$ac_cv_c_compiler_gnu
7561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7562$as_echo_n "checking how to run the C preprocessor... " >&6; }
7563# On Suns, sometimes $CPP names a directory.
7564if test -n "$CPP" && test -d "$CPP"; then
7565  CPP=
7566fi
7567if test -z "$CPP"; then
7568  if ${ac_cv_prog_CPP+:} false; then :
7569  $as_echo_n "(cached) " >&6
7570else
7571      # Double quotes because CPP needs to be expanded
7572    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7573    do
7574      ac_preproc_ok=false
7575for ac_c_preproc_warn_flag in '' yes
7576do
7577  # Use a header file that comes with gcc, so configuring glibc
7578  # with a fresh cross-compiler works.
7579  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7580  # <limits.h> exists even on freestanding compilers.
7581  # On the NeXT, cc -E runs the code through the compiler's parser,
7582  # not just through cpp. "Syntax error" is here to catch this case.
7583  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7584/* end confdefs.h.  */
7585#ifdef __STDC__
7586# include <limits.h>
7587#else
7588# include <assert.h>
7589#endif
7590		     Syntax error
7591_ACEOF
7592if ac_fn_c_try_cpp "$LINENO"; then :
7593
7594else
7595  # Broken: fails on valid input.
7596continue
7597fi
7598rm -f conftest.err conftest.i conftest.$ac_ext
7599
7600  # OK, works on sane cases.  Now check whether nonexistent headers
7601  # can be detected and how.
7602  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7603/* end confdefs.h.  */
7604#include <ac_nonexistent.h>
7605_ACEOF
7606if ac_fn_c_try_cpp "$LINENO"; then :
7607  # Broken: success on invalid input.
7608continue
7609else
7610  # Passes both tests.
7611ac_preproc_ok=:
7612break
7613fi
7614rm -f conftest.err conftest.i conftest.$ac_ext
7615
7616done
7617# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7618rm -f conftest.i conftest.err conftest.$ac_ext
7619if $ac_preproc_ok; then :
7620  break
7621fi
7622
7623    done
7624    ac_cv_prog_CPP=$CPP
7625
7626fi
7627  CPP=$ac_cv_prog_CPP
7628else
7629  ac_cv_prog_CPP=$CPP
7630fi
7631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7632$as_echo "$CPP" >&6; }
7633ac_preproc_ok=false
7634for ac_c_preproc_warn_flag in '' yes
7635do
7636  # Use a header file that comes with gcc, so configuring glibc
7637  # with a fresh cross-compiler works.
7638  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7639  # <limits.h> exists even on freestanding compilers.
7640  # On the NeXT, cc -E runs the code through the compiler's parser,
7641  # not just through cpp. "Syntax error" is here to catch this case.
7642  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7643/* end confdefs.h.  */
7644#ifdef __STDC__
7645# include <limits.h>
7646#else
7647# include <assert.h>
7648#endif
7649		     Syntax error
7650_ACEOF
7651if ac_fn_c_try_cpp "$LINENO"; then :
7652
7653else
7654  # Broken: fails on valid input.
7655continue
7656fi
7657rm -f conftest.err conftest.i conftest.$ac_ext
7658
7659  # OK, works on sane cases.  Now check whether nonexistent headers
7660  # can be detected and how.
7661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7662/* end confdefs.h.  */
7663#include <ac_nonexistent.h>
7664_ACEOF
7665if ac_fn_c_try_cpp "$LINENO"; then :
7666  # Broken: success on invalid input.
7667continue
7668else
7669  # Passes both tests.
7670ac_preproc_ok=:
7671break
7672fi
7673rm -f conftest.err conftest.i conftest.$ac_ext
7674
7675done
7676# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7677rm -f conftest.i conftest.err conftest.$ac_ext
7678if $ac_preproc_ok; then :
7679
7680else
7681  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7682$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7683as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7684See \`config.log' for more details" "$LINENO" 5; }
7685fi
7686
7687ac_ext=c
7688ac_cpp='$CPP $CPPFLAGS'
7689ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7690ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7691ac_compiler_gnu=$ac_cv_c_compiler_gnu
7692
7693
7694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7695$as_echo_n "checking for ANSI C header files... " >&6; }
7696if ${ac_cv_header_stdc+:} false; then :
7697  $as_echo_n "(cached) " >&6
7698else
7699  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700/* end confdefs.h.  */
7701#include <stdlib.h>
7702#include <stdarg.h>
7703#include <string.h>
7704#include <float.h>
7705
7706int
7707main ()
7708{
7709
7710  ;
7711  return 0;
7712}
7713_ACEOF
7714if ac_fn_c_try_compile "$LINENO"; then :
7715  ac_cv_header_stdc=yes
7716else
7717  ac_cv_header_stdc=no
7718fi
7719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7720
7721if test $ac_cv_header_stdc = yes; then
7722  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7723  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7724/* end confdefs.h.  */
7725#include <string.h>
7726
7727_ACEOF
7728if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7729  $EGREP "memchr" >/dev/null 2>&1; then :
7730
7731else
7732  ac_cv_header_stdc=no
7733fi
7734rm -f conftest*
7735
7736fi
7737
7738if test $ac_cv_header_stdc = yes; then
7739  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7740  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7741/* end confdefs.h.  */
7742#include <stdlib.h>
7743
7744_ACEOF
7745if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7746  $EGREP "free" >/dev/null 2>&1; then :
7747
7748else
7749  ac_cv_header_stdc=no
7750fi
7751rm -f conftest*
7752
7753fi
7754
7755if test $ac_cv_header_stdc = yes; then
7756  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7757  if test "$cross_compiling" = yes; then :
7758  :
7759else
7760  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7761/* end confdefs.h.  */
7762#include <ctype.h>
7763#include <stdlib.h>
7764#if ((' ' & 0x0FF) == 0x020)
7765# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7766# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7767#else
7768# define ISLOWER(c) \
7769		   (('a' <= (c) && (c) <= 'i') \
7770		     || ('j' <= (c) && (c) <= 'r') \
7771		     || ('s' <= (c) && (c) <= 'z'))
7772# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7773#endif
7774
7775#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7776int
7777main ()
7778{
7779  int i;
7780  for (i = 0; i < 256; i++)
7781    if (XOR (islower (i), ISLOWER (i))
7782	|| toupper (i) != TOUPPER (i))
7783      return 2;
7784  return 0;
7785}
7786_ACEOF
7787if ac_fn_c_try_run "$LINENO"; then :
7788
7789else
7790  ac_cv_header_stdc=no
7791fi
7792rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7793  conftest.$ac_objext conftest.beam conftest.$ac_ext
7794fi
7795
7796fi
7797fi
7798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7799$as_echo "$ac_cv_header_stdc" >&6; }
7800if test $ac_cv_header_stdc = yes; then
7801
7802$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7803
7804fi
7805
7806# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7807for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7808		  inttypes.h stdint.h unistd.h
7809do :
7810  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7811ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7812"
7813if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7814  cat >>confdefs.h <<_ACEOF
7815#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7816_ACEOF
7817
7818fi
7819
7820done
7821
7822
7823for ac_header in dlfcn.h
7824do :
7825  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7826"
7827if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7828  cat >>confdefs.h <<_ACEOF
7829#define HAVE_DLFCN_H 1
7830_ACEOF
7831
7832fi
7833
7834done
7835
7836
7837
7838
7839
7840# Set options
7841
7842
7843
7844        enable_dlopen=no
7845
7846
7847  enable_win32_dll=no
7848
7849
7850            # Check whether --enable-shared was given.
7851if test "${enable_shared+set}" = set; then :
7852  enableval=$enable_shared; p=${PACKAGE-default}
7853    case $enableval in
7854    yes) enable_shared=yes ;;
7855    no) enable_shared=no ;;
7856    *)
7857      enable_shared=no
7858      # Look at the argument we got.  We use all the common list separators.
7859      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7860      for pkg in $enableval; do
7861	IFS=$lt_save_ifs
7862	if test "X$pkg" = "X$p"; then
7863	  enable_shared=yes
7864	fi
7865      done
7866      IFS=$lt_save_ifs
7867      ;;
7868    esac
7869else
7870  enable_shared=yes
7871fi
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881  # Check whether --enable-static was given.
7882if test "${enable_static+set}" = set; then :
7883  enableval=$enable_static; p=${PACKAGE-default}
7884    case $enableval in
7885    yes) enable_static=yes ;;
7886    no) enable_static=no ;;
7887    *)
7888     enable_static=no
7889      # Look at the argument we got.  We use all the common list separators.
7890      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7891      for pkg in $enableval; do
7892	IFS=$lt_save_ifs
7893	if test "X$pkg" = "X$p"; then
7894	  enable_static=yes
7895	fi
7896      done
7897      IFS=$lt_save_ifs
7898      ;;
7899    esac
7900else
7901  enable_static=yes
7902fi
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913# Check whether --with-pic was given.
7914if test "${with_pic+set}" = set; then :
7915  withval=$with_pic; lt_p=${PACKAGE-default}
7916    case $withval in
7917    yes|no) pic_mode=$withval ;;
7918    *)
7919      pic_mode=default
7920      # Look at the argument we got.  We use all the common list separators.
7921      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7922      for lt_pkg in $withval; do
7923	IFS=$lt_save_ifs
7924	if test "X$lt_pkg" = "X$lt_p"; then
7925	  pic_mode=yes
7926	fi
7927      done
7928      IFS=$lt_save_ifs
7929      ;;
7930    esac
7931else
7932  pic_mode=default
7933fi
7934
7935
7936
7937
7938
7939
7940
7941
7942  # Check whether --enable-fast-install was given.
7943if test "${enable_fast_install+set}" = set; then :
7944  enableval=$enable_fast_install; p=${PACKAGE-default}
7945    case $enableval in
7946    yes) enable_fast_install=yes ;;
7947    no) enable_fast_install=no ;;
7948    *)
7949      enable_fast_install=no
7950      # Look at the argument we got.  We use all the common list separators.
7951      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7952      for pkg in $enableval; do
7953	IFS=$lt_save_ifs
7954	if test "X$pkg" = "X$p"; then
7955	  enable_fast_install=yes
7956	fi
7957      done
7958      IFS=$lt_save_ifs
7959      ;;
7960    esac
7961else
7962  enable_fast_install=yes
7963fi
7964
7965
7966
7967
7968
7969
7970
7971
7972  shared_archive_member_spec=
7973case $host,$enable_shared in
7974power*-*-aix[5-9]*,yes)
7975  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7976$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7977
7978# Check whether --with-aix-soname was given.
7979if test "${with_aix_soname+set}" = set; then :
7980  withval=$with_aix_soname; case $withval in
7981    aix|svr4|both)
7982      ;;
7983    *)
7984      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7985      ;;
7986    esac
7987    lt_cv_with_aix_soname=$with_aix_soname
7988else
7989  if ${lt_cv_with_aix_soname+:} false; then :
7990  $as_echo_n "(cached) " >&6
7991else
7992  lt_cv_with_aix_soname=aix
7993fi
7994
7995    with_aix_soname=$lt_cv_with_aix_soname
7996fi
7997
7998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7999$as_echo "$with_aix_soname" >&6; }
8000  if test aix != "$with_aix_soname"; then
8001    # For the AIX way of multilib, we name the shared archive member
8002    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8003    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8004    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8005    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8006    if test 64 = "${OBJECT_MODE-32}"; then
8007      shared_archive_member_spec=shr_64
8008    else
8009      shared_archive_member_spec=shr
8010    fi
8011  fi
8012  ;;
8013*)
8014  with_aix_soname=aix
8015  ;;
8016esac
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027# This can be used to rebuild libtool when needed
8028LIBTOOL_DEPS=$ltmain
8029
8030# Always use our own libtool.
8031LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062test -z "$LN_S" && LN_S="ln -s"
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077if test -n "${ZSH_VERSION+set}"; then
8078   setopt NO_GLOB_SUBST
8079fi
8080
8081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8082$as_echo_n "checking for objdir... " >&6; }
8083if ${lt_cv_objdir+:} false; then :
8084  $as_echo_n "(cached) " >&6
8085else
8086  rm -f .libs 2>/dev/null
8087mkdir .libs 2>/dev/null
8088if test -d .libs; then
8089  lt_cv_objdir=.libs
8090else
8091  # MS-DOS does not allow filenames that begin with a dot.
8092  lt_cv_objdir=_libs
8093fi
8094rmdir .libs 2>/dev/null
8095fi
8096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8097$as_echo "$lt_cv_objdir" >&6; }
8098objdir=$lt_cv_objdir
8099
8100
8101
8102
8103
8104cat >>confdefs.h <<_ACEOF
8105#define LT_OBJDIR "$lt_cv_objdir/"
8106_ACEOF
8107
8108
8109
8110
8111case $host_os in
8112aix3*)
8113  # AIX sometimes has problems with the GCC collect2 program.  For some
8114  # reason, if we set the COLLECT_NAMES environment variable, the problems
8115  # vanish in a puff of smoke.
8116  if test set != "${COLLECT_NAMES+set}"; then
8117    COLLECT_NAMES=
8118    export COLLECT_NAMES
8119  fi
8120  ;;
8121esac
8122
8123# Global variables:
8124ofile=libtool
8125can_build_shared=yes
8126
8127# All known linkers require a '.a' archive for static linking (except MSVC,
8128# which needs '.lib').
8129libext=a
8130
8131with_gnu_ld=$lt_cv_prog_gnu_ld
8132
8133old_CC=$CC
8134old_CFLAGS=$CFLAGS
8135
8136# Set sane defaults for various variables
8137test -z "$CC" && CC=cc
8138test -z "$LTCC" && LTCC=$CC
8139test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8140test -z "$LD" && LD=ld
8141test -z "$ac_objext" && ac_objext=o
8142
8143func_cc_basename $compiler
8144cc_basename=$func_cc_basename_result
8145
8146
8147# Only perform the check for file, if the check method requires it
8148test -z "$MAGIC_CMD" && MAGIC_CMD=file
8149case $deplibs_check_method in
8150file_magic*)
8151  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8152    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8153$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8154if ${lt_cv_path_MAGIC_CMD+:} false; then :
8155  $as_echo_n "(cached) " >&6
8156else
8157  case $MAGIC_CMD in
8158[\\/*] |  ?:[\\/]*)
8159  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8160  ;;
8161*)
8162  lt_save_MAGIC_CMD=$MAGIC_CMD
8163  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8164  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8165  for ac_dir in $ac_dummy; do
8166    IFS=$lt_save_ifs
8167    test -z "$ac_dir" && ac_dir=.
8168    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8169      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8170      if test -n "$file_magic_test_file"; then
8171	case $deplibs_check_method in
8172	"file_magic "*)
8173	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8174	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8175	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8176	    $EGREP "$file_magic_regex" > /dev/null; then
8177	    :
8178	  else
8179	    cat <<_LT_EOF 1>&2
8180
8181*** Warning: the command libtool uses to detect shared libraries,
8182*** $file_magic_cmd, produces output that libtool cannot recognize.
8183*** The result is that libtool may fail to recognize shared libraries
8184*** as such.  This will affect the creation of libtool libraries that
8185*** depend on shared libraries, but programs linked with such libtool
8186*** libraries will work regardless of this problem.  Nevertheless, you
8187*** may want to report the problem to your system manager and/or to
8188*** bug-libtool@gnu.org
8189
8190_LT_EOF
8191	  fi ;;
8192	esac
8193      fi
8194      break
8195    fi
8196  done
8197  IFS=$lt_save_ifs
8198  MAGIC_CMD=$lt_save_MAGIC_CMD
8199  ;;
8200esac
8201fi
8202
8203MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8204if test -n "$MAGIC_CMD"; then
8205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8206$as_echo "$MAGIC_CMD" >&6; }
8207else
8208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8209$as_echo "no" >&6; }
8210fi
8211
8212
8213
8214
8215
8216if test -z "$lt_cv_path_MAGIC_CMD"; then
8217  if test -n "$ac_tool_prefix"; then
8218    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8219$as_echo_n "checking for file... " >&6; }
8220if ${lt_cv_path_MAGIC_CMD+:} false; then :
8221  $as_echo_n "(cached) " >&6
8222else
8223  case $MAGIC_CMD in
8224[\\/*] |  ?:[\\/]*)
8225  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8226  ;;
8227*)
8228  lt_save_MAGIC_CMD=$MAGIC_CMD
8229  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8230  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8231  for ac_dir in $ac_dummy; do
8232    IFS=$lt_save_ifs
8233    test -z "$ac_dir" && ac_dir=.
8234    if test -f "$ac_dir/file"; then
8235      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8236      if test -n "$file_magic_test_file"; then
8237	case $deplibs_check_method in
8238	"file_magic "*)
8239	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8240	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8241	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8242	    $EGREP "$file_magic_regex" > /dev/null; then
8243	    :
8244	  else
8245	    cat <<_LT_EOF 1>&2
8246
8247*** Warning: the command libtool uses to detect shared libraries,
8248*** $file_magic_cmd, produces output that libtool cannot recognize.
8249*** The result is that libtool may fail to recognize shared libraries
8250*** as such.  This will affect the creation of libtool libraries that
8251*** depend on shared libraries, but programs linked with such libtool
8252*** libraries will work regardless of this problem.  Nevertheless, you
8253*** may want to report the problem to your system manager and/or to
8254*** bug-libtool@gnu.org
8255
8256_LT_EOF
8257	  fi ;;
8258	esac
8259      fi
8260      break
8261    fi
8262  done
8263  IFS=$lt_save_ifs
8264  MAGIC_CMD=$lt_save_MAGIC_CMD
8265  ;;
8266esac
8267fi
8268
8269MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8270if test -n "$MAGIC_CMD"; then
8271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8272$as_echo "$MAGIC_CMD" >&6; }
8273else
8274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8275$as_echo "no" >&6; }
8276fi
8277
8278
8279  else
8280    MAGIC_CMD=:
8281  fi
8282fi
8283
8284  fi
8285  ;;
8286esac
8287
8288# Use C for the default configuration in the libtool script
8289
8290lt_save_CC=$CC
8291ac_ext=c
8292ac_cpp='$CPP $CPPFLAGS'
8293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8295ac_compiler_gnu=$ac_cv_c_compiler_gnu
8296
8297
8298# Source file extension for C test sources.
8299ac_ext=c
8300
8301# Object file extension for compiled C test sources.
8302objext=o
8303objext=$objext
8304
8305# Code to be used in simple compile tests
8306lt_simple_compile_test_code="int some_variable = 0;"
8307
8308# Code to be used in simple link tests
8309lt_simple_link_test_code='int main(){return(0);}'
8310
8311
8312
8313
8314
8315
8316
8317# If no C compiler was specified, use CC.
8318LTCC=${LTCC-"$CC"}
8319
8320# If no C compiler flags were specified, use CFLAGS.
8321LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8322
8323# Allow CC to be a program name with arguments.
8324compiler=$CC
8325
8326# Save the default compiler, since it gets overwritten when the other
8327# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8328compiler_DEFAULT=$CC
8329
8330# save warnings/boilerplate of simple test code
8331ac_outfile=conftest.$ac_objext
8332echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8333eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8334_lt_compiler_boilerplate=`cat conftest.err`
8335$RM conftest*
8336
8337ac_outfile=conftest.$ac_objext
8338echo "$lt_simple_link_test_code" >conftest.$ac_ext
8339eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8340_lt_linker_boilerplate=`cat conftest.err`
8341$RM -r conftest*
8342
8343
8344## CAVEAT EMPTOR:
8345## There is no encapsulation within the following macros, do not change
8346## the running order or otherwise move them around unless you know exactly
8347## what you are doing...
8348if test -n "$compiler"; then
8349
8350lt_prog_compiler_no_builtin_flag=
8351
8352if test yes = "$GCC"; then
8353  case $cc_basename in
8354  nvcc*)
8355    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8356  *)
8357    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8358  esac
8359
8360  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8361$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8362if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8363  $as_echo_n "(cached) " >&6
8364else
8365  lt_cv_prog_compiler_rtti_exceptions=no
8366   ac_outfile=conftest.$ac_objext
8367   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8368   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8369   # Insert the option either (1) after the last *FLAGS variable, or
8370   # (2) before a word containing "conftest.", or (3) at the end.
8371   # Note that $ac_compile itself does not contain backslashes and begins
8372   # with a dollar sign (not a hyphen), so the echo should work correctly.
8373   # The option is referenced via a variable to avoid confusing sed.
8374   lt_compile=`echo "$ac_compile" | $SED \
8375   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8376   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8377   -e 's:$: $lt_compiler_flag:'`
8378   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8379   (eval "$lt_compile" 2>conftest.err)
8380   ac_status=$?
8381   cat conftest.err >&5
8382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383   if (exit $ac_status) && test -s "$ac_outfile"; then
8384     # The compiler can only warn and ignore the option if not recognized
8385     # So say no if there are warnings other than the usual output.
8386     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8387     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8388     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8389       lt_cv_prog_compiler_rtti_exceptions=yes
8390     fi
8391   fi
8392   $RM conftest*
8393
8394fi
8395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8396$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8397
8398if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8399    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8400else
8401    :
8402fi
8403
8404fi
8405
8406
8407
8408
8409
8410
8411  lt_prog_compiler_wl=
8412lt_prog_compiler_pic=
8413lt_prog_compiler_static=
8414
8415
8416  if test yes = "$GCC"; then
8417    lt_prog_compiler_wl='-Wl,'
8418    lt_prog_compiler_static='-static'
8419
8420    case $host_os in
8421      aix*)
8422      # All AIX code is PIC.
8423      if test ia64 = "$host_cpu"; then
8424	# AIX 5 now supports IA64 processor
8425	lt_prog_compiler_static='-Bstatic'
8426      fi
8427      lt_prog_compiler_pic='-fPIC'
8428      ;;
8429
8430    amigaos*)
8431      case $host_cpu in
8432      powerpc)
8433            # see comment about AmigaOS4 .so support
8434            lt_prog_compiler_pic='-fPIC'
8435        ;;
8436      m68k)
8437            # FIXME: we need at least 68020 code to build shared libraries, but
8438            # adding the '-m68020' flag to GCC prevents building anything better,
8439            # like '-m68040'.
8440            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8441        ;;
8442      esac
8443      ;;
8444
8445    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8446      # PIC is the default for these OSes.
8447      ;;
8448
8449    mingw* | cygwin* | pw32* | os2* | cegcc*)
8450      # This hack is so that the source file can tell whether it is being
8451      # built for inclusion in a dll (and should export symbols for example).
8452      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8453      # (--disable-auto-import) libraries
8454      lt_prog_compiler_pic='-DDLL_EXPORT'
8455      case $host_os in
8456      os2*)
8457	lt_prog_compiler_static='$wl-static'
8458	;;
8459      esac
8460      ;;
8461
8462    darwin* | rhapsody*)
8463      # PIC is the default on this platform
8464      # Common symbols not allowed in MH_DYLIB files
8465      lt_prog_compiler_pic='-fno-common'
8466      ;;
8467
8468    haiku*)
8469      # PIC is the default for Haiku.
8470      # The "-static" flag exists, but is broken.
8471      lt_prog_compiler_static=
8472      ;;
8473
8474    hpux*)
8475      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8476      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8477      # sets the default TLS model and affects inlining.
8478      case $host_cpu in
8479      hppa*64*)
8480	# +Z the default
8481	;;
8482      *)
8483	lt_prog_compiler_pic='-fPIC'
8484	;;
8485      esac
8486      ;;
8487
8488    interix[3-9]*)
8489      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8490      # Instead, we relocate shared libraries at runtime.
8491      ;;
8492
8493    msdosdjgpp*)
8494      # Just because we use GCC doesn't mean we suddenly get shared libraries
8495      # on systems that don't support them.
8496      lt_prog_compiler_can_build_shared=no
8497      enable_shared=no
8498      ;;
8499
8500    *nto* | *qnx*)
8501      # QNX uses GNU C++, but need to define -shared option too, otherwise
8502      # it will coredump.
8503      lt_prog_compiler_pic='-fPIC -shared'
8504      ;;
8505
8506    sysv4*MP*)
8507      if test -d /usr/nec; then
8508	lt_prog_compiler_pic=-Kconform_pic
8509      fi
8510      ;;
8511
8512    *)
8513      lt_prog_compiler_pic='-fPIC'
8514      ;;
8515    esac
8516
8517    case $cc_basename in
8518    nvcc*) # Cuda Compiler Driver 2.2
8519      lt_prog_compiler_wl='-Xlinker '
8520      if test -n "$lt_prog_compiler_pic"; then
8521        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8522      fi
8523      ;;
8524    esac
8525  else
8526    # PORTME Check for flag to pass linker flags through the system compiler.
8527    case $host_os in
8528    aix*)
8529      lt_prog_compiler_wl='-Wl,'
8530      if test ia64 = "$host_cpu"; then
8531	# AIX 5 now supports IA64 processor
8532	lt_prog_compiler_static='-Bstatic'
8533      else
8534	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8535      fi
8536      ;;
8537
8538    darwin* | rhapsody*)
8539      # PIC is the default on this platform
8540      # Common symbols not allowed in MH_DYLIB files
8541      lt_prog_compiler_pic='-fno-common'
8542      case $cc_basename in
8543      nagfor*)
8544        # NAG Fortran compiler
8545        lt_prog_compiler_wl='-Wl,-Wl,,'
8546        lt_prog_compiler_pic='-PIC'
8547        lt_prog_compiler_static='-Bstatic'
8548        ;;
8549      esac
8550      ;;
8551
8552    mingw* | cygwin* | pw32* | os2* | cegcc*)
8553      # This hack is so that the source file can tell whether it is being
8554      # built for inclusion in a dll (and should export symbols for example).
8555      lt_prog_compiler_pic='-DDLL_EXPORT'
8556      case $host_os in
8557      os2*)
8558	lt_prog_compiler_static='$wl-static'
8559	;;
8560      esac
8561      ;;
8562
8563    hpux9* | hpux10* | hpux11*)
8564      lt_prog_compiler_wl='-Wl,'
8565      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8566      # not for PA HP-UX.
8567      case $host_cpu in
8568      hppa*64*|ia64*)
8569	# +Z the default
8570	;;
8571      *)
8572	lt_prog_compiler_pic='+Z'
8573	;;
8574      esac
8575      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8576      lt_prog_compiler_static='$wl-a ${wl}archive'
8577      ;;
8578
8579    irix5* | irix6* | nonstopux*)
8580      lt_prog_compiler_wl='-Wl,'
8581      # PIC (with -KPIC) is the default.
8582      lt_prog_compiler_static='-non_shared'
8583      ;;
8584
8585    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8586      case $cc_basename in
8587      # old Intel for x86_64, which still supported -KPIC.
8588      ecc*)
8589	lt_prog_compiler_wl='-Wl,'
8590	lt_prog_compiler_pic='-KPIC'
8591	lt_prog_compiler_static='-static'
8592        ;;
8593      # flang / f18. f95 an alias for gfortran or flang on Debian
8594      flang* | f18* | f95*)
8595	lt_prog_compiler_wl='-Wl,'
8596	lt_prog_compiler_pic='-fPIC'
8597	lt_prog_compiler_static='-static'
8598        ;;
8599      # icc used to be incompatible with GCC.
8600      # ICC 10 doesn't accept -KPIC any more.
8601      icc* | ifort*)
8602	lt_prog_compiler_wl='-Wl,'
8603	lt_prog_compiler_pic='-fPIC'
8604	lt_prog_compiler_static='-static'
8605        ;;
8606      # Lahey Fortran 8.1.
8607      lf95*)
8608	lt_prog_compiler_wl='-Wl,'
8609	lt_prog_compiler_pic='--shared'
8610	lt_prog_compiler_static='--static'
8611	;;
8612      nagfor*)
8613	# NAG Fortran compiler
8614	lt_prog_compiler_wl='-Wl,-Wl,,'
8615	lt_prog_compiler_pic='-PIC'
8616	lt_prog_compiler_static='-Bstatic'
8617	;;
8618      tcc*)
8619	# Fabrice Bellard et al's Tiny C Compiler
8620	lt_prog_compiler_wl='-Wl,'
8621	lt_prog_compiler_pic='-fPIC'
8622	lt_prog_compiler_static='-static'
8623	;;
8624      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8625        # Portland Group compilers (*not* the Pentium gcc compiler,
8626	# which looks to be a dead project)
8627	lt_prog_compiler_wl='-Wl,'
8628	lt_prog_compiler_pic='-fpic'
8629	lt_prog_compiler_static='-Bstatic'
8630        ;;
8631      ccc*)
8632        lt_prog_compiler_wl='-Wl,'
8633        # All Alpha code is PIC.
8634        lt_prog_compiler_static='-non_shared'
8635        ;;
8636      xl* | bgxl* | bgf* | mpixl*)
8637	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8638	lt_prog_compiler_wl='-Wl,'
8639	lt_prog_compiler_pic='-qpic'
8640	lt_prog_compiler_static='-qstaticlink'
8641	;;
8642      *)
8643	case `$CC -V 2>&1 | sed 5q` in
8644	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8645	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8646	  lt_prog_compiler_pic='-KPIC'
8647	  lt_prog_compiler_static='-Bstatic'
8648	  lt_prog_compiler_wl=''
8649	  ;;
8650	*Sun\ F* | *Sun*Fortran*)
8651	  lt_prog_compiler_pic='-KPIC'
8652	  lt_prog_compiler_static='-Bstatic'
8653	  lt_prog_compiler_wl='-Qoption ld '
8654	  ;;
8655	*Sun\ C*)
8656	  # Sun C 5.9
8657	  lt_prog_compiler_pic='-KPIC'
8658	  lt_prog_compiler_static='-Bstatic'
8659	  lt_prog_compiler_wl='-Wl,'
8660	  ;;
8661        *Intel*\ [CF]*Compiler*)
8662	  lt_prog_compiler_wl='-Wl,'
8663	  lt_prog_compiler_pic='-fPIC'
8664	  lt_prog_compiler_static='-static'
8665	  ;;
8666	*Portland\ Group*)
8667	  lt_prog_compiler_wl='-Wl,'
8668	  lt_prog_compiler_pic='-fpic'
8669	  lt_prog_compiler_static='-Bstatic'
8670	  ;;
8671	esac
8672	;;
8673      esac
8674      ;;
8675
8676    newsos6)
8677      lt_prog_compiler_pic='-KPIC'
8678      lt_prog_compiler_static='-Bstatic'
8679      ;;
8680
8681    *nto* | *qnx*)
8682      # QNX uses GNU C++, but need to define -shared option too, otherwise
8683      # it will coredump.
8684      lt_prog_compiler_pic='-fPIC -shared'
8685      ;;
8686
8687    osf3* | osf4* | osf5*)
8688      lt_prog_compiler_wl='-Wl,'
8689      # All OSF/1 code is PIC.
8690      lt_prog_compiler_static='-non_shared'
8691      ;;
8692
8693    rdos*)
8694      lt_prog_compiler_static='-non_shared'
8695      ;;
8696
8697    solaris*)
8698      lt_prog_compiler_pic='-KPIC'
8699      lt_prog_compiler_static='-Bstatic'
8700      case $cc_basename in
8701      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8702	lt_prog_compiler_wl='-Qoption ld ';;
8703      *)
8704	lt_prog_compiler_wl='-Wl,';;
8705      esac
8706      ;;
8707
8708    sunos4*)
8709      lt_prog_compiler_wl='-Qoption ld '
8710      lt_prog_compiler_pic='-PIC'
8711      lt_prog_compiler_static='-Bstatic'
8712      ;;
8713
8714    sysv4 | sysv4.2uw2* | sysv4.3*)
8715      lt_prog_compiler_wl='-Wl,'
8716      lt_prog_compiler_pic='-KPIC'
8717      lt_prog_compiler_static='-Bstatic'
8718      ;;
8719
8720    sysv4*MP*)
8721      if test -d /usr/nec; then
8722	lt_prog_compiler_pic='-Kconform_pic'
8723	lt_prog_compiler_static='-Bstatic'
8724      fi
8725      ;;
8726
8727    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8728      lt_prog_compiler_wl='-Wl,'
8729      lt_prog_compiler_pic='-KPIC'
8730      lt_prog_compiler_static='-Bstatic'
8731      ;;
8732
8733    unicos*)
8734      lt_prog_compiler_wl='-Wl,'
8735      lt_prog_compiler_can_build_shared=no
8736      ;;
8737
8738    uts4*)
8739      lt_prog_compiler_pic='-pic'
8740      lt_prog_compiler_static='-Bstatic'
8741      ;;
8742
8743    *)
8744      lt_prog_compiler_can_build_shared=no
8745      ;;
8746    esac
8747  fi
8748
8749case $host_os in
8750  # For platforms that do not support PIC, -DPIC is meaningless:
8751  *djgpp*)
8752    lt_prog_compiler_pic=
8753    ;;
8754  *)
8755    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8756    ;;
8757esac
8758
8759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8760$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8761if ${lt_cv_prog_compiler_pic+:} false; then :
8762  $as_echo_n "(cached) " >&6
8763else
8764  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8765fi
8766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8767$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8768lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8769
8770#
8771# Check to make sure the PIC flag actually works.
8772#
8773if test -n "$lt_prog_compiler_pic"; then
8774  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8775$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8776if ${lt_cv_prog_compiler_pic_works+:} false; then :
8777  $as_echo_n "(cached) " >&6
8778else
8779  lt_cv_prog_compiler_pic_works=no
8780   ac_outfile=conftest.$ac_objext
8781   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8782   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8783   # Insert the option either (1) after the last *FLAGS variable, or
8784   # (2) before a word containing "conftest.", or (3) at the end.
8785   # Note that $ac_compile itself does not contain backslashes and begins
8786   # with a dollar sign (not a hyphen), so the echo should work correctly.
8787   # The option is referenced via a variable to avoid confusing sed.
8788   lt_compile=`echo "$ac_compile" | $SED \
8789   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8790   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8791   -e 's:$: $lt_compiler_flag:'`
8792   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8793   (eval "$lt_compile" 2>conftest.err)
8794   ac_status=$?
8795   cat conftest.err >&5
8796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797   if (exit $ac_status) && test -s "$ac_outfile"; then
8798     # The compiler can only warn and ignore the option if not recognized
8799     # So say no if there are warnings other than the usual output.
8800     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8801     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8802     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8803       lt_cv_prog_compiler_pic_works=yes
8804     fi
8805   fi
8806   $RM conftest*
8807
8808fi
8809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8810$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8811
8812if test yes = "$lt_cv_prog_compiler_pic_works"; then
8813    case $lt_prog_compiler_pic in
8814     "" | " "*) ;;
8815     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8816     esac
8817else
8818    lt_prog_compiler_pic=
8819     lt_prog_compiler_can_build_shared=no
8820fi
8821
8822fi
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834#
8835# Check to make sure the static flag actually works.
8836#
8837wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8839$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8840if ${lt_cv_prog_compiler_static_works+:} false; then :
8841  $as_echo_n "(cached) " >&6
8842else
8843  lt_cv_prog_compiler_static_works=no
8844   save_LDFLAGS=$LDFLAGS
8845   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8846   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8847   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8848     # The linker can only warn and ignore the option if not recognized
8849     # So say no if there are warnings
8850     if test -s conftest.err; then
8851       # Append any errors to the config.log.
8852       cat conftest.err 1>&5
8853       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8854       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8855       if diff conftest.exp conftest.er2 >/dev/null; then
8856         lt_cv_prog_compiler_static_works=yes
8857       fi
8858     else
8859       lt_cv_prog_compiler_static_works=yes
8860     fi
8861   fi
8862   $RM -r conftest*
8863   LDFLAGS=$save_LDFLAGS
8864
8865fi
8866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8867$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8868
8869if test yes = "$lt_cv_prog_compiler_static_works"; then
8870    :
8871else
8872    lt_prog_compiler_static=
8873fi
8874
8875
8876
8877
8878
8879
8880
8881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8882$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8883if ${lt_cv_prog_compiler_c_o+:} false; then :
8884  $as_echo_n "(cached) " >&6
8885else
8886  lt_cv_prog_compiler_c_o=no
8887   $RM -r conftest 2>/dev/null
8888   mkdir conftest
8889   cd conftest
8890   mkdir out
8891   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8892
8893   lt_compiler_flag="-o out/conftest2.$ac_objext"
8894   # Insert the option either (1) after the last *FLAGS variable, or
8895   # (2) before a word containing "conftest.", or (3) at the end.
8896   # Note that $ac_compile itself does not contain backslashes and begins
8897   # with a dollar sign (not a hyphen), so the echo should work correctly.
8898   lt_compile=`echo "$ac_compile" | $SED \
8899   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8900   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8901   -e 's:$: $lt_compiler_flag:'`
8902   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8903   (eval "$lt_compile" 2>out/conftest.err)
8904   ac_status=$?
8905   cat out/conftest.err >&5
8906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8908   then
8909     # The compiler can only warn and ignore the option if not recognized
8910     # So say no if there are warnings
8911     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8912     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8913     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8914       lt_cv_prog_compiler_c_o=yes
8915     fi
8916   fi
8917   chmod u+w . 2>&5
8918   $RM conftest*
8919   # SGI C++ compiler will create directory out/ii_files/ for
8920   # template instantiation
8921   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8922   $RM out/* && rmdir out
8923   cd ..
8924   $RM -r conftest
8925   $RM conftest*
8926
8927fi
8928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8929$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8930
8931
8932
8933
8934
8935
8936  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8937$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8938if ${lt_cv_prog_compiler_c_o+:} false; then :
8939  $as_echo_n "(cached) " >&6
8940else
8941  lt_cv_prog_compiler_c_o=no
8942   $RM -r conftest 2>/dev/null
8943   mkdir conftest
8944   cd conftest
8945   mkdir out
8946   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8947
8948   lt_compiler_flag="-o out/conftest2.$ac_objext"
8949   # Insert the option either (1) after the last *FLAGS variable, or
8950   # (2) before a word containing "conftest.", or (3) at the end.
8951   # Note that $ac_compile itself does not contain backslashes and begins
8952   # with a dollar sign (not a hyphen), so the echo should work correctly.
8953   lt_compile=`echo "$ac_compile" | $SED \
8954   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8955   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8956   -e 's:$: $lt_compiler_flag:'`
8957   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8958   (eval "$lt_compile" 2>out/conftest.err)
8959   ac_status=$?
8960   cat out/conftest.err >&5
8961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8963   then
8964     # The compiler can only warn and ignore the option if not recognized
8965     # So say no if there are warnings
8966     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8967     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8968     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8969       lt_cv_prog_compiler_c_o=yes
8970     fi
8971   fi
8972   chmod u+w . 2>&5
8973   $RM conftest*
8974   # SGI C++ compiler will create directory out/ii_files/ for
8975   # template instantiation
8976   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8977   $RM out/* && rmdir out
8978   cd ..
8979   $RM -r conftest
8980   $RM conftest*
8981
8982fi
8983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8984$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8985
8986
8987
8988
8989hard_links=nottested
8990if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8991  # do not overwrite the value of need_locks provided by the user
8992  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8993$as_echo_n "checking if we can lock with hard links... " >&6; }
8994  hard_links=yes
8995  $RM conftest*
8996  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8997  touch conftest.a
8998  ln conftest.a conftest.b 2>&5 || hard_links=no
8999  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9001$as_echo "$hard_links" >&6; }
9002  if test no = "$hard_links"; then
9003    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9004$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9005    need_locks=warn
9006  fi
9007else
9008  need_locks=no
9009fi
9010
9011
9012
9013
9014
9015
9016  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9017$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9018
9019  runpath_var=
9020  allow_undefined_flag=
9021  always_export_symbols=no
9022  archive_cmds=
9023  archive_expsym_cmds=
9024  compiler_needs_object=no
9025  enable_shared_with_static_runtimes=no
9026  export_dynamic_flag_spec=
9027  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9028  hardcode_automatic=no
9029  hardcode_direct=no
9030  hardcode_direct_absolute=no
9031  hardcode_libdir_flag_spec=
9032  hardcode_libdir_separator=
9033  hardcode_minus_L=no
9034  hardcode_shlibpath_var=unsupported
9035  inherit_rpath=no
9036  link_all_deplibs=unknown
9037  module_cmds=
9038  module_expsym_cmds=
9039  old_archive_from_new_cmds=
9040  old_archive_from_expsyms_cmds=
9041  thread_safe_flag_spec=
9042  whole_archive_flag_spec=
9043  # include_expsyms should be a list of space-separated symbols to be *always*
9044  # included in the symbol list
9045  include_expsyms=
9046  # exclude_expsyms can be an extended regexp of symbols to exclude
9047  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9048  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9049  # as well as any symbol that contains 'd'.
9050  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9051  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9052  # platforms (ab)use it in PIC code, but their linkers get confused if
9053  # the symbol is explicitly referenced.  Since portable code cannot
9054  # rely on this symbol name, it's probably fine to never include it in
9055  # preloaded symbol tables.
9056  # Exclude shared library initialization/finalization symbols.
9057  extract_expsyms_cmds=
9058
9059  case $host_os in
9060  cygwin* | mingw* | pw32* | cegcc*)
9061    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9062    # When not using gcc, we currently assume that we are using
9063    # Microsoft Visual C++.
9064    if test yes != "$GCC"; then
9065      with_gnu_ld=no
9066    fi
9067    ;;
9068  interix*)
9069    # we just hope/assume this is gcc and not c89 (= MSVC++)
9070    with_gnu_ld=yes
9071    ;;
9072  openbsd* | bitrig*)
9073    with_gnu_ld=no
9074    ;;
9075  linux* | k*bsd*-gnu | gnu*)
9076    link_all_deplibs=no
9077    ;;
9078  esac
9079
9080  ld_shlibs=yes
9081
9082  # On some targets, GNU ld is compatible enough with the native linker
9083  # that we're better off using the native interface for both.
9084  lt_use_gnu_ld_interface=no
9085  if test yes = "$with_gnu_ld"; then
9086    case $host_os in
9087      aix*)
9088	# The AIX port of GNU ld has always aspired to compatibility
9089	# with the native linker.  However, as the warning in the GNU ld
9090	# block says, versions before 2.19.5* couldn't really create working
9091	# shared libraries, regardless of the interface used.
9092	case `$LD -v 2>&1` in
9093	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9094	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9095	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9096	  *)
9097	    lt_use_gnu_ld_interface=yes
9098	    ;;
9099	esac
9100	;;
9101      *)
9102	lt_use_gnu_ld_interface=yes
9103	;;
9104    esac
9105  fi
9106
9107  if test yes = "$lt_use_gnu_ld_interface"; then
9108    # If archive_cmds runs LD, not CC, wlarc should be empty
9109    wlarc='$wl'
9110
9111    # Set some defaults for GNU ld with shared library support. These
9112    # are reset later if shared libraries are not supported. Putting them
9113    # here allows them to be overridden if necessary.
9114    runpath_var=LD_RUN_PATH
9115    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9116    export_dynamic_flag_spec='$wl--export-dynamic'
9117    # ancient GNU ld didn't support --whole-archive et. al.
9118    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9119      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9120    else
9121      whole_archive_flag_spec=
9122    fi
9123    supports_anon_versioning=no
9124    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9125      *GNU\ gold*) supports_anon_versioning=yes ;;
9126      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9127      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9128      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9129      *\ 2.11.*) ;; # other 2.11 versions
9130      *) supports_anon_versioning=yes ;;
9131    esac
9132
9133    # See if GNU ld supports shared libraries.
9134    case $host_os in
9135    aix[3-9]*)
9136      # On AIX/PPC, the GNU linker is very broken
9137      if test ia64 != "$host_cpu"; then
9138	ld_shlibs=no
9139	cat <<_LT_EOF 1>&2
9140
9141*** Warning: the GNU linker, at least up to release 2.19, is reported
9142*** to be unable to reliably create shared libraries on AIX.
9143*** Therefore, libtool is disabling shared libraries support.  If you
9144*** really care for shared libraries, you may want to install binutils
9145*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9146*** You will then need to restart the configuration process.
9147
9148_LT_EOF
9149      fi
9150      ;;
9151
9152    amigaos*)
9153      case $host_cpu in
9154      powerpc)
9155            # see comment about AmigaOS4 .so support
9156            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9157            archive_expsym_cmds=''
9158        ;;
9159      m68k)
9160            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)'
9161            hardcode_libdir_flag_spec='-L$libdir'
9162            hardcode_minus_L=yes
9163        ;;
9164      esac
9165      ;;
9166
9167    beos*)
9168      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9169	allow_undefined_flag=unsupported
9170	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9171	# support --undefined.  This deserves some investigation.  FIXME
9172	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9173      else
9174	ld_shlibs=no
9175      fi
9176      ;;
9177
9178    cygwin* | mingw* | pw32* | cegcc*)
9179      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9180      # as there is no search path for DLLs.
9181      hardcode_libdir_flag_spec='-L$libdir'
9182      export_dynamic_flag_spec='$wl--export-all-symbols'
9183      allow_undefined_flag=unsupported
9184      always_export_symbols=no
9185      enable_shared_with_static_runtimes=yes
9186      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'
9187      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9188
9189      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9190        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9191	# If the export-symbols file already is a .def file, use it as
9192	# is; otherwise, prepend EXPORTS...
9193	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9194          cp $export_symbols $output_objdir/$soname.def;
9195        else
9196          echo EXPORTS > $output_objdir/$soname.def;
9197          cat $export_symbols >> $output_objdir/$soname.def;
9198        fi~
9199        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9200      else
9201	ld_shlibs=no
9202      fi
9203      ;;
9204
9205    haiku*)
9206      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9207      link_all_deplibs=yes
9208      ;;
9209
9210    os2*)
9211      hardcode_libdir_flag_spec='-L$libdir'
9212      hardcode_minus_L=yes
9213      allow_undefined_flag=unsupported
9214      shrext_cmds=.dll
9215      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9216	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9217	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9218	$ECHO EXPORTS >> $output_objdir/$libname.def~
9219	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9220	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9221	emximp -o $lib $output_objdir/$libname.def'
9222      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9223	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9224	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9225	$ECHO EXPORTS >> $output_objdir/$libname.def~
9226	prefix_cmds="$SED"~
9227	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9228	  prefix_cmds="$prefix_cmds -e 1d";
9229	fi~
9230	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9231	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9232	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9233	emximp -o $lib $output_objdir/$libname.def'
9234      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9235      enable_shared_with_static_runtimes=yes
9236      ;;
9237
9238    interix[3-9]*)
9239      hardcode_direct=no
9240      hardcode_shlibpath_var=no
9241      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9242      export_dynamic_flag_spec='$wl-E'
9243      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9244      # Instead, shared libraries are loaded at an image base (0x10000000 by
9245      # default) and relocated if they conflict, which is a slow very memory
9246      # consuming and fragmenting process.  To avoid this, we pick a random,
9247      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9248      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9249      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9250      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'
9251      ;;
9252
9253    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9254      tmp_diet=no
9255      if test linux-dietlibc = "$host_os"; then
9256	case $cc_basename in
9257	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9258	esac
9259      fi
9260      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9261	 && test no = "$tmp_diet"
9262      then
9263	tmp_addflag=' $pic_flag'
9264	tmp_sharedflag='-shared'
9265	case $cc_basename,$host_cpu in
9266        pgcc*)				# Portland Group C compiler
9267	  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'
9268	  tmp_addflag=' $pic_flag'
9269	  ;;
9270	pgf77* | pgf90* | pgf95* | pgfortran*)
9271					# Portland Group f77 and f90 compilers
9272	  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'
9273	  tmp_addflag=' $pic_flag -Mnomain' ;;
9274	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9275	  tmp_addflag=' -i_dynamic' ;;
9276	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9277	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9278	ifc* | ifort*)			# Intel Fortran compiler
9279	  tmp_addflag=' -nofor_main' ;;
9280	lf95*)				# Lahey Fortran 8.1
9281	  whole_archive_flag_spec=
9282	  tmp_sharedflag='--shared' ;;
9283        nagfor*)                        # NAGFOR 5.3
9284          tmp_sharedflag='-Wl,-shared' ;;
9285	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9286	  tmp_sharedflag='-qmkshrobj'
9287	  tmp_addflag= ;;
9288	nvcc*)	# Cuda Compiler Driver 2.2
9289	  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'
9290	  compiler_needs_object=yes
9291	  ;;
9292	esac
9293	case `$CC -V 2>&1 | sed 5q` in
9294	*Sun\ C*)			# Sun C 5.9
9295	  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'
9296	  compiler_needs_object=yes
9297	  tmp_sharedflag='-G' ;;
9298	*Sun\ F*)			# Sun Fortran 8.3
9299	  tmp_sharedflag='-G' ;;
9300	esac
9301	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9302
9303        if test yes = "$supports_anon_versioning"; then
9304          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9305            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9306            echo "local: *; };" >> $output_objdir/$libname.ver~
9307            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9308        fi
9309
9310	case $cc_basename in
9311	tcc*)
9312	  export_dynamic_flag_spec='-rdynamic'
9313	  ;;
9314	xlf* | bgf* | bgxlf* | mpixlf*)
9315	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9316	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9317	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9318	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9319	  if test yes = "$supports_anon_versioning"; then
9320	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9321              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9322              echo "local: *; };" >> $output_objdir/$libname.ver~
9323              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9324	  fi
9325	  ;;
9326	esac
9327      else
9328        ld_shlibs=no
9329      fi
9330      ;;
9331
9332    netbsd* | netbsdelf*-gnu)
9333      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9334	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9335	wlarc=
9336      else
9337	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9338	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9339      fi
9340      ;;
9341
9342    solaris*)
9343      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9344	ld_shlibs=no
9345	cat <<_LT_EOF 1>&2
9346
9347*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9348*** create shared libraries on Solaris systems.  Therefore, libtool
9349*** is disabling shared libraries support.  We urge you to upgrade GNU
9350*** binutils to release 2.9.1 or newer.  Another option is to modify
9351*** your PATH or compiler configuration so that the native linker is
9352*** used, and then restart.
9353
9354_LT_EOF
9355      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9356	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9357	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9358      else
9359	ld_shlibs=no
9360      fi
9361      ;;
9362
9363    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9364      case `$LD -v 2>&1` in
9365        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9366	ld_shlibs=no
9367	cat <<_LT_EOF 1>&2
9368
9369*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9370*** reliably create shared libraries on SCO systems.  Therefore, libtool
9371*** is disabling shared libraries support.  We urge you to upgrade GNU
9372*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9373*** your PATH or compiler configuration so that the native linker is
9374*** used, and then restart.
9375
9376_LT_EOF
9377	;;
9378	*)
9379	  # For security reasons, it is highly recommended that you always
9380	  # use absolute paths for naming shared libraries, and exclude the
9381	  # DT_RUNPATH tag from executables and libraries.  But doing so
9382	  # requires that you compile everything twice, which is a pain.
9383	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9384	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9385	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9386	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9387	  else
9388	    ld_shlibs=no
9389	  fi
9390	;;
9391      esac
9392      ;;
9393
9394    sunos4*)
9395      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9396      wlarc=
9397      hardcode_direct=yes
9398      hardcode_shlibpath_var=no
9399      ;;
9400
9401    *)
9402      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9403	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9404	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9405      else
9406	ld_shlibs=no
9407      fi
9408      ;;
9409    esac
9410
9411    if test no = "$ld_shlibs"; then
9412      runpath_var=
9413      hardcode_libdir_flag_spec=
9414      export_dynamic_flag_spec=
9415      whole_archive_flag_spec=
9416    fi
9417  else
9418    # PORTME fill in a description of your system's linker (not GNU ld)
9419    case $host_os in
9420    aix3*)
9421      allow_undefined_flag=unsupported
9422      always_export_symbols=yes
9423      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'
9424      # Note: this linker hardcodes the directories in LIBPATH if there
9425      # are no directories specified by -L.
9426      hardcode_minus_L=yes
9427      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9428	# Neither direct hardcoding nor static linking is supported with a
9429	# broken collect2.
9430	hardcode_direct=unsupported
9431      fi
9432      ;;
9433
9434    aix[4-9]*)
9435      if test ia64 = "$host_cpu"; then
9436	# On IA64, the linker does run time linking by default, so we don't
9437	# have to do anything special.
9438	aix_use_runtimelinking=no
9439	exp_sym_flag='-Bexport'
9440	no_entry_flag=
9441      else
9442	# If we're using GNU nm, then we don't want the "-C" option.
9443	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9444	# Without the "-l" option, or with the "-B" option, AIX nm treats
9445	# weak defined symbols like other global defined symbols, whereas
9446	# GNU nm marks them as "W".
9447	# While the 'weak' keyword is ignored in the Export File, we need
9448	# it in the Import File for the 'aix-soname' feature, so we have
9449	# to replace the "-B" option with "-P" for AIX nm.
9450	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9451	  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'
9452	else
9453	  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'
9454	fi
9455	aix_use_runtimelinking=no
9456
9457	# Test if we are trying to use run time linking or normal
9458	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9459	# have runtime linking enabled, and use it for executables.
9460	# For shared libraries, we enable/disable runtime linking
9461	# depending on the kind of the shared library created -
9462	# when "with_aix_soname,aix_use_runtimelinking" is:
9463	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9464	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9465	#            lib.a           static archive
9466	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9467	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9468	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9469	#            lib.a(lib.so.V) shared, rtl:no
9470	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9471	#            lib.a           static archive
9472	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9473	  for ld_flag in $LDFLAGS; do
9474	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9475	    aix_use_runtimelinking=yes
9476	    break
9477	  fi
9478	  done
9479	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9480	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9481	    # so we don't have lib.a shared libs to link our executables.
9482	    # We have to force runtime linking in this case.
9483	    aix_use_runtimelinking=yes
9484	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9485	  fi
9486	  ;;
9487	esac
9488
9489	exp_sym_flag='-bexport'
9490	no_entry_flag='-bnoentry'
9491      fi
9492
9493      # When large executables or shared objects are built, AIX ld can
9494      # have problems creating the table of contents.  If linking a library
9495      # or program results in "error TOC overflow" add -mminimal-toc to
9496      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9497      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9498
9499      archive_cmds=''
9500      hardcode_direct=yes
9501      hardcode_direct_absolute=yes
9502      hardcode_libdir_separator=':'
9503      link_all_deplibs=yes
9504      file_list_spec='$wl-f,'
9505      case $with_aix_soname,$aix_use_runtimelinking in
9506      aix,*) ;; # traditional, no import file
9507      svr4,* | *,yes) # use import file
9508	# The Import File defines what to hardcode.
9509	hardcode_direct=no
9510	hardcode_direct_absolute=no
9511	;;
9512      esac
9513
9514      if test yes = "$GCC"; then
9515	case $host_os in aix4.[012]|aix4.[012].*)
9516	# We only want to do this on AIX 4.2 and lower, the check
9517	# below for broken collect2 doesn't work under 4.3+
9518	  collect2name=`$CC -print-prog-name=collect2`
9519	  if test -f "$collect2name" &&
9520	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9521	  then
9522	  # We have reworked collect2
9523	  :
9524	  else
9525	  # We have old collect2
9526	  hardcode_direct=unsupported
9527	  # It fails to find uninstalled libraries when the uninstalled
9528	  # path is not listed in the libpath.  Setting hardcode_minus_L
9529	  # to unsupported forces relinking
9530	  hardcode_minus_L=yes
9531	  hardcode_libdir_flag_spec='-L$libdir'
9532	  hardcode_libdir_separator=
9533	  fi
9534	  ;;
9535	esac
9536	shared_flag='-shared'
9537	if test yes = "$aix_use_runtimelinking"; then
9538	  shared_flag="$shared_flag "'$wl-G'
9539	fi
9540	# Need to ensure runtime linking is disabled for the traditional
9541	# shared library, or the linker may eventually find shared libraries
9542	# /with/ Import File - we do not want to mix them.
9543	shared_flag_aix='-shared'
9544	shared_flag_svr4='-shared $wl-G'
9545      else
9546	# not using gcc
9547	if test ia64 = "$host_cpu"; then
9548	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9549	# chokes on -Wl,-G. The following line is correct:
9550	  shared_flag='-G'
9551	else
9552	  if test yes = "$aix_use_runtimelinking"; then
9553	    shared_flag='$wl-G'
9554	  else
9555	    shared_flag='$wl-bM:SRE'
9556	  fi
9557	  shared_flag_aix='$wl-bM:SRE'
9558	  shared_flag_svr4='$wl-G'
9559	fi
9560      fi
9561
9562      export_dynamic_flag_spec='$wl-bexpall'
9563      # It seems that -bexpall does not export symbols beginning with
9564      # underscore (_), so it is better to generate a list of symbols to export.
9565      always_export_symbols=yes
9566      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9567	# Warning - without using the other runtime loading flags (-brtl),
9568	# -berok will link without error, but may produce a broken library.
9569	allow_undefined_flag='-berok'
9570        # Determine the default libpath from the value encoded in an
9571        # empty executable.
9572        if test set = "${lt_cv_aix_libpath+set}"; then
9573  aix_libpath=$lt_cv_aix_libpath
9574else
9575  if ${lt_cv_aix_libpath_+:} false; then :
9576  $as_echo_n "(cached) " >&6
9577else
9578  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579/* end confdefs.h.  */
9580
9581int
9582main ()
9583{
9584
9585  ;
9586  return 0;
9587}
9588_ACEOF
9589if ac_fn_c_try_link "$LINENO"; then :
9590
9591  lt_aix_libpath_sed='
9592      /Import File Strings/,/^$/ {
9593	  /^0/ {
9594	      s/^0  *\([^ ]*\) *$/\1/
9595	      p
9596	  }
9597      }'
9598  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9599  # Check for a 64-bit object if we didn't find anything.
9600  if test -z "$lt_cv_aix_libpath_"; then
9601    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9602  fi
9603fi
9604rm -f core conftest.err conftest.$ac_objext \
9605    conftest$ac_exeext conftest.$ac_ext
9606  if test -z "$lt_cv_aix_libpath_"; then
9607    lt_cv_aix_libpath_=/usr/lib:/lib
9608  fi
9609
9610fi
9611
9612  aix_libpath=$lt_cv_aix_libpath_
9613fi
9614
9615        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9616        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
9617      else
9618	if test ia64 = "$host_cpu"; then
9619	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9620	  allow_undefined_flag="-z nodefs"
9621	  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"
9622	else
9623	 # Determine the default libpath from the value encoded in an
9624	 # empty executable.
9625	 if test set = "${lt_cv_aix_libpath+set}"; then
9626  aix_libpath=$lt_cv_aix_libpath
9627else
9628  if ${lt_cv_aix_libpath_+:} false; then :
9629  $as_echo_n "(cached) " >&6
9630else
9631  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9632/* end confdefs.h.  */
9633
9634int
9635main ()
9636{
9637
9638  ;
9639  return 0;
9640}
9641_ACEOF
9642if ac_fn_c_try_link "$LINENO"; then :
9643
9644  lt_aix_libpath_sed='
9645      /Import File Strings/,/^$/ {
9646	  /^0/ {
9647	      s/^0  *\([^ ]*\) *$/\1/
9648	      p
9649	  }
9650      }'
9651  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9652  # Check for a 64-bit object if we didn't find anything.
9653  if test -z "$lt_cv_aix_libpath_"; then
9654    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9655  fi
9656fi
9657rm -f core conftest.err conftest.$ac_objext \
9658    conftest$ac_exeext conftest.$ac_ext
9659  if test -z "$lt_cv_aix_libpath_"; then
9660    lt_cv_aix_libpath_=/usr/lib:/lib
9661  fi
9662
9663fi
9664
9665  aix_libpath=$lt_cv_aix_libpath_
9666fi
9667
9668	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9669	  # Warning - without using the other run time loading flags,
9670	  # -berok will link without error, but may produce a broken library.
9671	  no_undefined_flag=' $wl-bernotok'
9672	  allow_undefined_flag=' $wl-berok'
9673	  if test yes = "$with_gnu_ld"; then
9674	    # We only use this code for GNU lds that support --whole-archive.
9675	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9676	  else
9677	    # Exported symbols can be pulled into shared objects from archives
9678	    whole_archive_flag_spec='$convenience'
9679	  fi
9680	  archive_cmds_need_lc=yes
9681	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9682	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9683	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9684	  if test svr4 != "$with_aix_soname"; then
9685	    # This is similar to how AIX traditionally builds its shared libraries.
9686	    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'
9687	  fi
9688	  if test aix != "$with_aix_soname"; then
9689	    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'
9690	  else
9691	    # used by -dlpreopen to get the symbols
9692	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9693	  fi
9694	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9695	fi
9696      fi
9697      ;;
9698
9699    amigaos*)
9700      case $host_cpu in
9701      powerpc)
9702            # see comment about AmigaOS4 .so support
9703            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9704            archive_expsym_cmds=''
9705        ;;
9706      m68k)
9707            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)'
9708            hardcode_libdir_flag_spec='-L$libdir'
9709            hardcode_minus_L=yes
9710        ;;
9711      esac
9712      ;;
9713
9714    bsdi[45]*)
9715      export_dynamic_flag_spec=-rdynamic
9716      ;;
9717
9718    cygwin* | mingw* | pw32* | cegcc*)
9719      # When not using gcc, we currently assume that we are using
9720      # Microsoft Visual C++.
9721      # hardcode_libdir_flag_spec is actually meaningless, as there is
9722      # no search path for DLLs.
9723      case $cc_basename in
9724      cl*)
9725	# Native MSVC
9726	hardcode_libdir_flag_spec=' '
9727	allow_undefined_flag=unsupported
9728	always_export_symbols=yes
9729	file_list_spec='@'
9730	# Tell ltmain to make .lib files, not .a files.
9731	libext=lib
9732	# Tell ltmain to make .dll files, not .so files.
9733	shrext_cmds=.dll
9734	# FIXME: Setting linknames here is a bad hack.
9735	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9736	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9737            cp "$export_symbols" "$output_objdir/$soname.def";
9738            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9739          else
9740            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9741          fi~
9742          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9743          linknames='
9744	# The linker will not automatically build a static lib if we build a DLL.
9745	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9746	enable_shared_with_static_runtimes=yes
9747	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9748	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9749	# Don't use ranlib
9750	old_postinstall_cmds='chmod 644 $oldlib'
9751	postlink_cmds='lt_outputfile="@OUTPUT@"~
9752          lt_tool_outputfile="@TOOL_OUTPUT@"~
9753          case $lt_outputfile in
9754            *.exe|*.EXE) ;;
9755            *)
9756              lt_outputfile=$lt_outputfile.exe
9757              lt_tool_outputfile=$lt_tool_outputfile.exe
9758              ;;
9759          esac~
9760          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9761            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9762            $RM "$lt_outputfile.manifest";
9763          fi'
9764	;;
9765      *)
9766	# Assume MSVC wrapper
9767	hardcode_libdir_flag_spec=' '
9768	allow_undefined_flag=unsupported
9769	# Tell ltmain to make .lib files, not .a files.
9770	libext=lib
9771	# Tell ltmain to make .dll files, not .so files.
9772	shrext_cmds=.dll
9773	# FIXME: Setting linknames here is a bad hack.
9774	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9775	# The linker will automatically build a .lib file if we build a DLL.
9776	old_archive_from_new_cmds='true'
9777	# FIXME: Should let the user specify the lib program.
9778	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9779	enable_shared_with_static_runtimes=yes
9780	;;
9781      esac
9782      ;;
9783
9784    darwin* | rhapsody*)
9785
9786
9787  archive_cmds_need_lc=no
9788  hardcode_direct=no
9789  hardcode_automatic=yes
9790  hardcode_shlibpath_var=unsupported
9791  if test yes = "$lt_cv_ld_force_load"; then
9792    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\"`'
9793
9794  else
9795    whole_archive_flag_spec=''
9796  fi
9797  link_all_deplibs=yes
9798  allow_undefined_flag=$_lt_dar_allow_undefined
9799  case $cc_basename in
9800     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9801     *) _lt_dar_can_shared=$GCC ;;
9802  esac
9803  if test yes = "$_lt_dar_can_shared"; then
9804    output_verbose_link_cmd=func_echo_all
9805    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9806    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9807    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"
9808    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"
9809
9810  else
9811  ld_shlibs=no
9812  fi
9813
9814      ;;
9815
9816    dgux*)
9817      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9818      hardcode_libdir_flag_spec='-L$libdir'
9819      hardcode_shlibpath_var=no
9820      ;;
9821
9822    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9823    # support.  Future versions do this automatically, but an explicit c++rt0.o
9824    # does not break anything, and helps significantly (at the cost of a little
9825    # extra space).
9826    freebsd2.2*)
9827      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9828      hardcode_libdir_flag_spec='-R$libdir'
9829      hardcode_direct=yes
9830      hardcode_shlibpath_var=no
9831      ;;
9832
9833    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9834    freebsd2.*)
9835      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9836      hardcode_direct=yes
9837      hardcode_minus_L=yes
9838      hardcode_shlibpath_var=no
9839      ;;
9840
9841    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9842    freebsd* | dragonfly*)
9843      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9844      hardcode_libdir_flag_spec='-R$libdir'
9845      hardcode_direct=yes
9846      hardcode_shlibpath_var=no
9847      ;;
9848
9849    hpux9*)
9850      if test yes = "$GCC"; then
9851	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'
9852      else
9853	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'
9854      fi
9855      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9856      hardcode_libdir_separator=:
9857      hardcode_direct=yes
9858
9859      # hardcode_minus_L: Not really in the search PATH,
9860      # but as the default location of the library.
9861      hardcode_minus_L=yes
9862      export_dynamic_flag_spec='$wl-E'
9863      ;;
9864
9865    hpux10*)
9866      if test yes,no = "$GCC,$with_gnu_ld"; then
9867	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9868      else
9869	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9870      fi
9871      if test no = "$with_gnu_ld"; then
9872	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9873	hardcode_libdir_separator=:
9874	hardcode_direct=yes
9875	hardcode_direct_absolute=yes
9876	export_dynamic_flag_spec='$wl-E'
9877	# hardcode_minus_L: Not really in the search PATH,
9878	# but as the default location of the library.
9879	hardcode_minus_L=yes
9880      fi
9881      ;;
9882
9883    hpux11*)
9884      if test yes,no = "$GCC,$with_gnu_ld"; then
9885	case $host_cpu in
9886	hppa*64*)
9887	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9888	  ;;
9889	ia64*)
9890	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9891	  ;;
9892	*)
9893	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9894	  ;;
9895	esac
9896      else
9897	case $host_cpu in
9898	hppa*64*)
9899	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9900	  ;;
9901	ia64*)
9902	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9903	  ;;
9904	*)
9905
9906	  # Older versions of the 11.00 compiler do not understand -b yet
9907	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9908	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9909$as_echo_n "checking if $CC understands -b... " >&6; }
9910if ${lt_cv_prog_compiler__b+:} false; then :
9911  $as_echo_n "(cached) " >&6
9912else
9913  lt_cv_prog_compiler__b=no
9914   save_LDFLAGS=$LDFLAGS
9915   LDFLAGS="$LDFLAGS -b"
9916   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9917   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9918     # The linker can only warn and ignore the option if not recognized
9919     # So say no if there are warnings
9920     if test -s conftest.err; then
9921       # Append any errors to the config.log.
9922       cat conftest.err 1>&5
9923       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9924       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9925       if diff conftest.exp conftest.er2 >/dev/null; then
9926         lt_cv_prog_compiler__b=yes
9927       fi
9928     else
9929       lt_cv_prog_compiler__b=yes
9930     fi
9931   fi
9932   $RM -r conftest*
9933   LDFLAGS=$save_LDFLAGS
9934
9935fi
9936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9937$as_echo "$lt_cv_prog_compiler__b" >&6; }
9938
9939if test yes = "$lt_cv_prog_compiler__b"; then
9940    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9941else
9942    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9943fi
9944
9945	  ;;
9946	esac
9947      fi
9948      if test no = "$with_gnu_ld"; then
9949	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9950	hardcode_libdir_separator=:
9951
9952	case $host_cpu in
9953	hppa*64*|ia64*)
9954	  hardcode_direct=no
9955	  hardcode_shlibpath_var=no
9956	  ;;
9957	*)
9958	  hardcode_direct=yes
9959	  hardcode_direct_absolute=yes
9960	  export_dynamic_flag_spec='$wl-E'
9961
9962	  # hardcode_minus_L: Not really in the search PATH,
9963	  # but as the default location of the library.
9964	  hardcode_minus_L=yes
9965	  ;;
9966	esac
9967      fi
9968      ;;
9969
9970    irix5* | irix6* | nonstopux*)
9971      if test yes = "$GCC"; then
9972	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'
9973	# Try to use the -exported_symbol ld option, if it does not
9974	# work, assume that -exports_file does not work either and
9975	# implicitly export all symbols.
9976	# This should be the same for all languages, so no per-tag cache variable.
9977	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9978$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9979if ${lt_cv_irix_exported_symbol+:} false; then :
9980  $as_echo_n "(cached) " >&6
9981else
9982  save_LDFLAGS=$LDFLAGS
9983	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9984	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9985/* end confdefs.h.  */
9986int foo (void) { return 0; }
9987_ACEOF
9988if ac_fn_c_try_link "$LINENO"; then :
9989  lt_cv_irix_exported_symbol=yes
9990else
9991  lt_cv_irix_exported_symbol=no
9992fi
9993rm -f core conftest.err conftest.$ac_objext \
9994    conftest$ac_exeext conftest.$ac_ext
9995           LDFLAGS=$save_LDFLAGS
9996fi
9997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9998$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9999	if test yes = "$lt_cv_irix_exported_symbol"; then
10000          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'
10001	fi
10002	link_all_deplibs=no
10003      else
10004	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'
10005	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'
10006      fi
10007      archive_cmds_need_lc='no'
10008      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10009      hardcode_libdir_separator=:
10010      inherit_rpath=yes
10011      link_all_deplibs=yes
10012      ;;
10013
10014    linux*)
10015      case $cc_basename in
10016      tcc*)
10017	# Fabrice Bellard et al's Tiny C Compiler
10018	ld_shlibs=yes
10019	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10020	;;
10021      esac
10022      ;;
10023
10024    netbsd* | netbsdelf*-gnu)
10025      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10026	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10027      else
10028	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10029      fi
10030      hardcode_libdir_flag_spec='-R$libdir'
10031      hardcode_direct=yes
10032      hardcode_shlibpath_var=no
10033      ;;
10034
10035    newsos6)
10036      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10037      hardcode_direct=yes
10038      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10039      hardcode_libdir_separator=:
10040      hardcode_shlibpath_var=no
10041      ;;
10042
10043    *nto* | *qnx*)
10044      ;;
10045
10046    openbsd* | bitrig*)
10047      if test -f /usr/libexec/ld.so; then
10048	hardcode_direct=yes
10049	hardcode_shlibpath_var=no
10050	hardcode_direct_absolute=yes
10051	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10052	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10053	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10054	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10055	  export_dynamic_flag_spec='$wl-E'
10056	else
10057	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10058	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10059	fi
10060      else
10061	ld_shlibs=no
10062      fi
10063      ;;
10064
10065    os2*)
10066      hardcode_libdir_flag_spec='-L$libdir'
10067      hardcode_minus_L=yes
10068      allow_undefined_flag=unsupported
10069      shrext_cmds=.dll
10070      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10071	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10072	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10073	$ECHO EXPORTS >> $output_objdir/$libname.def~
10074	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10075	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10076	emximp -o $lib $output_objdir/$libname.def'
10077      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10078	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10079	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10080	$ECHO EXPORTS >> $output_objdir/$libname.def~
10081	prefix_cmds="$SED"~
10082	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10083	  prefix_cmds="$prefix_cmds -e 1d";
10084	fi~
10085	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10086	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10087	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10088	emximp -o $lib $output_objdir/$libname.def'
10089      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10090      enable_shared_with_static_runtimes=yes
10091      ;;
10092
10093    osf3*)
10094      if test yes = "$GCC"; then
10095	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10096	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'
10097      else
10098	allow_undefined_flag=' -expect_unresolved \*'
10099	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'
10100      fi
10101      archive_cmds_need_lc='no'
10102      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10103      hardcode_libdir_separator=:
10104      ;;
10105
10106    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10107      if test yes = "$GCC"; then
10108	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10109	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'
10110	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10111      else
10112	allow_undefined_flag=' -expect_unresolved \*'
10113	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'
10114	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~
10115          $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'
10116
10117	# Both c and cxx compiler support -rpath directly
10118	hardcode_libdir_flag_spec='-rpath $libdir'
10119      fi
10120      archive_cmds_need_lc='no'
10121      hardcode_libdir_separator=:
10122      ;;
10123
10124    solaris*)
10125      no_undefined_flag=' -z defs'
10126      if test yes = "$GCC"; then
10127	wlarc='$wl'
10128	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10129	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10130          $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'
10131      else
10132	case `$CC -V 2>&1` in
10133	*"Compilers 5.0"*)
10134	  wlarc=''
10135	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10136	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10137            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10138	  ;;
10139	*)
10140	  wlarc='$wl'
10141	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10142	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10143            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10144	  ;;
10145	esac
10146      fi
10147      hardcode_libdir_flag_spec='-R$libdir'
10148      hardcode_shlibpath_var=no
10149      case $host_os in
10150      solaris2.[0-5] | solaris2.[0-5].*) ;;
10151      *)
10152	# The compiler driver will combine and reorder linker options,
10153	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10154	# but is careful enough not to reorder.
10155	# Supported since Solaris 2.6 (maybe 2.5.1?)
10156	if test yes = "$GCC"; then
10157	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10158	else
10159	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10160	fi
10161	;;
10162      esac
10163      link_all_deplibs=yes
10164      ;;
10165
10166    sunos4*)
10167      if test sequent = "$host_vendor"; then
10168	# Use $CC to link under sequent, because it throws in some extra .o
10169	# files that make .init and .fini sections work.
10170	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10171      else
10172	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10173      fi
10174      hardcode_libdir_flag_spec='-L$libdir'
10175      hardcode_direct=yes
10176      hardcode_minus_L=yes
10177      hardcode_shlibpath_var=no
10178      ;;
10179
10180    sysv4)
10181      case $host_vendor in
10182	sni)
10183	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10184	  hardcode_direct=yes # is this really true???
10185	;;
10186	siemens)
10187	  ## LD is ld it makes a PLAMLIB
10188	  ## CC just makes a GrossModule.
10189	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10190	  reload_cmds='$CC -r -o $output$reload_objs'
10191	  hardcode_direct=no
10192        ;;
10193	motorola)
10194	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10195	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10196	;;
10197      esac
10198      runpath_var='LD_RUN_PATH'
10199      hardcode_shlibpath_var=no
10200      ;;
10201
10202    sysv4.3*)
10203      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10204      hardcode_shlibpath_var=no
10205      export_dynamic_flag_spec='-Bexport'
10206      ;;
10207
10208    sysv4*MP*)
10209      if test -d /usr/nec; then
10210	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10211	hardcode_shlibpath_var=no
10212	runpath_var=LD_RUN_PATH
10213	hardcode_runpath_var=yes
10214	ld_shlibs=yes
10215      fi
10216      ;;
10217
10218    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10219      no_undefined_flag='$wl-z,text'
10220      archive_cmds_need_lc=no
10221      hardcode_shlibpath_var=no
10222      runpath_var='LD_RUN_PATH'
10223
10224      if test yes = "$GCC"; then
10225	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10226	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10227      else
10228	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10229	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10230      fi
10231      ;;
10232
10233    sysv5* | sco3.2v5* | sco5v6*)
10234      # Note: We CANNOT use -z defs as we might desire, because we do not
10235      # link with -lc, and that would cause any symbols used from libc to
10236      # always be unresolved, which means just about no library would
10237      # ever link correctly.  If we're not using GNU ld we use -z text
10238      # though, which does catch some bad symbols but isn't as heavy-handed
10239      # as -z defs.
10240      no_undefined_flag='$wl-z,text'
10241      allow_undefined_flag='$wl-z,nodefs'
10242      archive_cmds_need_lc=no
10243      hardcode_shlibpath_var=no
10244      hardcode_libdir_flag_spec='$wl-R,$libdir'
10245      hardcode_libdir_separator=':'
10246      link_all_deplibs=yes
10247      export_dynamic_flag_spec='$wl-Bexport'
10248      runpath_var='LD_RUN_PATH'
10249
10250      if test yes = "$GCC"; then
10251	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10252	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10253      else
10254	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10255	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10256      fi
10257      ;;
10258
10259    uts4*)
10260      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10261      hardcode_libdir_flag_spec='-L$libdir'
10262      hardcode_shlibpath_var=no
10263      ;;
10264
10265    *)
10266      ld_shlibs=no
10267      ;;
10268    esac
10269
10270    if test sni = "$host_vendor"; then
10271      case $host in
10272      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10273	export_dynamic_flag_spec='$wl-Blargedynsym'
10274	;;
10275      esac
10276    fi
10277  fi
10278
10279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10280$as_echo "$ld_shlibs" >&6; }
10281test no = "$ld_shlibs" && can_build_shared=no
10282
10283with_gnu_ld=$with_gnu_ld
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299#
10300# Do we need to explicitly link libc?
10301#
10302case "x$archive_cmds_need_lc" in
10303x|xyes)
10304  # Assume -lc should be added
10305  archive_cmds_need_lc=yes
10306
10307  if test yes,yes = "$GCC,$enable_shared"; then
10308    case $archive_cmds in
10309    *'~'*)
10310      # FIXME: we may have to deal with multi-command sequences.
10311      ;;
10312    '$CC '*)
10313      # Test whether the compiler implicitly links with -lc since on some
10314      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10315      # to ld, don't add -lc before -lgcc.
10316      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10317$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10318if ${lt_cv_archive_cmds_need_lc+:} false; then :
10319  $as_echo_n "(cached) " >&6
10320else
10321  $RM conftest*
10322	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10323
10324	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10325  (eval $ac_compile) 2>&5
10326  ac_status=$?
10327  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10328  test $ac_status = 0; } 2>conftest.err; then
10329	  soname=conftest
10330	  lib=conftest
10331	  libobjs=conftest.$ac_objext
10332	  deplibs=
10333	  wl=$lt_prog_compiler_wl
10334	  pic_flag=$lt_prog_compiler_pic
10335	  compiler_flags=-v
10336	  linker_flags=-v
10337	  verstring=
10338	  output_objdir=.
10339	  libname=conftest
10340	  lt_save_allow_undefined_flag=$allow_undefined_flag
10341	  allow_undefined_flag=
10342	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10343  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10344  ac_status=$?
10345  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10346  test $ac_status = 0; }
10347	  then
10348	    lt_cv_archive_cmds_need_lc=no
10349	  else
10350	    lt_cv_archive_cmds_need_lc=yes
10351	  fi
10352	  allow_undefined_flag=$lt_save_allow_undefined_flag
10353	else
10354	  cat conftest.err 1>&5
10355	fi
10356	$RM conftest*
10357
10358fi
10359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10360$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10361      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10362      ;;
10363    esac
10364  fi
10365  ;;
10366esac
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10520$as_echo_n "checking dynamic linker characteristics... " >&6; }
10521
10522if test yes = "$GCC"; then
10523  case $host_os in
10524    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10525    *) lt_awk_arg='/^libraries:/' ;;
10526  esac
10527  case $host_os in
10528    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10529    *) lt_sed_strip_eq='s|=/|/|g' ;;
10530  esac
10531  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10532  case $lt_search_path_spec in
10533  *\;*)
10534    # if the path contains ";" then we assume it to be the separator
10535    # otherwise default to the standard path separator (i.e. ":") - it is
10536    # assumed that no part of a normal pathname contains ";" but that should
10537    # okay in the real world where ";" in dirpaths is itself problematic.
10538    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10539    ;;
10540  *)
10541    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10542    ;;
10543  esac
10544  # Ok, now we have the path, separated by spaces, we can step through it
10545  # and add multilib dir if necessary...
10546  lt_tmp_lt_search_path_spec=
10547  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10548  # ...but if some path component already ends with the multilib dir we assume
10549  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10550  case "$lt_multi_os_dir; $lt_search_path_spec " in
10551  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10552    lt_multi_os_dir=
10553    ;;
10554  esac
10555  for lt_sys_path in $lt_search_path_spec; do
10556    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10557      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10558    elif test -n "$lt_multi_os_dir"; then
10559      test -d "$lt_sys_path" && \
10560	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10561    fi
10562  done
10563  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10564BEGIN {RS = " "; FS = "/|\n";} {
10565  lt_foo = "";
10566  lt_count = 0;
10567  for (lt_i = NF; lt_i > 0; lt_i--) {
10568    if ($lt_i != "" && $lt_i != ".") {
10569      if ($lt_i == "..") {
10570        lt_count++;
10571      } else {
10572        if (lt_count == 0) {
10573          lt_foo = "/" $lt_i lt_foo;
10574        } else {
10575          lt_count--;
10576        }
10577      }
10578    }
10579  }
10580  if (lt_foo != "") { lt_freq[lt_foo]++; }
10581  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10582}'`
10583  # AWK program above erroneously prepends '/' to C:/dos/paths
10584  # for these hosts.
10585  case $host_os in
10586    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10587      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10588  esac
10589  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10590else
10591  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10592fi
10593library_names_spec=
10594libname_spec='lib$name'
10595soname_spec=
10596shrext_cmds=.so
10597postinstall_cmds=
10598postuninstall_cmds=
10599finish_cmds=
10600finish_eval=
10601shlibpath_var=
10602shlibpath_overrides_runpath=unknown
10603version_type=none
10604dynamic_linker="$host_os ld.so"
10605sys_lib_dlsearch_path_spec="/lib /usr/lib"
10606need_lib_prefix=unknown
10607hardcode_into_libs=no
10608
10609# when you set need_version to no, make sure it does not cause -set_version
10610# flags to be left without arguments
10611need_version=unknown
10612
10613
10614
10615case $host_os in
10616aix3*)
10617  version_type=linux # correct to gnu/linux during the next big refactor
10618  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10619  shlibpath_var=LIBPATH
10620
10621  # AIX 3 has no versioning support, so we append a major version to the name.
10622  soname_spec='$libname$release$shared_ext$major'
10623  ;;
10624
10625aix[4-9]*)
10626  version_type=linux # correct to gnu/linux during the next big refactor
10627  need_lib_prefix=no
10628  need_version=no
10629  hardcode_into_libs=yes
10630  if test ia64 = "$host_cpu"; then
10631    # AIX 5 supports IA64
10632    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10633    shlibpath_var=LD_LIBRARY_PATH
10634  else
10635    # With GCC up to 2.95.x, collect2 would create an import file
10636    # for dependence libraries.  The import file would start with
10637    # the line '#! .'.  This would cause the generated library to
10638    # depend on '.', always an invalid library.  This was fixed in
10639    # development snapshots of GCC prior to 3.0.
10640    case $host_os in
10641      aix4 | aix4.[01] | aix4.[01].*)
10642      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10643	   echo ' yes '
10644	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10645	:
10646      else
10647	can_build_shared=no
10648      fi
10649      ;;
10650    esac
10651    # Using Import Files as archive members, it is possible to support
10652    # filename-based versioning of shared library archives on AIX. While
10653    # this would work for both with and without runtime linking, it will
10654    # prevent static linking of such archives. So we do filename-based
10655    # shared library versioning with .so extension only, which is used
10656    # when both runtime linking and shared linking is enabled.
10657    # Unfortunately, runtime linking may impact performance, so we do
10658    # not want this to be the default eventually. Also, we use the
10659    # versioned .so libs for executables only if there is the -brtl
10660    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10661    # To allow for filename-based versioning support, we need to create
10662    # libNAME.so.V as an archive file, containing:
10663    # *) an Import File, referring to the versioned filename of the
10664    #    archive as well as the shared archive member, telling the
10665    #    bitwidth (32 or 64) of that shared object, and providing the
10666    #    list of exported symbols of that shared object, eventually
10667    #    decorated with the 'weak' keyword
10668    # *) the shared object with the F_LOADONLY flag set, to really avoid
10669    #    it being seen by the linker.
10670    # At run time we better use the real file rather than another symlink,
10671    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10672
10673    case $with_aix_soname,$aix_use_runtimelinking in
10674    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10675    # soname into executable. Probably we can add versioning support to
10676    # collect2, so additional links can be useful in future.
10677    aix,yes) # traditional libtool
10678      dynamic_linker='AIX unversionable lib.so'
10679      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10680      # instead of lib<name>.a to let people know that these are not
10681      # typical AIX shared libraries.
10682      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10683      ;;
10684    aix,no) # traditional AIX only
10685      dynamic_linker='AIX lib.a(lib.so.V)'
10686      # We preserve .a as extension for shared libraries through AIX4.2
10687      # and later when we are not doing run time linking.
10688      library_names_spec='$libname$release.a $libname.a'
10689      soname_spec='$libname$release$shared_ext$major'
10690      ;;
10691    svr4,*) # full svr4 only
10692      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10693      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10694      # We do not specify a path in Import Files, so LIBPATH fires.
10695      shlibpath_overrides_runpath=yes
10696      ;;
10697    *,yes) # both, prefer svr4
10698      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10699      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10700      # unpreferred sharedlib libNAME.a needs extra handling
10701      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"'
10702      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"'
10703      # We do not specify a path in Import Files, so LIBPATH fires.
10704      shlibpath_overrides_runpath=yes
10705      ;;
10706    *,no) # both, prefer aix
10707      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10708      library_names_spec='$libname$release.a $libname.a'
10709      soname_spec='$libname$release$shared_ext$major'
10710      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10711      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)'
10712      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"'
10713      ;;
10714    esac
10715    shlibpath_var=LIBPATH
10716  fi
10717  ;;
10718
10719amigaos*)
10720  case $host_cpu in
10721  powerpc)
10722    # Since July 2007 AmigaOS4 officially supports .so libraries.
10723    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10724    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10725    ;;
10726  m68k)
10727    library_names_spec='$libname.ixlibrary $libname.a'
10728    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10729    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'
10730    ;;
10731  esac
10732  ;;
10733
10734beos*)
10735  library_names_spec='$libname$shared_ext'
10736  dynamic_linker="$host_os ld.so"
10737  shlibpath_var=LIBRARY_PATH
10738  ;;
10739
10740bsdi[45]*)
10741  version_type=linux # correct to gnu/linux during the next big refactor
10742  need_version=no
10743  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10744  soname_spec='$libname$release$shared_ext$major'
10745  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10746  shlibpath_var=LD_LIBRARY_PATH
10747  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10748  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10749  # the default ld.so.conf also contains /usr/contrib/lib and
10750  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10751  # libtool to hard-code these into programs
10752  ;;
10753
10754cygwin* | mingw* | pw32* | cegcc*)
10755  version_type=windows
10756  shrext_cmds=.dll
10757  need_version=no
10758  need_lib_prefix=no
10759
10760  case $GCC,$cc_basename in
10761  yes,*)
10762    # gcc
10763    library_names_spec='$libname.dll.a'
10764    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10765    postinstall_cmds='base_file=`basename \$file`~
10766      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10767      dldir=$destdir/`dirname \$dlpath`~
10768      test -d \$dldir || mkdir -p \$dldir~
10769      $install_prog $dir/$dlname \$dldir/$dlname~
10770      chmod a+x \$dldir/$dlname~
10771      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10772        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10773      fi'
10774    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10775      dlpath=$dir/\$dldll~
10776       $RM \$dlpath'
10777    shlibpath_overrides_runpath=yes
10778
10779    case $host_os in
10780    cygwin*)
10781      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10782      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10783
10784      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10785      ;;
10786    mingw* | cegcc*)
10787      # MinGW DLLs use traditional 'lib' prefix
10788      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10789      ;;
10790    pw32*)
10791      # pw32 DLLs use 'pw' prefix rather than 'lib'
10792      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10793      ;;
10794    esac
10795    dynamic_linker='Win32 ld.exe'
10796    ;;
10797
10798  *,cl*)
10799    # Native MSVC
10800    libname_spec='$name'
10801    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10802    library_names_spec='$libname.dll.lib'
10803
10804    case $build_os in
10805    mingw*)
10806      sys_lib_search_path_spec=
10807      lt_save_ifs=$IFS
10808      IFS=';'
10809      for lt_path in $LIB
10810      do
10811        IFS=$lt_save_ifs
10812        # Let DOS variable expansion print the short 8.3 style file name.
10813        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10814        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10815      done
10816      IFS=$lt_save_ifs
10817      # Convert to MSYS style.
10818      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10819      ;;
10820    cygwin*)
10821      # Convert to unix form, then to dos form, then back to unix form
10822      # but this time dos style (no spaces!) so that the unix form looks
10823      # like /cygdrive/c/PROGRA~1:/cygdr...
10824      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10825      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10826      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10827      ;;
10828    *)
10829      sys_lib_search_path_spec=$LIB
10830      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10831        # It is most probably a Windows format PATH.
10832        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10833      else
10834        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10835      fi
10836      # FIXME: find the short name or the path components, as spaces are
10837      # common. (e.g. "Program Files" -> "PROGRA~1")
10838      ;;
10839    esac
10840
10841    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10842    postinstall_cmds='base_file=`basename \$file`~
10843      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10844      dldir=$destdir/`dirname \$dlpath`~
10845      test -d \$dldir || mkdir -p \$dldir~
10846      $install_prog $dir/$dlname \$dldir/$dlname'
10847    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10848      dlpath=$dir/\$dldll~
10849       $RM \$dlpath'
10850    shlibpath_overrides_runpath=yes
10851    dynamic_linker='Win32 link.exe'
10852    ;;
10853
10854  *)
10855    # Assume MSVC wrapper
10856    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10857    dynamic_linker='Win32 ld.exe'
10858    ;;
10859  esac
10860  # FIXME: first we should search . and the directory the executable is in
10861  shlibpath_var=PATH
10862  ;;
10863
10864darwin* | rhapsody*)
10865  dynamic_linker="$host_os dyld"
10866  version_type=darwin
10867  need_lib_prefix=no
10868  need_version=no
10869  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10870  soname_spec='$libname$release$major$shared_ext'
10871  shlibpath_overrides_runpath=yes
10872  shlibpath_var=DYLD_LIBRARY_PATH
10873  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10874
10875  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10876  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10877  ;;
10878
10879dgux*)
10880  version_type=linux # correct to gnu/linux during the next big refactor
10881  need_lib_prefix=no
10882  need_version=no
10883  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10884  soname_spec='$libname$release$shared_ext$major'
10885  shlibpath_var=LD_LIBRARY_PATH
10886  ;;
10887
10888freebsd* | dragonfly*)
10889  # DragonFly does not have aout.  When/if they implement a new
10890  # versioning mechanism, adjust this.
10891  if test -x /usr/bin/objformat; then
10892    objformat=`/usr/bin/objformat`
10893  else
10894    case $host_os in
10895    freebsd[23].*) objformat=aout ;;
10896    *) objformat=elf ;;
10897    esac
10898  fi
10899  version_type=freebsd-$objformat
10900  case $version_type in
10901    freebsd-elf*)
10902      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10903      soname_spec='$libname$release$shared_ext$major'
10904      need_version=no
10905      need_lib_prefix=no
10906      ;;
10907    freebsd-*)
10908      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10909      need_version=yes
10910      ;;
10911  esac
10912  shlibpath_var=LD_LIBRARY_PATH
10913  case $host_os in
10914  freebsd2.*)
10915    shlibpath_overrides_runpath=yes
10916    ;;
10917  freebsd3.[01]* | freebsdelf3.[01]*)
10918    shlibpath_overrides_runpath=yes
10919    hardcode_into_libs=yes
10920    ;;
10921  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10922  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10923    shlibpath_overrides_runpath=no
10924    hardcode_into_libs=yes
10925    ;;
10926  *) # from 4.6 on, and DragonFly
10927    shlibpath_overrides_runpath=yes
10928    hardcode_into_libs=yes
10929    ;;
10930  esac
10931  ;;
10932
10933haiku*)
10934  version_type=linux # correct to gnu/linux during the next big refactor
10935  need_lib_prefix=no
10936  need_version=no
10937  dynamic_linker="$host_os runtime_loader"
10938  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10939  soname_spec='$libname$release$shared_ext$major'
10940  shlibpath_var=LIBRARY_PATH
10941  shlibpath_overrides_runpath=no
10942  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10943  hardcode_into_libs=yes
10944  ;;
10945
10946hpux9* | hpux10* | hpux11*)
10947  # Give a soname corresponding to the major version so that dld.sl refuses to
10948  # link against other versions.
10949  version_type=sunos
10950  need_lib_prefix=no
10951  need_version=no
10952  case $host_cpu in
10953  ia64*)
10954    shrext_cmds='.so'
10955    hardcode_into_libs=yes
10956    dynamic_linker="$host_os dld.so"
10957    shlibpath_var=LD_LIBRARY_PATH
10958    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10959    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10960    soname_spec='$libname$release$shared_ext$major'
10961    if test 32 = "$HPUX_IA64_MODE"; then
10962      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10963      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10964    else
10965      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10966      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10967    fi
10968    ;;
10969  hppa*64*)
10970    shrext_cmds='.sl'
10971    hardcode_into_libs=yes
10972    dynamic_linker="$host_os dld.sl"
10973    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10974    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10975    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10976    soname_spec='$libname$release$shared_ext$major'
10977    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10978    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10979    ;;
10980  *)
10981    shrext_cmds='.sl'
10982    dynamic_linker="$host_os dld.sl"
10983    shlibpath_var=SHLIB_PATH
10984    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10985    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10986    soname_spec='$libname$release$shared_ext$major'
10987    ;;
10988  esac
10989  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10990  postinstall_cmds='chmod 555 $lib'
10991  # or fails outright, so override atomically:
10992  install_override_mode=555
10993  ;;
10994
10995interix[3-9]*)
10996  version_type=linux # correct to gnu/linux during the next big refactor
10997  need_lib_prefix=no
10998  need_version=no
10999  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11000  soname_spec='$libname$release$shared_ext$major'
11001  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11002  shlibpath_var=LD_LIBRARY_PATH
11003  shlibpath_overrides_runpath=no
11004  hardcode_into_libs=yes
11005  ;;
11006
11007irix5* | irix6* | nonstopux*)
11008  case $host_os in
11009    nonstopux*) version_type=nonstopux ;;
11010    *)
11011	if test yes = "$lt_cv_prog_gnu_ld"; then
11012		version_type=linux # correct to gnu/linux during the next big refactor
11013	else
11014		version_type=irix
11015	fi ;;
11016  esac
11017  need_lib_prefix=no
11018  need_version=no
11019  soname_spec='$libname$release$shared_ext$major'
11020  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11021  case $host_os in
11022  irix5* | nonstopux*)
11023    libsuff= shlibsuff=
11024    ;;
11025  *)
11026    case $LD in # libtool.m4 will add one of these switches to LD
11027    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11028      libsuff= shlibsuff= libmagic=32-bit;;
11029    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11030      libsuff=32 shlibsuff=N32 libmagic=N32;;
11031    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11032      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11033    *) libsuff= shlibsuff= libmagic=never-match;;
11034    esac
11035    ;;
11036  esac
11037  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11038  shlibpath_overrides_runpath=no
11039  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11040  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11041  hardcode_into_libs=yes
11042  ;;
11043
11044# No shared lib support for Linux oldld, aout, or coff.
11045linux*oldld* | linux*aout* | linux*coff*)
11046  dynamic_linker=no
11047  ;;
11048
11049linux*android*)
11050  version_type=none # Android doesn't support versioned libraries.
11051  need_lib_prefix=no
11052  need_version=no
11053  library_names_spec='$libname$release$shared_ext'
11054  soname_spec='$libname$release$shared_ext'
11055  finish_cmds=
11056  shlibpath_var=LD_LIBRARY_PATH
11057  shlibpath_overrides_runpath=yes
11058
11059  # This implies no fast_install, which is unacceptable.
11060  # Some rework will be needed to allow for fast_install
11061  # before this can be enabled.
11062  hardcode_into_libs=yes
11063
11064  dynamic_linker='Android linker'
11065  # Don't embed -rpath directories since the linker doesn't support them.
11066  hardcode_libdir_flag_spec='-L$libdir'
11067  ;;
11068
11069# This must be glibc/ELF.
11070linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11071  version_type=linux # correct to gnu/linux during the next big refactor
11072  need_lib_prefix=no
11073  need_version=no
11074  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11075  soname_spec='$libname$release$shared_ext$major'
11076  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11077  shlibpath_var=LD_LIBRARY_PATH
11078  shlibpath_overrides_runpath=no
11079
11080  # Some binutils ld are patched to set DT_RUNPATH
11081  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11082  $as_echo_n "(cached) " >&6
11083else
11084  lt_cv_shlibpath_overrides_runpath=no
11085    save_LDFLAGS=$LDFLAGS
11086    save_libdir=$libdir
11087    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11088	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11089    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090/* end confdefs.h.  */
11091
11092int
11093main ()
11094{
11095
11096  ;
11097  return 0;
11098}
11099_ACEOF
11100if ac_fn_c_try_link "$LINENO"; then :
11101  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11102  lt_cv_shlibpath_overrides_runpath=yes
11103fi
11104fi
11105rm -f core conftest.err conftest.$ac_objext \
11106    conftest$ac_exeext conftest.$ac_ext
11107    LDFLAGS=$save_LDFLAGS
11108    libdir=$save_libdir
11109
11110fi
11111
11112  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11113
11114  # This implies no fast_install, which is unacceptable.
11115  # Some rework will be needed to allow for fast_install
11116  # before this can be enabled.
11117  hardcode_into_libs=yes
11118
11119  # Ideally, we could use ldconfig to report *all* directores which are
11120  # searched for libraries, however this is still not possible.  Aside from not
11121  # being certain /sbin/ldconfig is available, command
11122  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11123  # even though it is searched at run-time.  Try to do the best guess by
11124  # appending ld.so.conf contents (and includes) to the search path.
11125  if test -f /etc/ld.so.conf; then
11126    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' ' '`
11127    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11128  fi
11129
11130  # We used to test for /lib/ld.so.1 and disable shared libraries on
11131  # powerpc, because MkLinux only supported shared libraries with the
11132  # GNU dynamic linker.  Since this was broken with cross compilers,
11133  # most powerpc-linux boxes support dynamic linking these days and
11134  # people can always --disable-shared, the test was removed, and we
11135  # assume the GNU/Linux dynamic linker is in use.
11136  dynamic_linker='GNU/Linux ld.so'
11137  ;;
11138
11139netbsdelf*-gnu)
11140  version_type=linux
11141  need_lib_prefix=no
11142  need_version=no
11143  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11144  soname_spec='${libname}${release}${shared_ext}$major'
11145  shlibpath_var=LD_LIBRARY_PATH
11146  shlibpath_overrides_runpath=no
11147  hardcode_into_libs=yes
11148  dynamic_linker='NetBSD ld.elf_so'
11149  ;;
11150
11151netbsd*)
11152  version_type=sunos
11153  need_lib_prefix=no
11154  need_version=no
11155  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11156    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11157    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11158    dynamic_linker='NetBSD (a.out) ld.so'
11159  else
11160    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11161    soname_spec='$libname$release$shared_ext$major'
11162    dynamic_linker='NetBSD ld.elf_so'
11163  fi
11164  shlibpath_var=LD_LIBRARY_PATH
11165  shlibpath_overrides_runpath=yes
11166  hardcode_into_libs=yes
11167  ;;
11168
11169newsos6)
11170  version_type=linux # correct to gnu/linux during the next big refactor
11171  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11172  shlibpath_var=LD_LIBRARY_PATH
11173  shlibpath_overrides_runpath=yes
11174  ;;
11175
11176*nto* | *qnx*)
11177  version_type=qnx
11178  need_lib_prefix=no
11179  need_version=no
11180  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11181  soname_spec='$libname$release$shared_ext$major'
11182  shlibpath_var=LD_LIBRARY_PATH
11183  shlibpath_overrides_runpath=no
11184  hardcode_into_libs=yes
11185  dynamic_linker='ldqnx.so'
11186  ;;
11187
11188openbsd* | bitrig*)
11189  version_type=sunos
11190  sys_lib_dlsearch_path_spec=/usr/lib
11191  need_lib_prefix=no
11192  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11193    need_version=no
11194  else
11195    need_version=yes
11196  fi
11197  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11198  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11199  shlibpath_var=LD_LIBRARY_PATH
11200  shlibpath_overrides_runpath=yes
11201  ;;
11202
11203os2*)
11204  libname_spec='$name'
11205  version_type=windows
11206  shrext_cmds=.dll
11207  need_version=no
11208  need_lib_prefix=no
11209  # OS/2 can only load a DLL with a base name of 8 characters or less.
11210  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11211    v=$($ECHO $release$versuffix | tr -d .-);
11212    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11213    $ECHO $n$v`$shared_ext'
11214  library_names_spec='${libname}_dll.$libext'
11215  dynamic_linker='OS/2 ld.exe'
11216  shlibpath_var=BEGINLIBPATH
11217  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11218  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11219  postinstall_cmds='base_file=`basename \$file`~
11220    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11221    dldir=$destdir/`dirname \$dlpath`~
11222    test -d \$dldir || mkdir -p \$dldir~
11223    $install_prog $dir/$dlname \$dldir/$dlname~
11224    chmod a+x \$dldir/$dlname~
11225    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11226      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11227    fi'
11228  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11229    dlpath=$dir/\$dldll~
11230    $RM \$dlpath'
11231  ;;
11232
11233osf3* | osf4* | osf5*)
11234  version_type=osf
11235  need_lib_prefix=no
11236  need_version=no
11237  soname_spec='$libname$release$shared_ext$major'
11238  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11239  shlibpath_var=LD_LIBRARY_PATH
11240  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11241  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11242  ;;
11243
11244rdos*)
11245  dynamic_linker=no
11246  ;;
11247
11248solaris*)
11249  version_type=linux # correct to gnu/linux during the next big refactor
11250  need_lib_prefix=no
11251  need_version=no
11252  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11253  soname_spec='$libname$release$shared_ext$major'
11254  shlibpath_var=LD_LIBRARY_PATH
11255  shlibpath_overrides_runpath=yes
11256  hardcode_into_libs=yes
11257  # ldd complains unless libraries are executable
11258  postinstall_cmds='chmod +x $lib'
11259  ;;
11260
11261sunos4*)
11262  version_type=sunos
11263  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11264  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11265  shlibpath_var=LD_LIBRARY_PATH
11266  shlibpath_overrides_runpath=yes
11267  if test yes = "$with_gnu_ld"; then
11268    need_lib_prefix=no
11269  fi
11270  need_version=yes
11271  ;;
11272
11273sysv4 | sysv4.3*)
11274  version_type=linux # correct to gnu/linux during the next big refactor
11275  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11276  soname_spec='$libname$release$shared_ext$major'
11277  shlibpath_var=LD_LIBRARY_PATH
11278  case $host_vendor in
11279    sni)
11280      shlibpath_overrides_runpath=no
11281      need_lib_prefix=no
11282      runpath_var=LD_RUN_PATH
11283      ;;
11284    siemens)
11285      need_lib_prefix=no
11286      ;;
11287    motorola)
11288      need_lib_prefix=no
11289      need_version=no
11290      shlibpath_overrides_runpath=no
11291      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11292      ;;
11293  esac
11294  ;;
11295
11296sysv4*MP*)
11297  if test -d /usr/nec; then
11298    version_type=linux # correct to gnu/linux during the next big refactor
11299    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11300    soname_spec='$libname$shared_ext.$major'
11301    shlibpath_var=LD_LIBRARY_PATH
11302  fi
11303  ;;
11304
11305sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11306  version_type=sco
11307  need_lib_prefix=no
11308  need_version=no
11309  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11310  soname_spec='$libname$release$shared_ext$major'
11311  shlibpath_var=LD_LIBRARY_PATH
11312  shlibpath_overrides_runpath=yes
11313  hardcode_into_libs=yes
11314  if test yes = "$with_gnu_ld"; then
11315    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11316  else
11317    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11318    case $host_os in
11319      sco3.2v5*)
11320        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11321	;;
11322    esac
11323  fi
11324  sys_lib_dlsearch_path_spec='/usr/lib'
11325  ;;
11326
11327tpf*)
11328  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11329  version_type=linux # correct to gnu/linux during the next big refactor
11330  need_lib_prefix=no
11331  need_version=no
11332  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11333  shlibpath_var=LD_LIBRARY_PATH
11334  shlibpath_overrides_runpath=no
11335  hardcode_into_libs=yes
11336  ;;
11337
11338uts4*)
11339  version_type=linux # correct to gnu/linux during the next big refactor
11340  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11341  soname_spec='$libname$release$shared_ext$major'
11342  shlibpath_var=LD_LIBRARY_PATH
11343  ;;
11344
11345*)
11346  dynamic_linker=no
11347  ;;
11348esac
11349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11350$as_echo "$dynamic_linker" >&6; }
11351test no = "$dynamic_linker" && can_build_shared=no
11352
11353variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11354if test yes = "$GCC"; then
11355  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11356fi
11357
11358if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11359  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11360fi
11361
11362if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11363  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11364fi
11365
11366# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11367configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11368
11369# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11370func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11371
11372# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11373configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
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
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11472$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11473hardcode_action=
11474if test -n "$hardcode_libdir_flag_spec" ||
11475   test -n "$runpath_var" ||
11476   test yes = "$hardcode_automatic"; then
11477
11478  # We can hardcode non-existent directories.
11479  if test no != "$hardcode_direct" &&
11480     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11481     # have to relink, otherwise we might link with an installed library
11482     # when we should be linking with a yet-to-be-installed one
11483     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11484     test no != "$hardcode_minus_L"; then
11485    # Linking always hardcodes the temporary library directory.
11486    hardcode_action=relink
11487  else
11488    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11489    hardcode_action=immediate
11490  fi
11491else
11492  # We cannot hardcode anything, or else we can only hardcode existing
11493  # directories.
11494  hardcode_action=unsupported
11495fi
11496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11497$as_echo "$hardcode_action" >&6; }
11498
11499if test relink = "$hardcode_action" ||
11500   test yes = "$inherit_rpath"; then
11501  # Fast installation is not supported
11502  enable_fast_install=no
11503elif test yes = "$shlibpath_overrides_runpath" ||
11504     test no = "$enable_shared"; then
11505  # Fast installation is not necessary
11506  enable_fast_install=needless
11507fi
11508
11509
11510
11511
11512
11513
11514  if test yes != "$enable_dlopen"; then
11515  enable_dlopen=unknown
11516  enable_dlopen_self=unknown
11517  enable_dlopen_self_static=unknown
11518else
11519  lt_cv_dlopen=no
11520  lt_cv_dlopen_libs=
11521
11522  case $host_os in
11523  beos*)
11524    lt_cv_dlopen=load_add_on
11525    lt_cv_dlopen_libs=
11526    lt_cv_dlopen_self=yes
11527    ;;
11528
11529  mingw* | pw32* | cegcc*)
11530    lt_cv_dlopen=LoadLibrary
11531    lt_cv_dlopen_libs=
11532    ;;
11533
11534  cygwin*)
11535    lt_cv_dlopen=dlopen
11536    lt_cv_dlopen_libs=
11537    ;;
11538
11539  darwin*)
11540    # if libdl is installed we need to link against it
11541    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11542$as_echo_n "checking for dlopen in -ldl... " >&6; }
11543if ${ac_cv_lib_dl_dlopen+:} false; then :
11544  $as_echo_n "(cached) " >&6
11545else
11546  ac_check_lib_save_LIBS=$LIBS
11547LIBS="-ldl  $LIBS"
11548cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549/* end confdefs.h.  */
11550
11551/* Override any GCC internal prototype to avoid an error.
11552   Use char because int might match the return type of a GCC
11553   builtin and then its argument prototype would still apply.  */
11554#ifdef __cplusplus
11555extern "C"
11556#endif
11557char dlopen ();
11558int
11559main ()
11560{
11561return dlopen ();
11562  ;
11563  return 0;
11564}
11565_ACEOF
11566if ac_fn_c_try_link "$LINENO"; then :
11567  ac_cv_lib_dl_dlopen=yes
11568else
11569  ac_cv_lib_dl_dlopen=no
11570fi
11571rm -f core conftest.err conftest.$ac_objext \
11572    conftest$ac_exeext conftest.$ac_ext
11573LIBS=$ac_check_lib_save_LIBS
11574fi
11575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11576$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11577if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11578  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11579else
11580
11581    lt_cv_dlopen=dyld
11582    lt_cv_dlopen_libs=
11583    lt_cv_dlopen_self=yes
11584
11585fi
11586
11587    ;;
11588
11589  tpf*)
11590    # Don't try to run any link tests for TPF.  We know it's impossible
11591    # because TPF is a cross-compiler, and we know how we open DSOs.
11592    lt_cv_dlopen=dlopen
11593    lt_cv_dlopen_libs=
11594    lt_cv_dlopen_self=no
11595    ;;
11596
11597  *)
11598    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11599if test "x$ac_cv_func_shl_load" = xyes; then :
11600  lt_cv_dlopen=shl_load
11601else
11602  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11603$as_echo_n "checking for shl_load in -ldld... " >&6; }
11604if ${ac_cv_lib_dld_shl_load+:} false; then :
11605  $as_echo_n "(cached) " >&6
11606else
11607  ac_check_lib_save_LIBS=$LIBS
11608LIBS="-ldld  $LIBS"
11609cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11610/* end confdefs.h.  */
11611
11612/* Override any GCC internal prototype to avoid an error.
11613   Use char because int might match the return type of a GCC
11614   builtin and then its argument prototype would still apply.  */
11615#ifdef __cplusplus
11616extern "C"
11617#endif
11618char shl_load ();
11619int
11620main ()
11621{
11622return shl_load ();
11623  ;
11624  return 0;
11625}
11626_ACEOF
11627if ac_fn_c_try_link "$LINENO"; then :
11628  ac_cv_lib_dld_shl_load=yes
11629else
11630  ac_cv_lib_dld_shl_load=no
11631fi
11632rm -f core conftest.err conftest.$ac_objext \
11633    conftest$ac_exeext conftest.$ac_ext
11634LIBS=$ac_check_lib_save_LIBS
11635fi
11636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11637$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11638if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11639  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11640else
11641  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11642if test "x$ac_cv_func_dlopen" = xyes; then :
11643  lt_cv_dlopen=dlopen
11644else
11645  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11646$as_echo_n "checking for dlopen in -ldl... " >&6; }
11647if ${ac_cv_lib_dl_dlopen+:} false; then :
11648  $as_echo_n "(cached) " >&6
11649else
11650  ac_check_lib_save_LIBS=$LIBS
11651LIBS="-ldl  $LIBS"
11652cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653/* end confdefs.h.  */
11654
11655/* Override any GCC internal prototype to avoid an error.
11656   Use char because int might match the return type of a GCC
11657   builtin and then its argument prototype would still apply.  */
11658#ifdef __cplusplus
11659extern "C"
11660#endif
11661char dlopen ();
11662int
11663main ()
11664{
11665return dlopen ();
11666  ;
11667  return 0;
11668}
11669_ACEOF
11670if ac_fn_c_try_link "$LINENO"; then :
11671  ac_cv_lib_dl_dlopen=yes
11672else
11673  ac_cv_lib_dl_dlopen=no
11674fi
11675rm -f core conftest.err conftest.$ac_objext \
11676    conftest$ac_exeext conftest.$ac_ext
11677LIBS=$ac_check_lib_save_LIBS
11678fi
11679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11680$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11681if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11682  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11683else
11684  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11685$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11686if ${ac_cv_lib_svld_dlopen+:} false; then :
11687  $as_echo_n "(cached) " >&6
11688else
11689  ac_check_lib_save_LIBS=$LIBS
11690LIBS="-lsvld  $LIBS"
11691cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11692/* end confdefs.h.  */
11693
11694/* Override any GCC internal prototype to avoid an error.
11695   Use char because int might match the return type of a GCC
11696   builtin and then its argument prototype would still apply.  */
11697#ifdef __cplusplus
11698extern "C"
11699#endif
11700char dlopen ();
11701int
11702main ()
11703{
11704return dlopen ();
11705  ;
11706  return 0;
11707}
11708_ACEOF
11709if ac_fn_c_try_link "$LINENO"; then :
11710  ac_cv_lib_svld_dlopen=yes
11711else
11712  ac_cv_lib_svld_dlopen=no
11713fi
11714rm -f core conftest.err conftest.$ac_objext \
11715    conftest$ac_exeext conftest.$ac_ext
11716LIBS=$ac_check_lib_save_LIBS
11717fi
11718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11719$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11720if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11721  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11722else
11723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11724$as_echo_n "checking for dld_link in -ldld... " >&6; }
11725if ${ac_cv_lib_dld_dld_link+:} false; then :
11726  $as_echo_n "(cached) " >&6
11727else
11728  ac_check_lib_save_LIBS=$LIBS
11729LIBS="-ldld  $LIBS"
11730cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731/* end confdefs.h.  */
11732
11733/* Override any GCC internal prototype to avoid an error.
11734   Use char because int might match the return type of a GCC
11735   builtin and then its argument prototype would still apply.  */
11736#ifdef __cplusplus
11737extern "C"
11738#endif
11739char dld_link ();
11740int
11741main ()
11742{
11743return dld_link ();
11744  ;
11745  return 0;
11746}
11747_ACEOF
11748if ac_fn_c_try_link "$LINENO"; then :
11749  ac_cv_lib_dld_dld_link=yes
11750else
11751  ac_cv_lib_dld_dld_link=no
11752fi
11753rm -f core conftest.err conftest.$ac_objext \
11754    conftest$ac_exeext conftest.$ac_ext
11755LIBS=$ac_check_lib_save_LIBS
11756fi
11757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11758$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11759if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11760  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11761fi
11762
11763
11764fi
11765
11766
11767fi
11768
11769
11770fi
11771
11772
11773fi
11774
11775
11776fi
11777
11778    ;;
11779  esac
11780
11781  if test no = "$lt_cv_dlopen"; then
11782    enable_dlopen=no
11783  else
11784    enable_dlopen=yes
11785  fi
11786
11787  case $lt_cv_dlopen in
11788  dlopen)
11789    save_CPPFLAGS=$CPPFLAGS
11790    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11791
11792    save_LDFLAGS=$LDFLAGS
11793    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11794
11795    save_LIBS=$LIBS
11796    LIBS="$lt_cv_dlopen_libs $LIBS"
11797
11798    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11799$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11800if ${lt_cv_dlopen_self+:} false; then :
11801  $as_echo_n "(cached) " >&6
11802else
11803  	  if test yes = "$cross_compiling"; then :
11804  lt_cv_dlopen_self=cross
11805else
11806  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11807  lt_status=$lt_dlunknown
11808  cat > conftest.$ac_ext <<_LT_EOF
11809#line $LINENO "configure"
11810#include "confdefs.h"
11811
11812#if HAVE_DLFCN_H
11813#include <dlfcn.h>
11814#endif
11815
11816#include <stdio.h>
11817
11818#ifdef RTLD_GLOBAL
11819#  define LT_DLGLOBAL		RTLD_GLOBAL
11820#else
11821#  ifdef DL_GLOBAL
11822#    define LT_DLGLOBAL		DL_GLOBAL
11823#  else
11824#    define LT_DLGLOBAL		0
11825#  endif
11826#endif
11827
11828/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11829   find out it does not work in some platform. */
11830#ifndef LT_DLLAZY_OR_NOW
11831#  ifdef RTLD_LAZY
11832#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11833#  else
11834#    ifdef DL_LAZY
11835#      define LT_DLLAZY_OR_NOW		DL_LAZY
11836#    else
11837#      ifdef RTLD_NOW
11838#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11839#      else
11840#        ifdef DL_NOW
11841#          define LT_DLLAZY_OR_NOW	DL_NOW
11842#        else
11843#          define LT_DLLAZY_OR_NOW	0
11844#        endif
11845#      endif
11846#    endif
11847#  endif
11848#endif
11849
11850/* When -fvisibility=hidden is used, assume the code has been annotated
11851   correspondingly for the symbols needed.  */
11852#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11853int fnord () __attribute__((visibility("default")));
11854#endif
11855
11856int fnord () { return 42; }
11857int main ()
11858{
11859  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11860  int status = $lt_dlunknown;
11861
11862  if (self)
11863    {
11864      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11865      else
11866        {
11867	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11868          else puts (dlerror ());
11869	}
11870      /* dlclose (self); */
11871    }
11872  else
11873    puts (dlerror ());
11874
11875  return status;
11876}
11877_LT_EOF
11878  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11879  (eval $ac_link) 2>&5
11880  ac_status=$?
11881  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11882  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11883    (./conftest; exit; ) >&5 2>/dev/null
11884    lt_status=$?
11885    case x$lt_status in
11886      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11887      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11888      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11889    esac
11890  else :
11891    # compilation failed
11892    lt_cv_dlopen_self=no
11893  fi
11894fi
11895rm -fr conftest*
11896
11897
11898fi
11899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11900$as_echo "$lt_cv_dlopen_self" >&6; }
11901
11902    if test yes = "$lt_cv_dlopen_self"; then
11903      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11904      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11905$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11906if ${lt_cv_dlopen_self_static+:} false; then :
11907  $as_echo_n "(cached) " >&6
11908else
11909  	  if test yes = "$cross_compiling"; then :
11910  lt_cv_dlopen_self_static=cross
11911else
11912  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11913  lt_status=$lt_dlunknown
11914  cat > conftest.$ac_ext <<_LT_EOF
11915#line $LINENO "configure"
11916#include "confdefs.h"
11917
11918#if HAVE_DLFCN_H
11919#include <dlfcn.h>
11920#endif
11921
11922#include <stdio.h>
11923
11924#ifdef RTLD_GLOBAL
11925#  define LT_DLGLOBAL		RTLD_GLOBAL
11926#else
11927#  ifdef DL_GLOBAL
11928#    define LT_DLGLOBAL		DL_GLOBAL
11929#  else
11930#    define LT_DLGLOBAL		0
11931#  endif
11932#endif
11933
11934/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11935   find out it does not work in some platform. */
11936#ifndef LT_DLLAZY_OR_NOW
11937#  ifdef RTLD_LAZY
11938#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11939#  else
11940#    ifdef DL_LAZY
11941#      define LT_DLLAZY_OR_NOW		DL_LAZY
11942#    else
11943#      ifdef RTLD_NOW
11944#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11945#      else
11946#        ifdef DL_NOW
11947#          define LT_DLLAZY_OR_NOW	DL_NOW
11948#        else
11949#          define LT_DLLAZY_OR_NOW	0
11950#        endif
11951#      endif
11952#    endif
11953#  endif
11954#endif
11955
11956/* When -fvisibility=hidden is used, assume the code has been annotated
11957   correspondingly for the symbols needed.  */
11958#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11959int fnord () __attribute__((visibility("default")));
11960#endif
11961
11962int fnord () { return 42; }
11963int main ()
11964{
11965  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11966  int status = $lt_dlunknown;
11967
11968  if (self)
11969    {
11970      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11971      else
11972        {
11973	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11974          else puts (dlerror ());
11975	}
11976      /* dlclose (self); */
11977    }
11978  else
11979    puts (dlerror ());
11980
11981  return status;
11982}
11983_LT_EOF
11984  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11985  (eval $ac_link) 2>&5
11986  ac_status=$?
11987  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11988  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11989    (./conftest; exit; ) >&5 2>/dev/null
11990    lt_status=$?
11991    case x$lt_status in
11992      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11993      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11994      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11995    esac
11996  else :
11997    # compilation failed
11998    lt_cv_dlopen_self_static=no
11999  fi
12000fi
12001rm -fr conftest*
12002
12003
12004fi
12005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12006$as_echo "$lt_cv_dlopen_self_static" >&6; }
12007    fi
12008
12009    CPPFLAGS=$save_CPPFLAGS
12010    LDFLAGS=$save_LDFLAGS
12011    LIBS=$save_LIBS
12012    ;;
12013  esac
12014
12015  case $lt_cv_dlopen_self in
12016  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12017  *) enable_dlopen_self=unknown ;;
12018  esac
12019
12020  case $lt_cv_dlopen_self_static in
12021  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12022  *) enable_dlopen_self_static=unknown ;;
12023  esac
12024fi
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042striplib=
12043old_striplib=
12044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12045$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12046if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12047  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12048  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12050$as_echo "yes" >&6; }
12051else
12052# FIXME - insert some real tests, host_os isn't really good enough
12053  case $host_os in
12054  darwin*)
12055    if test -n "$STRIP"; then
12056      striplib="$STRIP -x"
12057      old_striplib="$STRIP -S"
12058      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12059$as_echo "yes" >&6; }
12060    else
12061      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12062$as_echo "no" >&6; }
12063    fi
12064    ;;
12065  *)
12066    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12067$as_echo "no" >&6; }
12068    ;;
12069  esac
12070fi
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083  # Report what library types will actually be built
12084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12085$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12087$as_echo "$can_build_shared" >&6; }
12088
12089  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12090$as_echo_n "checking whether to build shared libraries... " >&6; }
12091  test no = "$can_build_shared" && enable_shared=no
12092
12093  # On AIX, shared libraries and static libraries use the same namespace, and
12094  # are all built from PIC.
12095  case $host_os in
12096  aix3*)
12097    test yes = "$enable_shared" && enable_static=no
12098    if test -n "$RANLIB"; then
12099      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12100      postinstall_cmds='$RANLIB $lib'
12101    fi
12102    ;;
12103
12104  aix[4-9]*)
12105    if test ia64 != "$host_cpu"; then
12106      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12107      yes,aix,yes) ;;			# shared object as lib.so file only
12108      yes,svr4,*) ;;			# shared object as lib.so archive member only
12109      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12110      esac
12111    fi
12112    ;;
12113  esac
12114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12115$as_echo "$enable_shared" >&6; }
12116
12117  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12118$as_echo_n "checking whether to build static libraries... " >&6; }
12119  # Make sure either enable_shared or enable_static is yes.
12120  test yes = "$enable_shared" || enable_static=yes
12121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12122$as_echo "$enable_static" >&6; }
12123
12124
12125
12126
12127fi
12128ac_ext=c
12129ac_cpp='$CPP $CPPFLAGS'
12130ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12131ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12132ac_compiler_gnu=$ac_cv_c_compiler_gnu
12133
12134CC=$lt_save_CC
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150        ac_config_commands="$ac_config_commands libtool"
12151
12152
12153
12154
12155# Only expand once:
12156
12157
12158
12159
12160
12161
12162CFLAGS="$CFLAGS"
12163
12164LIBS="$LDFLAGS $LIBS"
12165
12166
12167for ac_header in string.h
12168do :
12169  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12170if test "x$ac_cv_header_string_h" = xyes; then :
12171  cat >>confdefs.h <<_ACEOF
12172#define HAVE_STRING_H 1
12173_ACEOF
12174 HAVE_STRING_H=1
12175else
12176  as_fn_error $? "cannot find string.h, bailing out" "$LINENO" 5
12177fi
12178
12179done
12180
12181for ac_header in stdio.h
12182do :
12183  ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
12184if test "x$ac_cv_header_stdio_h" = xyes; then :
12185  cat >>confdefs.h <<_ACEOF
12186#define HAVE_STDIO_H 1
12187_ACEOF
12188
12189else
12190  as_fn_error $? "cannot find stdio.h, bailing out" "$LINENO" 5
12191fi
12192
12193done
12194
12195for ac_header in stdlib.h
12196do :
12197  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12198if test "x$ac_cv_header_stdlib_h" = xyes; then :
12199  cat >>confdefs.h <<_ACEOF
12200#define HAVE_STDLIB_H 1
12201_ACEOF
12202
12203else
12204  as_fn_error $? "cannot find stdlib.h, bailing out" "$LINENO" 5
12205fi
12206
12207done
12208
12209
12210for ac_header in locale.h
12211do :
12212  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12213if test "x$ac_cv_header_locale_h" = xyes; then :
12214  cat >>confdefs.h <<_ACEOF
12215#define HAVE_LOCALE_H 1
12216_ACEOF
12217
12218fi
12219
12220done
12221
12222
12223LIBS="${LIBS}"
12224
12225
12226
12227
12228
12229# Check whether --enable-debug was given.
12230if test "${enable_debug+set}" = set; then :
12231  enableval=$enable_debug;
12232fi
12233
12234
12235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for debug enabled" >&5
12236$as_echo_n "checking for debug enabled... " >&6; }
12237
12238if test "x$enable_debug" = "xyes"; then
12239    CFLAGS="$CFLAGS -g -DDEBUG -Wall"
12240    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12241$as_echo "yes" >&6; }
12242else
12243    CFLAGS="$CFLAGS -O3 -DNDEBUG"
12244    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12245$as_echo "no" >&6; }
12246fi
12247
12248
12249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
12250$as_echo_n "checking for exp in -lm... " >&6; }
12251if ${ac_cv_lib_m_exp+:} false; then :
12252  $as_echo_n "(cached) " >&6
12253else
12254  ac_check_lib_save_LIBS=$LIBS
12255LIBS="-lm  $LIBS"
12256cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257/* end confdefs.h.  */
12258
12259/* Override any GCC internal prototype to avoid an error.
12260   Use char because int might match the return type of a GCC
12261   builtin and then its argument prototype would still apply.  */
12262#ifdef __cplusplus
12263extern "C"
12264#endif
12265char exp ();
12266int
12267main ()
12268{
12269return exp ();
12270  ;
12271  return 0;
12272}
12273_ACEOF
12274if ac_fn_c_try_link "$LINENO"; then :
12275  ac_cv_lib_m_exp=yes
12276else
12277  ac_cv_lib_m_exp=no
12278fi
12279rm -f core conftest.err conftest.$ac_objext \
12280    conftest$ac_exeext conftest.$ac_ext
12281LIBS=$ac_check_lib_save_LIBS
12282fi
12283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
12284$as_echo "$ac_cv_lib_m_exp" >&6; }
12285if test "x$ac_cv_lib_m_exp" = xyes; then :
12286  cat >>confdefs.h <<_ACEOF
12287#define HAVE_LIBM 1
12288_ACEOF
12289
12290  LIBS="-lm $LIBS"
12291
12292fi
12293
12294
12295
12296
12297
12298# Check whether --with-zip was given.
12299if test "${with_zip+set}" = set; then :
12300  withval=$with_zip;
12301fi
12302
12303
12304
12305# Check whether --with-zlib was given.
12306if test "${with_zlib+set}" = set; then :
12307  withval=$with_zlib;
12308fi
12309
12310
12311
12312# Check whether --with-libz was given.
12313if test "${with_libz+set}" = set; then :
12314  withval=$with_libz;
12315fi
12316
12317
12318HAVE_ZIP="no"
12319ZIP_CONFIG="no"
12320
12321# Implement aliasing...
12322
12323if test "$with_zlib" != "" ; then
12324  with_zip=$with_zlib
12325fi
12326if test "$with_libz" != "" ; then
12327  with_zip=$with_libz
12328fi
12329
12330
12331if test "$with_zip" != "" -a "x$with_zip" != "xno" ; then
12332    for ac_header in zlib.h
12333do :
12334  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12335if test "x$ac_cv_header_zlib_h" = xyes; then :
12336  cat >>confdefs.h <<_ACEOF
12337#define HAVE_ZLIB_H 1
12338_ACEOF
12339
12340else
12341  as_fn_error $? "cannot find zlib.h, bailing out" "$LINENO" 5
12342fi
12343
12344done
12345
12346    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inflateInit_" >&5
12347$as_echo_n "checking for library containing inflateInit_... " >&6; }
12348if ${ac_cv_search_inflateInit_+:} false; then :
12349  $as_echo_n "(cached) " >&6
12350else
12351  ac_func_search_save_LIBS=$LIBS
12352cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12353/* end confdefs.h.  */
12354
12355/* Override any GCC internal prototype to avoid an error.
12356   Use char because int might match the return type of a GCC
12357   builtin and then its argument prototype would still apply.  */
12358#ifdef __cplusplus
12359extern "C"
12360#endif
12361char inflateInit_ ();
12362int
12363main ()
12364{
12365return inflateInit_ ();
12366  ;
12367  return 0;
12368}
12369_ACEOF
12370for ac_lib in '' z; do
12371  if test -z "$ac_lib"; then
12372    ac_res="none required"
12373  else
12374    ac_res=-l$ac_lib
12375    LIBS="-l$ac_lib -L$with_zip/lib -lm $ac_func_search_save_LIBS"
12376  fi
12377  if ac_fn_c_try_link "$LINENO"; then :
12378  ac_cv_search_inflateInit_=$ac_res
12379fi
12380rm -f core conftest.err conftest.$ac_objext \
12381    conftest$ac_exeext
12382  if ${ac_cv_search_inflateInit_+:} false; then :
12383  break
12384fi
12385done
12386if ${ac_cv_search_inflateInit_+:} false; then :
12387
12388else
12389  ac_cv_search_inflateInit_=no
12390fi
12391rm conftest.$ac_ext
12392LIBS=$ac_func_search_save_LIBS
12393fi
12394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inflateInit_" >&5
12395$as_echo "$ac_cv_search_inflateInit_" >&6; }
12396ac_res=$ac_cv_search_inflateInit_
12397if test "$ac_res" != no; then :
12398  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12399  ZIP_CONFIG=yes
12400else
12401  ZIP_CONFIG=no
12402fi
12403
12404
12405else
12406    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
12407$as_echo_n "checking for zlib... " >&6; }
12408    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12409$as_echo "no" >&6; }
12410fi
12411
12412if test "${ZIP_CONFIG}" != "no" ; then
12413
12414    if test "${ZIP_CONFIG}" = "yes" ; then
12415        if test -d ${with_zip}/include ; then
12416            ZIP_INC="-I$with_zip/include"
12417            { $as_echo "$as_me:${as_lineno-$LINENO}: result: using zlib from $with_zip/include" >&5
12418$as_echo "using zlib from $with_zip/include" >&6; }
12419            HAVE_ZLIB="yes"
12420            ZIP_CONFIG="yes"
12421            LIBS="-L${with_zip}/lib -lz $LIBS"
12422        fi
12423    fi
12424
12425fi
12426
12427
12428
12429 if test ! x$ZIP_CONFIG = xno; then
12430  ZIP_IS_CONFIG_TRUE=
12431  ZIP_IS_CONFIG_FALSE='#'
12432else
12433  ZIP_IS_CONFIG_TRUE='#'
12434  ZIP_IS_CONFIG_FALSE=
12435fi
12436
12437
12438
12439
12440
12441
12442# Check whether --with-jpeg was given.
12443if test "${with_jpeg+set}" = set; then :
12444  withval=$with_jpeg;
12445fi
12446
12447
12448HAVE_JPEG="no"
12449JPEG_CONFIG="no"
12450
12451if test "$with_jpeg" = "no" -o "$with_jpeg" = "" ; then
12452    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg" >&5
12453$as_echo_n "checking for jpeg... " >&6; }
12454    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12455$as_echo "no" >&6; }
12456else
12457    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing jinit_compress_master" >&5
12458$as_echo_n "checking for library containing jinit_compress_master... " >&6; }
12459if ${ac_cv_search_jinit_compress_master+:} false; then :
12460  $as_echo_n "(cached) " >&6
12461else
12462  ac_func_search_save_LIBS=$LIBS
12463cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464/* end confdefs.h.  */
12465
12466/* Override any GCC internal prototype to avoid an error.
12467   Use char because int might match the return type of a GCC
12468   builtin and then its argument prototype would still apply.  */
12469#ifdef __cplusplus
12470extern "C"
12471#endif
12472char jinit_compress_master ();
12473int
12474main ()
12475{
12476return jinit_compress_master ();
12477  ;
12478  return 0;
12479}
12480_ACEOF
12481for ac_lib in '' jpeg; do
12482  if test -z "$ac_lib"; then
12483    ac_res="none required"
12484  else
12485    ac_res=-l$ac_lib
12486    LIBS="-l$ac_lib -L$with_jpeg/lib -lm $ac_func_search_save_LIBS"
12487  fi
12488  if ac_fn_c_try_link "$LINENO"; then :
12489  ac_cv_search_jinit_compress_master=$ac_res
12490fi
12491rm -f core conftest.err conftest.$ac_objext \
12492    conftest$ac_exeext
12493  if ${ac_cv_search_jinit_compress_master+:} false; then :
12494  break
12495fi
12496done
12497if ${ac_cv_search_jinit_compress_master+:} false; then :
12498
12499else
12500  ac_cv_search_jinit_compress_master=no
12501fi
12502rm conftest.$ac_ext
12503LIBS=$ac_func_search_save_LIBS
12504fi
12505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_jinit_compress_master" >&5
12506$as_echo "$ac_cv_search_jinit_compress_master" >&6; }
12507ac_res=$ac_cv_search_jinit_compress_master
12508if test "$ac_res" != no; then :
12509  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12510  JPEG_CONFIG=yes
12511else
12512  JPEG_CONFIG=no
12513fi
12514
12515fi
12516
12517if test "${JPEG_CONFIG}" != "no" ; then
12518
12519    if test "${JPEG_CONFIG}" = "yes" ; then
12520        if test -d ${with_jpeg}/include ; then
12521            JPEG_INC="-I$with_jpeg/include"
12522            LIBS="-L$with_jpeg/lib $LIBS"
12523            { $as_echo "$as_me:${as_lineno-$LINENO}: result: using jpeg from $with_jpeg/include" >&5
12524$as_echo "using jpeg from $with_jpeg/include" >&6; }
12525        fi
12526    fi
12527    HAVE_JPEG="yes"
12528    JPEG_CONFIG="yes"
12529fi
12530
12531
12532
12533 if test ! x$JPEG_CONFIG = xno; then
12534  JPEG_IS_CONFIG_TRUE=
12535  JPEG_IS_CONFIG_FALSE='#'
12536else
12537  JPEG_IS_CONFIG_TRUE='#'
12538  JPEG_IS_CONFIG_FALSE=
12539fi
12540
12541
12542
12543
12544TIFF_CONFIG="no"
12545
12546
12547# Check whether --with-libtiff was given.
12548if test "${with_libtiff+set}" = set; then :
12549  withval=$with_libtiff;
12550fi
12551
12552
12553if test "$with_libtiff" != "" ; then
12554  if test -f $with_libtiff/include/tiffio.h -a -d $with_libtiff/lib ; then
12555    LIBS="-L$with_libtiff/lib -ltiff $LIBS"
12556    TIFF_INC=-I$with_libtiff/include
12557  else
12558    LIBS="-L$with_libtiff -ltiff $LIBS"
12559    TIFF_INC=-I$with_libtiff
12560  fi
12561  LIBS_SAVED="$LIBS"
12562  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFOpen in -ltiff" >&5
12563$as_echo_n "checking for TIFFOpen in -ltiff... " >&6; }
12564if ${ac_cv_lib_tiff_TIFFOpen+:} false; then :
12565  $as_echo_n "(cached) " >&6
12566else
12567  ac_check_lib_save_LIBS=$LIBS
12568LIBS="-ltiff -lm $LIBS"
12569cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570/* end confdefs.h.  */
12571
12572/* Override any GCC internal prototype to avoid an error.
12573   Use char because int might match the return type of a GCC
12574   builtin and then its argument prototype would still apply.  */
12575#ifdef __cplusplus
12576extern "C"
12577#endif
12578char TIFFOpen ();
12579int
12580main ()
12581{
12582return TIFFOpen ();
12583  ;
12584  return 0;
12585}
12586_ACEOF
12587if ac_fn_c_try_link "$LINENO"; then :
12588  ac_cv_lib_tiff_TIFFOpen=yes
12589else
12590  ac_cv_lib_tiff_TIFFOpen=no
12591fi
12592rm -f core conftest.err conftest.$ac_objext \
12593    conftest$ac_exeext conftest.$ac_ext
12594LIBS=$ac_check_lib_save_LIBS
12595fi
12596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFOpen" >&5
12597$as_echo "$ac_cv_lib_tiff_TIFFOpen" >&6; }
12598if test "x$ac_cv_lib_tiff_TIFFOpen" = xyes; then :
12599  TIFF_CONFIG=yes
12600else
12601  as_fn_error $? "failed to link with -ltiff to find TIFFOpen" "$LINENO" 5
12602fi
12603
12604  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFMergeFieldInfo in -ltiff" >&5
12605$as_echo_n "checking for TIFFMergeFieldInfo in -ltiff... " >&6; }
12606if ${ac_cv_lib_tiff_TIFFMergeFieldInfo+:} false; then :
12607  $as_echo_n "(cached) " >&6
12608else
12609  ac_check_lib_save_LIBS=$LIBS
12610LIBS="-ltiff -lm $LIBS"
12611cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612/* end confdefs.h.  */
12613
12614/* Override any GCC internal prototype to avoid an error.
12615   Use char because int might match the return type of a GCC
12616   builtin and then its argument prototype would still apply.  */
12617#ifdef __cplusplus
12618extern "C"
12619#endif
12620char TIFFMergeFieldInfo ();
12621int
12622main ()
12623{
12624return TIFFMergeFieldInfo ();
12625  ;
12626  return 0;
12627}
12628_ACEOF
12629if ac_fn_c_try_link "$LINENO"; then :
12630  ac_cv_lib_tiff_TIFFMergeFieldInfo=yes
12631else
12632  ac_cv_lib_tiff_TIFFMergeFieldInfo=no
12633fi
12634rm -f core conftest.err conftest.$ac_objext \
12635    conftest$ac_exeext conftest.$ac_ext
12636LIBS=$ac_check_lib_save_LIBS
12637fi
12638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFMergeFieldInfo" >&5
12639$as_echo "$ac_cv_lib_tiff_TIFFMergeFieldInfo" >&6; }
12640if test "x$ac_cv_lib_tiff_TIFFMergeFieldInfo" = xyes; then :
12641  TIFF_CONFIG=yes
12642else
12643  as_fn_error $? "Libtiff 3.6.0 Beta or later required for this version of
12644libgeotiff. Please upgrade or use an older version of libgeotiff." "$LINENO" 5
12645fi
12646
12647  LIBS="$LIBS_SAVED"
12648else
12649
12650
12651
12652
12653
12654
12655
12656if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12657	if test -n "$ac_tool_prefix"; then
12658  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12659set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12661$as_echo_n "checking for $ac_word... " >&6; }
12662if ${ac_cv_path_PKG_CONFIG+:} false; then :
12663  $as_echo_n "(cached) " >&6
12664else
12665  case $PKG_CONFIG in
12666  [\\/]* | ?:[\\/]*)
12667  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12668  ;;
12669  *)
12670  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12671for as_dir in $PATH
12672do
12673  IFS=$as_save_IFS
12674  test -z "$as_dir" && as_dir=.
12675    for ac_exec_ext in '' $ac_executable_extensions; do
12676  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12677    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12678    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12679    break 2
12680  fi
12681done
12682  done
12683IFS=$as_save_IFS
12684
12685  ;;
12686esac
12687fi
12688PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12689if test -n "$PKG_CONFIG"; then
12690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12691$as_echo "$PKG_CONFIG" >&6; }
12692else
12693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12694$as_echo "no" >&6; }
12695fi
12696
12697
12698fi
12699if test -z "$ac_cv_path_PKG_CONFIG"; then
12700  ac_pt_PKG_CONFIG=$PKG_CONFIG
12701  # Extract the first word of "pkg-config", so it can be a program name with args.
12702set dummy pkg-config; ac_word=$2
12703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12704$as_echo_n "checking for $ac_word... " >&6; }
12705if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12706  $as_echo_n "(cached) " >&6
12707else
12708  case $ac_pt_PKG_CONFIG in
12709  [\\/]* | ?:[\\/]*)
12710  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12711  ;;
12712  *)
12713  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12714for as_dir in $PATH
12715do
12716  IFS=$as_save_IFS
12717  test -z "$as_dir" && as_dir=.
12718    for ac_exec_ext in '' $ac_executable_extensions; do
12719  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12720    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12721    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12722    break 2
12723  fi
12724done
12725  done
12726IFS=$as_save_IFS
12727
12728  ;;
12729esac
12730fi
12731ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12732if test -n "$ac_pt_PKG_CONFIG"; then
12733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12734$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12735else
12736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12737$as_echo "no" >&6; }
12738fi
12739
12740  if test "x$ac_pt_PKG_CONFIG" = x; then
12741    PKG_CONFIG=""
12742  else
12743    case $cross_compiling:$ac_tool_warned in
12744yes:)
12745{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12746$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12747ac_tool_warned=yes ;;
12748esac
12749    PKG_CONFIG=$ac_pt_PKG_CONFIG
12750  fi
12751else
12752  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12753fi
12754
12755fi
12756if test -n "$PKG_CONFIG"; then
12757	_pkg_min_version=0.9.0
12758	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12759$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12760	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12761		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12762$as_echo "yes" >&6; }
12763	else
12764		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12765$as_echo "no" >&6; }
12766		PKG_CONFIG=""
12767	fi
12768fi
12769
12770pkg_failed=no
12771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTIFF" >&5
12772$as_echo_n "checking for LIBTIFF... " >&6; }
12773
12774if test -n "$LIBTIFF_CFLAGS"; then
12775    pkg_cv_LIBTIFF_CFLAGS="$LIBTIFF_CFLAGS"
12776 elif test -n "$PKG_CONFIG"; then
12777    if test -n "$PKG_CONFIG" && \
12778    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5
12779  ($PKG_CONFIG --exists --print-errors "libtiff-4") 2>&5
12780  ac_status=$?
12781  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12782  test $ac_status = 0; }; then
12783  pkg_cv_LIBTIFF_CFLAGS=`$PKG_CONFIG --cflags "libtiff-4" 2>/dev/null`
12784		      test "x$?" != "x0" && pkg_failed=yes
12785else
12786  pkg_failed=yes
12787fi
12788 else
12789    pkg_failed=untried
12790fi
12791if test -n "$LIBTIFF_LIBS"; then
12792    pkg_cv_LIBTIFF_LIBS="$LIBTIFF_LIBS"
12793 elif test -n "$PKG_CONFIG"; then
12794    if test -n "$PKG_CONFIG" && \
12795    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5
12796  ($PKG_CONFIG --exists --print-errors "libtiff-4") 2>&5
12797  ac_status=$?
12798  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12799  test $ac_status = 0; }; then
12800  pkg_cv_LIBTIFF_LIBS=`$PKG_CONFIG --libs "libtiff-4" 2>/dev/null`
12801		      test "x$?" != "x0" && pkg_failed=yes
12802else
12803  pkg_failed=yes
12804fi
12805 else
12806    pkg_failed=untried
12807fi
12808
12809
12810
12811if test $pkg_failed = yes; then
12812   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12813$as_echo "no" >&6; }
12814
12815if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12816        _pkg_short_errors_supported=yes
12817else
12818        _pkg_short_errors_supported=no
12819fi
12820        if test $_pkg_short_errors_supported = yes; then
12821	        LIBTIFF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtiff-4" 2>&1`
12822        else
12823	        LIBTIFF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtiff-4" 2>&1`
12824        fi
12825	# Put the nasty error message in config.log where it belongs
12826	echo "$LIBTIFF_PKG_ERRORS" >&5
12827
12828	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFOpen in -ltiff" >&5
12829$as_echo_n "checking for TIFFOpen in -ltiff... " >&6; }
12830if ${ac_cv_lib_tiff_TIFFOpen+:} false; then :
12831  $as_echo_n "(cached) " >&6
12832else
12833  ac_check_lib_save_LIBS=$LIBS
12834LIBS="-ltiff -lm $LIBS"
12835cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12836/* end confdefs.h.  */
12837
12838/* Override any GCC internal prototype to avoid an error.
12839   Use char because int might match the return type of a GCC
12840   builtin and then its argument prototype would still apply.  */
12841#ifdef __cplusplus
12842extern "C"
12843#endif
12844char TIFFOpen ();
12845int
12846main ()
12847{
12848return TIFFOpen ();
12849  ;
12850  return 0;
12851}
12852_ACEOF
12853if ac_fn_c_try_link "$LINENO"; then :
12854  ac_cv_lib_tiff_TIFFOpen=yes
12855else
12856  ac_cv_lib_tiff_TIFFOpen=no
12857fi
12858rm -f core conftest.err conftest.$ac_objext \
12859    conftest$ac_exeext conftest.$ac_ext
12860LIBS=$ac_check_lib_save_LIBS
12861fi
12862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFOpen" >&5
12863$as_echo "$ac_cv_lib_tiff_TIFFOpen" >&6; }
12864if test "x$ac_cv_lib_tiff_TIFFOpen" = xyes; then :
12865  TIFF_CONFIG=yes
12866else
12867  as_fn_error $? "You will need to substantially rewrite libxtiff to
12868build libgeotiff without libtiff" "$LINENO" 5
12869fi
12870
12871                    LIBS_SAVED="$LIBS"
12872                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFMergeFieldInfo in -ltiff" >&5
12873$as_echo_n "checking for TIFFMergeFieldInfo in -ltiff... " >&6; }
12874if ${ac_cv_lib_tiff_TIFFMergeFieldInfo+:} false; then :
12875  $as_echo_n "(cached) " >&6
12876else
12877  ac_check_lib_save_LIBS=$LIBS
12878LIBS="-ltiff -lm $LIBS"
12879cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880/* end confdefs.h.  */
12881
12882/* Override any GCC internal prototype to avoid an error.
12883   Use char because int might match the return type of a GCC
12884   builtin and then its argument prototype would still apply.  */
12885#ifdef __cplusplus
12886extern "C"
12887#endif
12888char TIFFMergeFieldInfo ();
12889int
12890main ()
12891{
12892return TIFFMergeFieldInfo ();
12893  ;
12894  return 0;
12895}
12896_ACEOF
12897if ac_fn_c_try_link "$LINENO"; then :
12898  ac_cv_lib_tiff_TIFFMergeFieldInfo=yes
12899else
12900  ac_cv_lib_tiff_TIFFMergeFieldInfo=no
12901fi
12902rm -f core conftest.err conftest.$ac_objext \
12903    conftest$ac_exeext conftest.$ac_ext
12904LIBS=$ac_check_lib_save_LIBS
12905fi
12906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFMergeFieldInfo" >&5
12907$as_echo "$ac_cv_lib_tiff_TIFFMergeFieldInfo" >&6; }
12908if test "x$ac_cv_lib_tiff_TIFFMergeFieldInfo" = xyes; then :
12909  TIFF_CONFIG=yes
12910else
12911  as_fn_error $? "Libtiff 3.6.0 Beta or later required for this version of
12912libgeotiff. Please upgrade libtiff or use an older version of libgeotiff." "$LINENO" 5
12913fi
12914
12915                    LIBS="$LIBS -ltiff"
12916                    TIFF_INC=
12917                    TIFF_CONFIG="yes"
12918elif test $pkg_failed = untried; then
12919     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12920$as_echo "no" >&6; }
12921	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFOpen in -ltiff" >&5
12922$as_echo_n "checking for TIFFOpen in -ltiff... " >&6; }
12923if ${ac_cv_lib_tiff_TIFFOpen+:} false; then :
12924  $as_echo_n "(cached) " >&6
12925else
12926  ac_check_lib_save_LIBS=$LIBS
12927LIBS="-ltiff -lm $LIBS"
12928cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12929/* end confdefs.h.  */
12930
12931/* Override any GCC internal prototype to avoid an error.
12932   Use char because int might match the return type of a GCC
12933   builtin and then its argument prototype would still apply.  */
12934#ifdef __cplusplus
12935extern "C"
12936#endif
12937char TIFFOpen ();
12938int
12939main ()
12940{
12941return TIFFOpen ();
12942  ;
12943  return 0;
12944}
12945_ACEOF
12946if ac_fn_c_try_link "$LINENO"; then :
12947  ac_cv_lib_tiff_TIFFOpen=yes
12948else
12949  ac_cv_lib_tiff_TIFFOpen=no
12950fi
12951rm -f core conftest.err conftest.$ac_objext \
12952    conftest$ac_exeext conftest.$ac_ext
12953LIBS=$ac_check_lib_save_LIBS
12954fi
12955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFOpen" >&5
12956$as_echo "$ac_cv_lib_tiff_TIFFOpen" >&6; }
12957if test "x$ac_cv_lib_tiff_TIFFOpen" = xyes; then :
12958  TIFF_CONFIG=yes
12959else
12960  as_fn_error $? "You will need to substantially rewrite libxtiff to
12961build libgeotiff without libtiff" "$LINENO" 5
12962fi
12963
12964                    LIBS_SAVED="$LIBS"
12965                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFMergeFieldInfo in -ltiff" >&5
12966$as_echo_n "checking for TIFFMergeFieldInfo in -ltiff... " >&6; }
12967if ${ac_cv_lib_tiff_TIFFMergeFieldInfo+:} false; then :
12968  $as_echo_n "(cached) " >&6
12969else
12970  ac_check_lib_save_LIBS=$LIBS
12971LIBS="-ltiff -lm $LIBS"
12972cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12973/* end confdefs.h.  */
12974
12975/* Override any GCC internal prototype to avoid an error.
12976   Use char because int might match the return type of a GCC
12977   builtin and then its argument prototype would still apply.  */
12978#ifdef __cplusplus
12979extern "C"
12980#endif
12981char TIFFMergeFieldInfo ();
12982int
12983main ()
12984{
12985return TIFFMergeFieldInfo ();
12986  ;
12987  return 0;
12988}
12989_ACEOF
12990if ac_fn_c_try_link "$LINENO"; then :
12991  ac_cv_lib_tiff_TIFFMergeFieldInfo=yes
12992else
12993  ac_cv_lib_tiff_TIFFMergeFieldInfo=no
12994fi
12995rm -f core conftest.err conftest.$ac_objext \
12996    conftest$ac_exeext conftest.$ac_ext
12997LIBS=$ac_check_lib_save_LIBS
12998fi
12999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFMergeFieldInfo" >&5
13000$as_echo "$ac_cv_lib_tiff_TIFFMergeFieldInfo" >&6; }
13001if test "x$ac_cv_lib_tiff_TIFFMergeFieldInfo" = xyes; then :
13002  TIFF_CONFIG=yes
13003else
13004  as_fn_error $? "Libtiff 3.6.0 Beta or later required for this version of
13005libgeotiff. Please upgrade libtiff or use an older version of libgeotiff." "$LINENO" 5
13006fi
13007
13008                    LIBS="$LIBS -ltiff"
13009                    TIFF_INC=
13010                    TIFF_CONFIG="yes"
13011else
13012	LIBTIFF_CFLAGS=$pkg_cv_LIBTIFF_CFLAGS
13013	LIBTIFF_LIBS=$pkg_cv_LIBTIFF_LIBS
13014        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13015$as_echo "yes" >&6; }
13016	TIFF_INC="$LIBTIFF_CFLAGS" LIBS="$LIBS $LIBTIFF_LIBS" TIFF_CONFIG="yes"
13017fi
13018fi
13019
13020
13021
13022
13023 if test ! x$TIFF_CONFIG = xno; then
13024  TIFF_IS_CONFIG_TRUE=
13025  TIFF_IS_CONFIG_FALSE='#'
13026else
13027  TIFF_IS_CONFIG_TRUE='#'
13028  TIFF_IS_CONFIG_FALSE=
13029fi
13030
13031
13032
13033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PROJ >= 6 library" >&5
13034$as_echo_n "checking for PROJ >= 6 library... " >&6; }
13035
13036
13037# Check whether --with-proj was given.
13038if test "${with_proj+set}" = set; then :
13039  withval=$with_proj;
13040fi
13041
13042
13043PROJ_INCLUDE=""
13044if test "x$with_proj" = "xno" ; then
13045
13046  as_fn_error $? "PROJ 6 is a required dependency." "$LINENO" 5
13047
13048else
13049
13050  if test "x$with_proj" = "xyes" -o "x$with_proj" = "x"; then
13051
13052pkg_failed=no
13053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PROJ" >&5
13054$as_echo_n "checking for PROJ... " >&6; }
13055
13056if test -n "$PROJ_CFLAGS"; then
13057    pkg_cv_PROJ_CFLAGS="$PROJ_CFLAGS"
13058 elif test -n "$PKG_CONFIG"; then
13059    if test -n "$PKG_CONFIG" && \
13060    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"proj\""; } >&5
13061  ($PKG_CONFIG --exists --print-errors "proj") 2>&5
13062  ac_status=$?
13063  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13064  test $ac_status = 0; }; then
13065  pkg_cv_PROJ_CFLAGS=`$PKG_CONFIG --cflags "proj" 2>/dev/null`
13066		      test "x$?" != "x0" && pkg_failed=yes
13067else
13068  pkg_failed=yes
13069fi
13070 else
13071    pkg_failed=untried
13072fi
13073if test -n "$PROJ_LIBS"; then
13074    pkg_cv_PROJ_LIBS="$PROJ_LIBS"
13075 elif test -n "$PKG_CONFIG"; then
13076    if test -n "$PKG_CONFIG" && \
13077    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"proj\""; } >&5
13078  ($PKG_CONFIG --exists --print-errors "proj") 2>&5
13079  ac_status=$?
13080  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13081  test $ac_status = 0; }; then
13082  pkg_cv_PROJ_LIBS=`$PKG_CONFIG --libs "proj" 2>/dev/null`
13083		      test "x$?" != "x0" && pkg_failed=yes
13084else
13085  pkg_failed=yes
13086fi
13087 else
13088    pkg_failed=untried
13089fi
13090
13091
13092
13093if test $pkg_failed = yes; then
13094   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13095$as_echo "no" >&6; }
13096
13097if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13098        _pkg_short_errors_supported=yes
13099else
13100        _pkg_short_errors_supported=no
13101fi
13102        if test $_pkg_short_errors_supported = yes; then
13103	        PROJ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "proj" 2>&1`
13104        else
13105	        PROJ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "proj" 2>&1`
13106        fi
13107	# Put the nasty error message in config.log where it belongs
13108	echo "$PROJ_PKG_ERRORS" >&5
13109
13110	PROJ_FOUND=no
13111elif test $pkg_failed = untried; then
13112     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113$as_echo "no" >&6; }
13114	PROJ_FOUND=no
13115else
13116	PROJ_CFLAGS=$pkg_cv_PROJ_CFLAGS
13117	PROJ_LIBS=$pkg_cv_PROJ_LIBS
13118        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13119$as_echo "yes" >&6; }
13120	LIBS="$LIBS $PROJ_LIBS" PROJ_FOUND=yes
13121fi
13122    if test "$PROJ_FOUND" = "no"; then
13123        ORIG_LIBS="$LIBS"
13124        LIBS="-lproj $ORIG_LIBS"
13125        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for proj_create_from_wkt in -lproj" >&5
13126$as_echo_n "checking for proj_create_from_wkt in -lproj... " >&6; }
13127if ${ac_cv_lib_proj_proj_create_from_wkt+:} false; then :
13128  $as_echo_n "(cached) " >&6
13129else
13130  ac_check_lib_save_LIBS=$LIBS
13131LIBS="-lproj  $LIBS"
13132cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13133/* end confdefs.h.  */
13134
13135/* Override any GCC internal prototype to avoid an error.
13136   Use char because int might match the return type of a GCC
13137   builtin and then its argument prototype would still apply.  */
13138#ifdef __cplusplus
13139extern "C"
13140#endif
13141char proj_create_from_wkt ();
13142int
13143main ()
13144{
13145return proj_create_from_wkt ();
13146  ;
13147  return 0;
13148}
13149_ACEOF
13150if ac_fn_c_try_link "$LINENO"; then :
13151  ac_cv_lib_proj_proj_create_from_wkt=yes
13152else
13153  ac_cv_lib_proj_proj_create_from_wkt=no
13154fi
13155rm -f core conftest.err conftest.$ac_objext \
13156    conftest$ac_exeext conftest.$ac_ext
13157LIBS=$ac_check_lib_save_LIBS
13158fi
13159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_proj_proj_create_from_wkt" >&5
13160$as_echo "$ac_cv_lib_proj_proj_create_from_wkt" >&6; }
13161if test "x$ac_cv_lib_proj_proj_create_from_wkt" = xyes; then :
13162  PROJ_FOUND=yes
13163else
13164  PROJ_FOUND=no
13165fi
13166
13167    fi
13168    if test "$PROJ_FOUND" = "no"; then
13169        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for internal_proj_create_from_wkt in -lproj" >&5
13170$as_echo_n "checking for internal_proj_create_from_wkt in -lproj... " >&6; }
13171if ${ac_cv_lib_proj_internal_proj_create_from_wkt+:} false; then :
13172  $as_echo_n "(cached) " >&6
13173else
13174  ac_check_lib_save_LIBS=$LIBS
13175LIBS="-lproj  $LIBS"
13176cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177/* end confdefs.h.  */
13178
13179/* Override any GCC internal prototype to avoid an error.
13180   Use char because int might match the return type of a GCC
13181   builtin and then its argument prototype would still apply.  */
13182#ifdef __cplusplus
13183extern "C"
13184#endif
13185char internal_proj_create_from_wkt ();
13186int
13187main ()
13188{
13189return internal_proj_create_from_wkt ();
13190  ;
13191  return 0;
13192}
13193_ACEOF
13194if ac_fn_c_try_link "$LINENO"; then :
13195  ac_cv_lib_proj_internal_proj_create_from_wkt=yes
13196else
13197  ac_cv_lib_proj_internal_proj_create_from_wkt=no
13198fi
13199rm -f core conftest.err conftest.$ac_objext \
13200    conftest$ac_exeext conftest.$ac_ext
13201LIBS=$ac_check_lib_save_LIBS
13202fi
13203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_proj_internal_proj_create_from_wkt" >&5
13204$as_echo "$ac_cv_lib_proj_internal_proj_create_from_wkt" >&6; }
13205if test "x$ac_cv_lib_proj_internal_proj_create_from_wkt" = xyes; then :
13206  PROJ_FOUND=yes
13207else
13208  PROJ_FOUND=no
13209fi
13210
13211        if test "$PROJ_FOUND" = "yes"; then
13212            PROJ_INCLUDE="-DPROJ_RENAME_SYMBOLS"
13213        fi
13214    fi
13215    if test "$PROJ_FOUND" = "no"; then
13216        LIBS="-linternalproj $ORIG_LIBS"
13217        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for internal_proj_create_from_wkt in -linternalproj" >&5
13218$as_echo_n "checking for internal_proj_create_from_wkt in -linternalproj... " >&6; }
13219if ${ac_cv_lib_internalproj_internal_proj_create_from_wkt+:} false; then :
13220  $as_echo_n "(cached) " >&6
13221else
13222  ac_check_lib_save_LIBS=$LIBS
13223LIBS="-linternalproj  $LIBS"
13224cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13225/* end confdefs.h.  */
13226
13227/* Override any GCC internal prototype to avoid an error.
13228   Use char because int might match the return type of a GCC
13229   builtin and then its argument prototype would still apply.  */
13230#ifdef __cplusplus
13231extern "C"
13232#endif
13233char internal_proj_create_from_wkt ();
13234int
13235main ()
13236{
13237return internal_proj_create_from_wkt ();
13238  ;
13239  return 0;
13240}
13241_ACEOF
13242if ac_fn_c_try_link "$LINENO"; then :
13243  ac_cv_lib_internalproj_internal_proj_create_from_wkt=yes
13244else
13245  ac_cv_lib_internalproj_internal_proj_create_from_wkt=no
13246fi
13247rm -f core conftest.err conftest.$ac_objext \
13248    conftest$ac_exeext conftest.$ac_ext
13249LIBS=$ac_check_lib_save_LIBS
13250fi
13251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_internalproj_internal_proj_create_from_wkt" >&5
13252$as_echo "$ac_cv_lib_internalproj_internal_proj_create_from_wkt" >&6; }
13253if test "x$ac_cv_lib_internalproj_internal_proj_create_from_wkt" = xyes; then :
13254  PROJ_FOUND=yes
13255else
13256  PROJ_FOUND=no
13257fi
13258
13259        if test "$PROJ_FOUND" = "yes"; then
13260            PROJ_INCLUDE="-DPROJ_RENAME_SYMBOLS"
13261        fi
13262    fi
13263    if test "$PROJ_FOUND" = "no"; then
13264        as_fn_error $? "PROJ 6 symbols not found" "$LINENO" 5
13265    fi
13266    for ac_header in proj.h
13267do :
13268  ac_fn_c_check_header_mongrel "$LINENO" "proj.h" "ac_cv_header_proj_h" "$ac_includes_default"
13269if test "x$ac_cv_header_proj_h" = xyes; then :
13270  cat >>confdefs.h <<_ACEOF
13271#define HAVE_PROJ_H 1
13272_ACEOF
13273
13274fi
13275
13276done
13277
13278    if test "$ac_cv_header_proj_h" = "yes" ; then
13279        { $as_echo "$as_me:${as_lineno-$LINENO}: proj.h found" >&5
13280$as_echo "$as_me: proj.h found" >&6;}
13281    else
13282        as_fn_error $? "proj.h not found" "$LINENO" 5
13283    fi
13284  else
13285
13286    ORIG_LIBS="$LIBS"
13287    LIBS="-L$with_proj/lib -lproj $ORIG_LIBS"
13288    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for proj_create_from_wkt in -lproj" >&5
13289$as_echo_n "checking for proj_create_from_wkt in -lproj... " >&6; }
13290if ${ac_cv_lib_proj_proj_create_from_wkt+:} false; then :
13291  $as_echo_n "(cached) " >&6
13292else
13293  ac_check_lib_save_LIBS=$LIBS
13294LIBS="-lproj  $LIBS"
13295cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296/* end confdefs.h.  */
13297
13298/* Override any GCC internal prototype to avoid an error.
13299   Use char because int might match the return type of a GCC
13300   builtin and then its argument prototype would still apply.  */
13301#ifdef __cplusplus
13302extern "C"
13303#endif
13304char proj_create_from_wkt ();
13305int
13306main ()
13307{
13308return proj_create_from_wkt ();
13309  ;
13310  return 0;
13311}
13312_ACEOF
13313if ac_fn_c_try_link "$LINENO"; then :
13314  ac_cv_lib_proj_proj_create_from_wkt=yes
13315else
13316  ac_cv_lib_proj_proj_create_from_wkt=no
13317fi
13318rm -f core conftest.err conftest.$ac_objext \
13319    conftest$ac_exeext conftest.$ac_ext
13320LIBS=$ac_check_lib_save_LIBS
13321fi
13322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_proj_proj_create_from_wkt" >&5
13323$as_echo "$ac_cv_lib_proj_proj_create_from_wkt" >&6; }
13324if test "x$ac_cv_lib_proj_proj_create_from_wkt" = xyes; then :
13325  PROJ_FOUND=yes
13326else
13327  PROJ_FOUND=no
13328fi
13329
13330    if test "$PROJ_FOUND" = "no"; then
13331        LIBS="-L$with_proj/lib -lproj -lsqlite3 $ORIG_LIBS"
13332        unset ac_cv_lib_proj_proj_create_from_wkt
13333        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for proj_create_from_wkt in -lproj" >&5
13334$as_echo_n "checking for proj_create_from_wkt in -lproj... " >&6; }
13335if ${ac_cv_lib_proj_proj_create_from_wkt+:} false; then :
13336  $as_echo_n "(cached) " >&6
13337else
13338  ac_check_lib_save_LIBS=$LIBS
13339LIBS="-lproj  $LIBS"
13340cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13341/* end confdefs.h.  */
13342
13343/* Override any GCC internal prototype to avoid an error.
13344   Use char because int might match the return type of a GCC
13345   builtin and then its argument prototype would still apply.  */
13346#ifdef __cplusplus
13347extern "C"
13348#endif
13349char proj_create_from_wkt ();
13350int
13351main ()
13352{
13353return proj_create_from_wkt ();
13354  ;
13355  return 0;
13356}
13357_ACEOF
13358if ac_fn_c_try_link "$LINENO"; then :
13359  ac_cv_lib_proj_proj_create_from_wkt=yes
13360else
13361  ac_cv_lib_proj_proj_create_from_wkt=no
13362fi
13363rm -f core conftest.err conftest.$ac_objext \
13364    conftest$ac_exeext conftest.$ac_ext
13365LIBS=$ac_check_lib_save_LIBS
13366fi
13367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_proj_proj_create_from_wkt" >&5
13368$as_echo "$ac_cv_lib_proj_proj_create_from_wkt" >&6; }
13369if test "x$ac_cv_lib_proj_proj_create_from_wkt" = xyes; then :
13370  PROJ_FOUND=yes
13371else
13372  PROJ_FOUND=no
13373fi
13374
13375    fi
13376    if test "$PROJ_FOUND" = "no"; then
13377        LIBS="-L$with_proj/lib -lproj $ORIG_LIBS"
13378        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for internal_proj_create_from_wkt in -lproj" >&5
13379$as_echo_n "checking for internal_proj_create_from_wkt in -lproj... " >&6; }
13380if ${ac_cv_lib_proj_internal_proj_create_from_wkt+:} false; then :
13381  $as_echo_n "(cached) " >&6
13382else
13383  ac_check_lib_save_LIBS=$LIBS
13384LIBS="-lproj  $LIBS"
13385cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386/* end confdefs.h.  */
13387
13388/* Override any GCC internal prototype to avoid an error.
13389   Use char because int might match the return type of a GCC
13390   builtin and then its argument prototype would still apply.  */
13391#ifdef __cplusplus
13392extern "C"
13393#endif
13394char internal_proj_create_from_wkt ();
13395int
13396main ()
13397{
13398return internal_proj_create_from_wkt ();
13399  ;
13400  return 0;
13401}
13402_ACEOF
13403if ac_fn_c_try_link "$LINENO"; then :
13404  ac_cv_lib_proj_internal_proj_create_from_wkt=yes
13405else
13406  ac_cv_lib_proj_internal_proj_create_from_wkt=no
13407fi
13408rm -f core conftest.err conftest.$ac_objext \
13409    conftest$ac_exeext conftest.$ac_ext
13410LIBS=$ac_check_lib_save_LIBS
13411fi
13412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_proj_internal_proj_create_from_wkt" >&5
13413$as_echo "$ac_cv_lib_proj_internal_proj_create_from_wkt" >&6; }
13414if test "x$ac_cv_lib_proj_internal_proj_create_from_wkt" = xyes; then :
13415  PROJ_FOUND=yes
13416else
13417  PROJ_FOUND=no
13418fi
13419
13420        if test "$PROJ_FOUND" = "no"; then
13421            LIBS="-L$with_proj/lib -lproj -lsqlite3 $ORIG_LIBS"
13422            unset ac_cv_lib_proj_internal_proj_create_from_wkt
13423            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for internal_proj_create_from_wkt in -lproj" >&5
13424$as_echo_n "checking for internal_proj_create_from_wkt in -lproj... " >&6; }
13425if ${ac_cv_lib_proj_internal_proj_create_from_wkt+:} false; then :
13426  $as_echo_n "(cached) " >&6
13427else
13428  ac_check_lib_save_LIBS=$LIBS
13429LIBS="-lproj  $LIBS"
13430cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13431/* end confdefs.h.  */
13432
13433/* Override any GCC internal prototype to avoid an error.
13434   Use char because int might match the return type of a GCC
13435   builtin and then its argument prototype would still apply.  */
13436#ifdef __cplusplus
13437extern "C"
13438#endif
13439char internal_proj_create_from_wkt ();
13440int
13441main ()
13442{
13443return internal_proj_create_from_wkt ();
13444  ;
13445  return 0;
13446}
13447_ACEOF
13448if ac_fn_c_try_link "$LINENO"; then :
13449  ac_cv_lib_proj_internal_proj_create_from_wkt=yes
13450else
13451  ac_cv_lib_proj_internal_proj_create_from_wkt=no
13452fi
13453rm -f core conftest.err conftest.$ac_objext \
13454    conftest$ac_exeext conftest.$ac_ext
13455LIBS=$ac_check_lib_save_LIBS
13456fi
13457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_proj_internal_proj_create_from_wkt" >&5
13458$as_echo "$ac_cv_lib_proj_internal_proj_create_from_wkt" >&6; }
13459if test "x$ac_cv_lib_proj_internal_proj_create_from_wkt" = xyes; then :
13460  PROJ_FOUND=yes
13461else
13462  PROJ_FOUND=no
13463fi
13464
13465        fi
13466        if test "$PROJ_FOUND" = "yes"; then
13467            PROJ_INCLUDE="-DPROJ_RENAME_SYMBOLS"
13468        fi
13469    fi
13470    if test "$PROJ_FOUND" = "no"; then
13471        LIBS="-L$with_proj/lib -linternalproj $ORIG_LIBS"
13472        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for internal_proj_create_from_wkt in -linternalproj" >&5
13473$as_echo_n "checking for internal_proj_create_from_wkt in -linternalproj... " >&6; }
13474if ${ac_cv_lib_internalproj_internal_proj_create_from_wkt+:} false; then :
13475  $as_echo_n "(cached) " >&6
13476else
13477  ac_check_lib_save_LIBS=$LIBS
13478LIBS="-linternalproj  $LIBS"
13479cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480/* end confdefs.h.  */
13481
13482/* Override any GCC internal prototype to avoid an error.
13483   Use char because int might match the return type of a GCC
13484   builtin and then its argument prototype would still apply.  */
13485#ifdef __cplusplus
13486extern "C"
13487#endif
13488char internal_proj_create_from_wkt ();
13489int
13490main ()
13491{
13492return internal_proj_create_from_wkt ();
13493  ;
13494  return 0;
13495}
13496_ACEOF
13497if ac_fn_c_try_link "$LINENO"; then :
13498  ac_cv_lib_internalproj_internal_proj_create_from_wkt=yes
13499else
13500  ac_cv_lib_internalproj_internal_proj_create_from_wkt=no
13501fi
13502rm -f core conftest.err conftest.$ac_objext \
13503    conftest$ac_exeext conftest.$ac_ext
13504LIBS=$ac_check_lib_save_LIBS
13505fi
13506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_internalproj_internal_proj_create_from_wkt" >&5
13507$as_echo "$ac_cv_lib_internalproj_internal_proj_create_from_wkt" >&6; }
13508if test "x$ac_cv_lib_internalproj_internal_proj_create_from_wkt" = xyes; then :
13509  PROJ_FOUND=yes
13510else
13511  PROJ_FOUND=no
13512fi
13513
13514        if test "$PROJ_FOUND" = "no"; then
13515            LIBS="-L$with_proj/lib -linternalproj -lsqlite3 $ORIG_LIBS"
13516            unset ac_cv_lib_internal_proj_internal_proj_create_from_wkt
13517            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for internal_proj_create_from_wkt in -linternalproj" >&5
13518$as_echo_n "checking for internal_proj_create_from_wkt in -linternalproj... " >&6; }
13519if ${ac_cv_lib_internalproj_internal_proj_create_from_wkt+:} false; then :
13520  $as_echo_n "(cached) " >&6
13521else
13522  ac_check_lib_save_LIBS=$LIBS
13523LIBS="-linternalproj  $LIBS"
13524cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13525/* end confdefs.h.  */
13526
13527/* Override any GCC internal prototype to avoid an error.
13528   Use char because int might match the return type of a GCC
13529   builtin and then its argument prototype would still apply.  */
13530#ifdef __cplusplus
13531extern "C"
13532#endif
13533char internal_proj_create_from_wkt ();
13534int
13535main ()
13536{
13537return internal_proj_create_from_wkt ();
13538  ;
13539  return 0;
13540}
13541_ACEOF
13542if ac_fn_c_try_link "$LINENO"; then :
13543  ac_cv_lib_internalproj_internal_proj_create_from_wkt=yes
13544else
13545  ac_cv_lib_internalproj_internal_proj_create_from_wkt=no
13546fi
13547rm -f core conftest.err conftest.$ac_objext \
13548    conftest$ac_exeext conftest.$ac_ext
13549LIBS=$ac_check_lib_save_LIBS
13550fi
13551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_internalproj_internal_proj_create_from_wkt" >&5
13552$as_echo "$ac_cv_lib_internalproj_internal_proj_create_from_wkt" >&6; }
13553if test "x$ac_cv_lib_internalproj_internal_proj_create_from_wkt" = xyes; then :
13554  PROJ_FOUND=yes
13555else
13556  PROJ_FOUND=no
13557fi
13558
13559        fi
13560        if test "$PROJ_FOUND" = "yes"; then
13561            PROJ_INCLUDE="-DPROJ_RENAME_SYMBOLS"
13562        fi
13563    fi
13564    if test "$PROJ_FOUND" = "no"; then
13565        as_fn_error $? "PROJ 6 symbols not found" "$LINENO" 5
13566    fi
13567    if test -r "$with_proj/include/proj.h" ; then
13568        PROJ_INCLUDE="$PROJ_INCLUDE -I$with_proj/include"
13569        { $as_echo "$as_me:${as_lineno-$LINENO}: proj.h found" >&5
13570$as_echo "$as_me: proj.h found" >&6;}
13571    else
13572        as_fn_error $? "proj.h not found" "$LINENO" 5
13573    fi
13574  fi
13575fi
13576
13577
13578
13579
13580# Check whether --enable-towgs84 was given.
13581if test "${enable_towgs84+set}" = set; then :
13582  enableval=$enable_towgs84;
13583$as_echo "#define GEO_NORMALIZE_DISABLE_TOWGS84 /**/" >>confdefs.h
13584
13585fi
13586
13587
13588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool needs -no-undefined flag to build shared libraries" >&5
13589$as_echo_n "checking if libtool needs -no-undefined flag to build shared libraries... " >&6; }
13590case "${host}" in
13591   *-*-cygwin* | *-*-mingw*|*-*-aix*)
13592    ## Add in the -no-undefined flag to LDFLAGS for libtool.
13593    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13594$as_echo "yes" >&6; }
13595    NOUNDEFINED=" -no-undefined"
13596    ;;
13597  *)
13598    ## Don't add in anything.
13599    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13600$as_echo "no" >&6; }
13601    ;;
13602esac
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617# Files:
13618DX_PROJECT=$PACKAGE_NAME
13619
13620DX_CONFIG=docs/Doxyfile
13621
13622DX_DOCDIR=docs/output
13623
13624
13625# Environment variables used inside doxygen.cfg:
13626DX_ENV="$DX_ENV SRCDIR='$srcdir'"
13627
13628DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
13629
13630DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
13631
13632DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
13633
13634
13635# Doxygen itself:
13636
13637
13638
13639
13640    # Check whether --enable-doxygen-doc was given.
13641if test "${enable_doxygen_doc+set}" = set; then :
13642  enableval=$enable_doxygen_doc;
13643case "$enableval" in
13644#(
13645y|Y|yes|Yes|YES)
13646    DX_FLAG_doc=1
13647
13648
13649;; #(
13650n|N|no|No|NO)
13651    DX_FLAG_doc=0
13652
13653;; #(
13654*)
13655    as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
13656;;
13657esac
13658
13659else
13660
13661DX_FLAG_doc=1
13662
13663
13664
13665fi
13666
13667if test "$DX_FLAG_doc" = 1; then
13668
13669if test -n "$ac_tool_prefix"; then
13670  # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
13671set dummy ${ac_tool_prefix}doxygen; ac_word=$2
13672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13673$as_echo_n "checking for $ac_word... " >&6; }
13674if ${ac_cv_path_DX_DOXYGEN+:} false; then :
13675  $as_echo_n "(cached) " >&6
13676else
13677  case $DX_DOXYGEN in
13678  [\\/]* | ?:[\\/]*)
13679  ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
13680  ;;
13681  *)
13682  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13683for as_dir in $PATH
13684do
13685  IFS=$as_save_IFS
13686  test -z "$as_dir" && as_dir=.
13687    for ac_exec_ext in '' $ac_executable_extensions; do
13688  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13689    ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
13690    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13691    break 2
13692  fi
13693done
13694  done
13695IFS=$as_save_IFS
13696
13697  ;;
13698esac
13699fi
13700DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
13701if test -n "$DX_DOXYGEN"; then
13702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
13703$as_echo "$DX_DOXYGEN" >&6; }
13704else
13705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13706$as_echo "no" >&6; }
13707fi
13708
13709
13710fi
13711if test -z "$ac_cv_path_DX_DOXYGEN"; then
13712  ac_pt_DX_DOXYGEN=$DX_DOXYGEN
13713  # Extract the first word of "doxygen", so it can be a program name with args.
13714set dummy doxygen; ac_word=$2
13715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13716$as_echo_n "checking for $ac_word... " >&6; }
13717if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
13718  $as_echo_n "(cached) " >&6
13719else
13720  case $ac_pt_DX_DOXYGEN in
13721  [\\/]* | ?:[\\/]*)
13722  ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
13723  ;;
13724  *)
13725  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13726for as_dir in $PATH
13727do
13728  IFS=$as_save_IFS
13729  test -z "$as_dir" && as_dir=.
13730    for ac_exec_ext in '' $ac_executable_extensions; do
13731  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13732    ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
13733    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13734    break 2
13735  fi
13736done
13737  done
13738IFS=$as_save_IFS
13739
13740  ;;
13741esac
13742fi
13743ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
13744if test -n "$ac_pt_DX_DOXYGEN"; then
13745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
13746$as_echo "$ac_pt_DX_DOXYGEN" >&6; }
13747else
13748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13749$as_echo "no" >&6; }
13750fi
13751
13752  if test "x$ac_pt_DX_DOXYGEN" = x; then
13753    DX_DOXYGEN=""
13754  else
13755    case $cross_compiling:$ac_tool_warned in
13756yes:)
13757{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13758$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13759ac_tool_warned=yes ;;
13760esac
13761    DX_DOXYGEN=$ac_pt_DX_DOXYGEN
13762  fi
13763else
13764  DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
13765fi
13766
13767if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
13768    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
13769$as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
13770    DX_FLAG_doc=0
13771
13772fi
13773
13774
13775if test -n "$ac_tool_prefix"; then
13776  # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
13777set dummy ${ac_tool_prefix}perl; ac_word=$2
13778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13779$as_echo_n "checking for $ac_word... " >&6; }
13780if ${ac_cv_path_DX_PERL+:} false; then :
13781  $as_echo_n "(cached) " >&6
13782else
13783  case $DX_PERL in
13784  [\\/]* | ?:[\\/]*)
13785  ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
13786  ;;
13787  *)
13788  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13789for as_dir in $PATH
13790do
13791  IFS=$as_save_IFS
13792  test -z "$as_dir" && as_dir=.
13793    for ac_exec_ext in '' $ac_executable_extensions; do
13794  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13795    ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
13796    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13797    break 2
13798  fi
13799done
13800  done
13801IFS=$as_save_IFS
13802
13803  ;;
13804esac
13805fi
13806DX_PERL=$ac_cv_path_DX_PERL
13807if test -n "$DX_PERL"; then
13808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
13809$as_echo "$DX_PERL" >&6; }
13810else
13811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13812$as_echo "no" >&6; }
13813fi
13814
13815
13816fi
13817if test -z "$ac_cv_path_DX_PERL"; then
13818  ac_pt_DX_PERL=$DX_PERL
13819  # Extract the first word of "perl", so it can be a program name with args.
13820set dummy perl; ac_word=$2
13821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13822$as_echo_n "checking for $ac_word... " >&6; }
13823if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
13824  $as_echo_n "(cached) " >&6
13825else
13826  case $ac_pt_DX_PERL in
13827  [\\/]* | ?:[\\/]*)
13828  ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
13829  ;;
13830  *)
13831  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13832for as_dir in $PATH
13833do
13834  IFS=$as_save_IFS
13835  test -z "$as_dir" && as_dir=.
13836    for ac_exec_ext in '' $ac_executable_extensions; do
13837  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13838    ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
13839    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13840    break 2
13841  fi
13842done
13843  done
13844IFS=$as_save_IFS
13845
13846  ;;
13847esac
13848fi
13849ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
13850if test -n "$ac_pt_DX_PERL"; then
13851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
13852$as_echo "$ac_pt_DX_PERL" >&6; }
13853else
13854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13855$as_echo "no" >&6; }
13856fi
13857
13858  if test "x$ac_pt_DX_PERL" = x; then
13859    DX_PERL=""
13860  else
13861    case $cross_compiling:$ac_tool_warned in
13862yes:)
13863{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13864$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13865ac_tool_warned=yes ;;
13866esac
13867    DX_PERL=$ac_pt_DX_PERL
13868  fi
13869else
13870  DX_PERL="$ac_cv_path_DX_PERL"
13871fi
13872
13873if test "$DX_FLAG_doc$DX_PERL" = 1; then
13874    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
13875$as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
13876    DX_FLAG_doc=0
13877
13878fi
13879
13880    :
13881fi
13882if test "$DX_FLAG_doc" = 1; then
13883     if :; then
13884  DX_COND_doc_TRUE=
13885  DX_COND_doc_FALSE='#'
13886else
13887  DX_COND_doc_TRUE='#'
13888  DX_COND_doc_FALSE=
13889fi
13890
13891    DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
13892
13893    :
13894else
13895     if false; then
13896  DX_COND_doc_TRUE=
13897  DX_COND_doc_FALSE='#'
13898else
13899  DX_COND_doc_TRUE='#'
13900  DX_COND_doc_FALSE=
13901fi
13902
13903
13904    :
13905fi
13906
13907
13908# Dot for graphics:
13909
13910
13911
13912
13913    # Check whether --enable-doxygen-dot was given.
13914if test "${enable_doxygen_dot+set}" = set; then :
13915  enableval=$enable_doxygen_dot;
13916case "$enableval" in
13917#(
13918y|Y|yes|Yes|YES)
13919    DX_FLAG_dot=1
13920
13921
13922test "$DX_FLAG_doc" = "1" \
13923|| as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
13924
13925;; #(
13926n|N|no|No|NO)
13927    DX_FLAG_dot=0
13928
13929;; #(
13930*)
13931    as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
13932;;
13933esac
13934
13935else
13936
13937DX_FLAG_dot=1
13938
13939
13940test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
13941
13942
13943
13944fi
13945
13946if test "$DX_FLAG_dot" = 1; then
13947
13948if test -n "$ac_tool_prefix"; then
13949  # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
13950set dummy ${ac_tool_prefix}dot; ac_word=$2
13951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13952$as_echo_n "checking for $ac_word... " >&6; }
13953if ${ac_cv_path_DX_DOT+:} false; then :
13954  $as_echo_n "(cached) " >&6
13955else
13956  case $DX_DOT in
13957  [\\/]* | ?:[\\/]*)
13958  ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
13959  ;;
13960  *)
13961  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13962for as_dir in $PATH
13963do
13964  IFS=$as_save_IFS
13965  test -z "$as_dir" && as_dir=.
13966    for ac_exec_ext in '' $ac_executable_extensions; do
13967  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13968    ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
13969    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13970    break 2
13971  fi
13972done
13973  done
13974IFS=$as_save_IFS
13975
13976  ;;
13977esac
13978fi
13979DX_DOT=$ac_cv_path_DX_DOT
13980if test -n "$DX_DOT"; then
13981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
13982$as_echo "$DX_DOT" >&6; }
13983else
13984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13985$as_echo "no" >&6; }
13986fi
13987
13988
13989fi
13990if test -z "$ac_cv_path_DX_DOT"; then
13991  ac_pt_DX_DOT=$DX_DOT
13992  # Extract the first word of "dot", so it can be a program name with args.
13993set dummy dot; ac_word=$2
13994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13995$as_echo_n "checking for $ac_word... " >&6; }
13996if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
13997  $as_echo_n "(cached) " >&6
13998else
13999  case $ac_pt_DX_DOT in
14000  [\\/]* | ?:[\\/]*)
14001  ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
14002  ;;
14003  *)
14004  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14005for as_dir in $PATH
14006do
14007  IFS=$as_save_IFS
14008  test -z "$as_dir" && as_dir=.
14009    for ac_exec_ext in '' $ac_executable_extensions; do
14010  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14011    ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
14012    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14013    break 2
14014  fi
14015done
14016  done
14017IFS=$as_save_IFS
14018
14019  ;;
14020esac
14021fi
14022ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
14023if test -n "$ac_pt_DX_DOT"; then
14024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
14025$as_echo "$ac_pt_DX_DOT" >&6; }
14026else
14027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14028$as_echo "no" >&6; }
14029fi
14030
14031  if test "x$ac_pt_DX_DOT" = x; then
14032    DX_DOT=""
14033  else
14034    case $cross_compiling:$ac_tool_warned in
14035yes:)
14036{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14037$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14038ac_tool_warned=yes ;;
14039esac
14040    DX_DOT=$ac_pt_DX_DOT
14041  fi
14042else
14043  DX_DOT="$ac_cv_path_DX_DOT"
14044fi
14045
14046if test "$DX_FLAG_dot$DX_DOT" = 1; then
14047    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
14048$as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
14049    DX_FLAG_dot=0
14050
14051fi
14052
14053    :
14054fi
14055if test "$DX_FLAG_dot" = 1; then
14056     if :; then
14057  DX_COND_dot_TRUE=
14058  DX_COND_dot_FALSE='#'
14059else
14060  DX_COND_dot_TRUE='#'
14061  DX_COND_dot_FALSE=
14062fi
14063
14064    DX_ENV="$DX_ENV HAVE_DOT='YES'"
14065
14066             DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
14067
14068    :
14069else
14070     if false; then
14071  DX_COND_dot_TRUE=
14072  DX_COND_dot_FALSE='#'
14073else
14074  DX_COND_dot_TRUE='#'
14075  DX_COND_dot_FALSE=
14076fi
14077
14078    DX_ENV="$DX_ENV HAVE_DOT='NO'"
14079
14080    :
14081fi
14082
14083
14084# Man pages generation:
14085
14086
14087
14088
14089    # Check whether --enable-doxygen-man was given.
14090if test "${enable_doxygen_man+set}" = set; then :
14091  enableval=$enable_doxygen_man;
14092case "$enableval" in
14093#(
14094y|Y|yes|Yes|YES)
14095    DX_FLAG_man=1
14096
14097
14098test "$DX_FLAG_doc" = "1" \
14099|| as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
14100
14101;; #(
14102n|N|no|No|NO)
14103    DX_FLAG_man=0
14104
14105;; #(
14106*)
14107    as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
14108;;
14109esac
14110
14111else
14112
14113DX_FLAG_man=1
14114
14115
14116test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
14117
14118
14119
14120fi
14121
14122if test "$DX_FLAG_man" = 1; then
14123
14124    :
14125fi
14126if test "$DX_FLAG_man" = 1; then
14127     if :; then
14128  DX_COND_man_TRUE=
14129  DX_COND_man_FALSE='#'
14130else
14131  DX_COND_man_TRUE='#'
14132  DX_COND_man_FALSE=
14133fi
14134
14135    DX_ENV="$DX_ENV GENERATE_MAN='YES'"
14136
14137    :
14138else
14139     if false; then
14140  DX_COND_man_TRUE=
14141  DX_COND_man_FALSE='#'
14142else
14143  DX_COND_man_TRUE='#'
14144  DX_COND_man_FALSE=
14145fi
14146
14147    DX_ENV="$DX_ENV GENERATE_MAN='NO'"
14148
14149    :
14150fi
14151
14152
14153# RTF file generation:
14154
14155
14156
14157
14158    # Check whether --enable-doxygen-rtf was given.
14159if test "${enable_doxygen_rtf+set}" = set; then :
14160  enableval=$enable_doxygen_rtf;
14161case "$enableval" in
14162#(
14163y|Y|yes|Yes|YES)
14164    DX_FLAG_rtf=1
14165
14166
14167test "$DX_FLAG_doc" = "1" \
14168|| as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
14169
14170;; #(
14171n|N|no|No|NO)
14172    DX_FLAG_rtf=0
14173
14174;; #(
14175*)
14176    as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
14177;;
14178esac
14179
14180else
14181
14182DX_FLAG_rtf=0
14183
14184
14185test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
14186
14187
14188
14189fi
14190
14191if test "$DX_FLAG_rtf" = 1; then
14192
14193    :
14194fi
14195if test "$DX_FLAG_rtf" = 1; then
14196     if :; then
14197  DX_COND_rtf_TRUE=
14198  DX_COND_rtf_FALSE='#'
14199else
14200  DX_COND_rtf_TRUE='#'
14201  DX_COND_rtf_FALSE=
14202fi
14203
14204    DX_ENV="$DX_ENV GENERATE_RTF='YES'"
14205
14206    :
14207else
14208     if false; then
14209  DX_COND_rtf_TRUE=
14210  DX_COND_rtf_FALSE='#'
14211else
14212  DX_COND_rtf_TRUE='#'
14213  DX_COND_rtf_FALSE=
14214fi
14215
14216    DX_ENV="$DX_ENV GENERATE_RTF='NO'"
14217
14218    :
14219fi
14220
14221
14222# XML file generation:
14223
14224
14225
14226
14227    # Check whether --enable-doxygen-xml was given.
14228if test "${enable_doxygen_xml+set}" = set; then :
14229  enableval=$enable_doxygen_xml;
14230case "$enableval" in
14231#(
14232y|Y|yes|Yes|YES)
14233    DX_FLAG_xml=1
14234
14235
14236test "$DX_FLAG_doc" = "1" \
14237|| as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
14238
14239;; #(
14240n|N|no|No|NO)
14241    DX_FLAG_xml=0
14242
14243;; #(
14244*)
14245    as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
14246;;
14247esac
14248
14249else
14250
14251DX_FLAG_xml=0
14252
14253
14254test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
14255
14256
14257
14258fi
14259
14260if test "$DX_FLAG_xml" = 1; then
14261
14262    :
14263fi
14264if test "$DX_FLAG_xml" = 1; then
14265     if :; then
14266  DX_COND_xml_TRUE=
14267  DX_COND_xml_FALSE='#'
14268else
14269  DX_COND_xml_TRUE='#'
14270  DX_COND_xml_FALSE=
14271fi
14272
14273    DX_ENV="$DX_ENV GENERATE_XML='YES'"
14274
14275    :
14276else
14277     if false; then
14278  DX_COND_xml_TRUE=
14279  DX_COND_xml_FALSE='#'
14280else
14281  DX_COND_xml_TRUE='#'
14282  DX_COND_xml_FALSE=
14283fi
14284
14285    DX_ENV="$DX_ENV GENERATE_XML='NO'"
14286
14287    :
14288fi
14289
14290
14291# (Compressed) HTML help generation:
14292
14293
14294
14295
14296    # Check whether --enable-doxygen-chm was given.
14297if test "${enable_doxygen_chm+set}" = set; then :
14298  enableval=$enable_doxygen_chm;
14299case "$enableval" in
14300#(
14301y|Y|yes|Yes|YES)
14302    DX_FLAG_chm=1
14303
14304
14305test "$DX_FLAG_doc" = "1" \
14306|| as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
14307
14308;; #(
14309n|N|no|No|NO)
14310    DX_FLAG_chm=0
14311
14312;; #(
14313*)
14314    as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
14315;;
14316esac
14317
14318else
14319
14320DX_FLAG_chm=0
14321
14322
14323test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
14324
14325
14326
14327fi
14328
14329if test "$DX_FLAG_chm" = 1; then
14330
14331if test -n "$ac_tool_prefix"; then
14332  # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
14333set dummy ${ac_tool_prefix}hhc; ac_word=$2
14334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14335$as_echo_n "checking for $ac_word... " >&6; }
14336if ${ac_cv_path_DX_HHC+:} false; then :
14337  $as_echo_n "(cached) " >&6
14338else
14339  case $DX_HHC in
14340  [\\/]* | ?:[\\/]*)
14341  ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
14342  ;;
14343  *)
14344  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14345for as_dir in $PATH
14346do
14347  IFS=$as_save_IFS
14348  test -z "$as_dir" && as_dir=.
14349    for ac_exec_ext in '' $ac_executable_extensions; do
14350  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14351    ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
14352    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14353    break 2
14354  fi
14355done
14356  done
14357IFS=$as_save_IFS
14358
14359  ;;
14360esac
14361fi
14362DX_HHC=$ac_cv_path_DX_HHC
14363if test -n "$DX_HHC"; then
14364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
14365$as_echo "$DX_HHC" >&6; }
14366else
14367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14368$as_echo "no" >&6; }
14369fi
14370
14371
14372fi
14373if test -z "$ac_cv_path_DX_HHC"; then
14374  ac_pt_DX_HHC=$DX_HHC
14375  # Extract the first word of "hhc", so it can be a program name with args.
14376set dummy hhc; ac_word=$2
14377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14378$as_echo_n "checking for $ac_word... " >&6; }
14379if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
14380  $as_echo_n "(cached) " >&6
14381else
14382  case $ac_pt_DX_HHC in
14383  [\\/]* | ?:[\\/]*)
14384  ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
14385  ;;
14386  *)
14387  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14388for as_dir in $PATH
14389do
14390  IFS=$as_save_IFS
14391  test -z "$as_dir" && as_dir=.
14392    for ac_exec_ext in '' $ac_executable_extensions; do
14393  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14394    ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
14395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14396    break 2
14397  fi
14398done
14399  done
14400IFS=$as_save_IFS
14401
14402  ;;
14403esac
14404fi
14405ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
14406if test -n "$ac_pt_DX_HHC"; then
14407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
14408$as_echo "$ac_pt_DX_HHC" >&6; }
14409else
14410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14411$as_echo "no" >&6; }
14412fi
14413
14414  if test "x$ac_pt_DX_HHC" = x; then
14415    DX_HHC=""
14416  else
14417    case $cross_compiling:$ac_tool_warned in
14418yes:)
14419{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14420$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14421ac_tool_warned=yes ;;
14422esac
14423    DX_HHC=$ac_pt_DX_HHC
14424  fi
14425else
14426  DX_HHC="$ac_cv_path_DX_HHC"
14427fi
14428
14429if test "$DX_FLAG_chm$DX_HHC" = 1; then
14430    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
14431$as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
14432    DX_FLAG_chm=0
14433
14434fi
14435
14436    :
14437fi
14438if test "$DX_FLAG_chm" = 1; then
14439     if :; then
14440  DX_COND_chm_TRUE=
14441  DX_COND_chm_FALSE='#'
14442else
14443  DX_COND_chm_TRUE='#'
14444  DX_COND_chm_FALSE=
14445fi
14446
14447    DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
14448
14449             DX_ENV="$DX_ENV GENERATE_HTML='YES'"
14450
14451             DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
14452
14453    :
14454else
14455     if false; then
14456  DX_COND_chm_TRUE=
14457  DX_COND_chm_FALSE='#'
14458else
14459  DX_COND_chm_TRUE='#'
14460  DX_COND_chm_FALSE=
14461fi
14462
14463    DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
14464
14465    :
14466fi
14467
14468
14469# Seperate CHI file generation.
14470
14471
14472
14473
14474    # Check whether --enable-doxygen-chi was given.
14475if test "${enable_doxygen_chi+set}" = set; then :
14476  enableval=$enable_doxygen_chi;
14477case "$enableval" in
14478#(
14479y|Y|yes|Yes|YES)
14480    DX_FLAG_chi=1
14481
14482
14483test "$DX_FLAG_chm" = "1" \
14484|| as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
14485
14486;; #(
14487n|N|no|No|NO)
14488    DX_FLAG_chi=0
14489
14490;; #(
14491*)
14492    as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
14493;;
14494esac
14495
14496else
14497
14498DX_FLAG_chi=0
14499
14500
14501test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
14502
14503
14504
14505fi
14506
14507if test "$DX_FLAG_chi" = 1; then
14508
14509    :
14510fi
14511if test "$DX_FLAG_chi" = 1; then
14512     if :; then
14513  DX_COND_chi_TRUE=
14514  DX_COND_chi_FALSE='#'
14515else
14516  DX_COND_chi_TRUE='#'
14517  DX_COND_chi_FALSE=
14518fi
14519
14520    DX_ENV="$DX_ENV GENERATE_CHI='YES'"
14521
14522    :
14523else
14524     if false; then
14525  DX_COND_chi_TRUE=
14526  DX_COND_chi_FALSE='#'
14527else
14528  DX_COND_chi_TRUE='#'
14529  DX_COND_chi_FALSE=
14530fi
14531
14532    DX_ENV="$DX_ENV GENERATE_CHI='NO'"
14533
14534    :
14535fi
14536
14537
14538# Plain HTML pages generation:
14539
14540
14541
14542
14543    # Check whether --enable-doxygen-html was given.
14544if test "${enable_doxygen_html+set}" = set; then :
14545  enableval=$enable_doxygen_html;
14546case "$enableval" in
14547#(
14548y|Y|yes|Yes|YES)
14549    DX_FLAG_html=1
14550
14551
14552test "$DX_FLAG_doc" = "1" \
14553|| as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
14554
14555test "$DX_FLAG_chm" = "0" \
14556|| as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
14557
14558;; #(
14559n|N|no|No|NO)
14560    DX_FLAG_html=0
14561
14562;; #(
14563*)
14564    as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
14565;;
14566esac
14567
14568else
14569
14570DX_FLAG_html=1
14571
14572
14573test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
14574
14575
14576test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
14577
14578
14579
14580fi
14581
14582if test "$DX_FLAG_html" = 1; then
14583
14584    :
14585fi
14586if test "$DX_FLAG_html" = 1; then
14587     if :; then
14588  DX_COND_html_TRUE=
14589  DX_COND_html_FALSE='#'
14590else
14591  DX_COND_html_TRUE='#'
14592  DX_COND_html_FALSE=
14593fi
14594
14595    DX_ENV="$DX_ENV GENERATE_HTML='YES'"
14596
14597    :
14598else
14599     if false; then
14600  DX_COND_html_TRUE=
14601  DX_COND_html_FALSE='#'
14602else
14603  DX_COND_html_TRUE='#'
14604  DX_COND_html_FALSE=
14605fi
14606
14607    test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
14608
14609    :
14610fi
14611
14612
14613# PostScript file generation:
14614
14615
14616
14617
14618    # Check whether --enable-doxygen-ps was given.
14619if test "${enable_doxygen_ps+set}" = set; then :
14620  enableval=$enable_doxygen_ps;
14621case "$enableval" in
14622#(
14623y|Y|yes|Yes|YES)
14624    DX_FLAG_ps=1
14625
14626
14627test "$DX_FLAG_doc" = "1" \
14628|| as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
14629
14630;; #(
14631n|N|no|No|NO)
14632    DX_FLAG_ps=0
14633
14634;; #(
14635*)
14636    as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
14637;;
14638esac
14639
14640else
14641
14642DX_FLAG_ps=0
14643
14644
14645test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
14646
14647
14648
14649fi
14650
14651if test "$DX_FLAG_ps" = 1; then
14652
14653if test -n "$ac_tool_prefix"; then
14654  # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
14655set dummy ${ac_tool_prefix}latex; ac_word=$2
14656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14657$as_echo_n "checking for $ac_word... " >&6; }
14658if ${ac_cv_path_DX_LATEX+:} false; then :
14659  $as_echo_n "(cached) " >&6
14660else
14661  case $DX_LATEX in
14662  [\\/]* | ?:[\\/]*)
14663  ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
14664  ;;
14665  *)
14666  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14667for as_dir in $PATH
14668do
14669  IFS=$as_save_IFS
14670  test -z "$as_dir" && as_dir=.
14671    for ac_exec_ext in '' $ac_executable_extensions; do
14672  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14673    ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
14674    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14675    break 2
14676  fi
14677done
14678  done
14679IFS=$as_save_IFS
14680
14681  ;;
14682esac
14683fi
14684DX_LATEX=$ac_cv_path_DX_LATEX
14685if test -n "$DX_LATEX"; then
14686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
14687$as_echo "$DX_LATEX" >&6; }
14688else
14689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14690$as_echo "no" >&6; }
14691fi
14692
14693
14694fi
14695if test -z "$ac_cv_path_DX_LATEX"; then
14696  ac_pt_DX_LATEX=$DX_LATEX
14697  # Extract the first word of "latex", so it can be a program name with args.
14698set dummy latex; ac_word=$2
14699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14700$as_echo_n "checking for $ac_word... " >&6; }
14701if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
14702  $as_echo_n "(cached) " >&6
14703else
14704  case $ac_pt_DX_LATEX in
14705  [\\/]* | ?:[\\/]*)
14706  ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
14707  ;;
14708  *)
14709  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14710for as_dir in $PATH
14711do
14712  IFS=$as_save_IFS
14713  test -z "$as_dir" && as_dir=.
14714    for ac_exec_ext in '' $ac_executable_extensions; do
14715  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14716    ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
14717    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14718    break 2
14719  fi
14720done
14721  done
14722IFS=$as_save_IFS
14723
14724  ;;
14725esac
14726fi
14727ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
14728if test -n "$ac_pt_DX_LATEX"; then
14729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
14730$as_echo "$ac_pt_DX_LATEX" >&6; }
14731else
14732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14733$as_echo "no" >&6; }
14734fi
14735
14736  if test "x$ac_pt_DX_LATEX" = x; then
14737    DX_LATEX=""
14738  else
14739    case $cross_compiling:$ac_tool_warned in
14740yes:)
14741{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14742$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14743ac_tool_warned=yes ;;
14744esac
14745    DX_LATEX=$ac_pt_DX_LATEX
14746  fi
14747else
14748  DX_LATEX="$ac_cv_path_DX_LATEX"
14749fi
14750
14751if test "$DX_FLAG_ps$DX_LATEX" = 1; then
14752    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
14753$as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
14754    DX_FLAG_ps=0
14755
14756fi
14757
14758
14759if test -n "$ac_tool_prefix"; then
14760  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
14761set dummy ${ac_tool_prefix}makeindex; ac_word=$2
14762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14763$as_echo_n "checking for $ac_word... " >&6; }
14764if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
14765  $as_echo_n "(cached) " >&6
14766else
14767  case $DX_MAKEINDEX in
14768  [\\/]* | ?:[\\/]*)
14769  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
14770  ;;
14771  *)
14772  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14773for as_dir in $PATH
14774do
14775  IFS=$as_save_IFS
14776  test -z "$as_dir" && as_dir=.
14777    for ac_exec_ext in '' $ac_executable_extensions; do
14778  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14779    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
14780    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14781    break 2
14782  fi
14783done
14784  done
14785IFS=$as_save_IFS
14786
14787  ;;
14788esac
14789fi
14790DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
14791if test -n "$DX_MAKEINDEX"; then
14792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
14793$as_echo "$DX_MAKEINDEX" >&6; }
14794else
14795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14796$as_echo "no" >&6; }
14797fi
14798
14799
14800fi
14801if test -z "$ac_cv_path_DX_MAKEINDEX"; then
14802  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
14803  # Extract the first word of "makeindex", so it can be a program name with args.
14804set dummy makeindex; ac_word=$2
14805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14806$as_echo_n "checking for $ac_word... " >&6; }
14807if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
14808  $as_echo_n "(cached) " >&6
14809else
14810  case $ac_pt_DX_MAKEINDEX in
14811  [\\/]* | ?:[\\/]*)
14812  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
14813  ;;
14814  *)
14815  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14816for as_dir in $PATH
14817do
14818  IFS=$as_save_IFS
14819  test -z "$as_dir" && as_dir=.
14820    for ac_exec_ext in '' $ac_executable_extensions; do
14821  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14822    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
14823    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14824    break 2
14825  fi
14826done
14827  done
14828IFS=$as_save_IFS
14829
14830  ;;
14831esac
14832fi
14833ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
14834if test -n "$ac_pt_DX_MAKEINDEX"; then
14835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
14836$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
14837else
14838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14839$as_echo "no" >&6; }
14840fi
14841
14842  if test "x$ac_pt_DX_MAKEINDEX" = x; then
14843    DX_MAKEINDEX=""
14844  else
14845    case $cross_compiling:$ac_tool_warned in
14846yes:)
14847{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14848$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14849ac_tool_warned=yes ;;
14850esac
14851    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
14852  fi
14853else
14854  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
14855fi
14856
14857if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
14858    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
14859$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
14860    DX_FLAG_ps=0
14861
14862fi
14863
14864
14865if test -n "$ac_tool_prefix"; then
14866  # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
14867set dummy ${ac_tool_prefix}dvips; ac_word=$2
14868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14869$as_echo_n "checking for $ac_word... " >&6; }
14870if ${ac_cv_path_DX_DVIPS+:} false; then :
14871  $as_echo_n "(cached) " >&6
14872else
14873  case $DX_DVIPS in
14874  [\\/]* | ?:[\\/]*)
14875  ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
14876  ;;
14877  *)
14878  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14879for as_dir in $PATH
14880do
14881  IFS=$as_save_IFS
14882  test -z "$as_dir" && as_dir=.
14883    for ac_exec_ext in '' $ac_executable_extensions; do
14884  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14885    ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
14886    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14887    break 2
14888  fi
14889done
14890  done
14891IFS=$as_save_IFS
14892
14893  ;;
14894esac
14895fi
14896DX_DVIPS=$ac_cv_path_DX_DVIPS
14897if test -n "$DX_DVIPS"; then
14898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
14899$as_echo "$DX_DVIPS" >&6; }
14900else
14901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14902$as_echo "no" >&6; }
14903fi
14904
14905
14906fi
14907if test -z "$ac_cv_path_DX_DVIPS"; then
14908  ac_pt_DX_DVIPS=$DX_DVIPS
14909  # Extract the first word of "dvips", so it can be a program name with args.
14910set dummy dvips; ac_word=$2
14911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14912$as_echo_n "checking for $ac_word... " >&6; }
14913if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
14914  $as_echo_n "(cached) " >&6
14915else
14916  case $ac_pt_DX_DVIPS in
14917  [\\/]* | ?:[\\/]*)
14918  ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
14919  ;;
14920  *)
14921  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14922for as_dir in $PATH
14923do
14924  IFS=$as_save_IFS
14925  test -z "$as_dir" && as_dir=.
14926    for ac_exec_ext in '' $ac_executable_extensions; do
14927  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14928    ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
14929    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14930    break 2
14931  fi
14932done
14933  done
14934IFS=$as_save_IFS
14935
14936  ;;
14937esac
14938fi
14939ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
14940if test -n "$ac_pt_DX_DVIPS"; then
14941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
14942$as_echo "$ac_pt_DX_DVIPS" >&6; }
14943else
14944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14945$as_echo "no" >&6; }
14946fi
14947
14948  if test "x$ac_pt_DX_DVIPS" = x; then
14949    DX_DVIPS=""
14950  else
14951    case $cross_compiling:$ac_tool_warned in
14952yes:)
14953{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14954$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14955ac_tool_warned=yes ;;
14956esac
14957    DX_DVIPS=$ac_pt_DX_DVIPS
14958  fi
14959else
14960  DX_DVIPS="$ac_cv_path_DX_DVIPS"
14961fi
14962
14963if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
14964    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
14965$as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
14966    DX_FLAG_ps=0
14967
14968fi
14969
14970
14971if test -n "$ac_tool_prefix"; then
14972  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
14973set dummy ${ac_tool_prefix}egrep; ac_word=$2
14974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14975$as_echo_n "checking for $ac_word... " >&6; }
14976if ${ac_cv_path_DX_EGREP+:} false; then :
14977  $as_echo_n "(cached) " >&6
14978else
14979  case $DX_EGREP in
14980  [\\/]* | ?:[\\/]*)
14981  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
14982  ;;
14983  *)
14984  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14985for as_dir in $PATH
14986do
14987  IFS=$as_save_IFS
14988  test -z "$as_dir" && as_dir=.
14989    for ac_exec_ext in '' $ac_executable_extensions; do
14990  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14991    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
14992    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14993    break 2
14994  fi
14995done
14996  done
14997IFS=$as_save_IFS
14998
14999  ;;
15000esac
15001fi
15002DX_EGREP=$ac_cv_path_DX_EGREP
15003if test -n "$DX_EGREP"; then
15004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
15005$as_echo "$DX_EGREP" >&6; }
15006else
15007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15008$as_echo "no" >&6; }
15009fi
15010
15011
15012fi
15013if test -z "$ac_cv_path_DX_EGREP"; then
15014  ac_pt_DX_EGREP=$DX_EGREP
15015  # Extract the first word of "egrep", so it can be a program name with args.
15016set dummy egrep; ac_word=$2
15017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15018$as_echo_n "checking for $ac_word... " >&6; }
15019if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
15020  $as_echo_n "(cached) " >&6
15021else
15022  case $ac_pt_DX_EGREP in
15023  [\\/]* | ?:[\\/]*)
15024  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
15025  ;;
15026  *)
15027  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15028for as_dir in $PATH
15029do
15030  IFS=$as_save_IFS
15031  test -z "$as_dir" && as_dir=.
15032    for ac_exec_ext in '' $ac_executable_extensions; do
15033  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15034    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
15035    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15036    break 2
15037  fi
15038done
15039  done
15040IFS=$as_save_IFS
15041
15042  ;;
15043esac
15044fi
15045ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
15046if test -n "$ac_pt_DX_EGREP"; then
15047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
15048$as_echo "$ac_pt_DX_EGREP" >&6; }
15049else
15050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15051$as_echo "no" >&6; }
15052fi
15053
15054  if test "x$ac_pt_DX_EGREP" = x; then
15055    DX_EGREP=""
15056  else
15057    case $cross_compiling:$ac_tool_warned in
15058yes:)
15059{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15060$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15061ac_tool_warned=yes ;;
15062esac
15063    DX_EGREP=$ac_pt_DX_EGREP
15064  fi
15065else
15066  DX_EGREP="$ac_cv_path_DX_EGREP"
15067fi
15068
15069if test "$DX_FLAG_ps$DX_EGREP" = 1; then
15070    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
15071$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
15072    DX_FLAG_ps=0
15073
15074fi
15075
15076    :
15077fi
15078if test "$DX_FLAG_ps" = 1; then
15079     if :; then
15080  DX_COND_ps_TRUE=
15081  DX_COND_ps_FALSE='#'
15082else
15083  DX_COND_ps_TRUE='#'
15084  DX_COND_ps_FALSE=
15085fi
15086
15087
15088    :
15089else
15090     if false; then
15091  DX_COND_ps_TRUE=
15092  DX_COND_ps_FALSE='#'
15093else
15094  DX_COND_ps_TRUE='#'
15095  DX_COND_ps_FALSE=
15096fi
15097
15098
15099    :
15100fi
15101
15102
15103# PDF file generation:
15104
15105
15106
15107
15108    # Check whether --enable-doxygen-pdf was given.
15109if test "${enable_doxygen_pdf+set}" = set; then :
15110  enableval=$enable_doxygen_pdf;
15111case "$enableval" in
15112#(
15113y|Y|yes|Yes|YES)
15114    DX_FLAG_pdf=1
15115
15116
15117test "$DX_FLAG_doc" = "1" \
15118|| as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
15119
15120;; #(
15121n|N|no|No|NO)
15122    DX_FLAG_pdf=0
15123
15124;; #(
15125*)
15126    as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
15127;;
15128esac
15129
15130else
15131
15132DX_FLAG_pdf=0
15133
15134
15135test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
15136
15137
15138
15139fi
15140
15141if test "$DX_FLAG_pdf" = 1; then
15142
15143if test -n "$ac_tool_prefix"; then
15144  # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
15145set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
15146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15147$as_echo_n "checking for $ac_word... " >&6; }
15148if ${ac_cv_path_DX_PDFLATEX+:} false; then :
15149  $as_echo_n "(cached) " >&6
15150else
15151  case $DX_PDFLATEX in
15152  [\\/]* | ?:[\\/]*)
15153  ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
15154  ;;
15155  *)
15156  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15157for as_dir in $PATH
15158do
15159  IFS=$as_save_IFS
15160  test -z "$as_dir" && as_dir=.
15161    for ac_exec_ext in '' $ac_executable_extensions; do
15162  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15163    ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
15164    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15165    break 2
15166  fi
15167done
15168  done
15169IFS=$as_save_IFS
15170
15171  ;;
15172esac
15173fi
15174DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
15175if test -n "$DX_PDFLATEX"; then
15176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
15177$as_echo "$DX_PDFLATEX" >&6; }
15178else
15179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15180$as_echo "no" >&6; }
15181fi
15182
15183
15184fi
15185if test -z "$ac_cv_path_DX_PDFLATEX"; then
15186  ac_pt_DX_PDFLATEX=$DX_PDFLATEX
15187  # Extract the first word of "pdflatex", so it can be a program name with args.
15188set dummy pdflatex; ac_word=$2
15189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15190$as_echo_n "checking for $ac_word... " >&6; }
15191if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
15192  $as_echo_n "(cached) " >&6
15193else
15194  case $ac_pt_DX_PDFLATEX in
15195  [\\/]* | ?:[\\/]*)
15196  ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
15197  ;;
15198  *)
15199  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15200for as_dir in $PATH
15201do
15202  IFS=$as_save_IFS
15203  test -z "$as_dir" && as_dir=.
15204    for ac_exec_ext in '' $ac_executable_extensions; do
15205  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15206    ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
15207    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15208    break 2
15209  fi
15210done
15211  done
15212IFS=$as_save_IFS
15213
15214  ;;
15215esac
15216fi
15217ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
15218if test -n "$ac_pt_DX_PDFLATEX"; then
15219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
15220$as_echo "$ac_pt_DX_PDFLATEX" >&6; }
15221else
15222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15223$as_echo "no" >&6; }
15224fi
15225
15226  if test "x$ac_pt_DX_PDFLATEX" = x; then
15227    DX_PDFLATEX=""
15228  else
15229    case $cross_compiling:$ac_tool_warned in
15230yes:)
15231{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15232$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15233ac_tool_warned=yes ;;
15234esac
15235    DX_PDFLATEX=$ac_pt_DX_PDFLATEX
15236  fi
15237else
15238  DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
15239fi
15240
15241if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
15242    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
15243$as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
15244    DX_FLAG_pdf=0
15245
15246fi
15247
15248
15249if test -n "$ac_tool_prefix"; then
15250  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
15251set dummy ${ac_tool_prefix}makeindex; ac_word=$2
15252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15253$as_echo_n "checking for $ac_word... " >&6; }
15254if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
15255  $as_echo_n "(cached) " >&6
15256else
15257  case $DX_MAKEINDEX in
15258  [\\/]* | ?:[\\/]*)
15259  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
15260  ;;
15261  *)
15262  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15263for as_dir in $PATH
15264do
15265  IFS=$as_save_IFS
15266  test -z "$as_dir" && as_dir=.
15267    for ac_exec_ext in '' $ac_executable_extensions; do
15268  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15269    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
15270    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15271    break 2
15272  fi
15273done
15274  done
15275IFS=$as_save_IFS
15276
15277  ;;
15278esac
15279fi
15280DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
15281if test -n "$DX_MAKEINDEX"; then
15282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
15283$as_echo "$DX_MAKEINDEX" >&6; }
15284else
15285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15286$as_echo "no" >&6; }
15287fi
15288
15289
15290fi
15291if test -z "$ac_cv_path_DX_MAKEINDEX"; then
15292  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
15293  # Extract the first word of "makeindex", so it can be a program name with args.
15294set dummy makeindex; ac_word=$2
15295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15296$as_echo_n "checking for $ac_word... " >&6; }
15297if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
15298  $as_echo_n "(cached) " >&6
15299else
15300  case $ac_pt_DX_MAKEINDEX in
15301  [\\/]* | ?:[\\/]*)
15302  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
15303  ;;
15304  *)
15305  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15306for as_dir in $PATH
15307do
15308  IFS=$as_save_IFS
15309  test -z "$as_dir" && as_dir=.
15310    for ac_exec_ext in '' $ac_executable_extensions; do
15311  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15312    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
15313    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15314    break 2
15315  fi
15316done
15317  done
15318IFS=$as_save_IFS
15319
15320  ;;
15321esac
15322fi
15323ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
15324if test -n "$ac_pt_DX_MAKEINDEX"; then
15325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
15326$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
15327else
15328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15329$as_echo "no" >&6; }
15330fi
15331
15332  if test "x$ac_pt_DX_MAKEINDEX" = x; then
15333    DX_MAKEINDEX=""
15334  else
15335    case $cross_compiling:$ac_tool_warned in
15336yes:)
15337{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15338$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15339ac_tool_warned=yes ;;
15340esac
15341    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
15342  fi
15343else
15344  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
15345fi
15346
15347if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
15348    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
15349$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
15350    DX_FLAG_pdf=0
15351
15352fi
15353
15354
15355if test -n "$ac_tool_prefix"; then
15356  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
15357set dummy ${ac_tool_prefix}egrep; ac_word=$2
15358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15359$as_echo_n "checking for $ac_word... " >&6; }
15360if ${ac_cv_path_DX_EGREP+:} false; then :
15361  $as_echo_n "(cached) " >&6
15362else
15363  case $DX_EGREP in
15364  [\\/]* | ?:[\\/]*)
15365  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
15366  ;;
15367  *)
15368  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15369for as_dir in $PATH
15370do
15371  IFS=$as_save_IFS
15372  test -z "$as_dir" && as_dir=.
15373    for ac_exec_ext in '' $ac_executable_extensions; do
15374  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15375    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
15376    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15377    break 2
15378  fi
15379done
15380  done
15381IFS=$as_save_IFS
15382
15383  ;;
15384esac
15385fi
15386DX_EGREP=$ac_cv_path_DX_EGREP
15387if test -n "$DX_EGREP"; then
15388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
15389$as_echo "$DX_EGREP" >&6; }
15390else
15391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15392$as_echo "no" >&6; }
15393fi
15394
15395
15396fi
15397if test -z "$ac_cv_path_DX_EGREP"; then
15398  ac_pt_DX_EGREP=$DX_EGREP
15399  # Extract the first word of "egrep", so it can be a program name with args.
15400set dummy egrep; ac_word=$2
15401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15402$as_echo_n "checking for $ac_word... " >&6; }
15403if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
15404  $as_echo_n "(cached) " >&6
15405else
15406  case $ac_pt_DX_EGREP in
15407  [\\/]* | ?:[\\/]*)
15408  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
15409  ;;
15410  *)
15411  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15412for as_dir in $PATH
15413do
15414  IFS=$as_save_IFS
15415  test -z "$as_dir" && as_dir=.
15416    for ac_exec_ext in '' $ac_executable_extensions; do
15417  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15418    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
15419    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15420    break 2
15421  fi
15422done
15423  done
15424IFS=$as_save_IFS
15425
15426  ;;
15427esac
15428fi
15429ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
15430if test -n "$ac_pt_DX_EGREP"; then
15431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
15432$as_echo "$ac_pt_DX_EGREP" >&6; }
15433else
15434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15435$as_echo "no" >&6; }
15436fi
15437
15438  if test "x$ac_pt_DX_EGREP" = x; then
15439    DX_EGREP=""
15440  else
15441    case $cross_compiling:$ac_tool_warned in
15442yes:)
15443{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15444$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15445ac_tool_warned=yes ;;
15446esac
15447    DX_EGREP=$ac_pt_DX_EGREP
15448  fi
15449else
15450  DX_EGREP="$ac_cv_path_DX_EGREP"
15451fi
15452
15453if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
15454    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
15455$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
15456    DX_FLAG_pdf=0
15457
15458fi
15459
15460    :
15461fi
15462if test "$DX_FLAG_pdf" = 1; then
15463     if :; then
15464  DX_COND_pdf_TRUE=
15465  DX_COND_pdf_FALSE='#'
15466else
15467  DX_COND_pdf_TRUE='#'
15468  DX_COND_pdf_FALSE=
15469fi
15470
15471
15472    :
15473else
15474     if false; then
15475  DX_COND_pdf_TRUE=
15476  DX_COND_pdf_FALSE='#'
15477else
15478  DX_COND_pdf_TRUE='#'
15479  DX_COND_pdf_FALSE=
15480fi
15481
15482
15483    :
15484fi
15485
15486
15487# LaTeX generation for PS and/or PDF:
15488if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
15489     if :; then
15490  DX_COND_latex_TRUE=
15491  DX_COND_latex_FALSE='#'
15492else
15493  DX_COND_latex_TRUE='#'
15494  DX_COND_latex_FALSE=
15495fi
15496
15497    DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
15498
15499else
15500     if false; then
15501  DX_COND_latex_TRUE=
15502  DX_COND_latex_FALSE='#'
15503else
15504  DX_COND_latex_TRUE='#'
15505  DX_COND_latex_FALSE=
15506fi
15507
15508    DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
15509
15510fi
15511
15512# Paper size for PS and/or PDF:
15513
15514case "$DOXYGEN_PAPER_SIZE" in
15515#(
15516"")
15517    DOXYGEN_PAPER_SIZE=""
15518
15519;; #(
15520a4wide|a4|letter|legal|executive)
15521    DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
15522
15523;; #(
15524*)
15525    as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
15526;;
15527esac
15528
15529#For debugging:
15530#echo DX_FLAG_doc=$DX_FLAG_doc
15531#echo DX_FLAG_dot=$DX_FLAG_dot
15532#echo DX_FLAG_man=$DX_FLAG_man
15533#echo DX_FLAG_html=$DX_FLAG_html
15534#echo DX_FLAG_chm=$DX_FLAG_chm
15535#echo DX_FLAG_chi=$DX_FLAG_chi
15536#echo DX_FLAG_rtf=$DX_FLAG_rtf
15537#echo DX_FLAG_xml=$DX_FLAG_xml
15538#echo DX_FLAG_pdf=$DX_FLAG_pdf
15539#echo DX_FLAG_ps=$DX_FLAG_ps
15540#echo DX_ENV=$DX_ENV
15541
15542
15543
15544
15545
15546ac_config_files="$ac_config_files Makefile libxtiff/Makefile bin/Makefile man/Makefile man/man1/Makefile cmake/Makefile test/Makefile"
15547
15548
15549cat >confcache <<\_ACEOF
15550# This file is a shell script that caches the results of configure
15551# tests run on this system so they can be shared between configure
15552# scripts and configure runs, see configure's option --config-cache.
15553# It is not useful on other systems.  If it contains results you don't
15554# want to keep, you may remove or edit it.
15555#
15556# config.status only pays attention to the cache file if you give it
15557# the --recheck option to rerun configure.
15558#
15559# `ac_cv_env_foo' variables (set or unset) will be overridden when
15560# loading this file, other *unset* `ac_cv_foo' will be assigned the
15561# following values.
15562
15563_ACEOF
15564
15565# The following way of writing the cache mishandles newlines in values,
15566# but we know of no workaround that is simple, portable, and efficient.
15567# So, we kill variables containing newlines.
15568# Ultrix sh set writes to stderr and can't be redirected directly,
15569# and sets the high bit in the cache file unless we assign to the vars.
15570(
15571  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15572    eval ac_val=\$$ac_var
15573    case $ac_val in #(
15574    *${as_nl}*)
15575      case $ac_var in #(
15576      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15577$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15578      esac
15579      case $ac_var in #(
15580      _ | IFS | as_nl) ;; #(
15581      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15582      *) { eval $ac_var=; unset $ac_var;} ;;
15583      esac ;;
15584    esac
15585  done
15586
15587  (set) 2>&1 |
15588    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15589    *${as_nl}ac_space=\ *)
15590      # `set' does not quote correctly, so add quotes: double-quote
15591      # substitution turns \\\\ into \\, and sed turns \\ into \.
15592      sed -n \
15593	"s/'/'\\\\''/g;
15594	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15595      ;; #(
15596    *)
15597      # `set' quotes correctly as required by POSIX, so do not add quotes.
15598      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15599      ;;
15600    esac |
15601    sort
15602) |
15603  sed '
15604     /^ac_cv_env_/b end
15605     t clear
15606     :clear
15607     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15608     t end
15609     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15610     :end' >>confcache
15611if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15612  if test -w "$cache_file"; then
15613    if test "x$cache_file" != "x/dev/null"; then
15614      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15615$as_echo "$as_me: updating cache $cache_file" >&6;}
15616      if test ! -f "$cache_file" || test -h "$cache_file"; then
15617	cat confcache >"$cache_file"
15618      else
15619        case $cache_file in #(
15620        */* | ?:*)
15621	  mv -f confcache "$cache_file"$$ &&
15622	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15623        *)
15624	  mv -f confcache "$cache_file" ;;
15625	esac
15626      fi
15627    fi
15628  else
15629    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15630$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15631  fi
15632fi
15633rm -f confcache
15634
15635test "x$prefix" = xNONE && prefix=$ac_default_prefix
15636# Let make expand exec_prefix.
15637test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15638
15639DEFS=-DHAVE_CONFIG_H
15640
15641ac_libobjs=
15642ac_ltlibobjs=
15643U=
15644for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15645  # 1. Remove the extension, and $U if already installed.
15646  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15647  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15648  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15649  #    will be set to the directory where LIBOBJS objects are built.
15650  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15651  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15652done
15653LIBOBJS=$ac_libobjs
15654
15655LTLIBOBJS=$ac_ltlibobjs
15656
15657
15658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15659$as_echo_n "checking that generated files are newer than configure... " >&6; }
15660   if test -n "$am_sleep_pid"; then
15661     # Hide warnings about reused PIDs.
15662     wait $am_sleep_pid 2>/dev/null
15663   fi
15664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15665$as_echo "done" >&6; }
15666 if test -n "$EXEEXT"; then
15667  am__EXEEXT_TRUE=
15668  am__EXEEXT_FALSE='#'
15669else
15670  am__EXEEXT_TRUE='#'
15671  am__EXEEXT_FALSE=
15672fi
15673
15674if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15675  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15676Usually this means the macro was only invoked conditionally." "$LINENO" 5
15677fi
15678if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15679  as_fn_error $? "conditional \"AMDEP\" was never defined.
15680Usually this means the macro was only invoked conditionally." "$LINENO" 5
15681fi
15682if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15683  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15684Usually this means the macro was only invoked conditionally." "$LINENO" 5
15685fi
15686if test -z "${ZIP_IS_CONFIG_TRUE}" && test -z "${ZIP_IS_CONFIG_FALSE}"; then
15687  as_fn_error $? "conditional \"ZIP_IS_CONFIG\" was never defined.
15688Usually this means the macro was only invoked conditionally." "$LINENO" 5
15689fi
15690if test -z "${JPEG_IS_CONFIG_TRUE}" && test -z "${JPEG_IS_CONFIG_FALSE}"; then
15691  as_fn_error $? "conditional \"JPEG_IS_CONFIG\" was never defined.
15692Usually this means the macro was only invoked conditionally." "$LINENO" 5
15693fi
15694if test -z "${TIFF_IS_CONFIG_TRUE}" && test -z "${TIFF_IS_CONFIG_FALSE}"; then
15695  as_fn_error $? "conditional \"TIFF_IS_CONFIG\" was never defined.
15696Usually this means the macro was only invoked conditionally." "$LINENO" 5
15697fi
15698if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
15699  as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
15700Usually this means the macro was only invoked conditionally." "$LINENO" 5
15701fi
15702if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
15703  as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
15704Usually this means the macro was only invoked conditionally." "$LINENO" 5
15705fi
15706if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
15707  as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
15708Usually this means the macro was only invoked conditionally." "$LINENO" 5
15709fi
15710if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
15711  as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
15712Usually this means the macro was only invoked conditionally." "$LINENO" 5
15713fi
15714if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
15715  as_fn_error $? "conditional \"DX_COND_man\" was never defined.
15716Usually this means the macro was only invoked conditionally." "$LINENO" 5
15717fi
15718if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
15719  as_fn_error $? "conditional \"DX_COND_man\" was never defined.
15720Usually this means the macro was only invoked conditionally." "$LINENO" 5
15721fi
15722if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
15723  as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
15724Usually this means the macro was only invoked conditionally." "$LINENO" 5
15725fi
15726if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
15727  as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
15728Usually this means the macro was only invoked conditionally." "$LINENO" 5
15729fi
15730if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
15731  as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
15732Usually this means the macro was only invoked conditionally." "$LINENO" 5
15733fi
15734if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
15735  as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
15736Usually this means the macro was only invoked conditionally." "$LINENO" 5
15737fi
15738if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
15739  as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
15740Usually this means the macro was only invoked conditionally." "$LINENO" 5
15741fi
15742if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
15743  as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
15744Usually this means the macro was only invoked conditionally." "$LINENO" 5
15745fi
15746if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
15747  as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
15748Usually this means the macro was only invoked conditionally." "$LINENO" 5
15749fi
15750if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
15751  as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
15752Usually this means the macro was only invoked conditionally." "$LINENO" 5
15753fi
15754if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
15755  as_fn_error $? "conditional \"DX_COND_html\" was never defined.
15756Usually this means the macro was only invoked conditionally." "$LINENO" 5
15757fi
15758if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
15759  as_fn_error $? "conditional \"DX_COND_html\" was never defined.
15760Usually this means the macro was only invoked conditionally." "$LINENO" 5
15761fi
15762if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
15763  as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
15764Usually this means the macro was only invoked conditionally." "$LINENO" 5
15765fi
15766if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
15767  as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
15768Usually this means the macro was only invoked conditionally." "$LINENO" 5
15769fi
15770if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
15771  as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
15772Usually this means the macro was only invoked conditionally." "$LINENO" 5
15773fi
15774if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
15775  as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
15776Usually this means the macro was only invoked conditionally." "$LINENO" 5
15777fi
15778if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
15779  as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
15780Usually this means the macro was only invoked conditionally." "$LINENO" 5
15781fi
15782if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
15783  as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
15784Usually this means the macro was only invoked conditionally." "$LINENO" 5
15785fi
15786
15787: "${CONFIG_STATUS=./config.status}"
15788ac_write_fail=0
15789ac_clean_files_save=$ac_clean_files
15790ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15791{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15792$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15793as_write_fail=0
15794cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15795#! $SHELL
15796# Generated by $as_me.
15797# Run this file to recreate the current configuration.
15798# Compiler output produced by configure, useful for debugging
15799# configure, is in config.log if it exists.
15800
15801debug=false
15802ac_cs_recheck=false
15803ac_cs_silent=false
15804
15805SHELL=\${CONFIG_SHELL-$SHELL}
15806export SHELL
15807_ASEOF
15808cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15809## -------------------- ##
15810## M4sh Initialization. ##
15811## -------------------- ##
15812
15813# Be more Bourne compatible
15814DUALCASE=1; export DUALCASE # for MKS sh
15815if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15816  emulate sh
15817  NULLCMD=:
15818  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15819  # is contrary to our usage.  Disable this feature.
15820  alias -g '${1+"$@"}'='"$@"'
15821  setopt NO_GLOB_SUBST
15822else
15823  case `(set -o) 2>/dev/null` in #(
15824  *posix*) :
15825    set -o posix ;; #(
15826  *) :
15827     ;;
15828esac
15829fi
15830
15831
15832as_nl='
15833'
15834export as_nl
15835# Printing a long string crashes Solaris 7 /usr/bin/printf.
15836as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15837as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15838as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15839# Prefer a ksh shell builtin over an external printf program on Solaris,
15840# but without wasting forks for bash or zsh.
15841if test -z "$BASH_VERSION$ZSH_VERSION" \
15842    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15843  as_echo='print -r --'
15844  as_echo_n='print -rn --'
15845elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15846  as_echo='printf %s\n'
15847  as_echo_n='printf %s'
15848else
15849  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15850    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15851    as_echo_n='/usr/ucb/echo -n'
15852  else
15853    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15854    as_echo_n_body='eval
15855      arg=$1;
15856      case $arg in #(
15857      *"$as_nl"*)
15858	expr "X$arg" : "X\\(.*\\)$as_nl";
15859	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15860      esac;
15861      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15862    '
15863    export as_echo_n_body
15864    as_echo_n='sh -c $as_echo_n_body as_echo'
15865  fi
15866  export as_echo_body
15867  as_echo='sh -c $as_echo_body as_echo'
15868fi
15869
15870# The user is always right.
15871if test "${PATH_SEPARATOR+set}" != set; then
15872  PATH_SEPARATOR=:
15873  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15874    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15875      PATH_SEPARATOR=';'
15876  }
15877fi
15878
15879
15880# IFS
15881# We need space, tab and new line, in precisely that order.  Quoting is
15882# there to prevent editors from complaining about space-tab.
15883# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15884# splitting by setting IFS to empty value.)
15885IFS=" ""	$as_nl"
15886
15887# Find who we are.  Look in the path if we contain no directory separator.
15888as_myself=
15889case $0 in #((
15890  *[\\/]* ) as_myself=$0 ;;
15891  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15892for as_dir in $PATH
15893do
15894  IFS=$as_save_IFS
15895  test -z "$as_dir" && as_dir=.
15896    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15897  done
15898IFS=$as_save_IFS
15899
15900     ;;
15901esac
15902# We did not find ourselves, most probably we were run as `sh COMMAND'
15903# in which case we are not to be found in the path.
15904if test "x$as_myself" = x; then
15905  as_myself=$0
15906fi
15907if test ! -f "$as_myself"; then
15908  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15909  exit 1
15910fi
15911
15912# Unset variables that we do not need and which cause bugs (e.g. in
15913# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15914# suppresses any "Segmentation fault" message there.  '((' could
15915# trigger a bug in pdksh 5.2.14.
15916for as_var in BASH_ENV ENV MAIL MAILPATH
15917do eval test x\${$as_var+set} = xset \
15918  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15919done
15920PS1='$ '
15921PS2='> '
15922PS4='+ '
15923
15924# NLS nuisances.
15925LC_ALL=C
15926export LC_ALL
15927LANGUAGE=C
15928export LANGUAGE
15929
15930# CDPATH.
15931(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15932
15933
15934# as_fn_error STATUS ERROR [LINENO LOG_FD]
15935# ----------------------------------------
15936# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15937# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15938# script with STATUS, using 1 if that was 0.
15939as_fn_error ()
15940{
15941  as_status=$1; test $as_status -eq 0 && as_status=1
15942  if test "$4"; then
15943    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15944    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15945  fi
15946  $as_echo "$as_me: error: $2" >&2
15947  as_fn_exit $as_status
15948} # as_fn_error
15949
15950
15951# as_fn_set_status STATUS
15952# -----------------------
15953# Set $? to STATUS, without forking.
15954as_fn_set_status ()
15955{
15956  return $1
15957} # as_fn_set_status
15958
15959# as_fn_exit STATUS
15960# -----------------
15961# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15962as_fn_exit ()
15963{
15964  set +e
15965  as_fn_set_status $1
15966  exit $1
15967} # as_fn_exit
15968
15969# as_fn_unset VAR
15970# ---------------
15971# Portably unset VAR.
15972as_fn_unset ()
15973{
15974  { eval $1=; unset $1;}
15975}
15976as_unset=as_fn_unset
15977# as_fn_append VAR VALUE
15978# ----------------------
15979# Append the text in VALUE to the end of the definition contained in VAR. Take
15980# advantage of any shell optimizations that allow amortized linear growth over
15981# repeated appends, instead of the typical quadratic growth present in naive
15982# implementations.
15983if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15984  eval 'as_fn_append ()
15985  {
15986    eval $1+=\$2
15987  }'
15988else
15989  as_fn_append ()
15990  {
15991    eval $1=\$$1\$2
15992  }
15993fi # as_fn_append
15994
15995# as_fn_arith ARG...
15996# ------------------
15997# Perform arithmetic evaluation on the ARGs, and store the result in the
15998# global $as_val. Take advantage of shells that can avoid forks. The arguments
15999# must be portable across $(()) and expr.
16000if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16001  eval 'as_fn_arith ()
16002  {
16003    as_val=$(( $* ))
16004  }'
16005else
16006  as_fn_arith ()
16007  {
16008    as_val=`expr "$@" || test $? -eq 1`
16009  }
16010fi # as_fn_arith
16011
16012
16013if expr a : '\(a\)' >/dev/null 2>&1 &&
16014   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16015  as_expr=expr
16016else
16017  as_expr=false
16018fi
16019
16020if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16021  as_basename=basename
16022else
16023  as_basename=false
16024fi
16025
16026if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16027  as_dirname=dirname
16028else
16029  as_dirname=false
16030fi
16031
16032as_me=`$as_basename -- "$0" ||
16033$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16034	 X"$0" : 'X\(//\)$' \| \
16035	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16036$as_echo X/"$0" |
16037    sed '/^.*\/\([^/][^/]*\)\/*$/{
16038	    s//\1/
16039	    q
16040	  }
16041	  /^X\/\(\/\/\)$/{
16042	    s//\1/
16043	    q
16044	  }
16045	  /^X\/\(\/\).*/{
16046	    s//\1/
16047	    q
16048	  }
16049	  s/.*/./; q'`
16050
16051# Avoid depending upon Character Ranges.
16052as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16053as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16054as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16055as_cr_digits='0123456789'
16056as_cr_alnum=$as_cr_Letters$as_cr_digits
16057
16058ECHO_C= ECHO_N= ECHO_T=
16059case `echo -n x` in #(((((
16060-n*)
16061  case `echo 'xy\c'` in
16062  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
16063  xy)  ECHO_C='\c';;
16064  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16065       ECHO_T='	';;
16066  esac;;
16067*)
16068  ECHO_N='-n';;
16069esac
16070
16071rm -f conf$$ conf$$.exe conf$$.file
16072if test -d conf$$.dir; then
16073  rm -f conf$$.dir/conf$$.file
16074else
16075  rm -f conf$$.dir
16076  mkdir conf$$.dir 2>/dev/null
16077fi
16078if (echo >conf$$.file) 2>/dev/null; then
16079  if ln -s conf$$.file conf$$ 2>/dev/null; then
16080    as_ln_s='ln -s'
16081    # ... but there are two gotchas:
16082    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16083    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16084    # In both cases, we have to default to `cp -pR'.
16085    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16086      as_ln_s='cp -pR'
16087  elif ln conf$$.file conf$$ 2>/dev/null; then
16088    as_ln_s=ln
16089  else
16090    as_ln_s='cp -pR'
16091  fi
16092else
16093  as_ln_s='cp -pR'
16094fi
16095rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16096rmdir conf$$.dir 2>/dev/null
16097
16098
16099# as_fn_mkdir_p
16100# -------------
16101# Create "$as_dir" as a directory, including parents if necessary.
16102as_fn_mkdir_p ()
16103{
16104
16105  case $as_dir in #(
16106  -*) as_dir=./$as_dir;;
16107  esac
16108  test -d "$as_dir" || eval $as_mkdir_p || {
16109    as_dirs=
16110    while :; do
16111      case $as_dir in #(
16112      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16113      *) as_qdir=$as_dir;;
16114      esac
16115      as_dirs="'$as_qdir' $as_dirs"
16116      as_dir=`$as_dirname -- "$as_dir" ||
16117$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16118	 X"$as_dir" : 'X\(//\)[^/]' \| \
16119	 X"$as_dir" : 'X\(//\)$' \| \
16120	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16121$as_echo X"$as_dir" |
16122    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16123	    s//\1/
16124	    q
16125	  }
16126	  /^X\(\/\/\)[^/].*/{
16127	    s//\1/
16128	    q
16129	  }
16130	  /^X\(\/\/\)$/{
16131	    s//\1/
16132	    q
16133	  }
16134	  /^X\(\/\).*/{
16135	    s//\1/
16136	    q
16137	  }
16138	  s/.*/./; q'`
16139      test -d "$as_dir" && break
16140    done
16141    test -z "$as_dirs" || eval "mkdir $as_dirs"
16142  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16143
16144
16145} # as_fn_mkdir_p
16146if mkdir -p . 2>/dev/null; then
16147  as_mkdir_p='mkdir -p "$as_dir"'
16148else
16149  test -d ./-p && rmdir ./-p
16150  as_mkdir_p=false
16151fi
16152
16153
16154# as_fn_executable_p FILE
16155# -----------------------
16156# Test if FILE is an executable regular file.
16157as_fn_executable_p ()
16158{
16159  test -f "$1" && test -x "$1"
16160} # as_fn_executable_p
16161as_test_x='test -x'
16162as_executable_p=as_fn_executable_p
16163
16164# Sed expression to map a string onto a valid CPP name.
16165as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16166
16167# Sed expression to map a string onto a valid variable name.
16168as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16169
16170
16171exec 6>&1
16172## ----------------------------------- ##
16173## Main body of $CONFIG_STATUS script. ##
16174## ----------------------------------- ##
16175_ASEOF
16176test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16177
16178cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16179# Save the log message, to keep $0 and so on meaningful, and to
16180# report actual input values of CONFIG_FILES etc. instead of their
16181# values after options handling.
16182ac_log="
16183This file was extended by libgeotiff $as_me 1.7.0, which was
16184generated by GNU Autoconf 2.69.  Invocation command line was
16185
16186  CONFIG_FILES    = $CONFIG_FILES
16187  CONFIG_HEADERS  = $CONFIG_HEADERS
16188  CONFIG_LINKS    = $CONFIG_LINKS
16189  CONFIG_COMMANDS = $CONFIG_COMMANDS
16190  $ $0 $@
16191
16192on `(hostname || uname -n) 2>/dev/null | sed 1q`
16193"
16194
16195_ACEOF
16196
16197case $ac_config_files in *"
16198"*) set x $ac_config_files; shift; ac_config_files=$*;;
16199esac
16200
16201case $ac_config_headers in *"
16202"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16203esac
16204
16205
16206cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16207# Files that config.status was made for.
16208config_files="$ac_config_files"
16209config_headers="$ac_config_headers"
16210config_commands="$ac_config_commands"
16211
16212_ACEOF
16213
16214cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16215ac_cs_usage="\
16216\`$as_me' instantiates files and other configuration actions
16217from templates according to the current configuration.  Unless the files
16218and actions are specified as TAGs, all are instantiated by default.
16219
16220Usage: $0 [OPTION]... [TAG]...
16221
16222  -h, --help       print this help, then exit
16223  -V, --version    print version number and configuration settings, then exit
16224      --config     print configuration, then exit
16225  -q, --quiet, --silent
16226                   do not print progress messages
16227  -d, --debug      don't remove temporary files
16228      --recheck    update $as_me by reconfiguring in the same conditions
16229      --file=FILE[:TEMPLATE]
16230                   instantiate the configuration file FILE
16231      --header=FILE[:TEMPLATE]
16232                   instantiate the configuration header FILE
16233
16234Configuration files:
16235$config_files
16236
16237Configuration headers:
16238$config_headers
16239
16240Configuration commands:
16241$config_commands
16242
16243Report bugs to <warmerdam@pobox.com>."
16244
16245_ACEOF
16246cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16247ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16248ac_cs_version="\\
16249libgeotiff config.status 1.7.0
16250configured by $0, generated by GNU Autoconf 2.69,
16251  with options \\"\$ac_cs_config\\"
16252
16253Copyright (C) 2012 Free Software Foundation, Inc.
16254This config.status script is free software; the Free Software Foundation
16255gives unlimited permission to copy, distribute and modify it."
16256
16257ac_pwd='$ac_pwd'
16258srcdir='$srcdir'
16259INSTALL='$INSTALL'
16260MKDIR_P='$MKDIR_P'
16261AWK='$AWK'
16262test -n "\$AWK" || AWK=awk
16263_ACEOF
16264
16265cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16266# The default lists apply if the user does not specify any file.
16267ac_need_defaults=:
16268while test $# != 0
16269do
16270  case $1 in
16271  --*=?*)
16272    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16273    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16274    ac_shift=:
16275    ;;
16276  --*=)
16277    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16278    ac_optarg=
16279    ac_shift=:
16280    ;;
16281  *)
16282    ac_option=$1
16283    ac_optarg=$2
16284    ac_shift=shift
16285    ;;
16286  esac
16287
16288  case $ac_option in
16289  # Handling of the options.
16290  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16291    ac_cs_recheck=: ;;
16292  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16293    $as_echo "$ac_cs_version"; exit ;;
16294  --config | --confi | --conf | --con | --co | --c )
16295    $as_echo "$ac_cs_config"; exit ;;
16296  --debug | --debu | --deb | --de | --d | -d )
16297    debug=: ;;
16298  --file | --fil | --fi | --f )
16299    $ac_shift
16300    case $ac_optarg in
16301    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16302    '') as_fn_error $? "missing file argument" ;;
16303    esac
16304    as_fn_append CONFIG_FILES " '$ac_optarg'"
16305    ac_need_defaults=false;;
16306  --header | --heade | --head | --hea )
16307    $ac_shift
16308    case $ac_optarg in
16309    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16310    esac
16311    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16312    ac_need_defaults=false;;
16313  --he | --h)
16314    # Conflict between --help and --header
16315    as_fn_error $? "ambiguous option: \`$1'
16316Try \`$0 --help' for more information.";;
16317  --help | --hel | -h )
16318    $as_echo "$ac_cs_usage"; exit ;;
16319  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16320  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16321    ac_cs_silent=: ;;
16322
16323  # This is an error.
16324  -*) as_fn_error $? "unrecognized option: \`$1'
16325Try \`$0 --help' for more information." ;;
16326
16327  *) as_fn_append ac_config_targets " $1"
16328     ac_need_defaults=false ;;
16329
16330  esac
16331  shift
16332done
16333
16334ac_configure_extra_args=
16335
16336if $ac_cs_silent; then
16337  exec 6>/dev/null
16338  ac_configure_extra_args="$ac_configure_extra_args --silent"
16339fi
16340
16341_ACEOF
16342cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16343if \$ac_cs_recheck; then
16344  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16345  shift
16346  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16347  CONFIG_SHELL='$SHELL'
16348  export CONFIG_SHELL
16349  exec "\$@"
16350fi
16351
16352_ACEOF
16353cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16354exec 5>>config.log
16355{
16356  echo
16357  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16358## Running $as_me. ##
16359_ASBOX
16360  $as_echo "$ac_log"
16361} >&5
16362
16363_ACEOF
16364cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16365#
16366# INIT-COMMANDS
16367#
16368AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
16369
16370
16371# The HP-UX ksh and POSIX shell print the target directory to stdout
16372# if CDPATH is set.
16373(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16374
16375sed_quote_subst='$sed_quote_subst'
16376double_quote_subst='$double_quote_subst'
16377delay_variable_subst='$delay_variable_subst'
16378macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16379macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16380enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16381enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16382pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16383enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16384shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16385SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16386ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16387PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16388host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16389host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16390host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16391build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16392build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16393build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16394SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16395Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16396GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16397EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16398FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16399LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16400NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16401LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16402max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16403ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16404exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16405lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16406lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16407lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16408lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16409lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16410reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16411reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16412OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16413deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16414file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16415file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16416want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16417DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16418sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16419AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16420AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16421archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16422STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16423RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16424old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16425old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16426old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16427lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16428CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16429CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16430compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16431GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16432lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16433lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16434lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16435lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16436lt_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"`'
16437lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16438nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16439lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16440lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16441objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16442MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16443lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16444lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16445lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16446lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16447lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16448need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16449MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16450DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16451NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16452LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16453OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16454OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16455libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16456shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16457extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16458archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16459enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16460export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16461whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16462compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16463old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16464old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16465archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16466archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16467module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16468module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16469with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16470allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16471no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16472hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16473hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16474hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16475hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16476hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16477hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16478hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16479inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16480link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16481always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16482export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16483exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16484include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16485prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16486postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16487file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16488variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16489need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16490need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16491version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16492runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16493shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16494shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16495libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16496library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16497soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16498install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16499postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16500postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16501finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16502finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16503hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16504sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16505configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16506configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16507hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16508enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16509enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16510enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16511old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16512striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16513
16514LTCC='$LTCC'
16515LTCFLAGS='$LTCFLAGS'
16516compiler='$compiler_DEFAULT'
16517
16518# A function that is used when there is no print builtin or printf.
16519func_fallback_echo ()
16520{
16521  eval 'cat <<_LTECHO_EOF
16522\$1
16523_LTECHO_EOF'
16524}
16525
16526# Quote evaled strings.
16527for var in SHELL \
16528ECHO \
16529PATH_SEPARATOR \
16530SED \
16531GREP \
16532EGREP \
16533FGREP \
16534LD \
16535NM \
16536LN_S \
16537lt_SP2NL \
16538lt_NL2SP \
16539reload_flag \
16540OBJDUMP \
16541deplibs_check_method \
16542file_magic_cmd \
16543file_magic_glob \
16544want_nocaseglob \
16545DLLTOOL \
16546sharedlib_from_linklib_cmd \
16547AR \
16548AR_FLAGS \
16549archiver_list_spec \
16550STRIP \
16551RANLIB \
16552CC \
16553CFLAGS \
16554compiler \
16555lt_cv_sys_global_symbol_pipe \
16556lt_cv_sys_global_symbol_to_cdecl \
16557lt_cv_sys_global_symbol_to_import \
16558lt_cv_sys_global_symbol_to_c_name_address \
16559lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16560lt_cv_nm_interface \
16561nm_file_list_spec \
16562lt_cv_truncate_bin \
16563lt_prog_compiler_no_builtin_flag \
16564lt_prog_compiler_pic \
16565lt_prog_compiler_wl \
16566lt_prog_compiler_static \
16567lt_cv_prog_compiler_c_o \
16568need_locks \
16569MANIFEST_TOOL \
16570DSYMUTIL \
16571NMEDIT \
16572LIPO \
16573OTOOL \
16574OTOOL64 \
16575shrext_cmds \
16576export_dynamic_flag_spec \
16577whole_archive_flag_spec \
16578compiler_needs_object \
16579with_gnu_ld \
16580allow_undefined_flag \
16581no_undefined_flag \
16582hardcode_libdir_flag_spec \
16583hardcode_libdir_separator \
16584exclude_expsyms \
16585include_expsyms \
16586file_list_spec \
16587variables_saved_for_relink \
16588libname_spec \
16589library_names_spec \
16590soname_spec \
16591install_override_mode \
16592finish_eval \
16593old_striplib \
16594striplib; do
16595    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16596    *[\\\\\\\`\\"\\\$]*)
16597      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16598      ;;
16599    *)
16600      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16601      ;;
16602    esac
16603done
16604
16605# Double-quote double-evaled strings.
16606for var in reload_cmds \
16607old_postinstall_cmds \
16608old_postuninstall_cmds \
16609old_archive_cmds \
16610extract_expsyms_cmds \
16611old_archive_from_new_cmds \
16612old_archive_from_expsyms_cmds \
16613archive_cmds \
16614archive_expsym_cmds \
16615module_cmds \
16616module_expsym_cmds \
16617export_symbols_cmds \
16618prelink_cmds \
16619postlink_cmds \
16620postinstall_cmds \
16621postuninstall_cmds \
16622finish_cmds \
16623sys_lib_search_path_spec \
16624configure_time_dlsearch_path \
16625configure_time_lt_sys_library_path; do
16626    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16627    *[\\\\\\\`\\"\\\$]*)
16628      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16629      ;;
16630    *)
16631      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16632      ;;
16633    esac
16634done
16635
16636ac_aux_dir='$ac_aux_dir'
16637
16638# See if we are running on zsh, and set the options that allow our
16639# commands through without removal of \ escapes INIT.
16640if test -n "\${ZSH_VERSION+set}"; then
16641   setopt NO_GLOB_SUBST
16642fi
16643
16644
16645    PACKAGE='$PACKAGE'
16646    VERSION='$VERSION'
16647    RM='$RM'
16648    ofile='$ofile'
16649
16650
16651
16652
16653_ACEOF
16654
16655cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16656
16657# Handling of arguments.
16658for ac_config_target in $ac_config_targets
16659do
16660  case $ac_config_target in
16661    "geo_config.h") CONFIG_HEADERS="$CONFIG_HEADERS geo_config.h" ;;
16662    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16663    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16664    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16665    "libxtiff/Makefile") CONFIG_FILES="$CONFIG_FILES libxtiff/Makefile" ;;
16666    "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
16667    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
16668    "man/man1/Makefile") CONFIG_FILES="$CONFIG_FILES man/man1/Makefile" ;;
16669    "cmake/Makefile") CONFIG_FILES="$CONFIG_FILES cmake/Makefile" ;;
16670    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16671
16672  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16673  esac
16674done
16675
16676
16677# If the user did not use the arguments to specify the items to instantiate,
16678# then the envvar interface is used.  Set only those that are not.
16679# We use the long form for the default assignment because of an extremely
16680# bizarre bug on SunOS 4.1.3.
16681if $ac_need_defaults; then
16682  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16683  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16684  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16685fi
16686
16687# Have a temporary directory for convenience.  Make it in the build tree
16688# simply because there is no reason against having it here, and in addition,
16689# creating and moving files from /tmp can sometimes cause problems.
16690# Hook for its removal unless debugging.
16691# Note that there is a small window in which the directory will not be cleaned:
16692# after its creation but before its name has been assigned to `$tmp'.
16693$debug ||
16694{
16695  tmp= ac_tmp=
16696  trap 'exit_status=$?
16697  : "${ac_tmp:=$tmp}"
16698  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16699' 0
16700  trap 'as_fn_exit 1' 1 2 13 15
16701}
16702# Create a (secure) tmp directory for tmp files.
16703
16704{
16705  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16706  test -d "$tmp"
16707}  ||
16708{
16709  tmp=./conf$$-$RANDOM
16710  (umask 077 && mkdir "$tmp")
16711} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16712ac_tmp=$tmp
16713
16714# Set up the scripts for CONFIG_FILES section.
16715# No need to generate them if there are no CONFIG_FILES.
16716# This happens for instance with `./config.status config.h'.
16717if test -n "$CONFIG_FILES"; then
16718
16719
16720ac_cr=`echo X | tr X '\015'`
16721# On cygwin, bash can eat \r inside `` if the user requested igncr.
16722# But we know of no other shell where ac_cr would be empty at this
16723# point, so we can use a bashism as a fallback.
16724if test "x$ac_cr" = x; then
16725  eval ac_cr=\$\'\\r\'
16726fi
16727ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16728if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16729  ac_cs_awk_cr='\\r'
16730else
16731  ac_cs_awk_cr=$ac_cr
16732fi
16733
16734echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16735_ACEOF
16736
16737
16738{
16739  echo "cat >conf$$subs.awk <<_ACEOF" &&
16740  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16741  echo "_ACEOF"
16742} >conf$$subs.sh ||
16743  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16744ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16745ac_delim='%!_!# '
16746for ac_last_try in false false false false false :; do
16747  . ./conf$$subs.sh ||
16748    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16749
16750  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16751  if test $ac_delim_n = $ac_delim_num; then
16752    break
16753  elif $ac_last_try; then
16754    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16755  else
16756    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16757  fi
16758done
16759rm -f conf$$subs.sh
16760
16761cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16762cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16763_ACEOF
16764sed -n '
16765h
16766s/^/S["/; s/!.*/"]=/
16767p
16768g
16769s/^[^!]*!//
16770:repl
16771t repl
16772s/'"$ac_delim"'$//
16773t delim
16774:nl
16775h
16776s/\(.\{148\}\)..*/\1/
16777t more1
16778s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16779p
16780n
16781b repl
16782:more1
16783s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16784p
16785g
16786s/.\{148\}//
16787t nl
16788:delim
16789h
16790s/\(.\{148\}\)..*/\1/
16791t more2
16792s/["\\]/\\&/g; s/^/"/; s/$/"/
16793p
16794b
16795:more2
16796s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16797p
16798g
16799s/.\{148\}//
16800t delim
16801' <conf$$subs.awk | sed '
16802/^[^""]/{
16803  N
16804  s/\n//
16805}
16806' >>$CONFIG_STATUS || ac_write_fail=1
16807rm -f conf$$subs.awk
16808cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16809_ACAWK
16810cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16811  for (key in S) S_is_set[key] = 1
16812  FS = ""
16813
16814}
16815{
16816  line = $ 0
16817  nfields = split(line, field, "@")
16818  substed = 0
16819  len = length(field[1])
16820  for (i = 2; i < nfields; i++) {
16821    key = field[i]
16822    keylen = length(key)
16823    if (S_is_set[key]) {
16824      value = S[key]
16825      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16826      len += length(value) + length(field[++i])
16827      substed = 1
16828    } else
16829      len += 1 + keylen
16830  }
16831
16832  print line
16833}
16834
16835_ACAWK
16836_ACEOF
16837cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16838if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16839  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16840else
16841  cat
16842fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16843  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16844_ACEOF
16845
16846# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16847# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16848# trailing colons and then remove the whole line if VPATH becomes empty
16849# (actually we leave an empty line to preserve line numbers).
16850if test "x$srcdir" = x.; then
16851  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16852h
16853s///
16854s/^/:/
16855s/[	 ]*$/:/
16856s/:\$(srcdir):/:/g
16857s/:\${srcdir}:/:/g
16858s/:@srcdir@:/:/g
16859s/^:*//
16860s/:*$//
16861x
16862s/\(=[	 ]*\).*/\1/
16863G
16864s/\n//
16865s/^[^=]*=[	 ]*$//
16866}'
16867fi
16868
16869cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16870fi # test -n "$CONFIG_FILES"
16871
16872# Set up the scripts for CONFIG_HEADERS section.
16873# No need to generate them if there are no CONFIG_HEADERS.
16874# This happens for instance with `./config.status Makefile'.
16875if test -n "$CONFIG_HEADERS"; then
16876cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16877BEGIN {
16878_ACEOF
16879
16880# Transform confdefs.h into an awk script `defines.awk', embedded as
16881# here-document in config.status, that substitutes the proper values into
16882# config.h.in to produce config.h.
16883
16884# Create a delimiter string that does not exist in confdefs.h, to ease
16885# handling of long lines.
16886ac_delim='%!_!# '
16887for ac_last_try in false false :; do
16888  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16889  if test -z "$ac_tt"; then
16890    break
16891  elif $ac_last_try; then
16892    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16893  else
16894    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16895  fi
16896done
16897
16898# For the awk script, D is an array of macro values keyed by name,
16899# likewise P contains macro parameters if any.  Preserve backslash
16900# newline sequences.
16901
16902ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16903sed -n '
16904s/.\{148\}/&'"$ac_delim"'/g
16905t rset
16906:rset
16907s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16908t def
16909d
16910:def
16911s/\\$//
16912t bsnl
16913s/["\\]/\\&/g
16914s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16915D["\1"]=" \3"/p
16916s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16917d
16918:bsnl
16919s/["\\]/\\&/g
16920s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16921D["\1"]=" \3\\\\\\n"\\/p
16922t cont
16923s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16924t cont
16925d
16926:cont
16927n
16928s/.\{148\}/&'"$ac_delim"'/g
16929t clear
16930:clear
16931s/\\$//
16932t bsnlc
16933s/["\\]/\\&/g; s/^/"/; s/$/"/p
16934d
16935:bsnlc
16936s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16937b cont
16938' <confdefs.h | sed '
16939s/'"$ac_delim"'/"\\\
16940"/g' >>$CONFIG_STATUS || ac_write_fail=1
16941
16942cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16943  for (key in D) D_is_set[key] = 1
16944  FS = ""
16945}
16946/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16947  line = \$ 0
16948  split(line, arg, " ")
16949  if (arg[1] == "#") {
16950    defundef = arg[2]
16951    mac1 = arg[3]
16952  } else {
16953    defundef = substr(arg[1], 2)
16954    mac1 = arg[2]
16955  }
16956  split(mac1, mac2, "(") #)
16957  macro = mac2[1]
16958  prefix = substr(line, 1, index(line, defundef) - 1)
16959  if (D_is_set[macro]) {
16960    # Preserve the white space surrounding the "#".
16961    print prefix "define", macro P[macro] D[macro]
16962    next
16963  } else {
16964    # Replace #undef with comments.  This is necessary, for example,
16965    # in the case of _POSIX_SOURCE, which is predefined and required
16966    # on some systems where configure will not decide to define it.
16967    if (defundef == "undef") {
16968      print "/*", prefix defundef, macro, "*/"
16969      next
16970    }
16971  }
16972}
16973{ print }
16974_ACAWK
16975_ACEOF
16976cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16977  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16978fi # test -n "$CONFIG_HEADERS"
16979
16980
16981eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16982shift
16983for ac_tag
16984do
16985  case $ac_tag in
16986  :[FHLC]) ac_mode=$ac_tag; continue;;
16987  esac
16988  case $ac_mode$ac_tag in
16989  :[FHL]*:*);;
16990  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16991  :[FH]-) ac_tag=-:-;;
16992  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16993  esac
16994  ac_save_IFS=$IFS
16995  IFS=:
16996  set x $ac_tag
16997  IFS=$ac_save_IFS
16998  shift
16999  ac_file=$1
17000  shift
17001
17002  case $ac_mode in
17003  :L) ac_source=$1;;
17004  :[FH])
17005    ac_file_inputs=
17006    for ac_f
17007    do
17008      case $ac_f in
17009      -) ac_f="$ac_tmp/stdin";;
17010      *) # Look for the file first in the build tree, then in the source tree
17011	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
17012	 # because $ac_f cannot contain `:'.
17013	 test -f "$ac_f" ||
17014	   case $ac_f in
17015	   [\\/$]*) false;;
17016	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17017	   esac ||
17018	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17019      esac
17020      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17021      as_fn_append ac_file_inputs " '$ac_f'"
17022    done
17023
17024    # Let's still pretend it is `configure' which instantiates (i.e., don't
17025    # use $as_me), people would be surprised to read:
17026    #    /* config.h.  Generated by config.status.  */
17027    configure_input='Generated from '`
17028	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17029	`' by configure.'
17030    if test x"$ac_file" != x-; then
17031      configure_input="$ac_file.  $configure_input"
17032      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17033$as_echo "$as_me: creating $ac_file" >&6;}
17034    fi
17035    # Neutralize special characters interpreted by sed in replacement strings.
17036    case $configure_input in #(
17037    *\&* | *\|* | *\\* )
17038       ac_sed_conf_input=`$as_echo "$configure_input" |
17039       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17040    *) ac_sed_conf_input=$configure_input;;
17041    esac
17042
17043    case $ac_tag in
17044    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17045      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17046    esac
17047    ;;
17048  esac
17049
17050  ac_dir=`$as_dirname -- "$ac_file" ||
17051$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17052	 X"$ac_file" : 'X\(//\)[^/]' \| \
17053	 X"$ac_file" : 'X\(//\)$' \| \
17054	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17055$as_echo X"$ac_file" |
17056    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17057	    s//\1/
17058	    q
17059	  }
17060	  /^X\(\/\/\)[^/].*/{
17061	    s//\1/
17062	    q
17063	  }
17064	  /^X\(\/\/\)$/{
17065	    s//\1/
17066	    q
17067	  }
17068	  /^X\(\/\).*/{
17069	    s//\1/
17070	    q
17071	  }
17072	  s/.*/./; q'`
17073  as_dir="$ac_dir"; as_fn_mkdir_p
17074  ac_builddir=.
17075
17076case "$ac_dir" in
17077.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17078*)
17079  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17080  # A ".." for each directory in $ac_dir_suffix.
17081  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17082  case $ac_top_builddir_sub in
17083  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17084  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17085  esac ;;
17086esac
17087ac_abs_top_builddir=$ac_pwd
17088ac_abs_builddir=$ac_pwd$ac_dir_suffix
17089# for backward compatibility:
17090ac_top_builddir=$ac_top_build_prefix
17091
17092case $srcdir in
17093  .)  # We are building in place.
17094    ac_srcdir=.
17095    ac_top_srcdir=$ac_top_builddir_sub
17096    ac_abs_top_srcdir=$ac_pwd ;;
17097  [\\/]* | ?:[\\/]* )  # Absolute name.
17098    ac_srcdir=$srcdir$ac_dir_suffix;
17099    ac_top_srcdir=$srcdir
17100    ac_abs_top_srcdir=$srcdir ;;
17101  *) # Relative name.
17102    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17103    ac_top_srcdir=$ac_top_build_prefix$srcdir
17104    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17105esac
17106ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17107
17108
17109  case $ac_mode in
17110  :F)
17111  #
17112  # CONFIG_FILE
17113  #
17114
17115  case $INSTALL in
17116  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17117  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17118  esac
17119  ac_MKDIR_P=$MKDIR_P
17120  case $MKDIR_P in
17121  [\\/$]* | ?:[\\/]* ) ;;
17122  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17123  esac
17124_ACEOF
17125
17126cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17127# If the template does not know about datarootdir, expand it.
17128# FIXME: This hack should be removed a few years after 2.60.
17129ac_datarootdir_hack=; ac_datarootdir_seen=
17130ac_sed_dataroot='
17131/datarootdir/ {
17132  p
17133  q
17134}
17135/@datadir@/p
17136/@docdir@/p
17137/@infodir@/p
17138/@localedir@/p
17139/@mandir@/p'
17140case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17141*datarootdir*) ac_datarootdir_seen=yes;;
17142*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17143  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17144$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17145_ACEOF
17146cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17147  ac_datarootdir_hack='
17148  s&@datadir@&$datadir&g
17149  s&@docdir@&$docdir&g
17150  s&@infodir@&$infodir&g
17151  s&@localedir@&$localedir&g
17152  s&@mandir@&$mandir&g
17153  s&\\\${datarootdir}&$datarootdir&g' ;;
17154esac
17155_ACEOF
17156
17157# Neutralize VPATH when `$srcdir' = `.'.
17158# Shell code in configure.ac might set extrasub.
17159# FIXME: do we really want to maintain this feature?
17160cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17161ac_sed_extra="$ac_vpsub
17162$extrasub
17163_ACEOF
17164cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17165:t
17166/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17167s|@configure_input@|$ac_sed_conf_input|;t t
17168s&@top_builddir@&$ac_top_builddir_sub&;t t
17169s&@top_build_prefix@&$ac_top_build_prefix&;t t
17170s&@srcdir@&$ac_srcdir&;t t
17171s&@abs_srcdir@&$ac_abs_srcdir&;t t
17172s&@top_srcdir@&$ac_top_srcdir&;t t
17173s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17174s&@builddir@&$ac_builddir&;t t
17175s&@abs_builddir@&$ac_abs_builddir&;t t
17176s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17177s&@INSTALL@&$ac_INSTALL&;t t
17178s&@MKDIR_P@&$ac_MKDIR_P&;t t
17179$ac_datarootdir_hack
17180"
17181eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17182  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17183
17184test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17185  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17186  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
17187      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17188  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17189which seems to be undefined.  Please make sure it is defined" >&5
17190$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17191which seems to be undefined.  Please make sure it is defined" >&2;}
17192
17193  rm -f "$ac_tmp/stdin"
17194  case $ac_file in
17195  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17196  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17197  esac \
17198  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17199 ;;
17200  :H)
17201  #
17202  # CONFIG_HEADER
17203  #
17204  if test x"$ac_file" != x-; then
17205    {
17206      $as_echo "/* $configure_input  */" \
17207      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17208    } >"$ac_tmp/config.h" \
17209      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17210    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17211      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17212$as_echo "$as_me: $ac_file is unchanged" >&6;}
17213    else
17214      rm -f "$ac_file"
17215      mv "$ac_tmp/config.h" "$ac_file" \
17216	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17217    fi
17218  else
17219    $as_echo "/* $configure_input  */" \
17220      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17221      || as_fn_error $? "could not create -" "$LINENO" 5
17222  fi
17223# Compute "$ac_file"'s index in $config_headers.
17224_am_arg="$ac_file"
17225_am_stamp_count=1
17226for _am_header in $config_headers :; do
17227  case $_am_header in
17228    $_am_arg | $_am_arg:* )
17229      break ;;
17230    * )
17231      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17232  esac
17233done
17234echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17235$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17236	 X"$_am_arg" : 'X\(//\)[^/]' \| \
17237	 X"$_am_arg" : 'X\(//\)$' \| \
17238	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17239$as_echo X"$_am_arg" |
17240    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17241	    s//\1/
17242	    q
17243	  }
17244	  /^X\(\/\/\)[^/].*/{
17245	    s//\1/
17246	    q
17247	  }
17248	  /^X\(\/\/\)$/{
17249	    s//\1/
17250	    q
17251	  }
17252	  /^X\(\/\).*/{
17253	    s//\1/
17254	    q
17255	  }
17256	  s/.*/./; q'`/stamp-h$_am_stamp_count
17257 ;;
17258
17259  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17260$as_echo "$as_me: executing $ac_file commands" >&6;}
17261 ;;
17262  esac
17263
17264
17265  case $ac_file$ac_mode in
17266    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17267  # Older Autoconf quotes --file arguments for eval, but not when files
17268  # are listed without --file.  Let's play safe and only enable the eval
17269  # if we detect the quoting.
17270  # TODO: see whether this extra hack can be removed once we start
17271  # requiring Autoconf 2.70 or later.
17272  case $CONFIG_FILES in #(
17273  *\'*) :
17274    eval set x "$CONFIG_FILES" ;; #(
17275  *) :
17276    set x $CONFIG_FILES ;; #(
17277  *) :
17278     ;;
17279esac
17280  shift
17281  # Used to flag and report bootstrapping failures.
17282  am_rc=0
17283  for am_mf
17284  do
17285    # Strip MF so we end up with the name of the file.
17286    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
17287    # Check whether this is an Automake generated Makefile which includes
17288    # dependency-tracking related rules and includes.
17289    # Grep'ing the whole file directly is not great: AIX grep has a line
17290    # limit of 2048, but all sed's we know have understand at least 4000.
17291    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
17292      || continue
17293    am_dirpart=`$as_dirname -- "$am_mf" ||
17294$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17295	 X"$am_mf" : 'X\(//\)[^/]' \| \
17296	 X"$am_mf" : 'X\(//\)$' \| \
17297	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17298$as_echo X"$am_mf" |
17299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17300	    s//\1/
17301	    q
17302	  }
17303	  /^X\(\/\/\)[^/].*/{
17304	    s//\1/
17305	    q
17306	  }
17307	  /^X\(\/\/\)$/{
17308	    s//\1/
17309	    q
17310	  }
17311	  /^X\(\/\).*/{
17312	    s//\1/
17313	    q
17314	  }
17315	  s/.*/./; q'`
17316    am_filepart=`$as_basename -- "$am_mf" ||
17317$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
17318	 X"$am_mf" : 'X\(//\)$' \| \
17319	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17320$as_echo X/"$am_mf" |
17321    sed '/^.*\/\([^/][^/]*\)\/*$/{
17322	    s//\1/
17323	    q
17324	  }
17325	  /^X\/\(\/\/\)$/{
17326	    s//\1/
17327	    q
17328	  }
17329	  /^X\/\(\/\).*/{
17330	    s//\1/
17331	    q
17332	  }
17333	  s/.*/./; q'`
17334    { echo "$as_me:$LINENO: cd "$am_dirpart" \
17335      && sed -e '/# am--include-marker/d' "$am_filepart" \
17336        | $MAKE -f - am--depfiles" >&5
17337   (cd "$am_dirpart" \
17338      && sed -e '/# am--include-marker/d' "$am_filepart" \
17339        | $MAKE -f - am--depfiles) >&5 2>&5
17340   ac_status=$?
17341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342   (exit $ac_status); } || am_rc=$?
17343  done
17344  if test $am_rc -ne 0; then
17345    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17346$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17347as_fn_error $? "Something went wrong bootstrapping makefile fragments
17348    for automatic dependency tracking.  Try re-running configure with the
17349    '--disable-dependency-tracking' option to at least be able to build
17350    the package (albeit without support for automatic dependency tracking).
17351See \`config.log' for more details" "$LINENO" 5; }
17352  fi
17353  { am_dirpart=; unset am_dirpart;}
17354  { am_filepart=; unset am_filepart;}
17355  { am_mf=; unset am_mf;}
17356  { am_rc=; unset am_rc;}
17357  rm -f conftest-deps.mk
17358}
17359 ;;
17360    "libtool":C)
17361
17362    # See if we are running on zsh, and set the options that allow our
17363    # commands through without removal of \ escapes.
17364    if test -n "${ZSH_VERSION+set}"; then
17365      setopt NO_GLOB_SUBST
17366    fi
17367
17368    cfgfile=${ofile}T
17369    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17370    $RM "$cfgfile"
17371
17372    cat <<_LT_EOF >> "$cfgfile"
17373#! $SHELL
17374# Generated automatically by $as_me ($PACKAGE) $VERSION
17375# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17376
17377# Provide generalized library-building support services.
17378# Written by Gordon Matzigkeit, 1996
17379
17380# Copyright (C) 2014 Free Software Foundation, Inc.
17381# This is free software; see the source for copying conditions.  There is NO
17382# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17383
17384# GNU Libtool is free software; you can redistribute it and/or modify
17385# it under the terms of the GNU General Public License as published by
17386# the Free Software Foundation; either version 2 of of the License, or
17387# (at your option) any later version.
17388#
17389# As a special exception to the GNU General Public License, if you
17390# distribute this file as part of a program or library that is built
17391# using GNU Libtool, you may include this file under the  same
17392# distribution terms that you use for the rest of that program.
17393#
17394# GNU Libtool is distributed in the hope that it will be useful, but
17395# WITHOUT ANY WARRANTY; without even the implied warranty of
17396# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17397# GNU General Public License for more details.
17398#
17399# You should have received a copy of the GNU General Public License
17400# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17401
17402
17403# The names of the tagged configurations supported by this script.
17404available_tags=''
17405
17406# Configured defaults for sys_lib_dlsearch_path munging.
17407: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17408
17409# ### BEGIN LIBTOOL CONFIG
17410
17411# Which release of libtool.m4 was used?
17412macro_version=$macro_version
17413macro_revision=$macro_revision
17414
17415# Whether or not to build shared libraries.
17416build_libtool_libs=$enable_shared
17417
17418# Whether or not to build static libraries.
17419build_old_libs=$enable_static
17420
17421# What type of objects to build.
17422pic_mode=$pic_mode
17423
17424# Whether or not to optimize for fast installation.
17425fast_install=$enable_fast_install
17426
17427# Shared archive member basename,for filename based shared library versioning on AIX.
17428shared_archive_member_spec=$shared_archive_member_spec
17429
17430# Shell to use when invoking shell scripts.
17431SHELL=$lt_SHELL
17432
17433# An echo program that protects backslashes.
17434ECHO=$lt_ECHO
17435
17436# The PATH separator for the build system.
17437PATH_SEPARATOR=$lt_PATH_SEPARATOR
17438
17439# The host system.
17440host_alias=$host_alias
17441host=$host
17442host_os=$host_os
17443
17444# The build system.
17445build_alias=$build_alias
17446build=$build
17447build_os=$build_os
17448
17449# A sed program that does not truncate output.
17450SED=$lt_SED
17451
17452# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17453Xsed="\$SED -e 1s/^X//"
17454
17455# A grep program that handles long lines.
17456GREP=$lt_GREP
17457
17458# An ERE matcher.
17459EGREP=$lt_EGREP
17460
17461# A literal string matcher.
17462FGREP=$lt_FGREP
17463
17464# A BSD- or MS-compatible name lister.
17465NM=$lt_NM
17466
17467# Whether we need soft or hard links.
17468LN_S=$lt_LN_S
17469
17470# What is the maximum length of a command?
17471max_cmd_len=$max_cmd_len
17472
17473# Object file suffix (normally "o").
17474objext=$ac_objext
17475
17476# Executable file suffix (normally "").
17477exeext=$exeext
17478
17479# whether the shell understands "unset".
17480lt_unset=$lt_unset
17481
17482# turn spaces into newlines.
17483SP2NL=$lt_lt_SP2NL
17484
17485# turn newlines into spaces.
17486NL2SP=$lt_lt_NL2SP
17487
17488# convert \$build file names to \$host format.
17489to_host_file_cmd=$lt_cv_to_host_file_cmd
17490
17491# convert \$build files to toolchain format.
17492to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17493
17494# An object symbol dumper.
17495OBJDUMP=$lt_OBJDUMP
17496
17497# Method to check whether dependent libraries are shared objects.
17498deplibs_check_method=$lt_deplibs_check_method
17499
17500# Command to use when deplibs_check_method = "file_magic".
17501file_magic_cmd=$lt_file_magic_cmd
17502
17503# How to find potential files when deplibs_check_method = "file_magic".
17504file_magic_glob=$lt_file_magic_glob
17505
17506# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17507want_nocaseglob=$lt_want_nocaseglob
17508
17509# DLL creation program.
17510DLLTOOL=$lt_DLLTOOL
17511
17512# Command to associate shared and link libraries.
17513sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17514
17515# The archiver.
17516AR=$lt_AR
17517
17518# Flags to create an archive.
17519AR_FLAGS=$lt_AR_FLAGS
17520
17521# How to feed a file listing to the archiver.
17522archiver_list_spec=$lt_archiver_list_spec
17523
17524# A symbol stripping program.
17525STRIP=$lt_STRIP
17526
17527# Commands used to install an old-style archive.
17528RANLIB=$lt_RANLIB
17529old_postinstall_cmds=$lt_old_postinstall_cmds
17530old_postuninstall_cmds=$lt_old_postuninstall_cmds
17531
17532# Whether to use a lock for old archive extraction.
17533lock_old_archive_extraction=$lock_old_archive_extraction
17534
17535# A C compiler.
17536LTCC=$lt_CC
17537
17538# LTCC compiler flags.
17539LTCFLAGS=$lt_CFLAGS
17540
17541# Take the output of nm and produce a listing of raw symbols and C names.
17542global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17543
17544# Transform the output of nm in a proper C declaration.
17545global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17546
17547# Transform the output of nm into a list of symbols to manually relocate.
17548global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17549
17550# Transform the output of nm in a C name address pair.
17551global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17552
17553# Transform the output of nm in a C name address pair when lib prefix is needed.
17554global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17555
17556# The name lister interface.
17557nm_interface=$lt_lt_cv_nm_interface
17558
17559# Specify filename containing input files for \$NM.
17560nm_file_list_spec=$lt_nm_file_list_spec
17561
17562# The root where to search for dependent libraries,and where our libraries should be installed.
17563lt_sysroot=$lt_sysroot
17564
17565# Command to truncate a binary pipe.
17566lt_truncate_bin=$lt_lt_cv_truncate_bin
17567
17568# The name of the directory that contains temporary libtool files.
17569objdir=$objdir
17570
17571# Used to examine libraries when file_magic_cmd begins with "file".
17572MAGIC_CMD=$MAGIC_CMD
17573
17574# Must we lock files when doing compilation?
17575need_locks=$lt_need_locks
17576
17577# Manifest tool.
17578MANIFEST_TOOL=$lt_MANIFEST_TOOL
17579
17580# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17581DSYMUTIL=$lt_DSYMUTIL
17582
17583# Tool to change global to local symbols on Mac OS X.
17584NMEDIT=$lt_NMEDIT
17585
17586# Tool to manipulate fat objects and archives on Mac OS X.
17587LIPO=$lt_LIPO
17588
17589# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17590OTOOL=$lt_OTOOL
17591
17592# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17593OTOOL64=$lt_OTOOL64
17594
17595# Old archive suffix (normally "a").
17596libext=$libext
17597
17598# Shared library suffix (normally ".so").
17599shrext_cmds=$lt_shrext_cmds
17600
17601# The commands to extract the exported symbol list from a shared archive.
17602extract_expsyms_cmds=$lt_extract_expsyms_cmds
17603
17604# Variables whose values should be saved in libtool wrapper scripts and
17605# restored at link time.
17606variables_saved_for_relink=$lt_variables_saved_for_relink
17607
17608# Do we need the "lib" prefix for modules?
17609need_lib_prefix=$need_lib_prefix
17610
17611# Do we need a version for libraries?
17612need_version=$need_version
17613
17614# Library versioning type.
17615version_type=$version_type
17616
17617# Shared library runtime path variable.
17618runpath_var=$runpath_var
17619
17620# Shared library path variable.
17621shlibpath_var=$shlibpath_var
17622
17623# Is shlibpath searched before the hard-coded library search path?
17624shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17625
17626# Format of library name prefix.
17627libname_spec=$lt_libname_spec
17628
17629# List of archive names.  First name is the real one, the rest are links.
17630# The last name is the one that the linker finds with -lNAME
17631library_names_spec=$lt_library_names_spec
17632
17633# The coded name of the library, if different from the real name.
17634soname_spec=$lt_soname_spec
17635
17636# Permission mode override for installation of shared libraries.
17637install_override_mode=$lt_install_override_mode
17638
17639# Command to use after installation of a shared archive.
17640postinstall_cmds=$lt_postinstall_cmds
17641
17642# Command to use after uninstallation of a shared archive.
17643postuninstall_cmds=$lt_postuninstall_cmds
17644
17645# Commands used to finish a libtool library installation in a directory.
17646finish_cmds=$lt_finish_cmds
17647
17648# As "finish_cmds", except a single script fragment to be evaled but
17649# not shown.
17650finish_eval=$lt_finish_eval
17651
17652# Whether we should hardcode library paths into libraries.
17653hardcode_into_libs=$hardcode_into_libs
17654
17655# Compile-time system search path for libraries.
17656sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17657
17658# Detected run-time system search path for libraries.
17659sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17660
17661# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17662configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17663
17664# Whether dlopen is supported.
17665dlopen_support=$enable_dlopen
17666
17667# Whether dlopen of programs is supported.
17668dlopen_self=$enable_dlopen_self
17669
17670# Whether dlopen of statically linked programs is supported.
17671dlopen_self_static=$enable_dlopen_self_static
17672
17673# Commands to strip libraries.
17674old_striplib=$lt_old_striplib
17675striplib=$lt_striplib
17676
17677
17678# The linker used to build libraries.
17679LD=$lt_LD
17680
17681# How to create reloadable object files.
17682reload_flag=$lt_reload_flag
17683reload_cmds=$lt_reload_cmds
17684
17685# Commands used to build an old-style archive.
17686old_archive_cmds=$lt_old_archive_cmds
17687
17688# A language specific compiler.
17689CC=$lt_compiler
17690
17691# Is the compiler the GNU compiler?
17692with_gcc=$GCC
17693
17694# Compiler flag to turn off builtin functions.
17695no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17696
17697# Additional compiler flags for building library objects.
17698pic_flag=$lt_lt_prog_compiler_pic
17699
17700# How to pass a linker flag through the compiler.
17701wl=$lt_lt_prog_compiler_wl
17702
17703# Compiler flag to prevent dynamic linking.
17704link_static_flag=$lt_lt_prog_compiler_static
17705
17706# Does compiler simultaneously support -c and -o options?
17707compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17708
17709# Whether or not to add -lc for building shared libraries.
17710build_libtool_need_lc=$archive_cmds_need_lc
17711
17712# Whether or not to disallow shared libs when runtime libs are static.
17713allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17714
17715# Compiler flag to allow reflexive dlopens.
17716export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17717
17718# Compiler flag to generate shared objects directly from archives.
17719whole_archive_flag_spec=$lt_whole_archive_flag_spec
17720
17721# Whether the compiler copes with passing no objects directly.
17722compiler_needs_object=$lt_compiler_needs_object
17723
17724# Create an old-style archive from a shared archive.
17725old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17726
17727# Create a temporary old-style archive to link instead of a shared archive.
17728old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17729
17730# Commands used to build a shared archive.
17731archive_cmds=$lt_archive_cmds
17732archive_expsym_cmds=$lt_archive_expsym_cmds
17733
17734# Commands used to build a loadable module if different from building
17735# a shared archive.
17736module_cmds=$lt_module_cmds
17737module_expsym_cmds=$lt_module_expsym_cmds
17738
17739# Whether we are building with GNU ld or not.
17740with_gnu_ld=$lt_with_gnu_ld
17741
17742# Flag that allows shared libraries with undefined symbols to be built.
17743allow_undefined_flag=$lt_allow_undefined_flag
17744
17745# Flag that enforces no undefined symbols.
17746no_undefined_flag=$lt_no_undefined_flag
17747
17748# Flag to hardcode \$libdir into a binary during linking.
17749# This must work even if \$libdir does not exist
17750hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17751
17752# Whether we need a single "-rpath" flag with a separated argument.
17753hardcode_libdir_separator=$lt_hardcode_libdir_separator
17754
17755# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17756# DIR into the resulting binary.
17757hardcode_direct=$hardcode_direct
17758
17759# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17760# DIR into the resulting binary and the resulting library dependency is
17761# "absolute",i.e impossible to change by setting \$shlibpath_var if the
17762# library is relocated.
17763hardcode_direct_absolute=$hardcode_direct_absolute
17764
17765# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17766# into the resulting binary.
17767hardcode_minus_L=$hardcode_minus_L
17768
17769# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17770# into the resulting binary.
17771hardcode_shlibpath_var=$hardcode_shlibpath_var
17772
17773# Set to "yes" if building a shared library automatically hardcodes DIR
17774# into the library and all subsequent libraries and executables linked
17775# against it.
17776hardcode_automatic=$hardcode_automatic
17777
17778# Set to yes if linker adds runtime paths of dependent libraries
17779# to runtime path list.
17780inherit_rpath=$inherit_rpath
17781
17782# Whether libtool must link a program against all its dependency libraries.
17783link_all_deplibs=$link_all_deplibs
17784
17785# Set to "yes" if exported symbols are required.
17786always_export_symbols=$always_export_symbols
17787
17788# The commands to list exported symbols.
17789export_symbols_cmds=$lt_export_symbols_cmds
17790
17791# Symbols that should not be listed in the preloaded symbols.
17792exclude_expsyms=$lt_exclude_expsyms
17793
17794# Symbols that must always be exported.
17795include_expsyms=$lt_include_expsyms
17796
17797# Commands necessary for linking programs (against libraries) with templates.
17798prelink_cmds=$lt_prelink_cmds
17799
17800# Commands necessary for finishing linking programs.
17801postlink_cmds=$lt_postlink_cmds
17802
17803# Specify filename containing input files.
17804file_list_spec=$lt_file_list_spec
17805
17806# How to hardcode a shared library path into an executable.
17807hardcode_action=$hardcode_action
17808
17809# ### END LIBTOOL CONFIG
17810
17811_LT_EOF
17812
17813    cat <<'_LT_EOF' >> "$cfgfile"
17814
17815# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17816
17817# func_munge_path_list VARIABLE PATH
17818# -----------------------------------
17819# VARIABLE is name of variable containing _space_ separated list of
17820# directories to be munged by the contents of PATH, which is string
17821# having a format:
17822# "DIR[:DIR]:"
17823#       string "DIR[ DIR]" will be prepended to VARIABLE
17824# ":DIR[:DIR]"
17825#       string "DIR[ DIR]" will be appended to VARIABLE
17826# "DIRP[:DIRP]::[DIRA:]DIRA"
17827#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17828#       "DIRA[ DIRA]" will be appended to VARIABLE
17829# "DIR[:DIR]"
17830#       VARIABLE will be replaced by "DIR[ DIR]"
17831func_munge_path_list ()
17832{
17833    case x$2 in
17834    x)
17835        ;;
17836    *:)
17837        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17838        ;;
17839    x:*)
17840        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17841        ;;
17842    *::*)
17843        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17844        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17845        ;;
17846    *)
17847        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17848        ;;
17849    esac
17850}
17851
17852
17853# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17854func_cc_basename ()
17855{
17856    for cc_temp in $*""; do
17857      case $cc_temp in
17858        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17859        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17860        \-*) ;;
17861        *) break;;
17862      esac
17863    done
17864    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17865}
17866
17867
17868# ### END FUNCTIONS SHARED WITH CONFIGURE
17869
17870_LT_EOF
17871
17872  case $host_os in
17873  aix3*)
17874    cat <<\_LT_EOF >> "$cfgfile"
17875# AIX sometimes has problems with the GCC collect2 program.  For some
17876# reason, if we set the COLLECT_NAMES environment variable, the problems
17877# vanish in a puff of smoke.
17878if test set != "${COLLECT_NAMES+set}"; then
17879  COLLECT_NAMES=
17880  export COLLECT_NAMES
17881fi
17882_LT_EOF
17883    ;;
17884  esac
17885
17886
17887ltmain=$ac_aux_dir/ltmain.sh
17888
17889
17890  # We use sed instead of cat because bash on DJGPP gets confused if
17891  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17892  # text mode, it properly converts lines to CR/LF.  This bash problem
17893  # is reportedly fixed, but why not run on old versions too?
17894  sed '$q' "$ltmain" >> "$cfgfile" \
17895     || (rm -f "$cfgfile"; exit 1)
17896
17897   mv -f "$cfgfile" "$ofile" ||
17898    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17899  chmod +x "$ofile"
17900
17901 ;;
17902
17903  esac
17904done # for ac_tag
17905
17906
17907as_fn_exit 0
17908_ACEOF
17909ac_clean_files=$ac_clean_files_save
17910
17911test $ac_write_fail = 0 ||
17912  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17913
17914
17915# configure is writing to config.log, and then calls config.status.
17916# config.status does its own redirection, appending to config.log.
17917# Unfortunately, on DOS this fails, as config.log is still kept open
17918# by configure, so config.status won't be able to write to it; its
17919# output is simply discarded.  So we exec the FD to /dev/null,
17920# effectively closing config.log, so it can be properly (re)opened and
17921# appended to by config.status.  When coming back to configure, we
17922# need to make the FD available again.
17923if test "$no_create" != yes; then
17924  ac_cs_success=:
17925  ac_config_status_args=
17926  test "$silent" = yes &&
17927    ac_config_status_args="$ac_config_status_args --quiet"
17928  exec 5>/dev/null
17929  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17930  exec 5>>config.log
17931  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17932  # would make configure fail if this is the last instruction.
17933  $ac_cs_success || as_fn_exit 1
17934fi
17935if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17936  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17937$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17938fi
17939
17940
17941
17942
17943echo ""
17944
17945
17946echo "libgeotiff configuration summary:"
17947
17948
17949echo ""
17950
17951
17952echo "  Version..................: ${RELEASE_VERSION}"
17953
17954
17955echo "  Installation directory...: ${prefix}"
17956
17957
17958echo "  C compiler...............: ${CC} ${CFLAGS}"
17959
17960
17961
17962echo "  Debugging support........: ${enable_debug}"
17963
17964
17965echo ""
17966
17967
17968
17969echo "  zlib support......: ${ZIP_CONFIG}"
17970
17971
17972echo "  jpeg support......: ${JPEG_CONFIG}"
17973
17974
17975echo "  TIFF support......: ${TIFF_CONFIG}"
17976
17977
17978echo "    -INCLUDE .......: ${TIFF_INC}"
17979
17980
17981echo "    -PREFIX ........: ${TIFF_PREFIX}"
17982
17983
17984echo "  PROJ support......: yes"
17985
17986
17987echo "    -INCLUDE .......: ${PROJ_INCLUDE}"
17988
17989
17990
17991echo "  LIBS.....................: ${LIBS}"
17992
17993
17994echo ""
17995
17996
17997echo "  libgeotiff - http://trac.osgeo.org/geotiff"
17998
17999
18000echo ""
18001
18002
18003