1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || 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="pppoe.c"
586ac_default_prefix=/usr
587# Factoring default headers for most tests.
588ac_includes_default="\
589#include <stdio.h>
590#ifdef HAVE_SYS_TYPES_H
591# include <sys/types.h>
592#endif
593#ifdef HAVE_SYS_STAT_H
594# include <sys/stat.h>
595#endif
596#ifdef STDC_HEADERS
597# include <stdlib.h>
598# include <stddef.h>
599#else
600# ifdef HAVE_STDLIB_H
601#  include <stdlib.h>
602# endif
603#endif
604#ifdef HAVE_STRING_H
605# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606#  include <memory.h>
607# endif
608# include <string.h>
609#endif
610#ifdef HAVE_STRINGS_H
611# include <strings.h>
612#endif
613#ifdef HAVE_INTTYPES_H
614# include <inttypes.h>
615#endif
616#ifdef HAVE_STDINT_H
617# include <stdint.h>
618#endif
619#ifdef HAVE_UNISTD_H
620# include <unistd.h>
621#endif"
622
623ac_subst_vars='LTLIBOBJS
624datadir_evaluated
625LIBEVENT
626RDYNAMIC
627PPPOE_SERVER_DEPS
628LIC_DEFINE
629LIC_MAKEFILE_INCLUDE
630LIC_LIB
631LIC_LIBDIR
632LIC_INCDIR
633TARGETS
634WRAPPER
635ID
636SETSID
637PPPD
638IP
639INSTALL_DATA
640INSTALL_SCRIPT
641INSTALL_PROGRAM
642LIBOBJS
643PPPOE_RELAY
644PPPD_H
645PPPD_INCDIR
646LINUX_KERNELMODE_PLUGIN
647EGREP
648GREP
649CPP
650RANLIB
651OBJEXT
652EXEEXT
653ac_ct_CC
654CPPFLAGS
655LDFLAGS
656CFLAGS
657CC
658target_alias
659host_alias
660build_alias
661LIBS
662ECHO_T
663ECHO_N
664ECHO_C
665DEFS
666mandir
667localedir
668libdir
669psdir
670pdfdir
671dvidir
672htmldir
673infodir
674docdir
675oldincludedir
676includedir
677runstatedir
678localstatedir
679sharedstatedir
680sysconfdir
681datadir
682datarootdir
683libexecdir
684sbindir
685bindir
686program_transform_name
687prefix
688exec_prefix
689PACKAGE_URL
690PACKAGE_BUGREPORT
691PACKAGE_STRING
692PACKAGE_VERSION
693PACKAGE_TARNAME
694PACKAGE_NAME
695PATH_SEPARATOR
696SHELL'
697ac_subst_files=''
698ac_user_opts='
699enable_option_checking
700enable_plugin
701enable_debugging
702enable_licenses
703'
704      ac_precious_vars='build_alias
705host_alias
706target_alias
707CC
708CFLAGS
709LDFLAGS
710LIBS
711CPPFLAGS
712CPP'
713
714
715# Initialize some variables set by options.
716ac_init_help=
717ac_init_version=false
718ac_unrecognized_opts=
719ac_unrecognized_sep=
720# The variables have the same names as the options, with
721# dashes changed to underlines.
722cache_file=/dev/null
723exec_prefix=NONE
724no_create=
725no_recursion=
726prefix=NONE
727program_prefix=NONE
728program_suffix=NONE
729program_transform_name=s,x,x,
730silent=
731site=
732srcdir=
733verbose=
734x_includes=NONE
735x_libraries=NONE
736
737# Installation directory options.
738# These are left unexpanded so users can "make install exec_prefix=/foo"
739# and all the variables that are supposed to be based on exec_prefix
740# by default will actually change.
741# Use braces instead of parens because sh, perl, etc. also accept them.
742# (The list follows the same order as the GNU Coding Standards.)
743bindir='${exec_prefix}/bin'
744sbindir='${exec_prefix}/sbin'
745libexecdir='${exec_prefix}/libexec'
746datarootdir='${prefix}/share'
747datadir='${datarootdir}'
748sysconfdir='${prefix}/etc'
749sharedstatedir='${prefix}/com'
750localstatedir='${prefix}/var'
751runstatedir='${localstatedir}/run'
752includedir='${prefix}/include'
753oldincludedir='/usr/include'
754docdir='${datarootdir}/doc/${PACKAGE}'
755infodir='${datarootdir}/info'
756htmldir='${docdir}'
757dvidir='${docdir}'
758pdfdir='${docdir}'
759psdir='${docdir}'
760libdir='${exec_prefix}/lib'
761localedir='${datarootdir}/locale'
762mandir='${datarootdir}/man'
763
764ac_prev=
765ac_dashdash=
766for ac_option
767do
768  # If the previous option needs an argument, assign it.
769  if test -n "$ac_prev"; then
770    eval $ac_prev=\$ac_option
771    ac_prev=
772    continue
773  fi
774
775  case $ac_option in
776  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
777  *=)   ac_optarg= ;;
778  *)    ac_optarg=yes ;;
779  esac
780
781  # Accept the important Cygnus configure options, so we can diagnose typos.
782
783  case $ac_dashdash$ac_option in
784  --)
785    ac_dashdash=yes ;;
786
787  -bindir | --bindir | --bindi | --bind | --bin | --bi)
788    ac_prev=bindir ;;
789  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
790    bindir=$ac_optarg ;;
791
792  -build | --build | --buil | --bui | --bu)
793    ac_prev=build_alias ;;
794  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
795    build_alias=$ac_optarg ;;
796
797  -cache-file | --cache-file | --cache-fil | --cache-fi \
798  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
799    ac_prev=cache_file ;;
800  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
801  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
802    cache_file=$ac_optarg ;;
803
804  --config-cache | -C)
805    cache_file=config.cache ;;
806
807  -datadir | --datadir | --datadi | --datad)
808    ac_prev=datadir ;;
809  -datadir=* | --datadir=* | --datadi=* | --datad=*)
810    datadir=$ac_optarg ;;
811
812  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
813  | --dataroo | --dataro | --datar)
814    ac_prev=datarootdir ;;
815  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
816  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
817    datarootdir=$ac_optarg ;;
818
819  -disable-* | --disable-*)
820    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
821    # Reject names that are not valid shell variable names.
822    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
823      as_fn_error $? "invalid feature name: $ac_useropt"
824    ac_useropt_orig=$ac_useropt
825    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826    case $ac_user_opts in
827      *"
828"enable_$ac_useropt"
829"*) ;;
830      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
831	 ac_unrecognized_sep=', ';;
832    esac
833    eval enable_$ac_useropt=no ;;
834
835  -docdir | --docdir | --docdi | --doc | --do)
836    ac_prev=docdir ;;
837  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
838    docdir=$ac_optarg ;;
839
840  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
841    ac_prev=dvidir ;;
842  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
843    dvidir=$ac_optarg ;;
844
845  -enable-* | --enable-*)
846    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
847    # Reject names that are not valid shell variable names.
848    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
849      as_fn_error $? "invalid feature name: $ac_useropt"
850    ac_useropt_orig=$ac_useropt
851    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
852    case $ac_user_opts in
853      *"
854"enable_$ac_useropt"
855"*) ;;
856      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
857	 ac_unrecognized_sep=', ';;
858    esac
859    eval enable_$ac_useropt=\$ac_optarg ;;
860
861  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
862  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
863  | --exec | --exe | --ex)
864    ac_prev=exec_prefix ;;
865  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
866  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
867  | --exec=* | --exe=* | --ex=*)
868    exec_prefix=$ac_optarg ;;
869
870  -gas | --gas | --ga | --g)
871    # Obsolete; use --with-gas.
872    with_gas=yes ;;
873
874  -help | --help | --hel | --he | -h)
875    ac_init_help=long ;;
876  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
877    ac_init_help=recursive ;;
878  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
879    ac_init_help=short ;;
880
881  -host | --host | --hos | --ho)
882    ac_prev=host_alias ;;
883  -host=* | --host=* | --hos=* | --ho=*)
884    host_alias=$ac_optarg ;;
885
886  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
887    ac_prev=htmldir ;;
888  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
889  | --ht=*)
890    htmldir=$ac_optarg ;;
891
892  -includedir | --includedir | --includedi | --included | --include \
893  | --includ | --inclu | --incl | --inc)
894    ac_prev=includedir ;;
895  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
896  | --includ=* | --inclu=* | --incl=* | --inc=*)
897    includedir=$ac_optarg ;;
898
899  -infodir | --infodir | --infodi | --infod | --info | --inf)
900    ac_prev=infodir ;;
901  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
902    infodir=$ac_optarg ;;
903
904  -libdir | --libdir | --libdi | --libd)
905    ac_prev=libdir ;;
906  -libdir=* | --libdir=* | --libdi=* | --libd=*)
907    libdir=$ac_optarg ;;
908
909  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
910  | --libexe | --libex | --libe)
911    ac_prev=libexecdir ;;
912  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
913  | --libexe=* | --libex=* | --libe=*)
914    libexecdir=$ac_optarg ;;
915
916  -localedir | --localedir | --localedi | --localed | --locale)
917    ac_prev=localedir ;;
918  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
919    localedir=$ac_optarg ;;
920
921  -localstatedir | --localstatedir | --localstatedi | --localstated \
922  | --localstate | --localstat | --localsta | --localst | --locals)
923    ac_prev=localstatedir ;;
924  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
925  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
926    localstatedir=$ac_optarg ;;
927
928  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
929    ac_prev=mandir ;;
930  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
931    mandir=$ac_optarg ;;
932
933  -nfp | --nfp | --nf)
934    # Obsolete; use --without-fp.
935    with_fp=no ;;
936
937  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
938  | --no-cr | --no-c | -n)
939    no_create=yes ;;
940
941  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
942  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
943    no_recursion=yes ;;
944
945  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
946  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
947  | --oldin | --oldi | --old | --ol | --o)
948    ac_prev=oldincludedir ;;
949  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
950  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
951  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
952    oldincludedir=$ac_optarg ;;
953
954  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
955    ac_prev=prefix ;;
956  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
957    prefix=$ac_optarg ;;
958
959  -program-prefix | --program-prefix | --program-prefi | --program-pref \
960  | --program-pre | --program-pr | --program-p)
961    ac_prev=program_prefix ;;
962  -program-prefix=* | --program-prefix=* | --program-prefi=* \
963  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
964    program_prefix=$ac_optarg ;;
965
966  -program-suffix | --program-suffix | --program-suffi | --program-suff \
967  | --program-suf | --program-su | --program-s)
968    ac_prev=program_suffix ;;
969  -program-suffix=* | --program-suffix=* | --program-suffi=* \
970  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
971    program_suffix=$ac_optarg ;;
972
973  -program-transform-name | --program-transform-name \
974  | --program-transform-nam | --program-transform-na \
975  | --program-transform-n | --program-transform- \
976  | --program-transform | --program-transfor \
977  | --program-transfo | --program-transf \
978  | --program-trans | --program-tran \
979  | --progr-tra | --program-tr | --program-t)
980    ac_prev=program_transform_name ;;
981  -program-transform-name=* | --program-transform-name=* \
982  | --program-transform-nam=* | --program-transform-na=* \
983  | --program-transform-n=* | --program-transform-=* \
984  | --program-transform=* | --program-transfor=* \
985  | --program-transfo=* | --program-transf=* \
986  | --program-trans=* | --program-tran=* \
987  | --progr-tra=* | --program-tr=* | --program-t=*)
988    program_transform_name=$ac_optarg ;;
989
990  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
991    ac_prev=pdfdir ;;
992  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
993    pdfdir=$ac_optarg ;;
994
995  -psdir | --psdir | --psdi | --psd | --ps)
996    ac_prev=psdir ;;
997  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
998    psdir=$ac_optarg ;;
999
1000  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1001  | -silent | --silent | --silen | --sile | --sil)
1002    silent=yes ;;
1003
1004  -runstatedir | --runstatedir | --runstatedi | --runstated \
1005  | --runstate | --runstat | --runsta | --runst | --runs \
1006  | --run | --ru | --r)
1007    ac_prev=runstatedir ;;
1008  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1009  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1010  | --run=* | --ru=* | --r=*)
1011    runstatedir=$ac_optarg ;;
1012
1013  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1014    ac_prev=sbindir ;;
1015  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1016  | --sbi=* | --sb=*)
1017    sbindir=$ac_optarg ;;
1018
1019  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1020  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1021  | --sharedst | --shareds | --shared | --share | --shar \
1022  | --sha | --sh)
1023    ac_prev=sharedstatedir ;;
1024  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1025  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1026  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1027  | --sha=* | --sh=*)
1028    sharedstatedir=$ac_optarg ;;
1029
1030  -site | --site | --sit)
1031    ac_prev=site ;;
1032  -site=* | --site=* | --sit=*)
1033    site=$ac_optarg ;;
1034
1035  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1036    ac_prev=srcdir ;;
1037  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1038    srcdir=$ac_optarg ;;
1039
1040  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1041  | --syscon | --sysco | --sysc | --sys | --sy)
1042    ac_prev=sysconfdir ;;
1043  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1044  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1045    sysconfdir=$ac_optarg ;;
1046
1047  -target | --target | --targe | --targ | --tar | --ta | --t)
1048    ac_prev=target_alias ;;
1049  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1050    target_alias=$ac_optarg ;;
1051
1052  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1053    verbose=yes ;;
1054
1055  -version | --version | --versio | --versi | --vers | -V)
1056    ac_init_version=: ;;
1057
1058  -with-* | --with-*)
1059    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1060    # Reject names that are not valid shell variable names.
1061    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062      as_fn_error $? "invalid package name: $ac_useropt"
1063    ac_useropt_orig=$ac_useropt
1064    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065    case $ac_user_opts in
1066      *"
1067"with_$ac_useropt"
1068"*) ;;
1069      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1070	 ac_unrecognized_sep=', ';;
1071    esac
1072    eval with_$ac_useropt=\$ac_optarg ;;
1073
1074  -without-* | --without-*)
1075    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1076    # Reject names that are not valid shell variable names.
1077    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078      as_fn_error $? "invalid package name: $ac_useropt"
1079    ac_useropt_orig=$ac_useropt
1080    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081    case $ac_user_opts in
1082      *"
1083"with_$ac_useropt"
1084"*) ;;
1085      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1086	 ac_unrecognized_sep=', ';;
1087    esac
1088    eval with_$ac_useropt=no ;;
1089
1090  --x)
1091    # Obsolete; use --with-x.
1092    with_x=yes ;;
1093
1094  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1095  | --x-incl | --x-inc | --x-in | --x-i)
1096    ac_prev=x_includes ;;
1097  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1098  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1099    x_includes=$ac_optarg ;;
1100
1101  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1102  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1103    ac_prev=x_libraries ;;
1104  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1105  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1106    x_libraries=$ac_optarg ;;
1107
1108  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1109Try \`$0 --help' for more information"
1110    ;;
1111
1112  *=*)
1113    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1114    # Reject names that are not valid shell variable names.
1115    case $ac_envvar in #(
1116      '' | [0-9]* | *[!_$as_cr_alnum]* )
1117      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1118    esac
1119    eval $ac_envvar=\$ac_optarg
1120    export $ac_envvar ;;
1121
1122  *)
1123    # FIXME: should be removed in autoconf 3.0.
1124    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1125    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1126      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1127    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1128    ;;
1129
1130  esac
1131done
1132
1133if test -n "$ac_prev"; then
1134  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1135  as_fn_error $? "missing argument to $ac_option"
1136fi
1137
1138if test -n "$ac_unrecognized_opts"; then
1139  case $enable_option_checking in
1140    no) ;;
1141    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1142    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1143  esac
1144fi
1145
1146# Check all directory arguments for consistency.
1147for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1148		datadir sysconfdir sharedstatedir localstatedir includedir \
1149		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1150		libdir localedir mandir runstatedir
1151do
1152  eval ac_val=\$$ac_var
1153  # Remove trailing slashes.
1154  case $ac_val in
1155    */ )
1156      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1157      eval $ac_var=\$ac_val;;
1158  esac
1159  # Be sure to have absolute directory names.
1160  case $ac_val in
1161    [\\/$]* | ?:[\\/]* )  continue;;
1162    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1163  esac
1164  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1165done
1166
1167# There might be people who depend on the old broken behavior: `$host'
1168# used to hold the argument of --host etc.
1169# FIXME: To remove some day.
1170build=$build_alias
1171host=$host_alias
1172target=$target_alias
1173
1174# FIXME: To remove some day.
1175if test "x$host_alias" != x; then
1176  if test "x$build_alias" = x; then
1177    cross_compiling=maybe
1178  elif test "x$build_alias" != "x$host_alias"; then
1179    cross_compiling=yes
1180  fi
1181fi
1182
1183ac_tool_prefix=
1184test -n "$host_alias" && ac_tool_prefix=$host_alias-
1185
1186test "$silent" = yes && exec 6>/dev/null
1187
1188
1189ac_pwd=`pwd` && test -n "$ac_pwd" &&
1190ac_ls_di=`ls -di .` &&
1191ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1192  as_fn_error $? "working directory cannot be determined"
1193test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1194  as_fn_error $? "pwd does not report name of working directory"
1195
1196
1197# Find the source files, if location was not specified.
1198if test -z "$srcdir"; then
1199  ac_srcdir_defaulted=yes
1200  # Try the directory containing this script, then the parent directory.
1201  ac_confdir=`$as_dirname -- "$as_myself" ||
1202$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1203	 X"$as_myself" : 'X\(//\)[^/]' \| \
1204	 X"$as_myself" : 'X\(//\)$' \| \
1205	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1206$as_echo X"$as_myself" |
1207    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1208	    s//\1/
1209	    q
1210	  }
1211	  /^X\(\/\/\)[^/].*/{
1212	    s//\1/
1213	    q
1214	  }
1215	  /^X\(\/\/\)$/{
1216	    s//\1/
1217	    q
1218	  }
1219	  /^X\(\/\).*/{
1220	    s//\1/
1221	    q
1222	  }
1223	  s/.*/./; q'`
1224  srcdir=$ac_confdir
1225  if test ! -r "$srcdir/$ac_unique_file"; then
1226    srcdir=..
1227  fi
1228else
1229  ac_srcdir_defaulted=no
1230fi
1231if test ! -r "$srcdir/$ac_unique_file"; then
1232  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1233  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1234fi
1235ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1236ac_abs_confdir=`(
1237	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1238	pwd)`
1239# When building in place, set srcdir=.
1240if test "$ac_abs_confdir" = "$ac_pwd"; then
1241  srcdir=.
1242fi
1243# Remove unnecessary trailing slashes from srcdir.
1244# Double slashes in file names in object file debugging info
1245# mess up M-x gdb in Emacs.
1246case $srcdir in
1247*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1248esac
1249for ac_var in $ac_precious_vars; do
1250  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1251  eval ac_env_${ac_var}_value=\$${ac_var}
1252  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1253  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1254done
1255
1256#
1257# Report the --help message.
1258#
1259if test "$ac_init_help" = "long"; then
1260  # Omit some internal or obsolete options to make the list less imposing.
1261  # This message is too long to be a string in the A/UX 3.1 sh.
1262  cat <<_ACEOF
1263\`configure' configures this package to adapt to many kinds of systems.
1264
1265Usage: $0 [OPTION]... [VAR=VALUE]...
1266
1267To assign environment variables (e.g., CC, CFLAGS...), specify them as
1268VAR=VALUE.  See below for descriptions of some of the useful variables.
1269
1270Defaults for the options are specified in brackets.
1271
1272Configuration:
1273  -h, --help              display this help and exit
1274      --help=short        display options specific to this package
1275      --help=recursive    display the short help of all the included packages
1276  -V, --version           display version information and exit
1277  -q, --quiet, --silent   do not print \`checking ...' messages
1278      --cache-file=FILE   cache test results in FILE [disabled]
1279  -C, --config-cache      alias for \`--cache-file=config.cache'
1280  -n, --no-create         do not create output files
1281      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1282
1283Installation directories:
1284  --prefix=PREFIX         install architecture-independent files in PREFIX
1285                          [$ac_default_prefix]
1286  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1287                          [PREFIX]
1288
1289By default, \`make install' will install all the files in
1290\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1291an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1292for instance \`--prefix=\$HOME'.
1293
1294For better control, use the options below.
1295
1296Fine tuning of the installation directories:
1297  --bindir=DIR            user executables [EPREFIX/bin]
1298  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1299  --libexecdir=DIR        program executables [EPREFIX/libexec]
1300  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1301  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1302  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1303  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1304  --libdir=DIR            object code libraries [EPREFIX/lib]
1305  --includedir=DIR        C header files [PREFIX/include]
1306  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1307  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1308  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1309  --infodir=DIR           info documentation [DATAROOTDIR/info]
1310  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1311  --mandir=DIR            man documentation [DATAROOTDIR/man]
1312  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1313  --htmldir=DIR           html documentation [DOCDIR]
1314  --dvidir=DIR            dvi documentation [DOCDIR]
1315  --pdfdir=DIR            pdf documentation [DOCDIR]
1316  --psdir=DIR             ps documentation [DOCDIR]
1317_ACEOF
1318
1319  cat <<\_ACEOF
1320_ACEOF
1321fi
1322
1323if test -n "$ac_init_help"; then
1324
1325  cat <<\_ACEOF
1326
1327Optional Features:
1328  --disable-option-checking  ignore unrecognized --enable/--with options
1329  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1330  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1331  --enable-plugin=pppd_src_path   build pppd plugin
1332  --disable-debugging             disable debugging code
1333  --enable-licenses=lic_path      build commercial version
1334
1335Some influential environment variables:
1336  CC          C compiler command
1337  CFLAGS      C compiler flags
1338  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1339              nonstandard directory <lib dir>
1340  LIBS        libraries to pass to the linker, e.g. -l<library>
1341  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1342              you have headers in a nonstandard directory <include dir>
1343  CPP         C preprocessor
1344
1345Use these variables to override the choices made by `configure' or to help
1346it to find libraries and programs with nonstandard names/locations.
1347
1348Report bugs to the package provider.
1349_ACEOF
1350ac_status=$?
1351fi
1352
1353if test "$ac_init_help" = "recursive"; then
1354  # If there are subdirs, report their specific --help.
1355  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1356    test -d "$ac_dir" ||
1357      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1358      continue
1359    ac_builddir=.
1360
1361case "$ac_dir" in
1362.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363*)
1364  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1365  # A ".." for each directory in $ac_dir_suffix.
1366  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1367  case $ac_top_builddir_sub in
1368  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1369  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1370  esac ;;
1371esac
1372ac_abs_top_builddir=$ac_pwd
1373ac_abs_builddir=$ac_pwd$ac_dir_suffix
1374# for backward compatibility:
1375ac_top_builddir=$ac_top_build_prefix
1376
1377case $srcdir in
1378  .)  # We are building in place.
1379    ac_srcdir=.
1380    ac_top_srcdir=$ac_top_builddir_sub
1381    ac_abs_top_srcdir=$ac_pwd ;;
1382  [\\/]* | ?:[\\/]* )  # Absolute name.
1383    ac_srcdir=$srcdir$ac_dir_suffix;
1384    ac_top_srcdir=$srcdir
1385    ac_abs_top_srcdir=$srcdir ;;
1386  *) # Relative name.
1387    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1388    ac_top_srcdir=$ac_top_build_prefix$srcdir
1389    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1390esac
1391ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1392
1393    cd "$ac_dir" || { ac_status=$?; continue; }
1394    # Check for guested configure.
1395    if test -f "$ac_srcdir/configure.gnu"; then
1396      echo &&
1397      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1398    elif test -f "$ac_srcdir/configure"; then
1399      echo &&
1400      $SHELL "$ac_srcdir/configure" --help=recursive
1401    else
1402      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1403    fi || ac_status=$?
1404    cd "$ac_pwd" || { ac_status=$?; break; }
1405  done
1406fi
1407
1408test -n "$ac_init_help" && exit $ac_status
1409if $ac_init_version; then
1410  cat <<\_ACEOF
1411configure
1412generated by GNU Autoconf 2.69
1413
1414Copyright (C) 2012 Free Software Foundation, Inc.
1415This configure script is free software; the Free Software Foundation
1416gives unlimited permission to copy, distribute and modify it.
1417_ACEOF
1418  exit
1419fi
1420
1421## ------------------------ ##
1422## Autoconf initialization. ##
1423## ------------------------ ##
1424
1425# ac_fn_c_try_compile LINENO
1426# --------------------------
1427# Try to compile conftest.$ac_ext, and return whether this succeeded.
1428ac_fn_c_try_compile ()
1429{
1430  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1431  rm -f conftest.$ac_objext
1432  if { { ac_try="$ac_compile"
1433case "(($ac_try" in
1434  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1435  *) ac_try_echo=$ac_try;;
1436esac
1437eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1438$as_echo "$ac_try_echo"; } >&5
1439  (eval "$ac_compile") 2>conftest.err
1440  ac_status=$?
1441  if test -s conftest.err; then
1442    grep -v '^ *+' conftest.err >conftest.er1
1443    cat conftest.er1 >&5
1444    mv -f conftest.er1 conftest.err
1445  fi
1446  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447  test $ac_status = 0; } && {
1448	 test -z "$ac_c_werror_flag" ||
1449	 test ! -s conftest.err
1450       } && test -s conftest.$ac_objext; then :
1451  ac_retval=0
1452else
1453  $as_echo "$as_me: failed program was:" >&5
1454sed 's/^/| /' conftest.$ac_ext >&5
1455
1456	ac_retval=1
1457fi
1458  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1459  as_fn_set_status $ac_retval
1460
1461} # ac_fn_c_try_compile
1462
1463# ac_fn_c_try_cpp LINENO
1464# ----------------------
1465# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1466ac_fn_c_try_cpp ()
1467{
1468  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469  if { { ac_try="$ac_cpp conftest.$ac_ext"
1470case "(($ac_try" in
1471  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1472  *) ac_try_echo=$ac_try;;
1473esac
1474eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1475$as_echo "$ac_try_echo"; } >&5
1476  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1477  ac_status=$?
1478  if test -s conftest.err; then
1479    grep -v '^ *+' conftest.err >conftest.er1
1480    cat conftest.er1 >&5
1481    mv -f conftest.er1 conftest.err
1482  fi
1483  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1484  test $ac_status = 0; } > conftest.i && {
1485	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1486	 test ! -s conftest.err
1487       }; then :
1488  ac_retval=0
1489else
1490  $as_echo "$as_me: failed program was:" >&5
1491sed 's/^/| /' conftest.$ac_ext >&5
1492
1493    ac_retval=1
1494fi
1495  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1496  as_fn_set_status $ac_retval
1497
1498} # ac_fn_c_try_cpp
1499
1500# ac_fn_c_try_run LINENO
1501# ----------------------
1502# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1503# that executables *can* be run.
1504ac_fn_c_try_run ()
1505{
1506  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1507  if { { ac_try="$ac_link"
1508case "(($ac_try" in
1509  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1510  *) ac_try_echo=$ac_try;;
1511esac
1512eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1513$as_echo "$ac_try_echo"; } >&5
1514  (eval "$ac_link") 2>&5
1515  ac_status=$?
1516  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1518  { { case "(($ac_try" in
1519  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1520  *) ac_try_echo=$ac_try;;
1521esac
1522eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523$as_echo "$ac_try_echo"; } >&5
1524  (eval "$ac_try") 2>&5
1525  ac_status=$?
1526  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1527  test $ac_status = 0; }; }; then :
1528  ac_retval=0
1529else
1530  $as_echo "$as_me: program exited with status $ac_status" >&5
1531       $as_echo "$as_me: failed program was:" >&5
1532sed 's/^/| /' conftest.$ac_ext >&5
1533
1534       ac_retval=$ac_status
1535fi
1536  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1537  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1538  as_fn_set_status $ac_retval
1539
1540} # ac_fn_c_try_run
1541
1542# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1543# -------------------------------------------------------
1544# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1545# the include files in INCLUDES and setting the cache variable VAR
1546# accordingly.
1547ac_fn_c_check_header_mongrel ()
1548{
1549  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550  if eval \${$3+:} false; then :
1551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1552$as_echo_n "checking for $2... " >&6; }
1553if eval \${$3+:} false; then :
1554  $as_echo_n "(cached) " >&6
1555fi
1556eval ac_res=\$$3
1557	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1558$as_echo "$ac_res" >&6; }
1559else
1560  # Is the header compilable?
1561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1562$as_echo_n "checking $2 usability... " >&6; }
1563cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1564/* end confdefs.h.  */
1565$4
1566#include <$2>
1567_ACEOF
1568if ac_fn_c_try_compile "$LINENO"; then :
1569  ac_header_compiler=yes
1570else
1571  ac_header_compiler=no
1572fi
1573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1575$as_echo "$ac_header_compiler" >&6; }
1576
1577# Is the header present?
1578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1579$as_echo_n "checking $2 presence... " >&6; }
1580cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1581/* end confdefs.h.  */
1582#include <$2>
1583_ACEOF
1584if ac_fn_c_try_cpp "$LINENO"; then :
1585  ac_header_preproc=yes
1586else
1587  ac_header_preproc=no
1588fi
1589rm -f conftest.err conftest.i conftest.$ac_ext
1590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1591$as_echo "$ac_header_preproc" >&6; }
1592
1593# So?  What about this header?
1594case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1595  yes:no: )
1596    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1597$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1598    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1599$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1600    ;;
1601  no:yes:* )
1602    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1603$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1604    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1605$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1606    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1607$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1608    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1609$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1610    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1611$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1612    ;;
1613esac
1614  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1615$as_echo_n "checking for $2... " >&6; }
1616if eval \${$3+:} false; then :
1617  $as_echo_n "(cached) " >&6
1618else
1619  eval "$3=\$ac_header_compiler"
1620fi
1621eval ac_res=\$$3
1622	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1623$as_echo "$ac_res" >&6; }
1624fi
1625  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626
1627} # ac_fn_c_check_header_mongrel
1628
1629# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1630# -------------------------------------------------------
1631# Tests whether HEADER exists and can be compiled using the include files in
1632# INCLUDES, setting the cache variable VAR accordingly.
1633ac_fn_c_check_header_compile ()
1634{
1635  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637$as_echo_n "checking for $2... " >&6; }
1638if eval \${$3+:} false; then :
1639  $as_echo_n "(cached) " >&6
1640else
1641  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642/* end confdefs.h.  */
1643$4
1644#include <$2>
1645_ACEOF
1646if ac_fn_c_try_compile "$LINENO"; then :
1647  eval "$3=yes"
1648else
1649  eval "$3=no"
1650fi
1651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1652fi
1653eval ac_res=\$$3
1654	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1655$as_echo "$ac_res" >&6; }
1656  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657
1658} # ac_fn_c_check_header_compile
1659
1660# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1661# -------------------------------------------
1662# Tests whether TYPE exists after having included INCLUDES, setting cache
1663# variable VAR accordingly.
1664ac_fn_c_check_type ()
1665{
1666  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1668$as_echo_n "checking for $2... " >&6; }
1669if eval \${$3+:} false; then :
1670  $as_echo_n "(cached) " >&6
1671else
1672  eval "$3=no"
1673  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1674/* end confdefs.h.  */
1675$4
1676int
1677main ()
1678{
1679if (sizeof ($2))
1680	 return 0;
1681  ;
1682  return 0;
1683}
1684_ACEOF
1685if ac_fn_c_try_compile "$LINENO"; then :
1686  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1687/* end confdefs.h.  */
1688$4
1689int
1690main ()
1691{
1692if (sizeof (($2)))
1693	    return 0;
1694  ;
1695  return 0;
1696}
1697_ACEOF
1698if ac_fn_c_try_compile "$LINENO"; then :
1699
1700else
1701  eval "$3=yes"
1702fi
1703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1704fi
1705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1706fi
1707eval ac_res=\$$3
1708	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1709$as_echo "$ac_res" >&6; }
1710  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711
1712} # ac_fn_c_check_type
1713
1714# ac_fn_c_try_link LINENO
1715# -----------------------
1716# Try to link conftest.$ac_ext, and return whether this succeeded.
1717ac_fn_c_try_link ()
1718{
1719  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720  rm -f conftest.$ac_objext conftest$ac_exeext
1721  if { { ac_try="$ac_link"
1722case "(($ac_try" in
1723  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724  *) ac_try_echo=$ac_try;;
1725esac
1726eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727$as_echo "$ac_try_echo"; } >&5
1728  (eval "$ac_link") 2>conftest.err
1729  ac_status=$?
1730  if test -s conftest.err; then
1731    grep -v '^ *+' conftest.err >conftest.er1
1732    cat conftest.er1 >&5
1733    mv -f conftest.er1 conftest.err
1734  fi
1735  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736  test $ac_status = 0; } && {
1737	 test -z "$ac_c_werror_flag" ||
1738	 test ! -s conftest.err
1739       } && test -s conftest$ac_exeext && {
1740	 test "$cross_compiling" = yes ||
1741	 test -x conftest$ac_exeext
1742       }; then :
1743  ac_retval=0
1744else
1745  $as_echo "$as_me: failed program was:" >&5
1746sed 's/^/| /' conftest.$ac_ext >&5
1747
1748	ac_retval=1
1749fi
1750  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1751  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1752  # interfere with the next link command; also delete a directory that is
1753  # left behind by Apple's compiler.  We do this before executing the actions.
1754  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1755  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756  as_fn_set_status $ac_retval
1757
1758} # ac_fn_c_try_link
1759
1760# ac_fn_c_check_func LINENO FUNC VAR
1761# ----------------------------------
1762# Tests whether FUNC exists, setting the cache variable VAR accordingly
1763ac_fn_c_check_func ()
1764{
1765  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1767$as_echo_n "checking for $2... " >&6; }
1768if eval \${$3+:} false; then :
1769  $as_echo_n "(cached) " >&6
1770else
1771  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1772/* end confdefs.h.  */
1773/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1774   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1775#define $2 innocuous_$2
1776
1777/* System header to define __stub macros and hopefully few prototypes,
1778    which can conflict with char $2 (); below.
1779    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1780    <limits.h> exists even on freestanding compilers.  */
1781
1782#ifdef __STDC__
1783# include <limits.h>
1784#else
1785# include <assert.h>
1786#endif
1787
1788#undef $2
1789
1790/* Override any GCC internal prototype to avoid an error.
1791   Use char because int might match the return type of a GCC
1792   builtin and then its argument prototype would still apply.  */
1793#ifdef __cplusplus
1794extern "C"
1795#endif
1796char $2 ();
1797/* The GNU C library defines this for functions which it implements
1798    to always fail with ENOSYS.  Some functions are actually named
1799    something starting with __ and the normal name is an alias.  */
1800#if defined __stub_$2 || defined __stub___$2
1801choke me
1802#endif
1803
1804int
1805main ()
1806{
1807return $2 ();
1808  ;
1809  return 0;
1810}
1811_ACEOF
1812if ac_fn_c_try_link "$LINENO"; then :
1813  eval "$3=yes"
1814else
1815  eval "$3=no"
1816fi
1817rm -f core conftest.err conftest.$ac_objext \
1818    conftest$ac_exeext conftest.$ac_ext
1819fi
1820eval ac_res=\$$3
1821	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822$as_echo "$ac_res" >&6; }
1823  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824
1825} # ac_fn_c_check_func
1826
1827# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1828# --------------------------------------------
1829# Tries to find the compile-time value of EXPR in a program that includes
1830# INCLUDES, setting VAR accordingly. Returns whether the value could be
1831# computed
1832ac_fn_c_compute_int ()
1833{
1834  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835  if test "$cross_compiling" = yes; then
1836    # Depending upon the size, compute the lo and hi bounds.
1837cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838/* end confdefs.h.  */
1839$4
1840int
1841main ()
1842{
1843static int test_array [1 - 2 * !(($2) >= 0)];
1844test_array [0] = 0;
1845return test_array [0];
1846
1847  ;
1848  return 0;
1849}
1850_ACEOF
1851if ac_fn_c_try_compile "$LINENO"; then :
1852  ac_lo=0 ac_mid=0
1853  while :; do
1854    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1855/* end confdefs.h.  */
1856$4
1857int
1858main ()
1859{
1860static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1861test_array [0] = 0;
1862return test_array [0];
1863
1864  ;
1865  return 0;
1866}
1867_ACEOF
1868if ac_fn_c_try_compile "$LINENO"; then :
1869  ac_hi=$ac_mid; break
1870else
1871  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1872			if test $ac_lo -le $ac_mid; then
1873			  ac_lo= ac_hi=
1874			  break
1875			fi
1876			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1877fi
1878rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1879  done
1880else
1881  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1882/* end confdefs.h.  */
1883$4
1884int
1885main ()
1886{
1887static int test_array [1 - 2 * !(($2) < 0)];
1888test_array [0] = 0;
1889return test_array [0];
1890
1891  ;
1892  return 0;
1893}
1894_ACEOF
1895if ac_fn_c_try_compile "$LINENO"; then :
1896  ac_hi=-1 ac_mid=-1
1897  while :; do
1898    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899/* end confdefs.h.  */
1900$4
1901int
1902main ()
1903{
1904static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1905test_array [0] = 0;
1906return test_array [0];
1907
1908  ;
1909  return 0;
1910}
1911_ACEOF
1912if ac_fn_c_try_compile "$LINENO"; then :
1913  ac_lo=$ac_mid; break
1914else
1915  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1916			if test $ac_mid -le $ac_hi; then
1917			  ac_lo= ac_hi=
1918			  break
1919			fi
1920			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1921fi
1922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1923  done
1924else
1925  ac_lo= ac_hi=
1926fi
1927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1928fi
1929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1930# Binary search between lo and hi bounds.
1931while test "x$ac_lo" != "x$ac_hi"; do
1932  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1933  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1934/* end confdefs.h.  */
1935$4
1936int
1937main ()
1938{
1939static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1940test_array [0] = 0;
1941return test_array [0];
1942
1943  ;
1944  return 0;
1945}
1946_ACEOF
1947if ac_fn_c_try_compile "$LINENO"; then :
1948  ac_hi=$ac_mid
1949else
1950  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1951fi
1952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1953done
1954case $ac_lo in #((
1955?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1956'') ac_retval=1 ;;
1957esac
1958  else
1959    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960/* end confdefs.h.  */
1961$4
1962static long int longval () { return $2; }
1963static unsigned long int ulongval () { return $2; }
1964#include <stdio.h>
1965#include <stdlib.h>
1966int
1967main ()
1968{
1969
1970  FILE *f = fopen ("conftest.val", "w");
1971  if (! f)
1972    return 1;
1973  if (($2) < 0)
1974    {
1975      long int i = longval ();
1976      if (i != ($2))
1977	return 1;
1978      fprintf (f, "%ld", i);
1979    }
1980  else
1981    {
1982      unsigned long int i = ulongval ();
1983      if (i != ($2))
1984	return 1;
1985      fprintf (f, "%lu", i);
1986    }
1987  /* Do not output a trailing newline, as this causes \r\n confusion
1988     on some platforms.  */
1989  return ferror (f) || fclose (f) != 0;
1990
1991  ;
1992  return 0;
1993}
1994_ACEOF
1995if ac_fn_c_try_run "$LINENO"; then :
1996  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1997else
1998  ac_retval=1
1999fi
2000rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2001  conftest.$ac_objext conftest.beam conftest.$ac_ext
2002rm -f conftest.val
2003
2004  fi
2005  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2006  as_fn_set_status $ac_retval
2007
2008} # ac_fn_c_compute_int
2009cat >config.log <<_ACEOF
2010This file contains any messages produced by compilers while
2011running configure, to aid debugging if configure makes a mistake.
2012
2013It was created by $as_me, which was
2014generated by GNU Autoconf 2.69.  Invocation command line was
2015
2016  $ $0 $@
2017
2018_ACEOF
2019exec 5>>config.log
2020{
2021cat <<_ASUNAME
2022## --------- ##
2023## Platform. ##
2024## --------- ##
2025
2026hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2027uname -m = `(uname -m) 2>/dev/null || echo unknown`
2028uname -r = `(uname -r) 2>/dev/null || echo unknown`
2029uname -s = `(uname -s) 2>/dev/null || echo unknown`
2030uname -v = `(uname -v) 2>/dev/null || echo unknown`
2031
2032/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2033/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2034
2035/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2036/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2037/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2038/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2039/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2040/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2041/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2042
2043_ASUNAME
2044
2045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046for as_dir in $PATH
2047do
2048  IFS=$as_save_IFS
2049  test -z "$as_dir" && as_dir=.
2050    $as_echo "PATH: $as_dir"
2051  done
2052IFS=$as_save_IFS
2053
2054} >&5
2055
2056cat >&5 <<_ACEOF
2057
2058
2059## ----------- ##
2060## Core tests. ##
2061## ----------- ##
2062
2063_ACEOF
2064
2065
2066# Keep a trace of the command line.
2067# Strip out --no-create and --no-recursion so they do not pile up.
2068# Strip out --silent because we don't want to record it for future runs.
2069# Also quote any args containing shell meta-characters.
2070# Make two passes to allow for proper duplicate-argument suppression.
2071ac_configure_args=
2072ac_configure_args0=
2073ac_configure_args1=
2074ac_must_keep_next=false
2075for ac_pass in 1 2
2076do
2077  for ac_arg
2078  do
2079    case $ac_arg in
2080    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2081    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2082    | -silent | --silent | --silen | --sile | --sil)
2083      continue ;;
2084    *\'*)
2085      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2086    esac
2087    case $ac_pass in
2088    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2089    2)
2090      as_fn_append ac_configure_args1 " '$ac_arg'"
2091      if test $ac_must_keep_next = true; then
2092	ac_must_keep_next=false # Got value, back to normal.
2093      else
2094	case $ac_arg in
2095	  *=* | --config-cache | -C | -disable-* | --disable-* \
2096	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2097	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2098	  | -with-* | --with-* | -without-* | --without-* | --x)
2099	    case "$ac_configure_args0 " in
2100	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2101	    esac
2102	    ;;
2103	  -* ) ac_must_keep_next=true ;;
2104	esac
2105      fi
2106      as_fn_append ac_configure_args " '$ac_arg'"
2107      ;;
2108    esac
2109  done
2110done
2111{ ac_configure_args0=; unset ac_configure_args0;}
2112{ ac_configure_args1=; unset ac_configure_args1;}
2113
2114# When interrupted or exit'd, cleanup temporary files, and complete
2115# config.log.  We remove comments because anyway the quotes in there
2116# would cause problems or look ugly.
2117# WARNING: Use '\'' to represent an apostrophe within the trap.
2118# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2119trap 'exit_status=$?
2120  # Save into config.log some information that might help in debugging.
2121  {
2122    echo
2123
2124    $as_echo "## ---------------- ##
2125## Cache variables. ##
2126## ---------------- ##"
2127    echo
2128    # The following way of writing the cache mishandles newlines in values,
2129(
2130  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2131    eval ac_val=\$$ac_var
2132    case $ac_val in #(
2133    *${as_nl}*)
2134      case $ac_var in #(
2135      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2136$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2137      esac
2138      case $ac_var in #(
2139      _ | IFS | as_nl) ;; #(
2140      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2141      *) { eval $ac_var=; unset $ac_var;} ;;
2142      esac ;;
2143    esac
2144  done
2145  (set) 2>&1 |
2146    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2147    *${as_nl}ac_space=\ *)
2148      sed -n \
2149	"s/'\''/'\''\\\\'\'''\''/g;
2150	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2151      ;; #(
2152    *)
2153      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2154      ;;
2155    esac |
2156    sort
2157)
2158    echo
2159
2160    $as_echo "## ----------------- ##
2161## Output variables. ##
2162## ----------------- ##"
2163    echo
2164    for ac_var in $ac_subst_vars
2165    do
2166      eval ac_val=\$$ac_var
2167      case $ac_val in
2168      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2169      esac
2170      $as_echo "$ac_var='\''$ac_val'\''"
2171    done | sort
2172    echo
2173
2174    if test -n "$ac_subst_files"; then
2175      $as_echo "## ------------------- ##
2176## File substitutions. ##
2177## ------------------- ##"
2178      echo
2179      for ac_var in $ac_subst_files
2180      do
2181	eval ac_val=\$$ac_var
2182	case $ac_val in
2183	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2184	esac
2185	$as_echo "$ac_var='\''$ac_val'\''"
2186      done | sort
2187      echo
2188    fi
2189
2190    if test -s confdefs.h; then
2191      $as_echo "## ----------- ##
2192## confdefs.h. ##
2193## ----------- ##"
2194      echo
2195      cat confdefs.h
2196      echo
2197    fi
2198    test "$ac_signal" != 0 &&
2199      $as_echo "$as_me: caught signal $ac_signal"
2200    $as_echo "$as_me: exit $exit_status"
2201  } >&5
2202  rm -f core *.core core.conftest.* &&
2203    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2204    exit $exit_status
2205' 0
2206for ac_signal in 1 2 13 15; do
2207  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2208done
2209ac_signal=0
2210
2211# confdefs.h avoids OS command line length limits that DEFS can exceed.
2212rm -f -r conftest* confdefs.h
2213
2214$as_echo "/* confdefs.h */" > confdefs.h
2215
2216# Predefined preprocessor variables.
2217
2218cat >>confdefs.h <<_ACEOF
2219#define PACKAGE_NAME "$PACKAGE_NAME"
2220_ACEOF
2221
2222cat >>confdefs.h <<_ACEOF
2223#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2224_ACEOF
2225
2226cat >>confdefs.h <<_ACEOF
2227#define PACKAGE_VERSION "$PACKAGE_VERSION"
2228_ACEOF
2229
2230cat >>confdefs.h <<_ACEOF
2231#define PACKAGE_STRING "$PACKAGE_STRING"
2232_ACEOF
2233
2234cat >>confdefs.h <<_ACEOF
2235#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2236_ACEOF
2237
2238cat >>confdefs.h <<_ACEOF
2239#define PACKAGE_URL "$PACKAGE_URL"
2240_ACEOF
2241
2242
2243# Let the site file select an alternate cache file if it wants to.
2244# Prefer an explicitly selected file to automatically selected ones.
2245ac_site_file1=NONE
2246ac_site_file2=NONE
2247if test -n "$CONFIG_SITE"; then
2248  # We do not want a PATH search for config.site.
2249  case $CONFIG_SITE in #((
2250    -*)  ac_site_file1=./$CONFIG_SITE;;
2251    */*) ac_site_file1=$CONFIG_SITE;;
2252    *)   ac_site_file1=./$CONFIG_SITE;;
2253  esac
2254elif test "x$prefix" != xNONE; then
2255  ac_site_file1=$prefix/share/config.site
2256  ac_site_file2=$prefix/etc/config.site
2257else
2258  ac_site_file1=$ac_default_prefix/share/config.site
2259  ac_site_file2=$ac_default_prefix/etc/config.site
2260fi
2261for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2262do
2263  test "x$ac_site_file" = xNONE && continue
2264  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2265    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2266$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2267    sed 's/^/| /' "$ac_site_file" >&5
2268    . "$ac_site_file" \
2269      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2270$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2271as_fn_error $? "failed to load site script $ac_site_file
2272See \`config.log' for more details" "$LINENO" 5; }
2273  fi
2274done
2275
2276if test -r "$cache_file"; then
2277  # Some versions of bash will fail to source /dev/null (special files
2278  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2279  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2280    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2281$as_echo "$as_me: loading cache $cache_file" >&6;}
2282    case $cache_file in
2283      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2284      *)                      . "./$cache_file";;
2285    esac
2286  fi
2287else
2288  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2289$as_echo "$as_me: creating cache $cache_file" >&6;}
2290  >$cache_file
2291fi
2292
2293# Check that the precious variables saved in the cache have kept the same
2294# value.
2295ac_cache_corrupted=false
2296for ac_var in $ac_precious_vars; do
2297  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2298  eval ac_new_set=\$ac_env_${ac_var}_set
2299  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2300  eval ac_new_val=\$ac_env_${ac_var}_value
2301  case $ac_old_set,$ac_new_set in
2302    set,)
2303      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2304$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2305      ac_cache_corrupted=: ;;
2306    ,set)
2307      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2308$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2309      ac_cache_corrupted=: ;;
2310    ,);;
2311    *)
2312      if test "x$ac_old_val" != "x$ac_new_val"; then
2313	# differences in whitespace do not lead to failure.
2314	ac_old_val_w=`echo x $ac_old_val`
2315	ac_new_val_w=`echo x $ac_new_val`
2316	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2317	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2318$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2319	  ac_cache_corrupted=:
2320	else
2321	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2322$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2323	  eval $ac_var=\$ac_old_val
2324	fi
2325	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2326$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2327	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2328$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2329      fi;;
2330  esac
2331  # Pass precious variables to config.status.
2332  if test "$ac_new_set" = set; then
2333    case $ac_new_val in
2334    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2335    *) ac_arg=$ac_var=$ac_new_val ;;
2336    esac
2337    case " $ac_configure_args " in
2338      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2339      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2340    esac
2341  fi
2342done
2343if $ac_cache_corrupted; then
2344  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2345$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2346  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2347$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2348  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2349fi
2350## -------------------- ##
2351## Main body of script. ##
2352## -------------------- ##
2353
2354ac_ext=c
2355ac_cpp='$CPP $CPPFLAGS'
2356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2358ac_compiler_gnu=$ac_cv_c_compiler_gnu
2359
2360
2361
2362PPPD_DIR=ppp-2.4.1.pppoe2
2363
2364ac_config_headers="$ac_config_headers config.h"
2365
2366
2367
2368
2369ac_ext=c
2370ac_cpp='$CPP $CPPFLAGS'
2371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2373ac_compiler_gnu=$ac_cv_c_compiler_gnu
2374if test -n "$ac_tool_prefix"; then
2375  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2376set dummy ${ac_tool_prefix}gcc; ac_word=$2
2377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2378$as_echo_n "checking for $ac_word... " >&6; }
2379if ${ac_cv_prog_CC+:} false; then :
2380  $as_echo_n "(cached) " >&6
2381else
2382  if test -n "$CC"; then
2383  ac_cv_prog_CC="$CC" # Let the user override the test.
2384else
2385as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386for as_dir in $PATH
2387do
2388  IFS=$as_save_IFS
2389  test -z "$as_dir" && as_dir=.
2390    for ac_exec_ext in '' $ac_executable_extensions; do
2391  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2392    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2393    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2394    break 2
2395  fi
2396done
2397  done
2398IFS=$as_save_IFS
2399
2400fi
2401fi
2402CC=$ac_cv_prog_CC
2403if test -n "$CC"; then
2404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2405$as_echo "$CC" >&6; }
2406else
2407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2408$as_echo "no" >&6; }
2409fi
2410
2411
2412fi
2413if test -z "$ac_cv_prog_CC"; then
2414  ac_ct_CC=$CC
2415  # Extract the first word of "gcc", so it can be a program name with args.
2416set dummy gcc; ac_word=$2
2417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2418$as_echo_n "checking for $ac_word... " >&6; }
2419if ${ac_cv_prog_ac_ct_CC+:} false; then :
2420  $as_echo_n "(cached) " >&6
2421else
2422  if test -n "$ac_ct_CC"; then
2423  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2424else
2425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426for as_dir in $PATH
2427do
2428  IFS=$as_save_IFS
2429  test -z "$as_dir" && as_dir=.
2430    for ac_exec_ext in '' $ac_executable_extensions; do
2431  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432    ac_cv_prog_ac_ct_CC="gcc"
2433    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2434    break 2
2435  fi
2436done
2437  done
2438IFS=$as_save_IFS
2439
2440fi
2441fi
2442ac_ct_CC=$ac_cv_prog_ac_ct_CC
2443if test -n "$ac_ct_CC"; then
2444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2445$as_echo "$ac_ct_CC" >&6; }
2446else
2447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448$as_echo "no" >&6; }
2449fi
2450
2451  if test "x$ac_ct_CC" = x; then
2452    CC=""
2453  else
2454    case $cross_compiling:$ac_tool_warned in
2455yes:)
2456{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2457$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2458ac_tool_warned=yes ;;
2459esac
2460    CC=$ac_ct_CC
2461  fi
2462else
2463  CC="$ac_cv_prog_CC"
2464fi
2465
2466if test -z "$CC"; then
2467          if test -n "$ac_tool_prefix"; then
2468    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2469set dummy ${ac_tool_prefix}cc; ac_word=$2
2470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2471$as_echo_n "checking for $ac_word... " >&6; }
2472if ${ac_cv_prog_CC+:} false; then :
2473  $as_echo_n "(cached) " >&6
2474else
2475  if test -n "$CC"; then
2476  ac_cv_prog_CC="$CC" # Let the user override the test.
2477else
2478as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2479for as_dir in $PATH
2480do
2481  IFS=$as_save_IFS
2482  test -z "$as_dir" && as_dir=.
2483    for ac_exec_ext in '' $ac_executable_extensions; do
2484  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2485    ac_cv_prog_CC="${ac_tool_prefix}cc"
2486    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2487    break 2
2488  fi
2489done
2490  done
2491IFS=$as_save_IFS
2492
2493fi
2494fi
2495CC=$ac_cv_prog_CC
2496if test -n "$CC"; then
2497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2498$as_echo "$CC" >&6; }
2499else
2500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2501$as_echo "no" >&6; }
2502fi
2503
2504
2505  fi
2506fi
2507if test -z "$CC"; then
2508  # Extract the first word of "cc", so it can be a program name with args.
2509set dummy cc; ac_word=$2
2510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2511$as_echo_n "checking for $ac_word... " >&6; }
2512if ${ac_cv_prog_CC+:} false; then :
2513  $as_echo_n "(cached) " >&6
2514else
2515  if test -n "$CC"; then
2516  ac_cv_prog_CC="$CC" # Let the user override the test.
2517else
2518  ac_prog_rejected=no
2519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2520for as_dir in $PATH
2521do
2522  IFS=$as_save_IFS
2523  test -z "$as_dir" && as_dir=.
2524    for ac_exec_ext in '' $ac_executable_extensions; do
2525  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2526    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2527       ac_prog_rejected=yes
2528       continue
2529     fi
2530    ac_cv_prog_CC="cc"
2531    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2532    break 2
2533  fi
2534done
2535  done
2536IFS=$as_save_IFS
2537
2538if test $ac_prog_rejected = yes; then
2539  # We found a bogon in the path, so make sure we never use it.
2540  set dummy $ac_cv_prog_CC
2541  shift
2542  if test $# != 0; then
2543    # We chose a different compiler from the bogus one.
2544    # However, it has the same basename, so the bogon will be chosen
2545    # first if we set CC to just the basename; use the full file name.
2546    shift
2547    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2548  fi
2549fi
2550fi
2551fi
2552CC=$ac_cv_prog_CC
2553if test -n "$CC"; then
2554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2555$as_echo "$CC" >&6; }
2556else
2557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558$as_echo "no" >&6; }
2559fi
2560
2561
2562fi
2563if test -z "$CC"; then
2564  if test -n "$ac_tool_prefix"; then
2565  for ac_prog in cl.exe
2566  do
2567    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2568set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2570$as_echo_n "checking for $ac_word... " >&6; }
2571if ${ac_cv_prog_CC+:} false; then :
2572  $as_echo_n "(cached) " >&6
2573else
2574  if test -n "$CC"; then
2575  ac_cv_prog_CC="$CC" # Let the user override the test.
2576else
2577as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578for as_dir in $PATH
2579do
2580  IFS=$as_save_IFS
2581  test -z "$as_dir" && as_dir=.
2582    for ac_exec_ext in '' $ac_executable_extensions; do
2583  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2584    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2585    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586    break 2
2587  fi
2588done
2589  done
2590IFS=$as_save_IFS
2591
2592fi
2593fi
2594CC=$ac_cv_prog_CC
2595if test -n "$CC"; then
2596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2597$as_echo "$CC" >&6; }
2598else
2599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600$as_echo "no" >&6; }
2601fi
2602
2603
2604    test -n "$CC" && break
2605  done
2606fi
2607if test -z "$CC"; then
2608  ac_ct_CC=$CC
2609  for ac_prog in cl.exe
2610do
2611  # Extract the first word of "$ac_prog", so it can be a program name with args.
2612set dummy $ac_prog; ac_word=$2
2613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614$as_echo_n "checking for $ac_word... " >&6; }
2615if ${ac_cv_prog_ac_ct_CC+:} false; then :
2616  $as_echo_n "(cached) " >&6
2617else
2618  if test -n "$ac_ct_CC"; then
2619  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2620else
2621as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622for as_dir in $PATH
2623do
2624  IFS=$as_save_IFS
2625  test -z "$as_dir" && as_dir=.
2626    for ac_exec_ext in '' $ac_executable_extensions; do
2627  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2628    ac_cv_prog_ac_ct_CC="$ac_prog"
2629    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2630    break 2
2631  fi
2632done
2633  done
2634IFS=$as_save_IFS
2635
2636fi
2637fi
2638ac_ct_CC=$ac_cv_prog_ac_ct_CC
2639if test -n "$ac_ct_CC"; then
2640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2641$as_echo "$ac_ct_CC" >&6; }
2642else
2643  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644$as_echo "no" >&6; }
2645fi
2646
2647
2648  test -n "$ac_ct_CC" && break
2649done
2650
2651  if test "x$ac_ct_CC" = x; then
2652    CC=""
2653  else
2654    case $cross_compiling:$ac_tool_warned in
2655yes:)
2656{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2657$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2658ac_tool_warned=yes ;;
2659esac
2660    CC=$ac_ct_CC
2661  fi
2662fi
2663
2664fi
2665
2666
2667test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2668$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2669as_fn_error $? "no acceptable C compiler found in \$PATH
2670See \`config.log' for more details" "$LINENO" 5; }
2671
2672# Provide some information about the compiler.
2673$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2674set X $ac_compile
2675ac_compiler=$2
2676for ac_option in --version -v -V -qversion; do
2677  { { ac_try="$ac_compiler $ac_option >&5"
2678case "(($ac_try" in
2679  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2680  *) ac_try_echo=$ac_try;;
2681esac
2682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2683$as_echo "$ac_try_echo"; } >&5
2684  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2685  ac_status=$?
2686  if test -s conftest.err; then
2687    sed '10a\
2688... rest of stderr output deleted ...
2689         10q' conftest.err >conftest.er1
2690    cat conftest.er1 >&5
2691  fi
2692  rm -f conftest.er1 conftest.err
2693  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694  test $ac_status = 0; }
2695done
2696
2697cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698/* end confdefs.h.  */
2699
2700int
2701main ()
2702{
2703
2704  ;
2705  return 0;
2706}
2707_ACEOF
2708ac_clean_files_save=$ac_clean_files
2709ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2710# Try to create an executable without -o first, disregard a.out.
2711# It will help us diagnose broken compilers, and finding out an intuition
2712# of exeext.
2713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2714$as_echo_n "checking whether the C compiler works... " >&6; }
2715ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2716
2717# The possible output files:
2718ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2719
2720ac_rmfiles=
2721for ac_file in $ac_files
2722do
2723  case $ac_file in
2724    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2725    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2726  esac
2727done
2728rm -f $ac_rmfiles
2729
2730if { { ac_try="$ac_link_default"
2731case "(($ac_try" in
2732  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733  *) ac_try_echo=$ac_try;;
2734esac
2735eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2736$as_echo "$ac_try_echo"; } >&5
2737  (eval "$ac_link_default") 2>&5
2738  ac_status=$?
2739  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740  test $ac_status = 0; }; then :
2741  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2742# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2743# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2744# so that the user can short-circuit this test for compilers unknown to
2745# Autoconf.
2746for ac_file in $ac_files ''
2747do
2748  test -f "$ac_file" || continue
2749  case $ac_file in
2750    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2751	;;
2752    [ab].out )
2753	# We found the default executable, but exeext='' is most
2754	# certainly right.
2755	break;;
2756    *.* )
2757	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2758	then :; else
2759	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2760	fi
2761	# We set ac_cv_exeext here because the later test for it is not
2762	# safe: cross compilers may not add the suffix if given an `-o'
2763	# argument, so we may need to know it at that point already.
2764	# Even if this section looks crufty: it has the advantage of
2765	# actually working.
2766	break;;
2767    * )
2768	break;;
2769  esac
2770done
2771test "$ac_cv_exeext" = no && ac_cv_exeext=
2772
2773else
2774  ac_file=''
2775fi
2776if test -z "$ac_file"; then :
2777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2778$as_echo "no" >&6; }
2779$as_echo "$as_me: failed program was:" >&5
2780sed 's/^/| /' conftest.$ac_ext >&5
2781
2782{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2783$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2784as_fn_error 77 "C compiler cannot create executables
2785See \`config.log' for more details" "$LINENO" 5; }
2786else
2787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2788$as_echo "yes" >&6; }
2789fi
2790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2791$as_echo_n "checking for C compiler default output file name... " >&6; }
2792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2793$as_echo "$ac_file" >&6; }
2794ac_exeext=$ac_cv_exeext
2795
2796rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2797ac_clean_files=$ac_clean_files_save
2798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2799$as_echo_n "checking for suffix of executables... " >&6; }
2800if { { ac_try="$ac_link"
2801case "(($ac_try" in
2802  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2803  *) ac_try_echo=$ac_try;;
2804esac
2805eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2806$as_echo "$ac_try_echo"; } >&5
2807  (eval "$ac_link") 2>&5
2808  ac_status=$?
2809  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2810  test $ac_status = 0; }; then :
2811  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2812# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2813# work properly (i.e., refer to `conftest.exe'), while it won't with
2814# `rm'.
2815for ac_file in conftest.exe conftest conftest.*; do
2816  test -f "$ac_file" || continue
2817  case $ac_file in
2818    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2819    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2820	  break;;
2821    * ) break;;
2822  esac
2823done
2824else
2825  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2826$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2828See \`config.log' for more details" "$LINENO" 5; }
2829fi
2830rm -f conftest conftest$ac_cv_exeext
2831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2832$as_echo "$ac_cv_exeext" >&6; }
2833
2834rm -f conftest.$ac_ext
2835EXEEXT=$ac_cv_exeext
2836ac_exeext=$EXEEXT
2837cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838/* end confdefs.h.  */
2839#include <stdio.h>
2840int
2841main ()
2842{
2843FILE *f = fopen ("conftest.out", "w");
2844 return ferror (f) || fclose (f) != 0;
2845
2846  ;
2847  return 0;
2848}
2849_ACEOF
2850ac_clean_files="$ac_clean_files conftest.out"
2851# Check that the compiler produces executables we can run.  If not, either
2852# the compiler is broken, or we cross compile.
2853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2854$as_echo_n "checking whether we are cross compiling... " >&6; }
2855if test "$cross_compiling" != yes; then
2856  { { ac_try="$ac_link"
2857case "(($ac_try" in
2858  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2859  *) ac_try_echo=$ac_try;;
2860esac
2861eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2862$as_echo "$ac_try_echo"; } >&5
2863  (eval "$ac_link") 2>&5
2864  ac_status=$?
2865  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2866  test $ac_status = 0; }
2867  if { ac_try='./conftest$ac_cv_exeext'
2868  { { case "(($ac_try" in
2869  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870  *) ac_try_echo=$ac_try;;
2871esac
2872eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2873$as_echo "$ac_try_echo"; } >&5
2874  (eval "$ac_try") 2>&5
2875  ac_status=$?
2876  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2877  test $ac_status = 0; }; }; then
2878    cross_compiling=no
2879  else
2880    if test "$cross_compiling" = maybe; then
2881	cross_compiling=yes
2882    else
2883	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2884$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2885as_fn_error $? "cannot run C compiled programs.
2886If you meant to cross compile, use \`--host'.
2887See \`config.log' for more details" "$LINENO" 5; }
2888    fi
2889  fi
2890fi
2891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2892$as_echo "$cross_compiling" >&6; }
2893
2894rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2895ac_clean_files=$ac_clean_files_save
2896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2897$as_echo_n "checking for suffix of object files... " >&6; }
2898if ${ac_cv_objext+:} false; then :
2899  $as_echo_n "(cached) " >&6
2900else
2901  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902/* end confdefs.h.  */
2903
2904int
2905main ()
2906{
2907
2908  ;
2909  return 0;
2910}
2911_ACEOF
2912rm -f conftest.o conftest.obj
2913if { { ac_try="$ac_compile"
2914case "(($ac_try" in
2915  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916  *) ac_try_echo=$ac_try;;
2917esac
2918eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919$as_echo "$ac_try_echo"; } >&5
2920  (eval "$ac_compile") 2>&5
2921  ac_status=$?
2922  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2923  test $ac_status = 0; }; then :
2924  for ac_file in conftest.o conftest.obj conftest.*; do
2925  test -f "$ac_file" || continue;
2926  case $ac_file in
2927    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2928    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2929       break;;
2930  esac
2931done
2932else
2933  $as_echo "$as_me: failed program was:" >&5
2934sed 's/^/| /' conftest.$ac_ext >&5
2935
2936{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2937$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2938as_fn_error $? "cannot compute suffix of object files: cannot compile
2939See \`config.log' for more details" "$LINENO" 5; }
2940fi
2941rm -f conftest.$ac_cv_objext conftest.$ac_ext
2942fi
2943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2944$as_echo "$ac_cv_objext" >&6; }
2945OBJEXT=$ac_cv_objext
2946ac_objext=$OBJEXT
2947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2948$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2949if ${ac_cv_c_compiler_gnu+:} false; then :
2950  $as_echo_n "(cached) " >&6
2951else
2952  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2953/* end confdefs.h.  */
2954
2955int
2956main ()
2957{
2958#ifndef __GNUC__
2959       choke me
2960#endif
2961
2962  ;
2963  return 0;
2964}
2965_ACEOF
2966if ac_fn_c_try_compile "$LINENO"; then :
2967  ac_compiler_gnu=yes
2968else
2969  ac_compiler_gnu=no
2970fi
2971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972ac_cv_c_compiler_gnu=$ac_compiler_gnu
2973
2974fi
2975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2976$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2977if test $ac_compiler_gnu = yes; then
2978  GCC=yes
2979else
2980  GCC=
2981fi
2982ac_test_CFLAGS=${CFLAGS+set}
2983ac_save_CFLAGS=$CFLAGS
2984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2985$as_echo_n "checking whether $CC accepts -g... " >&6; }
2986if ${ac_cv_prog_cc_g+:} false; then :
2987  $as_echo_n "(cached) " >&6
2988else
2989  ac_save_c_werror_flag=$ac_c_werror_flag
2990   ac_c_werror_flag=yes
2991   ac_cv_prog_cc_g=no
2992   CFLAGS="-g"
2993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994/* end confdefs.h.  */
2995
2996int
2997main ()
2998{
2999
3000  ;
3001  return 0;
3002}
3003_ACEOF
3004if ac_fn_c_try_compile "$LINENO"; then :
3005  ac_cv_prog_cc_g=yes
3006else
3007  CFLAGS=""
3008      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009/* end confdefs.h.  */
3010
3011int
3012main ()
3013{
3014
3015  ;
3016  return 0;
3017}
3018_ACEOF
3019if ac_fn_c_try_compile "$LINENO"; then :
3020
3021else
3022  ac_c_werror_flag=$ac_save_c_werror_flag
3023	 CFLAGS="-g"
3024	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025/* end confdefs.h.  */
3026
3027int
3028main ()
3029{
3030
3031  ;
3032  return 0;
3033}
3034_ACEOF
3035if ac_fn_c_try_compile "$LINENO"; then :
3036  ac_cv_prog_cc_g=yes
3037fi
3038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3039fi
3040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041fi
3042rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043   ac_c_werror_flag=$ac_save_c_werror_flag
3044fi
3045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3046$as_echo "$ac_cv_prog_cc_g" >&6; }
3047if test "$ac_test_CFLAGS" = set; then
3048  CFLAGS=$ac_save_CFLAGS
3049elif test $ac_cv_prog_cc_g = yes; then
3050  if test "$GCC" = yes; then
3051    CFLAGS="-g -O2"
3052  else
3053    CFLAGS="-g"
3054  fi
3055else
3056  if test "$GCC" = yes; then
3057    CFLAGS="-O2"
3058  else
3059    CFLAGS=
3060  fi
3061fi
3062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3063$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3064if ${ac_cv_prog_cc_c89+:} false; then :
3065  $as_echo_n "(cached) " >&6
3066else
3067  ac_cv_prog_cc_c89=no
3068ac_save_CC=$CC
3069cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070/* end confdefs.h.  */
3071#include <stdarg.h>
3072#include <stdio.h>
3073struct stat;
3074/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3075struct buf { int x; };
3076FILE * (*rcsopen) (struct buf *, struct stat *, int);
3077static char *e (p, i)
3078     char **p;
3079     int i;
3080{
3081  return p[i];
3082}
3083static char *f (char * (*g) (char **, int), char **p, ...)
3084{
3085  char *s;
3086  va_list v;
3087  va_start (v,p);
3088  s = g (p, va_arg (v,int));
3089  va_end (v);
3090  return s;
3091}
3092
3093/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3094   function prototypes and stuff, but not '\xHH' hex character constants.
3095   These don't provoke an error unfortunately, instead are silently treated
3096   as 'x'.  The following induces an error, until -std is added to get
3097   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3098   array size at least.  It's necessary to write '\x00'==0 to get something
3099   that's true only with -std.  */
3100int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3101
3102/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3103   inside strings and character constants.  */
3104#define FOO(x) 'x'
3105int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3106
3107int test (int i, double x);
3108struct s1 {int (*f) (int a);};
3109struct s2 {int (*f) (double a);};
3110int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3111int argc;
3112char **argv;
3113int
3114main ()
3115{
3116return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3117  ;
3118  return 0;
3119}
3120_ACEOF
3121for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3122	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3123do
3124  CC="$ac_save_CC $ac_arg"
3125  if ac_fn_c_try_compile "$LINENO"; then :
3126  ac_cv_prog_cc_c89=$ac_arg
3127fi
3128rm -f core conftest.err conftest.$ac_objext
3129  test "x$ac_cv_prog_cc_c89" != "xno" && break
3130done
3131rm -f conftest.$ac_ext
3132CC=$ac_save_CC
3133
3134fi
3135# AC_CACHE_VAL
3136case "x$ac_cv_prog_cc_c89" in
3137  x)
3138    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3139$as_echo "none needed" >&6; } ;;
3140  xno)
3141    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3142$as_echo "unsupported" >&6; } ;;
3143  *)
3144    CC="$CC $ac_cv_prog_cc_c89"
3145    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3146$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3147esac
3148if test "x$ac_cv_prog_cc_c89" != xno; then :
3149
3150fi
3151
3152ac_ext=c
3153ac_cpp='$CPP $CPPFLAGS'
3154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3156ac_compiler_gnu=$ac_cv_c_compiler_gnu
3157
3158if test -n "$ac_tool_prefix"; then
3159  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3160set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162$as_echo_n "checking for $ac_word... " >&6; }
3163if ${ac_cv_prog_RANLIB+:} false; then :
3164  $as_echo_n "(cached) " >&6
3165else
3166  if test -n "$RANLIB"; then
3167  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3168else
3169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170for as_dir in $PATH
3171do
3172  IFS=$as_save_IFS
3173  test -z "$as_dir" && as_dir=.
3174    for ac_exec_ext in '' $ac_executable_extensions; do
3175  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3177    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178    break 2
3179  fi
3180done
3181  done
3182IFS=$as_save_IFS
3183
3184fi
3185fi
3186RANLIB=$ac_cv_prog_RANLIB
3187if test -n "$RANLIB"; then
3188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3189$as_echo "$RANLIB" >&6; }
3190else
3191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192$as_echo "no" >&6; }
3193fi
3194
3195
3196fi
3197if test -z "$ac_cv_prog_RANLIB"; then
3198  ac_ct_RANLIB=$RANLIB
3199  # Extract the first word of "ranlib", so it can be a program name with args.
3200set dummy ranlib; ac_word=$2
3201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202$as_echo_n "checking for $ac_word... " >&6; }
3203if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3204  $as_echo_n "(cached) " >&6
3205else
3206  if test -n "$ac_ct_RANLIB"; then
3207  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3208else
3209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210for as_dir in $PATH
3211do
3212  IFS=$as_save_IFS
3213  test -z "$as_dir" && as_dir=.
3214    for ac_exec_ext in '' $ac_executable_extensions; do
3215  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216    ac_cv_prog_ac_ct_RANLIB="ranlib"
3217    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218    break 2
3219  fi
3220done
3221  done
3222IFS=$as_save_IFS
3223
3224fi
3225fi
3226ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3227if test -n "$ac_ct_RANLIB"; then
3228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3229$as_echo "$ac_ct_RANLIB" >&6; }
3230else
3231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232$as_echo "no" >&6; }
3233fi
3234
3235  if test "x$ac_ct_RANLIB" = x; then
3236    RANLIB=":"
3237  else
3238    case $cross_compiling:$ac_tool_warned in
3239yes:)
3240{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3241$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3242ac_tool_warned=yes ;;
3243esac
3244    RANLIB=$ac_ct_RANLIB
3245  fi
3246else
3247  RANLIB="$ac_cv_prog_RANLIB"
3248fi
3249
3250
3251
3252
3253ac_ext=c
3254ac_cpp='$CPP $CPPFLAGS'
3255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257ac_compiler_gnu=$ac_cv_c_compiler_gnu
3258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3259$as_echo_n "checking how to run the C preprocessor... " >&6; }
3260# On Suns, sometimes $CPP names a directory.
3261if test -n "$CPP" && test -d "$CPP"; then
3262  CPP=
3263fi
3264if test -z "$CPP"; then
3265  if ${ac_cv_prog_CPP+:} false; then :
3266  $as_echo_n "(cached) " >&6
3267else
3268      # Double quotes because CPP needs to be expanded
3269    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3270    do
3271      ac_preproc_ok=false
3272for ac_c_preproc_warn_flag in '' yes
3273do
3274  # Use a header file that comes with gcc, so configuring glibc
3275  # with a fresh cross-compiler works.
3276  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3277  # <limits.h> exists even on freestanding compilers.
3278  # On the NeXT, cc -E runs the code through the compiler's parser,
3279  # not just through cpp. "Syntax error" is here to catch this case.
3280  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281/* end confdefs.h.  */
3282#ifdef __STDC__
3283# include <limits.h>
3284#else
3285# include <assert.h>
3286#endif
3287		     Syntax error
3288_ACEOF
3289if ac_fn_c_try_cpp "$LINENO"; then :
3290
3291else
3292  # Broken: fails on valid input.
3293continue
3294fi
3295rm -f conftest.err conftest.i conftest.$ac_ext
3296
3297  # OK, works on sane cases.  Now check whether nonexistent headers
3298  # can be detected and how.
3299  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300/* end confdefs.h.  */
3301#include <ac_nonexistent.h>
3302_ACEOF
3303if ac_fn_c_try_cpp "$LINENO"; then :
3304  # Broken: success on invalid input.
3305continue
3306else
3307  # Passes both tests.
3308ac_preproc_ok=:
3309break
3310fi
3311rm -f conftest.err conftest.i conftest.$ac_ext
3312
3313done
3314# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3315rm -f conftest.i conftest.err conftest.$ac_ext
3316if $ac_preproc_ok; then :
3317  break
3318fi
3319
3320    done
3321    ac_cv_prog_CPP=$CPP
3322
3323fi
3324  CPP=$ac_cv_prog_CPP
3325else
3326  ac_cv_prog_CPP=$CPP
3327fi
3328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3329$as_echo "$CPP" >&6; }
3330ac_preproc_ok=false
3331for ac_c_preproc_warn_flag in '' yes
3332do
3333  # Use a header file that comes with gcc, so configuring glibc
3334  # with a fresh cross-compiler works.
3335  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3336  # <limits.h> exists even on freestanding compilers.
3337  # On the NeXT, cc -E runs the code through the compiler's parser,
3338  # not just through cpp. "Syntax error" is here to catch this case.
3339  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340/* end confdefs.h.  */
3341#ifdef __STDC__
3342# include <limits.h>
3343#else
3344# include <assert.h>
3345#endif
3346		     Syntax error
3347_ACEOF
3348if ac_fn_c_try_cpp "$LINENO"; then :
3349
3350else
3351  # Broken: fails on valid input.
3352continue
3353fi
3354rm -f conftest.err conftest.i conftest.$ac_ext
3355
3356  # OK, works on sane cases.  Now check whether nonexistent headers
3357  # can be detected and how.
3358  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359/* end confdefs.h.  */
3360#include <ac_nonexistent.h>
3361_ACEOF
3362if ac_fn_c_try_cpp "$LINENO"; then :
3363  # Broken: success on invalid input.
3364continue
3365else
3366  # Passes both tests.
3367ac_preproc_ok=:
3368break
3369fi
3370rm -f conftest.err conftest.i conftest.$ac_ext
3371
3372done
3373# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3374rm -f conftest.i conftest.err conftest.$ac_ext
3375if $ac_preproc_ok; then :
3376
3377else
3378  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3379$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3380as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3381See \`config.log' for more details" "$LINENO" 5; }
3382fi
3383
3384ac_ext=c
3385ac_cpp='$CPP $CPPFLAGS'
3386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3388ac_compiler_gnu=$ac_cv_c_compiler_gnu
3389
3390
3391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3392$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3393if ${ac_cv_path_GREP+:} false; then :
3394  $as_echo_n "(cached) " >&6
3395else
3396  if test -z "$GREP"; then
3397  ac_path_GREP_found=false
3398  # Loop through the user's path and test for each of PROGNAME-LIST
3399  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3400for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3401do
3402  IFS=$as_save_IFS
3403  test -z "$as_dir" && as_dir=.
3404    for ac_prog in grep ggrep; do
3405    for ac_exec_ext in '' $ac_executable_extensions; do
3406      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3407      as_fn_executable_p "$ac_path_GREP" || continue
3408# Check for GNU ac_path_GREP and select it if it is found.
3409  # Check for GNU $ac_path_GREP
3410case `"$ac_path_GREP" --version 2>&1` in
3411*GNU*)
3412  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3413*)
3414  ac_count=0
3415  $as_echo_n 0123456789 >"conftest.in"
3416  while :
3417  do
3418    cat "conftest.in" "conftest.in" >"conftest.tmp"
3419    mv "conftest.tmp" "conftest.in"
3420    cp "conftest.in" "conftest.nl"
3421    $as_echo 'GREP' >> "conftest.nl"
3422    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3423    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3424    as_fn_arith $ac_count + 1 && ac_count=$as_val
3425    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3426      # Best one so far, save it but keep looking for a better one
3427      ac_cv_path_GREP="$ac_path_GREP"
3428      ac_path_GREP_max=$ac_count
3429    fi
3430    # 10*(2^10) chars as input seems more than enough
3431    test $ac_count -gt 10 && break
3432  done
3433  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3434esac
3435
3436      $ac_path_GREP_found && break 3
3437    done
3438  done
3439  done
3440IFS=$as_save_IFS
3441  if test -z "$ac_cv_path_GREP"; then
3442    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3443  fi
3444else
3445  ac_cv_path_GREP=$GREP
3446fi
3447
3448fi
3449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3450$as_echo "$ac_cv_path_GREP" >&6; }
3451 GREP="$ac_cv_path_GREP"
3452
3453
3454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3455$as_echo_n "checking for egrep... " >&6; }
3456if ${ac_cv_path_EGREP+:} false; then :
3457  $as_echo_n "(cached) " >&6
3458else
3459  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3460   then ac_cv_path_EGREP="$GREP -E"
3461   else
3462     if test -z "$EGREP"; then
3463  ac_path_EGREP_found=false
3464  # Loop through the user's path and test for each of PROGNAME-LIST
3465  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3467do
3468  IFS=$as_save_IFS
3469  test -z "$as_dir" && as_dir=.
3470    for ac_prog in egrep; do
3471    for ac_exec_ext in '' $ac_executable_extensions; do
3472      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3473      as_fn_executable_p "$ac_path_EGREP" || continue
3474# Check for GNU ac_path_EGREP and select it if it is found.
3475  # Check for GNU $ac_path_EGREP
3476case `"$ac_path_EGREP" --version 2>&1` in
3477*GNU*)
3478  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3479*)
3480  ac_count=0
3481  $as_echo_n 0123456789 >"conftest.in"
3482  while :
3483  do
3484    cat "conftest.in" "conftest.in" >"conftest.tmp"
3485    mv "conftest.tmp" "conftest.in"
3486    cp "conftest.in" "conftest.nl"
3487    $as_echo 'EGREP' >> "conftest.nl"
3488    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3489    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3490    as_fn_arith $ac_count + 1 && ac_count=$as_val
3491    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3492      # Best one so far, save it but keep looking for a better one
3493      ac_cv_path_EGREP="$ac_path_EGREP"
3494      ac_path_EGREP_max=$ac_count
3495    fi
3496    # 10*(2^10) chars as input seems more than enough
3497    test $ac_count -gt 10 && break
3498  done
3499  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3500esac
3501
3502      $ac_path_EGREP_found && break 3
3503    done
3504  done
3505  done
3506IFS=$as_save_IFS
3507  if test -z "$ac_cv_path_EGREP"; then
3508    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3509  fi
3510else
3511  ac_cv_path_EGREP=$EGREP
3512fi
3513
3514   fi
3515fi
3516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3517$as_echo "$ac_cv_path_EGREP" >&6; }
3518 EGREP="$ac_cv_path_EGREP"
3519
3520
3521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3522$as_echo_n "checking for ANSI C header files... " >&6; }
3523if ${ac_cv_header_stdc+:} false; then :
3524  $as_echo_n "(cached) " >&6
3525else
3526  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527/* end confdefs.h.  */
3528#include <stdlib.h>
3529#include <stdarg.h>
3530#include <string.h>
3531#include <float.h>
3532
3533int
3534main ()
3535{
3536
3537  ;
3538  return 0;
3539}
3540_ACEOF
3541if ac_fn_c_try_compile "$LINENO"; then :
3542  ac_cv_header_stdc=yes
3543else
3544  ac_cv_header_stdc=no
3545fi
3546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547
3548if test $ac_cv_header_stdc = yes; then
3549  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3550  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551/* end confdefs.h.  */
3552#include <string.h>
3553
3554_ACEOF
3555if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3556  $EGREP "memchr" >/dev/null 2>&1; then :
3557
3558else
3559  ac_cv_header_stdc=no
3560fi
3561rm -f conftest*
3562
3563fi
3564
3565if test $ac_cv_header_stdc = yes; then
3566  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3567  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568/* end confdefs.h.  */
3569#include <stdlib.h>
3570
3571_ACEOF
3572if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3573  $EGREP "free" >/dev/null 2>&1; then :
3574
3575else
3576  ac_cv_header_stdc=no
3577fi
3578rm -f conftest*
3579
3580fi
3581
3582if test $ac_cv_header_stdc = yes; then
3583  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3584  if test "$cross_compiling" = yes; then :
3585  :
3586else
3587  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588/* end confdefs.h.  */
3589#include <ctype.h>
3590#include <stdlib.h>
3591#if ((' ' & 0x0FF) == 0x020)
3592# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3593# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3594#else
3595# define ISLOWER(c) \
3596		   (('a' <= (c) && (c) <= 'i') \
3597		     || ('j' <= (c) && (c) <= 'r') \
3598		     || ('s' <= (c) && (c) <= 'z'))
3599# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3600#endif
3601
3602#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3603int
3604main ()
3605{
3606  int i;
3607  for (i = 0; i < 256; i++)
3608    if (XOR (islower (i), ISLOWER (i))
3609	|| toupper (i) != TOUPPER (i))
3610      return 2;
3611  return 0;
3612}
3613_ACEOF
3614if ac_fn_c_try_run "$LINENO"; then :
3615
3616else
3617  ac_cv_header_stdc=no
3618fi
3619rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3620  conftest.$ac_objext conftest.beam conftest.$ac_ext
3621fi
3622
3623fi
3624fi
3625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3626$as_echo "$ac_cv_header_stdc" >&6; }
3627if test $ac_cv_header_stdc = yes; then
3628
3629$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3630
3631fi
3632
3633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
3634$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
3635if ${ac_cv_header_sys_wait_h+:} false; then :
3636  $as_echo_n "(cached) " >&6
3637else
3638  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639/* end confdefs.h.  */
3640#include <sys/types.h>
3641#include <sys/wait.h>
3642#ifndef WEXITSTATUS
3643# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
3644#endif
3645#ifndef WIFEXITED
3646# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3647#endif
3648
3649int
3650main ()
3651{
3652  int s;
3653  wait (&s);
3654  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3655  ;
3656  return 0;
3657}
3658_ACEOF
3659if ac_fn_c_try_compile "$LINENO"; then :
3660  ac_cv_header_sys_wait_h=yes
3661else
3662  ac_cv_header_sys_wait_h=no
3663fi
3664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665fi
3666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
3667$as_echo "$ac_cv_header_sys_wait_h" >&6; }
3668if test $ac_cv_header_sys_wait_h = yes; then
3669
3670$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
3671
3672fi
3673
3674# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3675for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3676		  inttypes.h stdint.h unistd.h
3677do :
3678  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3679ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3680"
3681if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3682  cat >>confdefs.h <<_ACEOF
3683#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3684_ACEOF
3685
3686fi
3687
3688done
3689
3690
3691for ac_header in fcntl.h sys/dlpi.h sys/ioctl.h sys/time.h syslog.h unistd.h net/if_arp.h netinet/if_ether.h getopt.h sys/uio.h sys/param.h fcntl.h net/bpf.h netpacket/packet.h net/ethernet.h asm/types.h linux/if_packet.h linux/if_ether.h sys/socket.h net/if.h net/if_dl.h net/if_ether.h net/if_types.h netinet/if_ether.h net/if_types.h net/if_dl.h
3692do :
3693  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3694ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3695if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3696  cat >>confdefs.h <<_ACEOF
3697#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3698_ACEOF
3699
3700fi
3701
3702done
3703
3704for ac_header in linux/if.h
3705do :
3706  ac_fn_c_check_header_compile "$LINENO" "linux/if.h" "ac_cv_header_linux_if_h" "#include<sys/socket.h>
3707"
3708if test "x$ac_cv_header_linux_if_h" = xyes; then :
3709  cat >>confdefs.h <<_ACEOF
3710#define HAVE_LINUX_IF_H 1
3711_ACEOF
3712
3713fi
3714
3715done
3716
3717for ac_header in linux/if_pppox.h
3718do :
3719  ac_fn_c_check_header_compile "$LINENO" "linux/if_pppox.h" "ac_cv_header_linux_if_pppox_h" "
3720#include<sys/socket.h>
3721#include<net/ethernet.h>
3722#include<linux/if.h>
3723#include<linux/in.h>
3724
3725"
3726if test "x$ac_cv_header_linux_if_pppox_h" = xyes; then :
3727  cat >>confdefs.h <<_ACEOF
3728#define HAVE_LINUX_IF_PPPOX_H 1
3729_ACEOF
3730
3731fi
3732
3733done
3734
3735
3736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3737$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3738if ${ac_cv_c_const+:} false; then :
3739  $as_echo_n "(cached) " >&6
3740else
3741  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3742/* end confdefs.h.  */
3743
3744int
3745main ()
3746{
3747
3748#ifndef __cplusplus
3749  /* Ultrix mips cc rejects this sort of thing.  */
3750  typedef int charset[2];
3751  const charset cs = { 0, 0 };
3752  /* SunOS 4.1.1 cc rejects this.  */
3753  char const *const *pcpcc;
3754  char **ppc;
3755  /* NEC SVR4.0.2 mips cc rejects this.  */
3756  struct point {int x, y;};
3757  static struct point const zero = {0,0};
3758  /* AIX XL C 1.02.0.0 rejects this.
3759     It does not let you subtract one const X* pointer from another in
3760     an arm of an if-expression whose if-part is not a constant
3761     expression */
3762  const char *g = "string";
3763  pcpcc = &g + (g ? g-g : 0);
3764  /* HPUX 7.0 cc rejects these. */
3765  ++pcpcc;
3766  ppc = (char**) pcpcc;
3767  pcpcc = (char const *const *) ppc;
3768  { /* SCO 3.2v4 cc rejects this sort of thing.  */
3769    char tx;
3770    char *t = &tx;
3771    char const *s = 0 ? (char *) 0 : (char const *) 0;
3772
3773    *t++ = 0;
3774    if (s) return 0;
3775  }
3776  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3777    int x[] = {25, 17};
3778    const int *foo = &x[0];
3779    ++foo;
3780  }
3781  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3782    typedef const int *iptr;
3783    iptr p = 0;
3784    ++p;
3785  }
3786  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
3787       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3788    struct s { int j; const int *ap[3]; } bx;
3789    struct s *b = &bx; b->j = 5;
3790  }
3791  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3792    const int foo = 10;
3793    if (!foo) return 0;
3794  }
3795  return !cs[0] && !zero.x;
3796#endif
3797
3798  ;
3799  return 0;
3800}
3801_ACEOF
3802if ac_fn_c_try_compile "$LINENO"; then :
3803  ac_cv_c_const=yes
3804else
3805  ac_cv_c_const=no
3806fi
3807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808fi
3809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3810$as_echo "$ac_cv_c_const" >&6; }
3811if test $ac_cv_c_const = no; then
3812
3813$as_echo "#define const /**/" >>confdefs.h
3814
3815fi
3816
3817ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
3818if test "x$ac_cv_type_pid_t" = xyes; then :
3819
3820else
3821
3822cat >>confdefs.h <<_ACEOF
3823#define pid_t int
3824_ACEOF
3825
3826fi
3827
3828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
3829$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
3830if ${ac_cv_header_time+:} false; then :
3831  $as_echo_n "(cached) " >&6
3832else
3833  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834/* end confdefs.h.  */
3835#include <sys/types.h>
3836#include <sys/time.h>
3837#include <time.h>
3838
3839int
3840main ()
3841{
3842if ((struct tm *) 0)
3843return 0;
3844  ;
3845  return 0;
3846}
3847_ACEOF
3848if ac_fn_c_try_compile "$LINENO"; then :
3849  ac_cv_header_time=yes
3850else
3851  ac_cv_header_time=no
3852fi
3853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3854fi
3855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
3856$as_echo "$ac_cv_header_time" >&6; }
3857if test $ac_cv_header_time = yes; then
3858
3859$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
3860
3861fi
3862
3863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
3864$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
3865if ${ac_cv_struct_tm+:} false; then :
3866  $as_echo_n "(cached) " >&6
3867else
3868  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869/* end confdefs.h.  */
3870#include <sys/types.h>
3871#include <time.h>
3872
3873int
3874main ()
3875{
3876struct tm tm;
3877				     int *p = &tm.tm_sec;
3878				     return !p;
3879  ;
3880  return 0;
3881}
3882_ACEOF
3883if ac_fn_c_try_compile "$LINENO"; then :
3884  ac_cv_struct_tm=time.h
3885else
3886  ac_cv_struct_tm=sys/time.h
3887fi
3888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3889fi
3890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
3891$as_echo "$ac_cv_struct_tm" >&6; }
3892if test $ac_cv_struct_tm = sys/time.h; then
3893
3894$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
3895
3896fi
3897
3898
3899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_ll" >&5
3900$as_echo_n "checking for struct sockaddr_ll... " >&6; }
3901cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902/* end confdefs.h.  */
3903#include <asm/types.h>
3904#include <linux/if_packet.h>
3905#include <linux/if_ether.h>
3906
3907int
3908main ()
3909{
3910struct sockaddr_ll sa;
3911  ;
3912  return 0;
3913}
3914_ACEOF
3915if ac_fn_c_try_compile "$LINENO"; then :
3916  ac_cv_struct_sockaddr_ll=yes
3917else
3918  ac_cv_struct_sockaddr_ll=no
3919fi
3920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_ll" >&5
3922$as_echo "$ac_cv_struct_sockaddr_ll" >&6; }
3923
3924if test "$ac_cv_struct_sockaddr_ll" = yes ; then
3925$as_echo "#define HAVE_STRUCT_SOCKADDR_LL 1" >>confdefs.h
3926
3927fi
3928
3929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for N_HDLC line discipline" >&5
3930$as_echo_n "checking for N_HDLC line discipline... " >&6; }
3931cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932/* end confdefs.h.  */
3933
3934#include <pty.h>
3935
3936int
3937main ()
3938{
3939int x = N_HDLC;
3940  ;
3941  return 0;
3942}
3943_ACEOF
3944if ac_fn_c_try_compile "$LINENO"; then :
3945  ac_cv_n_hdlc=yes
3946else
3947  ac_cv_n_hdlc=no
3948fi
3949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_n_hdlc" >&5
3951$as_echo "$ac_cv_n_hdlc" >&6; }
3952if test "$ac_cv_n_hdlc" = yes ; then
3953$as_echo "#define HAVE_N_HDLC 1" >>confdefs.h
3954
3955fi
3956
3957# Check whether --enable-plugin was given.
3958if test "${enable_plugin+set}" = set; then :
3959  enableval=$enable_plugin; ac_cv_pluginpath=$enableval
3960else
3961  ac_cv_pluginpath=no
3962fi
3963
3964# Check whether --enable-debugging was given.
3965if test "${enable_debugging+set}" = set; then :
3966  enableval=$enable_debugging; ac_cv_debugging=$enableval
3967else
3968  ac_cv_debugging=yes
3969fi
3970
3971
3972if test "$ac_cv_pluginpath" = "yes" ; then
3973    for i in /usr/include /usr/local/include ; do
3974	if test -r $i/pppd/pppd.h; then
3975	    ac_cv_pluginpath=$i
3976	fi
3977    done
3978fi
3979
3980if test "$ac_cv_pluginpath" = "yes" ; then
3981    echo "*** Could not find pppd/pppd.h anywhere... not building plugin"
3982    ac_cv_pluginpath=no
3983fi
3984
3985# Check whether --enable-licenses was given.
3986if test "${enable_licenses+set}" = set; then :
3987  enableval=$enable_licenses; ac_cv_licpath=$enableval
3988else
3989  ac_cv_licpath=no
3990fi
3991
3992
3993LIC_INCDIR=""
3994LIC_LIBDIR=""
3995LIC_LIB=""
3996LIC_DEFINE=""
3997LIC_MAKEFILE_INCLUDE=""
3998PPPOE_SERVER_DEPS=""
3999if test "$ac_cv_licpath" != "no" ; then
4000	LIC_INCDIR="-I$ac_cv_licpath"
4001	LIC_LIBDIR="-L$ac_cv_licpath -Llicensed-only"
4002	if test -d "../../extra-libs" ; then
4003	    LIC_LIB="-L../../extra-libs -ltwofish -llicensed-only -ltcl -ldl"
4004	else
4005	    LIC_LIB="-ltwofish -llicensed-only -ltcl -ldl"
4006        fi
4007	PPPOE_SERVER_DEPS="licensed-only/liblicensed-only.a ../../SERVPOET-VERSION"
4008	LIC_DEFINE="-DHAVE_LICENSE=1 -DSERVPOET_VERSION='\"\$(SERVPOET_VERSION)\"'"
4009	LIC_MAKEFILE_INCLUDE="include ../../SERVPOET-VERSION"
4010fi
4011
4012LINUX_KERNELMODE_PLUGIN=""
4013PPPD_INCDIR=""
4014if test "$ac_cv_header_linux_if_pppox_h" = yes ; then
4015	if test "$ac_cv_pluginpath" != no ; then
4016		LINUX_KERNELMODE_PLUGIN=rp-pppoe.so
4017		$as_echo "#define HAVE_LINUX_KERNEL_PPPOE 1" >>confdefs.h
4018
4019		PPPD_INCDIR=$ac_cv_pluginpath
4020	fi
4021fi
4022
4023if test "$PPPD_INCDIR" = "" ; then
4024   PPPD_INCDIR=/usr/include
4025fi
4026
4027if test "$ac_cv_debugging" = "yes" ; then
4028   $as_echo "#define DEBUGGING_ENABLED 1" >>confdefs.h
4029
4030fi
4031
4032
4033
4034
4035
4036PPPOE_RELAY=""
4037if test "`uname -s`" = "Linux" ; then
4038	PPPOE_RELAY=pppoe-relay
4039fi
4040
4041
4042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
4043$as_echo_n "checking for working memcmp... " >&6; }
4044if ${ac_cv_func_memcmp_working+:} false; then :
4045  $as_echo_n "(cached) " >&6
4046else
4047  if test "$cross_compiling" = yes; then :
4048  ac_cv_func_memcmp_working=no
4049else
4050  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051/* end confdefs.h.  */
4052$ac_includes_default
4053int
4054main ()
4055{
4056
4057  /* Some versions of memcmp are not 8-bit clean.  */
4058  char c0 = '\100', c1 = '\200', c2 = '\201';
4059  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4060    return 1;
4061
4062  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4063     or more and with at least one buffer not starting on a 4-byte boundary.
4064     William Lewis provided this test program.   */
4065  {
4066    char foo[21];
4067    char bar[21];
4068    int i;
4069    for (i = 0; i < 4; i++)
4070      {
4071	char *a = foo + i;
4072	char *b = bar + i;
4073	strcpy (a, "--------01111111");
4074	strcpy (b, "--------10000000");
4075	if (memcmp (a, b, 16) >= 0)
4076	  return 1;
4077      }
4078    return 0;
4079  }
4080
4081  ;
4082  return 0;
4083}
4084_ACEOF
4085if ac_fn_c_try_run "$LINENO"; then :
4086  ac_cv_func_memcmp_working=yes
4087else
4088  ac_cv_func_memcmp_working=no
4089fi
4090rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4091  conftest.$ac_objext conftest.beam conftest.$ac_ext
4092fi
4093
4094fi
4095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
4096$as_echo "$ac_cv_func_memcmp_working" >&6; }
4097test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
4098  *" memcmp.$ac_objext "* ) ;;
4099  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
4100 ;;
4101esac
4102
4103
4104if ${ac_cv_func_setvbuf_reversed+:} false; then :
4105  $as_echo_n "(cached) " >&6
4106else
4107  ac_cv_func_setvbuf_reversed=no
4108fi
4109
4110
4111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4112$as_echo_n "checking return type of signal handlers... " >&6; }
4113if ${ac_cv_type_signal+:} false; then :
4114  $as_echo_n "(cached) " >&6
4115else
4116  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117/* end confdefs.h.  */
4118#include <sys/types.h>
4119#include <signal.h>
4120
4121int
4122main ()
4123{
4124return *(signal (0, 0)) (0) == 1;
4125  ;
4126  return 0;
4127}
4128_ACEOF
4129if ac_fn_c_try_compile "$LINENO"; then :
4130  ac_cv_type_signal=int
4131else
4132  ac_cv_type_signal=void
4133fi
4134rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4135fi
4136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4137$as_echo "$ac_cv_type_signal" >&6; }
4138
4139cat >>confdefs.h <<_ACEOF
4140#define RETSIGTYPE $ac_cv_type_signal
4141_ACEOF
4142
4143
4144for ac_func in select socket strerror strtol strlcpy
4145do :
4146  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4147ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4148if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4149  cat >>confdefs.h <<_ACEOF
4150#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4151_ACEOF
4152
4153fi
4154done
4155
4156ac_aux_dir=
4157for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4158  if test -f "$ac_dir/install-sh"; then
4159    ac_aux_dir=$ac_dir
4160    ac_install_sh="$ac_aux_dir/install-sh -c"
4161    break
4162  elif test -f "$ac_dir/install.sh"; then
4163    ac_aux_dir=$ac_dir
4164    ac_install_sh="$ac_aux_dir/install.sh -c"
4165    break
4166  elif test -f "$ac_dir/shtool"; then
4167    ac_aux_dir=$ac_dir
4168    ac_install_sh="$ac_aux_dir/shtool install -c"
4169    break
4170  fi
4171done
4172if test -z "$ac_aux_dir"; then
4173  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4174fi
4175
4176# These three variables are undocumented and unsupported,
4177# and are intended to be withdrawn in a future Autoconf release.
4178# They can cause serious problems if a builder's source tree is in a directory
4179# whose full name contains unusual characters.
4180ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
4181ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
4182ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
4183
4184
4185# Find a good install program.  We prefer a C program (faster),
4186# so one script is as good as another.  But avoid the broken or
4187# incompatible versions:
4188# SysV /etc/install, /usr/sbin/install
4189# SunOS /usr/etc/install
4190# IRIX /sbin/install
4191# AIX /bin/install
4192# AmigaOS /C/install, which installs bootblocks on floppy discs
4193# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4194# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4195# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4196# OS/2's system install, which has a completely different semantic
4197# ./install, which can be erroneously created by make from ./install.sh.
4198# Reject install programs that cannot install multiple files.
4199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4200$as_echo_n "checking for a BSD-compatible install... " >&6; }
4201if test -z "$INSTALL"; then
4202if ${ac_cv_path_install+:} false; then :
4203  $as_echo_n "(cached) " >&6
4204else
4205  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206for as_dir in $PATH
4207do
4208  IFS=$as_save_IFS
4209  test -z "$as_dir" && as_dir=.
4210    # Account for people who put trailing slashes in PATH elements.
4211case $as_dir/ in #((
4212  ./ | .// | /[cC]/* | \
4213  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4214  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4215  /usr/ucb/* ) ;;
4216  *)
4217    # OSF1 and SCO ODT 3.0 have their own names for install.
4218    # Don't use installbsd from OSF since it installs stuff as root
4219    # by default.
4220    for ac_prog in ginstall scoinst install; do
4221      for ac_exec_ext in '' $ac_executable_extensions; do
4222	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4223	  if test $ac_prog = install &&
4224	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4225	    # AIX install.  It has an incompatible calling convention.
4226	    :
4227	  elif test $ac_prog = install &&
4228	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4229	    # program-specific install script used by HP pwplus--don't use.
4230	    :
4231	  else
4232	    rm -rf conftest.one conftest.two conftest.dir
4233	    echo one > conftest.one
4234	    echo two > conftest.two
4235	    mkdir conftest.dir
4236	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4237	      test -s conftest.one && test -s conftest.two &&
4238	      test -s conftest.dir/conftest.one &&
4239	      test -s conftest.dir/conftest.two
4240	    then
4241	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4242	      break 3
4243	    fi
4244	  fi
4245	fi
4246      done
4247    done
4248    ;;
4249esac
4250
4251  done
4252IFS=$as_save_IFS
4253
4254rm -rf conftest.one conftest.two conftest.dir
4255
4256fi
4257  if test "${ac_cv_path_install+set}" = set; then
4258    INSTALL=$ac_cv_path_install
4259  else
4260    # As a last resort, use the slow shell script.  Don't cache a
4261    # value for INSTALL within a source directory, because that will
4262    # break other packages using the cache if that directory is
4263    # removed, or if the value is a relative name.
4264    INSTALL=$ac_install_sh
4265  fi
4266fi
4267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4268$as_echo "$INSTALL" >&6; }
4269
4270# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4271# It thinks the first close brace ends the variable substitution.
4272test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4273
4274test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4275
4276test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4277
4278
4279# The cast to long int works around a bug in the HP C Compiler
4280# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4281# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4282# This bug is HP SR number 8606223364.
4283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
4284$as_echo_n "checking size of unsigned short... " >&6; }
4285if ${ac_cv_sizeof_unsigned_short+:} false; then :
4286  $as_echo_n "(cached) " >&6
4287else
4288  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short"        "$ac_includes_default"; then :
4289
4290else
4291  if test "$ac_cv_type_unsigned_short" = yes; then
4292     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4293$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4294as_fn_error 77 "cannot compute sizeof (unsigned short)
4295See \`config.log' for more details" "$LINENO" 5; }
4296   else
4297     ac_cv_sizeof_unsigned_short=0
4298   fi
4299fi
4300
4301fi
4302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
4303$as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
4304
4305
4306
4307cat >>confdefs.h <<_ACEOF
4308#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
4309_ACEOF
4310
4311
4312# The cast to long int works around a bug in the HP C Compiler
4313# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4314# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4315# This bug is HP SR number 8606223364.
4316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
4317$as_echo_n "checking size of unsigned int... " >&6; }
4318if ${ac_cv_sizeof_unsigned_int+:} false; then :
4319  $as_echo_n "(cached) " >&6
4320else
4321  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int"        "$ac_includes_default"; then :
4322
4323else
4324  if test "$ac_cv_type_unsigned_int" = yes; then
4325     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4326$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4327as_fn_error 77 "cannot compute sizeof (unsigned int)
4328See \`config.log' for more details" "$LINENO" 5; }
4329   else
4330     ac_cv_sizeof_unsigned_int=0
4331   fi
4332fi
4333
4334fi
4335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
4336$as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
4337
4338
4339
4340cat >>confdefs.h <<_ACEOF
4341#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
4342_ACEOF
4343
4344
4345# The cast to long int works around a bug in the HP C Compiler
4346# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4347# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4348# This bug is HP SR number 8606223364.
4349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
4350$as_echo_n "checking size of unsigned long... " >&6; }
4351if ${ac_cv_sizeof_unsigned_long+:} false; then :
4352  $as_echo_n "(cached) " >&6
4353else
4354  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long"        "$ac_includes_default"; then :
4355
4356else
4357  if test "$ac_cv_type_unsigned_long" = yes; then
4358     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4359$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4360as_fn_error 77 "cannot compute sizeof (unsigned long)
4361See \`config.log' for more details" "$LINENO" 5; }
4362   else
4363     ac_cv_sizeof_unsigned_long=0
4364   fi
4365fi
4366
4367fi
4368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
4369$as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
4370
4371
4372
4373cat >>confdefs.h <<_ACEOF
4374#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
4375_ACEOF
4376
4377
4378
4379# Extract the first word of "ip", so it can be a program name with args.
4380set dummy ip; ac_word=$2
4381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4382$as_echo_n "checking for $ac_word... " >&6; }
4383if ${ac_cv_path_IP+:} false; then :
4384  $as_echo_n "(cached) " >&6
4385else
4386  case $IP in
4387  [\\/]* | ?:[\\/]*)
4388  ac_cv_path_IP="$IP" # Let the user override the test with a path.
4389  ;;
4390  *)
4391  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392as_dummy="$PATH:/bin:/sbin:/usr/bin:/usr/sbin"
4393for as_dir in $as_dummy
4394do
4395  IFS=$as_save_IFS
4396  test -z "$as_dir" && as_dir=.
4397    for ac_exec_ext in '' $ac_executable_extensions; do
4398  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4399    ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext"
4400    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4401    break 2
4402  fi
4403done
4404  done
4405IFS=$as_save_IFS
4406
4407  test -z "$ac_cv_path_IP" && ac_cv_path_IP="NOTFOUND"
4408  ;;
4409esac
4410fi
4411IP=$ac_cv_path_IP
4412if test -n "$IP"; then
4413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IP" >&5
4414$as_echo "$IP" >&6; }
4415else
4416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417$as_echo "no" >&6; }
4418fi
4419
4420
4421
4422# Extract the first word of "pppd", so it can be a program name with args.
4423set dummy pppd; ac_word=$2
4424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4425$as_echo_n "checking for $ac_word... " >&6; }
4426if ${ac_cv_path_PPPD+:} false; then :
4427  $as_echo_n "(cached) " >&6
4428else
4429  case $PPPD in
4430  [\\/]* | ?:[\\/]*)
4431  ac_cv_path_PPPD="$PPPD" # Let the user override the test with a path.
4432  ;;
4433  *)
4434  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435as_dummy="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4436for as_dir in $as_dummy
4437do
4438  IFS=$as_save_IFS
4439  test -z "$as_dir" && as_dir=.
4440    for ac_exec_ext in '' $ac_executable_extensions; do
4441  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442    ac_cv_path_PPPD="$as_dir/$ac_word$ac_exec_ext"
4443    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444    break 2
4445  fi
4446done
4447  done
4448IFS=$as_save_IFS
4449
4450  test -z "$ac_cv_path_PPPD" && ac_cv_path_PPPD="NOTFOUND"
4451  ;;
4452esac
4453fi
4454PPPD=$ac_cv_path_PPPD
4455if test -n "$PPPD"; then
4456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPPD" >&5
4457$as_echo "$PPPD" >&6; }
4458else
4459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4460$as_echo "no" >&6; }
4461fi
4462
4463
4464
4465# Extract the first word of "setsid", so it can be a program name with args.
4466set dummy setsid; ac_word=$2
4467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4468$as_echo_n "checking for $ac_word... " >&6; }
4469if ${ac_cv_path_SETSID+:} false; then :
4470  $as_echo_n "(cached) " >&6
4471else
4472  case $SETSID in
4473  [\\/]* | ?:[\\/]*)
4474  ac_cv_path_SETSID="$SETSID" # Let the user override the test with a path.
4475  ;;
4476  *)
4477  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478as_dummy="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4479for as_dir in $as_dummy
4480do
4481  IFS=$as_save_IFS
4482  test -z "$as_dir" && as_dir=.
4483    for ac_exec_ext in '' $ac_executable_extensions; do
4484  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4485    ac_cv_path_SETSID="$as_dir/$ac_word$ac_exec_ext"
4486    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4487    break 2
4488  fi
4489done
4490  done
4491IFS=$as_save_IFS
4492
4493  test -z "$ac_cv_path_SETSID" && ac_cv_path_SETSID=""""
4494  ;;
4495esac
4496fi
4497SETSID=$ac_cv_path_SETSID
4498if test -n "$SETSID"; then
4499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETSID" >&5
4500$as_echo "$SETSID" >&6; }
4501else
4502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503$as_echo "no" >&6; }
4504fi
4505
4506
4507
4508# Extract the first word of "id", so it can be a program name with args.
4509set dummy id; ac_word=$2
4510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4511$as_echo_n "checking for $ac_word... " >&6; }
4512if ${ac_cv_path_ID+:} false; then :
4513  $as_echo_n "(cached) " >&6
4514else
4515  case $ID in
4516  [\\/]* | ?:[\\/]*)
4517  ac_cv_path_ID="$ID" # Let the user override the test with a path.
4518  ;;
4519  *)
4520  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521as_dummy="/usr/xpg4/bin:$PATH"
4522for as_dir in $as_dummy
4523do
4524  IFS=$as_save_IFS
4525  test -z "$as_dir" && as_dir=.
4526    for ac_exec_ext in '' $ac_executable_extensions; do
4527  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4528    ac_cv_path_ID="$as_dir/$ac_word$ac_exec_ext"
4529    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4530    break 2
4531  fi
4532done
4533  done
4534IFS=$as_save_IFS
4535
4536  test -z "$ac_cv_path_ID" && ac_cv_path_ID=""""
4537  ;;
4538esac
4539fi
4540ID=$ac_cv_path_ID
4541if test -n "$ID"; then
4542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ID" >&5
4543$as_echo "$ID" >&6; }
4544else
4545  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4546$as_echo "no" >&6; }
4547fi
4548
4549
4550
4551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux 2.4.X kernel-mode PPPoE support" >&5
4552$as_echo_n "checking for Linux 2.4.X kernel-mode PPPoE support... " >&6; }
4553if ${ac_cv_linux_kernel_pppoe+:} false; then :
4554  $as_echo_n "(cached) " >&6
4555else
4556
4557if test "`uname -s`" = "Linux" ; then
4558if test $cross_compiling = "no"; then
4559
4560modprobe ppp_generic > /dev/null 2>&1
4561modprobe ppp_async > /dev/null 2>&1
4562modprobe n_hdlc > /dev/null 2>&1
4563modprobe ppp_synctty > /dev/null 2>&1
4564modprobe pppoe > /dev/null 2>&1
4565fi
4566if test "$cross_compiling" = yes; then :
4567  ac_cv_linux_kernel_pppoe=no; echo "cross-compiling, default: "
4568else
4569  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570/* end confdefs.h.  */
4571#include <sys/socket.h>
4572#include <netinet/in.h>
4573#include <linux/if_pppox.h>
4574int main()
4575{
4576	if (socket(AF_PPPOX, SOCK_DGRAM, PX_PROTO_OE) >= 0) return 0; else return 1;
4577}
4578
4579_ACEOF
4580if ac_fn_c_try_run "$LINENO"; then :
4581  ac_cv_linux_kernel_pppoe=yes
4582else
4583  ac_cv_linux_kernel_pppoe=no
4584fi
4585rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4586  conftest.$ac_objext conftest.beam conftest.$ac_ext
4587fi
4588
4589else
4590	ac_cv_linux_kernel_pppoe=no
4591fi
4592
4593fi
4594
4595
4596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_kernel_pppoe" >&5
4597$as_echo "$ac_cv_linux_kernel_pppoe" >&6; }
4598
4599if test "$ac_cv_linux_kernel_pppoe" != yes ; then
4600   if test "$LINUX_KERNELMODE_PLUGIN" = rp-pppoe.so; then
4601      echo "*** Your kernel does not appear to have built-in PPPoE support,"
4602      echo "*** but I will build the kernel-mode plugin anyway."
4603   fi
4604fi
4605
4606if test "$GCC" = yes; then
4607	CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Wstrict-prototypes"
4608fi
4609
4610if test "$PPPD" = "NOTFOUND"; then
4611        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Oops!  I couldn't find pppd, the PPP daemon anywhere." >&5
4612$as_echo "$as_me: WARNING: *** Oops!  I couldn't find pppd, the PPP daemon anywhere." >&2;}
4613	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** You must install pppd, version 2.3.10 or later." >&5
4614$as_echo "$as_me: WARNING: *** You must install pppd, version 2.3.10 or later." >&2;}
4615	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** I will keep going, but it may not work." >&5
4616$as_echo "$as_me: WARNING: *** I will keep going, but it may not work." >&2;}
4617	PPPD=pppd
4618fi
4619
4620
4621PPPD_VERSION=`$PPPD --version 2>&1 | awk ' /version/ {print $NF}'`
4622
4623case "$PPPD_VERSION" in
46241.*|2.0.*|2.1.*|2.2.*|2.3.0|2.3.1|2.3.2|2.3.3|2.3.4|2.3.5|2.3.6)
4625	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Oops! Your version of pppd is $PPPD_VERSION, which is too old." >&5
4626$as_echo "$as_me: WARNING: *** Oops! Your version of pppd is $PPPD_VERSION, which is too old." >&2;}
4627	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** You need at least 2.3.7 (2.3.10 or newer recommended." >&5
4628$as_echo "$as_me: WARNING: *** You need at least 2.3.7 (2.3.10 or newer recommended." >&2;}
4629	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** I will keep going, but it may not work." >&5
4630$as_echo "$as_me: WARNING: *** I will keep going, but it may not work." >&2;}
4631	;;
4632
46332.3.7|2.3.8|2.3.9)
4634	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Warning.  Your version of pppd is $PPPD_VERSION.  You will" >&5
4635$as_echo "$as_me: WARNING: *** Warning.  Your version of pppd is $PPPD_VERSION.  You will" >&2;}
4636	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** not be able to use connect-on-demand.  Upgrade to pppd" >&5
4637$as_echo "$as_me: WARNING: *** not be able to use connect-on-demand.  Upgrade to pppd" >&2;}
4638	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** 2.3.10 or newer if you need connect-on-demand." >&5
4639$as_echo "$as_me: WARNING: *** 2.3.10 or newer if you need connect-on-demand." >&2;}
4640	;;
4641
46422*|3*|4*|5*|6*|7*|8*|9*)
4643	;;
4644
4645*)
4646	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Oops.  I cannot figure out what version of pppd you have." >&5
4647$as_echo "$as_me: WARNING: *** Oops.  I cannot figure out what version of pppd you have." >&2;}
4648	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** All I got back was '$PPPD_VERSION'" >&5
4649$as_echo "$as_me: WARNING: *** All I got back was '$PPPD_VERSION'" >&2;}
4650	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** I will keep going, but it may not work." >&5
4651$as_echo "$as_me: WARNING: *** I will keep going, but it may not work." >&2;}
4652	;;
4653esac
4654
4655# Sigh... got to fix this up for tcl
4656test "x$prefix" = xNONE && prefix=$ac_default_prefix
4657# Let make expand exec_prefix.
4658test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4659
4660# Fully resolve WRAPPER for Tcl script.
4661WRAPPER=${sbindir}/pppoe-wrapper
4662eval "WRAPPER=${WRAPPER}"
4663eval "WRAPPER=${WRAPPER}"
4664
4665
4666# Determine what targets to build
4667TARGETS="pppoe pppoe-server pppoe-relay"
4668
4669# pppoe-sniff is built only on Linux and Solaris
4670if test "$ac_cv_header_linux_if_packet_h" = "yes" -o "$ac_cv_header_sys_dlpi_h" = "yes" ; then
4671	TARGETS="$TARGETS pppoe-sniff"
4672fi
4673
4674# pppoe-relay is built only on Linux
4675if test "$ac_cv_header_linux_if_packet_h" = "yes" ; then
4676	TARGETS="$TARGETS pppoe-relay"
4677fi
4678
4679# plugin is built only if we have kernel support
4680if test -n "$LINUX_KERNELMODE_PLUGIN" ; then
4681	TARGETS="$TARGETS $LINUX_KERNELMODE_PLUGIN"
4682	mkdir plugin > /dev/null 2>&1
4683fi
4684
4685EXTRACONFIGS=""
4686# Licensed stuff only for commercial distro (for now)
4687if test -n "$LIC_DEFINE" ; then
4688	TARGETS="licensed-only $TARGETS"
4689	EXTRACONFIGS="$EXTRACONFIGS licensed-only/Makefile"
4690fi
4691
4692RDYNAMIC=""
4693# L2TP is only in commercial distro (for now)
4694if test -n "$LIC_DEFINE" ; then
4695	TARGETS="l2tp $TARGETS"
4696	EXTRACONFIGS="$EXTRACONFIGS l2tp/Makefile l2tp/handlers/Makefile"
4697	LIC_DEFINE="$LIC_DEFINE -DHAVE_L2TP=1"
4698	LIC_LIB="$LIC_LIB -Ll2tp -ll2tp"
4699	PPPOE_SERVER_DEPS="$PPPOE_SERVER_DEPS l2tp/libl2tp.a"
4700	RDYNAMIC="-rdynamic"
4701fi
4702
4703LIBEVENT=../libevent
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715datadir_evaluated=`eval echo $datadir`
4716
4717
4718ac_config_files="$ac_config_files Makefile libevent/Makefile ../scripts/pppoe-connect ../scripts/pppoe-start ../scripts/pppoe-stop ../scripts/pppoe-init ../scripts/pppoe-init-suse ../scripts/pppoe-setup ../gui/Makefile ../gui/tkpppoe $EXTRACONFIGS"
4719
4720cat >confcache <<\_ACEOF
4721# This file is a shell script that caches the results of configure
4722# tests run on this system so they can be shared between configure
4723# scripts and configure runs, see configure's option --config-cache.
4724# It is not useful on other systems.  If it contains results you don't
4725# want to keep, you may remove or edit it.
4726#
4727# config.status only pays attention to the cache file if you give it
4728# the --recheck option to rerun configure.
4729#
4730# `ac_cv_env_foo' variables (set or unset) will be overridden when
4731# loading this file, other *unset* `ac_cv_foo' will be assigned the
4732# following values.
4733
4734_ACEOF
4735
4736# The following way of writing the cache mishandles newlines in values,
4737# but we know of no workaround that is simple, portable, and efficient.
4738# So, we kill variables containing newlines.
4739# Ultrix sh set writes to stderr and can't be redirected directly,
4740# and sets the high bit in the cache file unless we assign to the vars.
4741(
4742  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4743    eval ac_val=\$$ac_var
4744    case $ac_val in #(
4745    *${as_nl}*)
4746      case $ac_var in #(
4747      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4748$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4749      esac
4750      case $ac_var in #(
4751      _ | IFS | as_nl) ;; #(
4752      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4753      *) { eval $ac_var=; unset $ac_var;} ;;
4754      esac ;;
4755    esac
4756  done
4757
4758  (set) 2>&1 |
4759    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4760    *${as_nl}ac_space=\ *)
4761      # `set' does not quote correctly, so add quotes: double-quote
4762      # substitution turns \\\\ into \\, and sed turns \\ into \.
4763      sed -n \
4764	"s/'/'\\\\''/g;
4765	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4766      ;; #(
4767    *)
4768      # `set' quotes correctly as required by POSIX, so do not add quotes.
4769      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4770      ;;
4771    esac |
4772    sort
4773) |
4774  sed '
4775     /^ac_cv_env_/b end
4776     t clear
4777     :clear
4778     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4779     t end
4780     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4781     :end' >>confcache
4782if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4783  if test -w "$cache_file"; then
4784    if test "x$cache_file" != "x/dev/null"; then
4785      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4786$as_echo "$as_me: updating cache $cache_file" >&6;}
4787      if test ! -f "$cache_file" || test -h "$cache_file"; then
4788	cat confcache >"$cache_file"
4789      else
4790        case $cache_file in #(
4791        */* | ?:*)
4792	  mv -f confcache "$cache_file"$$ &&
4793	  mv -f "$cache_file"$$ "$cache_file" ;; #(
4794        *)
4795	  mv -f confcache "$cache_file" ;;
4796	esac
4797      fi
4798    fi
4799  else
4800    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4801$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4802  fi
4803fi
4804rm -f confcache
4805
4806test "x$prefix" = xNONE && prefix=$ac_default_prefix
4807# Let make expand exec_prefix.
4808test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4809
4810DEFS=-DHAVE_CONFIG_H
4811
4812ac_libobjs=
4813ac_ltlibobjs=
4814U=
4815for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4816  # 1. Remove the extension, and $U if already installed.
4817  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4818  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4819  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4820  #    will be set to the directory where LIBOBJS objects are built.
4821  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4822  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4823done
4824LIBOBJS=$ac_libobjs
4825
4826LTLIBOBJS=$ac_ltlibobjs
4827
4828
4829
4830: "${CONFIG_STATUS=./config.status}"
4831ac_write_fail=0
4832ac_clean_files_save=$ac_clean_files
4833ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4834{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4835$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4836as_write_fail=0
4837cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4838#! $SHELL
4839# Generated by $as_me.
4840# Run this file to recreate the current configuration.
4841# Compiler output produced by configure, useful for debugging
4842# configure, is in config.log if it exists.
4843
4844debug=false
4845ac_cs_recheck=false
4846ac_cs_silent=false
4847
4848SHELL=\${CONFIG_SHELL-$SHELL}
4849export SHELL
4850_ASEOF
4851cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4852## -------------------- ##
4853## M4sh Initialization. ##
4854## -------------------- ##
4855
4856# Be more Bourne compatible
4857DUALCASE=1; export DUALCASE # for MKS sh
4858if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4859  emulate sh
4860  NULLCMD=:
4861  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4862  # is contrary to our usage.  Disable this feature.
4863  alias -g '${1+"$@"}'='"$@"'
4864  setopt NO_GLOB_SUBST
4865else
4866  case `(set -o) 2>/dev/null` in #(
4867  *posix*) :
4868    set -o posix ;; #(
4869  *) :
4870     ;;
4871esac
4872fi
4873
4874
4875as_nl='
4876'
4877export as_nl
4878# Printing a long string crashes Solaris 7 /usr/bin/printf.
4879as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4880as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4881as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4882# Prefer a ksh shell builtin over an external printf program on Solaris,
4883# but without wasting forks for bash or zsh.
4884if test -z "$BASH_VERSION$ZSH_VERSION" \
4885    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4886  as_echo='print -r --'
4887  as_echo_n='print -rn --'
4888elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4889  as_echo='printf %s\n'
4890  as_echo_n='printf %s'
4891else
4892  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4893    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4894    as_echo_n='/usr/ucb/echo -n'
4895  else
4896    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4897    as_echo_n_body='eval
4898      arg=$1;
4899      case $arg in #(
4900      *"$as_nl"*)
4901	expr "X$arg" : "X\\(.*\\)$as_nl";
4902	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4903      esac;
4904      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4905    '
4906    export as_echo_n_body
4907    as_echo_n='sh -c $as_echo_n_body as_echo'
4908  fi
4909  export as_echo_body
4910  as_echo='sh -c $as_echo_body as_echo'
4911fi
4912
4913# The user is always right.
4914if test "${PATH_SEPARATOR+set}" != set; then
4915  PATH_SEPARATOR=:
4916  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4917    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4918      PATH_SEPARATOR=';'
4919  }
4920fi
4921
4922
4923# IFS
4924# We need space, tab and new line, in precisely that order.  Quoting is
4925# there to prevent editors from complaining about space-tab.
4926# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4927# splitting by setting IFS to empty value.)
4928IFS=" ""	$as_nl"
4929
4930# Find who we are.  Look in the path if we contain no directory separator.
4931as_myself=
4932case $0 in #((
4933  *[\\/]* ) as_myself=$0 ;;
4934  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935for as_dir in $PATH
4936do
4937  IFS=$as_save_IFS
4938  test -z "$as_dir" && as_dir=.
4939    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4940  done
4941IFS=$as_save_IFS
4942
4943     ;;
4944esac
4945# We did not find ourselves, most probably we were run as `sh COMMAND'
4946# in which case we are not to be found in the path.
4947if test "x$as_myself" = x; then
4948  as_myself=$0
4949fi
4950if test ! -f "$as_myself"; then
4951  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4952  exit 1
4953fi
4954
4955# Unset variables that we do not need and which cause bugs (e.g. in
4956# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4957# suppresses any "Segmentation fault" message there.  '((' could
4958# trigger a bug in pdksh 5.2.14.
4959for as_var in BASH_ENV ENV MAIL MAILPATH
4960do eval test x\${$as_var+set} = xset \
4961  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4962done
4963PS1='$ '
4964PS2='> '
4965PS4='+ '
4966
4967# NLS nuisances.
4968LC_ALL=C
4969export LC_ALL
4970LANGUAGE=C
4971export LANGUAGE
4972
4973# CDPATH.
4974(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4975
4976
4977# as_fn_error STATUS ERROR [LINENO LOG_FD]
4978# ----------------------------------------
4979# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4980# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4981# script with STATUS, using 1 if that was 0.
4982as_fn_error ()
4983{
4984  as_status=$1; test $as_status -eq 0 && as_status=1
4985  if test "$4"; then
4986    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4987    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4988  fi
4989  $as_echo "$as_me: error: $2" >&2
4990  as_fn_exit $as_status
4991} # as_fn_error
4992
4993
4994# as_fn_set_status STATUS
4995# -----------------------
4996# Set $? to STATUS, without forking.
4997as_fn_set_status ()
4998{
4999  return $1
5000} # as_fn_set_status
5001
5002# as_fn_exit STATUS
5003# -----------------
5004# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5005as_fn_exit ()
5006{
5007  set +e
5008  as_fn_set_status $1
5009  exit $1
5010} # as_fn_exit
5011
5012# as_fn_unset VAR
5013# ---------------
5014# Portably unset VAR.
5015as_fn_unset ()
5016{
5017  { eval $1=; unset $1;}
5018}
5019as_unset=as_fn_unset
5020# as_fn_append VAR VALUE
5021# ----------------------
5022# Append the text in VALUE to the end of the definition contained in VAR. Take
5023# advantage of any shell optimizations that allow amortized linear growth over
5024# repeated appends, instead of the typical quadratic growth present in naive
5025# implementations.
5026if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5027  eval 'as_fn_append ()
5028  {
5029    eval $1+=\$2
5030  }'
5031else
5032  as_fn_append ()
5033  {
5034    eval $1=\$$1\$2
5035  }
5036fi # as_fn_append
5037
5038# as_fn_arith ARG...
5039# ------------------
5040# Perform arithmetic evaluation on the ARGs, and store the result in the
5041# global $as_val. Take advantage of shells that can avoid forks. The arguments
5042# must be portable across $(()) and expr.
5043if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5044  eval 'as_fn_arith ()
5045  {
5046    as_val=$(( $* ))
5047  }'
5048else
5049  as_fn_arith ()
5050  {
5051    as_val=`expr "$@" || test $? -eq 1`
5052  }
5053fi # as_fn_arith
5054
5055
5056if expr a : '\(a\)' >/dev/null 2>&1 &&
5057   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5058  as_expr=expr
5059else
5060  as_expr=false
5061fi
5062
5063if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5064  as_basename=basename
5065else
5066  as_basename=false
5067fi
5068
5069if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5070  as_dirname=dirname
5071else
5072  as_dirname=false
5073fi
5074
5075as_me=`$as_basename -- "$0" ||
5076$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5077	 X"$0" : 'X\(//\)$' \| \
5078	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5079$as_echo X/"$0" |
5080    sed '/^.*\/\([^/][^/]*\)\/*$/{
5081	    s//\1/
5082	    q
5083	  }
5084	  /^X\/\(\/\/\)$/{
5085	    s//\1/
5086	    q
5087	  }
5088	  /^X\/\(\/\).*/{
5089	    s//\1/
5090	    q
5091	  }
5092	  s/.*/./; q'`
5093
5094# Avoid depending upon Character Ranges.
5095as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5096as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5097as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5098as_cr_digits='0123456789'
5099as_cr_alnum=$as_cr_Letters$as_cr_digits
5100
5101ECHO_C= ECHO_N= ECHO_T=
5102case `echo -n x` in #(((((
5103-n*)
5104  case `echo 'xy\c'` in
5105  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5106  xy)  ECHO_C='\c';;
5107  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5108       ECHO_T='	';;
5109  esac;;
5110*)
5111  ECHO_N='-n';;
5112esac
5113
5114rm -f conf$$ conf$$.exe conf$$.file
5115if test -d conf$$.dir; then
5116  rm -f conf$$.dir/conf$$.file
5117else
5118  rm -f conf$$.dir
5119  mkdir conf$$.dir 2>/dev/null
5120fi
5121if (echo >conf$$.file) 2>/dev/null; then
5122  if ln -s conf$$.file conf$$ 2>/dev/null; then
5123    as_ln_s='ln -s'
5124    # ... but there are two gotchas:
5125    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5126    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5127    # In both cases, we have to default to `cp -pR'.
5128    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5129      as_ln_s='cp -pR'
5130  elif ln conf$$.file conf$$ 2>/dev/null; then
5131    as_ln_s=ln
5132  else
5133    as_ln_s='cp -pR'
5134  fi
5135else
5136  as_ln_s='cp -pR'
5137fi
5138rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5139rmdir conf$$.dir 2>/dev/null
5140
5141
5142# as_fn_mkdir_p
5143# -------------
5144# Create "$as_dir" as a directory, including parents if necessary.
5145as_fn_mkdir_p ()
5146{
5147
5148  case $as_dir in #(
5149  -*) as_dir=./$as_dir;;
5150  esac
5151  test -d "$as_dir" || eval $as_mkdir_p || {
5152    as_dirs=
5153    while :; do
5154      case $as_dir in #(
5155      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5156      *) as_qdir=$as_dir;;
5157      esac
5158      as_dirs="'$as_qdir' $as_dirs"
5159      as_dir=`$as_dirname -- "$as_dir" ||
5160$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5161	 X"$as_dir" : 'X\(//\)[^/]' \| \
5162	 X"$as_dir" : 'X\(//\)$' \| \
5163	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5164$as_echo X"$as_dir" |
5165    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5166	    s//\1/
5167	    q
5168	  }
5169	  /^X\(\/\/\)[^/].*/{
5170	    s//\1/
5171	    q
5172	  }
5173	  /^X\(\/\/\)$/{
5174	    s//\1/
5175	    q
5176	  }
5177	  /^X\(\/\).*/{
5178	    s//\1/
5179	    q
5180	  }
5181	  s/.*/./; q'`
5182      test -d "$as_dir" && break
5183    done
5184    test -z "$as_dirs" || eval "mkdir $as_dirs"
5185  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5186
5187
5188} # as_fn_mkdir_p
5189if mkdir -p . 2>/dev/null; then
5190  as_mkdir_p='mkdir -p "$as_dir"'
5191else
5192  test -d ./-p && rmdir ./-p
5193  as_mkdir_p=false
5194fi
5195
5196
5197# as_fn_executable_p FILE
5198# -----------------------
5199# Test if FILE is an executable regular file.
5200as_fn_executable_p ()
5201{
5202  test -f "$1" && test -x "$1"
5203} # as_fn_executable_p
5204as_test_x='test -x'
5205as_executable_p=as_fn_executable_p
5206
5207# Sed expression to map a string onto a valid CPP name.
5208as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5209
5210# Sed expression to map a string onto a valid variable name.
5211as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5212
5213
5214exec 6>&1
5215## ----------------------------------- ##
5216## Main body of $CONFIG_STATUS script. ##
5217## ----------------------------------- ##
5218_ASEOF
5219test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5220
5221cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5222# Save the log message, to keep $0 and so on meaningful, and to
5223# report actual input values of CONFIG_FILES etc. instead of their
5224# values after options handling.
5225ac_log="
5226This file was extended by $as_me, which was
5227generated by GNU Autoconf 2.69.  Invocation command line was
5228
5229  CONFIG_FILES    = $CONFIG_FILES
5230  CONFIG_HEADERS  = $CONFIG_HEADERS
5231  CONFIG_LINKS    = $CONFIG_LINKS
5232  CONFIG_COMMANDS = $CONFIG_COMMANDS
5233  $ $0 $@
5234
5235on `(hostname || uname -n) 2>/dev/null | sed 1q`
5236"
5237
5238_ACEOF
5239
5240case $ac_config_files in *"
5241"*) set x $ac_config_files; shift; ac_config_files=$*;;
5242esac
5243
5244case $ac_config_headers in *"
5245"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5246esac
5247
5248
5249cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5250# Files that config.status was made for.
5251config_files="$ac_config_files"
5252config_headers="$ac_config_headers"
5253
5254_ACEOF
5255
5256cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5257ac_cs_usage="\
5258\`$as_me' instantiates files and other configuration actions
5259from templates according to the current configuration.  Unless the files
5260and actions are specified as TAGs, all are instantiated by default.
5261
5262Usage: $0 [OPTION]... [TAG]...
5263
5264  -h, --help       print this help, then exit
5265  -V, --version    print version number and configuration settings, then exit
5266      --config     print configuration, then exit
5267  -q, --quiet, --silent
5268                   do not print progress messages
5269  -d, --debug      don't remove temporary files
5270      --recheck    update $as_me by reconfiguring in the same conditions
5271      --file=FILE[:TEMPLATE]
5272                   instantiate the configuration file FILE
5273      --header=FILE[:TEMPLATE]
5274                   instantiate the configuration header FILE
5275
5276Configuration files:
5277$config_files
5278
5279Configuration headers:
5280$config_headers
5281
5282Report bugs to the package provider."
5283
5284_ACEOF
5285cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5286ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5287ac_cs_version="\\
5288config.status
5289configured by $0, generated by GNU Autoconf 2.69,
5290  with options \\"\$ac_cs_config\\"
5291
5292Copyright (C) 2012 Free Software Foundation, Inc.
5293This config.status script is free software; the Free Software Foundation
5294gives unlimited permission to copy, distribute and modify it."
5295
5296ac_pwd='$ac_pwd'
5297srcdir='$srcdir'
5298INSTALL='$INSTALL'
5299test -n "\$AWK" || AWK=awk
5300_ACEOF
5301
5302cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5303# The default lists apply if the user does not specify any file.
5304ac_need_defaults=:
5305while test $# != 0
5306do
5307  case $1 in
5308  --*=?*)
5309    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5310    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5311    ac_shift=:
5312    ;;
5313  --*=)
5314    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5315    ac_optarg=
5316    ac_shift=:
5317    ;;
5318  *)
5319    ac_option=$1
5320    ac_optarg=$2
5321    ac_shift=shift
5322    ;;
5323  esac
5324
5325  case $ac_option in
5326  # Handling of the options.
5327  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5328    ac_cs_recheck=: ;;
5329  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5330    $as_echo "$ac_cs_version"; exit ;;
5331  --config | --confi | --conf | --con | --co | --c )
5332    $as_echo "$ac_cs_config"; exit ;;
5333  --debug | --debu | --deb | --de | --d | -d )
5334    debug=: ;;
5335  --file | --fil | --fi | --f )
5336    $ac_shift
5337    case $ac_optarg in
5338    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5339    '') as_fn_error $? "missing file argument" ;;
5340    esac
5341    as_fn_append CONFIG_FILES " '$ac_optarg'"
5342    ac_need_defaults=false;;
5343  --header | --heade | --head | --hea )
5344    $ac_shift
5345    case $ac_optarg in
5346    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5347    esac
5348    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5349    ac_need_defaults=false;;
5350  --he | --h)
5351    # Conflict between --help and --header
5352    as_fn_error $? "ambiguous option: \`$1'
5353Try \`$0 --help' for more information.";;
5354  --help | --hel | -h )
5355    $as_echo "$ac_cs_usage"; exit ;;
5356  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5357  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5358    ac_cs_silent=: ;;
5359
5360  # This is an error.
5361  -*) as_fn_error $? "unrecognized option: \`$1'
5362Try \`$0 --help' for more information." ;;
5363
5364  *) as_fn_append ac_config_targets " $1"
5365     ac_need_defaults=false ;;
5366
5367  esac
5368  shift
5369done
5370
5371ac_configure_extra_args=
5372
5373if $ac_cs_silent; then
5374  exec 6>/dev/null
5375  ac_configure_extra_args="$ac_configure_extra_args --silent"
5376fi
5377
5378_ACEOF
5379cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5380if \$ac_cs_recheck; then
5381  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5382  shift
5383  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5384  CONFIG_SHELL='$SHELL'
5385  export CONFIG_SHELL
5386  exec "\$@"
5387fi
5388
5389_ACEOF
5390cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5391exec 5>>config.log
5392{
5393  echo
5394  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5395## Running $as_me. ##
5396_ASBOX
5397  $as_echo "$ac_log"
5398} >&5
5399
5400_ACEOF
5401cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5402_ACEOF
5403
5404cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5405
5406# Handling of arguments.
5407for ac_config_target in $ac_config_targets
5408do
5409  case $ac_config_target in
5410    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5411    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5412    "libevent/Makefile") CONFIG_FILES="$CONFIG_FILES libevent/Makefile" ;;
5413    "../scripts/pppoe-connect") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-connect" ;;
5414    "../scripts/pppoe-start") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-start" ;;
5415    "../scripts/pppoe-stop") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-stop" ;;
5416    "../scripts/pppoe-init") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-init" ;;
5417    "../scripts/pppoe-init-suse") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-init-suse" ;;
5418    "../scripts/pppoe-setup") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-setup" ;;
5419    "../gui/Makefile") CONFIG_FILES="$CONFIG_FILES ../gui/Makefile" ;;
5420    "../gui/tkpppoe") CONFIG_FILES="$CONFIG_FILES ../gui/tkpppoe" ;;
5421    "$EXTRACONFIGS") CONFIG_FILES="$CONFIG_FILES $EXTRACONFIGS" ;;
5422
5423  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5424  esac
5425done
5426
5427
5428# If the user did not use the arguments to specify the items to instantiate,
5429# then the envvar interface is used.  Set only those that are not.
5430# We use the long form for the default assignment because of an extremely
5431# bizarre bug on SunOS 4.1.3.
5432if $ac_need_defaults; then
5433  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5434  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5435fi
5436
5437# Have a temporary directory for convenience.  Make it in the build tree
5438# simply because there is no reason against having it here, and in addition,
5439# creating and moving files from /tmp can sometimes cause problems.
5440# Hook for its removal unless debugging.
5441# Note that there is a small window in which the directory will not be cleaned:
5442# after its creation but before its name has been assigned to `$tmp'.
5443$debug ||
5444{
5445  tmp= ac_tmp=
5446  trap 'exit_status=$?
5447  : "${ac_tmp:=$tmp}"
5448  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5449' 0
5450  trap 'as_fn_exit 1' 1 2 13 15
5451}
5452# Create a (secure) tmp directory for tmp files.
5453
5454{
5455  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5456  test -d "$tmp"
5457}  ||
5458{
5459  tmp=./conf$$-$RANDOM
5460  (umask 077 && mkdir "$tmp")
5461} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5462ac_tmp=$tmp
5463
5464# Set up the scripts for CONFIG_FILES section.
5465# No need to generate them if there are no CONFIG_FILES.
5466# This happens for instance with `./config.status config.h'.
5467if test -n "$CONFIG_FILES"; then
5468
5469
5470ac_cr=`echo X | tr X '\015'`
5471# On cygwin, bash can eat \r inside `` if the user requested igncr.
5472# But we know of no other shell where ac_cr would be empty at this
5473# point, so we can use a bashism as a fallback.
5474if test "x$ac_cr" = x; then
5475  eval ac_cr=\$\'\\r\'
5476fi
5477ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5478if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5479  ac_cs_awk_cr='\\r'
5480else
5481  ac_cs_awk_cr=$ac_cr
5482fi
5483
5484echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5485_ACEOF
5486
5487
5488{
5489  echo "cat >conf$$subs.awk <<_ACEOF" &&
5490  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5491  echo "_ACEOF"
5492} >conf$$subs.sh ||
5493  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5494ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5495ac_delim='%!_!# '
5496for ac_last_try in false false false false false :; do
5497  . ./conf$$subs.sh ||
5498    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5499
5500  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5501  if test $ac_delim_n = $ac_delim_num; then
5502    break
5503  elif $ac_last_try; then
5504    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5505  else
5506    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5507  fi
5508done
5509rm -f conf$$subs.sh
5510
5511cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5512cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5513_ACEOF
5514sed -n '
5515h
5516s/^/S["/; s/!.*/"]=/
5517p
5518g
5519s/^[^!]*!//
5520:repl
5521t repl
5522s/'"$ac_delim"'$//
5523t delim
5524:nl
5525h
5526s/\(.\{148\}\)..*/\1/
5527t more1
5528s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5529p
5530n
5531b repl
5532:more1
5533s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5534p
5535g
5536s/.\{148\}//
5537t nl
5538:delim
5539h
5540s/\(.\{148\}\)..*/\1/
5541t more2
5542s/["\\]/\\&/g; s/^/"/; s/$/"/
5543p
5544b
5545:more2
5546s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5547p
5548g
5549s/.\{148\}//
5550t delim
5551' <conf$$subs.awk | sed '
5552/^[^""]/{
5553  N
5554  s/\n//
5555}
5556' >>$CONFIG_STATUS || ac_write_fail=1
5557rm -f conf$$subs.awk
5558cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5559_ACAWK
5560cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5561  for (key in S) S_is_set[key] = 1
5562  FS = ""
5563
5564}
5565{
5566  line = $ 0
5567  nfields = split(line, field, "@")
5568  substed = 0
5569  len = length(field[1])
5570  for (i = 2; i < nfields; i++) {
5571    key = field[i]
5572    keylen = length(key)
5573    if (S_is_set[key]) {
5574      value = S[key]
5575      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5576      len += length(value) + length(field[++i])
5577      substed = 1
5578    } else
5579      len += 1 + keylen
5580  }
5581
5582  print line
5583}
5584
5585_ACAWK
5586_ACEOF
5587cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5588if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5589  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5590else
5591  cat
5592fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5593  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5594_ACEOF
5595
5596# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5597# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5598# trailing colons and then remove the whole line if VPATH becomes empty
5599# (actually we leave an empty line to preserve line numbers).
5600if test "x$srcdir" = x.; then
5601  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5602h
5603s///
5604s/^/:/
5605s/[	 ]*$/:/
5606s/:\$(srcdir):/:/g
5607s/:\${srcdir}:/:/g
5608s/:@srcdir@:/:/g
5609s/^:*//
5610s/:*$//
5611x
5612s/\(=[	 ]*\).*/\1/
5613G
5614s/\n//
5615s/^[^=]*=[	 ]*$//
5616}'
5617fi
5618
5619cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5620fi # test -n "$CONFIG_FILES"
5621
5622# Set up the scripts for CONFIG_HEADERS section.
5623# No need to generate them if there are no CONFIG_HEADERS.
5624# This happens for instance with `./config.status Makefile'.
5625if test -n "$CONFIG_HEADERS"; then
5626cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5627BEGIN {
5628_ACEOF
5629
5630# Transform confdefs.h into an awk script `defines.awk', embedded as
5631# here-document in config.status, that substitutes the proper values into
5632# config.h.in to produce config.h.
5633
5634# Create a delimiter string that does not exist in confdefs.h, to ease
5635# handling of long lines.
5636ac_delim='%!_!# '
5637for ac_last_try in false false :; do
5638  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5639  if test -z "$ac_tt"; then
5640    break
5641  elif $ac_last_try; then
5642    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5643  else
5644    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5645  fi
5646done
5647
5648# For the awk script, D is an array of macro values keyed by name,
5649# likewise P contains macro parameters if any.  Preserve backslash
5650# newline sequences.
5651
5652ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5653sed -n '
5654s/.\{148\}/&'"$ac_delim"'/g
5655t rset
5656:rset
5657s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
5658t def
5659d
5660:def
5661s/\\$//
5662t bsnl
5663s/["\\]/\\&/g
5664s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5665D["\1"]=" \3"/p
5666s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
5667d
5668:bsnl
5669s/["\\]/\\&/g
5670s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5671D["\1"]=" \3\\\\\\n"\\/p
5672t cont
5673s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5674t cont
5675d
5676:cont
5677n
5678s/.\{148\}/&'"$ac_delim"'/g
5679t clear
5680:clear
5681s/\\$//
5682t bsnlc
5683s/["\\]/\\&/g; s/^/"/; s/$/"/p
5684d
5685:bsnlc
5686s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5687b cont
5688' <confdefs.h | sed '
5689s/'"$ac_delim"'/"\\\
5690"/g' >>$CONFIG_STATUS || ac_write_fail=1
5691
5692cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5693  for (key in D) D_is_set[key] = 1
5694  FS = ""
5695}
5696/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5697  line = \$ 0
5698  split(line, arg, " ")
5699  if (arg[1] == "#") {
5700    defundef = arg[2]
5701    mac1 = arg[3]
5702  } else {
5703    defundef = substr(arg[1], 2)
5704    mac1 = arg[2]
5705  }
5706  split(mac1, mac2, "(") #)
5707  macro = mac2[1]
5708  prefix = substr(line, 1, index(line, defundef) - 1)
5709  if (D_is_set[macro]) {
5710    # Preserve the white space surrounding the "#".
5711    print prefix "define", macro P[macro] D[macro]
5712    next
5713  } else {
5714    # Replace #undef with comments.  This is necessary, for example,
5715    # in the case of _POSIX_SOURCE, which is predefined and required
5716    # on some systems where configure will not decide to define it.
5717    if (defundef == "undef") {
5718      print "/*", prefix defundef, macro, "*/"
5719      next
5720    }
5721  }
5722}
5723{ print }
5724_ACAWK
5725_ACEOF
5726cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5727  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5728fi # test -n "$CONFIG_HEADERS"
5729
5730
5731eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
5732shift
5733for ac_tag
5734do
5735  case $ac_tag in
5736  :[FHLC]) ac_mode=$ac_tag; continue;;
5737  esac
5738  case $ac_mode$ac_tag in
5739  :[FHL]*:*);;
5740  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5741  :[FH]-) ac_tag=-:-;;
5742  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5743  esac
5744  ac_save_IFS=$IFS
5745  IFS=:
5746  set x $ac_tag
5747  IFS=$ac_save_IFS
5748  shift
5749  ac_file=$1
5750  shift
5751
5752  case $ac_mode in
5753  :L) ac_source=$1;;
5754  :[FH])
5755    ac_file_inputs=
5756    for ac_f
5757    do
5758      case $ac_f in
5759      -) ac_f="$ac_tmp/stdin";;
5760      *) # Look for the file first in the build tree, then in the source tree
5761	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5762	 # because $ac_f cannot contain `:'.
5763	 test -f "$ac_f" ||
5764	   case $ac_f in
5765	   [\\/$]*) false;;
5766	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5767	   esac ||
5768	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5769      esac
5770      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5771      as_fn_append ac_file_inputs " '$ac_f'"
5772    done
5773
5774    # Let's still pretend it is `configure' which instantiates (i.e., don't
5775    # use $as_me), people would be surprised to read:
5776    #    /* config.h.  Generated by config.status.  */
5777    configure_input='Generated from '`
5778	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5779	`' by configure.'
5780    if test x"$ac_file" != x-; then
5781      configure_input="$ac_file.  $configure_input"
5782      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5783$as_echo "$as_me: creating $ac_file" >&6;}
5784    fi
5785    # Neutralize special characters interpreted by sed in replacement strings.
5786    case $configure_input in #(
5787    *\&* | *\|* | *\\* )
5788       ac_sed_conf_input=`$as_echo "$configure_input" |
5789       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5790    *) ac_sed_conf_input=$configure_input;;
5791    esac
5792
5793    case $ac_tag in
5794    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5795      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5796    esac
5797    ;;
5798  esac
5799
5800  ac_dir=`$as_dirname -- "$ac_file" ||
5801$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5802	 X"$ac_file" : 'X\(//\)[^/]' \| \
5803	 X"$ac_file" : 'X\(//\)$' \| \
5804	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5805$as_echo X"$ac_file" |
5806    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5807	    s//\1/
5808	    q
5809	  }
5810	  /^X\(\/\/\)[^/].*/{
5811	    s//\1/
5812	    q
5813	  }
5814	  /^X\(\/\/\)$/{
5815	    s//\1/
5816	    q
5817	  }
5818	  /^X\(\/\).*/{
5819	    s//\1/
5820	    q
5821	  }
5822	  s/.*/./; q'`
5823  as_dir="$ac_dir"; as_fn_mkdir_p
5824  ac_builddir=.
5825
5826case "$ac_dir" in
5827.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5828*)
5829  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5830  # A ".." for each directory in $ac_dir_suffix.
5831  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5832  case $ac_top_builddir_sub in
5833  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5834  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5835  esac ;;
5836esac
5837ac_abs_top_builddir=$ac_pwd
5838ac_abs_builddir=$ac_pwd$ac_dir_suffix
5839# for backward compatibility:
5840ac_top_builddir=$ac_top_build_prefix
5841
5842case $srcdir in
5843  .)  # We are building in place.
5844    ac_srcdir=.
5845    ac_top_srcdir=$ac_top_builddir_sub
5846    ac_abs_top_srcdir=$ac_pwd ;;
5847  [\\/]* | ?:[\\/]* )  # Absolute name.
5848    ac_srcdir=$srcdir$ac_dir_suffix;
5849    ac_top_srcdir=$srcdir
5850    ac_abs_top_srcdir=$srcdir ;;
5851  *) # Relative name.
5852    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5853    ac_top_srcdir=$ac_top_build_prefix$srcdir
5854    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5855esac
5856ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5857
5858
5859  case $ac_mode in
5860  :F)
5861  #
5862  # CONFIG_FILE
5863  #
5864
5865  case $INSTALL in
5866  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5867  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5868  esac
5869_ACEOF
5870
5871cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5872# If the template does not know about datarootdir, expand it.
5873# FIXME: This hack should be removed a few years after 2.60.
5874ac_datarootdir_hack=; ac_datarootdir_seen=
5875ac_sed_dataroot='
5876/datarootdir/ {
5877  p
5878  q
5879}
5880/@datadir@/p
5881/@docdir@/p
5882/@infodir@/p
5883/@localedir@/p
5884/@mandir@/p'
5885case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5886*datarootdir*) ac_datarootdir_seen=yes;;
5887*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5888  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5889$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5890_ACEOF
5891cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5892  ac_datarootdir_hack='
5893  s&@datadir@&$datadir&g
5894  s&@docdir@&$docdir&g
5895  s&@infodir@&$infodir&g
5896  s&@localedir@&$localedir&g
5897  s&@mandir@&$mandir&g
5898  s&\\\${datarootdir}&$datarootdir&g' ;;
5899esac
5900_ACEOF
5901
5902# Neutralize VPATH when `$srcdir' = `.'.
5903# Shell code in configure.ac might set extrasub.
5904# FIXME: do we really want to maintain this feature?
5905cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5906ac_sed_extra="$ac_vpsub
5907$extrasub
5908_ACEOF
5909cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5910:t
5911/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5912s|@configure_input@|$ac_sed_conf_input|;t t
5913s&@top_builddir@&$ac_top_builddir_sub&;t t
5914s&@top_build_prefix@&$ac_top_build_prefix&;t t
5915s&@srcdir@&$ac_srcdir&;t t
5916s&@abs_srcdir@&$ac_abs_srcdir&;t t
5917s&@top_srcdir@&$ac_top_srcdir&;t t
5918s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5919s&@builddir@&$ac_builddir&;t t
5920s&@abs_builddir@&$ac_abs_builddir&;t t
5921s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5922s&@INSTALL@&$ac_INSTALL&;t t
5923$ac_datarootdir_hack
5924"
5925eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5926  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5927
5928test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5929  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5930  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
5931      "$ac_tmp/out"`; test -z "$ac_out"; } &&
5932  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5933which seems to be undefined.  Please make sure it is defined" >&5
5934$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5935which seems to be undefined.  Please make sure it is defined" >&2;}
5936
5937  rm -f "$ac_tmp/stdin"
5938  case $ac_file in
5939  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5940  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5941  esac \
5942  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5943 ;;
5944  :H)
5945  #
5946  # CONFIG_HEADER
5947  #
5948  if test x"$ac_file" != x-; then
5949    {
5950      $as_echo "/* $configure_input  */" \
5951      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5952    } >"$ac_tmp/config.h" \
5953      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5954    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5955      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5956$as_echo "$as_me: $ac_file is unchanged" >&6;}
5957    else
5958      rm -f "$ac_file"
5959      mv "$ac_tmp/config.h" "$ac_file" \
5960	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
5961    fi
5962  else
5963    $as_echo "/* $configure_input  */" \
5964      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5965      || as_fn_error $? "could not create -" "$LINENO" 5
5966  fi
5967 ;;
5968
5969
5970  esac
5971
5972done # for ac_tag
5973
5974
5975as_fn_exit 0
5976_ACEOF
5977ac_clean_files=$ac_clean_files_save
5978
5979test $ac_write_fail = 0 ||
5980  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5981
5982
5983# configure is writing to config.log, and then calls config.status.
5984# config.status does its own redirection, appending to config.log.
5985# Unfortunately, on DOS this fails, as config.log is still kept open
5986# by configure, so config.status won't be able to write to it; its
5987# output is simply discarded.  So we exec the FD to /dev/null,
5988# effectively closing config.log, so it can be properly (re)opened and
5989# appended to by config.status.  When coming back to configure, we
5990# need to make the FD available again.
5991if test "$no_create" != yes; then
5992  ac_cs_success=:
5993  ac_config_status_args=
5994  test "$silent" = yes &&
5995    ac_config_status_args="$ac_config_status_args --quiet"
5996  exec 5>/dev/null
5997  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5998  exec 5>>config.log
5999  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6000  # would make configure fail if this is the last instruction.
6001  $ac_cs_success || as_fn_exit 1
6002fi
6003if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6004  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6005$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6006fi
6007
6008
6009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: On this platform, the following targets will be built:" >&5
6010$as_echo "On this platform, the following targets will be built:" >&6; }
6011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGETS" >&5
6012$as_echo "$TARGETS" >&6; }
6013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Type 'make' to compile the software." >&5
6014$as_echo "Type 'make' to compile the software." >&6; }
6015