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