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