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