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