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