1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for CLEX File Manager 4.6.patch9.
4#
5# Report bugs to <clex@clex.sk>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in #(
218	 /*)
219	   for as_base in sh bash ksh sh5; do
220	     # Try only shells that exist, to save several forks.
221	     as_shell=$as_dir/$as_base
222	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229	   done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell bug-autoconf@gnu.org and clex@clex.sk about
270$0: your system, including any error possibly output before
271$0: this message. Then install a modern shell, or manually
272$0: run the script under such a shell if you do have one."
273  fi
274  exit 1
275fi
276fi
277fi
278SHELL=${CONFIG_SHELL-/bin/sh}
279export SHELL
280# Unset more variables known to interfere with behavior of common tools.
281CLICOLOR_FORCE= GREP_OPTIONS=
282unset CLICOLOR_FORCE GREP_OPTIONS
283
284## --------------------- ##
285## M4sh Shell Functions. ##
286## --------------------- ##
287# as_fn_unset VAR
288# ---------------
289# Portably unset VAR.
290as_fn_unset ()
291{
292  { eval $1=; unset $1;}
293}
294as_unset=as_fn_unset
295
296# as_fn_set_status STATUS
297# -----------------------
298# Set $? to STATUS, without forking.
299as_fn_set_status ()
300{
301  return $1
302} # as_fn_set_status
303
304# as_fn_exit STATUS
305# -----------------
306# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307as_fn_exit ()
308{
309  set +e
310  as_fn_set_status $1
311  exit $1
312} # as_fn_exit
313
314# as_fn_mkdir_p
315# -------------
316# Create "$as_dir" as a directory, including parents if necessary.
317as_fn_mkdir_p ()
318{
319
320  case $as_dir in #(
321  -*) as_dir=./$as_dir;;
322  esac
323  test -d "$as_dir" || eval $as_mkdir_p || {
324    as_dirs=
325    while :; do
326      case $as_dir in #(
327      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328      *) as_qdir=$as_dir;;
329      esac
330      as_dirs="'$as_qdir' $as_dirs"
331      as_dir=`$as_dirname -- "$as_dir" ||
332$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333	 X"$as_dir" : 'X\(//\)[^/]' \| \
334	 X"$as_dir" : 'X\(//\)$' \| \
335	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336$as_echo X"$as_dir" |
337    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338	    s//\1/
339	    q
340	  }
341	  /^X\(\/\/\)[^/].*/{
342	    s//\1/
343	    q
344	  }
345	  /^X\(\/\/\)$/{
346	    s//\1/
347	    q
348	  }
349	  /^X\(\/\).*/{
350	    s//\1/
351	    q
352	  }
353	  s/.*/./; q'`
354      test -d "$as_dir" && break
355    done
356    test -z "$as_dirs" || eval "mkdir $as_dirs"
357  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358
359
360} # as_fn_mkdir_p
361
362# as_fn_executable_p FILE
363# -----------------------
364# Test if FILE is an executable regular file.
365as_fn_executable_p ()
366{
367  test -f "$1" && test -x "$1"
368} # as_fn_executable_p
369# as_fn_append VAR VALUE
370# ----------------------
371# Append the text in VALUE to the end of the definition contained in VAR. Take
372# advantage of any shell optimizations that allow amortized linear growth over
373# repeated appends, instead of the typical quadratic growth present in naive
374# implementations.
375if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376  eval 'as_fn_append ()
377  {
378    eval $1+=\$2
379  }'
380else
381  as_fn_append ()
382  {
383    eval $1=\$$1\$2
384  }
385fi # as_fn_append
386
387# as_fn_arith ARG...
388# ------------------
389# Perform arithmetic evaluation on the ARGs, and store the result in the
390# global $as_val. Take advantage of shells that can avoid forks. The arguments
391# must be portable across $(()) and expr.
392if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393  eval 'as_fn_arith ()
394  {
395    as_val=$(( $* ))
396  }'
397else
398  as_fn_arith ()
399  {
400    as_val=`expr "$@" || test $? -eq 1`
401  }
402fi # as_fn_arith
403
404
405# as_fn_error STATUS ERROR [LINENO LOG_FD]
406# ----------------------------------------
407# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409# script with STATUS, using 1 if that was 0.
410as_fn_error ()
411{
412  as_status=$1; test $as_status -eq 0 && as_status=1
413  if test "$4"; then
414    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416  fi
417  $as_echo "$as_me: error: $2" >&2
418  as_fn_exit $as_status
419} # as_fn_error
420
421if expr a : '\(a\)' >/dev/null 2>&1 &&
422   test "X`expr 00001 : '.*\(...\)'`" = X001; then
423  as_expr=expr
424else
425  as_expr=false
426fi
427
428if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429  as_basename=basename
430else
431  as_basename=false
432fi
433
434if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435  as_dirname=dirname
436else
437  as_dirname=false
438fi
439
440as_me=`$as_basename -- "$0" ||
441$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442	 X"$0" : 'X\(//\)$' \| \
443	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444$as_echo X/"$0" |
445    sed '/^.*\/\([^/][^/]*\)\/*$/{
446	    s//\1/
447	    q
448	  }
449	  /^X\/\(\/\/\)$/{
450	    s//\1/
451	    q
452	  }
453	  /^X\/\(\/\).*/{
454	    s//\1/
455	    q
456	  }
457	  s/.*/./; q'`
458
459# Avoid depending upon Character Ranges.
460as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463as_cr_digits='0123456789'
464as_cr_alnum=$as_cr_Letters$as_cr_digits
465
466
467  as_lineno_1=$LINENO as_lineno_1a=$LINENO
468  as_lineno_2=$LINENO as_lineno_2a=$LINENO
469  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
472  sed -n '
473    p
474    /[$]LINENO/=
475  ' <$as_myself |
476    sed '
477      s/[$]LINENO.*/&-/
478      t lineno
479      b
480      :lineno
481      N
482      :loop
483      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484      t loop
485      s/-\n.*//
486    ' >$as_me.lineno &&
487  chmod +x "$as_me.lineno" ||
488    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489
490  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491  # already done that, so ensure we don't try to do so again and fall
492  # in an infinite loop.  This has already happened in practice.
493  _as_can_reexec=no; export _as_can_reexec
494  # Don't try to exec as it changes $[0], causing all sort of problems
495  # (the dirname of $[0] is not the place where we might find the
496  # original and so on.  Autoconf is especially sensitive to this).
497  . "./$as_me.lineno"
498  # Exit status is that of the last command.
499  exit
500}
501
502ECHO_C= ECHO_N= ECHO_T=
503case `echo -n x` in #(((((
504-n*)
505  case `echo 'xy\c'` in
506  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
507  xy)  ECHO_C='\c';;
508  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
509       ECHO_T='	';;
510  esac;;
511*)
512  ECHO_N='-n';;
513esac
514
515rm -f conf$$ conf$$.exe conf$$.file
516if test -d conf$$.dir; then
517  rm -f conf$$.dir/conf$$.file
518else
519  rm -f conf$$.dir
520  mkdir conf$$.dir 2>/dev/null
521fi
522if (echo >conf$$.file) 2>/dev/null; then
523  if ln -s conf$$.file conf$$ 2>/dev/null; then
524    as_ln_s='ln -s'
525    # ... but there are two gotchas:
526    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528    # In both cases, we have to default to `cp -pR'.
529    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530      as_ln_s='cp -pR'
531  elif ln conf$$.file conf$$ 2>/dev/null; then
532    as_ln_s=ln
533  else
534    as_ln_s='cp -pR'
535  fi
536else
537  as_ln_s='cp -pR'
538fi
539rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540rmdir conf$$.dir 2>/dev/null
541
542if mkdir -p . 2>/dev/null; then
543  as_mkdir_p='mkdir -p "$as_dir"'
544else
545  test -d ./-p && rmdir ./-p
546  as_mkdir_p=false
547fi
548
549as_test_x='test -x'
550as_executable_p=as_fn_executable_p
551
552# Sed expression to map a string onto a valid CPP name.
553as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554
555# Sed expression to map a string onto a valid variable name.
556as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557
558
559test -n "$DJDIR" || exec 7<&0 </dev/null
560exec 6>&1
561
562# Name of the host.
563# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564# so uname gets run too.
565ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566
567#
568# Initializations.
569#
570ac_default_prefix=/usr/local
571ac_clean_files=
572ac_config_libobj_dir=.
573LIBOBJS=
574cross_compiling=no
575subdirs=
576MFLAGS=
577MAKEFLAGS=
578
579# Identity of this package.
580PACKAGE_NAME='CLEX File Manager'
581PACKAGE_TARNAME='clex'
582PACKAGE_VERSION='4.6.patch9'
583PACKAGE_STRING='CLEX File Manager 4.6.patch9'
584PACKAGE_BUGREPORT='clex@clex.sk'
585PACKAGE_URL=''
586
587ac_unique_file="src/clex.h"
588# Factoring default headers for most tests.
589ac_includes_default="\
590#include <stdio.h>
591#ifdef HAVE_SYS_TYPES_H
592# include <sys/types.h>
593#endif
594#ifdef HAVE_SYS_STAT_H
595# include <sys/stat.h>
596#endif
597#ifdef STDC_HEADERS
598# include <stdlib.h>
599# include <stddef.h>
600#else
601# ifdef HAVE_STDLIB_H
602#  include <stdlib.h>
603# endif
604#endif
605#ifdef HAVE_STRING_H
606# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607#  include <memory.h>
608# endif
609# include <string.h>
610#endif
611#ifdef HAVE_STRINGS_H
612# include <strings.h>
613#endif
614#ifdef HAVE_INTTYPES_H
615# include <inttypes.h>
616#endif
617#ifdef HAVE_STDINT_H
618# include <stdint.h>
619#endif
620#ifdef HAVE_UNISTD_H
621# include <unistd.h>
622#endif"
623
624ac_subst_vars='am__EXEEXT_FALSE
625am__EXEEXT_TRUE
626LTLIBOBJS
627LIBOBJS
628EGREP
629GREP
630CPP
631am__fastdepCC_FALSE
632am__fastdepCC_TRUE
633CCDEPMODE
634am__nodep
635AMDEPBACKSLASH
636AMDEP_FALSE
637AMDEP_TRUE
638am__quote
639am__include
640DEPDIR
641OBJEXT
642EXEEXT
643ac_ct_CC
644CPPFLAGS
645LDFLAGS
646CFLAGS
647CC
648AM_BACKSLASH
649AM_DEFAULT_VERBOSITY
650AM_DEFAULT_V
651AM_V
652am__untar
653am__tar
654AMTAR
655am__leading_dot
656SET_MAKE
657AWK
658mkdir_p
659MKDIR_P
660INSTALL_STRIP_PROGRAM
661STRIP
662install_sh
663MAKEINFO
664AUTOHEADER
665AUTOMAKE
666AUTOCONF
667ACLOCAL
668VERSION
669PACKAGE
670CYGPATH_W
671am__isrc
672INSTALL_DATA
673INSTALL_SCRIPT
674INSTALL_PROGRAM
675RPMRELEASE
676target_alias
677host_alias
678build_alias
679LIBS
680ECHO_T
681ECHO_N
682ECHO_C
683DEFS
684mandir
685localedir
686libdir
687psdir
688pdfdir
689dvidir
690htmldir
691infodir
692docdir
693oldincludedir
694includedir
695localstatedir
696sharedstatedir
697sysconfdir
698datadir
699datarootdir
700libexecdir
701sbindir
702bindir
703program_transform_name
704prefix
705exec_prefix
706PACKAGE_URL
707PACKAGE_BUGREPORT
708PACKAGE_STRING
709PACKAGE_VERSION
710PACKAGE_TARNAME
711PACKAGE_NAME
712PATH_SEPARATOR
713SHELL'
714ac_subst_files=''
715ac_user_opts='
716enable_option_checking
717enable_silent_rules
718enable_dependency_tracking
719enable_largefile
720'
721      ac_precious_vars='build_alias
722host_alias
723target_alias
724CC
725CFLAGS
726LDFLAGS
727LIBS
728CPPFLAGS
729CPP'
730
731
732# Initialize some variables set by options.
733ac_init_help=
734ac_init_version=false
735ac_unrecognized_opts=
736ac_unrecognized_sep=
737# The variables have the same names as the options, with
738# dashes changed to underlines.
739cache_file=/dev/null
740exec_prefix=NONE
741no_create=
742no_recursion=
743prefix=NONE
744program_prefix=NONE
745program_suffix=NONE
746program_transform_name=s,x,x,
747silent=
748site=
749srcdir=
750verbose=
751x_includes=NONE
752x_libraries=NONE
753
754# Installation directory options.
755# These are left unexpanded so users can "make install exec_prefix=/foo"
756# and all the variables that are supposed to be based on exec_prefix
757# by default will actually change.
758# Use braces instead of parens because sh, perl, etc. also accept them.
759# (The list follows the same order as the GNU Coding Standards.)
760bindir='${exec_prefix}/bin'
761sbindir='${exec_prefix}/sbin'
762libexecdir='${exec_prefix}/libexec'
763datarootdir='${prefix}/share'
764datadir='${datarootdir}'
765sysconfdir='${prefix}/etc'
766sharedstatedir='${prefix}/com'
767localstatedir='${prefix}/var'
768includedir='${prefix}/include'
769oldincludedir='/usr/include'
770docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
771infodir='${datarootdir}/info'
772htmldir='${docdir}'
773dvidir='${docdir}'
774pdfdir='${docdir}'
775psdir='${docdir}'
776libdir='${exec_prefix}/lib'
777localedir='${datarootdir}/locale'
778mandir='${datarootdir}/man'
779
780ac_prev=
781ac_dashdash=
782for ac_option
783do
784  # If the previous option needs an argument, assign it.
785  if test -n "$ac_prev"; then
786    eval $ac_prev=\$ac_option
787    ac_prev=
788    continue
789  fi
790
791  case $ac_option in
792  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
793  *=)   ac_optarg= ;;
794  *)    ac_optarg=yes ;;
795  esac
796
797  # Accept the important Cygnus configure options, so we can diagnose typos.
798
799  case $ac_dashdash$ac_option in
800  --)
801    ac_dashdash=yes ;;
802
803  -bindir | --bindir | --bindi | --bind | --bin | --bi)
804    ac_prev=bindir ;;
805  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
806    bindir=$ac_optarg ;;
807
808  -build | --build | --buil | --bui | --bu)
809    ac_prev=build_alias ;;
810  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
811    build_alias=$ac_optarg ;;
812
813  -cache-file | --cache-file | --cache-fil | --cache-fi \
814  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
815    ac_prev=cache_file ;;
816  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
817  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
818    cache_file=$ac_optarg ;;
819
820  --config-cache | -C)
821    cache_file=config.cache ;;
822
823  -datadir | --datadir | --datadi | --datad)
824    ac_prev=datadir ;;
825  -datadir=* | --datadir=* | --datadi=* | --datad=*)
826    datadir=$ac_optarg ;;
827
828  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
829  | --dataroo | --dataro | --datar)
830    ac_prev=datarootdir ;;
831  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
832  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
833    datarootdir=$ac_optarg ;;
834
835  -disable-* | --disable-*)
836    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
837    # Reject names that are not valid shell variable names.
838    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839      as_fn_error $? "invalid feature name: $ac_useropt"
840    ac_useropt_orig=$ac_useropt
841    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842    case $ac_user_opts in
843      *"
844"enable_$ac_useropt"
845"*) ;;
846      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
847	 ac_unrecognized_sep=', ';;
848    esac
849    eval enable_$ac_useropt=no ;;
850
851  -docdir | --docdir | --docdi | --doc | --do)
852    ac_prev=docdir ;;
853  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
854    docdir=$ac_optarg ;;
855
856  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
857    ac_prev=dvidir ;;
858  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
859    dvidir=$ac_optarg ;;
860
861  -enable-* | --enable-*)
862    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
863    # Reject names that are not valid shell variable names.
864    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
865      as_fn_error $? "invalid feature name: $ac_useropt"
866    ac_useropt_orig=$ac_useropt
867    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
868    case $ac_user_opts in
869      *"
870"enable_$ac_useropt"
871"*) ;;
872      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
873	 ac_unrecognized_sep=', ';;
874    esac
875    eval enable_$ac_useropt=\$ac_optarg ;;
876
877  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
878  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
879  | --exec | --exe | --ex)
880    ac_prev=exec_prefix ;;
881  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
882  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
883  | --exec=* | --exe=* | --ex=*)
884    exec_prefix=$ac_optarg ;;
885
886  -gas | --gas | --ga | --g)
887    # Obsolete; use --with-gas.
888    with_gas=yes ;;
889
890  -help | --help | --hel | --he | -h)
891    ac_init_help=long ;;
892  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
893    ac_init_help=recursive ;;
894  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
895    ac_init_help=short ;;
896
897  -host | --host | --hos | --ho)
898    ac_prev=host_alias ;;
899  -host=* | --host=* | --hos=* | --ho=*)
900    host_alias=$ac_optarg ;;
901
902  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
903    ac_prev=htmldir ;;
904  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
905  | --ht=*)
906    htmldir=$ac_optarg ;;
907
908  -includedir | --includedir | --includedi | --included | --include \
909  | --includ | --inclu | --incl | --inc)
910    ac_prev=includedir ;;
911  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
912  | --includ=* | --inclu=* | --incl=* | --inc=*)
913    includedir=$ac_optarg ;;
914
915  -infodir | --infodir | --infodi | --infod | --info | --inf)
916    ac_prev=infodir ;;
917  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
918    infodir=$ac_optarg ;;
919
920  -libdir | --libdir | --libdi | --libd)
921    ac_prev=libdir ;;
922  -libdir=* | --libdir=* | --libdi=* | --libd=*)
923    libdir=$ac_optarg ;;
924
925  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
926  | --libexe | --libex | --libe)
927    ac_prev=libexecdir ;;
928  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
929  | --libexe=* | --libex=* | --libe=*)
930    libexecdir=$ac_optarg ;;
931
932  -localedir | --localedir | --localedi | --localed | --locale)
933    ac_prev=localedir ;;
934  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
935    localedir=$ac_optarg ;;
936
937  -localstatedir | --localstatedir | --localstatedi | --localstated \
938  | --localstate | --localstat | --localsta | --localst | --locals)
939    ac_prev=localstatedir ;;
940  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
941  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
942    localstatedir=$ac_optarg ;;
943
944  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
945    ac_prev=mandir ;;
946  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
947    mandir=$ac_optarg ;;
948
949  -nfp | --nfp | --nf)
950    # Obsolete; use --without-fp.
951    with_fp=no ;;
952
953  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
954  | --no-cr | --no-c | -n)
955    no_create=yes ;;
956
957  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
958  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
959    no_recursion=yes ;;
960
961  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
962  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
963  | --oldin | --oldi | --old | --ol | --o)
964    ac_prev=oldincludedir ;;
965  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
966  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
967  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
968    oldincludedir=$ac_optarg ;;
969
970  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
971    ac_prev=prefix ;;
972  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
973    prefix=$ac_optarg ;;
974
975  -program-prefix | --program-prefix | --program-prefi | --program-pref \
976  | --program-pre | --program-pr | --program-p)
977    ac_prev=program_prefix ;;
978  -program-prefix=* | --program-prefix=* | --program-prefi=* \
979  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
980    program_prefix=$ac_optarg ;;
981
982  -program-suffix | --program-suffix | --program-suffi | --program-suff \
983  | --program-suf | --program-su | --program-s)
984    ac_prev=program_suffix ;;
985  -program-suffix=* | --program-suffix=* | --program-suffi=* \
986  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
987    program_suffix=$ac_optarg ;;
988
989  -program-transform-name | --program-transform-name \
990  | --program-transform-nam | --program-transform-na \
991  | --program-transform-n | --program-transform- \
992  | --program-transform | --program-transfor \
993  | --program-transfo | --program-transf \
994  | --program-trans | --program-tran \
995  | --progr-tra | --program-tr | --program-t)
996    ac_prev=program_transform_name ;;
997  -program-transform-name=* | --program-transform-name=* \
998  | --program-transform-nam=* | --program-transform-na=* \
999  | --program-transform-n=* | --program-transform-=* \
1000  | --program-transform=* | --program-transfor=* \
1001  | --program-transfo=* | --program-transf=* \
1002  | --program-trans=* | --program-tran=* \
1003  | --progr-tra=* | --program-tr=* | --program-t=*)
1004    program_transform_name=$ac_optarg ;;
1005
1006  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1007    ac_prev=pdfdir ;;
1008  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1009    pdfdir=$ac_optarg ;;
1010
1011  -psdir | --psdir | --psdi | --psd | --ps)
1012    ac_prev=psdir ;;
1013  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1014    psdir=$ac_optarg ;;
1015
1016  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1017  | -silent | --silent | --silen | --sile | --sil)
1018    silent=yes ;;
1019
1020  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1021    ac_prev=sbindir ;;
1022  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1023  | --sbi=* | --sb=*)
1024    sbindir=$ac_optarg ;;
1025
1026  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1027  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1028  | --sharedst | --shareds | --shared | --share | --shar \
1029  | --sha | --sh)
1030    ac_prev=sharedstatedir ;;
1031  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1032  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1033  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1034  | --sha=* | --sh=*)
1035    sharedstatedir=$ac_optarg ;;
1036
1037  -site | --site | --sit)
1038    ac_prev=site ;;
1039  -site=* | --site=* | --sit=*)
1040    site=$ac_optarg ;;
1041
1042  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1043    ac_prev=srcdir ;;
1044  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1045    srcdir=$ac_optarg ;;
1046
1047  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1048  | --syscon | --sysco | --sysc | --sys | --sy)
1049    ac_prev=sysconfdir ;;
1050  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1051  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1052    sysconfdir=$ac_optarg ;;
1053
1054  -target | --target | --targe | --targ | --tar | --ta | --t)
1055    ac_prev=target_alias ;;
1056  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1057    target_alias=$ac_optarg ;;
1058
1059  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1060    verbose=yes ;;
1061
1062  -version | --version | --versio | --versi | --vers | -V)
1063    ac_init_version=: ;;
1064
1065  -with-* | --with-*)
1066    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1067    # Reject names that are not valid shell variable names.
1068    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069      as_fn_error $? "invalid package name: $ac_useropt"
1070    ac_useropt_orig=$ac_useropt
1071    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072    case $ac_user_opts in
1073      *"
1074"with_$ac_useropt"
1075"*) ;;
1076      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1077	 ac_unrecognized_sep=', ';;
1078    esac
1079    eval with_$ac_useropt=\$ac_optarg ;;
1080
1081  -without-* | --without-*)
1082    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1083    # Reject names that are not valid shell variable names.
1084    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1085      as_fn_error $? "invalid package name: $ac_useropt"
1086    ac_useropt_orig=$ac_useropt
1087    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088    case $ac_user_opts in
1089      *"
1090"with_$ac_useropt"
1091"*) ;;
1092      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1093	 ac_unrecognized_sep=', ';;
1094    esac
1095    eval with_$ac_useropt=no ;;
1096
1097  --x)
1098    # Obsolete; use --with-x.
1099    with_x=yes ;;
1100
1101  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1102  | --x-incl | --x-inc | --x-in | --x-i)
1103    ac_prev=x_includes ;;
1104  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1105  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1106    x_includes=$ac_optarg ;;
1107
1108  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1109  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1110    ac_prev=x_libraries ;;
1111  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1112  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1113    x_libraries=$ac_optarg ;;
1114
1115  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1116Try \`$0 --help' for more information"
1117    ;;
1118
1119  *=*)
1120    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1121    # Reject names that are not valid shell variable names.
1122    case $ac_envvar in #(
1123      '' | [0-9]* | *[!_$as_cr_alnum]* )
1124      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1125    esac
1126    eval $ac_envvar=\$ac_optarg
1127    export $ac_envvar ;;
1128
1129  *)
1130    # FIXME: should be removed in autoconf 3.0.
1131    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1132    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1133      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1134    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1135    ;;
1136
1137  esac
1138done
1139
1140if test -n "$ac_prev"; then
1141  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1142  as_fn_error $? "missing argument to $ac_option"
1143fi
1144
1145if test -n "$ac_unrecognized_opts"; then
1146  case $enable_option_checking in
1147    no) ;;
1148    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1149    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1150  esac
1151fi
1152
1153# Check all directory arguments for consistency.
1154for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1155		datadir sysconfdir sharedstatedir localstatedir includedir \
1156		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1157		libdir localedir mandir
1158do
1159  eval ac_val=\$$ac_var
1160  # Remove trailing slashes.
1161  case $ac_val in
1162    */ )
1163      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1164      eval $ac_var=\$ac_val;;
1165  esac
1166  # Be sure to have absolute directory names.
1167  case $ac_val in
1168    [\\/$]* | ?:[\\/]* )  continue;;
1169    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1170  esac
1171  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1172done
1173
1174# There might be people who depend on the old broken behavior: `$host'
1175# used to hold the argument of --host etc.
1176# FIXME: To remove some day.
1177build=$build_alias
1178host=$host_alias
1179target=$target_alias
1180
1181# FIXME: To remove some day.
1182if test "x$host_alias" != x; then
1183  if test "x$build_alias" = x; then
1184    cross_compiling=maybe
1185  elif test "x$build_alias" != "x$host_alias"; then
1186    cross_compiling=yes
1187  fi
1188fi
1189
1190ac_tool_prefix=
1191test -n "$host_alias" && ac_tool_prefix=$host_alias-
1192
1193test "$silent" = yes && exec 6>/dev/null
1194
1195
1196ac_pwd=`pwd` && test -n "$ac_pwd" &&
1197ac_ls_di=`ls -di .` &&
1198ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1199  as_fn_error $? "working directory cannot be determined"
1200test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1201  as_fn_error $? "pwd does not report name of working directory"
1202
1203
1204# Find the source files, if location was not specified.
1205if test -z "$srcdir"; then
1206  ac_srcdir_defaulted=yes
1207  # Try the directory containing this script, then the parent directory.
1208  ac_confdir=`$as_dirname -- "$as_myself" ||
1209$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1210	 X"$as_myself" : 'X\(//\)[^/]' \| \
1211	 X"$as_myself" : 'X\(//\)$' \| \
1212	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1213$as_echo X"$as_myself" |
1214    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1215	    s//\1/
1216	    q
1217	  }
1218	  /^X\(\/\/\)[^/].*/{
1219	    s//\1/
1220	    q
1221	  }
1222	  /^X\(\/\/\)$/{
1223	    s//\1/
1224	    q
1225	  }
1226	  /^X\(\/\).*/{
1227	    s//\1/
1228	    q
1229	  }
1230	  s/.*/./; q'`
1231  srcdir=$ac_confdir
1232  if test ! -r "$srcdir/$ac_unique_file"; then
1233    srcdir=..
1234  fi
1235else
1236  ac_srcdir_defaulted=no
1237fi
1238if test ! -r "$srcdir/$ac_unique_file"; then
1239  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1240  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1241fi
1242ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1243ac_abs_confdir=`(
1244	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1245	pwd)`
1246# When building in place, set srcdir=.
1247if test "$ac_abs_confdir" = "$ac_pwd"; then
1248  srcdir=.
1249fi
1250# Remove unnecessary trailing slashes from srcdir.
1251# Double slashes in file names in object file debugging info
1252# mess up M-x gdb in Emacs.
1253case $srcdir in
1254*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1255esac
1256for ac_var in $ac_precious_vars; do
1257  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1258  eval ac_env_${ac_var}_value=\$${ac_var}
1259  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1260  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1261done
1262
1263#
1264# Report the --help message.
1265#
1266if test "$ac_init_help" = "long"; then
1267  # Omit some internal or obsolete options to make the list less imposing.
1268  # This message is too long to be a string in the A/UX 3.1 sh.
1269  cat <<_ACEOF
1270\`configure' configures CLEX File Manager 4.6.patch9 to adapt to many kinds of systems.
1271
1272Usage: $0 [OPTION]... [VAR=VALUE]...
1273
1274To assign environment variables (e.g., CC, CFLAGS...), specify them as
1275VAR=VALUE.  See below for descriptions of some of the useful variables.
1276
1277Defaults for the options are specified in brackets.
1278
1279Configuration:
1280  -h, --help              display this help and exit
1281      --help=short        display options specific to this package
1282      --help=recursive    display the short help of all the included packages
1283  -V, --version           display version information and exit
1284  -q, --quiet, --silent   do not print \`checking ...' messages
1285      --cache-file=FILE   cache test results in FILE [disabled]
1286  -C, --config-cache      alias for \`--cache-file=config.cache'
1287  -n, --no-create         do not create output files
1288      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1289
1290Installation directories:
1291  --prefix=PREFIX         install architecture-independent files in PREFIX
1292                          [$ac_default_prefix]
1293  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1294                          [PREFIX]
1295
1296By default, \`make install' will install all the files in
1297\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1298an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1299for instance \`--prefix=\$HOME'.
1300
1301For better control, use the options below.
1302
1303Fine tuning of the installation directories:
1304  --bindir=DIR            user executables [EPREFIX/bin]
1305  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1306  --libexecdir=DIR        program executables [EPREFIX/libexec]
1307  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1308  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1309  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1310  --libdir=DIR            object code libraries [EPREFIX/lib]
1311  --includedir=DIR        C header files [PREFIX/include]
1312  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1313  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1314  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1315  --infodir=DIR           info documentation [DATAROOTDIR/info]
1316  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1317  --mandir=DIR            man documentation [DATAROOTDIR/man]
1318  --docdir=DIR            documentation root [DATAROOTDIR/doc/clex]
1319  --htmldir=DIR           html documentation [DOCDIR]
1320  --dvidir=DIR            dvi documentation [DOCDIR]
1321  --pdfdir=DIR            pdf documentation [DOCDIR]
1322  --psdir=DIR             ps documentation [DOCDIR]
1323_ACEOF
1324
1325  cat <<\_ACEOF
1326
1327Program names:
1328  --program-prefix=PREFIX            prepend PREFIX to installed program names
1329  --program-suffix=SUFFIX            append SUFFIX to installed program names
1330  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1331_ACEOF
1332fi
1333
1334if test -n "$ac_init_help"; then
1335  case $ac_init_help in
1336     short | recursive ) echo "Configuration of CLEX File Manager 4.6.patch9:";;
1337   esac
1338  cat <<\_ACEOF
1339
1340Optional Features:
1341  --disable-option-checking  ignore unrecognized --enable/--with options
1342  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1343  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1344  --enable-silent-rules   less verbose build output (undo: "make V=1")
1345  --disable-silent-rules  verbose build output (undo: "make V=0")
1346  --enable-dependency-tracking
1347                          do not reject slow dependency extractors
1348  --disable-dependency-tracking
1349                          speeds up one-time build
1350  --disable-largefile     omit support for large files
1351
1352Some influential environment variables:
1353  CC          C compiler command
1354  CFLAGS      C compiler flags
1355  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1356              nonstandard directory <lib dir>
1357  LIBS        libraries to pass to the linker, e.g. -l<library>
1358  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1359              you have headers in a nonstandard directory <include dir>
1360  CPP         C preprocessor
1361
1362Use these variables to override the choices made by `configure' or to help
1363it to find libraries and programs with nonstandard names/locations.
1364
1365Report bugs to <clex@clex.sk>.
1366_ACEOF
1367ac_status=$?
1368fi
1369
1370if test "$ac_init_help" = "recursive"; then
1371  # If there are subdirs, report their specific --help.
1372  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1373    test -d "$ac_dir" ||
1374      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1375      continue
1376    ac_builddir=.
1377
1378case "$ac_dir" in
1379.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1380*)
1381  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1382  # A ".." for each directory in $ac_dir_suffix.
1383  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1384  case $ac_top_builddir_sub in
1385  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1386  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1387  esac ;;
1388esac
1389ac_abs_top_builddir=$ac_pwd
1390ac_abs_builddir=$ac_pwd$ac_dir_suffix
1391# for backward compatibility:
1392ac_top_builddir=$ac_top_build_prefix
1393
1394case $srcdir in
1395  .)  # We are building in place.
1396    ac_srcdir=.
1397    ac_top_srcdir=$ac_top_builddir_sub
1398    ac_abs_top_srcdir=$ac_pwd ;;
1399  [\\/]* | ?:[\\/]* )  # Absolute name.
1400    ac_srcdir=$srcdir$ac_dir_suffix;
1401    ac_top_srcdir=$srcdir
1402    ac_abs_top_srcdir=$srcdir ;;
1403  *) # Relative name.
1404    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1405    ac_top_srcdir=$ac_top_build_prefix$srcdir
1406    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1407esac
1408ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1409
1410    cd "$ac_dir" || { ac_status=$?; continue; }
1411    # Check for guested configure.
1412    if test -f "$ac_srcdir/configure.gnu"; then
1413      echo &&
1414      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1415    elif test -f "$ac_srcdir/configure"; then
1416      echo &&
1417      $SHELL "$ac_srcdir/configure" --help=recursive
1418    else
1419      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1420    fi || ac_status=$?
1421    cd "$ac_pwd" || { ac_status=$?; break; }
1422  done
1423fi
1424
1425test -n "$ac_init_help" && exit $ac_status
1426if $ac_init_version; then
1427  cat <<\_ACEOF
1428CLEX File Manager configure 4.6.patch9
1429generated by GNU Autoconf 2.69
1430
1431Copyright (C) 2012 Free Software Foundation, Inc.
1432This configure script is free software; the Free Software Foundation
1433gives unlimited permission to copy, distribute and modify it.
1434_ACEOF
1435  exit
1436fi
1437
1438## ------------------------ ##
1439## Autoconf initialization. ##
1440## ------------------------ ##
1441
1442# ac_fn_c_try_compile LINENO
1443# --------------------------
1444# Try to compile conftest.$ac_ext, and return whether this succeeded.
1445ac_fn_c_try_compile ()
1446{
1447  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1448  rm -f conftest.$ac_objext
1449  if { { ac_try="$ac_compile"
1450case "(($ac_try" in
1451  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1452  *) ac_try_echo=$ac_try;;
1453esac
1454eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1455$as_echo "$ac_try_echo"; } >&5
1456  (eval "$ac_compile") 2>conftest.err
1457  ac_status=$?
1458  if test -s conftest.err; then
1459    grep -v '^ *+' conftest.err >conftest.er1
1460    cat conftest.er1 >&5
1461    mv -f conftest.er1 conftest.err
1462  fi
1463  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1464  test $ac_status = 0; } && {
1465	 test -z "$ac_c_werror_flag" ||
1466	 test ! -s conftest.err
1467       } && test -s conftest.$ac_objext; then :
1468  ac_retval=0
1469else
1470  $as_echo "$as_me: failed program was:" >&5
1471sed 's/^/| /' conftest.$ac_ext >&5
1472
1473	ac_retval=1
1474fi
1475  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1476  as_fn_set_status $ac_retval
1477
1478} # ac_fn_c_try_compile
1479
1480# ac_fn_c_try_link LINENO
1481# -----------------------
1482# Try to link conftest.$ac_ext, and return whether this succeeded.
1483ac_fn_c_try_link ()
1484{
1485  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486  rm -f conftest.$ac_objext conftest$ac_exeext
1487  if { { ac_try="$ac_link"
1488case "(($ac_try" in
1489  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1490  *) ac_try_echo=$ac_try;;
1491esac
1492eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493$as_echo "$ac_try_echo"; } >&5
1494  (eval "$ac_link") 2>conftest.err
1495  ac_status=$?
1496  if test -s conftest.err; then
1497    grep -v '^ *+' conftest.err >conftest.er1
1498    cat conftest.er1 >&5
1499    mv -f conftest.er1 conftest.err
1500  fi
1501  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502  test $ac_status = 0; } && {
1503	 test -z "$ac_c_werror_flag" ||
1504	 test ! -s conftest.err
1505       } && test -s conftest$ac_exeext && {
1506	 test "$cross_compiling" = yes ||
1507	 test -x conftest$ac_exeext
1508       }; then :
1509  ac_retval=0
1510else
1511  $as_echo "$as_me: failed program was:" >&5
1512sed 's/^/| /' conftest.$ac_ext >&5
1513
1514	ac_retval=1
1515fi
1516  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1517  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1518  # interfere with the next link command; also delete a directory that is
1519  # left behind by Apple's compiler.  We do this before executing the actions.
1520  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1521  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522  as_fn_set_status $ac_retval
1523
1524} # ac_fn_c_try_link
1525
1526# ac_fn_c_try_cpp LINENO
1527# ----------------------
1528# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1529ac_fn_c_try_cpp ()
1530{
1531  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532  if { { ac_try="$ac_cpp conftest.$ac_ext"
1533case "(($ac_try" in
1534  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1535  *) ac_try_echo=$ac_try;;
1536esac
1537eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1538$as_echo "$ac_try_echo"; } >&5
1539  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1540  ac_status=$?
1541  if test -s conftest.err; then
1542    grep -v '^ *+' conftest.err >conftest.er1
1543    cat conftest.er1 >&5
1544    mv -f conftest.er1 conftest.err
1545  fi
1546  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1547  test $ac_status = 0; } > conftest.i && {
1548	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1549	 test ! -s conftest.err
1550       }; then :
1551  ac_retval=0
1552else
1553  $as_echo "$as_me: failed program was:" >&5
1554sed 's/^/| /' conftest.$ac_ext >&5
1555
1556    ac_retval=1
1557fi
1558  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1559  as_fn_set_status $ac_retval
1560
1561} # ac_fn_c_try_cpp
1562
1563# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1564# -------------------------------------------------------
1565# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1566# the include files in INCLUDES and setting the cache variable VAR
1567# accordingly.
1568ac_fn_c_check_header_mongrel ()
1569{
1570  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571  if eval \${$3+:} false; then :
1572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1573$as_echo_n "checking for $2... " >&6; }
1574if eval \${$3+:} false; then :
1575  $as_echo_n "(cached) " >&6
1576fi
1577eval ac_res=\$$3
1578	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1579$as_echo "$ac_res" >&6; }
1580else
1581  # Is the header compilable?
1582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1583$as_echo_n "checking $2 usability... " >&6; }
1584cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1585/* end confdefs.h.  */
1586$4
1587#include <$2>
1588_ACEOF
1589if ac_fn_c_try_compile "$LINENO"; then :
1590  ac_header_compiler=yes
1591else
1592  ac_header_compiler=no
1593fi
1594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1596$as_echo "$ac_header_compiler" >&6; }
1597
1598# Is the header present?
1599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1600$as_echo_n "checking $2 presence... " >&6; }
1601cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1602/* end confdefs.h.  */
1603#include <$2>
1604_ACEOF
1605if ac_fn_c_try_cpp "$LINENO"; then :
1606  ac_header_preproc=yes
1607else
1608  ac_header_preproc=no
1609fi
1610rm -f conftest.err conftest.i conftest.$ac_ext
1611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1612$as_echo "$ac_header_preproc" >&6; }
1613
1614# So?  What about this header?
1615case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1616  yes:no: )
1617    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1618$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1619    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1620$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1621    ;;
1622  no:yes:* )
1623    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1624$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1625    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1626$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1627    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1628$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1629    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1630$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1631    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1632$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1633( $as_echo "## --------------------------- ##
1634## Report this to clex@clex.sk ##
1635## --------------------------- ##"
1636     ) | sed "s/^/$as_me: WARNING:     /" >&2
1637    ;;
1638esac
1639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1640$as_echo_n "checking for $2... " >&6; }
1641if eval \${$3+:} false; then :
1642  $as_echo_n "(cached) " >&6
1643else
1644  eval "$3=\$ac_header_compiler"
1645fi
1646eval ac_res=\$$3
1647	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648$as_echo "$ac_res" >&6; }
1649fi
1650  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651
1652} # ac_fn_c_check_header_mongrel
1653
1654# ac_fn_c_try_run LINENO
1655# ----------------------
1656# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1657# that executables *can* be run.
1658ac_fn_c_try_run ()
1659{
1660  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661  if { { ac_try="$ac_link"
1662case "(($ac_try" in
1663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664  *) ac_try_echo=$ac_try;;
1665esac
1666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667$as_echo "$ac_try_echo"; } >&5
1668  (eval "$ac_link") 2>&5
1669  ac_status=$?
1670  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1672  { { case "(($ac_try" in
1673  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674  *) ac_try_echo=$ac_try;;
1675esac
1676eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677$as_echo "$ac_try_echo"; } >&5
1678  (eval "$ac_try") 2>&5
1679  ac_status=$?
1680  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681  test $ac_status = 0; }; }; then :
1682  ac_retval=0
1683else
1684  $as_echo "$as_me: program exited with status $ac_status" >&5
1685       $as_echo "$as_me: failed program was:" >&5
1686sed 's/^/| /' conftest.$ac_ext >&5
1687
1688       ac_retval=$ac_status
1689fi
1690  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1691  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692  as_fn_set_status $ac_retval
1693
1694} # ac_fn_c_try_run
1695
1696# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1697# -------------------------------------------------------
1698# Tests whether HEADER exists and can be compiled using the include files in
1699# INCLUDES, setting the cache variable VAR accordingly.
1700ac_fn_c_check_header_compile ()
1701{
1702  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704$as_echo_n "checking for $2... " >&6; }
1705if eval \${$3+:} false; then :
1706  $as_echo_n "(cached) " >&6
1707else
1708  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709/* end confdefs.h.  */
1710$4
1711#include <$2>
1712_ACEOF
1713if ac_fn_c_try_compile "$LINENO"; then :
1714  eval "$3=yes"
1715else
1716  eval "$3=no"
1717fi
1718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1719fi
1720eval ac_res=\$$3
1721	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1722$as_echo "$ac_res" >&6; }
1723  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724
1725} # ac_fn_c_check_header_compile
1726
1727# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1728# -------------------------------------------
1729# Tests whether TYPE exists after having included INCLUDES, setting cache
1730# variable VAR accordingly.
1731ac_fn_c_check_type ()
1732{
1733  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735$as_echo_n "checking for $2... " >&6; }
1736if eval \${$3+:} false; then :
1737  $as_echo_n "(cached) " >&6
1738else
1739  eval "$3=no"
1740  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1741/* end confdefs.h.  */
1742$4
1743int
1744main ()
1745{
1746if (sizeof ($2))
1747	 return 0;
1748  ;
1749  return 0;
1750}
1751_ACEOF
1752if ac_fn_c_try_compile "$LINENO"; then :
1753  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1754/* end confdefs.h.  */
1755$4
1756int
1757main ()
1758{
1759if (sizeof (($2)))
1760	    return 0;
1761  ;
1762  return 0;
1763}
1764_ACEOF
1765if ac_fn_c_try_compile "$LINENO"; then :
1766
1767else
1768  eval "$3=yes"
1769fi
1770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1771fi
1772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1773fi
1774eval ac_res=\$$3
1775	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1776$as_echo "$ac_res" >&6; }
1777  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778
1779} # ac_fn_c_check_type
1780
1781# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1782# ----------------------------------------------------
1783# Tries to find if the field MEMBER exists in type AGGR, after including
1784# INCLUDES, setting cache variable VAR accordingly.
1785ac_fn_c_check_member ()
1786{
1787  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1789$as_echo_n "checking for $2.$3... " >&6; }
1790if eval \${$4+:} false; then :
1791  $as_echo_n "(cached) " >&6
1792else
1793  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794/* end confdefs.h.  */
1795$5
1796int
1797main ()
1798{
1799static $2 ac_aggr;
1800if (ac_aggr.$3)
1801return 0;
1802  ;
1803  return 0;
1804}
1805_ACEOF
1806if ac_fn_c_try_compile "$LINENO"; then :
1807  eval "$4=yes"
1808else
1809  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810/* end confdefs.h.  */
1811$5
1812int
1813main ()
1814{
1815static $2 ac_aggr;
1816if (sizeof ac_aggr.$3)
1817return 0;
1818  ;
1819  return 0;
1820}
1821_ACEOF
1822if ac_fn_c_try_compile "$LINENO"; then :
1823  eval "$4=yes"
1824else
1825  eval "$4=no"
1826fi
1827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1828fi
1829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1830fi
1831eval ac_res=\$$4
1832	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833$as_echo "$ac_res" >&6; }
1834  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835
1836} # ac_fn_c_check_member
1837
1838# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1839# ---------------------------------------------
1840# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1841# accordingly.
1842ac_fn_c_check_decl ()
1843{
1844  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845  as_decl_name=`echo $2|sed 's/ *(.*//'`
1846  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1847  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1848$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1849if eval \${$3+:} false; then :
1850  $as_echo_n "(cached) " >&6
1851else
1852  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1853/* end confdefs.h.  */
1854$4
1855int
1856main ()
1857{
1858#ifndef $as_decl_name
1859#ifdef __cplusplus
1860  (void) $as_decl_use;
1861#else
1862  (void) $as_decl_name;
1863#endif
1864#endif
1865
1866  ;
1867  return 0;
1868}
1869_ACEOF
1870if ac_fn_c_try_compile "$LINENO"; then :
1871  eval "$3=yes"
1872else
1873  eval "$3=no"
1874fi
1875rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1876fi
1877eval ac_res=\$$3
1878	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879$as_echo "$ac_res" >&6; }
1880  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881
1882} # ac_fn_c_check_decl
1883
1884# ac_fn_c_check_func LINENO FUNC VAR
1885# ----------------------------------
1886# Tests whether FUNC exists, setting the cache variable VAR accordingly
1887ac_fn_c_check_func ()
1888{
1889  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891$as_echo_n "checking for $2... " >&6; }
1892if eval \${$3+:} false; then :
1893  $as_echo_n "(cached) " >&6
1894else
1895  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896/* end confdefs.h.  */
1897/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1898   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1899#define $2 innocuous_$2
1900
1901/* System header to define __stub macros and hopefully few prototypes,
1902    which can conflict with char $2 (); below.
1903    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1904    <limits.h> exists even on freestanding compilers.  */
1905
1906#ifdef __STDC__
1907# include <limits.h>
1908#else
1909# include <assert.h>
1910#endif
1911
1912#undef $2
1913
1914/* Override any GCC internal prototype to avoid an error.
1915   Use char because int might match the return type of a GCC
1916   builtin and then its argument prototype would still apply.  */
1917#ifdef __cplusplus
1918extern "C"
1919#endif
1920char $2 ();
1921/* The GNU C library defines this for functions which it implements
1922    to always fail with ENOSYS.  Some functions are actually named
1923    something starting with __ and the normal name is an alias.  */
1924#if defined __stub_$2 || defined __stub___$2
1925choke me
1926#endif
1927
1928int
1929main ()
1930{
1931return $2 ();
1932  ;
1933  return 0;
1934}
1935_ACEOF
1936if ac_fn_c_try_link "$LINENO"; then :
1937  eval "$3=yes"
1938else
1939  eval "$3=no"
1940fi
1941rm -f core conftest.err conftest.$ac_objext \
1942    conftest$ac_exeext conftest.$ac_ext
1943fi
1944eval ac_res=\$$3
1945	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946$as_echo "$ac_res" >&6; }
1947  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948
1949} # ac_fn_c_check_func
1950cat >config.log <<_ACEOF
1951This file contains any messages produced by compilers while
1952running configure, to aid debugging if configure makes a mistake.
1953
1954It was created by CLEX File Manager $as_me 4.6.patch9, which was
1955generated by GNU Autoconf 2.69.  Invocation command line was
1956
1957  $ $0 $@
1958
1959_ACEOF
1960exec 5>>config.log
1961{
1962cat <<_ASUNAME
1963## --------- ##
1964## Platform. ##
1965## --------- ##
1966
1967hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1968uname -m = `(uname -m) 2>/dev/null || echo unknown`
1969uname -r = `(uname -r) 2>/dev/null || echo unknown`
1970uname -s = `(uname -s) 2>/dev/null || echo unknown`
1971uname -v = `(uname -v) 2>/dev/null || echo unknown`
1972
1973/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1974/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1975
1976/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1977/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1978/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1979/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1980/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1981/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1982/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1983
1984_ASUNAME
1985
1986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987for as_dir in $PATH
1988do
1989  IFS=$as_save_IFS
1990  test -z "$as_dir" && as_dir=.
1991    $as_echo "PATH: $as_dir"
1992  done
1993IFS=$as_save_IFS
1994
1995} >&5
1996
1997cat >&5 <<_ACEOF
1998
1999
2000## ----------- ##
2001## Core tests. ##
2002## ----------- ##
2003
2004_ACEOF
2005
2006
2007# Keep a trace of the command line.
2008# Strip out --no-create and --no-recursion so they do not pile up.
2009# Strip out --silent because we don't want to record it for future runs.
2010# Also quote any args containing shell meta-characters.
2011# Make two passes to allow for proper duplicate-argument suppression.
2012ac_configure_args=
2013ac_configure_args0=
2014ac_configure_args1=
2015ac_must_keep_next=false
2016for ac_pass in 1 2
2017do
2018  for ac_arg
2019  do
2020    case $ac_arg in
2021    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2022    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2023    | -silent | --silent | --silen | --sile | --sil)
2024      continue ;;
2025    *\'*)
2026      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2027    esac
2028    case $ac_pass in
2029    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2030    2)
2031      as_fn_append ac_configure_args1 " '$ac_arg'"
2032      if test $ac_must_keep_next = true; then
2033	ac_must_keep_next=false # Got value, back to normal.
2034      else
2035	case $ac_arg in
2036	  *=* | --config-cache | -C | -disable-* | --disable-* \
2037	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2038	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2039	  | -with-* | --with-* | -without-* | --without-* | --x)
2040	    case "$ac_configure_args0 " in
2041	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2042	    esac
2043	    ;;
2044	  -* ) ac_must_keep_next=true ;;
2045	esac
2046      fi
2047      as_fn_append ac_configure_args " '$ac_arg'"
2048      ;;
2049    esac
2050  done
2051done
2052{ ac_configure_args0=; unset ac_configure_args0;}
2053{ ac_configure_args1=; unset ac_configure_args1;}
2054
2055# When interrupted or exit'd, cleanup temporary files, and complete
2056# config.log.  We remove comments because anyway the quotes in there
2057# would cause problems or look ugly.
2058# WARNING: Use '\'' to represent an apostrophe within the trap.
2059# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2060trap 'exit_status=$?
2061  # Save into config.log some information that might help in debugging.
2062  {
2063    echo
2064
2065    $as_echo "## ---------------- ##
2066## Cache variables. ##
2067## ---------------- ##"
2068    echo
2069    # The following way of writing the cache mishandles newlines in values,
2070(
2071  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2072    eval ac_val=\$$ac_var
2073    case $ac_val in #(
2074    *${as_nl}*)
2075      case $ac_var in #(
2076      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2077$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2078      esac
2079      case $ac_var in #(
2080      _ | IFS | as_nl) ;; #(
2081      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2082      *) { eval $ac_var=; unset $ac_var;} ;;
2083      esac ;;
2084    esac
2085  done
2086  (set) 2>&1 |
2087    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2088    *${as_nl}ac_space=\ *)
2089      sed -n \
2090	"s/'\''/'\''\\\\'\'''\''/g;
2091	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2092      ;; #(
2093    *)
2094      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2095      ;;
2096    esac |
2097    sort
2098)
2099    echo
2100
2101    $as_echo "## ----------------- ##
2102## Output variables. ##
2103## ----------------- ##"
2104    echo
2105    for ac_var in $ac_subst_vars
2106    do
2107      eval ac_val=\$$ac_var
2108      case $ac_val in
2109      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2110      esac
2111      $as_echo "$ac_var='\''$ac_val'\''"
2112    done | sort
2113    echo
2114
2115    if test -n "$ac_subst_files"; then
2116      $as_echo "## ------------------- ##
2117## File substitutions. ##
2118## ------------------- ##"
2119      echo
2120      for ac_var in $ac_subst_files
2121      do
2122	eval ac_val=\$$ac_var
2123	case $ac_val in
2124	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2125	esac
2126	$as_echo "$ac_var='\''$ac_val'\''"
2127      done | sort
2128      echo
2129    fi
2130
2131    if test -s confdefs.h; then
2132      $as_echo "## ----------- ##
2133## confdefs.h. ##
2134## ----------- ##"
2135      echo
2136      cat confdefs.h
2137      echo
2138    fi
2139    test "$ac_signal" != 0 &&
2140      $as_echo "$as_me: caught signal $ac_signal"
2141    $as_echo "$as_me: exit $exit_status"
2142  } >&5
2143  rm -f core *.core core.conftest.* &&
2144    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2145    exit $exit_status
2146' 0
2147for ac_signal in 1 2 13 15; do
2148  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2149done
2150ac_signal=0
2151
2152# confdefs.h avoids OS command line length limits that DEFS can exceed.
2153rm -f -r conftest* confdefs.h
2154
2155$as_echo "/* confdefs.h */" > confdefs.h
2156
2157# Predefined preprocessor variables.
2158
2159cat >>confdefs.h <<_ACEOF
2160#define PACKAGE_NAME "$PACKAGE_NAME"
2161_ACEOF
2162
2163cat >>confdefs.h <<_ACEOF
2164#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2165_ACEOF
2166
2167cat >>confdefs.h <<_ACEOF
2168#define PACKAGE_VERSION "$PACKAGE_VERSION"
2169_ACEOF
2170
2171cat >>confdefs.h <<_ACEOF
2172#define PACKAGE_STRING "$PACKAGE_STRING"
2173_ACEOF
2174
2175cat >>confdefs.h <<_ACEOF
2176#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2177_ACEOF
2178
2179cat >>confdefs.h <<_ACEOF
2180#define PACKAGE_URL "$PACKAGE_URL"
2181_ACEOF
2182
2183
2184# Let the site file select an alternate cache file if it wants to.
2185# Prefer an explicitly selected file to automatically selected ones.
2186ac_site_file1=NONE
2187ac_site_file2=NONE
2188if test -n "$CONFIG_SITE"; then
2189  # We do not want a PATH search for config.site.
2190  case $CONFIG_SITE in #((
2191    -*)  ac_site_file1=./$CONFIG_SITE;;
2192    */*) ac_site_file1=$CONFIG_SITE;;
2193    *)   ac_site_file1=./$CONFIG_SITE;;
2194  esac
2195elif test "x$prefix" != xNONE; then
2196  ac_site_file1=$prefix/share/config.site
2197  ac_site_file2=$prefix/etc/config.site
2198else
2199  ac_site_file1=$ac_default_prefix/share/config.site
2200  ac_site_file2=$ac_default_prefix/etc/config.site
2201fi
2202for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2203do
2204  test "x$ac_site_file" = xNONE && continue
2205  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2206    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2207$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2208    sed 's/^/| /' "$ac_site_file" >&5
2209    . "$ac_site_file" \
2210      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2211$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212as_fn_error $? "failed to load site script $ac_site_file
2213See \`config.log' for more details" "$LINENO" 5; }
2214  fi
2215done
2216
2217if test -r "$cache_file"; then
2218  # Some versions of bash will fail to source /dev/null (special files
2219  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2220  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2221    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2222$as_echo "$as_me: loading cache $cache_file" >&6;}
2223    case $cache_file in
2224      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2225      *)                      . "./$cache_file";;
2226    esac
2227  fi
2228else
2229  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2230$as_echo "$as_me: creating cache $cache_file" >&6;}
2231  >$cache_file
2232fi
2233
2234# Check that the precious variables saved in the cache have kept the same
2235# value.
2236ac_cache_corrupted=false
2237for ac_var in $ac_precious_vars; do
2238  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2239  eval ac_new_set=\$ac_env_${ac_var}_set
2240  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2241  eval ac_new_val=\$ac_env_${ac_var}_value
2242  case $ac_old_set,$ac_new_set in
2243    set,)
2244      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2245$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2246      ac_cache_corrupted=: ;;
2247    ,set)
2248      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2249$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2250      ac_cache_corrupted=: ;;
2251    ,);;
2252    *)
2253      if test "x$ac_old_val" != "x$ac_new_val"; then
2254	# differences in whitespace do not lead to failure.
2255	ac_old_val_w=`echo x $ac_old_val`
2256	ac_new_val_w=`echo x $ac_new_val`
2257	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2258	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2259$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2260	  ac_cache_corrupted=:
2261	else
2262	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2263$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2264	  eval $ac_var=\$ac_old_val
2265	fi
2266	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2267$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2268	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2269$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2270      fi;;
2271  esac
2272  # Pass precious variables to config.status.
2273  if test "$ac_new_set" = set; then
2274    case $ac_new_val in
2275    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2276    *) ac_arg=$ac_var=$ac_new_val ;;
2277    esac
2278    case " $ac_configure_args " in
2279      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2280      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2281    esac
2282  fi
2283done
2284if $ac_cache_corrupted; then
2285  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2286$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2287  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2288$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2289  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2290fi
2291## -------------------- ##
2292## Main body of script. ##
2293## -------------------- ##
2294
2295ac_ext=c
2296ac_cpp='$CPP $CPPFLAGS'
2297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2299ac_compiler_gnu=$ac_cv_c_compiler_gnu
2300
2301
2302RPMRELEASE=1
2303
2304
2305am__api_version='1.15'
2306
2307ac_aux_dir=
2308for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2309  if test -f "$ac_dir/install-sh"; then
2310    ac_aux_dir=$ac_dir
2311    ac_install_sh="$ac_aux_dir/install-sh -c"
2312    break
2313  elif test -f "$ac_dir/install.sh"; then
2314    ac_aux_dir=$ac_dir
2315    ac_install_sh="$ac_aux_dir/install.sh -c"
2316    break
2317  elif test -f "$ac_dir/shtool"; then
2318    ac_aux_dir=$ac_dir
2319    ac_install_sh="$ac_aux_dir/shtool install -c"
2320    break
2321  fi
2322done
2323if test -z "$ac_aux_dir"; then
2324  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2325fi
2326
2327# These three variables are undocumented and unsupported,
2328# and are intended to be withdrawn in a future Autoconf release.
2329# They can cause serious problems if a builder's source tree is in a directory
2330# whose full name contains unusual characters.
2331ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2332ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2333ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2334
2335
2336# Find a good install program.  We prefer a C program (faster),
2337# so one script is as good as another.  But avoid the broken or
2338# incompatible versions:
2339# SysV /etc/install, /usr/sbin/install
2340# SunOS /usr/etc/install
2341# IRIX /sbin/install
2342# AIX /bin/install
2343# AmigaOS /C/install, which installs bootblocks on floppy discs
2344# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2345# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2346# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2347# OS/2's system install, which has a completely different semantic
2348# ./install, which can be erroneously created by make from ./install.sh.
2349# Reject install programs that cannot install multiple files.
2350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2351$as_echo_n "checking for a BSD-compatible install... " >&6; }
2352if test -z "$INSTALL"; then
2353if ${ac_cv_path_install+:} false; then :
2354  $as_echo_n "(cached) " >&6
2355else
2356  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357for as_dir in $PATH
2358do
2359  IFS=$as_save_IFS
2360  test -z "$as_dir" && as_dir=.
2361    # Account for people who put trailing slashes in PATH elements.
2362case $as_dir/ in #((
2363  ./ | .// | /[cC]/* | \
2364  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2365  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2366  /usr/ucb/* ) ;;
2367  *)
2368    # OSF1 and SCO ODT 3.0 have their own names for install.
2369    # Don't use installbsd from OSF since it installs stuff as root
2370    # by default.
2371    for ac_prog in ginstall scoinst install; do
2372      for ac_exec_ext in '' $ac_executable_extensions; do
2373	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2374	  if test $ac_prog = install &&
2375	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2376	    # AIX install.  It has an incompatible calling convention.
2377	    :
2378	  elif test $ac_prog = install &&
2379	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2380	    # program-specific install script used by HP pwplus--don't use.
2381	    :
2382	  else
2383	    rm -rf conftest.one conftest.two conftest.dir
2384	    echo one > conftest.one
2385	    echo two > conftest.two
2386	    mkdir conftest.dir
2387	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2388	      test -s conftest.one && test -s conftest.two &&
2389	      test -s conftest.dir/conftest.one &&
2390	      test -s conftest.dir/conftest.two
2391	    then
2392	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2393	      break 3
2394	    fi
2395	  fi
2396	fi
2397      done
2398    done
2399    ;;
2400esac
2401
2402  done
2403IFS=$as_save_IFS
2404
2405rm -rf conftest.one conftest.two conftest.dir
2406
2407fi
2408  if test "${ac_cv_path_install+set}" = set; then
2409    INSTALL=$ac_cv_path_install
2410  else
2411    # As a last resort, use the slow shell script.  Don't cache a
2412    # value for INSTALL within a source directory, because that will
2413    # break other packages using the cache if that directory is
2414    # removed, or if the value is a relative name.
2415    INSTALL=$ac_install_sh
2416  fi
2417fi
2418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2419$as_echo "$INSTALL" >&6; }
2420
2421# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2422# It thinks the first close brace ends the variable substitution.
2423test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2424
2425test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2426
2427test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2428
2429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2430$as_echo_n "checking whether build environment is sane... " >&6; }
2431# Reject unsafe characters in $srcdir or the absolute working directory
2432# name.  Accept space and tab only in the latter.
2433am_lf='
2434'
2435case `pwd` in
2436  *[\\\"\#\$\&\'\`$am_lf]*)
2437    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2438esac
2439case $srcdir in
2440  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2441    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2442esac
2443
2444# Do 'set' in a subshell so we don't clobber the current shell's
2445# arguments.  Must try -L first in case configure is actually a
2446# symlink; some systems play weird games with the mod time of symlinks
2447# (eg FreeBSD returns the mod time of the symlink's containing
2448# directory).
2449if (
2450   am_has_slept=no
2451   for am_try in 1 2; do
2452     echo "timestamp, slept: $am_has_slept" > conftest.file
2453     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2454     if test "$*" = "X"; then
2455	# -L didn't work.
2456	set X `ls -t "$srcdir/configure" conftest.file`
2457     fi
2458     if test "$*" != "X $srcdir/configure conftest.file" \
2459	&& test "$*" != "X conftest.file $srcdir/configure"; then
2460
2461	# If neither matched, then we have a broken ls.  This can happen
2462	# if, for instance, CONFIG_SHELL is bash and it inherits a
2463	# broken ls alias from the environment.  This has actually
2464	# happened.  Such a system could not be considered "sane".
2465	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2466  alias in your environment" "$LINENO" 5
2467     fi
2468     if test "$2" = conftest.file || test $am_try -eq 2; then
2469       break
2470     fi
2471     # Just in case.
2472     sleep 1
2473     am_has_slept=yes
2474   done
2475   test "$2" = conftest.file
2476   )
2477then
2478   # Ok.
2479   :
2480else
2481   as_fn_error $? "newly created file is older than distributed files!
2482Check your system clock" "$LINENO" 5
2483fi
2484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2485$as_echo "yes" >&6; }
2486# If we didn't sleep, we still need to ensure time stamps of config.status and
2487# generated files are strictly newer.
2488am_sleep_pid=
2489if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2490  ( sleep 1 ) &
2491  am_sleep_pid=$!
2492fi
2493
2494rm -f conftest.file
2495
2496test "$program_prefix" != NONE &&
2497  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2498# Use a double $ so make ignores it.
2499test "$program_suffix" != NONE &&
2500  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2501# Double any \ or $.
2502# By default was `s,x,x', remove it if useless.
2503ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2504program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2505
2506# Expand $ac_aux_dir to an absolute path.
2507am_aux_dir=`cd "$ac_aux_dir" && pwd`
2508
2509if test x"${MISSING+set}" != xset; then
2510  case $am_aux_dir in
2511  *\ * | *\	*)
2512    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2513  *)
2514    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2515  esac
2516fi
2517# Use eval to expand $SHELL
2518if eval "$MISSING --is-lightweight"; then
2519  am_missing_run="$MISSING "
2520else
2521  am_missing_run=
2522  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2523$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2524fi
2525
2526if test x"${install_sh+set}" != xset; then
2527  case $am_aux_dir in
2528  *\ * | *\	*)
2529    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2530  *)
2531    install_sh="\${SHELL} $am_aux_dir/install-sh"
2532  esac
2533fi
2534
2535# Installed binaries are usually stripped using 'strip' when the user
2536# run "make install-strip".  However 'strip' might not be the right
2537# tool to use in cross-compilation environments, therefore Automake
2538# will honor the 'STRIP' environment variable to overrule this program.
2539if test "$cross_compiling" != no; then
2540  if test -n "$ac_tool_prefix"; then
2541  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2542set dummy ${ac_tool_prefix}strip; ac_word=$2
2543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2544$as_echo_n "checking for $ac_word... " >&6; }
2545if ${ac_cv_prog_STRIP+:} false; then :
2546  $as_echo_n "(cached) " >&6
2547else
2548  if test -n "$STRIP"; then
2549  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2550else
2551as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552for as_dir in $PATH
2553do
2554  IFS=$as_save_IFS
2555  test -z "$as_dir" && as_dir=.
2556    for ac_exec_ext in '' $ac_executable_extensions; do
2557  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2558    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2559    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2560    break 2
2561  fi
2562done
2563  done
2564IFS=$as_save_IFS
2565
2566fi
2567fi
2568STRIP=$ac_cv_prog_STRIP
2569if test -n "$STRIP"; then
2570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2571$as_echo "$STRIP" >&6; }
2572else
2573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2574$as_echo "no" >&6; }
2575fi
2576
2577
2578fi
2579if test -z "$ac_cv_prog_STRIP"; then
2580  ac_ct_STRIP=$STRIP
2581  # Extract the first word of "strip", so it can be a program name with args.
2582set dummy strip; ac_word=$2
2583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2584$as_echo_n "checking for $ac_word... " >&6; }
2585if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2586  $as_echo_n "(cached) " >&6
2587else
2588  if test -n "$ac_ct_STRIP"; then
2589  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2590else
2591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592for as_dir in $PATH
2593do
2594  IFS=$as_save_IFS
2595  test -z "$as_dir" && as_dir=.
2596    for ac_exec_ext in '' $ac_executable_extensions; do
2597  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2598    ac_cv_prog_ac_ct_STRIP="strip"
2599    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2600    break 2
2601  fi
2602done
2603  done
2604IFS=$as_save_IFS
2605
2606fi
2607fi
2608ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2609if test -n "$ac_ct_STRIP"; then
2610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2611$as_echo "$ac_ct_STRIP" >&6; }
2612else
2613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2614$as_echo "no" >&6; }
2615fi
2616
2617  if test "x$ac_ct_STRIP" = x; then
2618    STRIP=":"
2619  else
2620    case $cross_compiling:$ac_tool_warned in
2621yes:)
2622{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2623$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2624ac_tool_warned=yes ;;
2625esac
2626    STRIP=$ac_ct_STRIP
2627  fi
2628else
2629  STRIP="$ac_cv_prog_STRIP"
2630fi
2631
2632fi
2633INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2634
2635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2636$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2637if test -z "$MKDIR_P"; then
2638  if ${ac_cv_path_mkdir+:} false; then :
2639  $as_echo_n "(cached) " >&6
2640else
2641  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2642for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2643do
2644  IFS=$as_save_IFS
2645  test -z "$as_dir" && as_dir=.
2646    for ac_prog in mkdir gmkdir; do
2647	 for ac_exec_ext in '' $ac_executable_extensions; do
2648	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2649	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2650	     'mkdir (GNU coreutils) '* | \
2651	     'mkdir (coreutils) '* | \
2652	     'mkdir (fileutils) '4.1*)
2653	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2654	       break 3;;
2655	   esac
2656	 done
2657       done
2658  done
2659IFS=$as_save_IFS
2660
2661fi
2662
2663  test -d ./--version && rmdir ./--version
2664  if test "${ac_cv_path_mkdir+set}" = set; then
2665    MKDIR_P="$ac_cv_path_mkdir -p"
2666  else
2667    # As a last resort, use the slow shell script.  Don't cache a
2668    # value for MKDIR_P within a source directory, because that will
2669    # break other packages using the cache if that directory is
2670    # removed, or if the value is a relative name.
2671    MKDIR_P="$ac_install_sh -d"
2672  fi
2673fi
2674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2675$as_echo "$MKDIR_P" >&6; }
2676
2677for ac_prog in gawk mawk nawk awk
2678do
2679  # Extract the first word of "$ac_prog", so it can be a program name with args.
2680set dummy $ac_prog; ac_word=$2
2681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2682$as_echo_n "checking for $ac_word... " >&6; }
2683if ${ac_cv_prog_AWK+:} false; then :
2684  $as_echo_n "(cached) " >&6
2685else
2686  if test -n "$AWK"; then
2687  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2688else
2689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690for as_dir in $PATH
2691do
2692  IFS=$as_save_IFS
2693  test -z "$as_dir" && as_dir=.
2694    for ac_exec_ext in '' $ac_executable_extensions; do
2695  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2696    ac_cv_prog_AWK="$ac_prog"
2697    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2698    break 2
2699  fi
2700done
2701  done
2702IFS=$as_save_IFS
2703
2704fi
2705fi
2706AWK=$ac_cv_prog_AWK
2707if test -n "$AWK"; then
2708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2709$as_echo "$AWK" >&6; }
2710else
2711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712$as_echo "no" >&6; }
2713fi
2714
2715
2716  test -n "$AWK" && break
2717done
2718
2719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2720$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2721set x ${MAKE-make}
2722ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2723if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2724  $as_echo_n "(cached) " >&6
2725else
2726  cat >conftest.make <<\_ACEOF
2727SHELL = /bin/sh
2728all:
2729	@echo '@@@%%%=$(MAKE)=@@@%%%'
2730_ACEOF
2731# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2732case `${MAKE-make} -f conftest.make 2>/dev/null` in
2733  *@@@%%%=?*=@@@%%%*)
2734    eval ac_cv_prog_make_${ac_make}_set=yes;;
2735  *)
2736    eval ac_cv_prog_make_${ac_make}_set=no;;
2737esac
2738rm -f conftest.make
2739fi
2740if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2742$as_echo "yes" >&6; }
2743  SET_MAKE=
2744else
2745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2746$as_echo "no" >&6; }
2747  SET_MAKE="MAKE=${MAKE-make}"
2748fi
2749
2750rm -rf .tst 2>/dev/null
2751mkdir .tst 2>/dev/null
2752if test -d .tst; then
2753  am__leading_dot=.
2754else
2755  am__leading_dot=_
2756fi
2757rmdir .tst 2>/dev/null
2758
2759# Check whether --enable-silent-rules was given.
2760if test "${enable_silent_rules+set}" = set; then :
2761  enableval=$enable_silent_rules;
2762fi
2763
2764case $enable_silent_rules in # (((
2765  yes) AM_DEFAULT_VERBOSITY=0;;
2766   no) AM_DEFAULT_VERBOSITY=1;;
2767    *) AM_DEFAULT_VERBOSITY=1;;
2768esac
2769am_make=${MAKE-make}
2770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2771$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2772if ${am_cv_make_support_nested_variables+:} false; then :
2773  $as_echo_n "(cached) " >&6
2774else
2775  if $as_echo 'TRUE=$(BAR$(V))
2776BAR0=false
2777BAR1=true
2778V=1
2779am__doit:
2780	@$(TRUE)
2781.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2782  am_cv_make_support_nested_variables=yes
2783else
2784  am_cv_make_support_nested_variables=no
2785fi
2786fi
2787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2788$as_echo "$am_cv_make_support_nested_variables" >&6; }
2789if test $am_cv_make_support_nested_variables = yes; then
2790    AM_V='$(V)'
2791  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2792else
2793  AM_V=$AM_DEFAULT_VERBOSITY
2794  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2795fi
2796AM_BACKSLASH='\'
2797
2798if test "`cd $srcdir && pwd`" != "`pwd`"; then
2799  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2800  # is not polluted with repeated "-I."
2801  am__isrc=' -I$(srcdir)'
2802  # test to see if srcdir already configured
2803  if test -f $srcdir/config.status; then
2804    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2805  fi
2806fi
2807
2808# test whether we have cygpath
2809if test -z "$CYGPATH_W"; then
2810  if (cygpath --version) >/dev/null 2>/dev/null; then
2811    CYGPATH_W='cygpath -w'
2812  else
2813    CYGPATH_W=echo
2814  fi
2815fi
2816
2817
2818# Define the identity of the package.
2819 PACKAGE='clex'
2820 VERSION='4.6.patch9'
2821
2822
2823cat >>confdefs.h <<_ACEOF
2824#define PACKAGE "$PACKAGE"
2825_ACEOF
2826
2827
2828cat >>confdefs.h <<_ACEOF
2829#define VERSION "$VERSION"
2830_ACEOF
2831
2832# Some tools Automake needs.
2833
2834ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2835
2836
2837AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2838
2839
2840AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2841
2842
2843AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2844
2845
2846MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2847
2848# For better backward compatibility.  To be removed once Automake 1.9.x
2849# dies out for good.  For more background, see:
2850# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2851# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2852mkdir_p='$(MKDIR_P)'
2853
2854# We need awk for the "check" target (and possibly the TAP driver).  The
2855# system "awk" is bad on some platforms.
2856# Always define AMTAR for backward compatibility.  Yes, it's still used
2857# in the wild :-(  We should find a proper way to deprecate it ...
2858AMTAR='$${TAR-tar}'
2859
2860
2861# We'll loop over all known methods to create a tar archive until one works.
2862_am_tools='gnutar  pax cpio none'
2863
2864am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2865
2866
2867
2868
2869
2870
2871# POSIX will say in a future version that running "rm -f" with no argument
2872# is OK; and we want to be able to make that assumption in our Makefile
2873# recipes.  So use an aggressive probe to check that the usage we want is
2874# actually supported "in the wild" to an acceptable degree.
2875# See automake bug#10828.
2876# To make any issue more visible, cause the running configure to be aborted
2877# by default if the 'rm' program in use doesn't match our expectations; the
2878# user can still override this though.
2879if rm -f && rm -fr && rm -rf; then : OK; else
2880  cat >&2 <<'END'
2881Oops!
2882
2883Your 'rm' program seems unable to run without file operands specified
2884on the command line, even when the '-f' option is present.  This is contrary
2885to the behaviour of most rm programs out there, and not conforming with
2886the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2887
2888Please tell bug-automake@gnu.org about your system, including the value
2889of your $PATH and any error possibly output before this message.  This
2890can help us improve future automake versions.
2891
2892END
2893  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2894    echo 'Configuration will proceed anyway, since you have set the' >&2
2895    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2896    echo >&2
2897  else
2898    cat >&2 <<'END'
2899Aborting the configuration process, to ensure you take notice of the issue.
2900
2901You can download and install GNU coreutils to get an 'rm' implementation
2902that behaves properly: <http://www.gnu.org/software/coreutils/>.
2903
2904If you want to complete the configuration process using your problematic
2905'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2906to "yes", and re-run configure.
2907
2908END
2909    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2910  fi
2911fi
2912
2913
2914ac_config_headers="$ac_config_headers config.h"
2915
2916
2917# Checks for programs.
2918ac_ext=c
2919ac_cpp='$CPP $CPPFLAGS'
2920ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2922ac_compiler_gnu=$ac_cv_c_compiler_gnu
2923if test -n "$ac_tool_prefix"; then
2924  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2925set dummy ${ac_tool_prefix}gcc; ac_word=$2
2926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927$as_echo_n "checking for $ac_word... " >&6; }
2928if ${ac_cv_prog_CC+:} false; then :
2929  $as_echo_n "(cached) " >&6
2930else
2931  if test -n "$CC"; then
2932  ac_cv_prog_CC="$CC" # Let the user override the test.
2933else
2934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935for as_dir in $PATH
2936do
2937  IFS=$as_save_IFS
2938  test -z "$as_dir" && as_dir=.
2939    for ac_exec_ext in '' $ac_executable_extensions; do
2940  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2941    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2942    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2943    break 2
2944  fi
2945done
2946  done
2947IFS=$as_save_IFS
2948
2949fi
2950fi
2951CC=$ac_cv_prog_CC
2952if test -n "$CC"; then
2953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2954$as_echo "$CC" >&6; }
2955else
2956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957$as_echo "no" >&6; }
2958fi
2959
2960
2961fi
2962if test -z "$ac_cv_prog_CC"; then
2963  ac_ct_CC=$CC
2964  # Extract the first word of "gcc", so it can be a program name with args.
2965set dummy gcc; ac_word=$2
2966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967$as_echo_n "checking for $ac_word... " >&6; }
2968if ${ac_cv_prog_ac_ct_CC+:} false; then :
2969  $as_echo_n "(cached) " >&6
2970else
2971  if test -n "$ac_ct_CC"; then
2972  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2973else
2974as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2975for as_dir in $PATH
2976do
2977  IFS=$as_save_IFS
2978  test -z "$as_dir" && as_dir=.
2979    for ac_exec_ext in '' $ac_executable_extensions; do
2980  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2981    ac_cv_prog_ac_ct_CC="gcc"
2982    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2983    break 2
2984  fi
2985done
2986  done
2987IFS=$as_save_IFS
2988
2989fi
2990fi
2991ac_ct_CC=$ac_cv_prog_ac_ct_CC
2992if test -n "$ac_ct_CC"; then
2993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2994$as_echo "$ac_ct_CC" >&6; }
2995else
2996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997$as_echo "no" >&6; }
2998fi
2999
3000  if test "x$ac_ct_CC" = x; then
3001    CC=""
3002  else
3003    case $cross_compiling:$ac_tool_warned in
3004yes:)
3005{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3006$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3007ac_tool_warned=yes ;;
3008esac
3009    CC=$ac_ct_CC
3010  fi
3011else
3012  CC="$ac_cv_prog_CC"
3013fi
3014
3015if test -z "$CC"; then
3016          if test -n "$ac_tool_prefix"; then
3017    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3018set dummy ${ac_tool_prefix}cc; ac_word=$2
3019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020$as_echo_n "checking for $ac_word... " >&6; }
3021if ${ac_cv_prog_CC+:} false; then :
3022  $as_echo_n "(cached) " >&6
3023else
3024  if test -n "$CC"; then
3025  ac_cv_prog_CC="$CC" # Let the user override the test.
3026else
3027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028for as_dir in $PATH
3029do
3030  IFS=$as_save_IFS
3031  test -z "$as_dir" && as_dir=.
3032    for ac_exec_ext in '' $ac_executable_extensions; do
3033  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3034    ac_cv_prog_CC="${ac_tool_prefix}cc"
3035    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3036    break 2
3037  fi
3038done
3039  done
3040IFS=$as_save_IFS
3041
3042fi
3043fi
3044CC=$ac_cv_prog_CC
3045if test -n "$CC"; then
3046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3047$as_echo "$CC" >&6; }
3048else
3049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050$as_echo "no" >&6; }
3051fi
3052
3053
3054  fi
3055fi
3056if test -z "$CC"; then
3057  # Extract the first word of "cc", so it can be a program name with args.
3058set dummy cc; ac_word=$2
3059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060$as_echo_n "checking for $ac_word... " >&6; }
3061if ${ac_cv_prog_CC+:} false; then :
3062  $as_echo_n "(cached) " >&6
3063else
3064  if test -n "$CC"; then
3065  ac_cv_prog_CC="$CC" # Let the user override the test.
3066else
3067  ac_prog_rejected=no
3068as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069for as_dir in $PATH
3070do
3071  IFS=$as_save_IFS
3072  test -z "$as_dir" && as_dir=.
3073    for ac_exec_ext in '' $ac_executable_extensions; do
3074  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3075    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3076       ac_prog_rejected=yes
3077       continue
3078     fi
3079    ac_cv_prog_CC="cc"
3080    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081    break 2
3082  fi
3083done
3084  done
3085IFS=$as_save_IFS
3086
3087if test $ac_prog_rejected = yes; then
3088  # We found a bogon in the path, so make sure we never use it.
3089  set dummy $ac_cv_prog_CC
3090  shift
3091  if test $# != 0; then
3092    # We chose a different compiler from the bogus one.
3093    # However, it has the same basename, so the bogon will be chosen
3094    # first if we set CC to just the basename; use the full file name.
3095    shift
3096    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3097  fi
3098fi
3099fi
3100fi
3101CC=$ac_cv_prog_CC
3102if test -n "$CC"; then
3103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3104$as_echo "$CC" >&6; }
3105else
3106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3107$as_echo "no" >&6; }
3108fi
3109
3110
3111fi
3112if test -z "$CC"; then
3113  if test -n "$ac_tool_prefix"; then
3114  for ac_prog in cl.exe
3115  do
3116    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3117set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3119$as_echo_n "checking for $ac_word... " >&6; }
3120if ${ac_cv_prog_CC+:} false; then :
3121  $as_echo_n "(cached) " >&6
3122else
3123  if test -n "$CC"; then
3124  ac_cv_prog_CC="$CC" # Let the user override the test.
3125else
3126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127for as_dir in $PATH
3128do
3129  IFS=$as_save_IFS
3130  test -z "$as_dir" && as_dir=.
3131    for ac_exec_ext in '' $ac_executable_extensions; do
3132  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3133    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3134    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135    break 2
3136  fi
3137done
3138  done
3139IFS=$as_save_IFS
3140
3141fi
3142fi
3143CC=$ac_cv_prog_CC
3144if test -n "$CC"; then
3145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3146$as_echo "$CC" >&6; }
3147else
3148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149$as_echo "no" >&6; }
3150fi
3151
3152
3153    test -n "$CC" && break
3154  done
3155fi
3156if test -z "$CC"; then
3157  ac_ct_CC=$CC
3158  for ac_prog in cl.exe
3159do
3160  # Extract the first word of "$ac_prog", so it can be a program name with args.
3161set dummy $ac_prog; ac_word=$2
3162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163$as_echo_n "checking for $ac_word... " >&6; }
3164if ${ac_cv_prog_ac_ct_CC+:} false; then :
3165  $as_echo_n "(cached) " >&6
3166else
3167  if test -n "$ac_ct_CC"; then
3168  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3169else
3170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171for as_dir in $PATH
3172do
3173  IFS=$as_save_IFS
3174  test -z "$as_dir" && as_dir=.
3175    for ac_exec_ext in '' $ac_executable_extensions; do
3176  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3177    ac_cv_prog_ac_ct_CC="$ac_prog"
3178    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179    break 2
3180  fi
3181done
3182  done
3183IFS=$as_save_IFS
3184
3185fi
3186fi
3187ac_ct_CC=$ac_cv_prog_ac_ct_CC
3188if test -n "$ac_ct_CC"; then
3189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3190$as_echo "$ac_ct_CC" >&6; }
3191else
3192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193$as_echo "no" >&6; }
3194fi
3195
3196
3197  test -n "$ac_ct_CC" && break
3198done
3199
3200  if test "x$ac_ct_CC" = x; then
3201    CC=""
3202  else
3203    case $cross_compiling:$ac_tool_warned in
3204yes:)
3205{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3206$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3207ac_tool_warned=yes ;;
3208esac
3209    CC=$ac_ct_CC
3210  fi
3211fi
3212
3213fi
3214
3215
3216test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3217$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3218as_fn_error $? "no acceptable C compiler found in \$PATH
3219See \`config.log' for more details" "$LINENO" 5; }
3220
3221# Provide some information about the compiler.
3222$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3223set X $ac_compile
3224ac_compiler=$2
3225for ac_option in --version -v -V -qversion; do
3226  { { ac_try="$ac_compiler $ac_option >&5"
3227case "(($ac_try" in
3228  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229  *) ac_try_echo=$ac_try;;
3230esac
3231eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3232$as_echo "$ac_try_echo"; } >&5
3233  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3234  ac_status=$?
3235  if test -s conftest.err; then
3236    sed '10a\
3237... rest of stderr output deleted ...
3238         10q' conftest.err >conftest.er1
3239    cat conftest.er1 >&5
3240  fi
3241  rm -f conftest.er1 conftest.err
3242  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3243  test $ac_status = 0; }
3244done
3245
3246cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247/* end confdefs.h.  */
3248
3249int
3250main ()
3251{
3252
3253  ;
3254  return 0;
3255}
3256_ACEOF
3257ac_clean_files_save=$ac_clean_files
3258ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3259# Try to create an executable without -o first, disregard a.out.
3260# It will help us diagnose broken compilers, and finding out an intuition
3261# of exeext.
3262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3263$as_echo_n "checking whether the C compiler works... " >&6; }
3264ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3265
3266# The possible output files:
3267ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3268
3269ac_rmfiles=
3270for ac_file in $ac_files
3271do
3272  case $ac_file in
3273    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3274    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3275  esac
3276done
3277rm -f $ac_rmfiles
3278
3279if { { ac_try="$ac_link_default"
3280case "(($ac_try" in
3281  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3282  *) ac_try_echo=$ac_try;;
3283esac
3284eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285$as_echo "$ac_try_echo"; } >&5
3286  (eval "$ac_link_default") 2>&5
3287  ac_status=$?
3288  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289  test $ac_status = 0; }; then :
3290  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3291# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3292# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3293# so that the user can short-circuit this test for compilers unknown to
3294# Autoconf.
3295for ac_file in $ac_files ''
3296do
3297  test -f "$ac_file" || continue
3298  case $ac_file in
3299    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3300	;;
3301    [ab].out )
3302	# We found the default executable, but exeext='' is most
3303	# certainly right.
3304	break;;
3305    *.* )
3306	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3307	then :; else
3308	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3309	fi
3310	# We set ac_cv_exeext here because the later test for it is not
3311	# safe: cross compilers may not add the suffix if given an `-o'
3312	# argument, so we may need to know it at that point already.
3313	# Even if this section looks crufty: it has the advantage of
3314	# actually working.
3315	break;;
3316    * )
3317	break;;
3318  esac
3319done
3320test "$ac_cv_exeext" = no && ac_cv_exeext=
3321
3322else
3323  ac_file=''
3324fi
3325if test -z "$ac_file"; then :
3326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327$as_echo "no" >&6; }
3328$as_echo "$as_me: failed program was:" >&5
3329sed 's/^/| /' conftest.$ac_ext >&5
3330
3331{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3332$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3333as_fn_error 77 "C compiler cannot create executables
3334See \`config.log' for more details" "$LINENO" 5; }
3335else
3336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3337$as_echo "yes" >&6; }
3338fi
3339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3340$as_echo_n "checking for C compiler default output file name... " >&6; }
3341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3342$as_echo "$ac_file" >&6; }
3343ac_exeext=$ac_cv_exeext
3344
3345rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3346ac_clean_files=$ac_clean_files_save
3347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3348$as_echo_n "checking for suffix of executables... " >&6; }
3349if { { ac_try="$ac_link"
3350case "(($ac_try" in
3351  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3352  *) ac_try_echo=$ac_try;;
3353esac
3354eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3355$as_echo "$ac_try_echo"; } >&5
3356  (eval "$ac_link") 2>&5
3357  ac_status=$?
3358  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3359  test $ac_status = 0; }; then :
3360  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3361# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3362# work properly (i.e., refer to `conftest.exe'), while it won't with
3363# `rm'.
3364for ac_file in conftest.exe conftest conftest.*; do
3365  test -f "$ac_file" || continue
3366  case $ac_file in
3367    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3368    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3369	  break;;
3370    * ) break;;
3371  esac
3372done
3373else
3374  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3377See \`config.log' for more details" "$LINENO" 5; }
3378fi
3379rm -f conftest conftest$ac_cv_exeext
3380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3381$as_echo "$ac_cv_exeext" >&6; }
3382
3383rm -f conftest.$ac_ext
3384EXEEXT=$ac_cv_exeext
3385ac_exeext=$EXEEXT
3386cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387/* end confdefs.h.  */
3388#include <stdio.h>
3389int
3390main ()
3391{
3392FILE *f = fopen ("conftest.out", "w");
3393 return ferror (f) || fclose (f) != 0;
3394
3395  ;
3396  return 0;
3397}
3398_ACEOF
3399ac_clean_files="$ac_clean_files conftest.out"
3400# Check that the compiler produces executables we can run.  If not, either
3401# the compiler is broken, or we cross compile.
3402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3403$as_echo_n "checking whether we are cross compiling... " >&6; }
3404if test "$cross_compiling" != yes; then
3405  { { ac_try="$ac_link"
3406case "(($ac_try" in
3407  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408  *) ac_try_echo=$ac_try;;
3409esac
3410eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3411$as_echo "$ac_try_echo"; } >&5
3412  (eval "$ac_link") 2>&5
3413  ac_status=$?
3414  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415  test $ac_status = 0; }
3416  if { ac_try='./conftest$ac_cv_exeext'
3417  { { case "(($ac_try" in
3418  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3419  *) ac_try_echo=$ac_try;;
3420esac
3421eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3422$as_echo "$ac_try_echo"; } >&5
3423  (eval "$ac_try") 2>&5
3424  ac_status=$?
3425  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3426  test $ac_status = 0; }; }; then
3427    cross_compiling=no
3428  else
3429    if test "$cross_compiling" = maybe; then
3430	cross_compiling=yes
3431    else
3432	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3433$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3434as_fn_error $? "cannot run C compiled programs.
3435If you meant to cross compile, use \`--host'.
3436See \`config.log' for more details" "$LINENO" 5; }
3437    fi
3438  fi
3439fi
3440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3441$as_echo "$cross_compiling" >&6; }
3442
3443rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3444ac_clean_files=$ac_clean_files_save
3445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3446$as_echo_n "checking for suffix of object files... " >&6; }
3447if ${ac_cv_objext+:} false; then :
3448  $as_echo_n "(cached) " >&6
3449else
3450  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451/* end confdefs.h.  */
3452
3453int
3454main ()
3455{
3456
3457  ;
3458  return 0;
3459}
3460_ACEOF
3461rm -f conftest.o conftest.obj
3462if { { ac_try="$ac_compile"
3463case "(($ac_try" in
3464  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465  *) ac_try_echo=$ac_try;;
3466esac
3467eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468$as_echo "$ac_try_echo"; } >&5
3469  (eval "$ac_compile") 2>&5
3470  ac_status=$?
3471  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472  test $ac_status = 0; }; then :
3473  for ac_file in conftest.o conftest.obj conftest.*; do
3474  test -f "$ac_file" || continue;
3475  case $ac_file in
3476    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3477    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3478       break;;
3479  esac
3480done
3481else
3482  $as_echo "$as_me: failed program was:" >&5
3483sed 's/^/| /' conftest.$ac_ext >&5
3484
3485{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3486$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3487as_fn_error $? "cannot compute suffix of object files: cannot compile
3488See \`config.log' for more details" "$LINENO" 5; }
3489fi
3490rm -f conftest.$ac_cv_objext conftest.$ac_ext
3491fi
3492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3493$as_echo "$ac_cv_objext" >&6; }
3494OBJEXT=$ac_cv_objext
3495ac_objext=$OBJEXT
3496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3497$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3498if ${ac_cv_c_compiler_gnu+:} false; then :
3499  $as_echo_n "(cached) " >&6
3500else
3501  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502/* end confdefs.h.  */
3503
3504int
3505main ()
3506{
3507#ifndef __GNUC__
3508       choke me
3509#endif
3510
3511  ;
3512  return 0;
3513}
3514_ACEOF
3515if ac_fn_c_try_compile "$LINENO"; then :
3516  ac_compiler_gnu=yes
3517else
3518  ac_compiler_gnu=no
3519fi
3520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3521ac_cv_c_compiler_gnu=$ac_compiler_gnu
3522
3523fi
3524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3525$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3526if test $ac_compiler_gnu = yes; then
3527  GCC=yes
3528else
3529  GCC=
3530fi
3531ac_test_CFLAGS=${CFLAGS+set}
3532ac_save_CFLAGS=$CFLAGS
3533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3534$as_echo_n "checking whether $CC accepts -g... " >&6; }
3535if ${ac_cv_prog_cc_g+:} false; then :
3536  $as_echo_n "(cached) " >&6
3537else
3538  ac_save_c_werror_flag=$ac_c_werror_flag
3539   ac_c_werror_flag=yes
3540   ac_cv_prog_cc_g=no
3541   CFLAGS="-g"
3542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543/* end confdefs.h.  */
3544
3545int
3546main ()
3547{
3548
3549  ;
3550  return 0;
3551}
3552_ACEOF
3553if ac_fn_c_try_compile "$LINENO"; then :
3554  ac_cv_prog_cc_g=yes
3555else
3556  CFLAGS=""
3557      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558/* end confdefs.h.  */
3559
3560int
3561main ()
3562{
3563
3564  ;
3565  return 0;
3566}
3567_ACEOF
3568if ac_fn_c_try_compile "$LINENO"; then :
3569
3570else
3571  ac_c_werror_flag=$ac_save_c_werror_flag
3572	 CFLAGS="-g"
3573	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574/* end confdefs.h.  */
3575
3576int
3577main ()
3578{
3579
3580  ;
3581  return 0;
3582}
3583_ACEOF
3584if ac_fn_c_try_compile "$LINENO"; then :
3585  ac_cv_prog_cc_g=yes
3586fi
3587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588fi
3589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590fi
3591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592   ac_c_werror_flag=$ac_save_c_werror_flag
3593fi
3594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3595$as_echo "$ac_cv_prog_cc_g" >&6; }
3596if test "$ac_test_CFLAGS" = set; then
3597  CFLAGS=$ac_save_CFLAGS
3598elif test $ac_cv_prog_cc_g = yes; then
3599  if test "$GCC" = yes; then
3600    CFLAGS="-g -O2"
3601  else
3602    CFLAGS="-g"
3603  fi
3604else
3605  if test "$GCC" = yes; then
3606    CFLAGS="-O2"
3607  else
3608    CFLAGS=
3609  fi
3610fi
3611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3612$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3613if ${ac_cv_prog_cc_c89+:} false; then :
3614  $as_echo_n "(cached) " >&6
3615else
3616  ac_cv_prog_cc_c89=no
3617ac_save_CC=$CC
3618cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619/* end confdefs.h.  */
3620#include <stdarg.h>
3621#include <stdio.h>
3622struct stat;
3623/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3624struct buf { int x; };
3625FILE * (*rcsopen) (struct buf *, struct stat *, int);
3626static char *e (p, i)
3627     char **p;
3628     int i;
3629{
3630  return p[i];
3631}
3632static char *f (char * (*g) (char **, int), char **p, ...)
3633{
3634  char *s;
3635  va_list v;
3636  va_start (v,p);
3637  s = g (p, va_arg (v,int));
3638  va_end (v);
3639  return s;
3640}
3641
3642/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3643   function prototypes and stuff, but not '\xHH' hex character constants.
3644   These don't provoke an error unfortunately, instead are silently treated
3645   as 'x'.  The following induces an error, until -std is added to get
3646   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3647   array size at least.  It's necessary to write '\x00'==0 to get something
3648   that's true only with -std.  */
3649int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3650
3651/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3652   inside strings and character constants.  */
3653#define FOO(x) 'x'
3654int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3655
3656int test (int i, double x);
3657struct s1 {int (*f) (int a);};
3658struct s2 {int (*f) (double a);};
3659int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3660int argc;
3661char **argv;
3662int
3663main ()
3664{
3665return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3666  ;
3667  return 0;
3668}
3669_ACEOF
3670for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3671	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3672do
3673  CC="$ac_save_CC $ac_arg"
3674  if ac_fn_c_try_compile "$LINENO"; then :
3675  ac_cv_prog_cc_c89=$ac_arg
3676fi
3677rm -f core conftest.err conftest.$ac_objext
3678  test "x$ac_cv_prog_cc_c89" != "xno" && break
3679done
3680rm -f conftest.$ac_ext
3681CC=$ac_save_CC
3682
3683fi
3684# AC_CACHE_VAL
3685case "x$ac_cv_prog_cc_c89" in
3686  x)
3687    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3688$as_echo "none needed" >&6; } ;;
3689  xno)
3690    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3691$as_echo "unsupported" >&6; } ;;
3692  *)
3693    CC="$CC $ac_cv_prog_cc_c89"
3694    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3695$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3696esac
3697if test "x$ac_cv_prog_cc_c89" != xno; then :
3698
3699fi
3700
3701ac_ext=c
3702ac_cpp='$CPP $CPPFLAGS'
3703ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3704ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3705ac_compiler_gnu=$ac_cv_c_compiler_gnu
3706
3707ac_ext=c
3708ac_cpp='$CPP $CPPFLAGS'
3709ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3710ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3711ac_compiler_gnu=$ac_cv_c_compiler_gnu
3712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3713$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3714if ${am_cv_prog_cc_c_o+:} false; then :
3715  $as_echo_n "(cached) " >&6
3716else
3717  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718/* end confdefs.h.  */
3719
3720int
3721main ()
3722{
3723
3724  ;
3725  return 0;
3726}
3727_ACEOF
3728  # Make sure it works both with $CC and with simple cc.
3729  # Following AC_PROG_CC_C_O, we do the test twice because some
3730  # compilers refuse to overwrite an existing .o file with -o,
3731  # though they will create one.
3732  am_cv_prog_cc_c_o=yes
3733  for am_i in 1 2; do
3734    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3735   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3736   ac_status=$?
3737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738   (exit $ac_status); } \
3739         && test -f conftest2.$ac_objext; then
3740      : OK
3741    else
3742      am_cv_prog_cc_c_o=no
3743      break
3744    fi
3745  done
3746  rm -f core conftest*
3747  unset am_i
3748fi
3749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3750$as_echo "$am_cv_prog_cc_c_o" >&6; }
3751if test "$am_cv_prog_cc_c_o" != yes; then
3752   # Losing compiler, so override with the script.
3753   # FIXME: It is wrong to rewrite CC.
3754   # But if we don't then we get into trouble of one sort or another.
3755   # A longer-term fix would be to have automake use am__CC in this case,
3756   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3757   CC="$am_aux_dir/compile $CC"
3758fi
3759ac_ext=c
3760ac_cpp='$CPP $CPPFLAGS'
3761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3763ac_compiler_gnu=$ac_cv_c_compiler_gnu
3764
3765DEPDIR="${am__leading_dot}deps"
3766
3767ac_config_commands="$ac_config_commands depfiles"
3768
3769
3770am_make=${MAKE-make}
3771cat > confinc << 'END'
3772am__doit:
3773	@echo this is the am__doit target
3774.PHONY: am__doit
3775END
3776# If we don't find an include directive, just comment out the code.
3777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3778$as_echo_n "checking for style of include used by $am_make... " >&6; }
3779am__include="#"
3780am__quote=
3781_am_result=none
3782# First try GNU make style include.
3783echo "include confinc" > confmf
3784# Ignore all kinds of additional output from 'make'.
3785case `$am_make -s -f confmf 2> /dev/null` in #(
3786*the\ am__doit\ target*)
3787  am__include=include
3788  am__quote=
3789  _am_result=GNU
3790  ;;
3791esac
3792# Now try BSD make style include.
3793if test "$am__include" = "#"; then
3794   echo '.include "confinc"' > confmf
3795   case `$am_make -s -f confmf 2> /dev/null` in #(
3796   *the\ am__doit\ target*)
3797     am__include=.include
3798     am__quote="\""
3799     _am_result=BSD
3800     ;;
3801   esac
3802fi
3803
3804
3805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3806$as_echo "$_am_result" >&6; }
3807rm -f confinc confmf
3808
3809# Check whether --enable-dependency-tracking was given.
3810if test "${enable_dependency_tracking+set}" = set; then :
3811  enableval=$enable_dependency_tracking;
3812fi
3813
3814if test "x$enable_dependency_tracking" != xno; then
3815  am_depcomp="$ac_aux_dir/depcomp"
3816  AMDEPBACKSLASH='\'
3817  am__nodep='_no'
3818fi
3819 if test "x$enable_dependency_tracking" != xno; then
3820  AMDEP_TRUE=
3821  AMDEP_FALSE='#'
3822else
3823  AMDEP_TRUE='#'
3824  AMDEP_FALSE=
3825fi
3826
3827
3828
3829depcc="$CC"   am_compiler_list=
3830
3831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3832$as_echo_n "checking dependency style of $depcc... " >&6; }
3833if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3834  $as_echo_n "(cached) " >&6
3835else
3836  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3837  # We make a subdir and do the tests there.  Otherwise we can end up
3838  # making bogus files that we don't know about and never remove.  For
3839  # instance it was reported that on HP-UX the gcc test will end up
3840  # making a dummy file named 'D' -- because '-MD' means "put the output
3841  # in D".
3842  rm -rf conftest.dir
3843  mkdir conftest.dir
3844  # Copy depcomp to subdir because otherwise we won't find it if we're
3845  # using a relative directory.
3846  cp "$am_depcomp" conftest.dir
3847  cd conftest.dir
3848  # We will build objects and dependencies in a subdirectory because
3849  # it helps to detect inapplicable dependency modes.  For instance
3850  # both Tru64's cc and ICC support -MD to output dependencies as a
3851  # side effect of compilation, but ICC will put the dependencies in
3852  # the current directory while Tru64 will put them in the object
3853  # directory.
3854  mkdir sub
3855
3856  am_cv_CC_dependencies_compiler_type=none
3857  if test "$am_compiler_list" = ""; then
3858     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3859  fi
3860  am__universal=false
3861  case " $depcc " in #(
3862     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3863     esac
3864
3865  for depmode in $am_compiler_list; do
3866    # Setup a source with many dependencies, because some compilers
3867    # like to wrap large dependency lists on column 80 (with \), and
3868    # we should not choose a depcomp mode which is confused by this.
3869    #
3870    # We need to recreate these files for each test, as the compiler may
3871    # overwrite some of them when testing with obscure command lines.
3872    # This happens at least with the AIX C compiler.
3873    : > sub/conftest.c
3874    for i in 1 2 3 4 5 6; do
3875      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3876      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3877      # Solaris 10 /bin/sh.
3878      echo '/* dummy */' > sub/conftst$i.h
3879    done
3880    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3881
3882    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3883    # mode.  It turns out that the SunPro C++ compiler does not properly
3884    # handle '-M -o', and we need to detect this.  Also, some Intel
3885    # versions had trouble with output in subdirs.
3886    am__obj=sub/conftest.${OBJEXT-o}
3887    am__minus_obj="-o $am__obj"
3888    case $depmode in
3889    gcc)
3890      # This depmode causes a compiler race in universal mode.
3891      test "$am__universal" = false || continue
3892      ;;
3893    nosideeffect)
3894      # After this tag, mechanisms are not by side-effect, so they'll
3895      # only be used when explicitly requested.
3896      if test "x$enable_dependency_tracking" = xyes; then
3897	continue
3898      else
3899	break
3900      fi
3901      ;;
3902    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3903      # This compiler won't grok '-c -o', but also, the minuso test has
3904      # not run yet.  These depmodes are late enough in the game, and
3905      # so weak that their functioning should not be impacted.
3906      am__obj=conftest.${OBJEXT-o}
3907      am__minus_obj=
3908      ;;
3909    none) break ;;
3910    esac
3911    if depmode=$depmode \
3912       source=sub/conftest.c object=$am__obj \
3913       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3914       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3915         >/dev/null 2>conftest.err &&
3916       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3917       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3918       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3919       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3920      # icc doesn't choke on unknown options, it will just issue warnings
3921      # or remarks (even with -Werror).  So we grep stderr for any message
3922      # that says an option was ignored or not supported.
3923      # When given -MP, icc 7.0 and 7.1 complain thusly:
3924      #   icc: Command line warning: ignoring option '-M'; no argument required
3925      # The diagnosis changed in icc 8.0:
3926      #   icc: Command line remark: option '-MP' not supported
3927      if (grep 'ignoring option' conftest.err ||
3928          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3929        am_cv_CC_dependencies_compiler_type=$depmode
3930        break
3931      fi
3932    fi
3933  done
3934
3935  cd ..
3936  rm -rf conftest.dir
3937else
3938  am_cv_CC_dependencies_compiler_type=none
3939fi
3940
3941fi
3942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3943$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3944CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3945
3946 if
3947  test "x$enable_dependency_tracking" != xno \
3948  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3949  am__fastdepCC_TRUE=
3950  am__fastdepCC_FALSE='#'
3951else
3952  am__fastdepCC_TRUE='#'
3953  am__fastdepCC_FALSE=
3954fi
3955
3956
3957if test "$GCC" = "yes" ; then
3958	CFLAGS="$CFLAGS -Wall -pedantic"
3959	if gcc --help=warnings 2>&1 | grep -q 'Wstrict-overflow=' ; then
3960		CFLAGS="$CFLAGS -Wstrict-overflow=0"
3961	fi
3962	if gcc --help=warnings 2>&1 | grep -q 'Wformat-overflow=' ; then
3963		CFLAGS="$CFLAGS -Wformat-overflow=0"
3964	fi
3965fi
3966
3967# Checks for libraries.
3968
3969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setupterm" >&5
3970$as_echo_n "checking for library containing setupterm... " >&6; }
3971if ${ac_cv_search_setupterm+:} false; then :
3972  $as_echo_n "(cached) " >&6
3973else
3974  ac_func_search_save_LIBS=$LIBS
3975cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3976/* end confdefs.h.  */
3977
3978/* Override any GCC internal prototype to avoid an error.
3979   Use char because int might match the return type of a GCC
3980   builtin and then its argument prototype would still apply.  */
3981#ifdef __cplusplus
3982extern "C"
3983#endif
3984char setupterm ();
3985int
3986main ()
3987{
3988return setupterm ();
3989  ;
3990  return 0;
3991}
3992_ACEOF
3993for ac_lib in '' tinfo; do
3994  if test -z "$ac_lib"; then
3995    ac_res="none required"
3996  else
3997    ac_res=-l$ac_lib
3998    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3999  fi
4000  if ac_fn_c_try_link "$LINENO"; then :
4001  ac_cv_search_setupterm=$ac_res
4002fi
4003rm -f core conftest.err conftest.$ac_objext \
4004    conftest$ac_exeext
4005  if ${ac_cv_search_setupterm+:} false; then :
4006  break
4007fi
4008done
4009if ${ac_cv_search_setupterm+:} false; then :
4010
4011else
4012  ac_cv_search_setupterm=no
4013fi
4014rm conftest.$ac_ext
4015LIBS=$ac_func_search_save_LIBS
4016fi
4017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setupterm" >&5
4018$as_echo "$ac_cv_search_setupterm" >&6; }
4019ac_res=$ac_cv_search_setupterm
4020if test "$ac_res" != no; then :
4021  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4022
4023fi
4024
4025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing addwstr" >&5
4026$as_echo_n "checking for library containing addwstr... " >&6; }
4027if ${ac_cv_search_addwstr+:} false; then :
4028  $as_echo_n "(cached) " >&6
4029else
4030  ac_func_search_save_LIBS=$LIBS
4031cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032/* end confdefs.h.  */
4033
4034/* Override any GCC internal prototype to avoid an error.
4035   Use char because int might match the return type of a GCC
4036   builtin and then its argument prototype would still apply.  */
4037#ifdef __cplusplus
4038extern "C"
4039#endif
4040char addwstr ();
4041int
4042main ()
4043{
4044return addwstr ();
4045  ;
4046  return 0;
4047}
4048_ACEOF
4049for ac_lib in '' ncursesw ncurses cursesw curses; do
4050  if test -z "$ac_lib"; then
4051    ac_res="none required"
4052  else
4053    ac_res=-l$ac_lib
4054    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4055  fi
4056  if ac_fn_c_try_link "$LINENO"; then :
4057  ac_cv_search_addwstr=$ac_res
4058fi
4059rm -f core conftest.err conftest.$ac_objext \
4060    conftest$ac_exeext
4061  if ${ac_cv_search_addwstr+:} false; then :
4062  break
4063fi
4064done
4065if ${ac_cv_search_addwstr+:} false; then :
4066
4067else
4068  ac_cv_search_addwstr=no
4069fi
4070rm conftest.$ac_ext
4071LIBS=$ac_func_search_save_LIBS
4072fi
4073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_addwstr" >&5
4074$as_echo "$ac_cv_search_addwstr" >&6; }
4075ac_res=$ac_cv_search_addwstr
4076if test "$ac_res" != no; then :
4077  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4078  CURSESLIB="yes"
4079else
4080  CURSESLIB="no"
4081fi
4082
4083if test "$CURSESLIB" = "no" ; then
4084	as_fn_error $? "CLEX requires CURSES library with a wide character support" "$LINENO" 5
4085fi
4086
4087# Checks for header files.
4088
4089if test "$GCC" = "yes" ; then
4090	saved_CFLAGS=$CFLAGS
4091	CFLAGS="$CFLAGS -Werror"
4092	ac_ext=c
4093ac_cpp='$CPP $CPPFLAGS'
4094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4096ac_compiler_gnu=$ac_cv_c_compiler_gnu
4097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4098$as_echo_n "checking how to run the C preprocessor... " >&6; }
4099# On Suns, sometimes $CPP names a directory.
4100if test -n "$CPP" && test -d "$CPP"; then
4101  CPP=
4102fi
4103if test -z "$CPP"; then
4104  if ${ac_cv_prog_CPP+:} false; then :
4105  $as_echo_n "(cached) " >&6
4106else
4107      # Double quotes because CPP needs to be expanded
4108    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4109    do
4110      ac_preproc_ok=false
4111for ac_c_preproc_warn_flag in '' yes
4112do
4113  # Use a header file that comes with gcc, so configuring glibc
4114  # with a fresh cross-compiler works.
4115  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4116  # <limits.h> exists even on freestanding compilers.
4117  # On the NeXT, cc -E runs the code through the compiler's parser,
4118  # not just through cpp. "Syntax error" is here to catch this case.
4119  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4120/* end confdefs.h.  */
4121#ifdef __STDC__
4122# include <limits.h>
4123#else
4124# include <assert.h>
4125#endif
4126		     Syntax error
4127_ACEOF
4128if ac_fn_c_try_cpp "$LINENO"; then :
4129
4130else
4131  # Broken: fails on valid input.
4132continue
4133fi
4134rm -f conftest.err conftest.i conftest.$ac_ext
4135
4136  # OK, works on sane cases.  Now check whether nonexistent headers
4137  # can be detected and how.
4138  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139/* end confdefs.h.  */
4140#include <ac_nonexistent.h>
4141_ACEOF
4142if ac_fn_c_try_cpp "$LINENO"; then :
4143  # Broken: success on invalid input.
4144continue
4145else
4146  # Passes both tests.
4147ac_preproc_ok=:
4148break
4149fi
4150rm -f conftest.err conftest.i conftest.$ac_ext
4151
4152done
4153# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4154rm -f conftest.i conftest.err conftest.$ac_ext
4155if $ac_preproc_ok; then :
4156  break
4157fi
4158
4159    done
4160    ac_cv_prog_CPP=$CPP
4161
4162fi
4163  CPP=$ac_cv_prog_CPP
4164else
4165  ac_cv_prog_CPP=$CPP
4166fi
4167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4168$as_echo "$CPP" >&6; }
4169ac_preproc_ok=false
4170for ac_c_preproc_warn_flag in '' yes
4171do
4172  # Use a header file that comes with gcc, so configuring glibc
4173  # with a fresh cross-compiler works.
4174  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4175  # <limits.h> exists even on freestanding compilers.
4176  # On the NeXT, cc -E runs the code through the compiler's parser,
4177  # not just through cpp. "Syntax error" is here to catch this case.
4178  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179/* end confdefs.h.  */
4180#ifdef __STDC__
4181# include <limits.h>
4182#else
4183# include <assert.h>
4184#endif
4185		     Syntax error
4186_ACEOF
4187if ac_fn_c_try_cpp "$LINENO"; then :
4188
4189else
4190  # Broken: fails on valid input.
4191continue
4192fi
4193rm -f conftest.err conftest.i conftest.$ac_ext
4194
4195  # OK, works on sane cases.  Now check whether nonexistent headers
4196  # can be detected and how.
4197  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198/* end confdefs.h.  */
4199#include <ac_nonexistent.h>
4200_ACEOF
4201if ac_fn_c_try_cpp "$LINENO"; then :
4202  # Broken: success on invalid input.
4203continue
4204else
4205  # Passes both tests.
4206ac_preproc_ok=:
4207break
4208fi
4209rm -f conftest.err conftest.i conftest.$ac_ext
4210
4211done
4212# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4213rm -f conftest.i conftest.err conftest.$ac_ext
4214if $ac_preproc_ok; then :
4215
4216else
4217  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4218$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4219as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4220See \`config.log' for more details" "$LINENO" 5; }
4221fi
4222
4223ac_ext=c
4224ac_cpp='$CPP $CPPFLAGS'
4225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4227ac_compiler_gnu=$ac_cv_c_compiler_gnu
4228
4229
4230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4231$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4232if ${ac_cv_path_GREP+:} false; then :
4233  $as_echo_n "(cached) " >&6
4234else
4235  if test -z "$GREP"; then
4236  ac_path_GREP_found=false
4237  # Loop through the user's path and test for each of PROGNAME-LIST
4238  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4239for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4240do
4241  IFS=$as_save_IFS
4242  test -z "$as_dir" && as_dir=.
4243    for ac_prog in grep ggrep; do
4244    for ac_exec_ext in '' $ac_executable_extensions; do
4245      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4246      as_fn_executable_p "$ac_path_GREP" || continue
4247# Check for GNU ac_path_GREP and select it if it is found.
4248  # Check for GNU $ac_path_GREP
4249case `"$ac_path_GREP" --version 2>&1` in
4250*GNU*)
4251  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4252*)
4253  ac_count=0
4254  $as_echo_n 0123456789 >"conftest.in"
4255  while :
4256  do
4257    cat "conftest.in" "conftest.in" >"conftest.tmp"
4258    mv "conftest.tmp" "conftest.in"
4259    cp "conftest.in" "conftest.nl"
4260    $as_echo 'GREP' >> "conftest.nl"
4261    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4262    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4263    as_fn_arith $ac_count + 1 && ac_count=$as_val
4264    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4265      # Best one so far, save it but keep looking for a better one
4266      ac_cv_path_GREP="$ac_path_GREP"
4267      ac_path_GREP_max=$ac_count
4268    fi
4269    # 10*(2^10) chars as input seems more than enough
4270    test $ac_count -gt 10 && break
4271  done
4272  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4273esac
4274
4275      $ac_path_GREP_found && break 3
4276    done
4277  done
4278  done
4279IFS=$as_save_IFS
4280  if test -z "$ac_cv_path_GREP"; then
4281    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4282  fi
4283else
4284  ac_cv_path_GREP=$GREP
4285fi
4286
4287fi
4288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4289$as_echo "$ac_cv_path_GREP" >&6; }
4290 GREP="$ac_cv_path_GREP"
4291
4292
4293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4294$as_echo_n "checking for egrep... " >&6; }
4295if ${ac_cv_path_EGREP+:} false; then :
4296  $as_echo_n "(cached) " >&6
4297else
4298  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4299   then ac_cv_path_EGREP="$GREP -E"
4300   else
4301     if test -z "$EGREP"; then
4302  ac_path_EGREP_found=false
4303  # Loop through the user's path and test for each of PROGNAME-LIST
4304  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4305for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4306do
4307  IFS=$as_save_IFS
4308  test -z "$as_dir" && as_dir=.
4309    for ac_prog in egrep; do
4310    for ac_exec_ext in '' $ac_executable_extensions; do
4311      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4312      as_fn_executable_p "$ac_path_EGREP" || continue
4313# Check for GNU ac_path_EGREP and select it if it is found.
4314  # Check for GNU $ac_path_EGREP
4315case `"$ac_path_EGREP" --version 2>&1` in
4316*GNU*)
4317  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4318*)
4319  ac_count=0
4320  $as_echo_n 0123456789 >"conftest.in"
4321  while :
4322  do
4323    cat "conftest.in" "conftest.in" >"conftest.tmp"
4324    mv "conftest.tmp" "conftest.in"
4325    cp "conftest.in" "conftest.nl"
4326    $as_echo 'EGREP' >> "conftest.nl"
4327    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4328    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4329    as_fn_arith $ac_count + 1 && ac_count=$as_val
4330    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4331      # Best one so far, save it but keep looking for a better one
4332      ac_cv_path_EGREP="$ac_path_EGREP"
4333      ac_path_EGREP_max=$ac_count
4334    fi
4335    # 10*(2^10) chars as input seems more than enough
4336    test $ac_count -gt 10 && break
4337  done
4338  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4339esac
4340
4341      $ac_path_EGREP_found && break 3
4342    done
4343  done
4344  done
4345IFS=$as_save_IFS
4346  if test -z "$ac_cv_path_EGREP"; then
4347    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4348  fi
4349else
4350  ac_cv_path_EGREP=$EGREP
4351fi
4352
4353   fi
4354fi
4355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4356$as_echo "$ac_cv_path_EGREP" >&6; }
4357 EGREP="$ac_cv_path_EGREP"
4358
4359
4360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4361$as_echo_n "checking for ANSI C header files... " >&6; }
4362if ${ac_cv_header_stdc+:} false; then :
4363  $as_echo_n "(cached) " >&6
4364else
4365  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366/* end confdefs.h.  */
4367#include <stdlib.h>
4368#include <stdarg.h>
4369#include <string.h>
4370#include <float.h>
4371
4372int
4373main ()
4374{
4375
4376  ;
4377  return 0;
4378}
4379_ACEOF
4380if ac_fn_c_try_compile "$LINENO"; then :
4381  ac_cv_header_stdc=yes
4382else
4383  ac_cv_header_stdc=no
4384fi
4385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4386
4387if test $ac_cv_header_stdc = yes; then
4388  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4389  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390/* end confdefs.h.  */
4391#include <string.h>
4392
4393_ACEOF
4394if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4395  $EGREP "memchr" >/dev/null 2>&1; then :
4396
4397else
4398  ac_cv_header_stdc=no
4399fi
4400rm -f conftest*
4401
4402fi
4403
4404if test $ac_cv_header_stdc = yes; then
4405  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4406  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407/* end confdefs.h.  */
4408#include <stdlib.h>
4409
4410_ACEOF
4411if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4412  $EGREP "free" >/dev/null 2>&1; then :
4413
4414else
4415  ac_cv_header_stdc=no
4416fi
4417rm -f conftest*
4418
4419fi
4420
4421if test $ac_cv_header_stdc = yes; then
4422  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4423  if test "$cross_compiling" = yes; then :
4424  :
4425else
4426  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427/* end confdefs.h.  */
4428#include <ctype.h>
4429#include <stdlib.h>
4430#if ((' ' & 0x0FF) == 0x020)
4431# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4432# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4433#else
4434# define ISLOWER(c) \
4435		   (('a' <= (c) && (c) <= 'i') \
4436		     || ('j' <= (c) && (c) <= 'r') \
4437		     || ('s' <= (c) && (c) <= 'z'))
4438# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4439#endif
4440
4441#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4442int
4443main ()
4444{
4445  int i;
4446  for (i = 0; i < 256; i++)
4447    if (XOR (islower (i), ISLOWER (i))
4448	|| toupper (i) != TOUPPER (i))
4449      return 2;
4450  return 0;
4451}
4452_ACEOF
4453if ac_fn_c_try_run "$LINENO"; then :
4454
4455else
4456  ac_cv_header_stdc=no
4457fi
4458rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4459  conftest.$ac_objext conftest.beam conftest.$ac_ext
4460fi
4461
4462fi
4463fi
4464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4465$as_echo "$ac_cv_header_stdc" >&6; }
4466if test $ac_cv_header_stdc = yes; then
4467
4468$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4469
4470fi
4471
4472# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4473for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4474		  inttypes.h stdint.h unistd.h
4475do :
4476  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4477ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4478"
4479if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4480  cat >>confdefs.h <<_ACEOF
4481#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4482_ACEOF
4483
4484fi
4485
4486done
4487
4488
4489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
4490$as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
4491if ${ac_cv_header_sys_types_h_makedev+:} false; then :
4492  $as_echo_n "(cached) " >&6
4493else
4494  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495/* end confdefs.h.  */
4496#include <sys/types.h>
4497int
4498main ()
4499{
4500return makedev(0, 0);
4501  ;
4502  return 0;
4503}
4504_ACEOF
4505if ac_fn_c_try_link "$LINENO"; then :
4506  ac_cv_header_sys_types_h_makedev=yes
4507else
4508  ac_cv_header_sys_types_h_makedev=no
4509fi
4510rm -f core conftest.err conftest.$ac_objext \
4511    conftest$ac_exeext conftest.$ac_ext
4512
4513fi
4514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
4515$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
4516
4517if test $ac_cv_header_sys_types_h_makedev = no; then
4518ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
4519if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
4520
4521$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
4522
4523fi
4524
4525
4526
4527  if test $ac_cv_header_sys_mkdev_h = no; then
4528    ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
4529if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
4530
4531$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
4532
4533fi
4534
4535
4536  fi
4537fi
4538
4539	CFLAGS=$saved_CFLAGS
4540else
4541	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
4542$as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
4543if ${ac_cv_header_sys_types_h_makedev+:} false; then :
4544  $as_echo_n "(cached) " >&6
4545else
4546  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547/* end confdefs.h.  */
4548#include <sys/types.h>
4549int
4550main ()
4551{
4552return makedev(0, 0);
4553  ;
4554  return 0;
4555}
4556_ACEOF
4557if ac_fn_c_try_link "$LINENO"; then :
4558  ac_cv_header_sys_types_h_makedev=yes
4559else
4560  ac_cv_header_sys_types_h_makedev=no
4561fi
4562rm -f core conftest.err conftest.$ac_objext \
4563    conftest$ac_exeext conftest.$ac_ext
4564
4565fi
4566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
4567$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
4568
4569if test $ac_cv_header_sys_types_h_makedev = no; then
4570ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
4571if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
4572
4573$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
4574
4575fi
4576
4577
4578
4579  if test $ac_cv_header_sys_mkdev_h = no; then
4580    ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
4581if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
4582
4583$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
4584
4585fi
4586
4587
4588  fi
4589fi
4590
4591fi
4592
4593for ac_header in fcntl.h langinfo.h limits.h locale.h stdlib.h string.h termios.h unistd.h wchar.h wctype.h
4594do :
4595  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4596ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4597if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4598  cat >>confdefs.h <<_ACEOF
4599#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4600_ACEOF
4601
4602fi
4603
4604done
4605
4606if echo "$LIBS" | grep -e "-lncurses" > /dev/null ; then
4607		for dir in /usr/include /opt/include /usr/local/include /opt/local/include ; do
4608		for subdir in ncursesw ncurses ; do
4609			if test -d "$dir/$subdir" ; then
4610				CPPFLAGS="$CPPFLAGS -I$dir/$subdir"
4611			fi
4612		done
4613	done
4614	for ac_header in ncursesw.h ncurses.h
4615do :
4616  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4617ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4618if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4619  cat >>confdefs.h <<_ACEOF
4620#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4621_ACEOF
4622
4623fi
4624
4625done
4626
4627else
4628		for dir in /usr/include /opt/include /usr/local/include /opt/local/include ; do
4629		for subdir in cursesw curses ; do
4630			if test -d "$dir/$subdir" ; then
4631				CPPFLAGS="$CPPFLAGS -I$dir/$subdir"
4632			fi
4633		done
4634	done
4635	for ac_header in cursesw.h curses.h
4636do :
4637  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4638ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4639if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4640  cat >>confdefs.h <<_ACEOF
4641#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4642_ACEOF
4643
4644fi
4645
4646done
4647
4648fi
4649for ac_header in term.h
4650do :
4651  ac_fn_c_check_header_mongrel "$LINENO" "term.h" "ac_cv_header_term_h" "$ac_includes_default"
4652if test "x$ac_cv_header_term_h" = xyes; then :
4653  cat >>confdefs.h <<_ACEOF
4654#define HAVE_TERM_H 1
4655_ACEOF
4656
4657fi
4658
4659done
4660
4661
4662# Checks for typedefs, structures, and compiler characteristics.
4663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4664$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4665if ${ac_cv_type_uid_t+:} false; then :
4666  $as_echo_n "(cached) " >&6
4667else
4668  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669/* end confdefs.h.  */
4670#include <sys/types.h>
4671
4672_ACEOF
4673if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4674  $EGREP "uid_t" >/dev/null 2>&1; then :
4675  ac_cv_type_uid_t=yes
4676else
4677  ac_cv_type_uid_t=no
4678fi
4679rm -f conftest*
4680
4681fi
4682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
4683$as_echo "$ac_cv_type_uid_t" >&6; }
4684if test $ac_cv_type_uid_t = no; then
4685
4686$as_echo "#define uid_t int" >>confdefs.h
4687
4688
4689$as_echo "#define gid_t int" >>confdefs.h
4690
4691fi
4692
4693ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
4694if test "x$ac_cv_type_mode_t" = xyes; then :
4695
4696else
4697
4698cat >>confdefs.h <<_ACEOF
4699#define mode_t int
4700_ACEOF
4701
4702fi
4703
4704ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4705if test "x$ac_cv_type_off_t" = xyes; then :
4706
4707else
4708
4709cat >>confdefs.h <<_ACEOF
4710#define off_t long int
4711_ACEOF
4712
4713fi
4714
4715ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4716if test "x$ac_cv_type_pid_t" = xyes; then :
4717
4718else
4719
4720cat >>confdefs.h <<_ACEOF
4721#define pid_t int
4722_ACEOF
4723
4724fi
4725
4726ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4727if test "x$ac_cv_type_size_t" = xyes; then :
4728
4729else
4730
4731cat >>confdefs.h <<_ACEOF
4732#define size_t unsigned int
4733_ACEOF
4734
4735fi
4736
4737ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4738if test "x$ac_cv_type_ssize_t" = xyes; then :
4739
4740else
4741
4742cat >>confdefs.h <<_ACEOF
4743#define ssize_t int
4744_ACEOF
4745
4746fi
4747
4748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4749$as_echo_n "checking return type of signal handlers... " >&6; }
4750if ${ac_cv_type_signal+:} false; then :
4751  $as_echo_n "(cached) " >&6
4752else
4753  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4754/* end confdefs.h.  */
4755#include <sys/types.h>
4756#include <signal.h>
4757
4758int
4759main ()
4760{
4761return *(signal (0, 0)) (0) == 1;
4762  ;
4763  return 0;
4764}
4765_ACEOF
4766if ac_fn_c_try_compile "$LINENO"; then :
4767  ac_cv_type_signal=int
4768else
4769  ac_cv_type_signal=void
4770fi
4771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4772fi
4773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4774$as_echo "$ac_cv_type_signal" >&6; }
4775
4776cat >>confdefs.h <<_ACEOF
4777#define RETSIGTYPE $ac_cv_type_signal
4778_ACEOF
4779
4780
4781ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
4782if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
4783
4784cat >>confdefs.h <<_ACEOF
4785#define HAVE_STRUCT_STAT_ST_RDEV 1
4786_ACEOF
4787
4788
4789fi
4790
4791ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "#include <signal.h>
4792/* NetBSD declares sys_siglist in unistd.h.  */
4793#ifdef HAVE_UNISTD_H
4794# include <unistd.h>
4795#endif
4796
4797"
4798if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
4799  ac_have_decl=1
4800else
4801  ac_have_decl=0
4802fi
4803
4804cat >>confdefs.h <<_ACEOF
4805#define HAVE_DECL_SYS_SIGLIST $ac_have_decl
4806_ACEOF
4807
4808
4809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5
4810$as_echo_n "checking for working POSIX fnmatch... " >&6; }
4811if ${ac_cv_func_fnmatch_works+:} false; then :
4812  $as_echo_n "(cached) " >&6
4813else
4814  # Some versions of Solaris, SCO, and the GNU C Library
4815   # have a broken or incompatible fnmatch.
4816   # So we run a test program.  If we are cross-compiling, take no chance.
4817   # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
4818   if test "$cross_compiling" = yes; then :
4819  ac_cv_func_fnmatch_works=cross
4820else
4821  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822/* end confdefs.h.  */
4823#include <fnmatch.h>
4824#	   define y(a, b, c) (fnmatch (a, b, c) == 0)
4825#	   define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
4826
4827int
4828main ()
4829{
4830return
4831	   (!(y ("a*", "abc", 0)
4832	      && n ("d*/*1", "d/s/1", FNM_PATHNAME)
4833	      && y ("a\\\\bc", "abc", 0)
4834	      && n ("a\\\\bc", "abc", FNM_NOESCAPE)
4835	      && y ("*x", ".x", 0)
4836	      && n ("*x", ".x", FNM_PERIOD)
4837	      && 1));
4838  ;
4839  return 0;
4840}
4841_ACEOF
4842if ac_fn_c_try_run "$LINENO"; then :
4843  ac_cv_func_fnmatch_works=yes
4844else
4845  ac_cv_func_fnmatch_works=no
4846fi
4847rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4848  conftest.$ac_objext conftest.beam conftest.$ac_ext
4849fi
4850
4851fi
4852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5
4853$as_echo "$ac_cv_func_fnmatch_works" >&6; }
4854if test $ac_cv_func_fnmatch_works = yes; then :
4855
4856$as_echo "#define HAVE_FNMATCH 1" >>confdefs.h
4857
4858fi
4859
4860
4861for ac_header in vfork.h
4862do :
4863  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
4864if test "x$ac_cv_header_vfork_h" = xyes; then :
4865  cat >>confdefs.h <<_ACEOF
4866#define HAVE_VFORK_H 1
4867_ACEOF
4868
4869fi
4870
4871done
4872
4873for ac_func in fork vfork
4874do :
4875  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4876ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4877if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4878  cat >>confdefs.h <<_ACEOF
4879#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4880_ACEOF
4881
4882fi
4883done
4884
4885if test "x$ac_cv_func_fork" = xyes; then
4886  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
4887$as_echo_n "checking for working fork... " >&6; }
4888if ${ac_cv_func_fork_works+:} false; then :
4889  $as_echo_n "(cached) " >&6
4890else
4891  if test "$cross_compiling" = yes; then :
4892  ac_cv_func_fork_works=cross
4893else
4894  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895/* end confdefs.h.  */
4896$ac_includes_default
4897int
4898main ()
4899{
4900
4901	  /* By Ruediger Kuhlmann. */
4902	  return fork () < 0;
4903
4904  ;
4905  return 0;
4906}
4907_ACEOF
4908if ac_fn_c_try_run "$LINENO"; then :
4909  ac_cv_func_fork_works=yes
4910else
4911  ac_cv_func_fork_works=no
4912fi
4913rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4914  conftest.$ac_objext conftest.beam conftest.$ac_ext
4915fi
4916
4917fi
4918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
4919$as_echo "$ac_cv_func_fork_works" >&6; }
4920
4921else
4922  ac_cv_func_fork_works=$ac_cv_func_fork
4923fi
4924if test "x$ac_cv_func_fork_works" = xcross; then
4925  case $host in
4926    *-*-amigaos* | *-*-msdosdjgpp*)
4927      # Override, as these systems have only a dummy fork() stub
4928      ac_cv_func_fork_works=no
4929      ;;
4930    *)
4931      ac_cv_func_fork_works=yes
4932      ;;
4933  esac
4934  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
4935$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
4936fi
4937ac_cv_func_vfork_works=$ac_cv_func_vfork
4938if test "x$ac_cv_func_vfork" = xyes; then
4939  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
4940$as_echo_n "checking for working vfork... " >&6; }
4941if ${ac_cv_func_vfork_works+:} false; then :
4942  $as_echo_n "(cached) " >&6
4943else
4944  if test "$cross_compiling" = yes; then :
4945  ac_cv_func_vfork_works=cross
4946else
4947  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948/* end confdefs.h.  */
4949/* Thanks to Paul Eggert for this test.  */
4950$ac_includes_default
4951#include <sys/wait.h>
4952#ifdef HAVE_VFORK_H
4953# include <vfork.h>
4954#endif
4955/* On some sparc systems, changes by the child to local and incoming
4956   argument registers are propagated back to the parent.  The compiler
4957   is told about this with #include <vfork.h>, but some compilers
4958   (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
4959   static variable whose address is put into a register that is
4960   clobbered by the vfork.  */
4961static void
4962#ifdef __cplusplus
4963sparc_address_test (int arg)
4964# else
4965sparc_address_test (arg) int arg;
4966#endif
4967{
4968  static pid_t child;
4969  if (!child) {
4970    child = vfork ();
4971    if (child < 0) {
4972      perror ("vfork");
4973      _exit(2);
4974    }
4975    if (!child) {
4976      arg = getpid();
4977      write(-1, "", 0);
4978      _exit (arg);
4979    }
4980  }
4981}
4982
4983int
4984main ()
4985{
4986  pid_t parent = getpid ();
4987  pid_t child;
4988
4989  sparc_address_test (0);
4990
4991  child = vfork ();
4992
4993  if (child == 0) {
4994    /* Here is another test for sparc vfork register problems.  This
4995       test uses lots of local variables, at least as many local
4996       variables as main has allocated so far including compiler
4997       temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
4998       4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
4999       reuse the register of parent for one of the local variables,
5000       since it will think that parent can't possibly be used any more
5001       in this routine.  Assigning to the local variable will thus
5002       munge parent in the parent process.  */
5003    pid_t
5004      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5005      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5006    /* Convince the compiler that p..p7 are live; otherwise, it might
5007       use the same hardware register for all 8 local variables.  */
5008    if (p != p1 || p != p2 || p != p3 || p != p4
5009	|| p != p5 || p != p6 || p != p7)
5010      _exit(1);
5011
5012    /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5013       from child file descriptors.  If the child closes a descriptor
5014       before it execs or exits, this munges the parent's descriptor
5015       as well.  Test for this by closing stdout in the child.  */
5016    _exit(close(fileno(stdout)) != 0);
5017  } else {
5018    int status;
5019    struct stat st;
5020
5021    while (wait(&status) != child)
5022      ;
5023    return (
5024	 /* Was there some problem with vforking?  */
5025	 child < 0
5026
5027	 /* Did the child fail?  (This shouldn't happen.)  */
5028	 || status
5029
5030	 /* Did the vfork/compiler bug occur?  */
5031	 || parent != getpid()
5032
5033	 /* Did the file descriptor bug occur?  */
5034	 || fstat(fileno(stdout), &st) != 0
5035	 );
5036  }
5037}
5038_ACEOF
5039if ac_fn_c_try_run "$LINENO"; then :
5040  ac_cv_func_vfork_works=yes
5041else
5042  ac_cv_func_vfork_works=no
5043fi
5044rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5045  conftest.$ac_objext conftest.beam conftest.$ac_ext
5046fi
5047
5048fi
5049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
5050$as_echo "$ac_cv_func_vfork_works" >&6; }
5051
5052fi;
5053if test "x$ac_cv_func_fork_works" = xcross; then
5054  ac_cv_func_vfork_works=$ac_cv_func_vfork
5055  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5056$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5057fi
5058
5059if test "x$ac_cv_func_vfork_works" = xyes; then
5060
5061$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
5062
5063else
5064
5065$as_echo "#define vfork fork" >>confdefs.h
5066
5067fi
5068if test "x$ac_cv_func_fork_works" = xyes; then
5069
5070$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
5071
5072fi
5073
5074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
5075$as_echo_n "checking for working strcoll... " >&6; }
5076if ${ac_cv_func_strcoll_works+:} false; then :
5077  $as_echo_n "(cached) " >&6
5078else
5079  if test "$cross_compiling" = yes; then :
5080  ac_cv_func_strcoll_works=no
5081else
5082  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5083/* end confdefs.h.  */
5084$ac_includes_default
5085int
5086main ()
5087{
5088return (strcoll ("abc", "def") >= 0 ||
5089	 strcoll ("ABC", "DEF") >= 0 ||
5090	 strcoll ("123", "456") >= 0)
5091  ;
5092  return 0;
5093}
5094_ACEOF
5095if ac_fn_c_try_run "$LINENO"; then :
5096  ac_cv_func_strcoll_works=yes
5097else
5098  ac_cv_func_strcoll_works=no
5099fi
5100rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5101  conftest.$ac_objext conftest.beam conftest.$ac_ext
5102fi
5103
5104fi
5105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
5106$as_echo "$ac_cv_func_strcoll_works" >&6; }
5107if test $ac_cv_func_strcoll_works = yes; then
5108
5109$as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
5110
5111fi
5112
5113
5114# Checks for library functions.
5115
5116$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5117
5118for ac_func in alarm btowc dup2 endgrent endpwent getcwd iswprint memset nl_langinfo setenv setlocale strchr strerror strsignal uname wcwidth
5119do :
5120  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5121ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5122if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5123  cat >>confdefs.h <<_ACEOF
5124#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5125_ACEOF
5126
5127fi
5128done
5129
5130
5131# Checks for system services.
5132# Check whether --enable-largefile was given.
5133if test "${enable_largefile+set}" = set; then :
5134  enableval=$enable_largefile;
5135fi
5136
5137if test "$enable_largefile" != no; then
5138
5139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5140$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5141if ${ac_cv_sys_largefile_CC+:} false; then :
5142  $as_echo_n "(cached) " >&6
5143else
5144  ac_cv_sys_largefile_CC=no
5145     if test "$GCC" != yes; then
5146       ac_save_CC=$CC
5147       while :; do
5148	 # IRIX 6.2 and later do not support large files by default,
5149	 # so use the C compiler's -n32 option if that helps.
5150	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5151/* end confdefs.h.  */
5152#include <sys/types.h>
5153 /* Check that off_t can represent 2**63 - 1 correctly.
5154    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5155    since some C++ compilers masquerading as C compilers
5156    incorrectly reject 9223372036854775807.  */
5157#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5158  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5159		       && LARGE_OFF_T % 2147483647 == 1)
5160		      ? 1 : -1];
5161int
5162main ()
5163{
5164
5165  ;
5166  return 0;
5167}
5168_ACEOF
5169	 if ac_fn_c_try_compile "$LINENO"; then :
5170  break
5171fi
5172rm -f core conftest.err conftest.$ac_objext
5173	 CC="$CC -n32"
5174	 if ac_fn_c_try_compile "$LINENO"; then :
5175  ac_cv_sys_largefile_CC=' -n32'; break
5176fi
5177rm -f core conftest.err conftest.$ac_objext
5178	 break
5179       done
5180       CC=$ac_save_CC
5181       rm -f conftest.$ac_ext
5182    fi
5183fi
5184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5185$as_echo "$ac_cv_sys_largefile_CC" >&6; }
5186  if test "$ac_cv_sys_largefile_CC" != no; then
5187    CC=$CC$ac_cv_sys_largefile_CC
5188  fi
5189
5190  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5191$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5192if ${ac_cv_sys_file_offset_bits+:} false; then :
5193  $as_echo_n "(cached) " >&6
5194else
5195  while :; do
5196  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5197/* end confdefs.h.  */
5198#include <sys/types.h>
5199 /* Check that off_t can represent 2**63 - 1 correctly.
5200    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5201    since some C++ compilers masquerading as C compilers
5202    incorrectly reject 9223372036854775807.  */
5203#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5204  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5205		       && LARGE_OFF_T % 2147483647 == 1)
5206		      ? 1 : -1];
5207int
5208main ()
5209{
5210
5211  ;
5212  return 0;
5213}
5214_ACEOF
5215if ac_fn_c_try_compile "$LINENO"; then :
5216  ac_cv_sys_file_offset_bits=no; break
5217fi
5218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5219  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5220/* end confdefs.h.  */
5221#define _FILE_OFFSET_BITS 64
5222#include <sys/types.h>
5223 /* Check that off_t can represent 2**63 - 1 correctly.
5224    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5225    since some C++ compilers masquerading as C compilers
5226    incorrectly reject 9223372036854775807.  */
5227#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5228  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5229		       && LARGE_OFF_T % 2147483647 == 1)
5230		      ? 1 : -1];
5231int
5232main ()
5233{
5234
5235  ;
5236  return 0;
5237}
5238_ACEOF
5239if ac_fn_c_try_compile "$LINENO"; then :
5240  ac_cv_sys_file_offset_bits=64; break
5241fi
5242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5243  ac_cv_sys_file_offset_bits=unknown
5244  break
5245done
5246fi
5247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5248$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5249case $ac_cv_sys_file_offset_bits in #(
5250  no | unknown) ;;
5251  *)
5252cat >>confdefs.h <<_ACEOF
5253#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5254_ACEOF
5255;;
5256esac
5257rm -rf conftest*
5258  if test $ac_cv_sys_file_offset_bits = unknown; then
5259    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5260$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5261if ${ac_cv_sys_large_files+:} false; then :
5262  $as_echo_n "(cached) " >&6
5263else
5264  while :; do
5265  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5266/* end confdefs.h.  */
5267#include <sys/types.h>
5268 /* Check that off_t can represent 2**63 - 1 correctly.
5269    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5270    since some C++ compilers masquerading as C compilers
5271    incorrectly reject 9223372036854775807.  */
5272#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5273  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5274		       && LARGE_OFF_T % 2147483647 == 1)
5275		      ? 1 : -1];
5276int
5277main ()
5278{
5279
5280  ;
5281  return 0;
5282}
5283_ACEOF
5284if ac_fn_c_try_compile "$LINENO"; then :
5285  ac_cv_sys_large_files=no; break
5286fi
5287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5288  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5289/* end confdefs.h.  */
5290#define _LARGE_FILES 1
5291#include <sys/types.h>
5292 /* Check that off_t can represent 2**63 - 1 correctly.
5293    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5294    since some C++ compilers masquerading as C compilers
5295    incorrectly reject 9223372036854775807.  */
5296#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5297  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5298		       && LARGE_OFF_T % 2147483647 == 1)
5299		      ? 1 : -1];
5300int
5301main ()
5302{
5303
5304  ;
5305  return 0;
5306}
5307_ACEOF
5308if ac_fn_c_try_compile "$LINENO"; then :
5309  ac_cv_sys_large_files=1; break
5310fi
5311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5312  ac_cv_sys_large_files=unknown
5313  break
5314done
5315fi
5316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5317$as_echo "$ac_cv_sys_large_files" >&6; }
5318case $ac_cv_sys_large_files in #(
5319  no | unknown) ;;
5320  *)
5321cat >>confdefs.h <<_ACEOF
5322#define _LARGE_FILES $ac_cv_sys_large_files
5323_ACEOF
5324;;
5325esac
5326rm -rf conftest*
5327  fi
5328
5329
5330fi
5331
5332
5333ac_config_files="$ac_config_files Makefile clex.spec src/Makefile"
5334
5335cat >confcache <<\_ACEOF
5336# This file is a shell script that caches the results of configure
5337# tests run on this system so they can be shared between configure
5338# scripts and configure runs, see configure's option --config-cache.
5339# It is not useful on other systems.  If it contains results you don't
5340# want to keep, you may remove or edit it.
5341#
5342# config.status only pays attention to the cache file if you give it
5343# the --recheck option to rerun configure.
5344#
5345# `ac_cv_env_foo' variables (set or unset) will be overridden when
5346# loading this file, other *unset* `ac_cv_foo' will be assigned the
5347# following values.
5348
5349_ACEOF
5350
5351# The following way of writing the cache mishandles newlines in values,
5352# but we know of no workaround that is simple, portable, and efficient.
5353# So, we kill variables containing newlines.
5354# Ultrix sh set writes to stderr and can't be redirected directly,
5355# and sets the high bit in the cache file unless we assign to the vars.
5356(
5357  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5358    eval ac_val=\$$ac_var
5359    case $ac_val in #(
5360    *${as_nl}*)
5361      case $ac_var in #(
5362      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5363$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5364      esac
5365      case $ac_var in #(
5366      _ | IFS | as_nl) ;; #(
5367      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5368      *) { eval $ac_var=; unset $ac_var;} ;;
5369      esac ;;
5370    esac
5371  done
5372
5373  (set) 2>&1 |
5374    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5375    *${as_nl}ac_space=\ *)
5376      # `set' does not quote correctly, so add quotes: double-quote
5377      # substitution turns \\\\ into \\, and sed turns \\ into \.
5378      sed -n \
5379	"s/'/'\\\\''/g;
5380	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5381      ;; #(
5382    *)
5383      # `set' quotes correctly as required by POSIX, so do not add quotes.
5384      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5385      ;;
5386    esac |
5387    sort
5388) |
5389  sed '
5390     /^ac_cv_env_/b end
5391     t clear
5392     :clear
5393     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5394     t end
5395     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5396     :end' >>confcache
5397if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5398  if test -w "$cache_file"; then
5399    if test "x$cache_file" != "x/dev/null"; then
5400      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5401$as_echo "$as_me: updating cache $cache_file" >&6;}
5402      if test ! -f "$cache_file" || test -h "$cache_file"; then
5403	cat confcache >"$cache_file"
5404      else
5405        case $cache_file in #(
5406        */* | ?:*)
5407	  mv -f confcache "$cache_file"$$ &&
5408	  mv -f "$cache_file"$$ "$cache_file" ;; #(
5409        *)
5410	  mv -f confcache "$cache_file" ;;
5411	esac
5412      fi
5413    fi
5414  else
5415    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5416$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5417  fi
5418fi
5419rm -f confcache
5420
5421test "x$prefix" = xNONE && prefix=$ac_default_prefix
5422# Let make expand exec_prefix.
5423test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5424
5425DEFS=-DHAVE_CONFIG_H
5426
5427ac_libobjs=
5428ac_ltlibobjs=
5429U=
5430for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5431  # 1. Remove the extension, and $U if already installed.
5432  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5433  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5434  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5435  #    will be set to the directory where LIBOBJS objects are built.
5436  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5437  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5438done
5439LIBOBJS=$ac_libobjs
5440
5441LTLIBOBJS=$ac_ltlibobjs
5442
5443
5444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5445$as_echo_n "checking that generated files are newer than configure... " >&6; }
5446   if test -n "$am_sleep_pid"; then
5447     # Hide warnings about reused PIDs.
5448     wait $am_sleep_pid 2>/dev/null
5449   fi
5450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5451$as_echo "done" >&6; }
5452 if test -n "$EXEEXT"; then
5453  am__EXEEXT_TRUE=
5454  am__EXEEXT_FALSE='#'
5455else
5456  am__EXEEXT_TRUE='#'
5457  am__EXEEXT_FALSE=
5458fi
5459
5460if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5461  as_fn_error $? "conditional \"AMDEP\" was never defined.
5462Usually this means the macro was only invoked conditionally." "$LINENO" 5
5463fi
5464if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5465  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5466Usually this means the macro was only invoked conditionally." "$LINENO" 5
5467fi
5468
5469: "${CONFIG_STATUS=./config.status}"
5470ac_write_fail=0
5471ac_clean_files_save=$ac_clean_files
5472ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5473{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5474$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5475as_write_fail=0
5476cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5477#! $SHELL
5478# Generated by $as_me.
5479# Run this file to recreate the current configuration.
5480# Compiler output produced by configure, useful for debugging
5481# configure, is in config.log if it exists.
5482
5483debug=false
5484ac_cs_recheck=false
5485ac_cs_silent=false
5486
5487SHELL=\${CONFIG_SHELL-$SHELL}
5488export SHELL
5489_ASEOF
5490cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5491## -------------------- ##
5492## M4sh Initialization. ##
5493## -------------------- ##
5494
5495# Be more Bourne compatible
5496DUALCASE=1; export DUALCASE # for MKS sh
5497if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5498  emulate sh
5499  NULLCMD=:
5500  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5501  # is contrary to our usage.  Disable this feature.
5502  alias -g '${1+"$@"}'='"$@"'
5503  setopt NO_GLOB_SUBST
5504else
5505  case `(set -o) 2>/dev/null` in #(
5506  *posix*) :
5507    set -o posix ;; #(
5508  *) :
5509     ;;
5510esac
5511fi
5512
5513
5514as_nl='
5515'
5516export as_nl
5517# Printing a long string crashes Solaris 7 /usr/bin/printf.
5518as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5519as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5520as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5521# Prefer a ksh shell builtin over an external printf program on Solaris,
5522# but without wasting forks for bash or zsh.
5523if test -z "$BASH_VERSION$ZSH_VERSION" \
5524    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5525  as_echo='print -r --'
5526  as_echo_n='print -rn --'
5527elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5528  as_echo='printf %s\n'
5529  as_echo_n='printf %s'
5530else
5531  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5532    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5533    as_echo_n='/usr/ucb/echo -n'
5534  else
5535    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5536    as_echo_n_body='eval
5537      arg=$1;
5538      case $arg in #(
5539      *"$as_nl"*)
5540	expr "X$arg" : "X\\(.*\\)$as_nl";
5541	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5542      esac;
5543      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5544    '
5545    export as_echo_n_body
5546    as_echo_n='sh -c $as_echo_n_body as_echo'
5547  fi
5548  export as_echo_body
5549  as_echo='sh -c $as_echo_body as_echo'
5550fi
5551
5552# The user is always right.
5553if test "${PATH_SEPARATOR+set}" != set; then
5554  PATH_SEPARATOR=:
5555  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5556    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5557      PATH_SEPARATOR=';'
5558  }
5559fi
5560
5561
5562# IFS
5563# We need space, tab and new line, in precisely that order.  Quoting is
5564# there to prevent editors from complaining about space-tab.
5565# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5566# splitting by setting IFS to empty value.)
5567IFS=" ""	$as_nl"
5568
5569# Find who we are.  Look in the path if we contain no directory separator.
5570as_myself=
5571case $0 in #((
5572  *[\\/]* ) as_myself=$0 ;;
5573  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574for as_dir in $PATH
5575do
5576  IFS=$as_save_IFS
5577  test -z "$as_dir" && as_dir=.
5578    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5579  done
5580IFS=$as_save_IFS
5581
5582     ;;
5583esac
5584# We did not find ourselves, most probably we were run as `sh COMMAND'
5585# in which case we are not to be found in the path.
5586if test "x$as_myself" = x; then
5587  as_myself=$0
5588fi
5589if test ! -f "$as_myself"; then
5590  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5591  exit 1
5592fi
5593
5594# Unset variables that we do not need and which cause bugs (e.g. in
5595# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5596# suppresses any "Segmentation fault" message there.  '((' could
5597# trigger a bug in pdksh 5.2.14.
5598for as_var in BASH_ENV ENV MAIL MAILPATH
5599do eval test x\${$as_var+set} = xset \
5600  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5601done
5602PS1='$ '
5603PS2='> '
5604PS4='+ '
5605
5606# NLS nuisances.
5607LC_ALL=C
5608export LC_ALL
5609LANGUAGE=C
5610export LANGUAGE
5611
5612# CDPATH.
5613(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5614
5615
5616# as_fn_error STATUS ERROR [LINENO LOG_FD]
5617# ----------------------------------------
5618# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5619# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5620# script with STATUS, using 1 if that was 0.
5621as_fn_error ()
5622{
5623  as_status=$1; test $as_status -eq 0 && as_status=1
5624  if test "$4"; then
5625    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5626    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5627  fi
5628  $as_echo "$as_me: error: $2" >&2
5629  as_fn_exit $as_status
5630} # as_fn_error
5631
5632
5633# as_fn_set_status STATUS
5634# -----------------------
5635# Set $? to STATUS, without forking.
5636as_fn_set_status ()
5637{
5638  return $1
5639} # as_fn_set_status
5640
5641# as_fn_exit STATUS
5642# -----------------
5643# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5644as_fn_exit ()
5645{
5646  set +e
5647  as_fn_set_status $1
5648  exit $1
5649} # as_fn_exit
5650
5651# as_fn_unset VAR
5652# ---------------
5653# Portably unset VAR.
5654as_fn_unset ()
5655{
5656  { eval $1=; unset $1;}
5657}
5658as_unset=as_fn_unset
5659# as_fn_append VAR VALUE
5660# ----------------------
5661# Append the text in VALUE to the end of the definition contained in VAR. Take
5662# advantage of any shell optimizations that allow amortized linear growth over
5663# repeated appends, instead of the typical quadratic growth present in naive
5664# implementations.
5665if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5666  eval 'as_fn_append ()
5667  {
5668    eval $1+=\$2
5669  }'
5670else
5671  as_fn_append ()
5672  {
5673    eval $1=\$$1\$2
5674  }
5675fi # as_fn_append
5676
5677# as_fn_arith ARG...
5678# ------------------
5679# Perform arithmetic evaluation on the ARGs, and store the result in the
5680# global $as_val. Take advantage of shells that can avoid forks. The arguments
5681# must be portable across $(()) and expr.
5682if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5683  eval 'as_fn_arith ()
5684  {
5685    as_val=$(( $* ))
5686  }'
5687else
5688  as_fn_arith ()
5689  {
5690    as_val=`expr "$@" || test $? -eq 1`
5691  }
5692fi # as_fn_arith
5693
5694
5695if expr a : '\(a\)' >/dev/null 2>&1 &&
5696   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5697  as_expr=expr
5698else
5699  as_expr=false
5700fi
5701
5702if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5703  as_basename=basename
5704else
5705  as_basename=false
5706fi
5707
5708if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5709  as_dirname=dirname
5710else
5711  as_dirname=false
5712fi
5713
5714as_me=`$as_basename -- "$0" ||
5715$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5716	 X"$0" : 'X\(//\)$' \| \
5717	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5718$as_echo X/"$0" |
5719    sed '/^.*\/\([^/][^/]*\)\/*$/{
5720	    s//\1/
5721	    q
5722	  }
5723	  /^X\/\(\/\/\)$/{
5724	    s//\1/
5725	    q
5726	  }
5727	  /^X\/\(\/\).*/{
5728	    s//\1/
5729	    q
5730	  }
5731	  s/.*/./; q'`
5732
5733# Avoid depending upon Character Ranges.
5734as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5735as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5736as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5737as_cr_digits='0123456789'
5738as_cr_alnum=$as_cr_Letters$as_cr_digits
5739
5740ECHO_C= ECHO_N= ECHO_T=
5741case `echo -n x` in #(((((
5742-n*)
5743  case `echo 'xy\c'` in
5744  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5745  xy)  ECHO_C='\c';;
5746  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5747       ECHO_T='	';;
5748  esac;;
5749*)
5750  ECHO_N='-n';;
5751esac
5752
5753rm -f conf$$ conf$$.exe conf$$.file
5754if test -d conf$$.dir; then
5755  rm -f conf$$.dir/conf$$.file
5756else
5757  rm -f conf$$.dir
5758  mkdir conf$$.dir 2>/dev/null
5759fi
5760if (echo >conf$$.file) 2>/dev/null; then
5761  if ln -s conf$$.file conf$$ 2>/dev/null; then
5762    as_ln_s='ln -s'
5763    # ... but there are two gotchas:
5764    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5765    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5766    # In both cases, we have to default to `cp -pR'.
5767    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5768      as_ln_s='cp -pR'
5769  elif ln conf$$.file conf$$ 2>/dev/null; then
5770    as_ln_s=ln
5771  else
5772    as_ln_s='cp -pR'
5773  fi
5774else
5775  as_ln_s='cp -pR'
5776fi
5777rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5778rmdir conf$$.dir 2>/dev/null
5779
5780
5781# as_fn_mkdir_p
5782# -------------
5783# Create "$as_dir" as a directory, including parents if necessary.
5784as_fn_mkdir_p ()
5785{
5786
5787  case $as_dir in #(
5788  -*) as_dir=./$as_dir;;
5789  esac
5790  test -d "$as_dir" || eval $as_mkdir_p || {
5791    as_dirs=
5792    while :; do
5793      case $as_dir in #(
5794      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5795      *) as_qdir=$as_dir;;
5796      esac
5797      as_dirs="'$as_qdir' $as_dirs"
5798      as_dir=`$as_dirname -- "$as_dir" ||
5799$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5800	 X"$as_dir" : 'X\(//\)[^/]' \| \
5801	 X"$as_dir" : 'X\(//\)$' \| \
5802	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5803$as_echo X"$as_dir" |
5804    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5805	    s//\1/
5806	    q
5807	  }
5808	  /^X\(\/\/\)[^/].*/{
5809	    s//\1/
5810	    q
5811	  }
5812	  /^X\(\/\/\)$/{
5813	    s//\1/
5814	    q
5815	  }
5816	  /^X\(\/\).*/{
5817	    s//\1/
5818	    q
5819	  }
5820	  s/.*/./; q'`
5821      test -d "$as_dir" && break
5822    done
5823    test -z "$as_dirs" || eval "mkdir $as_dirs"
5824  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5825
5826
5827} # as_fn_mkdir_p
5828if mkdir -p . 2>/dev/null; then
5829  as_mkdir_p='mkdir -p "$as_dir"'
5830else
5831  test -d ./-p && rmdir ./-p
5832  as_mkdir_p=false
5833fi
5834
5835
5836# as_fn_executable_p FILE
5837# -----------------------
5838# Test if FILE is an executable regular file.
5839as_fn_executable_p ()
5840{
5841  test -f "$1" && test -x "$1"
5842} # as_fn_executable_p
5843as_test_x='test -x'
5844as_executable_p=as_fn_executable_p
5845
5846# Sed expression to map a string onto a valid CPP name.
5847as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5848
5849# Sed expression to map a string onto a valid variable name.
5850as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5851
5852
5853exec 6>&1
5854## ----------------------------------- ##
5855## Main body of $CONFIG_STATUS script. ##
5856## ----------------------------------- ##
5857_ASEOF
5858test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5859
5860cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5861# Save the log message, to keep $0 and so on meaningful, and to
5862# report actual input values of CONFIG_FILES etc. instead of their
5863# values after options handling.
5864ac_log="
5865This file was extended by CLEX File Manager $as_me 4.6.patch9, which was
5866generated by GNU Autoconf 2.69.  Invocation command line was
5867
5868  CONFIG_FILES    = $CONFIG_FILES
5869  CONFIG_HEADERS  = $CONFIG_HEADERS
5870  CONFIG_LINKS    = $CONFIG_LINKS
5871  CONFIG_COMMANDS = $CONFIG_COMMANDS
5872  $ $0 $@
5873
5874on `(hostname || uname -n) 2>/dev/null | sed 1q`
5875"
5876
5877_ACEOF
5878
5879case $ac_config_files in *"
5880"*) set x $ac_config_files; shift; ac_config_files=$*;;
5881esac
5882
5883case $ac_config_headers in *"
5884"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5885esac
5886
5887
5888cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5889# Files that config.status was made for.
5890config_files="$ac_config_files"
5891config_headers="$ac_config_headers"
5892config_commands="$ac_config_commands"
5893
5894_ACEOF
5895
5896cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5897ac_cs_usage="\
5898\`$as_me' instantiates files and other configuration actions
5899from templates according to the current configuration.  Unless the files
5900and actions are specified as TAGs, all are instantiated by default.
5901
5902Usage: $0 [OPTION]... [TAG]...
5903
5904  -h, --help       print this help, then exit
5905  -V, --version    print version number and configuration settings, then exit
5906      --config     print configuration, then exit
5907  -q, --quiet, --silent
5908                   do not print progress messages
5909  -d, --debug      don't remove temporary files
5910      --recheck    update $as_me by reconfiguring in the same conditions
5911      --file=FILE[:TEMPLATE]
5912                   instantiate the configuration file FILE
5913      --header=FILE[:TEMPLATE]
5914                   instantiate the configuration header FILE
5915
5916Configuration files:
5917$config_files
5918
5919Configuration headers:
5920$config_headers
5921
5922Configuration commands:
5923$config_commands
5924
5925Report bugs to <clex@clex.sk>."
5926
5927_ACEOF
5928cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5929ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5930ac_cs_version="\\
5931CLEX File Manager config.status 4.6.patch9
5932configured by $0, generated by GNU Autoconf 2.69,
5933  with options \\"\$ac_cs_config\\"
5934
5935Copyright (C) 2012 Free Software Foundation, Inc.
5936This config.status script is free software; the Free Software Foundation
5937gives unlimited permission to copy, distribute and modify it."
5938
5939ac_pwd='$ac_pwd'
5940srcdir='$srcdir'
5941INSTALL='$INSTALL'
5942MKDIR_P='$MKDIR_P'
5943AWK='$AWK'
5944test -n "\$AWK" || AWK=awk
5945_ACEOF
5946
5947cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5948# The default lists apply if the user does not specify any file.
5949ac_need_defaults=:
5950while test $# != 0
5951do
5952  case $1 in
5953  --*=?*)
5954    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5955    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5956    ac_shift=:
5957    ;;
5958  --*=)
5959    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5960    ac_optarg=
5961    ac_shift=:
5962    ;;
5963  *)
5964    ac_option=$1
5965    ac_optarg=$2
5966    ac_shift=shift
5967    ;;
5968  esac
5969
5970  case $ac_option in
5971  # Handling of the options.
5972  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5973    ac_cs_recheck=: ;;
5974  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5975    $as_echo "$ac_cs_version"; exit ;;
5976  --config | --confi | --conf | --con | --co | --c )
5977    $as_echo "$ac_cs_config"; exit ;;
5978  --debug | --debu | --deb | --de | --d | -d )
5979    debug=: ;;
5980  --file | --fil | --fi | --f )
5981    $ac_shift
5982    case $ac_optarg in
5983    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5984    '') as_fn_error $? "missing file argument" ;;
5985    esac
5986    as_fn_append CONFIG_FILES " '$ac_optarg'"
5987    ac_need_defaults=false;;
5988  --header | --heade | --head | --hea )
5989    $ac_shift
5990    case $ac_optarg in
5991    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5992    esac
5993    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5994    ac_need_defaults=false;;
5995  --he | --h)
5996    # Conflict between --help and --header
5997    as_fn_error $? "ambiguous option: \`$1'
5998Try \`$0 --help' for more information.";;
5999  --help | --hel | -h )
6000    $as_echo "$ac_cs_usage"; exit ;;
6001  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6002  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6003    ac_cs_silent=: ;;
6004
6005  # This is an error.
6006  -*) as_fn_error $? "unrecognized option: \`$1'
6007Try \`$0 --help' for more information." ;;
6008
6009  *) as_fn_append ac_config_targets " $1"
6010     ac_need_defaults=false ;;
6011
6012  esac
6013  shift
6014done
6015
6016ac_configure_extra_args=
6017
6018if $ac_cs_silent; then
6019  exec 6>/dev/null
6020  ac_configure_extra_args="$ac_configure_extra_args --silent"
6021fi
6022
6023_ACEOF
6024cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6025if \$ac_cs_recheck; then
6026  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6027  shift
6028  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6029  CONFIG_SHELL='$SHELL'
6030  export CONFIG_SHELL
6031  exec "\$@"
6032fi
6033
6034_ACEOF
6035cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6036exec 5>>config.log
6037{
6038  echo
6039  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6040## Running $as_me. ##
6041_ASBOX
6042  $as_echo "$ac_log"
6043} >&5
6044
6045_ACEOF
6046cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6047#
6048# INIT-COMMANDS
6049#
6050AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6051
6052_ACEOF
6053
6054cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6055
6056# Handling of arguments.
6057for ac_config_target in $ac_config_targets
6058do
6059  case $ac_config_target in
6060    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6061    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6062    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6063    "clex.spec") CONFIG_FILES="$CONFIG_FILES clex.spec" ;;
6064    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6065
6066  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6067  esac
6068done
6069
6070
6071# If the user did not use the arguments to specify the items to instantiate,
6072# then the envvar interface is used.  Set only those that are not.
6073# We use the long form for the default assignment because of an extremely
6074# bizarre bug on SunOS 4.1.3.
6075if $ac_need_defaults; then
6076  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6077  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6078  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6079fi
6080
6081# Have a temporary directory for convenience.  Make it in the build tree
6082# simply because there is no reason against having it here, and in addition,
6083# creating and moving files from /tmp can sometimes cause problems.
6084# Hook for its removal unless debugging.
6085# Note that there is a small window in which the directory will not be cleaned:
6086# after its creation but before its name has been assigned to `$tmp'.
6087$debug ||
6088{
6089  tmp= ac_tmp=
6090  trap 'exit_status=$?
6091  : "${ac_tmp:=$tmp}"
6092  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6093' 0
6094  trap 'as_fn_exit 1' 1 2 13 15
6095}
6096# Create a (secure) tmp directory for tmp files.
6097
6098{
6099  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6100  test -d "$tmp"
6101}  ||
6102{
6103  tmp=./conf$$-$RANDOM
6104  (umask 077 && mkdir "$tmp")
6105} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6106ac_tmp=$tmp
6107
6108# Set up the scripts for CONFIG_FILES section.
6109# No need to generate them if there are no CONFIG_FILES.
6110# This happens for instance with `./config.status config.h'.
6111if test -n "$CONFIG_FILES"; then
6112
6113
6114ac_cr=`echo X | tr X '\015'`
6115# On cygwin, bash can eat \r inside `` if the user requested igncr.
6116# But we know of no other shell where ac_cr would be empty at this
6117# point, so we can use a bashism as a fallback.
6118if test "x$ac_cr" = x; then
6119  eval ac_cr=\$\'\\r\'
6120fi
6121ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6122if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6123  ac_cs_awk_cr='\\r'
6124else
6125  ac_cs_awk_cr=$ac_cr
6126fi
6127
6128echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6129_ACEOF
6130
6131
6132{
6133  echo "cat >conf$$subs.awk <<_ACEOF" &&
6134  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6135  echo "_ACEOF"
6136} >conf$$subs.sh ||
6137  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6138ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6139ac_delim='%!_!# '
6140for ac_last_try in false false false false false :; do
6141  . ./conf$$subs.sh ||
6142    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6143
6144  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6145  if test $ac_delim_n = $ac_delim_num; then
6146    break
6147  elif $ac_last_try; then
6148    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6149  else
6150    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6151  fi
6152done
6153rm -f conf$$subs.sh
6154
6155cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6156cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6157_ACEOF
6158sed -n '
6159h
6160s/^/S["/; s/!.*/"]=/
6161p
6162g
6163s/^[^!]*!//
6164:repl
6165t repl
6166s/'"$ac_delim"'$//
6167t delim
6168:nl
6169h
6170s/\(.\{148\}\)..*/\1/
6171t more1
6172s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6173p
6174n
6175b repl
6176:more1
6177s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6178p
6179g
6180s/.\{148\}//
6181t nl
6182:delim
6183h
6184s/\(.\{148\}\)..*/\1/
6185t more2
6186s/["\\]/\\&/g; s/^/"/; s/$/"/
6187p
6188b
6189:more2
6190s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6191p
6192g
6193s/.\{148\}//
6194t delim
6195' <conf$$subs.awk | sed '
6196/^[^""]/{
6197  N
6198  s/\n//
6199}
6200' >>$CONFIG_STATUS || ac_write_fail=1
6201rm -f conf$$subs.awk
6202cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6203_ACAWK
6204cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6205  for (key in S) S_is_set[key] = 1
6206  FS = ""
6207
6208}
6209{
6210  line = $ 0
6211  nfields = split(line, field, "@")
6212  substed = 0
6213  len = length(field[1])
6214  for (i = 2; i < nfields; i++) {
6215    key = field[i]
6216    keylen = length(key)
6217    if (S_is_set[key]) {
6218      value = S[key]
6219      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6220      len += length(value) + length(field[++i])
6221      substed = 1
6222    } else
6223      len += 1 + keylen
6224  }
6225
6226  print line
6227}
6228
6229_ACAWK
6230_ACEOF
6231cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6232if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6233  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6234else
6235  cat
6236fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6237  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6238_ACEOF
6239
6240# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6241# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6242# trailing colons and then remove the whole line if VPATH becomes empty
6243# (actually we leave an empty line to preserve line numbers).
6244if test "x$srcdir" = x.; then
6245  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
6246h
6247s///
6248s/^/:/
6249s/[	 ]*$/:/
6250s/:\$(srcdir):/:/g
6251s/:\${srcdir}:/:/g
6252s/:@srcdir@:/:/g
6253s/^:*//
6254s/:*$//
6255x
6256s/\(=[	 ]*\).*/\1/
6257G
6258s/\n//
6259s/^[^=]*=[	 ]*$//
6260}'
6261fi
6262
6263cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6264fi # test -n "$CONFIG_FILES"
6265
6266# Set up the scripts for CONFIG_HEADERS section.
6267# No need to generate them if there are no CONFIG_HEADERS.
6268# This happens for instance with `./config.status Makefile'.
6269if test -n "$CONFIG_HEADERS"; then
6270cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6271BEGIN {
6272_ACEOF
6273
6274# Transform confdefs.h into an awk script `defines.awk', embedded as
6275# here-document in config.status, that substitutes the proper values into
6276# config.h.in to produce config.h.
6277
6278# Create a delimiter string that does not exist in confdefs.h, to ease
6279# handling of long lines.
6280ac_delim='%!_!# '
6281for ac_last_try in false false :; do
6282  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6283  if test -z "$ac_tt"; then
6284    break
6285  elif $ac_last_try; then
6286    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6287  else
6288    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6289  fi
6290done
6291
6292# For the awk script, D is an array of macro values keyed by name,
6293# likewise P contains macro parameters if any.  Preserve backslash
6294# newline sequences.
6295
6296ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6297sed -n '
6298s/.\{148\}/&'"$ac_delim"'/g
6299t rset
6300:rset
6301s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6302t def
6303d
6304:def
6305s/\\$//
6306t bsnl
6307s/["\\]/\\&/g
6308s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6309D["\1"]=" \3"/p
6310s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6311d
6312:bsnl
6313s/["\\]/\\&/g
6314s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6315D["\1"]=" \3\\\\\\n"\\/p
6316t cont
6317s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6318t cont
6319d
6320:cont
6321n
6322s/.\{148\}/&'"$ac_delim"'/g
6323t clear
6324:clear
6325s/\\$//
6326t bsnlc
6327s/["\\]/\\&/g; s/^/"/; s/$/"/p
6328d
6329:bsnlc
6330s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6331b cont
6332' <confdefs.h | sed '
6333s/'"$ac_delim"'/"\\\
6334"/g' >>$CONFIG_STATUS || ac_write_fail=1
6335
6336cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6337  for (key in D) D_is_set[key] = 1
6338  FS = ""
6339}
6340/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6341  line = \$ 0
6342  split(line, arg, " ")
6343  if (arg[1] == "#") {
6344    defundef = arg[2]
6345    mac1 = arg[3]
6346  } else {
6347    defundef = substr(arg[1], 2)
6348    mac1 = arg[2]
6349  }
6350  split(mac1, mac2, "(") #)
6351  macro = mac2[1]
6352  prefix = substr(line, 1, index(line, defundef) - 1)
6353  if (D_is_set[macro]) {
6354    # Preserve the white space surrounding the "#".
6355    print prefix "define", macro P[macro] D[macro]
6356    next
6357  } else {
6358    # Replace #undef with comments.  This is necessary, for example,
6359    # in the case of _POSIX_SOURCE, which is predefined and required
6360    # on some systems where configure will not decide to define it.
6361    if (defundef == "undef") {
6362      print "/*", prefix defundef, macro, "*/"
6363      next
6364    }
6365  }
6366}
6367{ print }
6368_ACAWK
6369_ACEOF
6370cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6371  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6372fi # test -n "$CONFIG_HEADERS"
6373
6374
6375eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6376shift
6377for ac_tag
6378do
6379  case $ac_tag in
6380  :[FHLC]) ac_mode=$ac_tag; continue;;
6381  esac
6382  case $ac_mode$ac_tag in
6383  :[FHL]*:*);;
6384  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6385  :[FH]-) ac_tag=-:-;;
6386  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6387  esac
6388  ac_save_IFS=$IFS
6389  IFS=:
6390  set x $ac_tag
6391  IFS=$ac_save_IFS
6392  shift
6393  ac_file=$1
6394  shift
6395
6396  case $ac_mode in
6397  :L) ac_source=$1;;
6398  :[FH])
6399    ac_file_inputs=
6400    for ac_f
6401    do
6402      case $ac_f in
6403      -) ac_f="$ac_tmp/stdin";;
6404      *) # Look for the file first in the build tree, then in the source tree
6405	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6406	 # because $ac_f cannot contain `:'.
6407	 test -f "$ac_f" ||
6408	   case $ac_f in
6409	   [\\/$]*) false;;
6410	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6411	   esac ||
6412	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6413      esac
6414      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6415      as_fn_append ac_file_inputs " '$ac_f'"
6416    done
6417
6418    # Let's still pretend it is `configure' which instantiates (i.e., don't
6419    # use $as_me), people would be surprised to read:
6420    #    /* config.h.  Generated by config.status.  */
6421    configure_input='Generated from '`
6422	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6423	`' by configure.'
6424    if test x"$ac_file" != x-; then
6425      configure_input="$ac_file.  $configure_input"
6426      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6427$as_echo "$as_me: creating $ac_file" >&6;}
6428    fi
6429    # Neutralize special characters interpreted by sed in replacement strings.
6430    case $configure_input in #(
6431    *\&* | *\|* | *\\* )
6432       ac_sed_conf_input=`$as_echo "$configure_input" |
6433       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6434    *) ac_sed_conf_input=$configure_input;;
6435    esac
6436
6437    case $ac_tag in
6438    *:-:* | *:-) cat >"$ac_tmp/stdin" \
6439      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6440    esac
6441    ;;
6442  esac
6443
6444  ac_dir=`$as_dirname -- "$ac_file" ||
6445$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6446	 X"$ac_file" : 'X\(//\)[^/]' \| \
6447	 X"$ac_file" : 'X\(//\)$' \| \
6448	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6449$as_echo X"$ac_file" |
6450    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6451	    s//\1/
6452	    q
6453	  }
6454	  /^X\(\/\/\)[^/].*/{
6455	    s//\1/
6456	    q
6457	  }
6458	  /^X\(\/\/\)$/{
6459	    s//\1/
6460	    q
6461	  }
6462	  /^X\(\/\).*/{
6463	    s//\1/
6464	    q
6465	  }
6466	  s/.*/./; q'`
6467  as_dir="$ac_dir"; as_fn_mkdir_p
6468  ac_builddir=.
6469
6470case "$ac_dir" in
6471.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6472*)
6473  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6474  # A ".." for each directory in $ac_dir_suffix.
6475  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6476  case $ac_top_builddir_sub in
6477  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6478  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6479  esac ;;
6480esac
6481ac_abs_top_builddir=$ac_pwd
6482ac_abs_builddir=$ac_pwd$ac_dir_suffix
6483# for backward compatibility:
6484ac_top_builddir=$ac_top_build_prefix
6485
6486case $srcdir in
6487  .)  # We are building in place.
6488    ac_srcdir=.
6489    ac_top_srcdir=$ac_top_builddir_sub
6490    ac_abs_top_srcdir=$ac_pwd ;;
6491  [\\/]* | ?:[\\/]* )  # Absolute name.
6492    ac_srcdir=$srcdir$ac_dir_suffix;
6493    ac_top_srcdir=$srcdir
6494    ac_abs_top_srcdir=$srcdir ;;
6495  *) # Relative name.
6496    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6497    ac_top_srcdir=$ac_top_build_prefix$srcdir
6498    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6499esac
6500ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6501
6502
6503  case $ac_mode in
6504  :F)
6505  #
6506  # CONFIG_FILE
6507  #
6508
6509  case $INSTALL in
6510  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6511  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6512  esac
6513  ac_MKDIR_P=$MKDIR_P
6514  case $MKDIR_P in
6515  [\\/$]* | ?:[\\/]* ) ;;
6516  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6517  esac
6518_ACEOF
6519
6520cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6521# If the template does not know about datarootdir, expand it.
6522# FIXME: This hack should be removed a few years after 2.60.
6523ac_datarootdir_hack=; ac_datarootdir_seen=
6524ac_sed_dataroot='
6525/datarootdir/ {
6526  p
6527  q
6528}
6529/@datadir@/p
6530/@docdir@/p
6531/@infodir@/p
6532/@localedir@/p
6533/@mandir@/p'
6534case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6535*datarootdir*) ac_datarootdir_seen=yes;;
6536*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6537  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6538$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6539_ACEOF
6540cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6541  ac_datarootdir_hack='
6542  s&@datadir@&$datadir&g
6543  s&@docdir@&$docdir&g
6544  s&@infodir@&$infodir&g
6545  s&@localedir@&$localedir&g
6546  s&@mandir@&$mandir&g
6547  s&\\\${datarootdir}&$datarootdir&g' ;;
6548esac
6549_ACEOF
6550
6551# Neutralize VPATH when `$srcdir' = `.'.
6552# Shell code in configure.ac might set extrasub.
6553# FIXME: do we really want to maintain this feature?
6554cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6555ac_sed_extra="$ac_vpsub
6556$extrasub
6557_ACEOF
6558cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6559:t
6560/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6561s|@configure_input@|$ac_sed_conf_input|;t t
6562s&@top_builddir@&$ac_top_builddir_sub&;t t
6563s&@top_build_prefix@&$ac_top_build_prefix&;t t
6564s&@srcdir@&$ac_srcdir&;t t
6565s&@abs_srcdir@&$ac_abs_srcdir&;t t
6566s&@top_srcdir@&$ac_top_srcdir&;t t
6567s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6568s&@builddir@&$ac_builddir&;t t
6569s&@abs_builddir@&$ac_abs_builddir&;t t
6570s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6571s&@INSTALL@&$ac_INSTALL&;t t
6572s&@MKDIR_P@&$ac_MKDIR_P&;t t
6573$ac_datarootdir_hack
6574"
6575eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6576  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6577
6578test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6579  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6580  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
6581      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6582  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6583which seems to be undefined.  Please make sure it is defined" >&5
6584$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6585which seems to be undefined.  Please make sure it is defined" >&2;}
6586
6587  rm -f "$ac_tmp/stdin"
6588  case $ac_file in
6589  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6590  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6591  esac \
6592  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6593 ;;
6594  :H)
6595  #
6596  # CONFIG_HEADER
6597  #
6598  if test x"$ac_file" != x-; then
6599    {
6600      $as_echo "/* $configure_input  */" \
6601      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6602    } >"$ac_tmp/config.h" \
6603      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6604    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6605      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6606$as_echo "$as_me: $ac_file is unchanged" >&6;}
6607    else
6608      rm -f "$ac_file"
6609      mv "$ac_tmp/config.h" "$ac_file" \
6610	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6611    fi
6612  else
6613    $as_echo "/* $configure_input  */" \
6614      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6615      || as_fn_error $? "could not create -" "$LINENO" 5
6616  fi
6617# Compute "$ac_file"'s index in $config_headers.
6618_am_arg="$ac_file"
6619_am_stamp_count=1
6620for _am_header in $config_headers :; do
6621  case $_am_header in
6622    $_am_arg | $_am_arg:* )
6623      break ;;
6624    * )
6625      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6626  esac
6627done
6628echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6629$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6630	 X"$_am_arg" : 'X\(//\)[^/]' \| \
6631	 X"$_am_arg" : 'X\(//\)$' \| \
6632	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6633$as_echo X"$_am_arg" |
6634    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6635	    s//\1/
6636	    q
6637	  }
6638	  /^X\(\/\/\)[^/].*/{
6639	    s//\1/
6640	    q
6641	  }
6642	  /^X\(\/\/\)$/{
6643	    s//\1/
6644	    q
6645	  }
6646	  /^X\(\/\).*/{
6647	    s//\1/
6648	    q
6649	  }
6650	  s/.*/./; q'`/stamp-h$_am_stamp_count
6651 ;;
6652
6653  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6654$as_echo "$as_me: executing $ac_file commands" >&6;}
6655 ;;
6656  esac
6657
6658
6659  case $ac_file$ac_mode in
6660    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6661  # Older Autoconf quotes --file arguments for eval, but not when files
6662  # are listed without --file.  Let's play safe and only enable the eval
6663  # if we detect the quoting.
6664  case $CONFIG_FILES in
6665  *\'*) eval set x "$CONFIG_FILES" ;;
6666  *)   set x $CONFIG_FILES ;;
6667  esac
6668  shift
6669  for mf
6670  do
6671    # Strip MF so we end up with the name of the file.
6672    mf=`echo "$mf" | sed -e 's/:.*$//'`
6673    # Check whether this is an Automake generated Makefile or not.
6674    # We used to match only the files named 'Makefile.in', but
6675    # some people rename them; so instead we look at the file content.
6676    # Grep'ing the first line is not enough: some people post-process
6677    # each Makefile.in and add a new line on top of each file to say so.
6678    # Grep'ing the whole file is not good either: AIX grep has a line
6679    # limit of 2048, but all sed's we know have understand at least 4000.
6680    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6681      dirpart=`$as_dirname -- "$mf" ||
6682$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6683	 X"$mf" : 'X\(//\)[^/]' \| \
6684	 X"$mf" : 'X\(//\)$' \| \
6685	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6686$as_echo X"$mf" |
6687    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6688	    s//\1/
6689	    q
6690	  }
6691	  /^X\(\/\/\)[^/].*/{
6692	    s//\1/
6693	    q
6694	  }
6695	  /^X\(\/\/\)$/{
6696	    s//\1/
6697	    q
6698	  }
6699	  /^X\(\/\).*/{
6700	    s//\1/
6701	    q
6702	  }
6703	  s/.*/./; q'`
6704    else
6705      continue
6706    fi
6707    # Extract the definition of DEPDIR, am__include, and am__quote
6708    # from the Makefile without running 'make'.
6709    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6710    test -z "$DEPDIR" && continue
6711    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6712    test -z "$am__include" && continue
6713    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6714    # Find all dependency output files, they are included files with
6715    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6716    # simplest approach to changing $(DEPDIR) to its actual value in the
6717    # expansion.
6718    for file in `sed -n "
6719      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6720	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6721      # Make sure the directory exists.
6722      test -f "$dirpart/$file" && continue
6723      fdir=`$as_dirname -- "$file" ||
6724$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6725	 X"$file" : 'X\(//\)[^/]' \| \
6726	 X"$file" : 'X\(//\)$' \| \
6727	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6728$as_echo X"$file" |
6729    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6730	    s//\1/
6731	    q
6732	  }
6733	  /^X\(\/\/\)[^/].*/{
6734	    s//\1/
6735	    q
6736	  }
6737	  /^X\(\/\/\)$/{
6738	    s//\1/
6739	    q
6740	  }
6741	  /^X\(\/\).*/{
6742	    s//\1/
6743	    q
6744	  }
6745	  s/.*/./; q'`
6746      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6747      # echo "creating $dirpart/$file"
6748      echo '# dummy' > "$dirpart/$file"
6749    done
6750  done
6751}
6752 ;;
6753
6754  esac
6755done # for ac_tag
6756
6757
6758as_fn_exit 0
6759_ACEOF
6760ac_clean_files=$ac_clean_files_save
6761
6762test $ac_write_fail = 0 ||
6763  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6764
6765
6766# configure is writing to config.log, and then calls config.status.
6767# config.status does its own redirection, appending to config.log.
6768# Unfortunately, on DOS this fails, as config.log is still kept open
6769# by configure, so config.status won't be able to write to it; its
6770# output is simply discarded.  So we exec the FD to /dev/null,
6771# effectively closing config.log, so it can be properly (re)opened and
6772# appended to by config.status.  When coming back to configure, we
6773# need to make the FD available again.
6774if test "$no_create" != yes; then
6775  ac_cs_success=:
6776  ac_config_status_args=
6777  test "$silent" = yes &&
6778    ac_config_status_args="$ac_config_status_args --quiet"
6779  exec 5>/dev/null
6780  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6781  exec 5>>config.log
6782  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6783  # would make configure fail if this is the last instruction.
6784  $ac_cs_success || as_fn_exit 1
6785fi
6786if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6787  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6788$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6789fi
6790
6791