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