1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for jp2a 1.1.1.
4#
5# Report bugs to <chris-r@posteo.net>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in #(
218	 /*)
219	   for as_base in sh bash ksh sh5; do
220	     # Try only shells that exist, to save several forks.
221	     as_shell=$as_dir/$as_base
222	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229	   done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell bug-autoconf@gnu.org and chris-r@posteo.net
270$0: about your system, including any error possibly output
271$0: before this message. Then install a modern shell, or
272$0: manually run the script under such a shell if you do
273$0: have one."
274  fi
275  exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293  { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_fn_set_status ()
301{
302  return $1
303} # as_fn_set_status
304
305# as_fn_exit STATUS
306# -----------------
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
309{
310  set +e
311  as_fn_set_status $1
312  exit $1
313} # as_fn_exit
314
315# as_fn_mkdir_p
316# -------------
317# Create "$as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
319{
320
321  case $as_dir in #(
322  -*) as_dir=./$as_dir;;
323  esac
324  test -d "$as_dir" || eval $as_mkdir_p || {
325    as_dirs=
326    while :; do
327      case $as_dir in #(
328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329      *) as_qdir=$as_dir;;
330      esac
331      as_dirs="'$as_qdir' $as_dirs"
332      as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334	 X"$as_dir" : 'X\(//\)[^/]' \| \
335	 X"$as_dir" : 'X\(//\)$' \| \
336	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" |
338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)[^/].*/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\/\)$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\).*/{
351	    s//\1/
352	    q
353	  }
354	  s/.*/./; q'`
355      test -d "$as_dir" && break
356    done
357    test -z "$as_dirs" || eval "mkdir $as_dirs"
358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361} # as_fn_mkdir_p
362
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
368  test -f "$1" && test -x "$1"
369} # as_fn_executable_p
370# as_fn_append VAR VALUE
371# ----------------------
372# Append the text in VALUE to the end of the definition contained in VAR. Take
373# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
375# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377  eval 'as_fn_append ()
378  {
379    eval $1+=\$2
380  }'
381else
382  as_fn_append ()
383  {
384    eval $1=\$$1\$2
385  }
386fi # as_fn_append
387
388# as_fn_arith ARG...
389# ------------------
390# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394  eval 'as_fn_arith ()
395  {
396    as_val=$(( $* ))
397  }'
398else
399  as_fn_arith ()
400  {
401    as_val=`expr "$@" || test $? -eq 1`
402  }
403fi # as_fn_arith
404
405
406# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410# script with STATUS, using 1 if that was 0.
411as_fn_error ()
412{
413  as_status=$1; test $as_status -eq 0 && as_status=1
414  if test "$4"; then
415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417  fi
418  $as_echo "$as_me: error: $2" >&2
419  as_fn_exit $as_status
420} # as_fn_error
421
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
424  as_expr=expr
425else
426  as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430  as_basename=basename
431else
432  as_basename=false
433fi
434
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436  as_dirname=dirname
437else
438  as_dirname=false
439fi
440
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443	 X"$0" : 'X\(//\)$' \| \
444	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" |
446    sed '/^.*\/\([^/][^/]*\)\/*$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\/\)$/{
451	    s//\1/
452	    q
453	  }
454	  /^X\/\(\/\).*/{
455	    s//\1/
456	    q
457	  }
458	  s/.*/./; q'`
459
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473  sed -n '
474    p
475    /[$]LINENO/=
476  ' <$as_myself |
477    sed '
478      s/[$]LINENO.*/&-/
479      t lineno
480      b
481      :lineno
482      N
483      :loop
484      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485      t loop
486      s/-\n.*//
487    ' >$as_me.lineno &&
488  chmod +x "$as_me.lineno" ||
489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492  # already done that, so ensure we don't try to do so again and fall
493  # in an infinite loop.  This has already happened in practice.
494  _as_can_reexec=no; export _as_can_reexec
495  # Don't try to exec as it changes $[0], causing all sort of problems
496  # (the dirname of $[0] is not the place where we might find the
497  # original and so on.  Autoconf is especially sensitive to this).
498  . "./$as_me.lineno"
499  # Exit status is that of the last command.
500  exit
501}
502
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
505-n*)
506  case `echo 'xy\c'` in
507  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
508  xy)  ECHO_C='\c';;
509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510       ECHO_T='	';;
511  esac;;
512*)
513  ECHO_N='-n';;
514esac
515
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518  rm -f conf$$.dir/conf$$.file
519else
520  rm -f conf$$.dir
521  mkdir conf$$.dir 2>/dev/null
522fi
523if (echo >conf$$.file) 2>/dev/null; then
524  if ln -s conf$$.file conf$$ 2>/dev/null; then
525    as_ln_s='ln -s'
526    # ... but there are two gotchas:
527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529    # In both cases, we have to default to `cp -pR'.
530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531      as_ln_s='cp -pR'
532  elif ln conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s=ln
534  else
535    as_ln_s='cp -pR'
536  fi
537else
538  as_ln_s='cp -pR'
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
542
543if mkdir -p . 2>/dev/null; then
544  as_mkdir_p='mkdir -p "$as_dir"'
545else
546  test -d ./-p && rmdir ./-p
547  as_mkdir_p=false
548fi
549
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
552
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
562
563# Name of the host.
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIBOBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
579
580# Identity of this package.
581PACKAGE_NAME='jp2a'
582PACKAGE_TARNAME='jp2a'
583PACKAGE_VERSION='1.1.1'
584PACKAGE_STRING='jp2a 1.1.1'
585PACKAGE_BUGREPORT='chris-r@posteo.net'
586PACKAGE_URL='https://github.com/Talinx/jp2a'
587
588ac_unique_file="src/jp2a.c"
589# Factoring default headers for most tests.
590ac_includes_default="\
591#include <stdio.h>
592#ifdef HAVE_SYS_TYPES_H
593# include <sys/types.h>
594#endif
595#ifdef HAVE_SYS_STAT_H
596# include <sys/stat.h>
597#endif
598#ifdef STDC_HEADERS
599# include <stdlib.h>
600# include <stddef.h>
601#else
602# ifdef HAVE_STDLIB_H
603#  include <stdlib.h>
604# endif
605#endif
606#ifdef HAVE_STRING_H
607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608#  include <memory.h>
609# endif
610# include <string.h>
611#endif
612#ifdef HAVE_STRINGS_H
613# include <strings.h>
614#endif
615#ifdef HAVE_INTTYPES_H
616# include <inttypes.h>
617#endif
618#ifdef HAVE_STDINT_H
619# include <stdint.h>
620#endif
621#ifdef HAVE_UNISTD_H
622# include <unistd.h>
623#endif"
624
625ac_subst_vars='am__EXEEXT_FALSE
626am__EXEEXT_TRUE
627LTLIBOBJS
628LIBOBJS
629bashcompdir
630PKG_CONFIG_LIBDIR
631PKG_CONFIG_PATH
632PKG_CONFIG
633EGREP
634GREP
635CPP
636curl_config
637am__fastdepCC_FALSE
638am__fastdepCC_TRUE
639CCDEPMODE
640am__nodep
641AMDEPBACKSLASH
642AMDEP_FALSE
643AMDEP_TRUE
644am__include
645DEPDIR
646OBJEXT
647EXEEXT
648ac_ct_CC
649CPPFLAGS
650LDFLAGS
651CFLAGS
652CC
653AM_BACKSLASH
654AM_DEFAULT_VERBOSITY
655AM_DEFAULT_V
656AM_V
657am__untar
658am__tar
659AMTAR
660am__leading_dot
661SET_MAKE
662AWK
663mkdir_p
664MKDIR_P
665INSTALL_STRIP_PROGRAM
666STRIP
667install_sh
668MAKEINFO
669AUTOHEADER
670AUTOMAKE
671AUTOCONF
672ACLOCAL
673VERSION
674PACKAGE
675CYGPATH_W
676am__isrc
677INSTALL_DATA
678INSTALL_SCRIPT
679INSTALL_PROGRAM
680DX_RULES
681PAPER_SIZE
682DOXYGEN_PAPER_SIZE
683GENERATE_LATEX
684DX_PDFLATEX
685DX_FLAG_pdf
686DX_EGREP
687DX_DVIPS
688DX_MAKEINDEX
689DX_LATEX
690DX_FLAG_ps
691DX_FLAG_html
692GENERATE_CHI
693DX_FLAG_chi
694GENERATE_HTMLHELP
695GENERATE_HTML
696HHC_PATH
697DX_HHC
698DX_FLAG_chm
699GENERATE_XML
700DX_FLAG_xml
701GENERATE_RTF
702DX_FLAG_rtf
703GENERATE_MAN
704DX_FLAG_man
705DOT_PATH
706HAVE_DOT
707DX_DOT
708DX_FLAG_dot
709PERL_PATH
710DX_PERL
711DX_DOXYGEN
712DX_FLAG_doc
713PROJECT
714SRCDIR
715DX_ENV
716DX_DOCDIR
717DX_CONFIG
718DX_PROJECT
719target_alias
720host_alias
721build_alias
722LIBS
723ECHO_T
724ECHO_N
725ECHO_C
726DEFS
727mandir
728localedir
729libdir
730psdir
731pdfdir
732dvidir
733htmldir
734infodir
735docdir
736oldincludedir
737includedir
738runstatedir
739localstatedir
740sharedstatedir
741sysconfdir
742datadir
743datarootdir
744libexecdir
745sbindir
746bindir
747program_transform_name
748prefix
749exec_prefix
750PACKAGE_URL
751PACKAGE_BUGREPORT
752PACKAGE_STRING
753PACKAGE_VERSION
754PACKAGE_TARNAME
755PACKAGE_NAME
756PATH_SEPARATOR
757SHELL
758am__quote'
759ac_subst_files=''
760ac_user_opts='
761enable_option_checking
762enable_doxygen_doc
763enable_doxygen_dot
764enable_doxygen_man
765enable_doxygen_rtf
766enable_doxygen_xml
767enable_doxygen_chm
768enable_doxygen_chi
769enable_doxygen_html
770enable_doxygen_ps
771enable_doxygen_pdf
772enable_silent_rules
773enable_dependency_tracking
774with_jpeg_include
775with_jpeg_lib
776with_jpeg_prefix
777with_curl_config
778enable_curl
779enable_termlib
780enable_pure_ascii
781enable_assert
782'
783      ac_precious_vars='build_alias
784host_alias
785target_alias
786DOXYGEN_PAPER_SIZE
787CC
788CFLAGS
789LDFLAGS
790LIBS
791CPPFLAGS
792CPP
793PKG_CONFIG
794PKG_CONFIG_PATH
795PKG_CONFIG_LIBDIR
796bashcompdir'
797
798
799# Initialize some variables set by options.
800ac_init_help=
801ac_init_version=false
802ac_unrecognized_opts=
803ac_unrecognized_sep=
804# The variables have the same names as the options, with
805# dashes changed to underlines.
806cache_file=/dev/null
807exec_prefix=NONE
808no_create=
809no_recursion=
810prefix=NONE
811program_prefix=NONE
812program_suffix=NONE
813program_transform_name=s,x,x,
814silent=
815site=
816srcdir=
817verbose=
818x_includes=NONE
819x_libraries=NONE
820
821# Installation directory options.
822# These are left unexpanded so users can "make install exec_prefix=/foo"
823# and all the variables that are supposed to be based on exec_prefix
824# by default will actually change.
825# Use braces instead of parens because sh, perl, etc. also accept them.
826# (The list follows the same order as the GNU Coding Standards.)
827bindir='${exec_prefix}/bin'
828sbindir='${exec_prefix}/sbin'
829libexecdir='${exec_prefix}/libexec'
830datarootdir='${prefix}/share'
831datadir='${datarootdir}'
832sysconfdir='${prefix}/etc'
833sharedstatedir='${prefix}/com'
834localstatedir='${prefix}/var'
835runstatedir='${localstatedir}/run'
836includedir='${prefix}/include'
837oldincludedir='/usr/include'
838docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
839infodir='${datarootdir}/info'
840htmldir='${docdir}'
841dvidir='${docdir}'
842pdfdir='${docdir}'
843psdir='${docdir}'
844libdir='${exec_prefix}/lib'
845localedir='${datarootdir}/locale'
846mandir='${datarootdir}/man'
847
848ac_prev=
849ac_dashdash=
850for ac_option
851do
852  # If the previous option needs an argument, assign it.
853  if test -n "$ac_prev"; then
854    eval $ac_prev=\$ac_option
855    ac_prev=
856    continue
857  fi
858
859  case $ac_option in
860  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
861  *=)   ac_optarg= ;;
862  *)    ac_optarg=yes ;;
863  esac
864
865  # Accept the important Cygnus configure options, so we can diagnose typos.
866
867  case $ac_dashdash$ac_option in
868  --)
869    ac_dashdash=yes ;;
870
871  -bindir | --bindir | --bindi | --bind | --bin | --bi)
872    ac_prev=bindir ;;
873  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
874    bindir=$ac_optarg ;;
875
876  -build | --build | --buil | --bui | --bu)
877    ac_prev=build_alias ;;
878  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
879    build_alias=$ac_optarg ;;
880
881  -cache-file | --cache-file | --cache-fil | --cache-fi \
882  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
883    ac_prev=cache_file ;;
884  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
885  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
886    cache_file=$ac_optarg ;;
887
888  --config-cache | -C)
889    cache_file=config.cache ;;
890
891  -datadir | --datadir | --datadi | --datad)
892    ac_prev=datadir ;;
893  -datadir=* | --datadir=* | --datadi=* | --datad=*)
894    datadir=$ac_optarg ;;
895
896  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
897  | --dataroo | --dataro | --datar)
898    ac_prev=datarootdir ;;
899  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
900  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
901    datarootdir=$ac_optarg ;;
902
903  -disable-* | --disable-*)
904    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
905    # Reject names that are not valid shell variable names.
906    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
907      as_fn_error $? "invalid feature name: $ac_useropt"
908    ac_useropt_orig=$ac_useropt
909    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
910    case $ac_user_opts in
911      *"
912"enable_$ac_useropt"
913"*) ;;
914      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
915	 ac_unrecognized_sep=', ';;
916    esac
917    eval enable_$ac_useropt=no ;;
918
919  -docdir | --docdir | --docdi | --doc | --do)
920    ac_prev=docdir ;;
921  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
922    docdir=$ac_optarg ;;
923
924  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
925    ac_prev=dvidir ;;
926  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
927    dvidir=$ac_optarg ;;
928
929  -enable-* | --enable-*)
930    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
931    # Reject names that are not valid shell variable names.
932    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
933      as_fn_error $? "invalid feature name: $ac_useropt"
934    ac_useropt_orig=$ac_useropt
935    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936    case $ac_user_opts in
937      *"
938"enable_$ac_useropt"
939"*) ;;
940      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
941	 ac_unrecognized_sep=', ';;
942    esac
943    eval enable_$ac_useropt=\$ac_optarg ;;
944
945  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
946  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
947  | --exec | --exe | --ex)
948    ac_prev=exec_prefix ;;
949  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
950  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
951  | --exec=* | --exe=* | --ex=*)
952    exec_prefix=$ac_optarg ;;
953
954  -gas | --gas | --ga | --g)
955    # Obsolete; use --with-gas.
956    with_gas=yes ;;
957
958  -help | --help | --hel | --he | -h)
959    ac_init_help=long ;;
960  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
961    ac_init_help=recursive ;;
962  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
963    ac_init_help=short ;;
964
965  -host | --host | --hos | --ho)
966    ac_prev=host_alias ;;
967  -host=* | --host=* | --hos=* | --ho=*)
968    host_alias=$ac_optarg ;;
969
970  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
971    ac_prev=htmldir ;;
972  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
973  | --ht=*)
974    htmldir=$ac_optarg ;;
975
976  -includedir | --includedir | --includedi | --included | --include \
977  | --includ | --inclu | --incl | --inc)
978    ac_prev=includedir ;;
979  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
980  | --includ=* | --inclu=* | --incl=* | --inc=*)
981    includedir=$ac_optarg ;;
982
983  -infodir | --infodir | --infodi | --infod | --info | --inf)
984    ac_prev=infodir ;;
985  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
986    infodir=$ac_optarg ;;
987
988  -libdir | --libdir | --libdi | --libd)
989    ac_prev=libdir ;;
990  -libdir=* | --libdir=* | --libdi=* | --libd=*)
991    libdir=$ac_optarg ;;
992
993  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
994  | --libexe | --libex | --libe)
995    ac_prev=libexecdir ;;
996  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
997  | --libexe=* | --libex=* | --libe=*)
998    libexecdir=$ac_optarg ;;
999
1000  -localedir | --localedir | --localedi | --localed | --locale)
1001    ac_prev=localedir ;;
1002  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1003    localedir=$ac_optarg ;;
1004
1005  -localstatedir | --localstatedir | --localstatedi | --localstated \
1006  | --localstate | --localstat | --localsta | --localst | --locals)
1007    ac_prev=localstatedir ;;
1008  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1009  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1010    localstatedir=$ac_optarg ;;
1011
1012  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1013    ac_prev=mandir ;;
1014  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1015    mandir=$ac_optarg ;;
1016
1017  -nfp | --nfp | --nf)
1018    # Obsolete; use --without-fp.
1019    with_fp=no ;;
1020
1021  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1022  | --no-cr | --no-c | -n)
1023    no_create=yes ;;
1024
1025  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1026  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1027    no_recursion=yes ;;
1028
1029  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1030  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1031  | --oldin | --oldi | --old | --ol | --o)
1032    ac_prev=oldincludedir ;;
1033  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1034  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1035  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1036    oldincludedir=$ac_optarg ;;
1037
1038  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1039    ac_prev=prefix ;;
1040  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1041    prefix=$ac_optarg ;;
1042
1043  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1044  | --program-pre | --program-pr | --program-p)
1045    ac_prev=program_prefix ;;
1046  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1047  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1048    program_prefix=$ac_optarg ;;
1049
1050  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1051  | --program-suf | --program-su | --program-s)
1052    ac_prev=program_suffix ;;
1053  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1054  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1055    program_suffix=$ac_optarg ;;
1056
1057  -program-transform-name | --program-transform-name \
1058  | --program-transform-nam | --program-transform-na \
1059  | --program-transform-n | --program-transform- \
1060  | --program-transform | --program-transfor \
1061  | --program-transfo | --program-transf \
1062  | --program-trans | --program-tran \
1063  | --progr-tra | --program-tr | --program-t)
1064    ac_prev=program_transform_name ;;
1065  -program-transform-name=* | --program-transform-name=* \
1066  | --program-transform-nam=* | --program-transform-na=* \
1067  | --program-transform-n=* | --program-transform-=* \
1068  | --program-transform=* | --program-transfor=* \
1069  | --program-transfo=* | --program-transf=* \
1070  | --program-trans=* | --program-tran=* \
1071  | --progr-tra=* | --program-tr=* | --program-t=*)
1072    program_transform_name=$ac_optarg ;;
1073
1074  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1075    ac_prev=pdfdir ;;
1076  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1077    pdfdir=$ac_optarg ;;
1078
1079  -psdir | --psdir | --psdi | --psd | --ps)
1080    ac_prev=psdir ;;
1081  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1082    psdir=$ac_optarg ;;
1083
1084  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1085  | -silent | --silent | --silen | --sile | --sil)
1086    silent=yes ;;
1087
1088  -runstatedir | --runstatedir | --runstatedi | --runstated \
1089  | --runstate | --runstat | --runsta | --runst | --runs \
1090  | --run | --ru | --r)
1091    ac_prev=runstatedir ;;
1092  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1093  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1094  | --run=* | --ru=* | --r=*)
1095    runstatedir=$ac_optarg ;;
1096
1097  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1098    ac_prev=sbindir ;;
1099  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1100  | --sbi=* | --sb=*)
1101    sbindir=$ac_optarg ;;
1102
1103  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1104  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1105  | --sharedst | --shareds | --shared | --share | --shar \
1106  | --sha | --sh)
1107    ac_prev=sharedstatedir ;;
1108  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1109  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1110  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1111  | --sha=* | --sh=*)
1112    sharedstatedir=$ac_optarg ;;
1113
1114  -site | --site | --sit)
1115    ac_prev=site ;;
1116  -site=* | --site=* | --sit=*)
1117    site=$ac_optarg ;;
1118
1119  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1120    ac_prev=srcdir ;;
1121  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1122    srcdir=$ac_optarg ;;
1123
1124  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1125  | --syscon | --sysco | --sysc | --sys | --sy)
1126    ac_prev=sysconfdir ;;
1127  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1128  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1129    sysconfdir=$ac_optarg ;;
1130
1131  -target | --target | --targe | --targ | --tar | --ta | --t)
1132    ac_prev=target_alias ;;
1133  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1134    target_alias=$ac_optarg ;;
1135
1136  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1137    verbose=yes ;;
1138
1139  -version | --version | --versio | --versi | --vers | -V)
1140    ac_init_version=: ;;
1141
1142  -with-* | --with-*)
1143    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1144    # Reject names that are not valid shell variable names.
1145    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1146      as_fn_error $? "invalid package name: $ac_useropt"
1147    ac_useropt_orig=$ac_useropt
1148    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1149    case $ac_user_opts in
1150      *"
1151"with_$ac_useropt"
1152"*) ;;
1153      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1154	 ac_unrecognized_sep=', ';;
1155    esac
1156    eval with_$ac_useropt=\$ac_optarg ;;
1157
1158  -without-* | --without-*)
1159    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1160    # Reject names that are not valid shell variable names.
1161    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1162      as_fn_error $? "invalid package name: $ac_useropt"
1163    ac_useropt_orig=$ac_useropt
1164    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1165    case $ac_user_opts in
1166      *"
1167"with_$ac_useropt"
1168"*) ;;
1169      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1170	 ac_unrecognized_sep=', ';;
1171    esac
1172    eval with_$ac_useropt=no ;;
1173
1174  --x)
1175    # Obsolete; use --with-x.
1176    with_x=yes ;;
1177
1178  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1179  | --x-incl | --x-inc | --x-in | --x-i)
1180    ac_prev=x_includes ;;
1181  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1182  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1183    x_includes=$ac_optarg ;;
1184
1185  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1186  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1187    ac_prev=x_libraries ;;
1188  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1189  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1190    x_libraries=$ac_optarg ;;
1191
1192  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1193Try \`$0 --help' for more information"
1194    ;;
1195
1196  *=*)
1197    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1198    # Reject names that are not valid shell variable names.
1199    case $ac_envvar in #(
1200      '' | [0-9]* | *[!_$as_cr_alnum]* )
1201      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1202    esac
1203    eval $ac_envvar=\$ac_optarg
1204    export $ac_envvar ;;
1205
1206  *)
1207    # FIXME: should be removed in autoconf 3.0.
1208    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1209    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1210      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1211    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1212    ;;
1213
1214  esac
1215done
1216
1217if test -n "$ac_prev"; then
1218  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1219  as_fn_error $? "missing argument to $ac_option"
1220fi
1221
1222if test -n "$ac_unrecognized_opts"; then
1223  case $enable_option_checking in
1224    no) ;;
1225    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1226    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1227  esac
1228fi
1229
1230# Check all directory arguments for consistency.
1231for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1232		datadir sysconfdir sharedstatedir localstatedir includedir \
1233		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1234		libdir localedir mandir runstatedir
1235do
1236  eval ac_val=\$$ac_var
1237  # Remove trailing slashes.
1238  case $ac_val in
1239    */ )
1240      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1241      eval $ac_var=\$ac_val;;
1242  esac
1243  # Be sure to have absolute directory names.
1244  case $ac_val in
1245    [\\/$]* | ?:[\\/]* )  continue;;
1246    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1247  esac
1248  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1249done
1250
1251# There might be people who depend on the old broken behavior: `$host'
1252# used to hold the argument of --host etc.
1253# FIXME: To remove some day.
1254build=$build_alias
1255host=$host_alias
1256target=$target_alias
1257
1258# FIXME: To remove some day.
1259if test "x$host_alias" != x; then
1260  if test "x$build_alias" = x; then
1261    cross_compiling=maybe
1262  elif test "x$build_alias" != "x$host_alias"; then
1263    cross_compiling=yes
1264  fi
1265fi
1266
1267ac_tool_prefix=
1268test -n "$host_alias" && ac_tool_prefix=$host_alias-
1269
1270test "$silent" = yes && exec 6>/dev/null
1271
1272
1273ac_pwd=`pwd` && test -n "$ac_pwd" &&
1274ac_ls_di=`ls -di .` &&
1275ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1276  as_fn_error $? "working directory cannot be determined"
1277test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1278  as_fn_error $? "pwd does not report name of working directory"
1279
1280
1281# Find the source files, if location was not specified.
1282if test -z "$srcdir"; then
1283  ac_srcdir_defaulted=yes
1284  # Try the directory containing this script, then the parent directory.
1285  ac_confdir=`$as_dirname -- "$as_myself" ||
1286$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1287	 X"$as_myself" : 'X\(//\)[^/]' \| \
1288	 X"$as_myself" : 'X\(//\)$' \| \
1289	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1290$as_echo X"$as_myself" |
1291    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292	    s//\1/
1293	    q
1294	  }
1295	  /^X\(\/\/\)[^/].*/{
1296	    s//\1/
1297	    q
1298	  }
1299	  /^X\(\/\/\)$/{
1300	    s//\1/
1301	    q
1302	  }
1303	  /^X\(\/\).*/{
1304	    s//\1/
1305	    q
1306	  }
1307	  s/.*/./; q'`
1308  srcdir=$ac_confdir
1309  if test ! -r "$srcdir/$ac_unique_file"; then
1310    srcdir=..
1311  fi
1312else
1313  ac_srcdir_defaulted=no
1314fi
1315if test ! -r "$srcdir/$ac_unique_file"; then
1316  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1317  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1318fi
1319ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1320ac_abs_confdir=`(
1321	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1322	pwd)`
1323# When building in place, set srcdir=.
1324if test "$ac_abs_confdir" = "$ac_pwd"; then
1325  srcdir=.
1326fi
1327# Remove unnecessary trailing slashes from srcdir.
1328# Double slashes in file names in object file debugging info
1329# mess up M-x gdb in Emacs.
1330case $srcdir in
1331*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1332esac
1333for ac_var in $ac_precious_vars; do
1334  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1335  eval ac_env_${ac_var}_value=\$${ac_var}
1336  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1337  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1338done
1339
1340#
1341# Report the --help message.
1342#
1343if test "$ac_init_help" = "long"; then
1344  # Omit some internal or obsolete options to make the list less imposing.
1345  # This message is too long to be a string in the A/UX 3.1 sh.
1346  cat <<_ACEOF
1347\`configure' configures jp2a 1.1.1 to adapt to many kinds of systems.
1348
1349Usage: $0 [OPTION]... [VAR=VALUE]...
1350
1351To assign environment variables (e.g., CC, CFLAGS...), specify them as
1352VAR=VALUE.  See below for descriptions of some of the useful variables.
1353
1354Defaults for the options are specified in brackets.
1355
1356Configuration:
1357  -h, --help              display this help and exit
1358      --help=short        display options specific to this package
1359      --help=recursive    display the short help of all the included packages
1360  -V, --version           display version information and exit
1361  -q, --quiet, --silent   do not print \`checking ...' messages
1362      --cache-file=FILE   cache test results in FILE [disabled]
1363  -C, --config-cache      alias for \`--cache-file=config.cache'
1364  -n, --no-create         do not create output files
1365      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1366
1367Installation directories:
1368  --prefix=PREFIX         install architecture-independent files in PREFIX
1369                          [$ac_default_prefix]
1370  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1371                          [PREFIX]
1372
1373By default, \`make install' will install all the files in
1374\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1375an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1376for instance \`--prefix=\$HOME'.
1377
1378For better control, use the options below.
1379
1380Fine tuning of the installation directories:
1381  --bindir=DIR            user executables [EPREFIX/bin]
1382  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1383  --libexecdir=DIR        program executables [EPREFIX/libexec]
1384  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1385  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1386  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1387  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1388  --libdir=DIR            object code libraries [EPREFIX/lib]
1389  --includedir=DIR        C header files [PREFIX/include]
1390  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1391  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1392  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1393  --infodir=DIR           info documentation [DATAROOTDIR/info]
1394  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1395  --mandir=DIR            man documentation [DATAROOTDIR/man]
1396  --docdir=DIR            documentation root [DATAROOTDIR/doc/jp2a]
1397  --htmldir=DIR           html documentation [DOCDIR]
1398  --dvidir=DIR            dvi documentation [DOCDIR]
1399  --pdfdir=DIR            pdf documentation [DOCDIR]
1400  --psdir=DIR             ps documentation [DOCDIR]
1401_ACEOF
1402
1403  cat <<\_ACEOF
1404
1405Program names:
1406  --program-prefix=PREFIX            prepend PREFIX to installed program names
1407  --program-suffix=SUFFIX            append SUFFIX to installed program names
1408  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1409_ACEOF
1410fi
1411
1412if test -n "$ac_init_help"; then
1413  case $ac_init_help in
1414     short | recursive ) echo "Configuration of jp2a 1.1.1:";;
1415   esac
1416  cat <<\_ACEOF
1417
1418Optional Features:
1419  --disable-option-checking  ignore unrecognized --enable/--with options
1420  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1421  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1422  --disable-doxygen-doc   don't generate any doxygen documentation
1423  --enable-doxygen-dot    generate graphics for doxygen documentation
1424  --enable-doxygen-man    generate doxygen manual pages
1425  --enable-doxygen-rtf    generate doxygen RTF documentation
1426  --enable-doxygen-xml    generate doxygen XML documentation
1427  --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1428  --enable-doxygen-chi    generate doxygen separate compressed HTML help index
1429                          file
1430  --disable-doxygen-html  don't generate doxygen plain HTML documentation
1431  --disable-doxygen-ps    don't generate doxygen PostScript documentation
1432  --disable-doxygen-pdf   don't generate doxygen PDF documentation
1433  --enable-silent-rules   less verbose build output (undo: "make V=1")
1434  --disable-silent-rules  verbose build output (undo: "make V=0")
1435  --enable-dependency-tracking
1436                          do not reject slow dependency extractors
1437  --disable-dependency-tracking
1438                          speeds up one-time build
1439  --enable-curl           enable to be to use libcurl (http://curl.haxx.se) to
1440                          download images from the net (default: yes)
1441  --enable-termlib        enable to use term/curses for detecting terminal
1442                          dimensions (default: yes)
1443  --enable-pure-ascii     only support ASCII (and not UTF-8 or other character
1444                          encodings) and ignore the locale (default: no)
1445  --disable-assert        turn off assertions
1446
1447Optional Packages:
1448  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1449  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1450  --with-jpeg-include=PATH
1451                          specify path to directory containing jpeglib.h --
1452                          http://www.ijg.org/
1453  --with-jpeg-lib=PATH    specify path to directory containing jpeglib lib
1454                          file -- http://www.ijg.org/
1455  --with-jpeg-prefix=PATH this is the same as --with-jpeg-include=PATH/include
1456                          and --with-jpeg-lib=PATH/lib
1457  --with-curl-config=PATH specify path to curl-config
1458
1459Some influential environment variables:
1460  DOXYGEN_PAPER_SIZE
1461              a4wide (default), a4, letter, legal or executive
1462  CC          C compiler command
1463  CFLAGS      C compiler flags
1464  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1465              nonstandard directory <lib dir>
1466  LIBS        libraries to pass to the linker, e.g. -l<library>
1467  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1468              you have headers in a nonstandard directory <include dir>
1469  CPP         C preprocessor
1470  PKG_CONFIG  path to pkg-config utility
1471  PKG_CONFIG_PATH
1472              directories to add to pkg-config's search path
1473  PKG_CONFIG_LIBDIR
1474              path overriding pkg-config's built-in search path
1475  bashcompdir value of completionsdir for bash-completion, overriding
1476              pkg-config
1477
1478Use these variables to override the choices made by `configure' or to help
1479it to find libraries and programs with nonstandard names/locations.
1480
1481Report bugs to <chris-r@posteo.net>.
1482jp2a home page: <https://github.com/Talinx/jp2a>.
1483_ACEOF
1484ac_status=$?
1485fi
1486
1487if test "$ac_init_help" = "recursive"; then
1488  # If there are subdirs, report their specific --help.
1489  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1490    test -d "$ac_dir" ||
1491      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1492      continue
1493    ac_builddir=.
1494
1495case "$ac_dir" in
1496.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1497*)
1498  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1499  # A ".." for each directory in $ac_dir_suffix.
1500  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1501  case $ac_top_builddir_sub in
1502  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1503  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1504  esac ;;
1505esac
1506ac_abs_top_builddir=$ac_pwd
1507ac_abs_builddir=$ac_pwd$ac_dir_suffix
1508# for backward compatibility:
1509ac_top_builddir=$ac_top_build_prefix
1510
1511case $srcdir in
1512  .)  # We are building in place.
1513    ac_srcdir=.
1514    ac_top_srcdir=$ac_top_builddir_sub
1515    ac_abs_top_srcdir=$ac_pwd ;;
1516  [\\/]* | ?:[\\/]* )  # Absolute name.
1517    ac_srcdir=$srcdir$ac_dir_suffix;
1518    ac_top_srcdir=$srcdir
1519    ac_abs_top_srcdir=$srcdir ;;
1520  *) # Relative name.
1521    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1522    ac_top_srcdir=$ac_top_build_prefix$srcdir
1523    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1524esac
1525ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1526
1527    cd "$ac_dir" || { ac_status=$?; continue; }
1528    # Check for guested configure.
1529    if test -f "$ac_srcdir/configure.gnu"; then
1530      echo &&
1531      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1532    elif test -f "$ac_srcdir/configure"; then
1533      echo &&
1534      $SHELL "$ac_srcdir/configure" --help=recursive
1535    else
1536      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1537    fi || ac_status=$?
1538    cd "$ac_pwd" || { ac_status=$?; break; }
1539  done
1540fi
1541
1542test -n "$ac_init_help" && exit $ac_status
1543if $ac_init_version; then
1544  cat <<\_ACEOF
1545jp2a configure 1.1.1
1546generated by GNU Autoconf 2.69
1547
1548Copyright (C) 2012 Free Software Foundation, Inc.
1549This configure script is free software; the Free Software Foundation
1550gives unlimited permission to copy, distribute and modify it.
1551_ACEOF
1552  exit
1553fi
1554
1555## ------------------------ ##
1556## Autoconf initialization. ##
1557## ------------------------ ##
1558
1559# ac_fn_c_try_compile LINENO
1560# --------------------------
1561# Try to compile conftest.$ac_ext, and return whether this succeeded.
1562ac_fn_c_try_compile ()
1563{
1564  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565  rm -f conftest.$ac_objext
1566  if { { ac_try="$ac_compile"
1567case "(($ac_try" in
1568  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1569  *) ac_try_echo=$ac_try;;
1570esac
1571eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572$as_echo "$ac_try_echo"; } >&5
1573  (eval "$ac_compile") 2>conftest.err
1574  ac_status=$?
1575  if test -s conftest.err; then
1576    grep -v '^ *+' conftest.err >conftest.er1
1577    cat conftest.er1 >&5
1578    mv -f conftest.er1 conftest.err
1579  fi
1580  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581  test $ac_status = 0; } && {
1582	 test -z "$ac_c_werror_flag" ||
1583	 test ! -s conftest.err
1584       } && test -s conftest.$ac_objext; then :
1585  ac_retval=0
1586else
1587  $as_echo "$as_me: failed program was:" >&5
1588sed 's/^/| /' conftest.$ac_ext >&5
1589
1590	ac_retval=1
1591fi
1592  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1593  as_fn_set_status $ac_retval
1594
1595} # ac_fn_c_try_compile
1596
1597# ac_fn_c_try_link LINENO
1598# -----------------------
1599# Try to link conftest.$ac_ext, and return whether this succeeded.
1600ac_fn_c_try_link ()
1601{
1602  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603  rm -f conftest.$ac_objext conftest$ac_exeext
1604  if { { ac_try="$ac_link"
1605case "(($ac_try" in
1606  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1607  *) ac_try_echo=$ac_try;;
1608esac
1609eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610$as_echo "$ac_try_echo"; } >&5
1611  (eval "$ac_link") 2>conftest.err
1612  ac_status=$?
1613  if test -s conftest.err; then
1614    grep -v '^ *+' conftest.err >conftest.er1
1615    cat conftest.er1 >&5
1616    mv -f conftest.er1 conftest.err
1617  fi
1618  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619  test $ac_status = 0; } && {
1620	 test -z "$ac_c_werror_flag" ||
1621	 test ! -s conftest.err
1622       } && test -s conftest$ac_exeext && {
1623	 test "$cross_compiling" = yes ||
1624	 test -x conftest$ac_exeext
1625       }; then :
1626  ac_retval=0
1627else
1628  $as_echo "$as_me: failed program was:" >&5
1629sed 's/^/| /' conftest.$ac_ext >&5
1630
1631	ac_retval=1
1632fi
1633  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1634  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1635  # interfere with the next link command; also delete a directory that is
1636  # left behind by Apple's compiler.  We do this before executing the actions.
1637  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1638  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639  as_fn_set_status $ac_retval
1640
1641} # ac_fn_c_try_link
1642
1643# ac_fn_c_try_cpp LINENO
1644# ----------------------
1645# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1646ac_fn_c_try_cpp ()
1647{
1648  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649  if { { ac_try="$ac_cpp conftest.$ac_ext"
1650case "(($ac_try" in
1651  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652  *) ac_try_echo=$ac_try;;
1653esac
1654eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655$as_echo "$ac_try_echo"; } >&5
1656  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1657  ac_status=$?
1658  if test -s conftest.err; then
1659    grep -v '^ *+' conftest.err >conftest.er1
1660    cat conftest.er1 >&5
1661    mv -f conftest.er1 conftest.err
1662  fi
1663  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664  test $ac_status = 0; } > conftest.i && {
1665	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1666	 test ! -s conftest.err
1667       }; then :
1668  ac_retval=0
1669else
1670  $as_echo "$as_me: failed program was:" >&5
1671sed 's/^/| /' conftest.$ac_ext >&5
1672
1673    ac_retval=1
1674fi
1675  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676  as_fn_set_status $ac_retval
1677
1678} # ac_fn_c_try_cpp
1679
1680# ac_fn_c_try_run LINENO
1681# ----------------------
1682# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1683# that executables *can* be run.
1684ac_fn_c_try_run ()
1685{
1686  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687  if { { ac_try="$ac_link"
1688case "(($ac_try" in
1689  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690  *) ac_try_echo=$ac_try;;
1691esac
1692eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693$as_echo "$ac_try_echo"; } >&5
1694  (eval "$ac_link") 2>&5
1695  ac_status=$?
1696  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1698  { { case "(($ac_try" in
1699  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700  *) ac_try_echo=$ac_try;;
1701esac
1702eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703$as_echo "$ac_try_echo"; } >&5
1704  (eval "$ac_try") 2>&5
1705  ac_status=$?
1706  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707  test $ac_status = 0; }; }; then :
1708  ac_retval=0
1709else
1710  $as_echo "$as_me: program exited with status $ac_status" >&5
1711       $as_echo "$as_me: failed program was:" >&5
1712sed 's/^/| /' conftest.$ac_ext >&5
1713
1714       ac_retval=$ac_status
1715fi
1716  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1717  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718  as_fn_set_status $ac_retval
1719
1720} # ac_fn_c_try_run
1721
1722# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1723# -------------------------------------------------------
1724# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1725# the include files in INCLUDES and setting the cache variable VAR
1726# accordingly.
1727ac_fn_c_check_header_mongrel ()
1728{
1729  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730  if eval \${$3+:} false; then :
1731  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732$as_echo_n "checking for $2... " >&6; }
1733if eval \${$3+:} false; then :
1734  $as_echo_n "(cached) " >&6
1735fi
1736eval ac_res=\$$3
1737	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738$as_echo "$ac_res" >&6; }
1739else
1740  # Is the header compilable?
1741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1742$as_echo_n "checking $2 usability... " >&6; }
1743cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744/* end confdefs.h.  */
1745$4
1746#include <$2>
1747_ACEOF
1748if ac_fn_c_try_compile "$LINENO"; then :
1749  ac_header_compiler=yes
1750else
1751  ac_header_compiler=no
1752fi
1753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1755$as_echo "$ac_header_compiler" >&6; }
1756
1757# Is the header present?
1758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1759$as_echo_n "checking $2 presence... " >&6; }
1760cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761/* end confdefs.h.  */
1762#include <$2>
1763_ACEOF
1764if ac_fn_c_try_cpp "$LINENO"; then :
1765  ac_header_preproc=yes
1766else
1767  ac_header_preproc=no
1768fi
1769rm -f conftest.err conftest.i conftest.$ac_ext
1770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1771$as_echo "$ac_header_preproc" >&6; }
1772
1773# So?  What about this header?
1774case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1775  yes:no: )
1776    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1777$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1778    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1779$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1780    ;;
1781  no:yes:* )
1782    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1783$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1784    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1785$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1786    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1787$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1788    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1789$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1790    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1791$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1792( $as_echo "## --------------------------------- ##
1793## Report this to chris-r@posteo.net ##
1794## --------------------------------- ##"
1795     ) | sed "s/^/$as_me: WARNING:     /" >&2
1796    ;;
1797esac
1798  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799$as_echo_n "checking for $2... " >&6; }
1800if eval \${$3+:} false; then :
1801  $as_echo_n "(cached) " >&6
1802else
1803  eval "$3=\$ac_header_compiler"
1804fi
1805eval ac_res=\$$3
1806	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807$as_echo "$ac_res" >&6; }
1808fi
1809  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810
1811} # ac_fn_c_check_header_mongrel
1812
1813# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1814# -------------------------------------------------------
1815# Tests whether HEADER exists and can be compiled using the include files in
1816# INCLUDES, setting the cache variable VAR accordingly.
1817ac_fn_c_check_header_compile ()
1818{
1819  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1821$as_echo_n "checking for $2... " >&6; }
1822if eval \${$3+:} false; then :
1823  $as_echo_n "(cached) " >&6
1824else
1825  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826/* end confdefs.h.  */
1827$4
1828#include <$2>
1829_ACEOF
1830if ac_fn_c_try_compile "$LINENO"; then :
1831  eval "$3=yes"
1832else
1833  eval "$3=no"
1834fi
1835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1836fi
1837eval ac_res=\$$3
1838	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839$as_echo "$ac_res" >&6; }
1840  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841
1842} # ac_fn_c_check_header_compile
1843
1844# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1845# -------------------------------------------
1846# Tests whether TYPE exists after having included INCLUDES, setting cache
1847# variable VAR accordingly.
1848ac_fn_c_check_type ()
1849{
1850  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852$as_echo_n "checking for $2... " >&6; }
1853if eval \${$3+:} false; then :
1854  $as_echo_n "(cached) " >&6
1855else
1856  eval "$3=no"
1857  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858/* end confdefs.h.  */
1859$4
1860int
1861main ()
1862{
1863if (sizeof ($2))
1864	 return 0;
1865  ;
1866  return 0;
1867}
1868_ACEOF
1869if ac_fn_c_try_compile "$LINENO"; then :
1870  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1871/* end confdefs.h.  */
1872$4
1873int
1874main ()
1875{
1876if (sizeof (($2)))
1877	    return 0;
1878  ;
1879  return 0;
1880}
1881_ACEOF
1882if ac_fn_c_try_compile "$LINENO"; then :
1883
1884else
1885  eval "$3=yes"
1886fi
1887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1888fi
1889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1890fi
1891eval ac_res=\$$3
1892	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893$as_echo "$ac_res" >&6; }
1894  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895
1896} # ac_fn_c_check_type
1897
1898# ac_fn_c_check_func LINENO FUNC VAR
1899# ----------------------------------
1900# Tests whether FUNC exists, setting the cache variable VAR accordingly
1901ac_fn_c_check_func ()
1902{
1903  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1905$as_echo_n "checking for $2... " >&6; }
1906if eval \${$3+:} false; then :
1907  $as_echo_n "(cached) " >&6
1908else
1909  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910/* end confdefs.h.  */
1911/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1912   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1913#define $2 innocuous_$2
1914
1915/* System header to define __stub macros and hopefully few prototypes,
1916    which can conflict with char $2 (); below.
1917    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1918    <limits.h> exists even on freestanding compilers.  */
1919
1920#ifdef __STDC__
1921# include <limits.h>
1922#else
1923# include <assert.h>
1924#endif
1925
1926#undef $2
1927
1928/* Override any GCC internal prototype to avoid an error.
1929   Use char because int might match the return type of a GCC
1930   builtin and then its argument prototype would still apply.  */
1931#ifdef __cplusplus
1932extern "C"
1933#endif
1934char $2 ();
1935/* The GNU C library defines this for functions which it implements
1936    to always fail with ENOSYS.  Some functions are actually named
1937    something starting with __ and the normal name is an alias.  */
1938#if defined __stub_$2 || defined __stub___$2
1939choke me
1940#endif
1941
1942int
1943main ()
1944{
1945return $2 ();
1946  ;
1947  return 0;
1948}
1949_ACEOF
1950if ac_fn_c_try_link "$LINENO"; then :
1951  eval "$3=yes"
1952else
1953  eval "$3=no"
1954fi
1955rm -f core conftest.err conftest.$ac_objext \
1956    conftest$ac_exeext conftest.$ac_ext
1957fi
1958eval ac_res=\$$3
1959	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960$as_echo "$ac_res" >&6; }
1961  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962
1963} # ac_fn_c_check_func
1964cat >config.log <<_ACEOF
1965This file contains any messages produced by compilers while
1966running configure, to aid debugging if configure makes a mistake.
1967
1968It was created by jp2a $as_me 1.1.1, which was
1969generated by GNU Autoconf 2.69.  Invocation command line was
1970
1971  $ $0 $@
1972
1973_ACEOF
1974exec 5>>config.log
1975{
1976cat <<_ASUNAME
1977## --------- ##
1978## Platform. ##
1979## --------- ##
1980
1981hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1982uname -m = `(uname -m) 2>/dev/null || echo unknown`
1983uname -r = `(uname -r) 2>/dev/null || echo unknown`
1984uname -s = `(uname -s) 2>/dev/null || echo unknown`
1985uname -v = `(uname -v) 2>/dev/null || echo unknown`
1986
1987/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1988/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1989
1990/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1991/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1992/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1993/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1994/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1995/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1996/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1997
1998_ASUNAME
1999
2000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001for as_dir in $PATH
2002do
2003  IFS=$as_save_IFS
2004  test -z "$as_dir" && as_dir=.
2005    $as_echo "PATH: $as_dir"
2006  done
2007IFS=$as_save_IFS
2008
2009} >&5
2010
2011cat >&5 <<_ACEOF
2012
2013
2014## ----------- ##
2015## Core tests. ##
2016## ----------- ##
2017
2018_ACEOF
2019
2020
2021# Keep a trace of the command line.
2022# Strip out --no-create and --no-recursion so they do not pile up.
2023# Strip out --silent because we don't want to record it for future runs.
2024# Also quote any args containing shell meta-characters.
2025# Make two passes to allow for proper duplicate-argument suppression.
2026ac_configure_args=
2027ac_configure_args0=
2028ac_configure_args1=
2029ac_must_keep_next=false
2030for ac_pass in 1 2
2031do
2032  for ac_arg
2033  do
2034    case $ac_arg in
2035    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2036    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2037    | -silent | --silent | --silen | --sile | --sil)
2038      continue ;;
2039    *\'*)
2040      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2041    esac
2042    case $ac_pass in
2043    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2044    2)
2045      as_fn_append ac_configure_args1 " '$ac_arg'"
2046      if test $ac_must_keep_next = true; then
2047	ac_must_keep_next=false # Got value, back to normal.
2048      else
2049	case $ac_arg in
2050	  *=* | --config-cache | -C | -disable-* | --disable-* \
2051	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2052	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2053	  | -with-* | --with-* | -without-* | --without-* | --x)
2054	    case "$ac_configure_args0 " in
2055	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2056	    esac
2057	    ;;
2058	  -* ) ac_must_keep_next=true ;;
2059	esac
2060      fi
2061      as_fn_append ac_configure_args " '$ac_arg'"
2062      ;;
2063    esac
2064  done
2065done
2066{ ac_configure_args0=; unset ac_configure_args0;}
2067{ ac_configure_args1=; unset ac_configure_args1;}
2068
2069# When interrupted or exit'd, cleanup temporary files, and complete
2070# config.log.  We remove comments because anyway the quotes in there
2071# would cause problems or look ugly.
2072# WARNING: Use '\'' to represent an apostrophe within the trap.
2073# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2074trap 'exit_status=$?
2075  # Save into config.log some information that might help in debugging.
2076  {
2077    echo
2078
2079    $as_echo "## ---------------- ##
2080## Cache variables. ##
2081## ---------------- ##"
2082    echo
2083    # The following way of writing the cache mishandles newlines in values,
2084(
2085  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2086    eval ac_val=\$$ac_var
2087    case $ac_val in #(
2088    *${as_nl}*)
2089      case $ac_var in #(
2090      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2091$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2092      esac
2093      case $ac_var in #(
2094      _ | IFS | as_nl) ;; #(
2095      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2096      *) { eval $ac_var=; unset $ac_var;} ;;
2097      esac ;;
2098    esac
2099  done
2100  (set) 2>&1 |
2101    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2102    *${as_nl}ac_space=\ *)
2103      sed -n \
2104	"s/'\''/'\''\\\\'\'''\''/g;
2105	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2106      ;; #(
2107    *)
2108      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2109      ;;
2110    esac |
2111    sort
2112)
2113    echo
2114
2115    $as_echo "## ----------------- ##
2116## Output variables. ##
2117## ----------------- ##"
2118    echo
2119    for ac_var in $ac_subst_vars
2120    do
2121      eval ac_val=\$$ac_var
2122      case $ac_val in
2123      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2124      esac
2125      $as_echo "$ac_var='\''$ac_val'\''"
2126    done | sort
2127    echo
2128
2129    if test -n "$ac_subst_files"; then
2130      $as_echo "## ------------------- ##
2131## File substitutions. ##
2132## ------------------- ##"
2133      echo
2134      for ac_var in $ac_subst_files
2135      do
2136	eval ac_val=\$$ac_var
2137	case $ac_val in
2138	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2139	esac
2140	$as_echo "$ac_var='\''$ac_val'\''"
2141      done | sort
2142      echo
2143    fi
2144
2145    if test -s confdefs.h; then
2146      $as_echo "## ----------- ##
2147## confdefs.h. ##
2148## ----------- ##"
2149      echo
2150      cat confdefs.h
2151      echo
2152    fi
2153    test "$ac_signal" != 0 &&
2154      $as_echo "$as_me: caught signal $ac_signal"
2155    $as_echo "$as_me: exit $exit_status"
2156  } >&5
2157  rm -f core *.core core.conftest.* &&
2158    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2159    exit $exit_status
2160' 0
2161for ac_signal in 1 2 13 15; do
2162  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2163done
2164ac_signal=0
2165
2166# confdefs.h avoids OS command line length limits that DEFS can exceed.
2167rm -f -r conftest* confdefs.h
2168
2169$as_echo "/* confdefs.h */" > confdefs.h
2170
2171# Predefined preprocessor variables.
2172
2173cat >>confdefs.h <<_ACEOF
2174#define PACKAGE_NAME "$PACKAGE_NAME"
2175_ACEOF
2176
2177cat >>confdefs.h <<_ACEOF
2178#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2179_ACEOF
2180
2181cat >>confdefs.h <<_ACEOF
2182#define PACKAGE_VERSION "$PACKAGE_VERSION"
2183_ACEOF
2184
2185cat >>confdefs.h <<_ACEOF
2186#define PACKAGE_STRING "$PACKAGE_STRING"
2187_ACEOF
2188
2189cat >>confdefs.h <<_ACEOF
2190#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2191_ACEOF
2192
2193cat >>confdefs.h <<_ACEOF
2194#define PACKAGE_URL "$PACKAGE_URL"
2195_ACEOF
2196
2197
2198# Let the site file select an alternate cache file if it wants to.
2199# Prefer an explicitly selected file to automatically selected ones.
2200ac_site_file1=NONE
2201ac_site_file2=NONE
2202if test -n "$CONFIG_SITE"; then
2203  # We do not want a PATH search for config.site.
2204  case $CONFIG_SITE in #((
2205    -*)  ac_site_file1=./$CONFIG_SITE;;
2206    */*) ac_site_file1=$CONFIG_SITE;;
2207    *)   ac_site_file1=./$CONFIG_SITE;;
2208  esac
2209elif test "x$prefix" != xNONE; then
2210  ac_site_file1=$prefix/share/config.site
2211  ac_site_file2=$prefix/etc/config.site
2212else
2213  ac_site_file1=$ac_default_prefix/share/config.site
2214  ac_site_file2=$ac_default_prefix/etc/config.site
2215fi
2216for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2217do
2218  test "x$ac_site_file" = xNONE && continue
2219  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2220    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2221$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2222    sed 's/^/| /' "$ac_site_file" >&5
2223    . "$ac_site_file" \
2224      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2225$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2226as_fn_error $? "failed to load site script $ac_site_file
2227See \`config.log' for more details" "$LINENO" 5; }
2228  fi
2229done
2230
2231if test -r "$cache_file"; then
2232  # Some versions of bash will fail to source /dev/null (special files
2233  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2234  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2235    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2236$as_echo "$as_me: loading cache $cache_file" >&6;}
2237    case $cache_file in
2238      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2239      *)                      . "./$cache_file";;
2240    esac
2241  fi
2242else
2243  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2244$as_echo "$as_me: creating cache $cache_file" >&6;}
2245  >$cache_file
2246fi
2247
2248# Check that the precious variables saved in the cache have kept the same
2249# value.
2250ac_cache_corrupted=false
2251for ac_var in $ac_precious_vars; do
2252  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2253  eval ac_new_set=\$ac_env_${ac_var}_set
2254  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2255  eval ac_new_val=\$ac_env_${ac_var}_value
2256  case $ac_old_set,$ac_new_set in
2257    set,)
2258      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2259$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2260      ac_cache_corrupted=: ;;
2261    ,set)
2262      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2263$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2264      ac_cache_corrupted=: ;;
2265    ,);;
2266    *)
2267      if test "x$ac_old_val" != "x$ac_new_val"; then
2268	# differences in whitespace do not lead to failure.
2269	ac_old_val_w=`echo x $ac_old_val`
2270	ac_new_val_w=`echo x $ac_new_val`
2271	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2272	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2273$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2274	  ac_cache_corrupted=:
2275	else
2276	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2277$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2278	  eval $ac_var=\$ac_old_val
2279	fi
2280	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2281$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2282	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2283$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2284      fi;;
2285  esac
2286  # Pass precious variables to config.status.
2287  if test "$ac_new_set" = set; then
2288    case $ac_new_val in
2289    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2290    *) ac_arg=$ac_var=$ac_new_val ;;
2291    esac
2292    case " $ac_configure_args " in
2293      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2294      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2295    esac
2296  fi
2297done
2298if $ac_cache_corrupted; then
2299  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2300$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2301  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2302$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2303  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2304fi
2305## -------------------- ##
2306## Main body of script. ##
2307## -------------------- ##
2308
2309ac_ext=c
2310ac_cpp='$CPP $CPPFLAGS'
2311ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313ac_compiler_gnu=$ac_cv_c_compiler_gnu
2314
2315
2316
2317
2318# Files:
2319DX_PROJECT=jp2a
2320
2321DX_CONFIG='$(srcdir)/Doxyfile'
2322
2323DX_DOCDIR='doxygen-doc'
2324
2325
2326# Environment variables used inside doxygen.cfg:
2327DX_ENV="$DX_ENV SRCDIR='$srcdir'"
2328SRCDIR=$srcdir
2329
2330DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
2331PROJECT=$DX_PROJECT
2332
2333DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
2334
2335
2336# Doxygen itself:
2337
2338
2339
2340    # Check whether --enable-doxygen-doc was given.
2341if test "${enable_doxygen_doc+set}" = set; then :
2342  enableval=$enable_doxygen_doc;
2343case "$enableval" in
2344#(
2345y|Y|yes|Yes|YES)
2346    DX_FLAG_doc=1
2347
2348
2349;; #(
2350n|N|no|No|NO)
2351    DX_FLAG_doc=0
2352
2353;; #(
2354*)
2355    as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
2356;;
2357esac
2358
2359else
2360
2361DX_FLAG_doc=1
2362
2363
2364
2365fi
2366
2367if test "$DX_FLAG_doc" = 1; then
2368
2369if test -n "$ac_tool_prefix"; then
2370  # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
2371set dummy ${ac_tool_prefix}doxygen; ac_word=$2
2372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2373$as_echo_n "checking for $ac_word... " >&6; }
2374if ${ac_cv_path_DX_DOXYGEN+:} false; then :
2375  $as_echo_n "(cached) " >&6
2376else
2377  case $DX_DOXYGEN in
2378  [\\/]* | ?:[\\/]*)
2379  ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
2380  ;;
2381  *)
2382  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383for as_dir in $PATH
2384do
2385  IFS=$as_save_IFS
2386  test -z "$as_dir" && as_dir=.
2387    for ac_exec_ext in '' $ac_executable_extensions; do
2388  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2389    ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
2390    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2391    break 2
2392  fi
2393done
2394  done
2395IFS=$as_save_IFS
2396
2397  ;;
2398esac
2399fi
2400DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
2401if test -n "$DX_DOXYGEN"; then
2402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
2403$as_echo "$DX_DOXYGEN" >&6; }
2404else
2405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2406$as_echo "no" >&6; }
2407fi
2408
2409
2410fi
2411if test -z "$ac_cv_path_DX_DOXYGEN"; then
2412  ac_pt_DX_DOXYGEN=$DX_DOXYGEN
2413  # Extract the first word of "doxygen", so it can be a program name with args.
2414set dummy doxygen; ac_word=$2
2415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2416$as_echo_n "checking for $ac_word... " >&6; }
2417if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
2418  $as_echo_n "(cached) " >&6
2419else
2420  case $ac_pt_DX_DOXYGEN in
2421  [\\/]* | ?:[\\/]*)
2422  ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
2423  ;;
2424  *)
2425  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426for as_dir in $PATH
2427do
2428  IFS=$as_save_IFS
2429  test -z "$as_dir" && as_dir=.
2430    for ac_exec_ext in '' $ac_executable_extensions; do
2431  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432    ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
2433    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2434    break 2
2435  fi
2436done
2437  done
2438IFS=$as_save_IFS
2439
2440  ;;
2441esac
2442fi
2443ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
2444if test -n "$ac_pt_DX_DOXYGEN"; then
2445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
2446$as_echo "$ac_pt_DX_DOXYGEN" >&6; }
2447else
2448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2449$as_echo "no" >&6; }
2450fi
2451
2452  if test "x$ac_pt_DX_DOXYGEN" = x; then
2453    DX_DOXYGEN=""
2454  else
2455    case $cross_compiling:$ac_tool_warned in
2456yes:)
2457{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2458$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2459ac_tool_warned=yes ;;
2460esac
2461    DX_DOXYGEN=$ac_pt_DX_DOXYGEN
2462  fi
2463else
2464  DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
2465fi
2466
2467if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
2468    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
2469$as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
2470    DX_FLAG_doc=0
2471
2472fi
2473
2474
2475if test -n "$ac_tool_prefix"; then
2476  # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
2477set dummy ${ac_tool_prefix}perl; ac_word=$2
2478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2479$as_echo_n "checking for $ac_word... " >&6; }
2480if ${ac_cv_path_DX_PERL+:} false; then :
2481  $as_echo_n "(cached) " >&6
2482else
2483  case $DX_PERL in
2484  [\\/]* | ?:[\\/]*)
2485  ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
2486  ;;
2487  *)
2488  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489for as_dir in $PATH
2490do
2491  IFS=$as_save_IFS
2492  test -z "$as_dir" && as_dir=.
2493    for ac_exec_ext in '' $ac_executable_extensions; do
2494  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2495    ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
2496    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2497    break 2
2498  fi
2499done
2500  done
2501IFS=$as_save_IFS
2502
2503  ;;
2504esac
2505fi
2506DX_PERL=$ac_cv_path_DX_PERL
2507if test -n "$DX_PERL"; then
2508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
2509$as_echo "$DX_PERL" >&6; }
2510else
2511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2512$as_echo "no" >&6; }
2513fi
2514
2515
2516fi
2517if test -z "$ac_cv_path_DX_PERL"; then
2518  ac_pt_DX_PERL=$DX_PERL
2519  # Extract the first word of "perl", so it can be a program name with args.
2520set dummy perl; ac_word=$2
2521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2522$as_echo_n "checking for $ac_word... " >&6; }
2523if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
2524  $as_echo_n "(cached) " >&6
2525else
2526  case $ac_pt_DX_PERL in
2527  [\\/]* | ?:[\\/]*)
2528  ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
2529  ;;
2530  *)
2531  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532for as_dir in $PATH
2533do
2534  IFS=$as_save_IFS
2535  test -z "$as_dir" && as_dir=.
2536    for ac_exec_ext in '' $ac_executable_extensions; do
2537  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2538    ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
2539    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540    break 2
2541  fi
2542done
2543  done
2544IFS=$as_save_IFS
2545
2546  ;;
2547esac
2548fi
2549ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
2550if test -n "$ac_pt_DX_PERL"; then
2551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
2552$as_echo "$ac_pt_DX_PERL" >&6; }
2553else
2554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555$as_echo "no" >&6; }
2556fi
2557
2558  if test "x$ac_pt_DX_PERL" = x; then
2559    DX_PERL=""
2560  else
2561    case $cross_compiling:$ac_tool_warned in
2562yes:)
2563{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2564$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2565ac_tool_warned=yes ;;
2566esac
2567    DX_PERL=$ac_pt_DX_PERL
2568  fi
2569else
2570  DX_PERL="$ac_cv_path_DX_PERL"
2571fi
2572
2573if test "$DX_FLAG_doc$DX_PERL" = 1; then
2574    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
2575$as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
2576    DX_FLAG_doc=0
2577
2578fi
2579
2580    :
2581fi
2582if test "$DX_FLAG_doc" = 1; then
2583    DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
2584PERL_PATH=$DX_PERL
2585
2586    :
2587else
2588
2589    :
2590fi
2591
2592
2593# Dot for graphics:
2594
2595
2596
2597    # Check whether --enable-doxygen-dot was given.
2598if test "${enable_doxygen_dot+set}" = set; then :
2599  enableval=$enable_doxygen_dot;
2600case "$enableval" in
2601#(
2602y|Y|yes|Yes|YES)
2603    DX_FLAG_dot=1
2604
2605
2606test "$DX_FLAG_doc" = "1" \
2607|| as_fn_error $? "doxygen-dot requires doxygen-doc" "$LINENO" 5
2608
2609;; #(
2610n|N|no|No|NO)
2611    DX_FLAG_dot=0
2612
2613;; #(
2614*)
2615    as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
2616;;
2617esac
2618
2619else
2620
2621DX_FLAG_dot=0
2622
2623
2624test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
2625
2626
2627
2628fi
2629
2630if test "$DX_FLAG_dot" = 1; then
2631
2632if test -n "$ac_tool_prefix"; then
2633  # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
2634set dummy ${ac_tool_prefix}dot; ac_word=$2
2635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2636$as_echo_n "checking for $ac_word... " >&6; }
2637if ${ac_cv_path_DX_DOT+:} false; then :
2638  $as_echo_n "(cached) " >&6
2639else
2640  case $DX_DOT in
2641  [\\/]* | ?:[\\/]*)
2642  ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
2643  ;;
2644  *)
2645  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646for as_dir in $PATH
2647do
2648  IFS=$as_save_IFS
2649  test -z "$as_dir" && as_dir=.
2650    for ac_exec_ext in '' $ac_executable_extensions; do
2651  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2652    ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
2653    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654    break 2
2655  fi
2656done
2657  done
2658IFS=$as_save_IFS
2659
2660  ;;
2661esac
2662fi
2663DX_DOT=$ac_cv_path_DX_DOT
2664if test -n "$DX_DOT"; then
2665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
2666$as_echo "$DX_DOT" >&6; }
2667else
2668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669$as_echo "no" >&6; }
2670fi
2671
2672
2673fi
2674if test -z "$ac_cv_path_DX_DOT"; then
2675  ac_pt_DX_DOT=$DX_DOT
2676  # Extract the first word of "dot", so it can be a program name with args.
2677set dummy dot; ac_word=$2
2678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2679$as_echo_n "checking for $ac_word... " >&6; }
2680if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
2681  $as_echo_n "(cached) " >&6
2682else
2683  case $ac_pt_DX_DOT in
2684  [\\/]* | ?:[\\/]*)
2685  ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
2686  ;;
2687  *)
2688  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689for as_dir in $PATH
2690do
2691  IFS=$as_save_IFS
2692  test -z "$as_dir" && as_dir=.
2693    for ac_exec_ext in '' $ac_executable_extensions; do
2694  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2695    ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
2696    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697    break 2
2698  fi
2699done
2700  done
2701IFS=$as_save_IFS
2702
2703  ;;
2704esac
2705fi
2706ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
2707if test -n "$ac_pt_DX_DOT"; then
2708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
2709$as_echo "$ac_pt_DX_DOT" >&6; }
2710else
2711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712$as_echo "no" >&6; }
2713fi
2714
2715  if test "x$ac_pt_DX_DOT" = x; then
2716    DX_DOT=""
2717  else
2718    case $cross_compiling:$ac_tool_warned in
2719yes:)
2720{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2721$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2722ac_tool_warned=yes ;;
2723esac
2724    DX_DOT=$ac_pt_DX_DOT
2725  fi
2726else
2727  DX_DOT="$ac_cv_path_DX_DOT"
2728fi
2729
2730if test "$DX_FLAG_dot$DX_DOT" = 1; then
2731    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
2732$as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
2733    DX_FLAG_dot=0
2734
2735fi
2736
2737    :
2738fi
2739if test "$DX_FLAG_dot" = 1; then
2740    DX_ENV="$DX_ENV HAVE_DOT='YES'"
2741HAVE_DOT=YES
2742
2743             DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
2744DOT_PATH=`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`
2745
2746    :
2747else
2748    DX_ENV="$DX_ENV HAVE_DOT='NO'"
2749HAVE_DOT=NO
2750
2751    :
2752fi
2753
2754
2755# Man pages generation:
2756
2757
2758
2759    # Check whether --enable-doxygen-man was given.
2760if test "${enable_doxygen_man+set}" = set; then :
2761  enableval=$enable_doxygen_man;
2762case "$enableval" in
2763#(
2764y|Y|yes|Yes|YES)
2765    DX_FLAG_man=1
2766
2767
2768test "$DX_FLAG_doc" = "1" \
2769|| as_fn_error $? "doxygen-man requires doxygen-doc" "$LINENO" 5
2770
2771;; #(
2772n|N|no|No|NO)
2773    DX_FLAG_man=0
2774
2775;; #(
2776*)
2777    as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
2778;;
2779esac
2780
2781else
2782
2783DX_FLAG_man=0
2784
2785
2786test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
2787
2788
2789
2790fi
2791
2792if test "$DX_FLAG_man" = 1; then
2793
2794    :
2795fi
2796if test "$DX_FLAG_man" = 1; then
2797    DX_ENV="$DX_ENV GENERATE_MAN='YES'"
2798GENERATE_MAN=YES
2799
2800    :
2801else
2802    DX_ENV="$DX_ENV GENERATE_MAN='NO'"
2803GENERATE_MAN=NO
2804
2805    :
2806fi
2807
2808
2809# RTF file generation:
2810
2811
2812
2813    # Check whether --enable-doxygen-rtf was given.
2814if test "${enable_doxygen_rtf+set}" = set; then :
2815  enableval=$enable_doxygen_rtf;
2816case "$enableval" in
2817#(
2818y|Y|yes|Yes|YES)
2819    DX_FLAG_rtf=1
2820
2821
2822test "$DX_FLAG_doc" = "1" \
2823|| as_fn_error $? "doxygen-rtf requires doxygen-doc" "$LINENO" 5
2824
2825;; #(
2826n|N|no|No|NO)
2827    DX_FLAG_rtf=0
2828
2829;; #(
2830*)
2831    as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
2832;;
2833esac
2834
2835else
2836
2837DX_FLAG_rtf=0
2838
2839
2840test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
2841
2842
2843
2844fi
2845
2846if test "$DX_FLAG_rtf" = 1; then
2847
2848    :
2849fi
2850if test "$DX_FLAG_rtf" = 1; then
2851    DX_ENV="$DX_ENV GENERATE_RTF='YES'"
2852GENERATE_RTF=YES
2853
2854    :
2855else
2856    DX_ENV="$DX_ENV GENERATE_RTF='NO'"
2857GENERATE_RTF=NO
2858
2859    :
2860fi
2861
2862
2863# XML file generation:
2864
2865
2866
2867    # Check whether --enable-doxygen-xml was given.
2868if test "${enable_doxygen_xml+set}" = set; then :
2869  enableval=$enable_doxygen_xml;
2870case "$enableval" in
2871#(
2872y|Y|yes|Yes|YES)
2873    DX_FLAG_xml=1
2874
2875
2876test "$DX_FLAG_doc" = "1" \
2877|| as_fn_error $? "doxygen-xml requires doxygen-doc" "$LINENO" 5
2878
2879;; #(
2880n|N|no|No|NO)
2881    DX_FLAG_xml=0
2882
2883;; #(
2884*)
2885    as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
2886;;
2887esac
2888
2889else
2890
2891DX_FLAG_xml=0
2892
2893
2894test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
2895
2896
2897
2898fi
2899
2900if test "$DX_FLAG_xml" = 1; then
2901
2902    :
2903fi
2904if test "$DX_FLAG_xml" = 1; then
2905    DX_ENV="$DX_ENV GENERATE_XML='YES'"
2906GENERATE_XML=YES
2907
2908    :
2909else
2910    DX_ENV="$DX_ENV GENERATE_XML='NO'"
2911GENERATE_XML=NO
2912
2913    :
2914fi
2915
2916
2917# (Compressed) HTML help generation:
2918
2919
2920
2921    # Check whether --enable-doxygen-chm was given.
2922if test "${enable_doxygen_chm+set}" = set; then :
2923  enableval=$enable_doxygen_chm;
2924case "$enableval" in
2925#(
2926y|Y|yes|Yes|YES)
2927    DX_FLAG_chm=1
2928
2929
2930test "$DX_FLAG_doc" = "1" \
2931|| as_fn_error $? "doxygen-chm requires doxygen-doc" "$LINENO" 5
2932
2933;; #(
2934n|N|no|No|NO)
2935    DX_FLAG_chm=0
2936
2937;; #(
2938*)
2939    as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
2940;;
2941esac
2942
2943else
2944
2945DX_FLAG_chm=0
2946
2947
2948test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
2949
2950
2951
2952fi
2953
2954if test "$DX_FLAG_chm" = 1; then
2955
2956if test -n "$ac_tool_prefix"; then
2957  # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
2958set dummy ${ac_tool_prefix}hhc; ac_word=$2
2959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960$as_echo_n "checking for $ac_word... " >&6; }
2961if ${ac_cv_path_DX_HHC+:} false; then :
2962  $as_echo_n "(cached) " >&6
2963else
2964  case $DX_HHC in
2965  [\\/]* | ?:[\\/]*)
2966  ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
2967  ;;
2968  *)
2969  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2970for as_dir in $PATH
2971do
2972  IFS=$as_save_IFS
2973  test -z "$as_dir" && as_dir=.
2974    for ac_exec_ext in '' $ac_executable_extensions; do
2975  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2976    ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
2977    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2978    break 2
2979  fi
2980done
2981  done
2982IFS=$as_save_IFS
2983
2984  ;;
2985esac
2986fi
2987DX_HHC=$ac_cv_path_DX_HHC
2988if test -n "$DX_HHC"; then
2989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
2990$as_echo "$DX_HHC" >&6; }
2991else
2992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993$as_echo "no" >&6; }
2994fi
2995
2996
2997fi
2998if test -z "$ac_cv_path_DX_HHC"; then
2999  ac_pt_DX_HHC=$DX_HHC
3000  # Extract the first word of "hhc", so it can be a program name with args.
3001set dummy hhc; ac_word=$2
3002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003$as_echo_n "checking for $ac_word... " >&6; }
3004if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
3005  $as_echo_n "(cached) " >&6
3006else
3007  case $ac_pt_DX_HHC in
3008  [\\/]* | ?:[\\/]*)
3009  ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
3010  ;;
3011  *)
3012  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3013for as_dir in $PATH
3014do
3015  IFS=$as_save_IFS
3016  test -z "$as_dir" && as_dir=.
3017    for ac_exec_ext in '' $ac_executable_extensions; do
3018  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3019    ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
3020    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021    break 2
3022  fi
3023done
3024  done
3025IFS=$as_save_IFS
3026
3027  ;;
3028esac
3029fi
3030ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
3031if test -n "$ac_pt_DX_HHC"; then
3032  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
3033$as_echo "$ac_pt_DX_HHC" >&6; }
3034else
3035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036$as_echo "no" >&6; }
3037fi
3038
3039  if test "x$ac_pt_DX_HHC" = x; then
3040    DX_HHC=""
3041  else
3042    case $cross_compiling:$ac_tool_warned in
3043yes:)
3044{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3045$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3046ac_tool_warned=yes ;;
3047esac
3048    DX_HHC=$ac_pt_DX_HHC
3049  fi
3050else
3051  DX_HHC="$ac_cv_path_DX_HHC"
3052fi
3053
3054if test "$DX_FLAG_chm$DX_HHC" = 1; then
3055    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
3056$as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
3057    DX_FLAG_chm=0
3058
3059fi
3060
3061    :
3062fi
3063if test "$DX_FLAG_chm" = 1; then
3064    DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
3065HHC_PATH=$DX_HHC
3066
3067             DX_ENV="$DX_ENV GENERATE_HTML='YES'"
3068GENERATE_HTML=YES
3069
3070             DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
3071GENERATE_HTMLHELP=YES
3072
3073    :
3074else
3075    DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
3076GENERATE_HTMLHELP=NO
3077
3078    :
3079fi
3080
3081
3082# Separate CHI file generation.
3083
3084
3085
3086    # Check whether --enable-doxygen-chi was given.
3087if test "${enable_doxygen_chi+set}" = set; then :
3088  enableval=$enable_doxygen_chi;
3089case "$enableval" in
3090#(
3091y|Y|yes|Yes|YES)
3092    DX_FLAG_chi=1
3093
3094
3095test "$DX_FLAG_chm" = "1" \
3096|| as_fn_error $? "doxygen-chi requires doxygen-chm" "$LINENO" 5
3097
3098;; #(
3099n|N|no|No|NO)
3100    DX_FLAG_chi=0
3101
3102;; #(
3103*)
3104    as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
3105;;
3106esac
3107
3108else
3109
3110DX_FLAG_chi=0
3111
3112
3113test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
3114
3115
3116
3117fi
3118
3119if test "$DX_FLAG_chi" = 1; then
3120
3121    :
3122fi
3123if test "$DX_FLAG_chi" = 1; then
3124    DX_ENV="$DX_ENV GENERATE_CHI='YES'"
3125GENERATE_CHI=YES
3126
3127    :
3128else
3129    DX_ENV="$DX_ENV GENERATE_CHI='NO'"
3130GENERATE_CHI=NO
3131
3132    :
3133fi
3134
3135
3136# Plain HTML pages generation:
3137
3138
3139
3140    # Check whether --enable-doxygen-html was given.
3141if test "${enable_doxygen_html+set}" = set; then :
3142  enableval=$enable_doxygen_html;
3143case "$enableval" in
3144#(
3145y|Y|yes|Yes|YES)
3146    DX_FLAG_html=1
3147
3148
3149test "$DX_FLAG_doc" = "1" \
3150|| as_fn_error $? "doxygen-html requires doxygen-doc" "$LINENO" 5
3151
3152test "$DX_FLAG_chm" = "0" \
3153|| as_fn_error $? "doxygen-html contradicts doxygen-chm" "$LINENO" 5
3154
3155;; #(
3156n|N|no|No|NO)
3157    DX_FLAG_html=0
3158
3159;; #(
3160*)
3161    as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
3162;;
3163esac
3164
3165else
3166
3167DX_FLAG_html=1
3168
3169
3170test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
3171
3172
3173test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
3174
3175
3176
3177fi
3178
3179if test "$DX_FLAG_html" = 1; then
3180
3181    :
3182fi
3183if test "$DX_FLAG_html" = 1; then
3184    DX_ENV="$DX_ENV GENERATE_HTML='YES'"
3185GENERATE_HTML=YES
3186
3187    :
3188else
3189    test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
3190GENERATE_HTML=NO
3191
3192    :
3193fi
3194
3195
3196# PostScript file generation:
3197
3198
3199
3200    # Check whether --enable-doxygen-ps was given.
3201if test "${enable_doxygen_ps+set}" = set; then :
3202  enableval=$enable_doxygen_ps;
3203case "$enableval" in
3204#(
3205y|Y|yes|Yes|YES)
3206    DX_FLAG_ps=1
3207
3208
3209test "$DX_FLAG_doc" = "1" \
3210|| as_fn_error $? "doxygen-ps requires doxygen-doc" "$LINENO" 5
3211
3212;; #(
3213n|N|no|No|NO)
3214    DX_FLAG_ps=0
3215
3216;; #(
3217*)
3218    as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
3219;;
3220esac
3221
3222else
3223
3224DX_FLAG_ps=1
3225
3226
3227test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
3228
3229
3230
3231fi
3232
3233if test "$DX_FLAG_ps" = 1; then
3234
3235if test -n "$ac_tool_prefix"; then
3236  # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
3237set dummy ${ac_tool_prefix}latex; ac_word=$2
3238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239$as_echo_n "checking for $ac_word... " >&6; }
3240if ${ac_cv_path_DX_LATEX+:} false; then :
3241  $as_echo_n "(cached) " >&6
3242else
3243  case $DX_LATEX in
3244  [\\/]* | ?:[\\/]*)
3245  ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
3246  ;;
3247  *)
3248  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249for as_dir in $PATH
3250do
3251  IFS=$as_save_IFS
3252  test -z "$as_dir" && as_dir=.
3253    for ac_exec_ext in '' $ac_executable_extensions; do
3254  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3255    ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
3256    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3257    break 2
3258  fi
3259done
3260  done
3261IFS=$as_save_IFS
3262
3263  ;;
3264esac
3265fi
3266DX_LATEX=$ac_cv_path_DX_LATEX
3267if test -n "$DX_LATEX"; then
3268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
3269$as_echo "$DX_LATEX" >&6; }
3270else
3271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272$as_echo "no" >&6; }
3273fi
3274
3275
3276fi
3277if test -z "$ac_cv_path_DX_LATEX"; then
3278  ac_pt_DX_LATEX=$DX_LATEX
3279  # Extract the first word of "latex", so it can be a program name with args.
3280set dummy latex; 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_path_ac_pt_DX_LATEX+:} false; then :
3284  $as_echo_n "(cached) " >&6
3285else
3286  case $ac_pt_DX_LATEX in
3287  [\\/]* | ?:[\\/]*)
3288  ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
3289  ;;
3290  *)
3291  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292for as_dir in $PATH
3293do
3294  IFS=$as_save_IFS
3295  test -z "$as_dir" && as_dir=.
3296    for ac_exec_ext in '' $ac_executable_extensions; do
3297  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3298    ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
3299    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3300    break 2
3301  fi
3302done
3303  done
3304IFS=$as_save_IFS
3305
3306  ;;
3307esac
3308fi
3309ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
3310if test -n "$ac_pt_DX_LATEX"; then
3311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
3312$as_echo "$ac_pt_DX_LATEX" >&6; }
3313else
3314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3315$as_echo "no" >&6; }
3316fi
3317
3318  if test "x$ac_pt_DX_LATEX" = x; then
3319    DX_LATEX=""
3320  else
3321    case $cross_compiling:$ac_tool_warned in
3322yes:)
3323{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3324$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3325ac_tool_warned=yes ;;
3326esac
3327    DX_LATEX=$ac_pt_DX_LATEX
3328  fi
3329else
3330  DX_LATEX="$ac_cv_path_DX_LATEX"
3331fi
3332
3333if test "$DX_FLAG_ps$DX_LATEX" = 1; then
3334    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
3335$as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
3336    DX_FLAG_ps=0
3337
3338fi
3339
3340
3341if test -n "$ac_tool_prefix"; then
3342  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
3343set dummy ${ac_tool_prefix}makeindex; ac_word=$2
3344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3345$as_echo_n "checking for $ac_word... " >&6; }
3346if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
3347  $as_echo_n "(cached) " >&6
3348else
3349  case $DX_MAKEINDEX in
3350  [\\/]* | ?:[\\/]*)
3351  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
3352  ;;
3353  *)
3354  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355for as_dir in $PATH
3356do
3357  IFS=$as_save_IFS
3358  test -z "$as_dir" && as_dir=.
3359    for ac_exec_ext in '' $ac_executable_extensions; do
3360  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3361    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
3362    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363    break 2
3364  fi
3365done
3366  done
3367IFS=$as_save_IFS
3368
3369  ;;
3370esac
3371fi
3372DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
3373if test -n "$DX_MAKEINDEX"; then
3374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
3375$as_echo "$DX_MAKEINDEX" >&6; }
3376else
3377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3378$as_echo "no" >&6; }
3379fi
3380
3381
3382fi
3383if test -z "$ac_cv_path_DX_MAKEINDEX"; then
3384  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
3385  # Extract the first word of "makeindex", so it can be a program name with args.
3386set dummy makeindex; ac_word=$2
3387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3388$as_echo_n "checking for $ac_word... " >&6; }
3389if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
3390  $as_echo_n "(cached) " >&6
3391else
3392  case $ac_pt_DX_MAKEINDEX in
3393  [\\/]* | ?:[\\/]*)
3394  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
3395  ;;
3396  *)
3397  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398for as_dir in $PATH
3399do
3400  IFS=$as_save_IFS
3401  test -z "$as_dir" && as_dir=.
3402    for ac_exec_ext in '' $ac_executable_extensions; do
3403  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3404    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
3405    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406    break 2
3407  fi
3408done
3409  done
3410IFS=$as_save_IFS
3411
3412  ;;
3413esac
3414fi
3415ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
3416if test -n "$ac_pt_DX_MAKEINDEX"; then
3417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
3418$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
3419else
3420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421$as_echo "no" >&6; }
3422fi
3423
3424  if test "x$ac_pt_DX_MAKEINDEX" = x; then
3425    DX_MAKEINDEX=""
3426  else
3427    case $cross_compiling:$ac_tool_warned in
3428yes:)
3429{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3430$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3431ac_tool_warned=yes ;;
3432esac
3433    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
3434  fi
3435else
3436  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
3437fi
3438
3439if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
3440    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
3441$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
3442    DX_FLAG_ps=0
3443
3444fi
3445
3446
3447if test -n "$ac_tool_prefix"; then
3448  # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
3449set dummy ${ac_tool_prefix}dvips; ac_word=$2
3450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3451$as_echo_n "checking for $ac_word... " >&6; }
3452if ${ac_cv_path_DX_DVIPS+:} false; then :
3453  $as_echo_n "(cached) " >&6
3454else
3455  case $DX_DVIPS in
3456  [\\/]* | ?:[\\/]*)
3457  ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
3458  ;;
3459  *)
3460  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3461for as_dir in $PATH
3462do
3463  IFS=$as_save_IFS
3464  test -z "$as_dir" && as_dir=.
3465    for ac_exec_ext in '' $ac_executable_extensions; do
3466  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3467    ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
3468    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3469    break 2
3470  fi
3471done
3472  done
3473IFS=$as_save_IFS
3474
3475  ;;
3476esac
3477fi
3478DX_DVIPS=$ac_cv_path_DX_DVIPS
3479if test -n "$DX_DVIPS"; then
3480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
3481$as_echo "$DX_DVIPS" >&6; }
3482else
3483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484$as_echo "no" >&6; }
3485fi
3486
3487
3488fi
3489if test -z "$ac_cv_path_DX_DVIPS"; then
3490  ac_pt_DX_DVIPS=$DX_DVIPS
3491  # Extract the first word of "dvips", so it can be a program name with args.
3492set dummy dvips; ac_word=$2
3493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3494$as_echo_n "checking for $ac_word... " >&6; }
3495if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
3496  $as_echo_n "(cached) " >&6
3497else
3498  case $ac_pt_DX_DVIPS in
3499  [\\/]* | ?:[\\/]*)
3500  ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
3501  ;;
3502  *)
3503  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3504for as_dir in $PATH
3505do
3506  IFS=$as_save_IFS
3507  test -z "$as_dir" && as_dir=.
3508    for ac_exec_ext in '' $ac_executable_extensions; do
3509  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3510    ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
3511    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3512    break 2
3513  fi
3514done
3515  done
3516IFS=$as_save_IFS
3517
3518  ;;
3519esac
3520fi
3521ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
3522if test -n "$ac_pt_DX_DVIPS"; then
3523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
3524$as_echo "$ac_pt_DX_DVIPS" >&6; }
3525else
3526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3527$as_echo "no" >&6; }
3528fi
3529
3530  if test "x$ac_pt_DX_DVIPS" = x; then
3531    DX_DVIPS=""
3532  else
3533    case $cross_compiling:$ac_tool_warned in
3534yes:)
3535{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3536$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3537ac_tool_warned=yes ;;
3538esac
3539    DX_DVIPS=$ac_pt_DX_DVIPS
3540  fi
3541else
3542  DX_DVIPS="$ac_cv_path_DX_DVIPS"
3543fi
3544
3545if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
3546    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
3547$as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
3548    DX_FLAG_ps=0
3549
3550fi
3551
3552
3553if test -n "$ac_tool_prefix"; then
3554  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
3555set dummy ${ac_tool_prefix}egrep; ac_word=$2
3556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3557$as_echo_n "checking for $ac_word... " >&6; }
3558if ${ac_cv_path_DX_EGREP+:} false; then :
3559  $as_echo_n "(cached) " >&6
3560else
3561  case $DX_EGREP in
3562  [\\/]* | ?:[\\/]*)
3563  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
3564  ;;
3565  *)
3566  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567for as_dir in $PATH
3568do
3569  IFS=$as_save_IFS
3570  test -z "$as_dir" && as_dir=.
3571    for ac_exec_ext in '' $ac_executable_extensions; do
3572  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3573    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
3574    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3575    break 2
3576  fi
3577done
3578  done
3579IFS=$as_save_IFS
3580
3581  ;;
3582esac
3583fi
3584DX_EGREP=$ac_cv_path_DX_EGREP
3585if test -n "$DX_EGREP"; then
3586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
3587$as_echo "$DX_EGREP" >&6; }
3588else
3589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590$as_echo "no" >&6; }
3591fi
3592
3593
3594fi
3595if test -z "$ac_cv_path_DX_EGREP"; then
3596  ac_pt_DX_EGREP=$DX_EGREP
3597  # Extract the first word of "egrep", so it can be a program name with args.
3598set dummy egrep; ac_word=$2
3599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600$as_echo_n "checking for $ac_word... " >&6; }
3601if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
3602  $as_echo_n "(cached) " >&6
3603else
3604  case $ac_pt_DX_EGREP in
3605  [\\/]* | ?:[\\/]*)
3606  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
3607  ;;
3608  *)
3609  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610for as_dir in $PATH
3611do
3612  IFS=$as_save_IFS
3613  test -z "$as_dir" && as_dir=.
3614    for ac_exec_ext in '' $ac_executable_extensions; do
3615  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3616    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
3617    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3618    break 2
3619  fi
3620done
3621  done
3622IFS=$as_save_IFS
3623
3624  ;;
3625esac
3626fi
3627ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
3628if test -n "$ac_pt_DX_EGREP"; then
3629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
3630$as_echo "$ac_pt_DX_EGREP" >&6; }
3631else
3632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633$as_echo "no" >&6; }
3634fi
3635
3636  if test "x$ac_pt_DX_EGREP" = x; then
3637    DX_EGREP=""
3638  else
3639    case $cross_compiling:$ac_tool_warned in
3640yes:)
3641{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3642$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3643ac_tool_warned=yes ;;
3644esac
3645    DX_EGREP=$ac_pt_DX_EGREP
3646  fi
3647else
3648  DX_EGREP="$ac_cv_path_DX_EGREP"
3649fi
3650
3651if test "$DX_FLAG_ps$DX_EGREP" = 1; then
3652    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
3653$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
3654    DX_FLAG_ps=0
3655
3656fi
3657
3658    :
3659fi
3660if test "$DX_FLAG_ps" = 1; then
3661
3662    :
3663else
3664
3665    :
3666fi
3667
3668
3669# PDF file generation:
3670
3671
3672
3673    # Check whether --enable-doxygen-pdf was given.
3674if test "${enable_doxygen_pdf+set}" = set; then :
3675  enableval=$enable_doxygen_pdf;
3676case "$enableval" in
3677#(
3678y|Y|yes|Yes|YES)
3679    DX_FLAG_pdf=1
3680
3681
3682test "$DX_FLAG_doc" = "1" \
3683|| as_fn_error $? "doxygen-pdf requires doxygen-doc" "$LINENO" 5
3684
3685;; #(
3686n|N|no|No|NO)
3687    DX_FLAG_pdf=0
3688
3689;; #(
3690*)
3691    as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
3692;;
3693esac
3694
3695else
3696
3697DX_FLAG_pdf=1
3698
3699
3700test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
3701
3702
3703
3704fi
3705
3706if test "$DX_FLAG_pdf" = 1; then
3707
3708if test -n "$ac_tool_prefix"; then
3709  # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
3710set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
3711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712$as_echo_n "checking for $ac_word... " >&6; }
3713if ${ac_cv_path_DX_PDFLATEX+:} false; then :
3714  $as_echo_n "(cached) " >&6
3715else
3716  case $DX_PDFLATEX in
3717  [\\/]* | ?:[\\/]*)
3718  ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
3719  ;;
3720  *)
3721  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722for as_dir in $PATH
3723do
3724  IFS=$as_save_IFS
3725  test -z "$as_dir" && as_dir=.
3726    for ac_exec_ext in '' $ac_executable_extensions; do
3727  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3728    ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
3729    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730    break 2
3731  fi
3732done
3733  done
3734IFS=$as_save_IFS
3735
3736  ;;
3737esac
3738fi
3739DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
3740if test -n "$DX_PDFLATEX"; then
3741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
3742$as_echo "$DX_PDFLATEX" >&6; }
3743else
3744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3745$as_echo "no" >&6; }
3746fi
3747
3748
3749fi
3750if test -z "$ac_cv_path_DX_PDFLATEX"; then
3751  ac_pt_DX_PDFLATEX=$DX_PDFLATEX
3752  # Extract the first word of "pdflatex", so it can be a program name with args.
3753set dummy pdflatex; ac_word=$2
3754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3755$as_echo_n "checking for $ac_word... " >&6; }
3756if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
3757  $as_echo_n "(cached) " >&6
3758else
3759  case $ac_pt_DX_PDFLATEX in
3760  [\\/]* | ?:[\\/]*)
3761  ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
3762  ;;
3763  *)
3764  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765for as_dir in $PATH
3766do
3767  IFS=$as_save_IFS
3768  test -z "$as_dir" && as_dir=.
3769    for ac_exec_ext in '' $ac_executable_extensions; do
3770  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3771    ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
3772    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773    break 2
3774  fi
3775done
3776  done
3777IFS=$as_save_IFS
3778
3779  ;;
3780esac
3781fi
3782ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
3783if test -n "$ac_pt_DX_PDFLATEX"; then
3784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
3785$as_echo "$ac_pt_DX_PDFLATEX" >&6; }
3786else
3787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788$as_echo "no" >&6; }
3789fi
3790
3791  if test "x$ac_pt_DX_PDFLATEX" = x; then
3792    DX_PDFLATEX=""
3793  else
3794    case $cross_compiling:$ac_tool_warned in
3795yes:)
3796{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3797$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3798ac_tool_warned=yes ;;
3799esac
3800    DX_PDFLATEX=$ac_pt_DX_PDFLATEX
3801  fi
3802else
3803  DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
3804fi
3805
3806if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
3807    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
3808$as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
3809    DX_FLAG_pdf=0
3810
3811fi
3812
3813
3814if test -n "$ac_tool_prefix"; then
3815  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
3816set dummy ${ac_tool_prefix}makeindex; ac_word=$2
3817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3818$as_echo_n "checking for $ac_word... " >&6; }
3819if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
3820  $as_echo_n "(cached) " >&6
3821else
3822  case $DX_MAKEINDEX in
3823  [\\/]* | ?:[\\/]*)
3824  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
3825  ;;
3826  *)
3827  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3828for as_dir in $PATH
3829do
3830  IFS=$as_save_IFS
3831  test -z "$as_dir" && as_dir=.
3832    for ac_exec_ext in '' $ac_executable_extensions; do
3833  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3834    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
3835    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3836    break 2
3837  fi
3838done
3839  done
3840IFS=$as_save_IFS
3841
3842  ;;
3843esac
3844fi
3845DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
3846if test -n "$DX_MAKEINDEX"; then
3847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
3848$as_echo "$DX_MAKEINDEX" >&6; }
3849else
3850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851$as_echo "no" >&6; }
3852fi
3853
3854
3855fi
3856if test -z "$ac_cv_path_DX_MAKEINDEX"; then
3857  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
3858  # Extract the first word of "makeindex", so it can be a program name with args.
3859set dummy makeindex; ac_word=$2
3860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3861$as_echo_n "checking for $ac_word... " >&6; }
3862if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
3863  $as_echo_n "(cached) " >&6
3864else
3865  case $ac_pt_DX_MAKEINDEX in
3866  [\\/]* | ?:[\\/]*)
3867  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
3868  ;;
3869  *)
3870  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871for as_dir in $PATH
3872do
3873  IFS=$as_save_IFS
3874  test -z "$as_dir" && as_dir=.
3875    for ac_exec_ext in '' $ac_executable_extensions; do
3876  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3877    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
3878    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3879    break 2
3880  fi
3881done
3882  done
3883IFS=$as_save_IFS
3884
3885  ;;
3886esac
3887fi
3888ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
3889if test -n "$ac_pt_DX_MAKEINDEX"; then
3890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
3891$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
3892else
3893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3894$as_echo "no" >&6; }
3895fi
3896
3897  if test "x$ac_pt_DX_MAKEINDEX" = x; then
3898    DX_MAKEINDEX=""
3899  else
3900    case $cross_compiling:$ac_tool_warned in
3901yes:)
3902{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3903$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3904ac_tool_warned=yes ;;
3905esac
3906    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
3907  fi
3908else
3909  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
3910fi
3911
3912if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
3913    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
3914$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
3915    DX_FLAG_pdf=0
3916
3917fi
3918
3919
3920if test -n "$ac_tool_prefix"; then
3921  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
3922set dummy ${ac_tool_prefix}egrep; ac_word=$2
3923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924$as_echo_n "checking for $ac_word... " >&6; }
3925if ${ac_cv_path_DX_EGREP+:} false; then :
3926  $as_echo_n "(cached) " >&6
3927else
3928  case $DX_EGREP in
3929  [\\/]* | ?:[\\/]*)
3930  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
3931  ;;
3932  *)
3933  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3934for as_dir in $PATH
3935do
3936  IFS=$as_save_IFS
3937  test -z "$as_dir" && as_dir=.
3938    for ac_exec_ext in '' $ac_executable_extensions; do
3939  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3940    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
3941    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3942    break 2
3943  fi
3944done
3945  done
3946IFS=$as_save_IFS
3947
3948  ;;
3949esac
3950fi
3951DX_EGREP=$ac_cv_path_DX_EGREP
3952if test -n "$DX_EGREP"; then
3953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
3954$as_echo "$DX_EGREP" >&6; }
3955else
3956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957$as_echo "no" >&6; }
3958fi
3959
3960
3961fi
3962if test -z "$ac_cv_path_DX_EGREP"; then
3963  ac_pt_DX_EGREP=$DX_EGREP
3964  # Extract the first word of "egrep", so it can be a program name with args.
3965set dummy egrep; ac_word=$2
3966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967$as_echo_n "checking for $ac_word... " >&6; }
3968if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
3969  $as_echo_n "(cached) " >&6
3970else
3971  case $ac_pt_DX_EGREP in
3972  [\\/]* | ?:[\\/]*)
3973  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
3974  ;;
3975  *)
3976  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977for as_dir in $PATH
3978do
3979  IFS=$as_save_IFS
3980  test -z "$as_dir" && as_dir=.
3981    for ac_exec_ext in '' $ac_executable_extensions; do
3982  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3983    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
3984    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985    break 2
3986  fi
3987done
3988  done
3989IFS=$as_save_IFS
3990
3991  ;;
3992esac
3993fi
3994ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
3995if test -n "$ac_pt_DX_EGREP"; then
3996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
3997$as_echo "$ac_pt_DX_EGREP" >&6; }
3998else
3999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4000$as_echo "no" >&6; }
4001fi
4002
4003  if test "x$ac_pt_DX_EGREP" = x; then
4004    DX_EGREP=""
4005  else
4006    case $cross_compiling:$ac_tool_warned in
4007yes:)
4008{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4009$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4010ac_tool_warned=yes ;;
4011esac
4012    DX_EGREP=$ac_pt_DX_EGREP
4013  fi
4014else
4015  DX_EGREP="$ac_cv_path_DX_EGREP"
4016fi
4017
4018if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
4019    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
4020$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
4021    DX_FLAG_pdf=0
4022
4023fi
4024
4025    :
4026fi
4027if test "$DX_FLAG_pdf" = 1; then
4028
4029    :
4030else
4031
4032    :
4033fi
4034
4035
4036# LaTeX generation for PS and/or PDF:
4037if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
4038    DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
4039GENERATE_LATEX=YES
4040
4041else
4042    DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
4043GENERATE_LATEX=NO
4044
4045fi
4046
4047# Paper size for PS and/or PDF:
4048
4049case "$DOXYGEN_PAPER_SIZE" in
4050#(
4051"")
4052    DOXYGEN_PAPER_SIZE=""
4053
4054;; #(
4055a4wide|a4|letter|legal|executive)
4056    DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
4057PAPER_SIZE=$DOXYGEN_PAPER_SIZE
4058
4059;; #(
4060*)
4061    as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
4062;;
4063esac
4064
4065# Rules:
4066if test $DX_FLAG_html -eq 1; then :
4067  DX_SNIPPET_html="## ------------------------------- ##
4068
4069DX_CLEAN_HTML = \$(DX_DOCDIR)/html\\
4070                \$(DX_DOCDIR)/html
4071
4072"
4073else
4074  DX_SNIPPET_html=""
4075fi
4076if test $DX_FLAG_chi -eq 1; then :
4077  DX_SNIPPET_chi="
4078DX_CLEAN_CHI = \$(DX_DOCDIR)/\$(PACKAGE).chi\\
4079               \$(DX_DOCDIR)/\$(PACKAGE).chi"
4080else
4081  DX_SNIPPET_chi=""
4082fi
4083if test $DX_FLAG_chm -eq 1; then :
4084  DX_SNIPPET_chm="## ------------------------------ ##
4085
4086DX_CLEAN_CHM = \$(DX_DOCDIR)/chm\\
4087               \$(DX_DOCDIR)/chm\
4088${DX_SNIPPET_chi}
4089
4090"
4091else
4092  DX_SNIPPET_chm=""
4093fi
4094if test $DX_FLAG_man -eq 1; then :
4095  DX_SNIPPET_man="## ------------------------------ ##
4096
4097DX_CLEAN_MAN = \$(DX_DOCDIR)/man\\
4098               \$(DX_DOCDIR)/man
4099
4100"
4101else
4102  DX_SNIPPET_man=""
4103fi
4104if test $DX_FLAG_rtf -eq 1; then :
4105  DX_SNIPPET_rtf="## ------------------------------ ##
4106
4107DX_CLEAN_RTF = \$(DX_DOCDIR)/rtf\\
4108               \$(DX_DOCDIR)/rtf
4109
4110"
4111else
4112  DX_SNIPPET_rtf=""
4113fi
4114if test $DX_FLAG_xml -eq 1; then :
4115  DX_SNIPPET_xml="## ------------------------------ ##
4116
4117DX_CLEAN_XML = \$(DX_DOCDIR)/xml\\
4118               \$(DX_DOCDIR)/xml
4119
4120"
4121else
4122  DX_SNIPPET_xml=""
4123fi
4124if test $DX_FLAG_ps -eq 1; then :
4125  DX_SNIPPET_ps="## ----------------------------- ##
4126
4127DX_CLEAN_PS = \$(DX_DOCDIR)/\$(PACKAGE).ps\\
4128              \$(DX_DOCDIR)/\$(PACKAGE).ps
4129
4130DX_PS_GOAL = doxygen-ps
4131
4132doxygen-ps: \$(DX_CLEAN_PS)
4133
4134\$(DX_DOCDIR)/\$(PACKAGE).ps: \$(DX_DOCDIR)/\$(PACKAGE).tag
4135	\$(DX_V_LATEX)cd \$(DX_DOCDIR)/latex; \\
4136	rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \\
4137	\$(DX_LATEX) refman.tex; \\
4138	\$(DX_MAKEINDEX) refman.idx; \\
4139	\$(DX_LATEX) refman.tex; \\
4140	countdown=5; \\
4141	while \$(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \\
4142	                  refman.log > /dev/null 2>&1 \\
4143	   && test \$\$countdown -gt 0; do \\
4144	    \$(DX_LATEX) refman.tex; \\
4145            countdown=\`expr \$\$countdown - 1\`; \\
4146	done; \\
4147	\$(DX_DVIPS) -o ../\$(PACKAGE).ps refman.dvi
4148
4149"
4150else
4151  DX_SNIPPET_ps=""
4152fi
4153if test $DX_FLAG_pdf -eq 1; then :
4154  DX_SNIPPET_pdf="## ------------------------------ ##
4155
4156DX_CLEAN_PDF = \$(DX_DOCDIR)/\$(PACKAGE).pdf\\
4157               \$(DX_DOCDIR)/\$(PACKAGE).pdf
4158
4159DX_PDF_GOAL = doxygen-pdf
4160
4161doxygen-pdf: \$(DX_CLEAN_PDF)
4162
4163\$(DX_DOCDIR)/\$(PACKAGE).pdf: \$(DX_DOCDIR)/\$(PACKAGE).tag
4164	\$(DX_V_LATEX)cd \$(DX_DOCDIR)/latex; \\
4165	rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \\
4166	\$(DX_PDFLATEX) refman.tex; \\
4167	\$(DX_MAKEINDEX) refman.idx; \\
4168	\$(DX_PDFLATEX) refman.tex; \\
4169	countdown=5; \\
4170	while \$(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \\
4171	                  refman.log > /dev/null 2>&1 \\
4172	   && test \$\$countdown -gt 0; do \\
4173	    \$(DX_PDFLATEX) refman.tex; \\
4174	    countdown=\`expr \$\$countdown - 1\`; \\
4175	done; \\
4176	mv refman.pdf ../\$(PACKAGE).pdf
4177
4178"
4179else
4180  DX_SNIPPET_pdf=""
4181fi
4182if test $DX_FLAG_ps -eq 1 -o $DX_FLAG_pdf -eq 1; then :
4183  DX_SNIPPET_latex="## ------------------------------------------------- ##
4184
4185DX_V_LATEX = \$(_DX_v_LATEX_\$(V))
4186_DX_v_LATEX_ = \$(_DX_v_LATEX_\$(AM_DEFAULT_VERBOSITY))
4187_DX_v_LATEX_0 = @echo \"  LATEX \" \$@;
4188
4189DX_CLEAN_LATEX = \$(DX_DOCDIR)/latex\\
4190                 \$(DX_DOCDIR)/latex
4191
4192"
4193else
4194  DX_SNIPPET_latex=""
4195fi
4196
4197if test $DX_FLAG_doc -eq 1; then :
4198  DX_SNIPPET_doc="## --------------------------------- ##
4199
4200${DX_SNIPPET_html}\
4201${DX_SNIPPET_chm}\
4202${DX_SNIPPET_man}\
4203${DX_SNIPPET_rtf}\
4204${DX_SNIPPET_xml}\
4205${DX_SNIPPET_ps}\
4206${DX_SNIPPET_pdf}\
4207${DX_SNIPPET_latex}\
4208DX_V_DXGEN = \$(_DX_v_DXGEN_\$(V))
4209_DX_v_DXGEN_ = \$(_DX_v_DXGEN_\$(AM_DEFAULT_VERBOSITY))
4210_DX_v_DXGEN_0 = @echo \"  DXGEN \" \$<;
4211
4212.PHONY: doxygen-run doxygen-doc \$(DX_PS_GOAL) \$(DX_PDF_GOAL)
4213
4214.INTERMEDIATE: doxygen-run \$(DX_PS_GOAL) \$(DX_PDF_GOAL)
4215
4216doxygen-run: \$(DX_DOCDIR)/\$(PACKAGE).tag
4217
4218doxygen-doc: doxygen-run \$(DX_PS_GOAL) \$(DX_PDF_GOAL)
4219
4220\$(DX_DOCDIR)/\$(PACKAGE).tag: \$(DX_CONFIG) \$(pkginclude_HEADERS)
4221	\$(A""M_V_at)rm -rf \$(DX_DOCDIR)
4222	\$(DX_V_DXGEN)\$(DX_ENV) DOCDIR=\$(DX_DOCDIR) \$(DX_DOXYGEN) \$(DX_CONFIG)
4223	\$(A""M_V_at)echo Timestamp >\$@
4224
4225DX_CLEANFILES = \\
4226	\$(DX_DOCDIR)/doxygen_sqlite3.db \\
4227	\$(DX_DOCDIR)/\$(PACKAGE).tag \\
4228	-r \\
4229	\$(DX_CLEAN_HTML) \\
4230	\$(DX_CLEAN_CHM) \\
4231	\$(DX_CLEAN_CHI) \\
4232	\$(DX_CLEAN_MAN) \\
4233	\$(DX_CLEAN_RTF) \\
4234	\$(DX_CLEAN_XML) \\
4235	\$(DX_CLEAN_PS) \\
4236	\$(DX_CLEAN_PDF) \\
4237	\$(DX_CLEAN_LATEX)"
4238else
4239  DX_SNIPPET_doc=""
4240fi
4241DX_RULES="${DX_SNIPPET_doc}"
4242
4243
4244#For debugging:
4245#echo DX_FLAG_doc=$DX_FLAG_doc
4246#echo DX_FLAG_dot=$DX_FLAG_dot
4247#echo DX_FLAG_man=$DX_FLAG_man
4248#echo DX_FLAG_html=$DX_FLAG_html
4249#echo DX_FLAG_chm=$DX_FLAG_chm
4250#echo DX_FLAG_chi=$DX_FLAG_chi
4251#echo DX_FLAG_rtf=$DX_FLAG_rtf
4252#echo DX_FLAG_xml=$DX_FLAG_xml
4253#echo DX_FLAG_pdf=$DX_FLAG_pdf
4254#echo DX_FLAG_ps=$DX_FLAG_ps
4255#echo DX_ENV=$DX_ENV
4256
4257am__api_version='1.16'
4258
4259ac_aux_dir=
4260for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4261  if test -f "$ac_dir/install-sh"; then
4262    ac_aux_dir=$ac_dir
4263    ac_install_sh="$ac_aux_dir/install-sh -c"
4264    break
4265  elif test -f "$ac_dir/install.sh"; then
4266    ac_aux_dir=$ac_dir
4267    ac_install_sh="$ac_aux_dir/install.sh -c"
4268    break
4269  elif test -f "$ac_dir/shtool"; then
4270    ac_aux_dir=$ac_dir
4271    ac_install_sh="$ac_aux_dir/shtool install -c"
4272    break
4273  fi
4274done
4275if test -z "$ac_aux_dir"; then
4276  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4277fi
4278
4279# These three variables are undocumented and unsupported,
4280# and are intended to be withdrawn in a future Autoconf release.
4281# They can cause serious problems if a builder's source tree is in a directory
4282# whose full name contains unusual characters.
4283ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
4284ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
4285ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
4286
4287
4288# Find a good install program.  We prefer a C program (faster),
4289# so one script is as good as another.  But avoid the broken or
4290# incompatible versions:
4291# SysV /etc/install, /usr/sbin/install
4292# SunOS /usr/etc/install
4293# IRIX /sbin/install
4294# AIX /bin/install
4295# AmigaOS /C/install, which installs bootblocks on floppy discs
4296# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4297# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4298# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4299# OS/2's system install, which has a completely different semantic
4300# ./install, which can be erroneously created by make from ./install.sh.
4301# Reject install programs that cannot install multiple files.
4302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4303$as_echo_n "checking for a BSD-compatible install... " >&6; }
4304if test -z "$INSTALL"; then
4305if ${ac_cv_path_install+:} false; then :
4306  $as_echo_n "(cached) " >&6
4307else
4308  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309for as_dir in $PATH
4310do
4311  IFS=$as_save_IFS
4312  test -z "$as_dir" && as_dir=.
4313    # Account for people who put trailing slashes in PATH elements.
4314case $as_dir/ in #((
4315  ./ | .// | /[cC]/* | \
4316  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4317  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4318  /usr/ucb/* ) ;;
4319  *)
4320    # OSF1 and SCO ODT 3.0 have their own names for install.
4321    # Don't use installbsd from OSF since it installs stuff as root
4322    # by default.
4323    for ac_prog in ginstall scoinst install; do
4324      for ac_exec_ext in '' $ac_executable_extensions; do
4325	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4326	  if test $ac_prog = install &&
4327	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4328	    # AIX install.  It has an incompatible calling convention.
4329	    :
4330	  elif test $ac_prog = install &&
4331	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4332	    # program-specific install script used by HP pwplus--don't use.
4333	    :
4334	  else
4335	    rm -rf conftest.one conftest.two conftest.dir
4336	    echo one > conftest.one
4337	    echo two > conftest.two
4338	    mkdir conftest.dir
4339	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4340	      test -s conftest.one && test -s conftest.two &&
4341	      test -s conftest.dir/conftest.one &&
4342	      test -s conftest.dir/conftest.two
4343	    then
4344	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4345	      break 3
4346	    fi
4347	  fi
4348	fi
4349      done
4350    done
4351    ;;
4352esac
4353
4354  done
4355IFS=$as_save_IFS
4356
4357rm -rf conftest.one conftest.two conftest.dir
4358
4359fi
4360  if test "${ac_cv_path_install+set}" = set; then
4361    INSTALL=$ac_cv_path_install
4362  else
4363    # As a last resort, use the slow shell script.  Don't cache a
4364    # value for INSTALL within a source directory, because that will
4365    # break other packages using the cache if that directory is
4366    # removed, or if the value is a relative name.
4367    INSTALL=$ac_install_sh
4368  fi
4369fi
4370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4371$as_echo "$INSTALL" >&6; }
4372
4373# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4374# It thinks the first close brace ends the variable substitution.
4375test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4376
4377test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4378
4379test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4380
4381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4382$as_echo_n "checking whether build environment is sane... " >&6; }
4383# Reject unsafe characters in $srcdir or the absolute working directory
4384# name.  Accept space and tab only in the latter.
4385am_lf='
4386'
4387case `pwd` in
4388  *[\\\"\#\$\&\'\`$am_lf]*)
4389    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4390esac
4391case $srcdir in
4392  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
4393    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4394esac
4395
4396# Do 'set' in a subshell so we don't clobber the current shell's
4397# arguments.  Must try -L first in case configure is actually a
4398# symlink; some systems play weird games with the mod time of symlinks
4399# (eg FreeBSD returns the mod time of the symlink's containing
4400# directory).
4401if (
4402   am_has_slept=no
4403   for am_try in 1 2; do
4404     echo "timestamp, slept: $am_has_slept" > conftest.file
4405     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4406     if test "$*" = "X"; then
4407	# -L didn't work.
4408	set X `ls -t "$srcdir/configure" conftest.file`
4409     fi
4410     if test "$*" != "X $srcdir/configure conftest.file" \
4411	&& test "$*" != "X conftest.file $srcdir/configure"; then
4412
4413	# If neither matched, then we have a broken ls.  This can happen
4414	# if, for instance, CONFIG_SHELL is bash and it inherits a
4415	# broken ls alias from the environment.  This has actually
4416	# happened.  Such a system could not be considered "sane".
4417	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
4418  alias in your environment" "$LINENO" 5
4419     fi
4420     if test "$2" = conftest.file || test $am_try -eq 2; then
4421       break
4422     fi
4423     # Just in case.
4424     sleep 1
4425     am_has_slept=yes
4426   done
4427   test "$2" = conftest.file
4428   )
4429then
4430   # Ok.
4431   :
4432else
4433   as_fn_error $? "newly created file is older than distributed files!
4434Check your system clock" "$LINENO" 5
4435fi
4436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4437$as_echo "yes" >&6; }
4438# If we didn't sleep, we still need to ensure time stamps of config.status and
4439# generated files are strictly newer.
4440am_sleep_pid=
4441if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4442  ( sleep 1 ) &
4443  am_sleep_pid=$!
4444fi
4445
4446rm -f conftest.file
4447
4448test "$program_prefix" != NONE &&
4449  program_transform_name="s&^&$program_prefix&;$program_transform_name"
4450# Use a double $ so make ignores it.
4451test "$program_suffix" != NONE &&
4452  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4453# Double any \ or $.
4454# By default was `s,x,x', remove it if useless.
4455ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4456program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4457
4458# Expand $ac_aux_dir to an absolute path.
4459am_aux_dir=`cd "$ac_aux_dir" && pwd`
4460
4461if test x"${MISSING+set}" != xset; then
4462  case $am_aux_dir in
4463  *\ * | *\	*)
4464    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4465  *)
4466    MISSING="\${SHELL} $am_aux_dir/missing" ;;
4467  esac
4468fi
4469# Use eval to expand $SHELL
4470if eval "$MISSING --is-lightweight"; then
4471  am_missing_run="$MISSING "
4472else
4473  am_missing_run=
4474  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4475$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4476fi
4477
4478if test x"${install_sh+set}" != xset; then
4479  case $am_aux_dir in
4480  *\ * | *\	*)
4481    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4482  *)
4483    install_sh="\${SHELL} $am_aux_dir/install-sh"
4484  esac
4485fi
4486
4487# Installed binaries are usually stripped using 'strip' when the user
4488# run "make install-strip".  However 'strip' might not be the right
4489# tool to use in cross-compilation environments, therefore Automake
4490# will honor the 'STRIP' environment variable to overrule this program.
4491if test "$cross_compiling" != no; then
4492  if test -n "$ac_tool_prefix"; then
4493  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4494set dummy ${ac_tool_prefix}strip; ac_word=$2
4495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496$as_echo_n "checking for $ac_word... " >&6; }
4497if ${ac_cv_prog_STRIP+:} false; then :
4498  $as_echo_n "(cached) " >&6
4499else
4500  if test -n "$STRIP"; then
4501  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4502else
4503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504for as_dir in $PATH
4505do
4506  IFS=$as_save_IFS
4507  test -z "$as_dir" && as_dir=.
4508    for ac_exec_ext in '' $ac_executable_extensions; do
4509  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4510    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4511    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512    break 2
4513  fi
4514done
4515  done
4516IFS=$as_save_IFS
4517
4518fi
4519fi
4520STRIP=$ac_cv_prog_STRIP
4521if test -n "$STRIP"; then
4522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4523$as_echo "$STRIP" >&6; }
4524else
4525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526$as_echo "no" >&6; }
4527fi
4528
4529
4530fi
4531if test -z "$ac_cv_prog_STRIP"; then
4532  ac_ct_STRIP=$STRIP
4533  # Extract the first word of "strip", so it can be a program name with args.
4534set dummy strip; ac_word=$2
4535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536$as_echo_n "checking for $ac_word... " >&6; }
4537if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4538  $as_echo_n "(cached) " >&6
4539else
4540  if test -n "$ac_ct_STRIP"; then
4541  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4542else
4543as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4544for as_dir in $PATH
4545do
4546  IFS=$as_save_IFS
4547  test -z "$as_dir" && as_dir=.
4548    for ac_exec_ext in '' $ac_executable_extensions; do
4549  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4550    ac_cv_prog_ac_ct_STRIP="strip"
4551    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552    break 2
4553  fi
4554done
4555  done
4556IFS=$as_save_IFS
4557
4558fi
4559fi
4560ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4561if test -n "$ac_ct_STRIP"; then
4562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4563$as_echo "$ac_ct_STRIP" >&6; }
4564else
4565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566$as_echo "no" >&6; }
4567fi
4568
4569  if test "x$ac_ct_STRIP" = x; then
4570    STRIP=":"
4571  else
4572    case $cross_compiling:$ac_tool_warned in
4573yes:)
4574{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4575$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4576ac_tool_warned=yes ;;
4577esac
4578    STRIP=$ac_ct_STRIP
4579  fi
4580else
4581  STRIP="$ac_cv_prog_STRIP"
4582fi
4583
4584fi
4585INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4586
4587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4588$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4589if test -z "$MKDIR_P"; then
4590  if ${ac_cv_path_mkdir+:} false; then :
4591  $as_echo_n "(cached) " >&6
4592else
4593  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4594for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4595do
4596  IFS=$as_save_IFS
4597  test -z "$as_dir" && as_dir=.
4598    for ac_prog in mkdir gmkdir; do
4599	 for ac_exec_ext in '' $ac_executable_extensions; do
4600	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4601	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4602	     'mkdir (GNU coreutils) '* | \
4603	     'mkdir (coreutils) '* | \
4604	     'mkdir (fileutils) '4.1*)
4605	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4606	       break 3;;
4607	   esac
4608	 done
4609       done
4610  done
4611IFS=$as_save_IFS
4612
4613fi
4614
4615  test -d ./--version && rmdir ./--version
4616  if test "${ac_cv_path_mkdir+set}" = set; then
4617    MKDIR_P="$ac_cv_path_mkdir -p"
4618  else
4619    # As a last resort, use the slow shell script.  Don't cache a
4620    # value for MKDIR_P within a source directory, because that will
4621    # break other packages using the cache if that directory is
4622    # removed, or if the value is a relative name.
4623    MKDIR_P="$ac_install_sh -d"
4624  fi
4625fi
4626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4627$as_echo "$MKDIR_P" >&6; }
4628
4629for ac_prog in gawk mawk nawk awk
4630do
4631  # Extract the first word of "$ac_prog", so it can be a program name with args.
4632set dummy $ac_prog; ac_word=$2
4633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4634$as_echo_n "checking for $ac_word... " >&6; }
4635if ${ac_cv_prog_AWK+:} false; then :
4636  $as_echo_n "(cached) " >&6
4637else
4638  if test -n "$AWK"; then
4639  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4640else
4641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642for as_dir in $PATH
4643do
4644  IFS=$as_save_IFS
4645  test -z "$as_dir" && as_dir=.
4646    for ac_exec_ext in '' $ac_executable_extensions; do
4647  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4648    ac_cv_prog_AWK="$ac_prog"
4649    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4650    break 2
4651  fi
4652done
4653  done
4654IFS=$as_save_IFS
4655
4656fi
4657fi
4658AWK=$ac_cv_prog_AWK
4659if test -n "$AWK"; then
4660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4661$as_echo "$AWK" >&6; }
4662else
4663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664$as_echo "no" >&6; }
4665fi
4666
4667
4668  test -n "$AWK" && break
4669done
4670
4671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4672$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4673set x ${MAKE-make}
4674ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4675if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4676  $as_echo_n "(cached) " >&6
4677else
4678  cat >conftest.make <<\_ACEOF
4679SHELL = /bin/sh
4680all:
4681	@echo '@@@%%%=$(MAKE)=@@@%%%'
4682_ACEOF
4683# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4684case `${MAKE-make} -f conftest.make 2>/dev/null` in
4685  *@@@%%%=?*=@@@%%%*)
4686    eval ac_cv_prog_make_${ac_make}_set=yes;;
4687  *)
4688    eval ac_cv_prog_make_${ac_make}_set=no;;
4689esac
4690rm -f conftest.make
4691fi
4692if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4694$as_echo "yes" >&6; }
4695  SET_MAKE=
4696else
4697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698$as_echo "no" >&6; }
4699  SET_MAKE="MAKE=${MAKE-make}"
4700fi
4701
4702rm -rf .tst 2>/dev/null
4703mkdir .tst 2>/dev/null
4704if test -d .tst; then
4705  am__leading_dot=.
4706else
4707  am__leading_dot=_
4708fi
4709rmdir .tst 2>/dev/null
4710
4711# Check whether --enable-silent-rules was given.
4712if test "${enable_silent_rules+set}" = set; then :
4713  enableval=$enable_silent_rules;
4714fi
4715
4716case $enable_silent_rules in # (((
4717  yes) AM_DEFAULT_VERBOSITY=0;;
4718   no) AM_DEFAULT_VERBOSITY=1;;
4719    *) AM_DEFAULT_VERBOSITY=1;;
4720esac
4721am_make=${MAKE-make}
4722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4723$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4724if ${am_cv_make_support_nested_variables+:} false; then :
4725  $as_echo_n "(cached) " >&6
4726else
4727  if $as_echo 'TRUE=$(BAR$(V))
4728BAR0=false
4729BAR1=true
4730V=1
4731am__doit:
4732	@$(TRUE)
4733.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4734  am_cv_make_support_nested_variables=yes
4735else
4736  am_cv_make_support_nested_variables=no
4737fi
4738fi
4739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4740$as_echo "$am_cv_make_support_nested_variables" >&6; }
4741if test $am_cv_make_support_nested_variables = yes; then
4742    AM_V='$(V)'
4743  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4744else
4745  AM_V=$AM_DEFAULT_VERBOSITY
4746  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4747fi
4748AM_BACKSLASH='\'
4749
4750if test "`cd $srcdir && pwd`" != "`pwd`"; then
4751  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4752  # is not polluted with repeated "-I."
4753  am__isrc=' -I$(srcdir)'
4754  # test to see if srcdir already configured
4755  if test -f $srcdir/config.status; then
4756    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4757  fi
4758fi
4759
4760# test whether we have cygpath
4761if test -z "$CYGPATH_W"; then
4762  if (cygpath --version) >/dev/null 2>/dev/null; then
4763    CYGPATH_W='cygpath -w'
4764  else
4765    CYGPATH_W=echo
4766  fi
4767fi
4768
4769
4770# Define the identity of the package.
4771 PACKAGE='jp2a'
4772 VERSION='1.1.1'
4773
4774
4775cat >>confdefs.h <<_ACEOF
4776#define PACKAGE "$PACKAGE"
4777_ACEOF
4778
4779
4780cat >>confdefs.h <<_ACEOF
4781#define VERSION "$VERSION"
4782_ACEOF
4783
4784# Some tools Automake needs.
4785
4786ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4787
4788
4789AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4790
4791
4792AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4793
4794
4795AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4796
4797
4798MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4799
4800# For better backward compatibility.  To be removed once Automake 1.9.x
4801# dies out for good.  For more background, see:
4802# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4803# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4804mkdir_p='$(MKDIR_P)'
4805
4806# We need awk for the "check" target (and possibly the TAP driver).  The
4807# system "awk" is bad on some platforms.
4808# Always define AMTAR for backward compatibility.  Yes, it's still used
4809# in the wild :-(  We should find a proper way to deprecate it ...
4810AMTAR='$${TAR-tar}'
4811
4812
4813# We'll loop over all known methods to create a tar archive until one works.
4814_am_tools='gnutar  pax cpio none'
4815
4816am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4817
4818
4819
4820
4821
4822
4823# POSIX will say in a future version that running "rm -f" with no argument
4824# is OK; and we want to be able to make that assumption in our Makefile
4825# recipes.  So use an aggressive probe to check that the usage we want is
4826# actually supported "in the wild" to an acceptable degree.
4827# See automake bug#10828.
4828# To make any issue more visible, cause the running configure to be aborted
4829# by default if the 'rm' program in use doesn't match our expectations; the
4830# user can still override this though.
4831if rm -f && rm -fr && rm -rf; then : OK; else
4832  cat >&2 <<'END'
4833Oops!
4834
4835Your 'rm' program seems unable to run without file operands specified
4836on the command line, even when the '-f' option is present.  This is contrary
4837to the behaviour of most rm programs out there, and not conforming with
4838the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4839
4840Please tell bug-automake@gnu.org about your system, including the value
4841of your $PATH and any error possibly output before this message.  This
4842can help us improve future automake versions.
4843
4844END
4845  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4846    echo 'Configuration will proceed anyway, since you have set the' >&2
4847    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4848    echo >&2
4849  else
4850    cat >&2 <<'END'
4851Aborting the configuration process, to ensure you take notice of the issue.
4852
4853You can download and install GNU coreutils to get an 'rm' implementation
4854that behaves properly: <https://www.gnu.org/software/coreutils/>.
4855
4856If you want to complete the configuration process using your problematic
4857'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4858to "yes", and re-run configure.
4859
4860END
4861    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4862  fi
4863fi
4864
4865
4866ac_config_headers="$ac_config_headers config.h"
4867
4868ac_config_files="$ac_config_files Makefile src/Makefile"
4869
4870
4871# Checks for programs.
4872ac_ext=c
4873ac_cpp='$CPP $CPPFLAGS'
4874ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4875ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4876ac_compiler_gnu=$ac_cv_c_compiler_gnu
4877if test -n "$ac_tool_prefix"; then
4878  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4879set dummy ${ac_tool_prefix}gcc; ac_word=$2
4880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881$as_echo_n "checking for $ac_word... " >&6; }
4882if ${ac_cv_prog_CC+:} false; then :
4883  $as_echo_n "(cached) " >&6
4884else
4885  if test -n "$CC"; then
4886  ac_cv_prog_CC="$CC" # Let the user override the test.
4887else
4888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4889for as_dir in $PATH
4890do
4891  IFS=$as_save_IFS
4892  test -z "$as_dir" && as_dir=.
4893    for ac_exec_ext in '' $ac_executable_extensions; do
4894  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4895    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4896    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4897    break 2
4898  fi
4899done
4900  done
4901IFS=$as_save_IFS
4902
4903fi
4904fi
4905CC=$ac_cv_prog_CC
4906if test -n "$CC"; then
4907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4908$as_echo "$CC" >&6; }
4909else
4910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911$as_echo "no" >&6; }
4912fi
4913
4914
4915fi
4916if test -z "$ac_cv_prog_CC"; then
4917  ac_ct_CC=$CC
4918  # Extract the first word of "gcc", so it can be a program name with args.
4919set dummy gcc; ac_word=$2
4920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921$as_echo_n "checking for $ac_word... " >&6; }
4922if ${ac_cv_prog_ac_ct_CC+:} false; then :
4923  $as_echo_n "(cached) " >&6
4924else
4925  if test -n "$ac_ct_CC"; then
4926  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4927else
4928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4929for as_dir in $PATH
4930do
4931  IFS=$as_save_IFS
4932  test -z "$as_dir" && as_dir=.
4933    for ac_exec_ext in '' $ac_executable_extensions; do
4934  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4935    ac_cv_prog_ac_ct_CC="gcc"
4936    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937    break 2
4938  fi
4939done
4940  done
4941IFS=$as_save_IFS
4942
4943fi
4944fi
4945ac_ct_CC=$ac_cv_prog_ac_ct_CC
4946if test -n "$ac_ct_CC"; then
4947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4948$as_echo "$ac_ct_CC" >&6; }
4949else
4950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951$as_echo "no" >&6; }
4952fi
4953
4954  if test "x$ac_ct_CC" = x; then
4955    CC=""
4956  else
4957    case $cross_compiling:$ac_tool_warned in
4958yes:)
4959{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4960$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4961ac_tool_warned=yes ;;
4962esac
4963    CC=$ac_ct_CC
4964  fi
4965else
4966  CC="$ac_cv_prog_CC"
4967fi
4968
4969if test -z "$CC"; then
4970          if test -n "$ac_tool_prefix"; then
4971    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4972set dummy ${ac_tool_prefix}cc; ac_word=$2
4973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974$as_echo_n "checking for $ac_word... " >&6; }
4975if ${ac_cv_prog_CC+:} false; then :
4976  $as_echo_n "(cached) " >&6
4977else
4978  if test -n "$CC"; then
4979  ac_cv_prog_CC="$CC" # Let the user override the test.
4980else
4981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982for as_dir in $PATH
4983do
4984  IFS=$as_save_IFS
4985  test -z "$as_dir" && as_dir=.
4986    for ac_exec_ext in '' $ac_executable_extensions; do
4987  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4988    ac_cv_prog_CC="${ac_tool_prefix}cc"
4989    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990    break 2
4991  fi
4992done
4993  done
4994IFS=$as_save_IFS
4995
4996fi
4997fi
4998CC=$ac_cv_prog_CC
4999if test -n "$CC"; then
5000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5001$as_echo "$CC" >&6; }
5002else
5003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004$as_echo "no" >&6; }
5005fi
5006
5007
5008  fi
5009fi
5010if test -z "$CC"; then
5011  # Extract the first word of "cc", so it can be a program name with args.
5012set dummy cc; ac_word=$2
5013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014$as_echo_n "checking for $ac_word... " >&6; }
5015if ${ac_cv_prog_CC+:} false; then :
5016  $as_echo_n "(cached) " >&6
5017else
5018  if test -n "$CC"; then
5019  ac_cv_prog_CC="$CC" # Let the user override the test.
5020else
5021  ac_prog_rejected=no
5022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023for as_dir in $PATH
5024do
5025  IFS=$as_save_IFS
5026  test -z "$as_dir" && as_dir=.
5027    for ac_exec_ext in '' $ac_executable_extensions; do
5028  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5029    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5030       ac_prog_rejected=yes
5031       continue
5032     fi
5033    ac_cv_prog_CC="cc"
5034    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035    break 2
5036  fi
5037done
5038  done
5039IFS=$as_save_IFS
5040
5041if test $ac_prog_rejected = yes; then
5042  # We found a bogon in the path, so make sure we never use it.
5043  set dummy $ac_cv_prog_CC
5044  shift
5045  if test $# != 0; then
5046    # We chose a different compiler from the bogus one.
5047    # However, it has the same basename, so the bogon will be chosen
5048    # first if we set CC to just the basename; use the full file name.
5049    shift
5050    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5051  fi
5052fi
5053fi
5054fi
5055CC=$ac_cv_prog_CC
5056if test -n "$CC"; then
5057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5058$as_echo "$CC" >&6; }
5059else
5060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061$as_echo "no" >&6; }
5062fi
5063
5064
5065fi
5066if test -z "$CC"; then
5067  if test -n "$ac_tool_prefix"; then
5068  for ac_prog in cl.exe
5069  do
5070    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5071set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073$as_echo_n "checking for $ac_word... " >&6; }
5074if ${ac_cv_prog_CC+:} false; then :
5075  $as_echo_n "(cached) " >&6
5076else
5077  if test -n "$CC"; then
5078  ac_cv_prog_CC="$CC" # Let the user override the test.
5079else
5080as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081for as_dir in $PATH
5082do
5083  IFS=$as_save_IFS
5084  test -z "$as_dir" && as_dir=.
5085    for ac_exec_ext in '' $ac_executable_extensions; do
5086  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5087    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5088    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089    break 2
5090  fi
5091done
5092  done
5093IFS=$as_save_IFS
5094
5095fi
5096fi
5097CC=$ac_cv_prog_CC
5098if test -n "$CC"; then
5099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5100$as_echo "$CC" >&6; }
5101else
5102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103$as_echo "no" >&6; }
5104fi
5105
5106
5107    test -n "$CC" && break
5108  done
5109fi
5110if test -z "$CC"; then
5111  ac_ct_CC=$CC
5112  for ac_prog in cl.exe
5113do
5114  # Extract the first word of "$ac_prog", so it can be a program name with args.
5115set dummy $ac_prog; ac_word=$2
5116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117$as_echo_n "checking for $ac_word... " >&6; }
5118if ${ac_cv_prog_ac_ct_CC+:} false; then :
5119  $as_echo_n "(cached) " >&6
5120else
5121  if test -n "$ac_ct_CC"; then
5122  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5123else
5124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125for as_dir in $PATH
5126do
5127  IFS=$as_save_IFS
5128  test -z "$as_dir" && as_dir=.
5129    for ac_exec_ext in '' $ac_executable_extensions; do
5130  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5131    ac_cv_prog_ac_ct_CC="$ac_prog"
5132    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133    break 2
5134  fi
5135done
5136  done
5137IFS=$as_save_IFS
5138
5139fi
5140fi
5141ac_ct_CC=$ac_cv_prog_ac_ct_CC
5142if test -n "$ac_ct_CC"; then
5143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5144$as_echo "$ac_ct_CC" >&6; }
5145else
5146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147$as_echo "no" >&6; }
5148fi
5149
5150
5151  test -n "$ac_ct_CC" && break
5152done
5153
5154  if test "x$ac_ct_CC" = x; then
5155    CC=""
5156  else
5157    case $cross_compiling:$ac_tool_warned in
5158yes:)
5159{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5160$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5161ac_tool_warned=yes ;;
5162esac
5163    CC=$ac_ct_CC
5164  fi
5165fi
5166
5167fi
5168
5169
5170test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5171$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5172as_fn_error $? "no acceptable C compiler found in \$PATH
5173See \`config.log' for more details" "$LINENO" 5; }
5174
5175# Provide some information about the compiler.
5176$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5177set X $ac_compile
5178ac_compiler=$2
5179for ac_option in --version -v -V -qversion; do
5180  { { ac_try="$ac_compiler $ac_option >&5"
5181case "(($ac_try" in
5182  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5183  *) ac_try_echo=$ac_try;;
5184esac
5185eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5186$as_echo "$ac_try_echo"; } >&5
5187  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5188  ac_status=$?
5189  if test -s conftest.err; then
5190    sed '10a\
5191... rest of stderr output deleted ...
5192         10q' conftest.err >conftest.er1
5193    cat conftest.er1 >&5
5194  fi
5195  rm -f conftest.er1 conftest.err
5196  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5197  test $ac_status = 0; }
5198done
5199
5200cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5201/* end confdefs.h.  */
5202
5203int
5204main ()
5205{
5206
5207  ;
5208  return 0;
5209}
5210_ACEOF
5211ac_clean_files_save=$ac_clean_files
5212ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5213# Try to create an executable without -o first, disregard a.out.
5214# It will help us diagnose broken compilers, and finding out an intuition
5215# of exeext.
5216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5217$as_echo_n "checking whether the C compiler works... " >&6; }
5218ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5219
5220# The possible output files:
5221ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5222
5223ac_rmfiles=
5224for ac_file in $ac_files
5225do
5226  case $ac_file in
5227    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5228    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5229  esac
5230done
5231rm -f $ac_rmfiles
5232
5233if { { ac_try="$ac_link_default"
5234case "(($ac_try" in
5235  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5236  *) ac_try_echo=$ac_try;;
5237esac
5238eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5239$as_echo "$ac_try_echo"; } >&5
5240  (eval "$ac_link_default") 2>&5
5241  ac_status=$?
5242  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5243  test $ac_status = 0; }; then :
5244  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5245# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5246# in a Makefile.  We should not override ac_cv_exeext if it was cached,
5247# so that the user can short-circuit this test for compilers unknown to
5248# Autoconf.
5249for ac_file in $ac_files ''
5250do
5251  test -f "$ac_file" || continue
5252  case $ac_file in
5253    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5254	;;
5255    [ab].out )
5256	# We found the default executable, but exeext='' is most
5257	# certainly right.
5258	break;;
5259    *.* )
5260	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5261	then :; else
5262	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5263	fi
5264	# We set ac_cv_exeext here because the later test for it is not
5265	# safe: cross compilers may not add the suffix if given an `-o'
5266	# argument, so we may need to know it at that point already.
5267	# Even if this section looks crufty: it has the advantage of
5268	# actually working.
5269	break;;
5270    * )
5271	break;;
5272  esac
5273done
5274test "$ac_cv_exeext" = no && ac_cv_exeext=
5275
5276else
5277  ac_file=''
5278fi
5279if test -z "$ac_file"; then :
5280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281$as_echo "no" >&6; }
5282$as_echo "$as_me: failed program was:" >&5
5283sed 's/^/| /' conftest.$ac_ext >&5
5284
5285{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5286$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5287as_fn_error 77 "C compiler cannot create executables
5288See \`config.log' for more details" "$LINENO" 5; }
5289else
5290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5291$as_echo "yes" >&6; }
5292fi
5293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5294$as_echo_n "checking for C compiler default output file name... " >&6; }
5295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5296$as_echo "$ac_file" >&6; }
5297ac_exeext=$ac_cv_exeext
5298
5299rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5300ac_clean_files=$ac_clean_files_save
5301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5302$as_echo_n "checking for suffix of executables... " >&6; }
5303if { { ac_try="$ac_link"
5304case "(($ac_try" in
5305  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5306  *) ac_try_echo=$ac_try;;
5307esac
5308eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5309$as_echo "$ac_try_echo"; } >&5
5310  (eval "$ac_link") 2>&5
5311  ac_status=$?
5312  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5313  test $ac_status = 0; }; then :
5314  # If both `conftest.exe' and `conftest' are `present' (well, observable)
5315# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
5316# work properly (i.e., refer to `conftest.exe'), while it won't with
5317# `rm'.
5318for ac_file in conftest.exe conftest conftest.*; do
5319  test -f "$ac_file" || continue
5320  case $ac_file in
5321    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5322    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5323	  break;;
5324    * ) break;;
5325  esac
5326done
5327else
5328  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5329$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5330as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5331See \`config.log' for more details" "$LINENO" 5; }
5332fi
5333rm -f conftest conftest$ac_cv_exeext
5334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5335$as_echo "$ac_cv_exeext" >&6; }
5336
5337rm -f conftest.$ac_ext
5338EXEEXT=$ac_cv_exeext
5339ac_exeext=$EXEEXT
5340cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5341/* end confdefs.h.  */
5342#include <stdio.h>
5343int
5344main ()
5345{
5346FILE *f = fopen ("conftest.out", "w");
5347 return ferror (f) || fclose (f) != 0;
5348
5349  ;
5350  return 0;
5351}
5352_ACEOF
5353ac_clean_files="$ac_clean_files conftest.out"
5354# Check that the compiler produces executables we can run.  If not, either
5355# the compiler is broken, or we cross compile.
5356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5357$as_echo_n "checking whether we are cross compiling... " >&6; }
5358if test "$cross_compiling" != yes; then
5359  { { ac_try="$ac_link"
5360case "(($ac_try" in
5361  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5362  *) ac_try_echo=$ac_try;;
5363esac
5364eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5365$as_echo "$ac_try_echo"; } >&5
5366  (eval "$ac_link") 2>&5
5367  ac_status=$?
5368  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5369  test $ac_status = 0; }
5370  if { ac_try='./conftest$ac_cv_exeext'
5371  { { case "(($ac_try" in
5372  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5373  *) ac_try_echo=$ac_try;;
5374esac
5375eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5376$as_echo "$ac_try_echo"; } >&5
5377  (eval "$ac_try") 2>&5
5378  ac_status=$?
5379  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5380  test $ac_status = 0; }; }; then
5381    cross_compiling=no
5382  else
5383    if test "$cross_compiling" = maybe; then
5384	cross_compiling=yes
5385    else
5386	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5387$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5388as_fn_error $? "cannot run C compiled programs.
5389If you meant to cross compile, use \`--host'.
5390See \`config.log' for more details" "$LINENO" 5; }
5391    fi
5392  fi
5393fi
5394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5395$as_echo "$cross_compiling" >&6; }
5396
5397rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5398ac_clean_files=$ac_clean_files_save
5399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5400$as_echo_n "checking for suffix of object files... " >&6; }
5401if ${ac_cv_objext+:} false; then :
5402  $as_echo_n "(cached) " >&6
5403else
5404  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5405/* end confdefs.h.  */
5406
5407int
5408main ()
5409{
5410
5411  ;
5412  return 0;
5413}
5414_ACEOF
5415rm -f conftest.o conftest.obj
5416if { { ac_try="$ac_compile"
5417case "(($ac_try" in
5418  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5419  *) ac_try_echo=$ac_try;;
5420esac
5421eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5422$as_echo "$ac_try_echo"; } >&5
5423  (eval "$ac_compile") 2>&5
5424  ac_status=$?
5425  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5426  test $ac_status = 0; }; then :
5427  for ac_file in conftest.o conftest.obj conftest.*; do
5428  test -f "$ac_file" || continue;
5429  case $ac_file in
5430    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5431    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5432       break;;
5433  esac
5434done
5435else
5436  $as_echo "$as_me: failed program was:" >&5
5437sed 's/^/| /' conftest.$ac_ext >&5
5438
5439{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5440$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5441as_fn_error $? "cannot compute suffix of object files: cannot compile
5442See \`config.log' for more details" "$LINENO" 5; }
5443fi
5444rm -f conftest.$ac_cv_objext conftest.$ac_ext
5445fi
5446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5447$as_echo "$ac_cv_objext" >&6; }
5448OBJEXT=$ac_cv_objext
5449ac_objext=$OBJEXT
5450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5451$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5452if ${ac_cv_c_compiler_gnu+:} false; then :
5453  $as_echo_n "(cached) " >&6
5454else
5455  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5456/* end confdefs.h.  */
5457
5458int
5459main ()
5460{
5461#ifndef __GNUC__
5462       choke me
5463#endif
5464
5465  ;
5466  return 0;
5467}
5468_ACEOF
5469if ac_fn_c_try_compile "$LINENO"; then :
5470  ac_compiler_gnu=yes
5471else
5472  ac_compiler_gnu=no
5473fi
5474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5475ac_cv_c_compiler_gnu=$ac_compiler_gnu
5476
5477fi
5478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5479$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5480if test $ac_compiler_gnu = yes; then
5481  GCC=yes
5482else
5483  GCC=
5484fi
5485ac_test_CFLAGS=${CFLAGS+set}
5486ac_save_CFLAGS=$CFLAGS
5487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5488$as_echo_n "checking whether $CC accepts -g... " >&6; }
5489if ${ac_cv_prog_cc_g+:} false; then :
5490  $as_echo_n "(cached) " >&6
5491else
5492  ac_save_c_werror_flag=$ac_c_werror_flag
5493   ac_c_werror_flag=yes
5494   ac_cv_prog_cc_g=no
5495   CFLAGS="-g"
5496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5497/* end confdefs.h.  */
5498
5499int
5500main ()
5501{
5502
5503  ;
5504  return 0;
5505}
5506_ACEOF
5507if ac_fn_c_try_compile "$LINENO"; then :
5508  ac_cv_prog_cc_g=yes
5509else
5510  CFLAGS=""
5511      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5512/* end confdefs.h.  */
5513
5514int
5515main ()
5516{
5517
5518  ;
5519  return 0;
5520}
5521_ACEOF
5522if ac_fn_c_try_compile "$LINENO"; then :
5523
5524else
5525  ac_c_werror_flag=$ac_save_c_werror_flag
5526	 CFLAGS="-g"
5527	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5528/* end confdefs.h.  */
5529
5530int
5531main ()
5532{
5533
5534  ;
5535  return 0;
5536}
5537_ACEOF
5538if ac_fn_c_try_compile "$LINENO"; then :
5539  ac_cv_prog_cc_g=yes
5540fi
5541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5542fi
5543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5544fi
5545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5546   ac_c_werror_flag=$ac_save_c_werror_flag
5547fi
5548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5549$as_echo "$ac_cv_prog_cc_g" >&6; }
5550if test "$ac_test_CFLAGS" = set; then
5551  CFLAGS=$ac_save_CFLAGS
5552elif test $ac_cv_prog_cc_g = yes; then
5553  if test "$GCC" = yes; then
5554    CFLAGS="-g -O2"
5555  else
5556    CFLAGS="-g"
5557  fi
5558else
5559  if test "$GCC" = yes; then
5560    CFLAGS="-O2"
5561  else
5562    CFLAGS=
5563  fi
5564fi
5565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5566$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5567if ${ac_cv_prog_cc_c89+:} false; then :
5568  $as_echo_n "(cached) " >&6
5569else
5570  ac_cv_prog_cc_c89=no
5571ac_save_CC=$CC
5572cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5573/* end confdefs.h.  */
5574#include <stdarg.h>
5575#include <stdio.h>
5576struct stat;
5577/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5578struct buf { int x; };
5579FILE * (*rcsopen) (struct buf *, struct stat *, int);
5580static char *e (p, i)
5581     char **p;
5582     int i;
5583{
5584  return p[i];
5585}
5586static char *f (char * (*g) (char **, int), char **p, ...)
5587{
5588  char *s;
5589  va_list v;
5590  va_start (v,p);
5591  s = g (p, va_arg (v,int));
5592  va_end (v);
5593  return s;
5594}
5595
5596/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5597   function prototypes and stuff, but not '\xHH' hex character constants.
5598   These don't provoke an error unfortunately, instead are silently treated
5599   as 'x'.  The following induces an error, until -std is added to get
5600   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5601   array size at least.  It's necessary to write '\x00'==0 to get something
5602   that's true only with -std.  */
5603int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5604
5605/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5606   inside strings and character constants.  */
5607#define FOO(x) 'x'
5608int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5609
5610int test (int i, double x);
5611struct s1 {int (*f) (int a);};
5612struct s2 {int (*f) (double a);};
5613int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5614int argc;
5615char **argv;
5616int
5617main ()
5618{
5619return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5620  ;
5621  return 0;
5622}
5623_ACEOF
5624for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5625	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5626do
5627  CC="$ac_save_CC $ac_arg"
5628  if ac_fn_c_try_compile "$LINENO"; then :
5629  ac_cv_prog_cc_c89=$ac_arg
5630fi
5631rm -f core conftest.err conftest.$ac_objext
5632  test "x$ac_cv_prog_cc_c89" != "xno" && break
5633done
5634rm -f conftest.$ac_ext
5635CC=$ac_save_CC
5636
5637fi
5638# AC_CACHE_VAL
5639case "x$ac_cv_prog_cc_c89" in
5640  x)
5641    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5642$as_echo "none needed" >&6; } ;;
5643  xno)
5644    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5645$as_echo "unsupported" >&6; } ;;
5646  *)
5647    CC="$CC $ac_cv_prog_cc_c89"
5648    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5649$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5650esac
5651if test "x$ac_cv_prog_cc_c89" != xno; then :
5652
5653fi
5654
5655ac_ext=c
5656ac_cpp='$CPP $CPPFLAGS'
5657ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5658ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5659ac_compiler_gnu=$ac_cv_c_compiler_gnu
5660
5661ac_ext=c
5662ac_cpp='$CPP $CPPFLAGS'
5663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5665ac_compiler_gnu=$ac_cv_c_compiler_gnu
5666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5667$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5668if ${am_cv_prog_cc_c_o+:} false; then :
5669  $as_echo_n "(cached) " >&6
5670else
5671  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5672/* end confdefs.h.  */
5673
5674int
5675main ()
5676{
5677
5678  ;
5679  return 0;
5680}
5681_ACEOF
5682  # Make sure it works both with $CC and with simple cc.
5683  # Following AC_PROG_CC_C_O, we do the test twice because some
5684  # compilers refuse to overwrite an existing .o file with -o,
5685  # though they will create one.
5686  am_cv_prog_cc_c_o=yes
5687  for am_i in 1 2; do
5688    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5689   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5690   ac_status=$?
5691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692   (exit $ac_status); } \
5693         && test -f conftest2.$ac_objext; then
5694      : OK
5695    else
5696      am_cv_prog_cc_c_o=no
5697      break
5698    fi
5699  done
5700  rm -f core conftest*
5701  unset am_i
5702fi
5703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5704$as_echo "$am_cv_prog_cc_c_o" >&6; }
5705if test "$am_cv_prog_cc_c_o" != yes; then
5706   # Losing compiler, so override with the script.
5707   # FIXME: It is wrong to rewrite CC.
5708   # But if we don't then we get into trouble of one sort or another.
5709   # A longer-term fix would be to have automake use am__CC in this case,
5710   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5711   CC="$am_aux_dir/compile $CC"
5712fi
5713ac_ext=c
5714ac_cpp='$CPP $CPPFLAGS'
5715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5717ac_compiler_gnu=$ac_cv_c_compiler_gnu
5718
5719DEPDIR="${am__leading_dot}deps"
5720
5721ac_config_commands="$ac_config_commands depfiles"
5722
5723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
5724$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
5725cat > confinc.mk << 'END'
5726am__doit:
5727	@echo this is the am__doit target >confinc.out
5728.PHONY: am__doit
5729END
5730am__include="#"
5731am__quote=
5732# BSD make does it like this.
5733echo '.include "confinc.mk" # ignored' > confmf.BSD
5734# Other make implementations (GNU, Solaris 10, AIX) do it like this.
5735echo 'include confinc.mk # ignored' > confmf.GNU
5736_am_result=no
5737for s in GNU BSD; do
5738  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
5739   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
5740   ac_status=$?
5741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742   (exit $ac_status); }
5743  case $?:`cat confinc.out 2>/dev/null` in #(
5744  '0:this is the am__doit target') :
5745    case $s in #(
5746  BSD) :
5747    am__include='.include' am__quote='"' ;; #(
5748  *) :
5749    am__include='include' am__quote='' ;;
5750esac ;; #(
5751  *) :
5752     ;;
5753esac
5754  if test "$am__include" != "#"; then
5755    _am_result="yes ($s style)"
5756    break
5757  fi
5758done
5759rm -f confinc.* confmf.*
5760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
5761$as_echo "${_am_result}" >&6; }
5762
5763# Check whether --enable-dependency-tracking was given.
5764if test "${enable_dependency_tracking+set}" = set; then :
5765  enableval=$enable_dependency_tracking;
5766fi
5767
5768if test "x$enable_dependency_tracking" != xno; then
5769  am_depcomp="$ac_aux_dir/depcomp"
5770  AMDEPBACKSLASH='\'
5771  am__nodep='_no'
5772fi
5773 if test "x$enable_dependency_tracking" != xno; then
5774  AMDEP_TRUE=
5775  AMDEP_FALSE='#'
5776else
5777  AMDEP_TRUE='#'
5778  AMDEP_FALSE=
5779fi
5780
5781
5782
5783depcc="$CC"   am_compiler_list=
5784
5785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5786$as_echo_n "checking dependency style of $depcc... " >&6; }
5787if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5788  $as_echo_n "(cached) " >&6
5789else
5790  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5791  # We make a subdir and do the tests there.  Otherwise we can end up
5792  # making bogus files that we don't know about and never remove.  For
5793  # instance it was reported that on HP-UX the gcc test will end up
5794  # making a dummy file named 'D' -- because '-MD' means "put the output
5795  # in D".
5796  rm -rf conftest.dir
5797  mkdir conftest.dir
5798  # Copy depcomp to subdir because otherwise we won't find it if we're
5799  # using a relative directory.
5800  cp "$am_depcomp" conftest.dir
5801  cd conftest.dir
5802  # We will build objects and dependencies in a subdirectory because
5803  # it helps to detect inapplicable dependency modes.  For instance
5804  # both Tru64's cc and ICC support -MD to output dependencies as a
5805  # side effect of compilation, but ICC will put the dependencies in
5806  # the current directory while Tru64 will put them in the object
5807  # directory.
5808  mkdir sub
5809
5810  am_cv_CC_dependencies_compiler_type=none
5811  if test "$am_compiler_list" = ""; then
5812     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5813  fi
5814  am__universal=false
5815  case " $depcc " in #(
5816     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5817     esac
5818
5819  for depmode in $am_compiler_list; do
5820    # Setup a source with many dependencies, because some compilers
5821    # like to wrap large dependency lists on column 80 (with \), and
5822    # we should not choose a depcomp mode which is confused by this.
5823    #
5824    # We need to recreate these files for each test, as the compiler may
5825    # overwrite some of them when testing with obscure command lines.
5826    # This happens at least with the AIX C compiler.
5827    : > sub/conftest.c
5828    for i in 1 2 3 4 5 6; do
5829      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5830      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5831      # Solaris 10 /bin/sh.
5832      echo '/* dummy */' > sub/conftst$i.h
5833    done
5834    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5835
5836    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5837    # mode.  It turns out that the SunPro C++ compiler does not properly
5838    # handle '-M -o', and we need to detect this.  Also, some Intel
5839    # versions had trouble with output in subdirs.
5840    am__obj=sub/conftest.${OBJEXT-o}
5841    am__minus_obj="-o $am__obj"
5842    case $depmode in
5843    gcc)
5844      # This depmode causes a compiler race in universal mode.
5845      test "$am__universal" = false || continue
5846      ;;
5847    nosideeffect)
5848      # After this tag, mechanisms are not by side-effect, so they'll
5849      # only be used when explicitly requested.
5850      if test "x$enable_dependency_tracking" = xyes; then
5851	continue
5852      else
5853	break
5854      fi
5855      ;;
5856    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5857      # This compiler won't grok '-c -o', but also, the minuso test has
5858      # not run yet.  These depmodes are late enough in the game, and
5859      # so weak that their functioning should not be impacted.
5860      am__obj=conftest.${OBJEXT-o}
5861      am__minus_obj=
5862      ;;
5863    none) break ;;
5864    esac
5865    if depmode=$depmode \
5866       source=sub/conftest.c object=$am__obj \
5867       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5868       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5869         >/dev/null 2>conftest.err &&
5870       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5871       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5872       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5873       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5874      # icc doesn't choke on unknown options, it will just issue warnings
5875      # or remarks (even with -Werror).  So we grep stderr for any message
5876      # that says an option was ignored or not supported.
5877      # When given -MP, icc 7.0 and 7.1 complain thusly:
5878      #   icc: Command line warning: ignoring option '-M'; no argument required
5879      # The diagnosis changed in icc 8.0:
5880      #   icc: Command line remark: option '-MP' not supported
5881      if (grep 'ignoring option' conftest.err ||
5882          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5883        am_cv_CC_dependencies_compiler_type=$depmode
5884        break
5885      fi
5886    fi
5887  done
5888
5889  cd ..
5890  rm -rf conftest.dir
5891else
5892  am_cv_CC_dependencies_compiler_type=none
5893fi
5894
5895fi
5896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5897$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5898CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5899
5900 if
5901  test "x$enable_dependency_tracking" != xno \
5902  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5903  am__fastdepCC_TRUE=
5904  am__fastdepCC_FALSE='#'
5905else
5906  am__fastdepCC_TRUE='#'
5907  am__fastdepCC_FALSE=
5908fi
5909
5910
5911
5912# Checks for libraries.
5913
5914# Check whether --with-jpeg-include was given.
5915if test "${with_jpeg_include+set}" = set; then :
5916  withval=$with_jpeg_include; CPPFLAGS="$CPPFLAGS -I$withval"
5917fi
5918
5919
5920
5921# Check whether --with-jpeg-lib was given.
5922if test "${with_jpeg_lib+set}" = set; then :
5923  withval=$with_jpeg_lib; LDFLAGS="$LDFLAGS -L$withval"
5924fi
5925
5926
5927
5928# Check whether --with-jpeg-prefix was given.
5929if test "${with_jpeg_prefix+set}" = set; then :
5930  withval=$with_jpeg_prefix; CPPFLAGS="$CPPFLAGS -I$withval/include" LDFLAGS="$LDFLAGS -L$withval/lib"
5931fi
5932
5933
5934
5935# Check whether --with-curl-config was given.
5936if test "${with_curl_config+set}" = set; then :
5937  withval=$with_curl_config; curl_config_path="$withval" enable_curl="yes"
5938else
5939  curl_config_path="$PATH"
5940fi
5941
5942
5943
5944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in -ljpeg" >&5
5945$as_echo_n "checking for jpeg_start_decompress in -ljpeg... " >&6; }
5946if ${ac_cv_lib_jpeg_jpeg_start_decompress+:} false; then :
5947  $as_echo_n "(cached) " >&6
5948else
5949  ac_check_lib_save_LIBS=$LIBS
5950LIBS="-ljpeg  $LIBS"
5951cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5952/* end confdefs.h.  */
5953
5954/* Override any GCC internal prototype to avoid an error.
5955   Use char because int might match the return type of a GCC
5956   builtin and then its argument prototype would still apply.  */
5957#ifdef __cplusplus
5958extern "C"
5959#endif
5960char jpeg_start_decompress ();
5961int
5962main ()
5963{
5964return jpeg_start_decompress ();
5965  ;
5966  return 0;
5967}
5968_ACEOF
5969if ac_fn_c_try_link "$LINENO"; then :
5970  ac_cv_lib_jpeg_jpeg_start_decompress=yes
5971else
5972  ac_cv_lib_jpeg_jpeg_start_decompress=no
5973fi
5974rm -f core conftest.err conftest.$ac_objext \
5975    conftest$ac_exeext conftest.$ac_ext
5976LIBS=$ac_check_lib_save_LIBS
5977fi
5978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
5979$as_echo "$ac_cv_lib_jpeg_jpeg_start_decompress" >&6; }
5980if test "x$ac_cv_lib_jpeg_jpeg_start_decompress" = xyes; then :
5981  LIBS="$LIBS -ljpeg"
5982fi
5983
5984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in -lpng" >&5
5985$as_echo_n "checking for png_create_read_struct in -lpng... " >&6; }
5986if ${ac_cv_lib_png_png_create_read_struct+:} false; then :
5987  $as_echo_n "(cached) " >&6
5988else
5989  ac_check_lib_save_LIBS=$LIBS
5990LIBS="-lpng  $LIBS"
5991cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5992/* end confdefs.h.  */
5993
5994/* Override any GCC internal prototype to avoid an error.
5995   Use char because int might match the return type of a GCC
5996   builtin and then its argument prototype would still apply.  */
5997#ifdef __cplusplus
5998extern "C"
5999#endif
6000char png_create_read_struct ();
6001int
6002main ()
6003{
6004return png_create_read_struct ();
6005  ;
6006  return 0;
6007}
6008_ACEOF
6009if ac_fn_c_try_link "$LINENO"; then :
6010  ac_cv_lib_png_png_create_read_struct=yes
6011else
6012  ac_cv_lib_png_png_create_read_struct=no
6013fi
6014rm -f core conftest.err conftest.$ac_objext \
6015    conftest$ac_exeext conftest.$ac_ext
6016LIBS=$ac_check_lib_save_LIBS
6017fi
6018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_create_read_struct" >&5
6019$as_echo "$ac_cv_lib_png_png_create_read_struct" >&6; }
6020if test "x$ac_cv_lib_png_png_create_read_struct" = xyes; then :
6021  LIBS="$LIBS -lpng"
6022fi
6023
6024# jp2a uses isfinite from math.h but that can be implemented as a macro so search for another actual function (floor) instead
6025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
6026$as_echo_n "checking for library containing floor... " >&6; }
6027if ${ac_cv_search_floor+:} false; then :
6028  $as_echo_n "(cached) " >&6
6029else
6030  ac_func_search_save_LIBS=$LIBS
6031cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6032/* end confdefs.h.  */
6033
6034/* Override any GCC internal prototype to avoid an error.
6035   Use char because int might match the return type of a GCC
6036   builtin and then its argument prototype would still apply.  */
6037#ifdef __cplusplus
6038extern "C"
6039#endif
6040char floor ();
6041int
6042main ()
6043{
6044return floor ();
6045  ;
6046  return 0;
6047}
6048_ACEOF
6049for ac_lib in '' m; do
6050  if test -z "$ac_lib"; then
6051    ac_res="none required"
6052  else
6053    ac_res=-l$ac_lib
6054    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6055  fi
6056  if ac_fn_c_try_link "$LINENO"; then :
6057  ac_cv_search_floor=$ac_res
6058fi
6059rm -f core conftest.err conftest.$ac_objext \
6060    conftest$ac_exeext
6061  if ${ac_cv_search_floor+:} false; then :
6062  break
6063fi
6064done
6065if ${ac_cv_search_floor+:} false; then :
6066
6067else
6068  ac_cv_search_floor=no
6069fi
6070rm conftest.$ac_ext
6071LIBS=$ac_func_search_save_LIBS
6072fi
6073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
6074$as_echo "$ac_cv_search_floor" >&6; }
6075ac_res=$ac_cv_search_floor
6076if test "$ac_res" != no; then :
6077  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6078
6079fi
6080
6081
6082if test "x$ac_cv_lib_jpeg_jpeg_start_decompress" != "xyes" ; then
6083	as_fn_error $? "I need a working jpeglib; please specify --with-jpeg-lib=PATH or see --help for more explicit options.
6084
6085On many systems, this is installed in /usr/local/lib/ so you can try --with-jpeg-prefix=/usr/local/
6086" "$LINENO" 5
6087fi
6088
6089# Check whether --enable-curl was given.
6090if test "${enable_curl+set}" = set; then :
6091  enableval=$enable_curl; enable_curl=$enableval
6092else
6093  enable_curl="yes"
6094fi
6095
6096
6097# Check whether --enable-termlib was given.
6098if test "${enable_termlib+set}" = set; then :
6099  enableval=$enable_termlib; enable_termlib=$enableval
6100else
6101  enable_termlib="yes"
6102fi
6103
6104
6105# Check whether --enable-pure-ascii was given.
6106if test "${enable_pure_ascii+set}" = set; then :
6107  enableval=$enable_pure_ascii; pure_ascii=$enableval
6108else
6109  pure_ascii="no"
6110fi
6111
6112
6113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking enable-curl" >&5
6114$as_echo_n "checking enable-curl... " >&6; }
6115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_curl" >&5
6116$as_echo "$enable_curl" >&6; }
6117
6118if test "x$enable_curl" = "xyes" ; then
6119	for ac_prog in curl-config
6120do
6121  # Extract the first word of "$ac_prog", so it can be a program name with args.
6122set dummy $ac_prog; ac_word=$2
6123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124$as_echo_n "checking for $ac_word... " >&6; }
6125if ${ac_cv_path_curl_config+:} false; then :
6126  $as_echo_n "(cached) " >&6
6127else
6128  case $curl_config in
6129  [\\/]* | ?:[\\/]*)
6130  ac_cv_path_curl_config="$curl_config" # Let the user override the test with a path.
6131  ;;
6132  *)
6133  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134for as_dir in $curl_config_path
6135do
6136  IFS=$as_save_IFS
6137  test -z "$as_dir" && as_dir=.
6138    for ac_exec_ext in '' $ac_executable_extensions; do
6139  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140    ac_cv_path_curl_config="$as_dir/$ac_word$ac_exec_ext"
6141    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142    break 2
6143  fi
6144done
6145  done
6146IFS=$as_save_IFS
6147
6148  ;;
6149esac
6150fi
6151curl_config=$ac_cv_path_curl_config
6152if test -n "$curl_config"; then
6153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_config" >&5
6154$as_echo "$curl_config" >&6; }
6155else
6156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157$as_echo "no" >&6; }
6158fi
6159
6160
6161  test -n "$curl_config" && break
6162done
6163test -n "$curl_config" || curl_config="no"
6164
6165
6166	if test "x$curl_config" != "xno" ; then
6167		curl_cflags="`$curl_config --cflags`"
6168		curl_libs="`$curl_config --libs`"
6169		CPPFLAGS="$CPPFLAGS $curl_cflags"
6170
6171		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking curl-config --cflags" >&5
6172$as_echo_n "checking curl-config --cflags... " >&6; }
6173		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cflags" >&5
6174$as_echo "$curl_cflags" >&6; }
6175
6176		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking curl-config --libs" >&5
6177$as_echo_n "checking curl-config --libs... " >&6; }
6178		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_libs" >&5
6179$as_echo "$curl_libs" >&6; }
6180	fi
6181
6182	if test "x$curl_libs" = "x" ; then
6183		curl_libs="-lcurl"
6184	fi
6185
6186	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_easy_init in -lcurl" >&5
6187$as_echo_n "checking for curl_easy_init in -lcurl... " >&6; }
6188if ${ac_cv_lib_curl_curl_easy_init+:} false; then :
6189  $as_echo_n "(cached) " >&6
6190else
6191  ac_check_lib_save_LIBS=$LIBS
6192LIBS="-lcurl  $LIBS"
6193cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6194/* end confdefs.h.  */
6195
6196/* Override any GCC internal prototype to avoid an error.
6197   Use char because int might match the return type of a GCC
6198   builtin and then its argument prototype would still apply.  */
6199#ifdef __cplusplus
6200extern "C"
6201#endif
6202char curl_easy_init ();
6203int
6204main ()
6205{
6206return curl_easy_init ();
6207  ;
6208  return 0;
6209}
6210_ACEOF
6211if ac_fn_c_try_link "$LINENO"; then :
6212  ac_cv_lib_curl_curl_easy_init=yes
6213else
6214  ac_cv_lib_curl_curl_easy_init=no
6215fi
6216rm -f core conftest.err conftest.$ac_objext \
6217    conftest$ac_exeext conftest.$ac_ext
6218LIBS=$ac_check_lib_save_LIBS
6219fi
6220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_easy_init" >&5
6221$as_echo "$ac_cv_lib_curl_curl_easy_init" >&6; }
6222if test "x$ac_cv_lib_curl_curl_easy_init" = xyes; then :
6223  LIBS="$LIBS $curl_libs"
6224$as_echo "#define FEAT_CURL 1" >>confdefs.h
6225
6226else
6227
6228		  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I need a working libcurl (use --with-curl-config=PATH); download-support will be disabled" >&5
6229$as_echo "$as_me: WARNING: I need a working libcurl (use --with-curl-config=PATH); download-support will be disabled" >&2;}
6230		  enable_curl="no"
6231
6232fi
6233
6234fi
6235
6236if test "x$pure_ascii" = "xyes" ; then
6237
6238$as_echo "#define ASCII 1" >>confdefs.h
6239
6240fi
6241
6242# Checks for header files.
6243ac_ext=c
6244ac_cpp='$CPP $CPPFLAGS'
6245ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6246ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6247ac_compiler_gnu=$ac_cv_c_compiler_gnu
6248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6249$as_echo_n "checking how to run the C preprocessor... " >&6; }
6250# On Suns, sometimes $CPP names a directory.
6251if test -n "$CPP" && test -d "$CPP"; then
6252  CPP=
6253fi
6254if test -z "$CPP"; then
6255  if ${ac_cv_prog_CPP+:} false; then :
6256  $as_echo_n "(cached) " >&6
6257else
6258      # Double quotes because CPP needs to be expanded
6259    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6260    do
6261      ac_preproc_ok=false
6262for ac_c_preproc_warn_flag in '' yes
6263do
6264  # Use a header file that comes with gcc, so configuring glibc
6265  # with a fresh cross-compiler works.
6266  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6267  # <limits.h> exists even on freestanding compilers.
6268  # On the NeXT, cc -E runs the code through the compiler's parser,
6269  # not just through cpp. "Syntax error" is here to catch this case.
6270  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6271/* end confdefs.h.  */
6272#ifdef __STDC__
6273# include <limits.h>
6274#else
6275# include <assert.h>
6276#endif
6277		     Syntax error
6278_ACEOF
6279if ac_fn_c_try_cpp "$LINENO"; then :
6280
6281else
6282  # Broken: fails on valid input.
6283continue
6284fi
6285rm -f conftest.err conftest.i conftest.$ac_ext
6286
6287  # OK, works on sane cases.  Now check whether nonexistent headers
6288  # can be detected and how.
6289  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6290/* end confdefs.h.  */
6291#include <ac_nonexistent.h>
6292_ACEOF
6293if ac_fn_c_try_cpp "$LINENO"; then :
6294  # Broken: success on invalid input.
6295continue
6296else
6297  # Passes both tests.
6298ac_preproc_ok=:
6299break
6300fi
6301rm -f conftest.err conftest.i conftest.$ac_ext
6302
6303done
6304# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6305rm -f conftest.i conftest.err conftest.$ac_ext
6306if $ac_preproc_ok; then :
6307  break
6308fi
6309
6310    done
6311    ac_cv_prog_CPP=$CPP
6312
6313fi
6314  CPP=$ac_cv_prog_CPP
6315else
6316  ac_cv_prog_CPP=$CPP
6317fi
6318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6319$as_echo "$CPP" >&6; }
6320ac_preproc_ok=false
6321for ac_c_preproc_warn_flag in '' yes
6322do
6323  # Use a header file that comes with gcc, so configuring glibc
6324  # with a fresh cross-compiler works.
6325  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6326  # <limits.h> exists even on freestanding compilers.
6327  # On the NeXT, cc -E runs the code through the compiler's parser,
6328  # not just through cpp. "Syntax error" is here to catch this case.
6329  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6330/* end confdefs.h.  */
6331#ifdef __STDC__
6332# include <limits.h>
6333#else
6334# include <assert.h>
6335#endif
6336		     Syntax error
6337_ACEOF
6338if ac_fn_c_try_cpp "$LINENO"; then :
6339
6340else
6341  # Broken: fails on valid input.
6342continue
6343fi
6344rm -f conftest.err conftest.i conftest.$ac_ext
6345
6346  # OK, works on sane cases.  Now check whether nonexistent headers
6347  # can be detected and how.
6348  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6349/* end confdefs.h.  */
6350#include <ac_nonexistent.h>
6351_ACEOF
6352if ac_fn_c_try_cpp "$LINENO"; then :
6353  # Broken: success on invalid input.
6354continue
6355else
6356  # Passes both tests.
6357ac_preproc_ok=:
6358break
6359fi
6360rm -f conftest.err conftest.i conftest.$ac_ext
6361
6362done
6363# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6364rm -f conftest.i conftest.err conftest.$ac_ext
6365if $ac_preproc_ok; then :
6366
6367else
6368  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6369$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6370as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6371See \`config.log' for more details" "$LINENO" 5; }
6372fi
6373
6374ac_ext=c
6375ac_cpp='$CPP $CPPFLAGS'
6376ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6377ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6378ac_compiler_gnu=$ac_cv_c_compiler_gnu
6379
6380
6381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6382$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6383if ${ac_cv_path_GREP+:} false; then :
6384  $as_echo_n "(cached) " >&6
6385else
6386  if test -z "$GREP"; then
6387  ac_path_GREP_found=false
6388  # Loop through the user's path and test for each of PROGNAME-LIST
6389  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6390for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6391do
6392  IFS=$as_save_IFS
6393  test -z "$as_dir" && as_dir=.
6394    for ac_prog in grep ggrep; do
6395    for ac_exec_ext in '' $ac_executable_extensions; do
6396      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6397      as_fn_executable_p "$ac_path_GREP" || continue
6398# Check for GNU ac_path_GREP and select it if it is found.
6399  # Check for GNU $ac_path_GREP
6400case `"$ac_path_GREP" --version 2>&1` in
6401*GNU*)
6402  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6403*)
6404  ac_count=0
6405  $as_echo_n 0123456789 >"conftest.in"
6406  while :
6407  do
6408    cat "conftest.in" "conftest.in" >"conftest.tmp"
6409    mv "conftest.tmp" "conftest.in"
6410    cp "conftest.in" "conftest.nl"
6411    $as_echo 'GREP' >> "conftest.nl"
6412    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6413    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6414    as_fn_arith $ac_count + 1 && ac_count=$as_val
6415    if test $ac_count -gt ${ac_path_GREP_max-0}; then
6416      # Best one so far, save it but keep looking for a better one
6417      ac_cv_path_GREP="$ac_path_GREP"
6418      ac_path_GREP_max=$ac_count
6419    fi
6420    # 10*(2^10) chars as input seems more than enough
6421    test $ac_count -gt 10 && break
6422  done
6423  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6424esac
6425
6426      $ac_path_GREP_found && break 3
6427    done
6428  done
6429  done
6430IFS=$as_save_IFS
6431  if test -z "$ac_cv_path_GREP"; then
6432    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6433  fi
6434else
6435  ac_cv_path_GREP=$GREP
6436fi
6437
6438fi
6439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6440$as_echo "$ac_cv_path_GREP" >&6; }
6441 GREP="$ac_cv_path_GREP"
6442
6443
6444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6445$as_echo_n "checking for egrep... " >&6; }
6446if ${ac_cv_path_EGREP+:} false; then :
6447  $as_echo_n "(cached) " >&6
6448else
6449  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6450   then ac_cv_path_EGREP="$GREP -E"
6451   else
6452     if test -z "$EGREP"; then
6453  ac_path_EGREP_found=false
6454  # Loop through the user's path and test for each of PROGNAME-LIST
6455  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6457do
6458  IFS=$as_save_IFS
6459  test -z "$as_dir" && as_dir=.
6460    for ac_prog in egrep; do
6461    for ac_exec_ext in '' $ac_executable_extensions; do
6462      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6463      as_fn_executable_p "$ac_path_EGREP" || continue
6464# Check for GNU ac_path_EGREP and select it if it is found.
6465  # Check for GNU $ac_path_EGREP
6466case `"$ac_path_EGREP" --version 2>&1` in
6467*GNU*)
6468  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6469*)
6470  ac_count=0
6471  $as_echo_n 0123456789 >"conftest.in"
6472  while :
6473  do
6474    cat "conftest.in" "conftest.in" >"conftest.tmp"
6475    mv "conftest.tmp" "conftest.in"
6476    cp "conftest.in" "conftest.nl"
6477    $as_echo 'EGREP' >> "conftest.nl"
6478    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6479    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6480    as_fn_arith $ac_count + 1 && ac_count=$as_val
6481    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6482      # Best one so far, save it but keep looking for a better one
6483      ac_cv_path_EGREP="$ac_path_EGREP"
6484      ac_path_EGREP_max=$ac_count
6485    fi
6486    # 10*(2^10) chars as input seems more than enough
6487    test $ac_count -gt 10 && break
6488  done
6489  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6490esac
6491
6492      $ac_path_EGREP_found && break 3
6493    done
6494  done
6495  done
6496IFS=$as_save_IFS
6497  if test -z "$ac_cv_path_EGREP"; then
6498    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6499  fi
6500else
6501  ac_cv_path_EGREP=$EGREP
6502fi
6503
6504   fi
6505fi
6506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6507$as_echo "$ac_cv_path_EGREP" >&6; }
6508 EGREP="$ac_cv_path_EGREP"
6509
6510
6511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6512$as_echo_n "checking for ANSI C header files... " >&6; }
6513if ${ac_cv_header_stdc+:} false; then :
6514  $as_echo_n "(cached) " >&6
6515else
6516  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6517/* end confdefs.h.  */
6518#include <stdlib.h>
6519#include <stdarg.h>
6520#include <string.h>
6521#include <float.h>
6522
6523int
6524main ()
6525{
6526
6527  ;
6528  return 0;
6529}
6530_ACEOF
6531if ac_fn_c_try_compile "$LINENO"; then :
6532  ac_cv_header_stdc=yes
6533else
6534  ac_cv_header_stdc=no
6535fi
6536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6537
6538if test $ac_cv_header_stdc = yes; then
6539  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6540  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6541/* end confdefs.h.  */
6542#include <string.h>
6543
6544_ACEOF
6545if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6546  $EGREP "memchr" >/dev/null 2>&1; then :
6547
6548else
6549  ac_cv_header_stdc=no
6550fi
6551rm -f conftest*
6552
6553fi
6554
6555if test $ac_cv_header_stdc = yes; then
6556  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6557  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6558/* end confdefs.h.  */
6559#include <stdlib.h>
6560
6561_ACEOF
6562if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6563  $EGREP "free" >/dev/null 2>&1; then :
6564
6565else
6566  ac_cv_header_stdc=no
6567fi
6568rm -f conftest*
6569
6570fi
6571
6572if test $ac_cv_header_stdc = yes; then
6573  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6574  if test "$cross_compiling" = yes; then :
6575  :
6576else
6577  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6578/* end confdefs.h.  */
6579#include <ctype.h>
6580#include <stdlib.h>
6581#if ((' ' & 0x0FF) == 0x020)
6582# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6583# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6584#else
6585# define ISLOWER(c) \
6586		   (('a' <= (c) && (c) <= 'i') \
6587		     || ('j' <= (c) && (c) <= 'r') \
6588		     || ('s' <= (c) && (c) <= 'z'))
6589# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6590#endif
6591
6592#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6593int
6594main ()
6595{
6596  int i;
6597  for (i = 0; i < 256; i++)
6598    if (XOR (islower (i), ISLOWER (i))
6599	|| toupper (i) != TOUPPER (i))
6600      return 2;
6601  return 0;
6602}
6603_ACEOF
6604if ac_fn_c_try_run "$LINENO"; then :
6605
6606else
6607  ac_cv_header_stdc=no
6608fi
6609rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6610  conftest.$ac_objext conftest.beam conftest.$ac_ext
6611fi
6612
6613fi
6614fi
6615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6616$as_echo "$ac_cv_header_stdc" >&6; }
6617if test $ac_cv_header_stdc = yes; then
6618
6619$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6620
6621fi
6622
6623
6624# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6625for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6626		  inttypes.h stdint.h unistd.h
6627do :
6628  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6629ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6630"
6631if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6632  cat >>confdefs.h <<_ACEOF
6633#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6634_ACEOF
6635
6636fi
6637
6638done
6639
6640
6641ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
6642if test "x$ac_cv_header_jpeglib_h" = xyes; then :
6643
6644$as_echo "#define HAVE_JPEGLIB_H 1" >>confdefs.h
6645
6646else
6647   as_fn_error $? "required header file jpeglib.h not found, use --with-jpeg-include=PATH or see --help" "$LINENO" 5
6648fi
6649
6650
6651
6652if test "x$enable_curl" = "xyes" ; then
6653	ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
6654if test "x$ac_cv_header_curl_curl_h" = xyes; then :
6655
6656$as_echo "#define HAVE_CURL_CURL_H 1" >>confdefs.h
6657
6658else
6659   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required header file curl/curl.h not found, libcurl will be disabled (see --help)" >&5
6660$as_echo "$as_me: WARNING: required header file curl/curl.h not found, libcurl will be disabled (see --help)" >&2;}
6661fi
6662
6663
6664fi
6665
6666for ac_header in fcntl.h curses.h term.h ncurses/term.h math.h limits.h locale.h stdlib.h string.h unistd.h wchar.h setjmp.h
6667do :
6668  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6669ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6670if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6671  cat >>confdefs.h <<_ACEOF
6672#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6673_ACEOF
6674
6675fi
6676
6677done
6678
6679
6680if test "$enable_termlib" = "yes" ; then
6681
6682	# Some GNU/Linux systems (e.g., SuSE 4.3, 1996) don't have curses, but
6683	# rather ncurses.  So we check for it.
6684	TERMLIBS=
6685	# Check for termlib before termcap because Solaris termcap needs libucb.
6686	TERMLIB_VARIANTS="ncurses curses termlib termcap terminfo"
6687	for termlib in ${TERMLIB_VARIANTS}; do
6688	  as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tgetent" | $as_tr_sh`
6689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -l${termlib}" >&5
6690$as_echo_n "checking for tgetent in -l${termlib}... " >&6; }
6691if eval \${$as_ac_Lib+:} false; then :
6692  $as_echo_n "(cached) " >&6
6693else
6694  ac_check_lib_save_LIBS=$LIBS
6695LIBS="-l${termlib}  $LIBS"
6696cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6697/* end confdefs.h.  */
6698
6699/* Override any GCC internal prototype to avoid an error.
6700   Use char because int might match the return type of a GCC
6701   builtin and then its argument prototype would still apply.  */
6702#ifdef __cplusplus
6703extern "C"
6704#endif
6705char tgetent ();
6706int
6707main ()
6708{
6709return tgetent ();
6710  ;
6711  return 0;
6712}
6713_ACEOF
6714if ac_fn_c_try_link "$LINENO"; then :
6715  eval "$as_ac_Lib=yes"
6716else
6717  eval "$as_ac_Lib=no"
6718fi
6719rm -f core conftest.err conftest.$ac_objext \
6720    conftest$ac_exeext conftest.$ac_ext
6721LIBS=$ac_check_lib_save_LIBS
6722fi
6723eval ac_res=\$$as_ac_Lib
6724	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6725$as_echo "$ac_res" >&6; }
6726if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
6727  TERMLIBS="${TERMLIBS} -l${termlib}"; break
6728fi
6729
6730	done
6731	# don't bother warning on djgpp, it doesn't have a term library, it
6732	# ports each termcap-needing program separately according to its needs.
6733	if test -z "$TERMLIBS" && echo "$build" | grep -v djgpp >/dev/null; then
6734	  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: probably need a terminal library, one of: ${TERMLIB_VARIANTS}" >&5
6735$as_echo "$as_me: WARNING: probably need a terminal library, one of: ${TERMLIB_VARIANTS}" >&2;}
6736	else
6737	  LIBS="$LIBS $TERMLIBS"
6738
6739$as_echo "#define FEAT_TERMLIB 1" >>confdefs.h
6740
6741	fi
6742
6743fi
6744
6745# Checks for bash-completion
6746
6747
6748
6749
6750
6751
6752
6753if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6754	if test -n "$ac_tool_prefix"; then
6755  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6756set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758$as_echo_n "checking for $ac_word... " >&6; }
6759if ${ac_cv_path_PKG_CONFIG+:} false; then :
6760  $as_echo_n "(cached) " >&6
6761else
6762  case $PKG_CONFIG in
6763  [\\/]* | ?:[\\/]*)
6764  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6765  ;;
6766  *)
6767  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768for as_dir in $PATH
6769do
6770  IFS=$as_save_IFS
6771  test -z "$as_dir" && as_dir=.
6772    for ac_exec_ext in '' $ac_executable_extensions; do
6773  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6774    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776    break 2
6777  fi
6778done
6779  done
6780IFS=$as_save_IFS
6781
6782  ;;
6783esac
6784fi
6785PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6786if test -n "$PKG_CONFIG"; then
6787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6788$as_echo "$PKG_CONFIG" >&6; }
6789else
6790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791$as_echo "no" >&6; }
6792fi
6793
6794
6795fi
6796if test -z "$ac_cv_path_PKG_CONFIG"; then
6797  ac_pt_PKG_CONFIG=$PKG_CONFIG
6798  # Extract the first word of "pkg-config", so it can be a program name with args.
6799set dummy pkg-config; ac_word=$2
6800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6801$as_echo_n "checking for $ac_word... " >&6; }
6802if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6803  $as_echo_n "(cached) " >&6
6804else
6805  case $ac_pt_PKG_CONFIG in
6806  [\\/]* | ?:[\\/]*)
6807  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6808  ;;
6809  *)
6810  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811for as_dir in $PATH
6812do
6813  IFS=$as_save_IFS
6814  test -z "$as_dir" && as_dir=.
6815    for ac_exec_ext in '' $ac_executable_extensions; do
6816  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6817    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6818    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6819    break 2
6820  fi
6821done
6822  done
6823IFS=$as_save_IFS
6824
6825  ;;
6826esac
6827fi
6828ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6829if test -n "$ac_pt_PKG_CONFIG"; then
6830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6831$as_echo "$ac_pt_PKG_CONFIG" >&6; }
6832else
6833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6834$as_echo "no" >&6; }
6835fi
6836
6837  if test "x$ac_pt_PKG_CONFIG" = x; then
6838    PKG_CONFIG=""
6839  else
6840    case $cross_compiling:$ac_tool_warned in
6841yes:)
6842{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6843$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6844ac_tool_warned=yes ;;
6845esac
6846    PKG_CONFIG=$ac_pt_PKG_CONFIG
6847  fi
6848else
6849  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6850fi
6851
6852fi
6853if test -n "$PKG_CONFIG"; then
6854	_pkg_min_version=0.9.0
6855	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6856$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6857	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6858		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6859$as_echo "yes" >&6; }
6860	else
6861		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862$as_echo "no" >&6; }
6863		PKG_CONFIG=""
6864	fi
6865fi
6866
6867if test -n "$bashcompdir"; then
6868    pkg_cv_bashcompdir="$bashcompdir"
6869 elif test -n "$PKG_CONFIG"; then
6870    if test -n "$PKG_CONFIG" && \
6871    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bash-completion\""; } >&5
6872  ($PKG_CONFIG --exists --print-errors "bash-completion") 2>&5
6873  ac_status=$?
6874  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6875  test $ac_status = 0; }; then
6876  pkg_cv_bashcompdir=`$PKG_CONFIG --variable="completionsdir" "bash-completion" 2>/dev/null`
6877		      test "x$?" != "x0" && pkg_failed=yes
6878else
6879  pkg_failed=yes
6880fi
6881 else
6882    pkg_failed=untried
6883fi
6884bashcompdir=$pkg_cv_bashcompdir
6885
6886if test "x$bashcompdir" = x""; then :
6887  bashcompdir="${sysconfdir}/bash_completion.d"
6888fi
6889
6890
6891# Checks for typedefs, structures, and compiler characteristics.
6892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6893$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6894if ${ac_cv_c_const+:} false; then :
6895  $as_echo_n "(cached) " >&6
6896else
6897  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898/* end confdefs.h.  */
6899
6900int
6901main ()
6902{
6903
6904#ifndef __cplusplus
6905  /* Ultrix mips cc rejects this sort of thing.  */
6906  typedef int charset[2];
6907  const charset cs = { 0, 0 };
6908  /* SunOS 4.1.1 cc rejects this.  */
6909  char const *const *pcpcc;
6910  char **ppc;
6911  /* NEC SVR4.0.2 mips cc rejects this.  */
6912  struct point {int x, y;};
6913  static struct point const zero = {0,0};
6914  /* AIX XL C 1.02.0.0 rejects this.
6915     It does not let you subtract one const X* pointer from another in
6916     an arm of an if-expression whose if-part is not a constant
6917     expression */
6918  const char *g = "string";
6919  pcpcc = &g + (g ? g-g : 0);
6920  /* HPUX 7.0 cc rejects these. */
6921  ++pcpcc;
6922  ppc = (char**) pcpcc;
6923  pcpcc = (char const *const *) ppc;
6924  { /* SCO 3.2v4 cc rejects this sort of thing.  */
6925    char tx;
6926    char *t = &tx;
6927    char const *s = 0 ? (char *) 0 : (char const *) 0;
6928
6929    *t++ = 0;
6930    if (s) return 0;
6931  }
6932  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6933    int x[] = {25, 17};
6934    const int *foo = &x[0];
6935    ++foo;
6936  }
6937  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6938    typedef const int *iptr;
6939    iptr p = 0;
6940    ++p;
6941  }
6942  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
6943       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6944    struct s { int j; const int *ap[3]; } bx;
6945    struct s *b = &bx; b->j = 5;
6946  }
6947  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6948    const int foo = 10;
6949    if (!foo) return 0;
6950  }
6951  return !cs[0] && !zero.x;
6952#endif
6953
6954  ;
6955  return 0;
6956}
6957_ACEOF
6958if ac_fn_c_try_compile "$LINENO"; then :
6959  ac_cv_c_const=yes
6960else
6961  ac_cv_c_const=no
6962fi
6963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6964fi
6965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6966$as_echo "$ac_cv_c_const" >&6; }
6967if test $ac_cv_c_const = no; then
6968
6969$as_echo "#define const /**/" >>confdefs.h
6970
6971fi
6972
6973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6974$as_echo_n "checking for inline... " >&6; }
6975if ${ac_cv_c_inline+:} false; then :
6976  $as_echo_n "(cached) " >&6
6977else
6978  ac_cv_c_inline=no
6979for ac_kw in inline __inline__ __inline; do
6980  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6981/* end confdefs.h.  */
6982#ifndef __cplusplus
6983typedef int foo_t;
6984static $ac_kw foo_t static_foo () {return 0; }
6985$ac_kw foo_t foo () {return 0; }
6986#endif
6987
6988_ACEOF
6989if ac_fn_c_try_compile "$LINENO"; then :
6990  ac_cv_c_inline=$ac_kw
6991fi
6992rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6993  test "$ac_cv_c_inline" != no && break
6994done
6995
6996fi
6997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6998$as_echo "$ac_cv_c_inline" >&6; }
6999
7000case $ac_cv_c_inline in
7001  inline | yes) ;;
7002  *)
7003    case $ac_cv_c_inline in
7004      no) ac_val=;;
7005      *) ac_val=$ac_cv_c_inline;;
7006    esac
7007    cat >>confdefs.h <<_ACEOF
7008#ifndef __cplusplus
7009#define inline $ac_val
7010#endif
7011_ACEOF
7012    ;;
7013esac
7014
7015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
7016$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
7017if ${ac_cv_c_restrict+:} false; then :
7018  $as_echo_n "(cached) " >&6
7019else
7020  ac_cv_c_restrict=no
7021   # The order here caters to the fact that C++ does not require restrict.
7022   for ac_kw in __restrict __restrict__ _Restrict restrict; do
7023     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7024/* end confdefs.h.  */
7025typedef int * int_ptr;
7026	int foo (int_ptr $ac_kw ip) {
7027	return ip[0];
7028       }
7029int
7030main ()
7031{
7032int s[1];
7033	int * $ac_kw t = s;
7034	t[0] = 0;
7035	return foo(t)
7036  ;
7037  return 0;
7038}
7039_ACEOF
7040if ac_fn_c_try_compile "$LINENO"; then :
7041  ac_cv_c_restrict=$ac_kw
7042fi
7043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7044     test "$ac_cv_c_restrict" != no && break
7045   done
7046
7047fi
7048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
7049$as_echo "$ac_cv_c_restrict" >&6; }
7050
7051 case $ac_cv_c_restrict in
7052   restrict) ;;
7053   no) $as_echo "#define restrict /**/" >>confdefs.h
7054 ;;
7055   *)  cat >>confdefs.h <<_ACEOF
7056#define restrict $ac_cv_c_restrict
7057_ACEOF
7058 ;;
7059 esac
7060
7061ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7062if test "x$ac_cv_type_size_t" = xyes; then :
7063
7064else
7065
7066cat >>confdefs.h <<_ACEOF
7067#define size_t unsigned int
7068_ACEOF
7069
7070fi
7071
7072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
7073$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
7074if ${ac_cv_header_stdbool_h+:} false; then :
7075  $as_echo_n "(cached) " >&6
7076else
7077  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7078/* end confdefs.h.  */
7079
7080             #include <stdbool.h>
7081             #ifndef bool
7082              "error: bool is not defined"
7083             #endif
7084             #ifndef false
7085              "error: false is not defined"
7086             #endif
7087             #if false
7088              "error: false is not 0"
7089             #endif
7090             #ifndef true
7091              "error: true is not defined"
7092             #endif
7093             #if true != 1
7094              "error: true is not 1"
7095             #endif
7096             #ifndef __bool_true_false_are_defined
7097              "error: __bool_true_false_are_defined is not defined"
7098             #endif
7099
7100             struct s { _Bool s: 1; _Bool t; } s;
7101
7102             char a[true == 1 ? 1 : -1];
7103             char b[false == 0 ? 1 : -1];
7104             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
7105             char d[(bool) 0.5 == true ? 1 : -1];
7106             /* See body of main program for 'e'.  */
7107             char f[(_Bool) 0.0 == false ? 1 : -1];
7108             char g[true];
7109             char h[sizeof (_Bool)];
7110             char i[sizeof s.t];
7111             enum { j = false, k = true, l = false * true, m = true * 256 };
7112             /* The following fails for
7113                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
7114             _Bool n[m];
7115             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
7116             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
7117             /* Catch a bug in an HP-UX C compiler.  See
7118                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
7119                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
7120              */
7121             _Bool q = true;
7122             _Bool *pq = &q;
7123
7124int
7125main ()
7126{
7127
7128             bool e = &s;
7129             *pq |= q;
7130             *pq |= ! q;
7131             /* Refer to every declared value, to avoid compiler optimizations.  */
7132             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
7133                     + !m + !n + !o + !p + !q + !pq);
7134
7135  ;
7136  return 0;
7137}
7138_ACEOF
7139if ac_fn_c_try_compile "$LINENO"; then :
7140  ac_cv_header_stdbool_h=yes
7141else
7142  ac_cv_header_stdbool_h=no
7143fi
7144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7145fi
7146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
7147$as_echo "$ac_cv_header_stdbool_h" >&6; }
7148   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
7149if test "x$ac_cv_type__Bool" = xyes; then :
7150
7151cat >>confdefs.h <<_ACEOF
7152#define HAVE__BOOL 1
7153_ACEOF
7154
7155
7156fi
7157
7158
7159
7160# Checks for library functions.
7161ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7162if test "x$ac_cv_type_pid_t" = xyes; then :
7163
7164else
7165
7166cat >>confdefs.h <<_ACEOF
7167#define pid_t int
7168_ACEOF
7169
7170fi
7171
7172for ac_header in vfork.h
7173do :
7174  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
7175if test "x$ac_cv_header_vfork_h" = xyes; then :
7176  cat >>confdefs.h <<_ACEOF
7177#define HAVE_VFORK_H 1
7178_ACEOF
7179
7180fi
7181
7182done
7183
7184for ac_func in fork vfork
7185do :
7186  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7187ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7188if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7189  cat >>confdefs.h <<_ACEOF
7190#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7191_ACEOF
7192
7193fi
7194done
7195
7196if test "x$ac_cv_func_fork" = xyes; then
7197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
7198$as_echo_n "checking for working fork... " >&6; }
7199if ${ac_cv_func_fork_works+:} false; then :
7200  $as_echo_n "(cached) " >&6
7201else
7202  if test "$cross_compiling" = yes; then :
7203  ac_cv_func_fork_works=cross
7204else
7205  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206/* end confdefs.h.  */
7207$ac_includes_default
7208int
7209main ()
7210{
7211
7212	  /* By Ruediger Kuhlmann. */
7213	  return fork () < 0;
7214
7215  ;
7216  return 0;
7217}
7218_ACEOF
7219if ac_fn_c_try_run "$LINENO"; then :
7220  ac_cv_func_fork_works=yes
7221else
7222  ac_cv_func_fork_works=no
7223fi
7224rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7225  conftest.$ac_objext conftest.beam conftest.$ac_ext
7226fi
7227
7228fi
7229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
7230$as_echo "$ac_cv_func_fork_works" >&6; }
7231
7232else
7233  ac_cv_func_fork_works=$ac_cv_func_fork
7234fi
7235if test "x$ac_cv_func_fork_works" = xcross; then
7236  case $host in
7237    *-*-amigaos* | *-*-msdosdjgpp*)
7238      # Override, as these systems have only a dummy fork() stub
7239      ac_cv_func_fork_works=no
7240      ;;
7241    *)
7242      ac_cv_func_fork_works=yes
7243      ;;
7244  esac
7245  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
7246$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
7247fi
7248ac_cv_func_vfork_works=$ac_cv_func_vfork
7249if test "x$ac_cv_func_vfork" = xyes; then
7250  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
7251$as_echo_n "checking for working vfork... " >&6; }
7252if ${ac_cv_func_vfork_works+:} false; then :
7253  $as_echo_n "(cached) " >&6
7254else
7255  if test "$cross_compiling" = yes; then :
7256  ac_cv_func_vfork_works=cross
7257else
7258  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259/* end confdefs.h.  */
7260/* Thanks to Paul Eggert for this test.  */
7261$ac_includes_default
7262#include <sys/wait.h>
7263#ifdef HAVE_VFORK_H
7264# include <vfork.h>
7265#endif
7266/* On some sparc systems, changes by the child to local and incoming
7267   argument registers are propagated back to the parent.  The compiler
7268   is told about this with #include <vfork.h>, but some compilers
7269   (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
7270   static variable whose address is put into a register that is
7271   clobbered by the vfork.  */
7272static void
7273#ifdef __cplusplus
7274sparc_address_test (int arg)
7275# else
7276sparc_address_test (arg) int arg;
7277#endif
7278{
7279  static pid_t child;
7280  if (!child) {
7281    child = vfork ();
7282    if (child < 0) {
7283      perror ("vfork");
7284      _exit(2);
7285    }
7286    if (!child) {
7287      arg = getpid();
7288      write(-1, "", 0);
7289      _exit (arg);
7290    }
7291  }
7292}
7293
7294int
7295main ()
7296{
7297  pid_t parent = getpid ();
7298  pid_t child;
7299
7300  sparc_address_test (0);
7301
7302  child = vfork ();
7303
7304  if (child == 0) {
7305    /* Here is another test for sparc vfork register problems.  This
7306       test uses lots of local variables, at least as many local
7307       variables as main has allocated so far including compiler
7308       temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
7309       4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
7310       reuse the register of parent for one of the local variables,
7311       since it will think that parent can't possibly be used any more
7312       in this routine.  Assigning to the local variable will thus
7313       munge parent in the parent process.  */
7314    pid_t
7315      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7316      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7317    /* Convince the compiler that p..p7 are live; otherwise, it might
7318       use the same hardware register for all 8 local variables.  */
7319    if (p != p1 || p != p2 || p != p3 || p != p4
7320	|| p != p5 || p != p6 || p != p7)
7321      _exit(1);
7322
7323    /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7324       from child file descriptors.  If the child closes a descriptor
7325       before it execs or exits, this munges the parent's descriptor
7326       as well.  Test for this by closing stdout in the child.  */
7327    _exit(close(fileno(stdout)) != 0);
7328  } else {
7329    int status;
7330    struct stat st;
7331
7332    while (wait(&status) != child)
7333      ;
7334    return (
7335	 /* Was there some problem with vforking?  */
7336	 child < 0
7337
7338	 /* Did the child fail?  (This shouldn't happen.)  */
7339	 || status
7340
7341	 /* Did the vfork/compiler bug occur?  */
7342	 || parent != getpid()
7343
7344	 /* Did the file descriptor bug occur?  */
7345	 || fstat(fileno(stdout), &st) != 0
7346	 );
7347  }
7348}
7349_ACEOF
7350if ac_fn_c_try_run "$LINENO"; then :
7351  ac_cv_func_vfork_works=yes
7352else
7353  ac_cv_func_vfork_works=no
7354fi
7355rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7356  conftest.$ac_objext conftest.beam conftest.$ac_ext
7357fi
7358
7359fi
7360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
7361$as_echo "$ac_cv_func_vfork_works" >&6; }
7362
7363fi;
7364if test "x$ac_cv_func_fork_works" = xcross; then
7365  ac_cv_func_vfork_works=$ac_cv_func_vfork
7366  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
7367$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
7368fi
7369
7370if test "x$ac_cv_func_vfork_works" = xyes; then
7371
7372$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
7373
7374else
7375
7376$as_echo "#define vfork fork" >>confdefs.h
7377
7378fi
7379if test "x$ac_cv_func_fork_works" = xyes; then
7380
7381$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
7382
7383fi
7384
7385ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7386if test "x$ac_cv_type_pid_t" = xyes; then :
7387
7388else
7389
7390cat >>confdefs.h <<_ACEOF
7391#define pid_t int
7392_ACEOF
7393
7394fi
7395
7396for ac_func in memset atexit mbrlen memset setlocale strerror
7397do :
7398  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7399ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7400if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7401  cat >>confdefs.h <<_ACEOF
7402#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7403_ACEOF
7404
7405fi
7406done
7407
7408
7409
7410  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5
7411$as_echo_n "checking whether to enable assertions... " >&6; }
7412  # Check whether --enable-assert was given.
7413if test "${enable_assert+set}" = set; then :
7414  enableval=$enable_assert; ac_enable_assert=$enableval
7415     if       test "x$enableval" = xno; then :
7416
7417$as_echo "#define NDEBUG 1" >>confdefs.h
7418
7419elif test "x$enableval" != xyes; then :
7420  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5
7421$as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;}
7422	ac_enable_assert=yes
7423fi
7424else
7425  ac_enable_assert=yes
7426fi
7427
7428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_assert" >&5
7429$as_echo "$ac_enable_assert" >&6; }
7430
7431
7432cat >confcache <<\_ACEOF
7433# This file is a shell script that caches the results of configure
7434# tests run on this system so they can be shared between configure
7435# scripts and configure runs, see configure's option --config-cache.
7436# It is not useful on other systems.  If it contains results you don't
7437# want to keep, you may remove or edit it.
7438#
7439# config.status only pays attention to the cache file if you give it
7440# the --recheck option to rerun configure.
7441#
7442# `ac_cv_env_foo' variables (set or unset) will be overridden when
7443# loading this file, other *unset* `ac_cv_foo' will be assigned the
7444# following values.
7445
7446_ACEOF
7447
7448# The following way of writing the cache mishandles newlines in values,
7449# but we know of no workaround that is simple, portable, and efficient.
7450# So, we kill variables containing newlines.
7451# Ultrix sh set writes to stderr and can't be redirected directly,
7452# and sets the high bit in the cache file unless we assign to the vars.
7453(
7454  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7455    eval ac_val=\$$ac_var
7456    case $ac_val in #(
7457    *${as_nl}*)
7458      case $ac_var in #(
7459      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7460$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7461      esac
7462      case $ac_var in #(
7463      _ | IFS | as_nl) ;; #(
7464      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7465      *) { eval $ac_var=; unset $ac_var;} ;;
7466      esac ;;
7467    esac
7468  done
7469
7470  (set) 2>&1 |
7471    case $as_nl`(ac_space=' '; set) 2>&1` in #(
7472    *${as_nl}ac_space=\ *)
7473      # `set' does not quote correctly, so add quotes: double-quote
7474      # substitution turns \\\\ into \\, and sed turns \\ into \.
7475      sed -n \
7476	"s/'/'\\\\''/g;
7477	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7478      ;; #(
7479    *)
7480      # `set' quotes correctly as required by POSIX, so do not add quotes.
7481      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7482      ;;
7483    esac |
7484    sort
7485) |
7486  sed '
7487     /^ac_cv_env_/b end
7488     t clear
7489     :clear
7490     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7491     t end
7492     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7493     :end' >>confcache
7494if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7495  if test -w "$cache_file"; then
7496    if test "x$cache_file" != "x/dev/null"; then
7497      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7498$as_echo "$as_me: updating cache $cache_file" >&6;}
7499      if test ! -f "$cache_file" || test -h "$cache_file"; then
7500	cat confcache >"$cache_file"
7501      else
7502        case $cache_file in #(
7503        */* | ?:*)
7504	  mv -f confcache "$cache_file"$$ &&
7505	  mv -f "$cache_file"$$ "$cache_file" ;; #(
7506        *)
7507	  mv -f confcache "$cache_file" ;;
7508	esac
7509      fi
7510    fi
7511  else
7512    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7513$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7514  fi
7515fi
7516rm -f confcache
7517
7518test "x$prefix" = xNONE && prefix=$ac_default_prefix
7519# Let make expand exec_prefix.
7520test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7521
7522DEFS=-DHAVE_CONFIG_H
7523
7524ac_libobjs=
7525ac_ltlibobjs=
7526U=
7527for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7528  # 1. Remove the extension, and $U if already installed.
7529  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7530  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7531  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7532  #    will be set to the directory where LIBOBJS objects are built.
7533  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7534  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7535done
7536LIBOBJS=$ac_libobjs
7537
7538LTLIBOBJS=$ac_ltlibobjs
7539
7540
7541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7542$as_echo_n "checking that generated files are newer than configure... " >&6; }
7543   if test -n "$am_sleep_pid"; then
7544     # Hide warnings about reused PIDs.
7545     wait $am_sleep_pid 2>/dev/null
7546   fi
7547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7548$as_echo "done" >&6; }
7549 if test -n "$EXEEXT"; then
7550  am__EXEEXT_TRUE=
7551  am__EXEEXT_FALSE='#'
7552else
7553  am__EXEEXT_TRUE='#'
7554  am__EXEEXT_FALSE=
7555fi
7556
7557if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7558  as_fn_error $? "conditional \"AMDEP\" was never defined.
7559Usually this means the macro was only invoked conditionally." "$LINENO" 5
7560fi
7561if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7562  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7563Usually this means the macro was only invoked conditionally." "$LINENO" 5
7564fi
7565
7566: "${CONFIG_STATUS=./config.status}"
7567ac_write_fail=0
7568ac_clean_files_save=$ac_clean_files
7569ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7570{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7571$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7572as_write_fail=0
7573cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7574#! $SHELL
7575# Generated by $as_me.
7576# Run this file to recreate the current configuration.
7577# Compiler output produced by configure, useful for debugging
7578# configure, is in config.log if it exists.
7579
7580debug=false
7581ac_cs_recheck=false
7582ac_cs_silent=false
7583
7584SHELL=\${CONFIG_SHELL-$SHELL}
7585export SHELL
7586_ASEOF
7587cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7588## -------------------- ##
7589## M4sh Initialization. ##
7590## -------------------- ##
7591
7592# Be more Bourne compatible
7593DUALCASE=1; export DUALCASE # for MKS sh
7594if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7595  emulate sh
7596  NULLCMD=:
7597  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7598  # is contrary to our usage.  Disable this feature.
7599  alias -g '${1+"$@"}'='"$@"'
7600  setopt NO_GLOB_SUBST
7601else
7602  case `(set -o) 2>/dev/null` in #(
7603  *posix*) :
7604    set -o posix ;; #(
7605  *) :
7606     ;;
7607esac
7608fi
7609
7610
7611as_nl='
7612'
7613export as_nl
7614# Printing a long string crashes Solaris 7 /usr/bin/printf.
7615as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7616as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7617as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7618# Prefer a ksh shell builtin over an external printf program on Solaris,
7619# but without wasting forks for bash or zsh.
7620if test -z "$BASH_VERSION$ZSH_VERSION" \
7621    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7622  as_echo='print -r --'
7623  as_echo_n='print -rn --'
7624elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7625  as_echo='printf %s\n'
7626  as_echo_n='printf %s'
7627else
7628  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7629    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7630    as_echo_n='/usr/ucb/echo -n'
7631  else
7632    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7633    as_echo_n_body='eval
7634      arg=$1;
7635      case $arg in #(
7636      *"$as_nl"*)
7637	expr "X$arg" : "X\\(.*\\)$as_nl";
7638	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7639      esac;
7640      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7641    '
7642    export as_echo_n_body
7643    as_echo_n='sh -c $as_echo_n_body as_echo'
7644  fi
7645  export as_echo_body
7646  as_echo='sh -c $as_echo_body as_echo'
7647fi
7648
7649# The user is always right.
7650if test "${PATH_SEPARATOR+set}" != set; then
7651  PATH_SEPARATOR=:
7652  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7653    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7654      PATH_SEPARATOR=';'
7655  }
7656fi
7657
7658
7659# IFS
7660# We need space, tab and new line, in precisely that order.  Quoting is
7661# there to prevent editors from complaining about space-tab.
7662# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7663# splitting by setting IFS to empty value.)
7664IFS=" ""	$as_nl"
7665
7666# Find who we are.  Look in the path if we contain no directory separator.
7667as_myself=
7668case $0 in #((
7669  *[\\/]* ) as_myself=$0 ;;
7670  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7671for as_dir in $PATH
7672do
7673  IFS=$as_save_IFS
7674  test -z "$as_dir" && as_dir=.
7675    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7676  done
7677IFS=$as_save_IFS
7678
7679     ;;
7680esac
7681# We did not find ourselves, most probably we were run as `sh COMMAND'
7682# in which case we are not to be found in the path.
7683if test "x$as_myself" = x; then
7684  as_myself=$0
7685fi
7686if test ! -f "$as_myself"; then
7687  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7688  exit 1
7689fi
7690
7691# Unset variables that we do not need and which cause bugs (e.g. in
7692# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
7693# suppresses any "Segmentation fault" message there.  '((' could
7694# trigger a bug in pdksh 5.2.14.
7695for as_var in BASH_ENV ENV MAIL MAILPATH
7696do eval test x\${$as_var+set} = xset \
7697  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7698done
7699PS1='$ '
7700PS2='> '
7701PS4='+ '
7702
7703# NLS nuisances.
7704LC_ALL=C
7705export LC_ALL
7706LANGUAGE=C
7707export LANGUAGE
7708
7709# CDPATH.
7710(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7711
7712
7713# as_fn_error STATUS ERROR [LINENO LOG_FD]
7714# ----------------------------------------
7715# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7716# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7717# script with STATUS, using 1 if that was 0.
7718as_fn_error ()
7719{
7720  as_status=$1; test $as_status -eq 0 && as_status=1
7721  if test "$4"; then
7722    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7723    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7724  fi
7725  $as_echo "$as_me: error: $2" >&2
7726  as_fn_exit $as_status
7727} # as_fn_error
7728
7729
7730# as_fn_set_status STATUS
7731# -----------------------
7732# Set $? to STATUS, without forking.
7733as_fn_set_status ()
7734{
7735  return $1
7736} # as_fn_set_status
7737
7738# as_fn_exit STATUS
7739# -----------------
7740# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7741as_fn_exit ()
7742{
7743  set +e
7744  as_fn_set_status $1
7745  exit $1
7746} # as_fn_exit
7747
7748# as_fn_unset VAR
7749# ---------------
7750# Portably unset VAR.
7751as_fn_unset ()
7752{
7753  { eval $1=; unset $1;}
7754}
7755as_unset=as_fn_unset
7756# as_fn_append VAR VALUE
7757# ----------------------
7758# Append the text in VALUE to the end of the definition contained in VAR. Take
7759# advantage of any shell optimizations that allow amortized linear growth over
7760# repeated appends, instead of the typical quadratic growth present in naive
7761# implementations.
7762if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7763  eval 'as_fn_append ()
7764  {
7765    eval $1+=\$2
7766  }'
7767else
7768  as_fn_append ()
7769  {
7770    eval $1=\$$1\$2
7771  }
7772fi # as_fn_append
7773
7774# as_fn_arith ARG...
7775# ------------------
7776# Perform arithmetic evaluation on the ARGs, and store the result in the
7777# global $as_val. Take advantage of shells that can avoid forks. The arguments
7778# must be portable across $(()) and expr.
7779if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7780  eval 'as_fn_arith ()
7781  {
7782    as_val=$(( $* ))
7783  }'
7784else
7785  as_fn_arith ()
7786  {
7787    as_val=`expr "$@" || test $? -eq 1`
7788  }
7789fi # as_fn_arith
7790
7791
7792if expr a : '\(a\)' >/dev/null 2>&1 &&
7793   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7794  as_expr=expr
7795else
7796  as_expr=false
7797fi
7798
7799if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7800  as_basename=basename
7801else
7802  as_basename=false
7803fi
7804
7805if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7806  as_dirname=dirname
7807else
7808  as_dirname=false
7809fi
7810
7811as_me=`$as_basename -- "$0" ||
7812$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7813	 X"$0" : 'X\(//\)$' \| \
7814	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7815$as_echo X/"$0" |
7816    sed '/^.*\/\([^/][^/]*\)\/*$/{
7817	    s//\1/
7818	    q
7819	  }
7820	  /^X\/\(\/\/\)$/{
7821	    s//\1/
7822	    q
7823	  }
7824	  /^X\/\(\/\).*/{
7825	    s//\1/
7826	    q
7827	  }
7828	  s/.*/./; q'`
7829
7830# Avoid depending upon Character Ranges.
7831as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7832as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7833as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7834as_cr_digits='0123456789'
7835as_cr_alnum=$as_cr_Letters$as_cr_digits
7836
7837ECHO_C= ECHO_N= ECHO_T=
7838case `echo -n x` in #(((((
7839-n*)
7840  case `echo 'xy\c'` in
7841  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
7842  xy)  ECHO_C='\c';;
7843  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7844       ECHO_T='	';;
7845  esac;;
7846*)
7847  ECHO_N='-n';;
7848esac
7849
7850rm -f conf$$ conf$$.exe conf$$.file
7851if test -d conf$$.dir; then
7852  rm -f conf$$.dir/conf$$.file
7853else
7854  rm -f conf$$.dir
7855  mkdir conf$$.dir 2>/dev/null
7856fi
7857if (echo >conf$$.file) 2>/dev/null; then
7858  if ln -s conf$$.file conf$$ 2>/dev/null; then
7859    as_ln_s='ln -s'
7860    # ... but there are two gotchas:
7861    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7862    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7863    # In both cases, we have to default to `cp -pR'.
7864    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7865      as_ln_s='cp -pR'
7866  elif ln conf$$.file conf$$ 2>/dev/null; then
7867    as_ln_s=ln
7868  else
7869    as_ln_s='cp -pR'
7870  fi
7871else
7872  as_ln_s='cp -pR'
7873fi
7874rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7875rmdir conf$$.dir 2>/dev/null
7876
7877
7878# as_fn_mkdir_p
7879# -------------
7880# Create "$as_dir" as a directory, including parents if necessary.
7881as_fn_mkdir_p ()
7882{
7883
7884  case $as_dir in #(
7885  -*) as_dir=./$as_dir;;
7886  esac
7887  test -d "$as_dir" || eval $as_mkdir_p || {
7888    as_dirs=
7889    while :; do
7890      case $as_dir in #(
7891      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7892      *) as_qdir=$as_dir;;
7893      esac
7894      as_dirs="'$as_qdir' $as_dirs"
7895      as_dir=`$as_dirname -- "$as_dir" ||
7896$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7897	 X"$as_dir" : 'X\(//\)[^/]' \| \
7898	 X"$as_dir" : 'X\(//\)$' \| \
7899	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7900$as_echo X"$as_dir" |
7901    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7902	    s//\1/
7903	    q
7904	  }
7905	  /^X\(\/\/\)[^/].*/{
7906	    s//\1/
7907	    q
7908	  }
7909	  /^X\(\/\/\)$/{
7910	    s//\1/
7911	    q
7912	  }
7913	  /^X\(\/\).*/{
7914	    s//\1/
7915	    q
7916	  }
7917	  s/.*/./; q'`
7918      test -d "$as_dir" && break
7919    done
7920    test -z "$as_dirs" || eval "mkdir $as_dirs"
7921  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7922
7923
7924} # as_fn_mkdir_p
7925if mkdir -p . 2>/dev/null; then
7926  as_mkdir_p='mkdir -p "$as_dir"'
7927else
7928  test -d ./-p && rmdir ./-p
7929  as_mkdir_p=false
7930fi
7931
7932
7933# as_fn_executable_p FILE
7934# -----------------------
7935# Test if FILE is an executable regular file.
7936as_fn_executable_p ()
7937{
7938  test -f "$1" && test -x "$1"
7939} # as_fn_executable_p
7940as_test_x='test -x'
7941as_executable_p=as_fn_executable_p
7942
7943# Sed expression to map a string onto a valid CPP name.
7944as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7945
7946# Sed expression to map a string onto a valid variable name.
7947as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7948
7949
7950exec 6>&1
7951## ----------------------------------- ##
7952## Main body of $CONFIG_STATUS script. ##
7953## ----------------------------------- ##
7954_ASEOF
7955test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7956
7957cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7958# Save the log message, to keep $0 and so on meaningful, and to
7959# report actual input values of CONFIG_FILES etc. instead of their
7960# values after options handling.
7961ac_log="
7962This file was extended by jp2a $as_me 1.1.1, which was
7963generated by GNU Autoconf 2.69.  Invocation command line was
7964
7965  CONFIG_FILES    = $CONFIG_FILES
7966  CONFIG_HEADERS  = $CONFIG_HEADERS
7967  CONFIG_LINKS    = $CONFIG_LINKS
7968  CONFIG_COMMANDS = $CONFIG_COMMANDS
7969  $ $0 $@
7970
7971on `(hostname || uname -n) 2>/dev/null | sed 1q`
7972"
7973
7974_ACEOF
7975
7976case $ac_config_files in *"
7977"*) set x $ac_config_files; shift; ac_config_files=$*;;
7978esac
7979
7980case $ac_config_headers in *"
7981"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7982esac
7983
7984
7985cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7986# Files that config.status was made for.
7987config_files="$ac_config_files"
7988config_headers="$ac_config_headers"
7989config_commands="$ac_config_commands"
7990
7991_ACEOF
7992
7993cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7994ac_cs_usage="\
7995\`$as_me' instantiates files and other configuration actions
7996from templates according to the current configuration.  Unless the files
7997and actions are specified as TAGs, all are instantiated by default.
7998
7999Usage: $0 [OPTION]... [TAG]...
8000
8001  -h, --help       print this help, then exit
8002  -V, --version    print version number and configuration settings, then exit
8003      --config     print configuration, then exit
8004  -q, --quiet, --silent
8005                   do not print progress messages
8006  -d, --debug      don't remove temporary files
8007      --recheck    update $as_me by reconfiguring in the same conditions
8008      --file=FILE[:TEMPLATE]
8009                   instantiate the configuration file FILE
8010      --header=FILE[:TEMPLATE]
8011                   instantiate the configuration header FILE
8012
8013Configuration files:
8014$config_files
8015
8016Configuration headers:
8017$config_headers
8018
8019Configuration commands:
8020$config_commands
8021
8022Report bugs to <chris-r@posteo.net>.
8023jp2a home page: <https://github.com/Talinx/jp2a>."
8024
8025_ACEOF
8026cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8027ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8028ac_cs_version="\\
8029jp2a config.status 1.1.1
8030configured by $0, generated by GNU Autoconf 2.69,
8031  with options \\"\$ac_cs_config\\"
8032
8033Copyright (C) 2012 Free Software Foundation, Inc.
8034This config.status script is free software; the Free Software Foundation
8035gives unlimited permission to copy, distribute and modify it."
8036
8037ac_pwd='$ac_pwd'
8038srcdir='$srcdir'
8039INSTALL='$INSTALL'
8040MKDIR_P='$MKDIR_P'
8041AWK='$AWK'
8042test -n "\$AWK" || AWK=awk
8043_ACEOF
8044
8045cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8046# The default lists apply if the user does not specify any file.
8047ac_need_defaults=:
8048while test $# != 0
8049do
8050  case $1 in
8051  --*=?*)
8052    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8053    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8054    ac_shift=:
8055    ;;
8056  --*=)
8057    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8058    ac_optarg=
8059    ac_shift=:
8060    ;;
8061  *)
8062    ac_option=$1
8063    ac_optarg=$2
8064    ac_shift=shift
8065    ;;
8066  esac
8067
8068  case $ac_option in
8069  # Handling of the options.
8070  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8071    ac_cs_recheck=: ;;
8072  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8073    $as_echo "$ac_cs_version"; exit ;;
8074  --config | --confi | --conf | --con | --co | --c )
8075    $as_echo "$ac_cs_config"; exit ;;
8076  --debug | --debu | --deb | --de | --d | -d )
8077    debug=: ;;
8078  --file | --fil | --fi | --f )
8079    $ac_shift
8080    case $ac_optarg in
8081    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8082    '') as_fn_error $? "missing file argument" ;;
8083    esac
8084    as_fn_append CONFIG_FILES " '$ac_optarg'"
8085    ac_need_defaults=false;;
8086  --header | --heade | --head | --hea )
8087    $ac_shift
8088    case $ac_optarg in
8089    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8090    esac
8091    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8092    ac_need_defaults=false;;
8093  --he | --h)
8094    # Conflict between --help and --header
8095    as_fn_error $? "ambiguous option: \`$1'
8096Try \`$0 --help' for more information.";;
8097  --help | --hel | -h )
8098    $as_echo "$ac_cs_usage"; exit ;;
8099  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8100  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8101    ac_cs_silent=: ;;
8102
8103  # This is an error.
8104  -*) as_fn_error $? "unrecognized option: \`$1'
8105Try \`$0 --help' for more information." ;;
8106
8107  *) as_fn_append ac_config_targets " $1"
8108     ac_need_defaults=false ;;
8109
8110  esac
8111  shift
8112done
8113
8114ac_configure_extra_args=
8115
8116if $ac_cs_silent; then
8117  exec 6>/dev/null
8118  ac_configure_extra_args="$ac_configure_extra_args --silent"
8119fi
8120
8121_ACEOF
8122cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8123if \$ac_cs_recheck; then
8124  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8125  shift
8126  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8127  CONFIG_SHELL='$SHELL'
8128  export CONFIG_SHELL
8129  exec "\$@"
8130fi
8131
8132_ACEOF
8133cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8134exec 5>>config.log
8135{
8136  echo
8137  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8138## Running $as_me. ##
8139_ASBOX
8140  $as_echo "$ac_log"
8141} >&5
8142
8143_ACEOF
8144cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8145#
8146# INIT-COMMANDS
8147#
8148AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
8149
8150_ACEOF
8151
8152cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8153
8154# Handling of arguments.
8155for ac_config_target in $ac_config_targets
8156do
8157  case $ac_config_target in
8158    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8159    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8160    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8161    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8162
8163  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8164  esac
8165done
8166
8167
8168# If the user did not use the arguments to specify the items to instantiate,
8169# then the envvar interface is used.  Set only those that are not.
8170# We use the long form for the default assignment because of an extremely
8171# bizarre bug on SunOS 4.1.3.
8172if $ac_need_defaults; then
8173  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8174  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8175  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8176fi
8177
8178# Have a temporary directory for convenience.  Make it in the build tree
8179# simply because there is no reason against having it here, and in addition,
8180# creating and moving files from /tmp can sometimes cause problems.
8181# Hook for its removal unless debugging.
8182# Note that there is a small window in which the directory will not be cleaned:
8183# after its creation but before its name has been assigned to `$tmp'.
8184$debug ||
8185{
8186  tmp= ac_tmp=
8187  trap 'exit_status=$?
8188  : "${ac_tmp:=$tmp}"
8189  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8190' 0
8191  trap 'as_fn_exit 1' 1 2 13 15
8192}
8193# Create a (secure) tmp directory for tmp files.
8194
8195{
8196  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8197  test -d "$tmp"
8198}  ||
8199{
8200  tmp=./conf$$-$RANDOM
8201  (umask 077 && mkdir "$tmp")
8202} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8203ac_tmp=$tmp
8204
8205# Set up the scripts for CONFIG_FILES section.
8206# No need to generate them if there are no CONFIG_FILES.
8207# This happens for instance with `./config.status config.h'.
8208if test -n "$CONFIG_FILES"; then
8209
8210
8211ac_cr=`echo X | tr X '\015'`
8212# On cygwin, bash can eat \r inside `` if the user requested igncr.
8213# But we know of no other shell where ac_cr would be empty at this
8214# point, so we can use a bashism as a fallback.
8215if test "x$ac_cr" = x; then
8216  eval ac_cr=\$\'\\r\'
8217fi
8218ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8219if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8220  ac_cs_awk_cr='\\r'
8221else
8222  ac_cs_awk_cr=$ac_cr
8223fi
8224
8225echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8226_ACEOF
8227
8228
8229{
8230  echo "cat >conf$$subs.awk <<_ACEOF" &&
8231  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8232  echo "_ACEOF"
8233} >conf$$subs.sh ||
8234  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8235ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8236ac_delim='%!_!# '
8237for ac_last_try in false false false false false :; do
8238  . ./conf$$subs.sh ||
8239    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8240
8241  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8242  if test $ac_delim_n = $ac_delim_num; then
8243    break
8244  elif $ac_last_try; then
8245    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8246  else
8247    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8248  fi
8249done
8250rm -f conf$$subs.sh
8251
8252cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8253cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8254_ACEOF
8255sed -n '
8256h
8257s/^/S["/; s/!.*/"]=/
8258p
8259g
8260s/^[^!]*!//
8261:repl
8262t repl
8263s/'"$ac_delim"'$//
8264t delim
8265:nl
8266h
8267s/\(.\{148\}\)..*/\1/
8268t more1
8269s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8270p
8271n
8272b repl
8273:more1
8274s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8275p
8276g
8277s/.\{148\}//
8278t nl
8279:delim
8280h
8281s/\(.\{148\}\)..*/\1/
8282t more2
8283s/["\\]/\\&/g; s/^/"/; s/$/"/
8284p
8285b
8286:more2
8287s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8288p
8289g
8290s/.\{148\}//
8291t delim
8292' <conf$$subs.awk | sed '
8293/^[^""]/{
8294  N
8295  s/\n//
8296}
8297' >>$CONFIG_STATUS || ac_write_fail=1
8298rm -f conf$$subs.awk
8299cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8300_ACAWK
8301cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8302  for (key in S) S_is_set[key] = 1
8303  FS = ""
8304
8305}
8306{
8307  line = $ 0
8308  nfields = split(line, field, "@")
8309  substed = 0
8310  len = length(field[1])
8311  for (i = 2; i < nfields; i++) {
8312    key = field[i]
8313    keylen = length(key)
8314    if (S_is_set[key]) {
8315      value = S[key]
8316      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8317      len += length(value) + length(field[++i])
8318      substed = 1
8319    } else
8320      len += 1 + keylen
8321  }
8322
8323  print line
8324}
8325
8326_ACAWK
8327_ACEOF
8328cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8329if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8330  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8331else
8332  cat
8333fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8334  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8335_ACEOF
8336
8337# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8338# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8339# trailing colons and then remove the whole line if VPATH becomes empty
8340# (actually we leave an empty line to preserve line numbers).
8341if test "x$srcdir" = x.; then
8342  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
8343h
8344s///
8345s/^/:/
8346s/[	 ]*$/:/
8347s/:\$(srcdir):/:/g
8348s/:\${srcdir}:/:/g
8349s/:@srcdir@:/:/g
8350s/^:*//
8351s/:*$//
8352x
8353s/\(=[	 ]*\).*/\1/
8354G
8355s/\n//
8356s/^[^=]*=[	 ]*$//
8357}'
8358fi
8359
8360cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8361fi # test -n "$CONFIG_FILES"
8362
8363# Set up the scripts for CONFIG_HEADERS section.
8364# No need to generate them if there are no CONFIG_HEADERS.
8365# This happens for instance with `./config.status Makefile'.
8366if test -n "$CONFIG_HEADERS"; then
8367cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8368BEGIN {
8369_ACEOF
8370
8371# Transform confdefs.h into an awk script `defines.awk', embedded as
8372# here-document in config.status, that substitutes the proper values into
8373# config.h.in to produce config.h.
8374
8375# Create a delimiter string that does not exist in confdefs.h, to ease
8376# handling of long lines.
8377ac_delim='%!_!# '
8378for ac_last_try in false false :; do
8379  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8380  if test -z "$ac_tt"; then
8381    break
8382  elif $ac_last_try; then
8383    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8384  else
8385    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8386  fi
8387done
8388
8389# For the awk script, D is an array of macro values keyed by name,
8390# likewise P contains macro parameters if any.  Preserve backslash
8391# newline sequences.
8392
8393ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8394sed -n '
8395s/.\{148\}/&'"$ac_delim"'/g
8396t rset
8397:rset
8398s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
8399t def
8400d
8401:def
8402s/\\$//
8403t bsnl
8404s/["\\]/\\&/g
8405s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
8406D["\1"]=" \3"/p
8407s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
8408d
8409:bsnl
8410s/["\\]/\\&/g
8411s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
8412D["\1"]=" \3\\\\\\n"\\/p
8413t cont
8414s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8415t cont
8416d
8417:cont
8418n
8419s/.\{148\}/&'"$ac_delim"'/g
8420t clear
8421:clear
8422s/\\$//
8423t bsnlc
8424s/["\\]/\\&/g; s/^/"/; s/$/"/p
8425d
8426:bsnlc
8427s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8428b cont
8429' <confdefs.h | sed '
8430s/'"$ac_delim"'/"\\\
8431"/g' >>$CONFIG_STATUS || ac_write_fail=1
8432
8433cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8434  for (key in D) D_is_set[key] = 1
8435  FS = ""
8436}
8437/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8438  line = \$ 0
8439  split(line, arg, " ")
8440  if (arg[1] == "#") {
8441    defundef = arg[2]
8442    mac1 = arg[3]
8443  } else {
8444    defundef = substr(arg[1], 2)
8445    mac1 = arg[2]
8446  }
8447  split(mac1, mac2, "(") #)
8448  macro = mac2[1]
8449  prefix = substr(line, 1, index(line, defundef) - 1)
8450  if (D_is_set[macro]) {
8451    # Preserve the white space surrounding the "#".
8452    print prefix "define", macro P[macro] D[macro]
8453    next
8454  } else {
8455    # Replace #undef with comments.  This is necessary, for example,
8456    # in the case of _POSIX_SOURCE, which is predefined and required
8457    # on some systems where configure will not decide to define it.
8458    if (defundef == "undef") {
8459      print "/*", prefix defundef, macro, "*/"
8460      next
8461    }
8462  }
8463}
8464{ print }
8465_ACAWK
8466_ACEOF
8467cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8468  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8469fi # test -n "$CONFIG_HEADERS"
8470
8471
8472eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
8473shift
8474for ac_tag
8475do
8476  case $ac_tag in
8477  :[FHLC]) ac_mode=$ac_tag; continue;;
8478  esac
8479  case $ac_mode$ac_tag in
8480  :[FHL]*:*);;
8481  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8482  :[FH]-) ac_tag=-:-;;
8483  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8484  esac
8485  ac_save_IFS=$IFS
8486  IFS=:
8487  set x $ac_tag
8488  IFS=$ac_save_IFS
8489  shift
8490  ac_file=$1
8491  shift
8492
8493  case $ac_mode in
8494  :L) ac_source=$1;;
8495  :[FH])
8496    ac_file_inputs=
8497    for ac_f
8498    do
8499      case $ac_f in
8500      -) ac_f="$ac_tmp/stdin";;
8501      *) # Look for the file first in the build tree, then in the source tree
8502	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
8503	 # because $ac_f cannot contain `:'.
8504	 test -f "$ac_f" ||
8505	   case $ac_f in
8506	   [\\/$]*) false;;
8507	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8508	   esac ||
8509	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8510      esac
8511      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8512      as_fn_append ac_file_inputs " '$ac_f'"
8513    done
8514
8515    # Let's still pretend it is `configure' which instantiates (i.e., don't
8516    # use $as_me), people would be surprised to read:
8517    #    /* config.h.  Generated by config.status.  */
8518    configure_input='Generated from '`
8519	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8520	`' by configure.'
8521    if test x"$ac_file" != x-; then
8522      configure_input="$ac_file.  $configure_input"
8523      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8524$as_echo "$as_me: creating $ac_file" >&6;}
8525    fi
8526    # Neutralize special characters interpreted by sed in replacement strings.
8527    case $configure_input in #(
8528    *\&* | *\|* | *\\* )
8529       ac_sed_conf_input=`$as_echo "$configure_input" |
8530       sed 's/[\\\\&|]/\\\\&/g'`;; #(
8531    *) ac_sed_conf_input=$configure_input;;
8532    esac
8533
8534    case $ac_tag in
8535    *:-:* | *:-) cat >"$ac_tmp/stdin" \
8536      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8537    esac
8538    ;;
8539  esac
8540
8541  ac_dir=`$as_dirname -- "$ac_file" ||
8542$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8543	 X"$ac_file" : 'X\(//\)[^/]' \| \
8544	 X"$ac_file" : 'X\(//\)$' \| \
8545	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8546$as_echo X"$ac_file" |
8547    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8548	    s//\1/
8549	    q
8550	  }
8551	  /^X\(\/\/\)[^/].*/{
8552	    s//\1/
8553	    q
8554	  }
8555	  /^X\(\/\/\)$/{
8556	    s//\1/
8557	    q
8558	  }
8559	  /^X\(\/\).*/{
8560	    s//\1/
8561	    q
8562	  }
8563	  s/.*/./; q'`
8564  as_dir="$ac_dir"; as_fn_mkdir_p
8565  ac_builddir=.
8566
8567case "$ac_dir" in
8568.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8569*)
8570  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8571  # A ".." for each directory in $ac_dir_suffix.
8572  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8573  case $ac_top_builddir_sub in
8574  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8575  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8576  esac ;;
8577esac
8578ac_abs_top_builddir=$ac_pwd
8579ac_abs_builddir=$ac_pwd$ac_dir_suffix
8580# for backward compatibility:
8581ac_top_builddir=$ac_top_build_prefix
8582
8583case $srcdir in
8584  .)  # We are building in place.
8585    ac_srcdir=.
8586    ac_top_srcdir=$ac_top_builddir_sub
8587    ac_abs_top_srcdir=$ac_pwd ;;
8588  [\\/]* | ?:[\\/]* )  # Absolute name.
8589    ac_srcdir=$srcdir$ac_dir_suffix;
8590    ac_top_srcdir=$srcdir
8591    ac_abs_top_srcdir=$srcdir ;;
8592  *) # Relative name.
8593    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8594    ac_top_srcdir=$ac_top_build_prefix$srcdir
8595    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8596esac
8597ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8598
8599
8600  case $ac_mode in
8601  :F)
8602  #
8603  # CONFIG_FILE
8604  #
8605
8606  case $INSTALL in
8607  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8608  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8609  esac
8610  ac_MKDIR_P=$MKDIR_P
8611  case $MKDIR_P in
8612  [\\/$]* | ?:[\\/]* ) ;;
8613  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8614  esac
8615_ACEOF
8616
8617cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8618# If the template does not know about datarootdir, expand it.
8619# FIXME: This hack should be removed a few years after 2.60.
8620ac_datarootdir_hack=; ac_datarootdir_seen=
8621ac_sed_dataroot='
8622/datarootdir/ {
8623  p
8624  q
8625}
8626/@datadir@/p
8627/@docdir@/p
8628/@infodir@/p
8629/@localedir@/p
8630/@mandir@/p'
8631case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8632*datarootdir*) ac_datarootdir_seen=yes;;
8633*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8634  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8635$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8636_ACEOF
8637cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8638  ac_datarootdir_hack='
8639  s&@datadir@&$datadir&g
8640  s&@docdir@&$docdir&g
8641  s&@infodir@&$infodir&g
8642  s&@localedir@&$localedir&g
8643  s&@mandir@&$mandir&g
8644  s&\\\${datarootdir}&$datarootdir&g' ;;
8645esac
8646_ACEOF
8647
8648# Neutralize VPATH when `$srcdir' = `.'.
8649# Shell code in configure.ac might set extrasub.
8650# FIXME: do we really want to maintain this feature?
8651cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8652ac_sed_extra="$ac_vpsub
8653$extrasub
8654_ACEOF
8655cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8656:t
8657/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8658s|@configure_input@|$ac_sed_conf_input|;t t
8659s&@top_builddir@&$ac_top_builddir_sub&;t t
8660s&@top_build_prefix@&$ac_top_build_prefix&;t t
8661s&@srcdir@&$ac_srcdir&;t t
8662s&@abs_srcdir@&$ac_abs_srcdir&;t t
8663s&@top_srcdir@&$ac_top_srcdir&;t t
8664s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8665s&@builddir@&$ac_builddir&;t t
8666s&@abs_builddir@&$ac_abs_builddir&;t t
8667s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8668s&@INSTALL@&$ac_INSTALL&;t t
8669s&@MKDIR_P@&$ac_MKDIR_P&;t t
8670$ac_datarootdir_hack
8671"
8672eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8673  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8674
8675test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8676  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8677  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
8678      "$ac_tmp/out"`; test -z "$ac_out"; } &&
8679  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8680which seems to be undefined.  Please make sure it is defined" >&5
8681$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8682which seems to be undefined.  Please make sure it is defined" >&2;}
8683
8684  rm -f "$ac_tmp/stdin"
8685  case $ac_file in
8686  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8687  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8688  esac \
8689  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8690 ;;
8691  :H)
8692  #
8693  # CONFIG_HEADER
8694  #
8695  if test x"$ac_file" != x-; then
8696    {
8697      $as_echo "/* $configure_input  */" \
8698      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8699    } >"$ac_tmp/config.h" \
8700      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8701    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8702      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8703$as_echo "$as_me: $ac_file is unchanged" >&6;}
8704    else
8705      rm -f "$ac_file"
8706      mv "$ac_tmp/config.h" "$ac_file" \
8707	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8708    fi
8709  else
8710    $as_echo "/* $configure_input  */" \
8711      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8712      || as_fn_error $? "could not create -" "$LINENO" 5
8713  fi
8714# Compute "$ac_file"'s index in $config_headers.
8715_am_arg="$ac_file"
8716_am_stamp_count=1
8717for _am_header in $config_headers :; do
8718  case $_am_header in
8719    $_am_arg | $_am_arg:* )
8720      break ;;
8721    * )
8722      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8723  esac
8724done
8725echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8726$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8727	 X"$_am_arg" : 'X\(//\)[^/]' \| \
8728	 X"$_am_arg" : 'X\(//\)$' \| \
8729	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8730$as_echo X"$_am_arg" |
8731    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8732	    s//\1/
8733	    q
8734	  }
8735	  /^X\(\/\/\)[^/].*/{
8736	    s//\1/
8737	    q
8738	  }
8739	  /^X\(\/\/\)$/{
8740	    s//\1/
8741	    q
8742	  }
8743	  /^X\(\/\).*/{
8744	    s//\1/
8745	    q
8746	  }
8747	  s/.*/./; q'`/stamp-h$_am_stamp_count
8748 ;;
8749
8750  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8751$as_echo "$as_me: executing $ac_file commands" >&6;}
8752 ;;
8753  esac
8754
8755
8756  case $ac_file$ac_mode in
8757    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8758  # Older Autoconf quotes --file arguments for eval, but not when files
8759  # are listed without --file.  Let's play safe and only enable the eval
8760  # if we detect the quoting.
8761  # TODO: see whether this extra hack can be removed once we start
8762  # requiring Autoconf 2.70 or later.
8763  case $CONFIG_FILES in #(
8764  *\'*) :
8765    eval set x "$CONFIG_FILES" ;; #(
8766  *) :
8767    set x $CONFIG_FILES ;; #(
8768  *) :
8769     ;;
8770esac
8771  shift
8772  # Used to flag and report bootstrapping failures.
8773  am_rc=0
8774  for am_mf
8775  do
8776    # Strip MF so we end up with the name of the file.
8777    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
8778    # Check whether this is an Automake generated Makefile which includes
8779    # dependency-tracking related rules and includes.
8780    # Grep'ing the whole file directly is not great: AIX grep has a line
8781    # limit of 2048, but all sed's we know have understand at least 4000.
8782    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
8783      || continue
8784    am_dirpart=`$as_dirname -- "$am_mf" ||
8785$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8786	 X"$am_mf" : 'X\(//\)[^/]' \| \
8787	 X"$am_mf" : 'X\(//\)$' \| \
8788	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8789$as_echo X"$am_mf" |
8790    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8791	    s//\1/
8792	    q
8793	  }
8794	  /^X\(\/\/\)[^/].*/{
8795	    s//\1/
8796	    q
8797	  }
8798	  /^X\(\/\/\)$/{
8799	    s//\1/
8800	    q
8801	  }
8802	  /^X\(\/\).*/{
8803	    s//\1/
8804	    q
8805	  }
8806	  s/.*/./; q'`
8807    am_filepart=`$as_basename -- "$am_mf" ||
8808$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
8809	 X"$am_mf" : 'X\(//\)$' \| \
8810	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8811$as_echo X/"$am_mf" |
8812    sed '/^.*\/\([^/][^/]*\)\/*$/{
8813	    s//\1/
8814	    q
8815	  }
8816	  /^X\/\(\/\/\)$/{
8817	    s//\1/
8818	    q
8819	  }
8820	  /^X\/\(\/\).*/{
8821	    s//\1/
8822	    q
8823	  }
8824	  s/.*/./; q'`
8825    { echo "$as_me:$LINENO: cd "$am_dirpart" \
8826      && sed -e '/# am--include-marker/d' "$am_filepart" \
8827        | $MAKE -f - am--depfiles" >&5
8828   (cd "$am_dirpart" \
8829      && sed -e '/# am--include-marker/d' "$am_filepart" \
8830        | $MAKE -f - am--depfiles) >&5 2>&5
8831   ac_status=$?
8832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833   (exit $ac_status); } || am_rc=$?
8834  done
8835  if test $am_rc -ne 0; then
8836    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8837$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8838as_fn_error $? "Something went wrong bootstrapping makefile fragments
8839    for automatic dependency tracking.  Try re-running configure with the
8840    '--disable-dependency-tracking' option to at least be able to build
8841    the package (albeit without support for automatic dependency tracking).
8842See \`config.log' for more details" "$LINENO" 5; }
8843  fi
8844  { am_dirpart=; unset am_dirpart;}
8845  { am_filepart=; unset am_filepart;}
8846  { am_mf=; unset am_mf;}
8847  { am_rc=; unset am_rc;}
8848  rm -f conftest-deps.mk
8849}
8850 ;;
8851
8852  esac
8853done # for ac_tag
8854
8855
8856as_fn_exit 0
8857_ACEOF
8858ac_clean_files=$ac_clean_files_save
8859
8860test $ac_write_fail = 0 ||
8861  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8862
8863
8864# configure is writing to config.log, and then calls config.status.
8865# config.status does its own redirection, appending to config.log.
8866# Unfortunately, on DOS this fails, as config.log is still kept open
8867# by configure, so config.status won't be able to write to it; its
8868# output is simply discarded.  So we exec the FD to /dev/null,
8869# effectively closing config.log, so it can be properly (re)opened and
8870# appended to by config.status.  When coming back to configure, we
8871# need to make the FD available again.
8872if test "$no_create" != yes; then
8873  ac_cs_success=:
8874  ac_config_status_args=
8875  test "$silent" = yes &&
8876    ac_config_status_args="$ac_config_status_args --quiet"
8877  exec 5>/dev/null
8878  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8879  exec 5>>config.log
8880  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8881  # would make configure fail if this is the last instruction.
8882  $ac_cs_success || as_fn_exit 1
8883fi
8884if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8885  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8886$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8887fi
8888
8889