1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for rtiff 1.1.
4#
5# Report bugs to <eric.kort@vai.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201  if (eval "$as_required") 2>/dev/null; then :
202  as_have_required=yes
203else
204  as_have_required=no
205fi
206  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207
208else
209  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210as_found=false
211for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212do
213  IFS=$as_save_IFS
214  test -z "$as_dir" && as_dir=.
215  as_found=:
216  case $as_dir in #(
217	 /*)
218	   for as_base in sh bash ksh sh5; do
219	     # Try only shells that exist, to save several forks.
220	     as_shell=$as_dir/$as_base
221	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223  CONFIG_SHELL=$as_shell as_have_required=yes
224		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225  break 2
226fi
227fi
228	   done;;
229       esac
230  as_found=false
231done
232$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234  CONFIG_SHELL=$SHELL as_have_required=yes
235fi; }
236IFS=$as_save_IFS
237
238
239      if test "x$CONFIG_SHELL" != x; then :
240  export CONFIG_SHELL
241             # We cannot yet assume a decent shell, so we have to provide a
242# neutralization value for shells without unset; and this also
243# works around shells that cannot unset nonexistent variables.
244# Preserve -v and -x to the replacement shell.
245BASH_ENV=/dev/null
246ENV=/dev/null
247(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248case $- in # ((((
249  *v*x* | *x*v* ) as_opts=-vx ;;
250  *v* ) as_opts=-v ;;
251  *x* ) as_opts=-x ;;
252  * ) as_opts= ;;
253esac
254exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255# Admittedly, this is quite paranoid, since all the known shells bail
256# out after a failed `exec'.
257$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258exit 255
259fi
260
261    if test x$as_have_required = xno; then :
262  $as_echo "$0: This script requires a shell more modern than all"
263  $as_echo "$0: the shells that I found on your system."
264  if test x${ZSH_VERSION+set} = xset ; then
265    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267  else
268    $as_echo "$0: Please tell bug-autoconf@gnu.org and eric.kort@vai.org
269$0: about your system, including any error possibly output
270$0: before this message. Then install a modern shell, or
271$0: manually run the script under such a shell if you do
272$0: have one."
273  fi
274  exit 1
275fi
276fi
277fi
278SHELL=${CONFIG_SHELL-/bin/sh}
279export SHELL
280# Unset more variables known to interfere with behavior of common tools.
281CLICOLOR_FORCE= GREP_OPTIONS=
282unset CLICOLOR_FORCE GREP_OPTIONS
283
284## --------------------- ##
285## M4sh Shell Functions. ##
286## --------------------- ##
287# as_fn_unset VAR
288# ---------------
289# Portably unset VAR.
290as_fn_unset ()
291{
292  { eval $1=; unset $1;}
293}
294as_unset=as_fn_unset
295
296# as_fn_set_status STATUS
297# -----------------------
298# Set $? to STATUS, without forking.
299as_fn_set_status ()
300{
301  return $1
302} # as_fn_set_status
303
304# as_fn_exit STATUS
305# -----------------
306# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307as_fn_exit ()
308{
309  set +e
310  as_fn_set_status $1
311  exit $1
312} # as_fn_exit
313
314# as_fn_mkdir_p
315# -------------
316# Create "$as_dir" as a directory, including parents if necessary.
317as_fn_mkdir_p ()
318{
319
320  case $as_dir in #(
321  -*) as_dir=./$as_dir;;
322  esac
323  test -d "$as_dir" || eval $as_mkdir_p || {
324    as_dirs=
325    while :; do
326      case $as_dir in #(
327      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328      *) as_qdir=$as_dir;;
329      esac
330      as_dirs="'$as_qdir' $as_dirs"
331      as_dir=`$as_dirname -- "$as_dir" ||
332$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333	 X"$as_dir" : 'X\(//\)[^/]' \| \
334	 X"$as_dir" : 'X\(//\)$' \| \
335	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336$as_echo X"$as_dir" |
337    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338	    s//\1/
339	    q
340	  }
341	  /^X\(\/\/\)[^/].*/{
342	    s//\1/
343	    q
344	  }
345	  /^X\(\/\/\)$/{
346	    s//\1/
347	    q
348	  }
349	  /^X\(\/\).*/{
350	    s//\1/
351	    q
352	  }
353	  s/.*/./; q'`
354      test -d "$as_dir" && break
355    done
356    test -z "$as_dirs" || eval "mkdir $as_dirs"
357  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358
359
360} # as_fn_mkdir_p
361
362# as_fn_executable_p FILE
363# -----------------------
364# Test if FILE is an executable regular file.
365as_fn_executable_p ()
366{
367  test -f "$1" && test -x "$1"
368} # as_fn_executable_p
369# as_fn_append VAR VALUE
370# ----------------------
371# Append the text in VALUE to the end of the definition contained in VAR. Take
372# advantage of any shell optimizations that allow amortized linear growth over
373# repeated appends, instead of the typical quadratic growth present in naive
374# implementations.
375if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376  eval 'as_fn_append ()
377  {
378    eval $1+=\$2
379  }'
380else
381  as_fn_append ()
382  {
383    eval $1=\$$1\$2
384  }
385fi # as_fn_append
386
387# as_fn_arith ARG...
388# ------------------
389# Perform arithmetic evaluation on the ARGs, and store the result in the
390# global $as_val. Take advantage of shells that can avoid forks. The arguments
391# must be portable across $(()) and expr.
392if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393  eval 'as_fn_arith ()
394  {
395    as_val=$(( $* ))
396  }'
397else
398  as_fn_arith ()
399  {
400    as_val=`expr "$@" || test $? -eq 1`
401  }
402fi # as_fn_arith
403
404
405# as_fn_error STATUS ERROR [LINENO LOG_FD]
406# ----------------------------------------
407# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409# script with STATUS, using 1 if that was 0.
410as_fn_error ()
411{
412  as_status=$1; test $as_status -eq 0 && as_status=1
413  if test "$4"; then
414    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416  fi
417  $as_echo "$as_me: error: $2" >&2
418  as_fn_exit $as_status
419} # as_fn_error
420
421if expr a : '\(a\)' >/dev/null 2>&1 &&
422   test "X`expr 00001 : '.*\(...\)'`" = X001; then
423  as_expr=expr
424else
425  as_expr=false
426fi
427
428if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429  as_basename=basename
430else
431  as_basename=false
432fi
433
434if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435  as_dirname=dirname
436else
437  as_dirname=false
438fi
439
440as_me=`$as_basename -- "$0" ||
441$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442	 X"$0" : 'X\(//\)$' \| \
443	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444$as_echo X/"$0" |
445    sed '/^.*\/\([^/][^/]*\)\/*$/{
446	    s//\1/
447	    q
448	  }
449	  /^X\/\(\/\/\)$/{
450	    s//\1/
451	    q
452	  }
453	  /^X\/\(\/\).*/{
454	    s//\1/
455	    q
456	  }
457	  s/.*/./; q'`
458
459# Avoid depending upon Character Ranges.
460as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463as_cr_digits='0123456789'
464as_cr_alnum=$as_cr_Letters$as_cr_digits
465
466
467  as_lineno_1=$LINENO as_lineno_1a=$LINENO
468  as_lineno_2=$LINENO as_lineno_2a=$LINENO
469  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
472  sed -n '
473    p
474    /[$]LINENO/=
475  ' <$as_myself |
476    sed '
477      s/[$]LINENO.*/&-/
478      t lineno
479      b
480      :lineno
481      N
482      :loop
483      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484      t loop
485      s/-\n.*//
486    ' >$as_me.lineno &&
487  chmod +x "$as_me.lineno" ||
488    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489
490  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491  # already done that, so ensure we don't try to do so again and fall
492  # in an infinite loop.  This has already happened in practice.
493  _as_can_reexec=no; export _as_can_reexec
494  # Don't try to exec as it changes $[0], causing all sort of problems
495  # (the dirname of $[0] is not the place where we might find the
496  # original and so on.  Autoconf is especially sensitive to this).
497  . "./$as_me.lineno"
498  # Exit status is that of the last command.
499  exit
500}
501
502ECHO_C= ECHO_N= ECHO_T=
503case `echo -n x` in #(((((
504-n*)
505  case `echo 'xy\c'` in
506  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
507  xy)  ECHO_C='\c';;
508  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
509       ECHO_T='	';;
510  esac;;
511*)
512  ECHO_N='-n';;
513esac
514
515rm -f conf$$ conf$$.exe conf$$.file
516if test -d conf$$.dir; then
517  rm -f conf$$.dir/conf$$.file
518else
519  rm -f conf$$.dir
520  mkdir conf$$.dir 2>/dev/null
521fi
522if (echo >conf$$.file) 2>/dev/null; then
523  if ln -s conf$$.file conf$$ 2>/dev/null; then
524    as_ln_s='ln -s'
525    # ... but there are two gotchas:
526    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528    # In both cases, we have to default to `cp -pR'.
529    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530      as_ln_s='cp -pR'
531  elif ln conf$$.file conf$$ 2>/dev/null; then
532    as_ln_s=ln
533  else
534    as_ln_s='cp -pR'
535  fi
536else
537  as_ln_s='cp -pR'
538fi
539rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540rmdir conf$$.dir 2>/dev/null
541
542if mkdir -p . 2>/dev/null; then
543  as_mkdir_p='mkdir -p "$as_dir"'
544else
545  test -d ./-p && rmdir ./-p
546  as_mkdir_p=false
547fi
548
549as_test_x='test -x'
550as_executable_p=as_fn_executable_p
551
552# Sed expression to map a string onto a valid CPP name.
553as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554
555# Sed expression to map a string onto a valid variable name.
556as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557
558
559test -n "$DJDIR" || exec 7<&0 </dev/null
560exec 6>&1
561
562# Name of the host.
563# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564# so uname gets run too.
565ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566
567#
568# Initializations.
569#
570ac_default_prefix=/usr/local
571ac_clean_files=
572ac_config_libobj_dir=.
573LIBOBJS=
574cross_compiling=no
575subdirs=
576MFLAGS=
577MAKEFLAGS=
578
579# Identity of this package.
580PACKAGE_NAME='rtiff'
581PACKAGE_TARNAME='rtiff'
582PACKAGE_VERSION='1.1'
583PACKAGE_STRING='rtiff 1.1'
584PACKAGE_BUGREPORT='eric.kort@vai.org'
585PACKAGE_URL=''
586
587ac_unique_file="src/rtiff.c"
588ac_subst_vars='LTLIBOBJS
589LIBOBJS
590PKG_LIBS
591OBJEXT
592EXEEXT
593ac_ct_CC
594CPPFLAGS
595LDFLAGS
596CFLAGS
597CC
598target_alias
599host_alias
600build_alias
601LIBS
602ECHO_T
603ECHO_N
604ECHO_C
605DEFS
606mandir
607localedir
608libdir
609psdir
610pdfdir
611dvidir
612htmldir
613infodir
614docdir
615oldincludedir
616includedir
617localstatedir
618sharedstatedir
619sysconfdir
620datadir
621datarootdir
622libexecdir
623sbindir
624bindir
625program_transform_name
626prefix
627exec_prefix
628PACKAGE_URL
629PACKAGE_BUGREPORT
630PACKAGE_STRING
631PACKAGE_VERSION
632PACKAGE_TARNAME
633PACKAGE_NAME
634PATH_SEPARATOR
635SHELL'
636ac_subst_files=''
637ac_user_opts='
638enable_option_checking
639'
640      ac_precious_vars='build_alias
641host_alias
642target_alias
643CC
644CFLAGS
645LDFLAGS
646LIBS
647CPPFLAGS'
648
649
650# Initialize some variables set by options.
651ac_init_help=
652ac_init_version=false
653ac_unrecognized_opts=
654ac_unrecognized_sep=
655# The variables have the same names as the options, with
656# dashes changed to underlines.
657cache_file=/dev/null
658exec_prefix=NONE
659no_create=
660no_recursion=
661prefix=NONE
662program_prefix=NONE
663program_suffix=NONE
664program_transform_name=s,x,x,
665silent=
666site=
667srcdir=
668verbose=
669x_includes=NONE
670x_libraries=NONE
671
672# Installation directory options.
673# These are left unexpanded so users can "make install exec_prefix=/foo"
674# and all the variables that are supposed to be based on exec_prefix
675# by default will actually change.
676# Use braces instead of parens because sh, perl, etc. also accept them.
677# (The list follows the same order as the GNU Coding Standards.)
678bindir='${exec_prefix}/bin'
679sbindir='${exec_prefix}/sbin'
680libexecdir='${exec_prefix}/libexec'
681datarootdir='${prefix}/share'
682datadir='${datarootdir}'
683sysconfdir='${prefix}/etc'
684sharedstatedir='${prefix}/com'
685localstatedir='${prefix}/var'
686includedir='${prefix}/include'
687oldincludedir='/usr/include'
688docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
689infodir='${datarootdir}/info'
690htmldir='${docdir}'
691dvidir='${docdir}'
692pdfdir='${docdir}'
693psdir='${docdir}'
694libdir='${exec_prefix}/lib'
695localedir='${datarootdir}/locale'
696mandir='${datarootdir}/man'
697
698ac_prev=
699ac_dashdash=
700for ac_option
701do
702  # If the previous option needs an argument, assign it.
703  if test -n "$ac_prev"; then
704    eval $ac_prev=\$ac_option
705    ac_prev=
706    continue
707  fi
708
709  case $ac_option in
710  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
711  *=)   ac_optarg= ;;
712  *)    ac_optarg=yes ;;
713  esac
714
715  # Accept the important Cygnus configure options, so we can diagnose typos.
716
717  case $ac_dashdash$ac_option in
718  --)
719    ac_dashdash=yes ;;
720
721  -bindir | --bindir | --bindi | --bind | --bin | --bi)
722    ac_prev=bindir ;;
723  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
724    bindir=$ac_optarg ;;
725
726  -build | --build | --buil | --bui | --bu)
727    ac_prev=build_alias ;;
728  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
729    build_alias=$ac_optarg ;;
730
731  -cache-file | --cache-file | --cache-fil | --cache-fi \
732  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
733    ac_prev=cache_file ;;
734  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
735  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
736    cache_file=$ac_optarg ;;
737
738  --config-cache | -C)
739    cache_file=config.cache ;;
740
741  -datadir | --datadir | --datadi | --datad)
742    ac_prev=datadir ;;
743  -datadir=* | --datadir=* | --datadi=* | --datad=*)
744    datadir=$ac_optarg ;;
745
746  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
747  | --dataroo | --dataro | --datar)
748    ac_prev=datarootdir ;;
749  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
750  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
751    datarootdir=$ac_optarg ;;
752
753  -disable-* | --disable-*)
754    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
755    # Reject names that are not valid shell variable names.
756    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
757      as_fn_error $? "invalid feature name: $ac_useropt"
758    ac_useropt_orig=$ac_useropt
759    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
760    case $ac_user_opts in
761      *"
762"enable_$ac_useropt"
763"*) ;;
764      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
765	 ac_unrecognized_sep=', ';;
766    esac
767    eval enable_$ac_useropt=no ;;
768
769  -docdir | --docdir | --docdi | --doc | --do)
770    ac_prev=docdir ;;
771  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
772    docdir=$ac_optarg ;;
773
774  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
775    ac_prev=dvidir ;;
776  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
777    dvidir=$ac_optarg ;;
778
779  -enable-* | --enable-*)
780    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
781    # Reject names that are not valid shell variable names.
782    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
783      as_fn_error $? "invalid feature name: $ac_useropt"
784    ac_useropt_orig=$ac_useropt
785    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
786    case $ac_user_opts in
787      *"
788"enable_$ac_useropt"
789"*) ;;
790      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
791	 ac_unrecognized_sep=', ';;
792    esac
793    eval enable_$ac_useropt=\$ac_optarg ;;
794
795  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
796  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
797  | --exec | --exe | --ex)
798    ac_prev=exec_prefix ;;
799  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
800  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
801  | --exec=* | --exe=* | --ex=*)
802    exec_prefix=$ac_optarg ;;
803
804  -gas | --gas | --ga | --g)
805    # Obsolete; use --with-gas.
806    with_gas=yes ;;
807
808  -help | --help | --hel | --he | -h)
809    ac_init_help=long ;;
810  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
811    ac_init_help=recursive ;;
812  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
813    ac_init_help=short ;;
814
815  -host | --host | --hos | --ho)
816    ac_prev=host_alias ;;
817  -host=* | --host=* | --hos=* | --ho=*)
818    host_alias=$ac_optarg ;;
819
820  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
821    ac_prev=htmldir ;;
822  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
823  | --ht=*)
824    htmldir=$ac_optarg ;;
825
826  -includedir | --includedir | --includedi | --included | --include \
827  | --includ | --inclu | --incl | --inc)
828    ac_prev=includedir ;;
829  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
830  | --includ=* | --inclu=* | --incl=* | --inc=*)
831    includedir=$ac_optarg ;;
832
833  -infodir | --infodir | --infodi | --infod | --info | --inf)
834    ac_prev=infodir ;;
835  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
836    infodir=$ac_optarg ;;
837
838  -libdir | --libdir | --libdi | --libd)
839    ac_prev=libdir ;;
840  -libdir=* | --libdir=* | --libdi=* | --libd=*)
841    libdir=$ac_optarg ;;
842
843  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
844  | --libexe | --libex | --libe)
845    ac_prev=libexecdir ;;
846  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
847  | --libexe=* | --libex=* | --libe=*)
848    libexecdir=$ac_optarg ;;
849
850  -localedir | --localedir | --localedi | --localed | --locale)
851    ac_prev=localedir ;;
852  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
853    localedir=$ac_optarg ;;
854
855  -localstatedir | --localstatedir | --localstatedi | --localstated \
856  | --localstate | --localstat | --localsta | --localst | --locals)
857    ac_prev=localstatedir ;;
858  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
859  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
860    localstatedir=$ac_optarg ;;
861
862  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
863    ac_prev=mandir ;;
864  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
865    mandir=$ac_optarg ;;
866
867  -nfp | --nfp | --nf)
868    # Obsolete; use --without-fp.
869    with_fp=no ;;
870
871  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
872  | --no-cr | --no-c | -n)
873    no_create=yes ;;
874
875  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
876  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
877    no_recursion=yes ;;
878
879  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
880  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
881  | --oldin | --oldi | --old | --ol | --o)
882    ac_prev=oldincludedir ;;
883  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
884  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
885  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
886    oldincludedir=$ac_optarg ;;
887
888  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
889    ac_prev=prefix ;;
890  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
891    prefix=$ac_optarg ;;
892
893  -program-prefix | --program-prefix | --program-prefi | --program-pref \
894  | --program-pre | --program-pr | --program-p)
895    ac_prev=program_prefix ;;
896  -program-prefix=* | --program-prefix=* | --program-prefi=* \
897  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
898    program_prefix=$ac_optarg ;;
899
900  -program-suffix | --program-suffix | --program-suffi | --program-suff \
901  | --program-suf | --program-su | --program-s)
902    ac_prev=program_suffix ;;
903  -program-suffix=* | --program-suffix=* | --program-suffi=* \
904  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
905    program_suffix=$ac_optarg ;;
906
907  -program-transform-name | --program-transform-name \
908  | --program-transform-nam | --program-transform-na \
909  | --program-transform-n | --program-transform- \
910  | --program-transform | --program-transfor \
911  | --program-transfo | --program-transf \
912  | --program-trans | --program-tran \
913  | --progr-tra | --program-tr | --program-t)
914    ac_prev=program_transform_name ;;
915  -program-transform-name=* | --program-transform-name=* \
916  | --program-transform-nam=* | --program-transform-na=* \
917  | --program-transform-n=* | --program-transform-=* \
918  | --program-transform=* | --program-transfor=* \
919  | --program-transfo=* | --program-transf=* \
920  | --program-trans=* | --program-tran=* \
921  | --progr-tra=* | --program-tr=* | --program-t=*)
922    program_transform_name=$ac_optarg ;;
923
924  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
925    ac_prev=pdfdir ;;
926  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
927    pdfdir=$ac_optarg ;;
928
929  -psdir | --psdir | --psdi | --psd | --ps)
930    ac_prev=psdir ;;
931  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
932    psdir=$ac_optarg ;;
933
934  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
935  | -silent | --silent | --silen | --sile | --sil)
936    silent=yes ;;
937
938  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
939    ac_prev=sbindir ;;
940  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
941  | --sbi=* | --sb=*)
942    sbindir=$ac_optarg ;;
943
944  -sharedstatedir | --sharedstatedir | --sharedstatedi \
945  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
946  | --sharedst | --shareds | --shared | --share | --shar \
947  | --sha | --sh)
948    ac_prev=sharedstatedir ;;
949  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
950  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
951  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
952  | --sha=* | --sh=*)
953    sharedstatedir=$ac_optarg ;;
954
955  -site | --site | --sit)
956    ac_prev=site ;;
957  -site=* | --site=* | --sit=*)
958    site=$ac_optarg ;;
959
960  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
961    ac_prev=srcdir ;;
962  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
963    srcdir=$ac_optarg ;;
964
965  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
966  | --syscon | --sysco | --sysc | --sys | --sy)
967    ac_prev=sysconfdir ;;
968  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
969  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
970    sysconfdir=$ac_optarg ;;
971
972  -target | --target | --targe | --targ | --tar | --ta | --t)
973    ac_prev=target_alias ;;
974  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
975    target_alias=$ac_optarg ;;
976
977  -v | -verbose | --verbose | --verbos | --verbo | --verb)
978    verbose=yes ;;
979
980  -version | --version | --versio | --versi | --vers | -V)
981    ac_init_version=: ;;
982
983  -with-* | --with-*)
984    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
985    # Reject names that are not valid shell variable names.
986    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
987      as_fn_error $? "invalid package name: $ac_useropt"
988    ac_useropt_orig=$ac_useropt
989    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
990    case $ac_user_opts in
991      *"
992"with_$ac_useropt"
993"*) ;;
994      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
995	 ac_unrecognized_sep=', ';;
996    esac
997    eval with_$ac_useropt=\$ac_optarg ;;
998
999  -without-* | --without-*)
1000    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1001    # Reject names that are not valid shell variable names.
1002    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003      as_fn_error $? "invalid package name: $ac_useropt"
1004    ac_useropt_orig=$ac_useropt
1005    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006    case $ac_user_opts in
1007      *"
1008"with_$ac_useropt"
1009"*) ;;
1010      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1011	 ac_unrecognized_sep=', ';;
1012    esac
1013    eval with_$ac_useropt=no ;;
1014
1015  --x)
1016    # Obsolete; use --with-x.
1017    with_x=yes ;;
1018
1019  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1020  | --x-incl | --x-inc | --x-in | --x-i)
1021    ac_prev=x_includes ;;
1022  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1023  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1024    x_includes=$ac_optarg ;;
1025
1026  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1027  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1028    ac_prev=x_libraries ;;
1029  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1030  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1031    x_libraries=$ac_optarg ;;
1032
1033  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1034Try \`$0 --help' for more information"
1035    ;;
1036
1037  *=*)
1038    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1039    # Reject names that are not valid shell variable names.
1040    case $ac_envvar in #(
1041      '' | [0-9]* | *[!_$as_cr_alnum]* )
1042      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1043    esac
1044    eval $ac_envvar=\$ac_optarg
1045    export $ac_envvar ;;
1046
1047  *)
1048    # FIXME: should be removed in autoconf 3.0.
1049    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1050    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1051      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1052    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1053    ;;
1054
1055  esac
1056done
1057
1058if test -n "$ac_prev"; then
1059  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1060  as_fn_error $? "missing argument to $ac_option"
1061fi
1062
1063if test -n "$ac_unrecognized_opts"; then
1064  case $enable_option_checking in
1065    no) ;;
1066    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1067    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1068  esac
1069fi
1070
1071# Check all directory arguments for consistency.
1072for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1073		datadir sysconfdir sharedstatedir localstatedir includedir \
1074		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1075		libdir localedir mandir
1076do
1077  eval ac_val=\$$ac_var
1078  # Remove trailing slashes.
1079  case $ac_val in
1080    */ )
1081      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1082      eval $ac_var=\$ac_val;;
1083  esac
1084  # Be sure to have absolute directory names.
1085  case $ac_val in
1086    [\\/$]* | ?:[\\/]* )  continue;;
1087    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1088  esac
1089  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1090done
1091
1092# There might be people who depend on the old broken behavior: `$host'
1093# used to hold the argument of --host etc.
1094# FIXME: To remove some day.
1095build=$build_alias
1096host=$host_alias
1097target=$target_alias
1098
1099# FIXME: To remove some day.
1100if test "x$host_alias" != x; then
1101  if test "x$build_alias" = x; then
1102    cross_compiling=maybe
1103  elif test "x$build_alias" != "x$host_alias"; then
1104    cross_compiling=yes
1105  fi
1106fi
1107
1108ac_tool_prefix=
1109test -n "$host_alias" && ac_tool_prefix=$host_alias-
1110
1111test "$silent" = yes && exec 6>/dev/null
1112
1113
1114ac_pwd=`pwd` && test -n "$ac_pwd" &&
1115ac_ls_di=`ls -di .` &&
1116ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1117  as_fn_error $? "working directory cannot be determined"
1118test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1119  as_fn_error $? "pwd does not report name of working directory"
1120
1121
1122# Find the source files, if location was not specified.
1123if test -z "$srcdir"; then
1124  ac_srcdir_defaulted=yes
1125  # Try the directory containing this script, then the parent directory.
1126  ac_confdir=`$as_dirname -- "$as_myself" ||
1127$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1128	 X"$as_myself" : 'X\(//\)[^/]' \| \
1129	 X"$as_myself" : 'X\(//\)$' \| \
1130	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1131$as_echo X"$as_myself" |
1132    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1133	    s//\1/
1134	    q
1135	  }
1136	  /^X\(\/\/\)[^/].*/{
1137	    s//\1/
1138	    q
1139	  }
1140	  /^X\(\/\/\)$/{
1141	    s//\1/
1142	    q
1143	  }
1144	  /^X\(\/\).*/{
1145	    s//\1/
1146	    q
1147	  }
1148	  s/.*/./; q'`
1149  srcdir=$ac_confdir
1150  if test ! -r "$srcdir/$ac_unique_file"; then
1151    srcdir=..
1152  fi
1153else
1154  ac_srcdir_defaulted=no
1155fi
1156if test ! -r "$srcdir/$ac_unique_file"; then
1157  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1158  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1159fi
1160ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1161ac_abs_confdir=`(
1162	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1163	pwd)`
1164# When building in place, set srcdir=.
1165if test "$ac_abs_confdir" = "$ac_pwd"; then
1166  srcdir=.
1167fi
1168# Remove unnecessary trailing slashes from srcdir.
1169# Double slashes in file names in object file debugging info
1170# mess up M-x gdb in Emacs.
1171case $srcdir in
1172*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1173esac
1174for ac_var in $ac_precious_vars; do
1175  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1176  eval ac_env_${ac_var}_value=\$${ac_var}
1177  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1178  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1179done
1180
1181#
1182# Report the --help message.
1183#
1184if test "$ac_init_help" = "long"; then
1185  # Omit some internal or obsolete options to make the list less imposing.
1186  # This message is too long to be a string in the A/UX 3.1 sh.
1187  cat <<_ACEOF
1188\`configure' configures rtiff 1.1 to adapt to many kinds of systems.
1189
1190Usage: $0 [OPTION]... [VAR=VALUE]...
1191
1192To assign environment variables (e.g., CC, CFLAGS...), specify them as
1193VAR=VALUE.  See below for descriptions of some of the useful variables.
1194
1195Defaults for the options are specified in brackets.
1196
1197Configuration:
1198  -h, --help              display this help and exit
1199      --help=short        display options specific to this package
1200      --help=recursive    display the short help of all the included packages
1201  -V, --version           display version information and exit
1202  -q, --quiet, --silent   do not print \`checking ...' messages
1203      --cache-file=FILE   cache test results in FILE [disabled]
1204  -C, --config-cache      alias for \`--cache-file=config.cache'
1205  -n, --no-create         do not create output files
1206      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1207
1208Installation directories:
1209  --prefix=PREFIX         install architecture-independent files in PREFIX
1210                          [$ac_default_prefix]
1211  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1212                          [PREFIX]
1213
1214By default, \`make install' will install all the files in
1215\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1216an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1217for instance \`--prefix=\$HOME'.
1218
1219For better control, use the options below.
1220
1221Fine tuning of the installation directories:
1222  --bindir=DIR            user executables [EPREFIX/bin]
1223  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1224  --libexecdir=DIR        program executables [EPREFIX/libexec]
1225  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1226  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1227  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1228  --libdir=DIR            object code libraries [EPREFIX/lib]
1229  --includedir=DIR        C header files [PREFIX/include]
1230  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1231  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1232  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1233  --infodir=DIR           info documentation [DATAROOTDIR/info]
1234  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1235  --mandir=DIR            man documentation [DATAROOTDIR/man]
1236  --docdir=DIR            documentation root [DATAROOTDIR/doc/rtiff]
1237  --htmldir=DIR           html documentation [DOCDIR]
1238  --dvidir=DIR            dvi documentation [DOCDIR]
1239  --pdfdir=DIR            pdf documentation [DOCDIR]
1240  --psdir=DIR             ps documentation [DOCDIR]
1241_ACEOF
1242
1243  cat <<\_ACEOF
1244_ACEOF
1245fi
1246
1247if test -n "$ac_init_help"; then
1248  case $ac_init_help in
1249     short | recursive ) echo "Configuration of rtiff 1.1:";;
1250   esac
1251  cat <<\_ACEOF
1252
1253Some influential environment variables:
1254  CC          C compiler command
1255  CFLAGS      C compiler flags
1256  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1257              nonstandard directory <lib dir>
1258  LIBS        libraries to pass to the linker, e.g. -l<library>
1259  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1260              you have headers in a nonstandard directory <include dir>
1261
1262Use these variables to override the choices made by `configure' or to help
1263it to find libraries and programs with nonstandard names/locations.
1264
1265Report bugs to <eric.kort@vai.org>.
1266_ACEOF
1267ac_status=$?
1268fi
1269
1270if test "$ac_init_help" = "recursive"; then
1271  # If there are subdirs, report their specific --help.
1272  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1273    test -d "$ac_dir" ||
1274      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1275      continue
1276    ac_builddir=.
1277
1278case "$ac_dir" in
1279.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1280*)
1281  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1282  # A ".." for each directory in $ac_dir_suffix.
1283  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1284  case $ac_top_builddir_sub in
1285  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1286  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1287  esac ;;
1288esac
1289ac_abs_top_builddir=$ac_pwd
1290ac_abs_builddir=$ac_pwd$ac_dir_suffix
1291# for backward compatibility:
1292ac_top_builddir=$ac_top_build_prefix
1293
1294case $srcdir in
1295  .)  # We are building in place.
1296    ac_srcdir=.
1297    ac_top_srcdir=$ac_top_builddir_sub
1298    ac_abs_top_srcdir=$ac_pwd ;;
1299  [\\/]* | ?:[\\/]* )  # Absolute name.
1300    ac_srcdir=$srcdir$ac_dir_suffix;
1301    ac_top_srcdir=$srcdir
1302    ac_abs_top_srcdir=$srcdir ;;
1303  *) # Relative name.
1304    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1305    ac_top_srcdir=$ac_top_build_prefix$srcdir
1306    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1307esac
1308ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1309
1310    cd "$ac_dir" || { ac_status=$?; continue; }
1311    # Check for guested configure.
1312    if test -f "$ac_srcdir/configure.gnu"; then
1313      echo &&
1314      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1315    elif test -f "$ac_srcdir/configure"; then
1316      echo &&
1317      $SHELL "$ac_srcdir/configure" --help=recursive
1318    else
1319      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1320    fi || ac_status=$?
1321    cd "$ac_pwd" || { ac_status=$?; break; }
1322  done
1323fi
1324
1325test -n "$ac_init_help" && exit $ac_status
1326if $ac_init_version; then
1327  cat <<\_ACEOF
1328rtiff configure 1.1
1329generated by GNU Autoconf 2.69
1330
1331Copyright (C) 2012 Free Software Foundation, Inc.
1332This configure script is free software; the Free Software Foundation
1333gives unlimited permission to copy, distribute and modify it.
1334_ACEOF
1335  exit
1336fi
1337
1338## ------------------------ ##
1339## Autoconf initialization. ##
1340## ------------------------ ##
1341
1342# ac_fn_c_try_compile LINENO
1343# --------------------------
1344# Try to compile conftest.$ac_ext, and return whether this succeeded.
1345ac_fn_c_try_compile ()
1346{
1347  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1348  rm -f conftest.$ac_objext
1349  if { { ac_try="$ac_compile"
1350case "(($ac_try" in
1351  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1352  *) ac_try_echo=$ac_try;;
1353esac
1354eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1355$as_echo "$ac_try_echo"; } >&5
1356  (eval "$ac_compile") 2>conftest.err
1357  ac_status=$?
1358  if test -s conftest.err; then
1359    grep -v '^ *+' conftest.err >conftest.er1
1360    cat conftest.er1 >&5
1361    mv -f conftest.er1 conftest.err
1362  fi
1363  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1364  test $ac_status = 0; } && {
1365	 test -z "$ac_c_werror_flag" ||
1366	 test ! -s conftest.err
1367       } && test -s conftest.$ac_objext; then :
1368  ac_retval=0
1369else
1370  $as_echo "$as_me: failed program was:" >&5
1371sed 's/^/| /' conftest.$ac_ext >&5
1372
1373	ac_retval=1
1374fi
1375  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1376  as_fn_set_status $ac_retval
1377
1378} # ac_fn_c_try_compile
1379
1380# ac_fn_c_try_link LINENO
1381# -----------------------
1382# Try to link conftest.$ac_ext, and return whether this succeeded.
1383ac_fn_c_try_link ()
1384{
1385  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1386  rm -f conftest.$ac_objext conftest$ac_exeext
1387  if { { ac_try="$ac_link"
1388case "(($ac_try" in
1389  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1390  *) ac_try_echo=$ac_try;;
1391esac
1392eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1393$as_echo "$ac_try_echo"; } >&5
1394  (eval "$ac_link") 2>conftest.err
1395  ac_status=$?
1396  if test -s conftest.err; then
1397    grep -v '^ *+' conftest.err >conftest.er1
1398    cat conftest.er1 >&5
1399    mv -f conftest.er1 conftest.err
1400  fi
1401  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1402  test $ac_status = 0; } && {
1403	 test -z "$ac_c_werror_flag" ||
1404	 test ! -s conftest.err
1405       } && test -s conftest$ac_exeext && {
1406	 test "$cross_compiling" = yes ||
1407	 test -x conftest$ac_exeext
1408       }; then :
1409  ac_retval=0
1410else
1411  $as_echo "$as_me: failed program was:" >&5
1412sed 's/^/| /' conftest.$ac_ext >&5
1413
1414	ac_retval=1
1415fi
1416  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1417  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1418  # interfere with the next link command; also delete a directory that is
1419  # left behind by Apple's compiler.  We do this before executing the actions.
1420  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1421  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1422  as_fn_set_status $ac_retval
1423
1424} # ac_fn_c_try_link
1425cat >config.log <<_ACEOF
1426This file contains any messages produced by compilers while
1427running configure, to aid debugging if configure makes a mistake.
1428
1429It was created by rtiff $as_me 1.1, which was
1430generated by GNU Autoconf 2.69.  Invocation command line was
1431
1432  $ $0 $@
1433
1434_ACEOF
1435exec 5>>config.log
1436{
1437cat <<_ASUNAME
1438## --------- ##
1439## Platform. ##
1440## --------- ##
1441
1442hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1443uname -m = `(uname -m) 2>/dev/null || echo unknown`
1444uname -r = `(uname -r) 2>/dev/null || echo unknown`
1445uname -s = `(uname -s) 2>/dev/null || echo unknown`
1446uname -v = `(uname -v) 2>/dev/null || echo unknown`
1447
1448/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1449/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1450
1451/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1452/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1453/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1454/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1455/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1456/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1457/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1458
1459_ASUNAME
1460
1461as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1462for as_dir in $PATH
1463do
1464  IFS=$as_save_IFS
1465  test -z "$as_dir" && as_dir=.
1466    $as_echo "PATH: $as_dir"
1467  done
1468IFS=$as_save_IFS
1469
1470} >&5
1471
1472cat >&5 <<_ACEOF
1473
1474
1475## ----------- ##
1476## Core tests. ##
1477## ----------- ##
1478
1479_ACEOF
1480
1481
1482# Keep a trace of the command line.
1483# Strip out --no-create and --no-recursion so they do not pile up.
1484# Strip out --silent because we don't want to record it for future runs.
1485# Also quote any args containing shell meta-characters.
1486# Make two passes to allow for proper duplicate-argument suppression.
1487ac_configure_args=
1488ac_configure_args0=
1489ac_configure_args1=
1490ac_must_keep_next=false
1491for ac_pass in 1 2
1492do
1493  for ac_arg
1494  do
1495    case $ac_arg in
1496    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1497    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1498    | -silent | --silent | --silen | --sile | --sil)
1499      continue ;;
1500    *\'*)
1501      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1502    esac
1503    case $ac_pass in
1504    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1505    2)
1506      as_fn_append ac_configure_args1 " '$ac_arg'"
1507      if test $ac_must_keep_next = true; then
1508	ac_must_keep_next=false # Got value, back to normal.
1509      else
1510	case $ac_arg in
1511	  *=* | --config-cache | -C | -disable-* | --disable-* \
1512	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1513	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1514	  | -with-* | --with-* | -without-* | --without-* | --x)
1515	    case "$ac_configure_args0 " in
1516	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1517	    esac
1518	    ;;
1519	  -* ) ac_must_keep_next=true ;;
1520	esac
1521      fi
1522      as_fn_append ac_configure_args " '$ac_arg'"
1523      ;;
1524    esac
1525  done
1526done
1527{ ac_configure_args0=; unset ac_configure_args0;}
1528{ ac_configure_args1=; unset ac_configure_args1;}
1529
1530# When interrupted or exit'd, cleanup temporary files, and complete
1531# config.log.  We remove comments because anyway the quotes in there
1532# would cause problems or look ugly.
1533# WARNING: Use '\'' to represent an apostrophe within the trap.
1534# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1535trap 'exit_status=$?
1536  # Save into config.log some information that might help in debugging.
1537  {
1538    echo
1539
1540    $as_echo "## ---------------- ##
1541## Cache variables. ##
1542## ---------------- ##"
1543    echo
1544    # The following way of writing the cache mishandles newlines in values,
1545(
1546  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1547    eval ac_val=\$$ac_var
1548    case $ac_val in #(
1549    *${as_nl}*)
1550      case $ac_var in #(
1551      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1552$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1553      esac
1554      case $ac_var in #(
1555      _ | IFS | as_nl) ;; #(
1556      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1557      *) { eval $ac_var=; unset $ac_var;} ;;
1558      esac ;;
1559    esac
1560  done
1561  (set) 2>&1 |
1562    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1563    *${as_nl}ac_space=\ *)
1564      sed -n \
1565	"s/'\''/'\''\\\\'\'''\''/g;
1566	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1567      ;; #(
1568    *)
1569      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1570      ;;
1571    esac |
1572    sort
1573)
1574    echo
1575
1576    $as_echo "## ----------------- ##
1577## Output variables. ##
1578## ----------------- ##"
1579    echo
1580    for ac_var in $ac_subst_vars
1581    do
1582      eval ac_val=\$$ac_var
1583      case $ac_val in
1584      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1585      esac
1586      $as_echo "$ac_var='\''$ac_val'\''"
1587    done | sort
1588    echo
1589
1590    if test -n "$ac_subst_files"; then
1591      $as_echo "## ------------------- ##
1592## File substitutions. ##
1593## ------------------- ##"
1594      echo
1595      for ac_var in $ac_subst_files
1596      do
1597	eval ac_val=\$$ac_var
1598	case $ac_val in
1599	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1600	esac
1601	$as_echo "$ac_var='\''$ac_val'\''"
1602      done | sort
1603      echo
1604    fi
1605
1606    if test -s confdefs.h; then
1607      $as_echo "## ----------- ##
1608## confdefs.h. ##
1609## ----------- ##"
1610      echo
1611      cat confdefs.h
1612      echo
1613    fi
1614    test "$ac_signal" != 0 &&
1615      $as_echo "$as_me: caught signal $ac_signal"
1616    $as_echo "$as_me: exit $exit_status"
1617  } >&5
1618  rm -f core *.core core.conftest.* &&
1619    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1620    exit $exit_status
1621' 0
1622for ac_signal in 1 2 13 15; do
1623  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1624done
1625ac_signal=0
1626
1627# confdefs.h avoids OS command line length limits that DEFS can exceed.
1628rm -f -r conftest* confdefs.h
1629
1630$as_echo "/* confdefs.h */" > confdefs.h
1631
1632# Predefined preprocessor variables.
1633
1634cat >>confdefs.h <<_ACEOF
1635#define PACKAGE_NAME "$PACKAGE_NAME"
1636_ACEOF
1637
1638cat >>confdefs.h <<_ACEOF
1639#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1640_ACEOF
1641
1642cat >>confdefs.h <<_ACEOF
1643#define PACKAGE_VERSION "$PACKAGE_VERSION"
1644_ACEOF
1645
1646cat >>confdefs.h <<_ACEOF
1647#define PACKAGE_STRING "$PACKAGE_STRING"
1648_ACEOF
1649
1650cat >>confdefs.h <<_ACEOF
1651#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1652_ACEOF
1653
1654cat >>confdefs.h <<_ACEOF
1655#define PACKAGE_URL "$PACKAGE_URL"
1656_ACEOF
1657
1658
1659# Let the site file select an alternate cache file if it wants to.
1660# Prefer an explicitly selected file to automatically selected ones.
1661ac_site_file1=NONE
1662ac_site_file2=NONE
1663if test -n "$CONFIG_SITE"; then
1664  # We do not want a PATH search for config.site.
1665  case $CONFIG_SITE in #((
1666    -*)  ac_site_file1=./$CONFIG_SITE;;
1667    */*) ac_site_file1=$CONFIG_SITE;;
1668    *)   ac_site_file1=./$CONFIG_SITE;;
1669  esac
1670elif test "x$prefix" != xNONE; then
1671  ac_site_file1=$prefix/share/config.site
1672  ac_site_file2=$prefix/etc/config.site
1673else
1674  ac_site_file1=$ac_default_prefix/share/config.site
1675  ac_site_file2=$ac_default_prefix/etc/config.site
1676fi
1677for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1678do
1679  test "x$ac_site_file" = xNONE && continue
1680  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1681    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1682$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1683    sed 's/^/| /' "$ac_site_file" >&5
1684    . "$ac_site_file" \
1685      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1686$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1687as_fn_error $? "failed to load site script $ac_site_file
1688See \`config.log' for more details" "$LINENO" 5; }
1689  fi
1690done
1691
1692if test -r "$cache_file"; then
1693  # Some versions of bash will fail to source /dev/null (special files
1694  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1695  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1696    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1697$as_echo "$as_me: loading cache $cache_file" >&6;}
1698    case $cache_file in
1699      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1700      *)                      . "./$cache_file";;
1701    esac
1702  fi
1703else
1704  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1705$as_echo "$as_me: creating cache $cache_file" >&6;}
1706  >$cache_file
1707fi
1708
1709# Check that the precious variables saved in the cache have kept the same
1710# value.
1711ac_cache_corrupted=false
1712for ac_var in $ac_precious_vars; do
1713  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1714  eval ac_new_set=\$ac_env_${ac_var}_set
1715  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1716  eval ac_new_val=\$ac_env_${ac_var}_value
1717  case $ac_old_set,$ac_new_set in
1718    set,)
1719      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1720$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1721      ac_cache_corrupted=: ;;
1722    ,set)
1723      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1724$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1725      ac_cache_corrupted=: ;;
1726    ,);;
1727    *)
1728      if test "x$ac_old_val" != "x$ac_new_val"; then
1729	# differences in whitespace do not lead to failure.
1730	ac_old_val_w=`echo x $ac_old_val`
1731	ac_new_val_w=`echo x $ac_new_val`
1732	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1733	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1734$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1735	  ac_cache_corrupted=:
1736	else
1737	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1738$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1739	  eval $ac_var=\$ac_old_val
1740	fi
1741	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1742$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1743	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1744$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1745      fi;;
1746  esac
1747  # Pass precious variables to config.status.
1748  if test "$ac_new_set" = set; then
1749    case $ac_new_val in
1750    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1751    *) ac_arg=$ac_var=$ac_new_val ;;
1752    esac
1753    case " $ac_configure_args " in
1754      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1755      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1756    esac
1757  fi
1758done
1759if $ac_cache_corrupted; then
1760  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1761$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1762  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1763$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1764  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1765fi
1766## -------------------- ##
1767## Main body of script. ##
1768## -------------------- ##
1769
1770ac_ext=c
1771ac_cpp='$CPP $CPPFLAGS'
1772ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1773ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1774ac_compiler_gnu=$ac_cv_c_compiler_gnu
1775
1776
1777
1778
1779# Checks for programs.
1780ac_ext=c
1781ac_cpp='$CPP $CPPFLAGS'
1782ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1783ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1784ac_compiler_gnu=$ac_cv_c_compiler_gnu
1785if test -n "$ac_tool_prefix"; then
1786  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1787set dummy ${ac_tool_prefix}gcc; ac_word=$2
1788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1789$as_echo_n "checking for $ac_word... " >&6; }
1790if ${ac_cv_prog_CC+:} false; then :
1791  $as_echo_n "(cached) " >&6
1792else
1793  if test -n "$CC"; then
1794  ac_cv_prog_CC="$CC" # Let the user override the test.
1795else
1796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1797for as_dir in $PATH
1798do
1799  IFS=$as_save_IFS
1800  test -z "$as_dir" && as_dir=.
1801    for ac_exec_ext in '' $ac_executable_extensions; do
1802  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1803    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1804    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1805    break 2
1806  fi
1807done
1808  done
1809IFS=$as_save_IFS
1810
1811fi
1812fi
1813CC=$ac_cv_prog_CC
1814if test -n "$CC"; then
1815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1816$as_echo "$CC" >&6; }
1817else
1818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1819$as_echo "no" >&6; }
1820fi
1821
1822
1823fi
1824if test -z "$ac_cv_prog_CC"; then
1825  ac_ct_CC=$CC
1826  # Extract the first word of "gcc", so it can be a program name with args.
1827set dummy gcc; ac_word=$2
1828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1829$as_echo_n "checking for $ac_word... " >&6; }
1830if ${ac_cv_prog_ac_ct_CC+:} false; then :
1831  $as_echo_n "(cached) " >&6
1832else
1833  if test -n "$ac_ct_CC"; then
1834  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1835else
1836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837for as_dir in $PATH
1838do
1839  IFS=$as_save_IFS
1840  test -z "$as_dir" && as_dir=.
1841    for ac_exec_ext in '' $ac_executable_extensions; do
1842  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843    ac_cv_prog_ac_ct_CC="gcc"
1844    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1845    break 2
1846  fi
1847done
1848  done
1849IFS=$as_save_IFS
1850
1851fi
1852fi
1853ac_ct_CC=$ac_cv_prog_ac_ct_CC
1854if test -n "$ac_ct_CC"; then
1855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1856$as_echo "$ac_ct_CC" >&6; }
1857else
1858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1859$as_echo "no" >&6; }
1860fi
1861
1862  if test "x$ac_ct_CC" = x; then
1863    CC=""
1864  else
1865    case $cross_compiling:$ac_tool_warned in
1866yes:)
1867{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1868$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1869ac_tool_warned=yes ;;
1870esac
1871    CC=$ac_ct_CC
1872  fi
1873else
1874  CC="$ac_cv_prog_CC"
1875fi
1876
1877if test -z "$CC"; then
1878          if test -n "$ac_tool_prefix"; then
1879    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1880set dummy ${ac_tool_prefix}cc; ac_word=$2
1881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1882$as_echo_n "checking for $ac_word... " >&6; }
1883if ${ac_cv_prog_CC+:} false; then :
1884  $as_echo_n "(cached) " >&6
1885else
1886  if test -n "$CC"; then
1887  ac_cv_prog_CC="$CC" # Let the user override the test.
1888else
1889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890for as_dir in $PATH
1891do
1892  IFS=$as_save_IFS
1893  test -z "$as_dir" && as_dir=.
1894    for ac_exec_ext in '' $ac_executable_extensions; do
1895  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1896    ac_cv_prog_CC="${ac_tool_prefix}cc"
1897    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1898    break 2
1899  fi
1900done
1901  done
1902IFS=$as_save_IFS
1903
1904fi
1905fi
1906CC=$ac_cv_prog_CC
1907if test -n "$CC"; then
1908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1909$as_echo "$CC" >&6; }
1910else
1911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1912$as_echo "no" >&6; }
1913fi
1914
1915
1916  fi
1917fi
1918if test -z "$CC"; then
1919  # Extract the first word of "cc", so it can be a program name with args.
1920set dummy cc; ac_word=$2
1921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1922$as_echo_n "checking for $ac_word... " >&6; }
1923if ${ac_cv_prog_CC+:} false; then :
1924  $as_echo_n "(cached) " >&6
1925else
1926  if test -n "$CC"; then
1927  ac_cv_prog_CC="$CC" # Let the user override the test.
1928else
1929  ac_prog_rejected=no
1930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931for as_dir in $PATH
1932do
1933  IFS=$as_save_IFS
1934  test -z "$as_dir" && as_dir=.
1935    for ac_exec_ext in '' $ac_executable_extensions; do
1936  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1937    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1938       ac_prog_rejected=yes
1939       continue
1940     fi
1941    ac_cv_prog_CC="cc"
1942    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1943    break 2
1944  fi
1945done
1946  done
1947IFS=$as_save_IFS
1948
1949if test $ac_prog_rejected = yes; then
1950  # We found a bogon in the path, so make sure we never use it.
1951  set dummy $ac_cv_prog_CC
1952  shift
1953  if test $# != 0; then
1954    # We chose a different compiler from the bogus one.
1955    # However, it has the same basename, so the bogon will be chosen
1956    # first if we set CC to just the basename; use the full file name.
1957    shift
1958    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1959  fi
1960fi
1961fi
1962fi
1963CC=$ac_cv_prog_CC
1964if test -n "$CC"; then
1965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1966$as_echo "$CC" >&6; }
1967else
1968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1969$as_echo "no" >&6; }
1970fi
1971
1972
1973fi
1974if test -z "$CC"; then
1975  if test -n "$ac_tool_prefix"; then
1976  for ac_prog in cl.exe
1977  do
1978    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1979set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1981$as_echo_n "checking for $ac_word... " >&6; }
1982if ${ac_cv_prog_CC+:} false; then :
1983  $as_echo_n "(cached) " >&6
1984else
1985  if test -n "$CC"; then
1986  ac_cv_prog_CC="$CC" # Let the user override the test.
1987else
1988as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1989for as_dir in $PATH
1990do
1991  IFS=$as_save_IFS
1992  test -z "$as_dir" && as_dir=.
1993    for ac_exec_ext in '' $ac_executable_extensions; do
1994  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1995    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1996    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1997    break 2
1998  fi
1999done
2000  done
2001IFS=$as_save_IFS
2002
2003fi
2004fi
2005CC=$ac_cv_prog_CC
2006if test -n "$CC"; then
2007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2008$as_echo "$CC" >&6; }
2009else
2010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2011$as_echo "no" >&6; }
2012fi
2013
2014
2015    test -n "$CC" && break
2016  done
2017fi
2018if test -z "$CC"; then
2019  ac_ct_CC=$CC
2020  for ac_prog in cl.exe
2021do
2022  # Extract the first word of "$ac_prog", so it can be a program name with args.
2023set dummy $ac_prog; ac_word=$2
2024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2025$as_echo_n "checking for $ac_word... " >&6; }
2026if ${ac_cv_prog_ac_ct_CC+:} false; then :
2027  $as_echo_n "(cached) " >&6
2028else
2029  if test -n "$ac_ct_CC"; then
2030  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2031else
2032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2033for as_dir in $PATH
2034do
2035  IFS=$as_save_IFS
2036  test -z "$as_dir" && as_dir=.
2037    for ac_exec_ext in '' $ac_executable_extensions; do
2038  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2039    ac_cv_prog_ac_ct_CC="$ac_prog"
2040    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2041    break 2
2042  fi
2043done
2044  done
2045IFS=$as_save_IFS
2046
2047fi
2048fi
2049ac_ct_CC=$ac_cv_prog_ac_ct_CC
2050if test -n "$ac_ct_CC"; then
2051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2052$as_echo "$ac_ct_CC" >&6; }
2053else
2054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2055$as_echo "no" >&6; }
2056fi
2057
2058
2059  test -n "$ac_ct_CC" && break
2060done
2061
2062  if test "x$ac_ct_CC" = x; then
2063    CC=""
2064  else
2065    case $cross_compiling:$ac_tool_warned in
2066yes:)
2067{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2068$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2069ac_tool_warned=yes ;;
2070esac
2071    CC=$ac_ct_CC
2072  fi
2073fi
2074
2075fi
2076
2077
2078test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2079$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2080as_fn_error $? "no acceptable C compiler found in \$PATH
2081See \`config.log' for more details" "$LINENO" 5; }
2082
2083# Provide some information about the compiler.
2084$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2085set X $ac_compile
2086ac_compiler=$2
2087for ac_option in --version -v -V -qversion; do
2088  { { ac_try="$ac_compiler $ac_option >&5"
2089case "(($ac_try" in
2090  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2091  *) ac_try_echo=$ac_try;;
2092esac
2093eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2094$as_echo "$ac_try_echo"; } >&5
2095  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2096  ac_status=$?
2097  if test -s conftest.err; then
2098    sed '10a\
2099... rest of stderr output deleted ...
2100         10q' conftest.err >conftest.er1
2101    cat conftest.er1 >&5
2102  fi
2103  rm -f conftest.er1 conftest.err
2104  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2105  test $ac_status = 0; }
2106done
2107
2108cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109/* end confdefs.h.  */
2110
2111int
2112main ()
2113{
2114
2115  ;
2116  return 0;
2117}
2118_ACEOF
2119ac_clean_files_save=$ac_clean_files
2120ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2121# Try to create an executable without -o first, disregard a.out.
2122# It will help us diagnose broken compilers, and finding out an intuition
2123# of exeext.
2124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2125$as_echo_n "checking whether the C compiler works... " >&6; }
2126ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2127
2128# The possible output files:
2129ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2130
2131ac_rmfiles=
2132for ac_file in $ac_files
2133do
2134  case $ac_file in
2135    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2136    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2137  esac
2138done
2139rm -f $ac_rmfiles
2140
2141if { { ac_try="$ac_link_default"
2142case "(($ac_try" in
2143  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2144  *) ac_try_echo=$ac_try;;
2145esac
2146eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2147$as_echo "$ac_try_echo"; } >&5
2148  (eval "$ac_link_default") 2>&5
2149  ac_status=$?
2150  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2151  test $ac_status = 0; }; then :
2152  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2153# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2154# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2155# so that the user can short-circuit this test for compilers unknown to
2156# Autoconf.
2157for ac_file in $ac_files ''
2158do
2159  test -f "$ac_file" || continue
2160  case $ac_file in
2161    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2162	;;
2163    [ab].out )
2164	# We found the default executable, but exeext='' is most
2165	# certainly right.
2166	break;;
2167    *.* )
2168	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2169	then :; else
2170	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2171	fi
2172	# We set ac_cv_exeext here because the later test for it is not
2173	# safe: cross compilers may not add the suffix if given an `-o'
2174	# argument, so we may need to know it at that point already.
2175	# Even if this section looks crufty: it has the advantage of
2176	# actually working.
2177	break;;
2178    * )
2179	break;;
2180  esac
2181done
2182test "$ac_cv_exeext" = no && ac_cv_exeext=
2183
2184else
2185  ac_file=''
2186fi
2187if test -z "$ac_file"; then :
2188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2189$as_echo "no" >&6; }
2190$as_echo "$as_me: failed program was:" >&5
2191sed 's/^/| /' conftest.$ac_ext >&5
2192
2193{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2194$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2195as_fn_error 77 "C compiler cannot create executables
2196See \`config.log' for more details" "$LINENO" 5; }
2197else
2198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2199$as_echo "yes" >&6; }
2200fi
2201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2202$as_echo_n "checking for C compiler default output file name... " >&6; }
2203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2204$as_echo "$ac_file" >&6; }
2205ac_exeext=$ac_cv_exeext
2206
2207rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2208ac_clean_files=$ac_clean_files_save
2209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2210$as_echo_n "checking for suffix of executables... " >&6; }
2211if { { ac_try="$ac_link"
2212case "(($ac_try" in
2213  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2214  *) ac_try_echo=$ac_try;;
2215esac
2216eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2217$as_echo "$ac_try_echo"; } >&5
2218  (eval "$ac_link") 2>&5
2219  ac_status=$?
2220  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2221  test $ac_status = 0; }; then :
2222  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2223# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2224# work properly (i.e., refer to `conftest.exe'), while it won't with
2225# `rm'.
2226for ac_file in conftest.exe conftest conftest.*; do
2227  test -f "$ac_file" || continue
2228  case $ac_file in
2229    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2230    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2231	  break;;
2232    * ) break;;
2233  esac
2234done
2235else
2236  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2237$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2238as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2239See \`config.log' for more details" "$LINENO" 5; }
2240fi
2241rm -f conftest conftest$ac_cv_exeext
2242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2243$as_echo "$ac_cv_exeext" >&6; }
2244
2245rm -f conftest.$ac_ext
2246EXEEXT=$ac_cv_exeext
2247ac_exeext=$EXEEXT
2248cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2249/* end confdefs.h.  */
2250#include <stdio.h>
2251int
2252main ()
2253{
2254FILE *f = fopen ("conftest.out", "w");
2255 return ferror (f) || fclose (f) != 0;
2256
2257  ;
2258  return 0;
2259}
2260_ACEOF
2261ac_clean_files="$ac_clean_files conftest.out"
2262# Check that the compiler produces executables we can run.  If not, either
2263# the compiler is broken, or we cross compile.
2264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2265$as_echo_n "checking whether we are cross compiling... " >&6; }
2266if test "$cross_compiling" != yes; then
2267  { { ac_try="$ac_link"
2268case "(($ac_try" in
2269  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2270  *) ac_try_echo=$ac_try;;
2271esac
2272eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2273$as_echo "$ac_try_echo"; } >&5
2274  (eval "$ac_link") 2>&5
2275  ac_status=$?
2276  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2277  test $ac_status = 0; }
2278  if { ac_try='./conftest$ac_cv_exeext'
2279  { { case "(($ac_try" in
2280  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2281  *) ac_try_echo=$ac_try;;
2282esac
2283eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2284$as_echo "$ac_try_echo"; } >&5
2285  (eval "$ac_try") 2>&5
2286  ac_status=$?
2287  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2288  test $ac_status = 0; }; }; then
2289    cross_compiling=no
2290  else
2291    if test "$cross_compiling" = maybe; then
2292	cross_compiling=yes
2293    else
2294	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2295$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2296as_fn_error $? "cannot run C compiled programs.
2297If you meant to cross compile, use \`--host'.
2298See \`config.log' for more details" "$LINENO" 5; }
2299    fi
2300  fi
2301fi
2302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2303$as_echo "$cross_compiling" >&6; }
2304
2305rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2306ac_clean_files=$ac_clean_files_save
2307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2308$as_echo_n "checking for suffix of object files... " >&6; }
2309if ${ac_cv_objext+:} false; then :
2310  $as_echo_n "(cached) " >&6
2311else
2312  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2313/* end confdefs.h.  */
2314
2315int
2316main ()
2317{
2318
2319  ;
2320  return 0;
2321}
2322_ACEOF
2323rm -f conftest.o conftest.obj
2324if { { ac_try="$ac_compile"
2325case "(($ac_try" in
2326  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2327  *) ac_try_echo=$ac_try;;
2328esac
2329eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2330$as_echo "$ac_try_echo"; } >&5
2331  (eval "$ac_compile") 2>&5
2332  ac_status=$?
2333  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2334  test $ac_status = 0; }; then :
2335  for ac_file in conftest.o conftest.obj conftest.*; do
2336  test -f "$ac_file" || continue;
2337  case $ac_file in
2338    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2339    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2340       break;;
2341  esac
2342done
2343else
2344  $as_echo "$as_me: failed program was:" >&5
2345sed 's/^/| /' conftest.$ac_ext >&5
2346
2347{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2348$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2349as_fn_error $? "cannot compute suffix of object files: cannot compile
2350See \`config.log' for more details" "$LINENO" 5; }
2351fi
2352rm -f conftest.$ac_cv_objext conftest.$ac_ext
2353fi
2354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2355$as_echo "$ac_cv_objext" >&6; }
2356OBJEXT=$ac_cv_objext
2357ac_objext=$OBJEXT
2358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2359$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2360if ${ac_cv_c_compiler_gnu+:} false; then :
2361  $as_echo_n "(cached) " >&6
2362else
2363  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2364/* end confdefs.h.  */
2365
2366int
2367main ()
2368{
2369#ifndef __GNUC__
2370       choke me
2371#endif
2372
2373  ;
2374  return 0;
2375}
2376_ACEOF
2377if ac_fn_c_try_compile "$LINENO"; then :
2378  ac_compiler_gnu=yes
2379else
2380  ac_compiler_gnu=no
2381fi
2382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383ac_cv_c_compiler_gnu=$ac_compiler_gnu
2384
2385fi
2386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2387$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2388if test $ac_compiler_gnu = yes; then
2389  GCC=yes
2390else
2391  GCC=
2392fi
2393ac_test_CFLAGS=${CFLAGS+set}
2394ac_save_CFLAGS=$CFLAGS
2395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2396$as_echo_n "checking whether $CC accepts -g... " >&6; }
2397if ${ac_cv_prog_cc_g+:} false; then :
2398  $as_echo_n "(cached) " >&6
2399else
2400  ac_save_c_werror_flag=$ac_c_werror_flag
2401   ac_c_werror_flag=yes
2402   ac_cv_prog_cc_g=no
2403   CFLAGS="-g"
2404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2405/* end confdefs.h.  */
2406
2407int
2408main ()
2409{
2410
2411  ;
2412  return 0;
2413}
2414_ACEOF
2415if ac_fn_c_try_compile "$LINENO"; then :
2416  ac_cv_prog_cc_g=yes
2417else
2418  CFLAGS=""
2419      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2420/* end confdefs.h.  */
2421
2422int
2423main ()
2424{
2425
2426  ;
2427  return 0;
2428}
2429_ACEOF
2430if ac_fn_c_try_compile "$LINENO"; then :
2431
2432else
2433  ac_c_werror_flag=$ac_save_c_werror_flag
2434	 CFLAGS="-g"
2435	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2436/* end confdefs.h.  */
2437
2438int
2439main ()
2440{
2441
2442  ;
2443  return 0;
2444}
2445_ACEOF
2446if ac_fn_c_try_compile "$LINENO"; then :
2447  ac_cv_prog_cc_g=yes
2448fi
2449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2450fi
2451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2452fi
2453rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2454   ac_c_werror_flag=$ac_save_c_werror_flag
2455fi
2456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2457$as_echo "$ac_cv_prog_cc_g" >&6; }
2458if test "$ac_test_CFLAGS" = set; then
2459  CFLAGS=$ac_save_CFLAGS
2460elif test $ac_cv_prog_cc_g = yes; then
2461  if test "$GCC" = yes; then
2462    CFLAGS="-g -O2"
2463  else
2464    CFLAGS="-g"
2465  fi
2466else
2467  if test "$GCC" = yes; then
2468    CFLAGS="-O2"
2469  else
2470    CFLAGS=
2471  fi
2472fi
2473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2474$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2475if ${ac_cv_prog_cc_c89+:} false; then :
2476  $as_echo_n "(cached) " >&6
2477else
2478  ac_cv_prog_cc_c89=no
2479ac_save_CC=$CC
2480cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481/* end confdefs.h.  */
2482#include <stdarg.h>
2483#include <stdio.h>
2484struct stat;
2485/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2486struct buf { int x; };
2487FILE * (*rcsopen) (struct buf *, struct stat *, int);
2488static char *e (p, i)
2489     char **p;
2490     int i;
2491{
2492  return p[i];
2493}
2494static char *f (char * (*g) (char **, int), char **p, ...)
2495{
2496  char *s;
2497  va_list v;
2498  va_start (v,p);
2499  s = g (p, va_arg (v,int));
2500  va_end (v);
2501  return s;
2502}
2503
2504/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2505   function prototypes and stuff, but not '\xHH' hex character constants.
2506   These don't provoke an error unfortunately, instead are silently treated
2507   as 'x'.  The following induces an error, until -std is added to get
2508   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2509   array size at least.  It's necessary to write '\x00'==0 to get something
2510   that's true only with -std.  */
2511int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2512
2513/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2514   inside strings and character constants.  */
2515#define FOO(x) 'x'
2516int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2517
2518int test (int i, double x);
2519struct s1 {int (*f) (int a);};
2520struct s2 {int (*f) (double a);};
2521int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2522int argc;
2523char **argv;
2524int
2525main ()
2526{
2527return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2528  ;
2529  return 0;
2530}
2531_ACEOF
2532for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2533	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2534do
2535  CC="$ac_save_CC $ac_arg"
2536  if ac_fn_c_try_compile "$LINENO"; then :
2537  ac_cv_prog_cc_c89=$ac_arg
2538fi
2539rm -f core conftest.err conftest.$ac_objext
2540  test "x$ac_cv_prog_cc_c89" != "xno" && break
2541done
2542rm -f conftest.$ac_ext
2543CC=$ac_save_CC
2544
2545fi
2546# AC_CACHE_VAL
2547case "x$ac_cv_prog_cc_c89" in
2548  x)
2549    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2550$as_echo "none needed" >&6; } ;;
2551  xno)
2552    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2553$as_echo "unsupported" >&6; } ;;
2554  *)
2555    CC="$CC $ac_cv_prog_cc_c89"
2556    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2557$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2558esac
2559if test "x$ac_cv_prog_cc_c89" != xno; then :
2560
2561fi
2562
2563ac_ext=c
2564ac_cpp='$CPP $CPPFLAGS'
2565ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2566ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2567ac_compiler_gnu=$ac_cv_c_compiler_gnu
2568
2569
2570# Checks for libtiff.
2571
2572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFOpen in -ltiff" >&5
2573$as_echo_n "checking for TIFFOpen in -ltiff... " >&6; }
2574if ${ac_cv_lib_tiff_TIFFOpen+:} false; then :
2575  $as_echo_n "(cached) " >&6
2576else
2577  ac_check_lib_save_LIBS=$LIBS
2578LIBS="-ltiff  $LIBS"
2579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2580/* end confdefs.h.  */
2581
2582/* Override any GCC internal prototype to avoid an error.
2583   Use char because int might match the return type of a GCC
2584   builtin and then its argument prototype would still apply.  */
2585#ifdef __cplusplus
2586extern "C"
2587#endif
2588char TIFFOpen ();
2589int
2590main ()
2591{
2592return TIFFOpen ();
2593  ;
2594  return 0;
2595}
2596_ACEOF
2597if ac_fn_c_try_link "$LINENO"; then :
2598  ac_cv_lib_tiff_TIFFOpen=yes
2599else
2600  ac_cv_lib_tiff_TIFFOpen=no
2601fi
2602rm -f core conftest.err conftest.$ac_objext \
2603    conftest$ac_exeext conftest.$ac_ext
2604LIBS=$ac_check_lib_save_LIBS
2605fi
2606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFOpen" >&5
2607$as_echo "$ac_cv_lib_tiff_TIFFOpen" >&6; }
2608if test "x$ac_cv_lib_tiff_TIFFOpen" = xyes; then :
2609  have_tiff=yes
2610else
2611  have_tiff=no
2612fi
2613
2614if test "x${have_tiff}" = xyes; then
2615PKG_LIBS="-ltiff"
2616else
2617  ## version for Mac OS X, static libtiff 4.0.x
2618  unset ac_cv_lib_tiff_TIFFOpen
2619  echo 'Try static libs needed on OS X'
2620  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFOpen in -ltiff" >&5
2621$as_echo_n "checking for TIFFOpen in -ltiff... " >&6; }
2622if ${ac_cv_lib_tiff_TIFFOpen+:} false; then :
2623  $as_echo_n "(cached) " >&6
2624else
2625  ac_check_lib_save_LIBS=$LIBS
2626LIBS="-ltiff -llzma -ljpeg -lz $LIBS"
2627cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2628/* end confdefs.h.  */
2629
2630/* Override any GCC internal prototype to avoid an error.
2631   Use char because int might match the return type of a GCC
2632   builtin and then its argument prototype would still apply.  */
2633#ifdef __cplusplus
2634extern "C"
2635#endif
2636char TIFFOpen ();
2637int
2638main ()
2639{
2640return TIFFOpen ();
2641  ;
2642  return 0;
2643}
2644_ACEOF
2645if ac_fn_c_try_link "$LINENO"; then :
2646  ac_cv_lib_tiff_TIFFOpen=yes
2647else
2648  ac_cv_lib_tiff_TIFFOpen=no
2649fi
2650rm -f core conftest.err conftest.$ac_objext \
2651    conftest$ac_exeext conftest.$ac_ext
2652LIBS=$ac_check_lib_save_LIBS
2653fi
2654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFOpen" >&5
2655$as_echo "$ac_cv_lib_tiff_TIFFOpen" >&6; }
2656if test "x$ac_cv_lib_tiff_TIFFOpen" = xyes; then :
2657  have_tiff=yes
2658else
2659  have_tiff=no
2660fi
2661
2662  if test "x${have_tiff}" = xyes; then
2663    PKG_LIBS="-ltiff -llzma -ljpeg -lz"
2664  else
2665                echo Error: Could not find libtiff.
2666                exit -1
2667  fi
2668fi
2669
2670
2671ac_config_files="$ac_config_files src/Makevars"
2672
2673cat >confcache <<\_ACEOF
2674# This file is a shell script that caches the results of configure
2675# tests run on this system so they can be shared between configure
2676# scripts and configure runs, see configure's option --config-cache.
2677# It is not useful on other systems.  If it contains results you don't
2678# want to keep, you may remove or edit it.
2679#
2680# config.status only pays attention to the cache file if you give it
2681# the --recheck option to rerun configure.
2682#
2683# `ac_cv_env_foo' variables (set or unset) will be overridden when
2684# loading this file, other *unset* `ac_cv_foo' will be assigned the
2685# following values.
2686
2687_ACEOF
2688
2689# The following way of writing the cache mishandles newlines in values,
2690# but we know of no workaround that is simple, portable, and efficient.
2691# So, we kill variables containing newlines.
2692# Ultrix sh set writes to stderr and can't be redirected directly,
2693# and sets the high bit in the cache file unless we assign to the vars.
2694(
2695  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2696    eval ac_val=\$$ac_var
2697    case $ac_val in #(
2698    *${as_nl}*)
2699      case $ac_var in #(
2700      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2701$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2702      esac
2703      case $ac_var in #(
2704      _ | IFS | as_nl) ;; #(
2705      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2706      *) { eval $ac_var=; unset $ac_var;} ;;
2707      esac ;;
2708    esac
2709  done
2710
2711  (set) 2>&1 |
2712    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2713    *${as_nl}ac_space=\ *)
2714      # `set' does not quote correctly, so add quotes: double-quote
2715      # substitution turns \\\\ into \\, and sed turns \\ into \.
2716      sed -n \
2717	"s/'/'\\\\''/g;
2718	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2719      ;; #(
2720    *)
2721      # `set' quotes correctly as required by POSIX, so do not add quotes.
2722      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2723      ;;
2724    esac |
2725    sort
2726) |
2727  sed '
2728     /^ac_cv_env_/b end
2729     t clear
2730     :clear
2731     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2732     t end
2733     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2734     :end' >>confcache
2735if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2736  if test -w "$cache_file"; then
2737    if test "x$cache_file" != "x/dev/null"; then
2738      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2739$as_echo "$as_me: updating cache $cache_file" >&6;}
2740      if test ! -f "$cache_file" || test -h "$cache_file"; then
2741	cat confcache >"$cache_file"
2742      else
2743        case $cache_file in #(
2744        */* | ?:*)
2745	  mv -f confcache "$cache_file"$$ &&
2746	  mv -f "$cache_file"$$ "$cache_file" ;; #(
2747        *)
2748	  mv -f confcache "$cache_file" ;;
2749	esac
2750      fi
2751    fi
2752  else
2753    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2754$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2755  fi
2756fi
2757rm -f confcache
2758
2759test "x$prefix" = xNONE && prefix=$ac_default_prefix
2760# Let make expand exec_prefix.
2761test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2762
2763# Transform confdefs.h into DEFS.
2764# Protect against shell expansion while executing Makefile rules.
2765# Protect against Makefile macro expansion.
2766#
2767# If the first sed substitution is executed (which looks for macros that
2768# take arguments), then branch to the quote section.  Otherwise,
2769# look for a macro that doesn't take arguments.
2770ac_script='
2771:mline
2772/\\$/{
2773 N
2774 s,\\\n,,
2775 b mline
2776}
2777t clear
2778:clear
2779s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2780t quote
2781s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2782t quote
2783b any
2784:quote
2785s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2786s/\[/\\&/g
2787s/\]/\\&/g
2788s/\$/$$/g
2789H
2790:any
2791${
2792	g
2793	s/^\n//
2794	s/\n/ /g
2795	p
2796}
2797'
2798DEFS=`sed -n "$ac_script" confdefs.h`
2799
2800
2801ac_libobjs=
2802ac_ltlibobjs=
2803U=
2804for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2805  # 1. Remove the extension, and $U if already installed.
2806  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2807  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2808  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2809  #    will be set to the directory where LIBOBJS objects are built.
2810  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2811  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2812done
2813LIBOBJS=$ac_libobjs
2814
2815LTLIBOBJS=$ac_ltlibobjs
2816
2817
2818
2819: "${CONFIG_STATUS=./config.status}"
2820ac_write_fail=0
2821ac_clean_files_save=$ac_clean_files
2822ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2823{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2824$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2825as_write_fail=0
2826cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2827#! $SHELL
2828# Generated by $as_me.
2829# Run this file to recreate the current configuration.
2830# Compiler output produced by configure, useful for debugging
2831# configure, is in config.log if it exists.
2832
2833debug=false
2834ac_cs_recheck=false
2835ac_cs_silent=false
2836
2837SHELL=\${CONFIG_SHELL-$SHELL}
2838export SHELL
2839_ASEOF
2840cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2841## -------------------- ##
2842## M4sh Initialization. ##
2843## -------------------- ##
2844
2845# Be more Bourne compatible
2846DUALCASE=1; export DUALCASE # for MKS sh
2847if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2848  emulate sh
2849  NULLCMD=:
2850  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2851  # is contrary to our usage.  Disable this feature.
2852  alias -g '${1+"$@"}'='"$@"'
2853  setopt NO_GLOB_SUBST
2854else
2855  case `(set -o) 2>/dev/null` in #(
2856  *posix*) :
2857    set -o posix ;; #(
2858  *) :
2859     ;;
2860esac
2861fi
2862
2863
2864as_nl='
2865'
2866export as_nl
2867# Printing a long string crashes Solaris 7 /usr/bin/printf.
2868as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2869as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2870as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2871# Prefer a ksh shell builtin over an external printf program on Solaris,
2872# but without wasting forks for bash or zsh.
2873if test -z "$BASH_VERSION$ZSH_VERSION" \
2874    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2875  as_echo='print -r --'
2876  as_echo_n='print -rn --'
2877elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2878  as_echo='printf %s\n'
2879  as_echo_n='printf %s'
2880else
2881  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2882    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2883    as_echo_n='/usr/ucb/echo -n'
2884  else
2885    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2886    as_echo_n_body='eval
2887      arg=$1;
2888      case $arg in #(
2889      *"$as_nl"*)
2890	expr "X$arg" : "X\\(.*\\)$as_nl";
2891	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2892      esac;
2893      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2894    '
2895    export as_echo_n_body
2896    as_echo_n='sh -c $as_echo_n_body as_echo'
2897  fi
2898  export as_echo_body
2899  as_echo='sh -c $as_echo_body as_echo'
2900fi
2901
2902# The user is always right.
2903if test "${PATH_SEPARATOR+set}" != set; then
2904  PATH_SEPARATOR=:
2905  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2906    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2907      PATH_SEPARATOR=';'
2908  }
2909fi
2910
2911
2912# IFS
2913# We need space, tab and new line, in precisely that order.  Quoting is
2914# there to prevent editors from complaining about space-tab.
2915# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2916# splitting by setting IFS to empty value.)
2917IFS=" ""	$as_nl"
2918
2919# Find who we are.  Look in the path if we contain no directory separator.
2920as_myself=
2921case $0 in #((
2922  *[\\/]* ) as_myself=$0 ;;
2923  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2924for as_dir in $PATH
2925do
2926  IFS=$as_save_IFS
2927  test -z "$as_dir" && as_dir=.
2928    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2929  done
2930IFS=$as_save_IFS
2931
2932     ;;
2933esac
2934# We did not find ourselves, most probably we were run as `sh COMMAND'
2935# in which case we are not to be found in the path.
2936if test "x$as_myself" = x; then
2937  as_myself=$0
2938fi
2939if test ! -f "$as_myself"; then
2940  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2941  exit 1
2942fi
2943
2944# Unset variables that we do not need and which cause bugs (e.g. in
2945# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2946# suppresses any "Segmentation fault" message there.  '((' could
2947# trigger a bug in pdksh 5.2.14.
2948for as_var in BASH_ENV ENV MAIL MAILPATH
2949do eval test x\${$as_var+set} = xset \
2950  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2951done
2952PS1='$ '
2953PS2='> '
2954PS4='+ '
2955
2956# NLS nuisances.
2957LC_ALL=C
2958export LC_ALL
2959LANGUAGE=C
2960export LANGUAGE
2961
2962# CDPATH.
2963(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2964
2965
2966# as_fn_error STATUS ERROR [LINENO LOG_FD]
2967# ----------------------------------------
2968# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2969# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2970# script with STATUS, using 1 if that was 0.
2971as_fn_error ()
2972{
2973  as_status=$1; test $as_status -eq 0 && as_status=1
2974  if test "$4"; then
2975    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2976    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2977  fi
2978  $as_echo "$as_me: error: $2" >&2
2979  as_fn_exit $as_status
2980} # as_fn_error
2981
2982
2983# as_fn_set_status STATUS
2984# -----------------------
2985# Set $? to STATUS, without forking.
2986as_fn_set_status ()
2987{
2988  return $1
2989} # as_fn_set_status
2990
2991# as_fn_exit STATUS
2992# -----------------
2993# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2994as_fn_exit ()
2995{
2996  set +e
2997  as_fn_set_status $1
2998  exit $1
2999} # as_fn_exit
3000
3001# as_fn_unset VAR
3002# ---------------
3003# Portably unset VAR.
3004as_fn_unset ()
3005{
3006  { eval $1=; unset $1;}
3007}
3008as_unset=as_fn_unset
3009# as_fn_append VAR VALUE
3010# ----------------------
3011# Append the text in VALUE to the end of the definition contained in VAR. Take
3012# advantage of any shell optimizations that allow amortized linear growth over
3013# repeated appends, instead of the typical quadratic growth present in naive
3014# implementations.
3015if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3016  eval 'as_fn_append ()
3017  {
3018    eval $1+=\$2
3019  }'
3020else
3021  as_fn_append ()
3022  {
3023    eval $1=\$$1\$2
3024  }
3025fi # as_fn_append
3026
3027# as_fn_arith ARG...
3028# ------------------
3029# Perform arithmetic evaluation on the ARGs, and store the result in the
3030# global $as_val. Take advantage of shells that can avoid forks. The arguments
3031# must be portable across $(()) and expr.
3032if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3033  eval 'as_fn_arith ()
3034  {
3035    as_val=$(( $* ))
3036  }'
3037else
3038  as_fn_arith ()
3039  {
3040    as_val=`expr "$@" || test $? -eq 1`
3041  }
3042fi # as_fn_arith
3043
3044
3045if expr a : '\(a\)' >/dev/null 2>&1 &&
3046   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3047  as_expr=expr
3048else
3049  as_expr=false
3050fi
3051
3052if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3053  as_basename=basename
3054else
3055  as_basename=false
3056fi
3057
3058if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3059  as_dirname=dirname
3060else
3061  as_dirname=false
3062fi
3063
3064as_me=`$as_basename -- "$0" ||
3065$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3066	 X"$0" : 'X\(//\)$' \| \
3067	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3068$as_echo X/"$0" |
3069    sed '/^.*\/\([^/][^/]*\)\/*$/{
3070	    s//\1/
3071	    q
3072	  }
3073	  /^X\/\(\/\/\)$/{
3074	    s//\1/
3075	    q
3076	  }
3077	  /^X\/\(\/\).*/{
3078	    s//\1/
3079	    q
3080	  }
3081	  s/.*/./; q'`
3082
3083# Avoid depending upon Character Ranges.
3084as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3085as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3086as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3087as_cr_digits='0123456789'
3088as_cr_alnum=$as_cr_Letters$as_cr_digits
3089
3090ECHO_C= ECHO_N= ECHO_T=
3091case `echo -n x` in #(((((
3092-n*)
3093  case `echo 'xy\c'` in
3094  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3095  xy)  ECHO_C='\c';;
3096  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3097       ECHO_T='	';;
3098  esac;;
3099*)
3100  ECHO_N='-n';;
3101esac
3102
3103rm -f conf$$ conf$$.exe conf$$.file
3104if test -d conf$$.dir; then
3105  rm -f conf$$.dir/conf$$.file
3106else
3107  rm -f conf$$.dir
3108  mkdir conf$$.dir 2>/dev/null
3109fi
3110if (echo >conf$$.file) 2>/dev/null; then
3111  if ln -s conf$$.file conf$$ 2>/dev/null; then
3112    as_ln_s='ln -s'
3113    # ... but there are two gotchas:
3114    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3115    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3116    # In both cases, we have to default to `cp -pR'.
3117    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3118      as_ln_s='cp -pR'
3119  elif ln conf$$.file conf$$ 2>/dev/null; then
3120    as_ln_s=ln
3121  else
3122    as_ln_s='cp -pR'
3123  fi
3124else
3125  as_ln_s='cp -pR'
3126fi
3127rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3128rmdir conf$$.dir 2>/dev/null
3129
3130
3131# as_fn_mkdir_p
3132# -------------
3133# Create "$as_dir" as a directory, including parents if necessary.
3134as_fn_mkdir_p ()
3135{
3136
3137  case $as_dir in #(
3138  -*) as_dir=./$as_dir;;
3139  esac
3140  test -d "$as_dir" || eval $as_mkdir_p || {
3141    as_dirs=
3142    while :; do
3143      case $as_dir in #(
3144      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3145      *) as_qdir=$as_dir;;
3146      esac
3147      as_dirs="'$as_qdir' $as_dirs"
3148      as_dir=`$as_dirname -- "$as_dir" ||
3149$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3150	 X"$as_dir" : 'X\(//\)[^/]' \| \
3151	 X"$as_dir" : 'X\(//\)$' \| \
3152	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3153$as_echo X"$as_dir" |
3154    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3155	    s//\1/
3156	    q
3157	  }
3158	  /^X\(\/\/\)[^/].*/{
3159	    s//\1/
3160	    q
3161	  }
3162	  /^X\(\/\/\)$/{
3163	    s//\1/
3164	    q
3165	  }
3166	  /^X\(\/\).*/{
3167	    s//\1/
3168	    q
3169	  }
3170	  s/.*/./; q'`
3171      test -d "$as_dir" && break
3172    done
3173    test -z "$as_dirs" || eval "mkdir $as_dirs"
3174  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3175
3176
3177} # as_fn_mkdir_p
3178if mkdir -p . 2>/dev/null; then
3179  as_mkdir_p='mkdir -p "$as_dir"'
3180else
3181  test -d ./-p && rmdir ./-p
3182  as_mkdir_p=false
3183fi
3184
3185
3186# as_fn_executable_p FILE
3187# -----------------------
3188# Test if FILE is an executable regular file.
3189as_fn_executable_p ()
3190{
3191  test -f "$1" && test -x "$1"
3192} # as_fn_executable_p
3193as_test_x='test -x'
3194as_executable_p=as_fn_executable_p
3195
3196# Sed expression to map a string onto a valid CPP name.
3197as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3198
3199# Sed expression to map a string onto a valid variable name.
3200as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3201
3202
3203exec 6>&1
3204## ----------------------------------- ##
3205## Main body of $CONFIG_STATUS script. ##
3206## ----------------------------------- ##
3207_ASEOF
3208test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3209
3210cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3211# Save the log message, to keep $0 and so on meaningful, and to
3212# report actual input values of CONFIG_FILES etc. instead of their
3213# values after options handling.
3214ac_log="
3215This file was extended by rtiff $as_me 1.1, which was
3216generated by GNU Autoconf 2.69.  Invocation command line was
3217
3218  CONFIG_FILES    = $CONFIG_FILES
3219  CONFIG_HEADERS  = $CONFIG_HEADERS
3220  CONFIG_LINKS    = $CONFIG_LINKS
3221  CONFIG_COMMANDS = $CONFIG_COMMANDS
3222  $ $0 $@
3223
3224on `(hostname || uname -n) 2>/dev/null | sed 1q`
3225"
3226
3227_ACEOF
3228
3229case $ac_config_files in *"
3230"*) set x $ac_config_files; shift; ac_config_files=$*;;
3231esac
3232
3233
3234
3235cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3236# Files that config.status was made for.
3237config_files="$ac_config_files"
3238
3239_ACEOF
3240
3241cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3242ac_cs_usage="\
3243\`$as_me' instantiates files and other configuration actions
3244from templates according to the current configuration.  Unless the files
3245and actions are specified as TAGs, all are instantiated by default.
3246
3247Usage: $0 [OPTION]... [TAG]...
3248
3249  -h, --help       print this help, then exit
3250  -V, --version    print version number and configuration settings, then exit
3251      --config     print configuration, then exit
3252  -q, --quiet, --silent
3253                   do not print progress messages
3254  -d, --debug      don't remove temporary files
3255      --recheck    update $as_me by reconfiguring in the same conditions
3256      --file=FILE[:TEMPLATE]
3257                   instantiate the configuration file FILE
3258
3259Configuration files:
3260$config_files
3261
3262Report bugs to <eric.kort@vai.org>."
3263
3264_ACEOF
3265cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3266ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3267ac_cs_version="\\
3268rtiff config.status 1.1
3269configured by $0, generated by GNU Autoconf 2.69,
3270  with options \\"\$ac_cs_config\\"
3271
3272Copyright (C) 2012 Free Software Foundation, Inc.
3273This config.status script is free software; the Free Software Foundation
3274gives unlimited permission to copy, distribute and modify it."
3275
3276ac_pwd='$ac_pwd'
3277srcdir='$srcdir'
3278test -n "\$AWK" || AWK=awk
3279_ACEOF
3280
3281cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3282# The default lists apply if the user does not specify any file.
3283ac_need_defaults=:
3284while test $# != 0
3285do
3286  case $1 in
3287  --*=?*)
3288    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3289    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3290    ac_shift=:
3291    ;;
3292  --*=)
3293    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3294    ac_optarg=
3295    ac_shift=:
3296    ;;
3297  *)
3298    ac_option=$1
3299    ac_optarg=$2
3300    ac_shift=shift
3301    ;;
3302  esac
3303
3304  case $ac_option in
3305  # Handling of the options.
3306  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3307    ac_cs_recheck=: ;;
3308  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3309    $as_echo "$ac_cs_version"; exit ;;
3310  --config | --confi | --conf | --con | --co | --c )
3311    $as_echo "$ac_cs_config"; exit ;;
3312  --debug | --debu | --deb | --de | --d | -d )
3313    debug=: ;;
3314  --file | --fil | --fi | --f )
3315    $ac_shift
3316    case $ac_optarg in
3317    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3318    '') as_fn_error $? "missing file argument" ;;
3319    esac
3320    as_fn_append CONFIG_FILES " '$ac_optarg'"
3321    ac_need_defaults=false;;
3322  --he | --h |  --help | --hel | -h )
3323    $as_echo "$ac_cs_usage"; exit ;;
3324  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3325  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3326    ac_cs_silent=: ;;
3327
3328  # This is an error.
3329  -*) as_fn_error $? "unrecognized option: \`$1'
3330Try \`$0 --help' for more information." ;;
3331
3332  *) as_fn_append ac_config_targets " $1"
3333     ac_need_defaults=false ;;
3334
3335  esac
3336  shift
3337done
3338
3339ac_configure_extra_args=
3340
3341if $ac_cs_silent; then
3342  exec 6>/dev/null
3343  ac_configure_extra_args="$ac_configure_extra_args --silent"
3344fi
3345
3346_ACEOF
3347cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3348if \$ac_cs_recheck; then
3349  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3350  shift
3351  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3352  CONFIG_SHELL='$SHELL'
3353  export CONFIG_SHELL
3354  exec "\$@"
3355fi
3356
3357_ACEOF
3358cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3359exec 5>>config.log
3360{
3361  echo
3362  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3363## Running $as_me. ##
3364_ASBOX
3365  $as_echo "$ac_log"
3366} >&5
3367
3368_ACEOF
3369cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3370_ACEOF
3371
3372cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3373
3374# Handling of arguments.
3375for ac_config_target in $ac_config_targets
3376do
3377  case $ac_config_target in
3378    "src/Makevars") CONFIG_FILES="$CONFIG_FILES src/Makevars" ;;
3379
3380  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3381  esac
3382done
3383
3384
3385# If the user did not use the arguments to specify the items to instantiate,
3386# then the envvar interface is used.  Set only those that are not.
3387# We use the long form for the default assignment because of an extremely
3388# bizarre bug on SunOS 4.1.3.
3389if $ac_need_defaults; then
3390  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3391fi
3392
3393# Have a temporary directory for convenience.  Make it in the build tree
3394# simply because there is no reason against having it here, and in addition,
3395# creating and moving files from /tmp can sometimes cause problems.
3396# Hook for its removal unless debugging.
3397# Note that there is a small window in which the directory will not be cleaned:
3398# after its creation but before its name has been assigned to `$tmp'.
3399$debug ||
3400{
3401  tmp= ac_tmp=
3402  trap 'exit_status=$?
3403  : "${ac_tmp:=$tmp}"
3404  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3405' 0
3406  trap 'as_fn_exit 1' 1 2 13 15
3407}
3408# Create a (secure) tmp directory for tmp files.
3409
3410{
3411  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3412  test -d "$tmp"
3413}  ||
3414{
3415  tmp=./conf$$-$RANDOM
3416  (umask 077 && mkdir "$tmp")
3417} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3418ac_tmp=$tmp
3419
3420# Set up the scripts for CONFIG_FILES section.
3421# No need to generate them if there are no CONFIG_FILES.
3422# This happens for instance with `./config.status config.h'.
3423if test -n "$CONFIG_FILES"; then
3424
3425
3426ac_cr=`echo X | tr X '\015'`
3427# On cygwin, bash can eat \r inside `` if the user requested igncr.
3428# But we know of no other shell where ac_cr would be empty at this
3429# point, so we can use a bashism as a fallback.
3430if test "x$ac_cr" = x; then
3431  eval ac_cr=\$\'\\r\'
3432fi
3433ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3434if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3435  ac_cs_awk_cr='\\r'
3436else
3437  ac_cs_awk_cr=$ac_cr
3438fi
3439
3440echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3441_ACEOF
3442
3443
3444{
3445  echo "cat >conf$$subs.awk <<_ACEOF" &&
3446  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3447  echo "_ACEOF"
3448} >conf$$subs.sh ||
3449  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3450ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3451ac_delim='%!_!# '
3452for ac_last_try in false false false false false :; do
3453  . ./conf$$subs.sh ||
3454    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3455
3456  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3457  if test $ac_delim_n = $ac_delim_num; then
3458    break
3459  elif $ac_last_try; then
3460    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3461  else
3462    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3463  fi
3464done
3465rm -f conf$$subs.sh
3466
3467cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3468cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3469_ACEOF
3470sed -n '
3471h
3472s/^/S["/; s/!.*/"]=/
3473p
3474g
3475s/^[^!]*!//
3476:repl
3477t repl
3478s/'"$ac_delim"'$//
3479t delim
3480:nl
3481h
3482s/\(.\{148\}\)..*/\1/
3483t more1
3484s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3485p
3486n
3487b repl
3488:more1
3489s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3490p
3491g
3492s/.\{148\}//
3493t nl
3494:delim
3495h
3496s/\(.\{148\}\)..*/\1/
3497t more2
3498s/["\\]/\\&/g; s/^/"/; s/$/"/
3499p
3500b
3501:more2
3502s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3503p
3504g
3505s/.\{148\}//
3506t delim
3507' <conf$$subs.awk | sed '
3508/^[^""]/{
3509  N
3510  s/\n//
3511}
3512' >>$CONFIG_STATUS || ac_write_fail=1
3513rm -f conf$$subs.awk
3514cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3515_ACAWK
3516cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3517  for (key in S) S_is_set[key] = 1
3518  FS = ""
3519
3520}
3521{
3522  line = $ 0
3523  nfields = split(line, field, "@")
3524  substed = 0
3525  len = length(field[1])
3526  for (i = 2; i < nfields; i++) {
3527    key = field[i]
3528    keylen = length(key)
3529    if (S_is_set[key]) {
3530      value = S[key]
3531      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3532      len += length(value) + length(field[++i])
3533      substed = 1
3534    } else
3535      len += 1 + keylen
3536  }
3537
3538  print line
3539}
3540
3541_ACAWK
3542_ACEOF
3543cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3544if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3545  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3546else
3547  cat
3548fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3549  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3550_ACEOF
3551
3552# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3553# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3554# trailing colons and then remove the whole line if VPATH becomes empty
3555# (actually we leave an empty line to preserve line numbers).
3556if test "x$srcdir" = x.; then
3557  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3558h
3559s///
3560s/^/:/
3561s/[	 ]*$/:/
3562s/:\$(srcdir):/:/g
3563s/:\${srcdir}:/:/g
3564s/:@srcdir@:/:/g
3565s/^:*//
3566s/:*$//
3567x
3568s/\(=[	 ]*\).*/\1/
3569G
3570s/\n//
3571s/^[^=]*=[	 ]*$//
3572}'
3573fi
3574
3575cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3576fi # test -n "$CONFIG_FILES"
3577
3578
3579eval set X "  :F $CONFIG_FILES      "
3580shift
3581for ac_tag
3582do
3583  case $ac_tag in
3584  :[FHLC]) ac_mode=$ac_tag; continue;;
3585  esac
3586  case $ac_mode$ac_tag in
3587  :[FHL]*:*);;
3588  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3589  :[FH]-) ac_tag=-:-;;
3590  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3591  esac
3592  ac_save_IFS=$IFS
3593  IFS=:
3594  set x $ac_tag
3595  IFS=$ac_save_IFS
3596  shift
3597  ac_file=$1
3598  shift
3599
3600  case $ac_mode in
3601  :L) ac_source=$1;;
3602  :[FH])
3603    ac_file_inputs=
3604    for ac_f
3605    do
3606      case $ac_f in
3607      -) ac_f="$ac_tmp/stdin";;
3608      *) # Look for the file first in the build tree, then in the source tree
3609	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3610	 # because $ac_f cannot contain `:'.
3611	 test -f "$ac_f" ||
3612	   case $ac_f in
3613	   [\\/$]*) false;;
3614	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3615	   esac ||
3616	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3617      esac
3618      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3619      as_fn_append ac_file_inputs " '$ac_f'"
3620    done
3621
3622    # Let's still pretend it is `configure' which instantiates (i.e., don't
3623    # use $as_me), people would be surprised to read:
3624    #    /* config.h.  Generated by config.status.  */
3625    configure_input='Generated from '`
3626	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3627	`' by configure.'
3628    if test x"$ac_file" != x-; then
3629      configure_input="$ac_file.  $configure_input"
3630      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3631$as_echo "$as_me: creating $ac_file" >&6;}
3632    fi
3633    # Neutralize special characters interpreted by sed in replacement strings.
3634    case $configure_input in #(
3635    *\&* | *\|* | *\\* )
3636       ac_sed_conf_input=`$as_echo "$configure_input" |
3637       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3638    *) ac_sed_conf_input=$configure_input;;
3639    esac
3640
3641    case $ac_tag in
3642    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3643      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3644    esac
3645    ;;
3646  esac
3647
3648  ac_dir=`$as_dirname -- "$ac_file" ||
3649$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3650	 X"$ac_file" : 'X\(//\)[^/]' \| \
3651	 X"$ac_file" : 'X\(//\)$' \| \
3652	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3653$as_echo X"$ac_file" |
3654    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3655	    s//\1/
3656	    q
3657	  }
3658	  /^X\(\/\/\)[^/].*/{
3659	    s//\1/
3660	    q
3661	  }
3662	  /^X\(\/\/\)$/{
3663	    s//\1/
3664	    q
3665	  }
3666	  /^X\(\/\).*/{
3667	    s//\1/
3668	    q
3669	  }
3670	  s/.*/./; q'`
3671  as_dir="$ac_dir"; as_fn_mkdir_p
3672  ac_builddir=.
3673
3674case "$ac_dir" in
3675.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3676*)
3677  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3678  # A ".." for each directory in $ac_dir_suffix.
3679  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3680  case $ac_top_builddir_sub in
3681  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3682  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3683  esac ;;
3684esac
3685ac_abs_top_builddir=$ac_pwd
3686ac_abs_builddir=$ac_pwd$ac_dir_suffix
3687# for backward compatibility:
3688ac_top_builddir=$ac_top_build_prefix
3689
3690case $srcdir in
3691  .)  # We are building in place.
3692    ac_srcdir=.
3693    ac_top_srcdir=$ac_top_builddir_sub
3694    ac_abs_top_srcdir=$ac_pwd ;;
3695  [\\/]* | ?:[\\/]* )  # Absolute name.
3696    ac_srcdir=$srcdir$ac_dir_suffix;
3697    ac_top_srcdir=$srcdir
3698    ac_abs_top_srcdir=$srcdir ;;
3699  *) # Relative name.
3700    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3701    ac_top_srcdir=$ac_top_build_prefix$srcdir
3702    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3703esac
3704ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3705
3706
3707  case $ac_mode in
3708  :F)
3709  #
3710  # CONFIG_FILE
3711  #
3712
3713_ACEOF
3714
3715cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3716# If the template does not know about datarootdir, expand it.
3717# FIXME: This hack should be removed a few years after 2.60.
3718ac_datarootdir_hack=; ac_datarootdir_seen=
3719ac_sed_dataroot='
3720/datarootdir/ {
3721  p
3722  q
3723}
3724/@datadir@/p
3725/@docdir@/p
3726/@infodir@/p
3727/@localedir@/p
3728/@mandir@/p'
3729case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3730*datarootdir*) ac_datarootdir_seen=yes;;
3731*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3732  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3733$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3734_ACEOF
3735cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3736  ac_datarootdir_hack='
3737  s&@datadir@&$datadir&g
3738  s&@docdir@&$docdir&g
3739  s&@infodir@&$infodir&g
3740  s&@localedir@&$localedir&g
3741  s&@mandir@&$mandir&g
3742  s&\\\${datarootdir}&$datarootdir&g' ;;
3743esac
3744_ACEOF
3745
3746# Neutralize VPATH when `$srcdir' = `.'.
3747# Shell code in configure.ac might set extrasub.
3748# FIXME: do we really want to maintain this feature?
3749cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3750ac_sed_extra="$ac_vpsub
3751$extrasub
3752_ACEOF
3753cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3754:t
3755/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3756s|@configure_input@|$ac_sed_conf_input|;t t
3757s&@top_builddir@&$ac_top_builddir_sub&;t t
3758s&@top_build_prefix@&$ac_top_build_prefix&;t t
3759s&@srcdir@&$ac_srcdir&;t t
3760s&@abs_srcdir@&$ac_abs_srcdir&;t t
3761s&@top_srcdir@&$ac_top_srcdir&;t t
3762s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3763s&@builddir@&$ac_builddir&;t t
3764s&@abs_builddir@&$ac_abs_builddir&;t t
3765s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3766$ac_datarootdir_hack
3767"
3768eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3769  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3770
3771test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3772  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3773  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
3774      "$ac_tmp/out"`; test -z "$ac_out"; } &&
3775  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3776which seems to be undefined.  Please make sure it is defined" >&5
3777$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3778which seems to be undefined.  Please make sure it is defined" >&2;}
3779
3780  rm -f "$ac_tmp/stdin"
3781  case $ac_file in
3782  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3783  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3784  esac \
3785  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3786 ;;
3787
3788
3789
3790  esac
3791
3792done # for ac_tag
3793
3794
3795as_fn_exit 0
3796_ACEOF
3797ac_clean_files=$ac_clean_files_save
3798
3799test $ac_write_fail = 0 ||
3800  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3801
3802
3803# configure is writing to config.log, and then calls config.status.
3804# config.status does its own redirection, appending to config.log.
3805# Unfortunately, on DOS this fails, as config.log is still kept open
3806# by configure, so config.status won't be able to write to it; its
3807# output is simply discarded.  So we exec the FD to /dev/null,
3808# effectively closing config.log, so it can be properly (re)opened and
3809# appended to by config.status.  When coming back to configure, we
3810# need to make the FD available again.
3811if test "$no_create" != yes; then
3812  ac_cs_success=:
3813  ac_config_status_args=
3814  test "$silent" = yes &&
3815    ac_config_status_args="$ac_config_status_args --quiet"
3816  exec 5>/dev/null
3817  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3818  exec 5>>config.log
3819  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3820  # would make configure fail if this is the last instruction.
3821  $ac_cs_success || as_fn_exit 1
3822fi
3823if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3824  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3825$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3826fi
3827
3828
3829