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