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