Clean and tiddy-up files.
[tomato.git] / release / src / router / rp-pppoe / src / config.status
blobb87c451c81110c4b3d4b705020056d1ea0737348
1 #! /bin/sh
2 # Generated by configure.
3 # Run this file to recreate the current configuration.
4 # Compiler output produced by configure, useful for debugging
5 # configure, is in config.log if it exists.
7 debug=false
8 ac_cs_recheck=false
9 ac_cs_silent=false
11 SHELL=${CONFIG_SHELL-/bin/sh}
12 export SHELL
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # as_fn_error STATUS ERROR [LINENO LOG_FD]
138 # ----------------------------------------
139 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
140 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
141 # script with STATUS, using 1 if that was 0.
142 as_fn_error ()
144 as_status=$1; test $as_status -eq 0 && as_status=1
145 if test "$4"; then
146 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
147 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
149 $as_echo "$as_me: error: $2" >&2
150 as_fn_exit $as_status
151 } # as_fn_error
154 # as_fn_set_status STATUS
155 # -----------------------
156 # Set $? to STATUS, without forking.
157 as_fn_set_status ()
159 return $1
160 } # as_fn_set_status
162 # as_fn_exit STATUS
163 # -----------------
164 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
165 as_fn_exit ()
167 set +e
168 as_fn_set_status $1
169 exit $1
170 } # as_fn_exit
172 # as_fn_unset VAR
173 # ---------------
174 # Portably unset VAR.
175 as_fn_unset ()
177 { eval $1=; unset $1;}
179 as_unset=as_fn_unset
180 # as_fn_append VAR VALUE
181 # ----------------------
182 # Append the text in VALUE to the end of the definition contained in VAR. Take
183 # advantage of any shell optimizations that allow amortized linear growth over
184 # repeated appends, instead of the typical quadratic growth present in naive
185 # implementations.
186 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
187 eval 'as_fn_append ()
189 eval $1+=\$2
191 else
192 as_fn_append ()
194 eval $1=\$$1\$2
196 fi # as_fn_append
198 # as_fn_arith ARG...
199 # ------------------
200 # Perform arithmetic evaluation on the ARGs, and store the result in the
201 # global $as_val. Take advantage of shells that can avoid forks. The arguments
202 # must be portable across $(()) and expr.
203 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
204 eval 'as_fn_arith ()
206 as_val=$(( $* ))
208 else
209 as_fn_arith ()
211 as_val=`expr "$@" || test $? -eq 1`
213 fi # as_fn_arith
216 if expr a : '\(a\)' >/dev/null 2>&1 &&
217 test "X`expr 00001 : '.*\(...\)'`" = X001; then
218 as_expr=expr
219 else
220 as_expr=false
223 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
224 as_basename=basename
225 else
226 as_basename=false
229 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
230 as_dirname=dirname
231 else
232 as_dirname=false
235 as_me=`$as_basename -- "$0" ||
236 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
237 X"$0" : 'X\(//\)$' \| \
238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
239 $as_echo X/"$0" |
240 sed '/^.*\/\([^/][^/]*\)\/*$/{
241 s//\1/
244 /^X\/\(\/\/\)$/{
245 s//\1/
248 /^X\/\(\/\).*/{
249 s//\1/
252 s/.*/./; q'`
254 # Avoid depending upon Character Ranges.
255 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
256 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
257 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
258 as_cr_digits='0123456789'
259 as_cr_alnum=$as_cr_Letters$as_cr_digits
261 ECHO_C= ECHO_N= ECHO_T=
262 case `echo -n x` in #(((((
263 -n*)
264 case `echo 'xy\c'` in
265 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
266 xy) ECHO_C='\c';;
267 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
268 ECHO_T=' ';;
269 esac;;
271 ECHO_N='-n';;
272 esac
274 rm -f conf$$ conf$$.exe conf$$.file
275 if test -d conf$$.dir; then
276 rm -f conf$$.dir/conf$$.file
277 else
278 rm -f conf$$.dir
279 mkdir conf$$.dir 2>/dev/null
281 if (echo >conf$$.file) 2>/dev/null; then
282 if ln -s conf$$.file conf$$ 2>/dev/null; then
283 as_ln_s='ln -s'
284 # ... but there are two gotchas:
285 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
286 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
287 # In both cases, we have to default to `cp -p'.
288 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
289 as_ln_s='cp -p'
290 elif ln conf$$.file conf$$ 2>/dev/null; then
291 as_ln_s=ln
292 else
293 as_ln_s='cp -p'
295 else
296 as_ln_s='cp -p'
298 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
299 rmdir conf$$.dir 2>/dev/null
302 # as_fn_mkdir_p
303 # -------------
304 # Create "$as_dir" as a directory, including parents if necessary.
305 as_fn_mkdir_p ()
308 case $as_dir in #(
309 -*) as_dir=./$as_dir;;
310 esac
311 test -d "$as_dir" || eval $as_mkdir_p || {
312 as_dirs=
313 while :; do
314 case $as_dir in #(
315 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
316 *) as_qdir=$as_dir;;
317 esac
318 as_dirs="'$as_qdir' $as_dirs"
319 as_dir=`$as_dirname -- "$as_dir" ||
320 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
321 X"$as_dir" : 'X\(//\)[^/]' \| \
322 X"$as_dir" : 'X\(//\)$' \| \
323 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
324 $as_echo X"$as_dir" |
325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
326 s//\1/
329 /^X\(\/\/\)[^/].*/{
330 s//\1/
333 /^X\(\/\/\)$/{
334 s//\1/
337 /^X\(\/\).*/{
338 s//\1/
341 s/.*/./; q'`
342 test -d "$as_dir" && break
343 done
344 test -z "$as_dirs" || eval "mkdir $as_dirs"
345 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
348 } # as_fn_mkdir_p
349 if mkdir -p . 2>/dev/null; then
350 as_mkdir_p='mkdir -p "$as_dir"'
351 else
352 test -d ./-p && rmdir ./-p
353 as_mkdir_p=false
356 if test -x / >/dev/null 2>&1; then
357 as_test_x='test -x'
358 else
359 if ls -dL / >/dev/null 2>&1; then
360 as_ls_L_option=L
361 else
362 as_ls_L_option=
364 as_test_x='
365 eval sh -c '\''
366 if test -d "$1"; then
367 test -d "$1/.";
368 else
369 case $1 in #(
370 -*)set "./$1";;
371 esac;
372 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
373 ???[sx]*):;;*)false;;esac;fi
374 '\'' sh
377 as_executable_p=$as_test_x
379 # Sed expression to map a string onto a valid CPP name.
380 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
382 # Sed expression to map a string onto a valid variable name.
383 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
386 exec 6>&1
387 ## ----------------------------------- ##
388 ## Main body of $CONFIG_STATUS script. ##
389 ## ----------------------------------- ##
390 # Save the log message, to keep $0 and so on meaningful, and to
391 # report actual input values of CONFIG_FILES etc. instead of their
392 # values after options handling.
393 ac_log="
394 This file was extended by $as_me, which was
395 generated by GNU Autoconf 2.67. Invocation command line was
397 CONFIG_FILES = $CONFIG_FILES
398 CONFIG_HEADERS = $CONFIG_HEADERS
399 CONFIG_LINKS = $CONFIG_LINKS
400 CONFIG_COMMANDS = $CONFIG_COMMANDS
401 $ $0 $@
403 on `(hostname || uname -n) 2>/dev/null | sed 1q`
406 # Files that config.status was made for.
407 config_files=" Makefile libevent/Makefile ../scripts/pppoe-connect ../scripts/pppoe-start ../scripts/pppoe-stop ../scripts/pppoe-init ../scripts/pppoe-init-suse ../scripts/pppoe-init-turbolinux ../scripts/pppoe-setup ../gui/Makefile ../gui/tkpppoe "
408 config_headers=" config.h"
410 ac_cs_usage="\
411 \`$as_me' instantiates files and other configuration actions
412 from templates according to the current configuration. Unless the files
413 and actions are specified as TAGs, all are instantiated by default.
415 Usage: $0 [OPTION]... [TAG]...
417 -h, --help print this help, then exit
418 -V, --version print version number and configuration settings, then exit
419 --config print configuration, then exit
420 -q, --quiet, --silent
421 do not print progress messages
422 -d, --debug don't remove temporary files
423 --recheck update $as_me by reconfiguring in the same conditions
424 --file=FILE[:TEMPLATE]
425 instantiate the configuration file FILE
426 --header=FILE[:TEMPLATE]
427 instantiate the configuration header FILE
429 Configuration files:
430 $config_files
432 Configuration headers:
433 $config_headers
435 Report bugs to the package provider."
437 ac_cs_config="'--host=mipsel-linux' '--build=x86_64-linux-gnu' '--prefix=/usr' '--enable-plugin=/home/vicente/tomato/release/src-rt/router/pppd' 'ac_cv_linux_kernel_pppoe=yes' 'rpppoe_cv_pack_bitfields=rev' 'build_alias=x86_64-linux-gnu' 'host_alias=mipsel-linux' 'CC=mipsel-uclibc-gcc' 'CFLAGS=-g -O2 -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 '"
438 ac_cs_version="\
439 config.status
440 configured by ./configure, generated by GNU Autoconf 2.67,
441 with options \"$ac_cs_config\"
443 Copyright (C) 2010 Free Software Foundation, Inc.
444 This config.status script is free software; the Free Software Foundation
445 gives unlimited permission to copy, distribute and modify it."
447 ac_pwd='/home/vicente/tomato/release/src/router/rp-pppoe/src'
448 srcdir='.'
449 INSTALL='/usr/bin/install -c'
450 test -n "$AWK" || AWK=awk
451 # The default lists apply if the user does not specify any file.
452 ac_need_defaults=:
453 while test $# != 0
455 case $1 in
456 --*=?*)
457 ac_option=`expr "X$1" : 'X\([^=]*\)='`
458 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
459 ac_shift=:
461 --*=)
462 ac_option=`expr "X$1" : 'X\([^=]*\)='`
463 ac_optarg=
464 ac_shift=:
467 ac_option=$1
468 ac_optarg=$2
469 ac_shift=shift
471 esac
473 case $ac_option in
474 # Handling of the options.
475 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
476 ac_cs_recheck=: ;;
477 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
478 $as_echo "$ac_cs_version"; exit ;;
479 --config | --confi | --conf | --con | --co | --c )
480 $as_echo "$ac_cs_config"; exit ;;
481 --debug | --debu | --deb | --de | --d | -d )
482 debug=: ;;
483 --file | --fil | --fi | --f )
484 $ac_shift
485 case $ac_optarg in
486 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
487 '') as_fn_error $? "missing file argument" ;;
488 esac
489 as_fn_append CONFIG_FILES " '$ac_optarg'"
490 ac_need_defaults=false;;
491 --header | --heade | --head | --hea )
492 $ac_shift
493 case $ac_optarg in
494 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
495 esac
496 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
497 ac_need_defaults=false;;
498 --he | --h)
499 # Conflict between --help and --header
500 as_fn_error $? "ambiguous option: \`$1'
501 Try \`$0 --help' for more information.";;
502 --help | --hel | -h )
503 $as_echo "$ac_cs_usage"; exit ;;
504 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
505 | -silent | --silent | --silen | --sile | --sil | --si | --s)
506 ac_cs_silent=: ;;
508 # This is an error.
509 -*) as_fn_error $? "unrecognized option: \`$1'
510 Try \`$0 --help' for more information." ;;
512 *) as_fn_append ac_config_targets " $1"
513 ac_need_defaults=false ;;
515 esac
516 shift
517 done
519 ac_configure_extra_args=
521 if $ac_cs_silent; then
522 exec 6>/dev/null
523 ac_configure_extra_args="$ac_configure_extra_args --silent"
526 if $ac_cs_recheck; then
527 set X '/bin/sh' './configure' '--host=mipsel-linux' '--build=x86_64-linux-gnu' '--prefix=/usr' '--enable-plugin=/home/vicente/tomato/release/src-rt/router/pppd' 'ac_cv_linux_kernel_pppoe=yes' 'rpppoe_cv_pack_bitfields=rev' 'build_alias=x86_64-linux-gnu' 'host_alias=mipsel-linux' 'CC=mipsel-uclibc-gcc' 'CFLAGS=-g -O2 -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 ' $ac_configure_extra_args --no-create --no-recursion
528 shift
529 $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
530 CONFIG_SHELL='/bin/sh'
531 export CONFIG_SHELL
532 exec "$@"
535 exec 5>>config.log
537 echo
538 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
539 ## Running $as_me. ##
540 _ASBOX
541 $as_echo "$ac_log"
542 } >&5
545 # Handling of arguments.
546 for ac_config_target in $ac_config_targets
548 case $ac_config_target in
549 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
550 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
551 "libevent/Makefile") CONFIG_FILES="$CONFIG_FILES libevent/Makefile" ;;
552 "../scripts/pppoe-connect") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-connect" ;;
553 "../scripts/pppoe-start") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-start" ;;
554 "../scripts/pppoe-stop") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-stop" ;;
555 "../scripts/pppoe-init") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-init" ;;
556 "../scripts/pppoe-init-suse") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-init-suse" ;;
557 "../scripts/pppoe-init-turbolinux") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-init-turbolinux" ;;
558 "../scripts/pppoe-setup") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-setup" ;;
559 "../gui/Makefile") CONFIG_FILES="$CONFIG_FILES ../gui/Makefile" ;;
560 "../gui/tkpppoe") CONFIG_FILES="$CONFIG_FILES ../gui/tkpppoe" ;;
561 "$EXTRACONFIGS") CONFIG_FILES="$CONFIG_FILES $EXTRACONFIGS" ;;
563 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
564 esac
565 done
568 # If the user did not use the arguments to specify the items to instantiate,
569 # then the envvar interface is used. Set only those that are not.
570 # We use the long form for the default assignment because of an extremely
571 # bizarre bug on SunOS 4.1.3.
572 if $ac_need_defaults; then
573 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
574 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
577 # Have a temporary directory for convenience. Make it in the build tree
578 # simply because there is no reason against having it here, and in addition,
579 # creating and moving files from /tmp can sometimes cause problems.
580 # Hook for its removal unless debugging.
581 # Note that there is a small window in which the directory will not be cleaned:
582 # after its creation but before its name has been assigned to `$tmp'.
583 $debug ||
585 tmp=
586 trap 'exit_status=$?
587 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
589 trap 'as_fn_exit 1' 1 2 13 15
591 # Create a (secure) tmp directory for tmp files.
594 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
595 test -n "$tmp" && test -d "$tmp"
596 } ||
598 tmp=./conf$$-$RANDOM
599 (umask 077 && mkdir "$tmp")
600 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
602 # Set up the scripts for CONFIG_FILES section.
603 # No need to generate them if there are no CONFIG_FILES.
604 # This happens for instance with `./config.status config.h'.
605 if test -n "$CONFIG_FILES"; then
608 ac_cr=`echo X | tr X '\015'`
609 # On cygwin, bash can eat \r inside `` if the user requested igncr.
610 # But we know of no other shell where ac_cr would be empty at this
611 # point, so we can use a bashism as a fallback.
612 if test "x$ac_cr" = x; then
613 eval ac_cr=\$\'\\r\'
615 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
616 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
617 ac_cs_awk_cr='\\r'
618 else
619 ac_cs_awk_cr=$ac_cr
622 echo 'BEGIN {' >"$tmp/subs1.awk" &&
623 cat >>"$tmp/subs1.awk" <<\_ACAWK &&
624 S["LTLIBOBJS"]=" ${LIBOBJDIR}memcmp$U.lo"
625 S["datadir_evaluated"]="${prefix}/share"
626 S["LIBEVENT"]="../libevent"
627 S["RDYNAMIC"]=""
628 S["PPPOE_SERVER_DEPS"]=""
629 S["LIC_DEFINE"]=""
630 S["LIC_MAKEFILE_INCLUDE"]=""
631 S["LIC_LIB"]=""
632 S["LIC_LIBDIR"]=""
633 S["LIC_INCDIR"]=""
634 S["TARGETS"]="pppoe pppoe-server pppoe-sniff pppoe-relay rp-pppoe.so"
635 S["WRAPPER"]="/usr/sbin/pppoe-wrapper"
636 S["ID"]="/usr/bin/id"
637 S["SETSID"]="/usr/bin/setsid"
638 S["ECHO"]="/bin/echo"
639 S["PPPD"]="pppd"
640 S["INSTALL_DATA"]="${INSTALL} -m 644"
641 S["INSTALL_SCRIPT"]="${INSTALL}"
642 S["INSTALL_PROGRAM"]="${INSTALL}"
643 S["LIBOBJS"]=" ${LIBOBJDIR}memcmp$U.o"
644 S["PPPOE_RELAY"]="pppoe-relay"
645 S["PPPD_H"]=""
646 S["PPPD_INCDIR"]="/home/vicente/tomato/release/src-rt/router/pppd"
647 S["LINUX_KERNELMODE_PLUGIN"]="rp-pppoe.so"
648 S["EGREP"]="/bin/grep -E"
649 S["GREP"]="/bin/grep"
650 S["CPP"]="mipsel-uclibc-gcc -E"
651 S["RANLIB"]="mipsel-uclibc-ranlib"
652 S["OBJEXT"]="o"
653 S["EXEEXT"]=""
654 S["ac_ct_CC"]=""
655 S["CPPFLAGS"]=""
656 S["LDFLAGS"]=""
657 S["CFLAGS"]="-g -O2 -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -fno-strict-aliasing -Wall -Wstrict-prot"\
658 "otypes"
659 S["CC"]="mipsel-uclibc-gcc"
660 S["target_alias"]=""
661 S["host_alias"]="mipsel-linux"
662 S["build_alias"]="x86_64-linux-gnu"
663 S["LIBS"]=""
664 S["ECHO_T"]=""
665 S["ECHO_N"]="-n"
666 S["ECHO_C"]=""
667 S["DEFS"]="-DHAVE_CONFIG_H"
668 S["mandir"]="${datarootdir}/man"
669 S["localedir"]="${datarootdir}/locale"
670 S["libdir"]="${exec_prefix}/lib"
671 S["psdir"]="${docdir}"
672 S["pdfdir"]="${docdir}"
673 S["dvidir"]="${docdir}"
674 S["htmldir"]="${docdir}"
675 S["infodir"]="${datarootdir}/info"
676 S["docdir"]="${datarootdir}/doc/${PACKAGE}"
677 S["oldincludedir"]="/usr/include"
678 S["includedir"]="${prefix}/include"
679 S["localstatedir"]="${prefix}/var"
680 S["sharedstatedir"]="${prefix}/com"
681 S["sysconfdir"]="${prefix}/etc"
682 S["datadir"]="${datarootdir}"
683 S["datarootdir"]="${prefix}/share"
684 S["libexecdir"]="${exec_prefix}/libexec"
685 S["sbindir"]="${exec_prefix}/sbin"
686 S["bindir"]="${exec_prefix}/bin"
687 S["program_transform_name"]="s,x,x,"
688 S["prefix"]="/usr"
689 S["exec_prefix"]="${prefix}"
690 S["PACKAGE_URL"]=""
691 S["PACKAGE_BUGREPORT"]=""
692 S["PACKAGE_STRING"]=""
693 S["PACKAGE_VERSION"]=""
694 S["PACKAGE_TARNAME"]=""
695 S["PACKAGE_NAME"]=""
696 S["PATH_SEPARATOR"]=":"
697 S["SHELL"]="/bin/sh"
698 _ACAWK
699 cat >>"$tmp/subs1.awk" <<_ACAWK &&
700 for (key in S) S_is_set[key] = 1
701 FS = "\a"
705 line = $ 0
706 nfields = split(line, field, "@")
707 substed = 0
708 len = length(field[1])
709 for (i = 2; i < nfields; i++) {
710 key = field[i]
711 keylen = length(key)
712 if (S_is_set[key]) {
713 value = S[key]
714 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
715 len += length(value) + length(field[++i])
716 substed = 1
717 } else
718 len += 1 + keylen
721 print line
724 _ACAWK
725 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
726 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
727 else
729 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
730 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
731 fi # test -n "$CONFIG_FILES"
733 # Set up the scripts for CONFIG_HEADERS section.
734 # No need to generate them if there are no CONFIG_HEADERS.
735 # This happens for instance with `./config.status Makefile'.
736 if test -n "$CONFIG_HEADERS"; then
737 cat >"$tmp/defines.awk" <<\_ACAWK ||
738 BEGIN {
739 D["PACKAGE_NAME"]=" \"\""
740 D["PACKAGE_TARNAME"]=" \"\""
741 D["PACKAGE_VERSION"]=" \"\""
742 D["PACKAGE_STRING"]=" \"\""
743 D["PACKAGE_BUGREPORT"]=" \"\""
744 D["PACKAGE_URL"]=" \"\""
745 D["STDC_HEADERS"]=" 1"
746 D["HAVE_SYS_WAIT_H"]=" 1"
747 D["HAVE_SYS_TYPES_H"]=" 1"
748 D["HAVE_SYS_STAT_H"]=" 1"
749 D["HAVE_STDLIB_H"]=" 1"
750 D["HAVE_STRING_H"]=" 1"
751 D["HAVE_MEMORY_H"]=" 1"
752 D["HAVE_STRINGS_H"]=" 1"
753 D["HAVE_INTTYPES_H"]=" 1"
754 D["HAVE_STDINT_H"]=" 1"
755 D["HAVE_UNISTD_H"]=" 1"
756 D["HAVE_FCNTL_H"]=" 1"
757 D["HAVE_SYS_IOCTL_H"]=" 1"
758 D["HAVE_SYS_TIME_H"]=" 1"
759 D["HAVE_SYSLOG_H"]=" 1"
760 D["HAVE_UNISTD_H"]=" 1"
761 D["HAVE_NET_IF_ARP_H"]=" 1"
762 D["HAVE_NETINET_IF_ETHER_H"]=" 1"
763 D["HAVE_GETOPT_H"]=" 1"
764 D["HAVE_SYS_UIO_H"]=" 1"
765 D["HAVE_SYS_PARAM_H"]=" 1"
766 D["HAVE_FCNTL_H"]=" 1"
767 D["HAVE_NETPACKET_PACKET_H"]=" 1"
768 D["HAVE_NET_ETHERNET_H"]=" 1"
769 D["HAVE_ASM_TYPES_H"]=" 1"
770 D["HAVE_LINUX_IF_PACKET_H"]=" 1"
771 D["HAVE_LINUX_IF_ETHER_H"]=" 1"
772 D["HAVE_SYS_SOCKET_H"]=" 1"
773 D["HAVE_SYS_CDEFS_H"]=" 1"
774 D["HAVE_NET_IF_H"]=" 1"
775 D["HAVE_NETINET_IF_ETHER_H"]=" 1"
776 D["HAVE_LINUX_IF_H"]=" 1"
777 D["HAVE_LINUX_IF_PPPOX_H"]=" 1"
778 D["TIME_WITH_SYS_TIME"]=" 1"
779 D["HAVE_STRUCT_SOCKADDR_LL"]=" 1"
780 D["HAVE_LINUX_KERNEL_PPPOE"]=" 1"
781 D["DEBUGGING_ENABLED"]=" 1"
782 D["RETSIGTYPE"]=" void"
783 D["HAVE_SELECT"]=" 1"
784 D["HAVE_SOCKET"]=" 1"
785 D["HAVE_STRERROR"]=" 1"
786 D["HAVE_STRTOL"]=" 1"
787 D["SIZEOF_UNSIGNED_SHORT"]=" 2"
788 D["SIZEOF_UNSIGNED_INT"]=" 4"
789 D["SIZEOF_UNSIGNED_LONG"]=" 4"
790 D["PACK_BITFIELDS_REVERSED"]=" 1"
791 for (key in D) D_is_set[key] = 1
792 FS = "\a"
794 /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
795 line = $ 0
796 split(line, arg, " ")
797 if (arg[1] == "#") {
798 defundef = arg[2]
799 mac1 = arg[3]
800 } else {
801 defundef = substr(arg[1], 2)
802 mac1 = arg[2]
804 split(mac1, mac2, "(") #)
805 macro = mac2[1]
806 prefix = substr(line, 1, index(line, defundef) - 1)
807 if (D_is_set[macro]) {
808 # Preserve the white space surrounding the "#".
809 print prefix "define", macro P[macro] D[macro]
810 next
811 } else {
812 # Replace #undef with comments. This is necessary, for example,
813 # in the case of _POSIX_SOURCE, which is predefined and required
814 # on some systems where configure will not decide to define it.
815 if (defundef == "undef") {
816 print "/*", prefix defundef, macro, "*/"
817 next
821 { print }
822 _ACAWK
823 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
824 fi # test -n "$CONFIG_HEADERS"
827 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
828 shift
829 for ac_tag
831 case $ac_tag in
832 :[FHLC]) ac_mode=$ac_tag; continue;;
833 esac
834 case $ac_mode$ac_tag in
835 :[FHL]*:*);;
836 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
837 :[FH]-) ac_tag=-:-;;
838 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
839 esac
840 ac_save_IFS=$IFS
841 IFS=:
842 set x $ac_tag
843 IFS=$ac_save_IFS
844 shift
845 ac_file=$1
846 shift
848 case $ac_mode in
849 :L) ac_source=$1;;
850 :[FH])
851 ac_file_inputs=
852 for ac_f
854 case $ac_f in
855 -) ac_f="$tmp/stdin";;
856 *) # Look for the file first in the build tree, then in the source tree
857 # (if the path is not absolute). The absolute path cannot be DOS-style,
858 # because $ac_f cannot contain `:'.
859 test -f "$ac_f" ||
860 case $ac_f in
861 [\\/$]*) false;;
862 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
863 esac ||
864 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
865 esac
866 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
867 as_fn_append ac_file_inputs " '$ac_f'"
868 done
870 # Let's still pretend it is `configure' which instantiates (i.e., don't
871 # use $as_me), people would be surprised to read:
872 # /* config.h. Generated by config.status. */
873 configure_input='Generated from '`
874 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
875 `' by configure.'
876 if test x"$ac_file" != x-; then
877 configure_input="$ac_file. $configure_input"
878 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
879 $as_echo "$as_me: creating $ac_file" >&6;}
881 # Neutralize special characters interpreted by sed in replacement strings.
882 case $configure_input in #(
883 *\&* | *\|* | *\\* )
884 ac_sed_conf_input=`$as_echo "$configure_input" |
885 sed 's/[\\\\&|]/\\\\&/g'`;; #(
886 *) ac_sed_conf_input=$configure_input;;
887 esac
889 case $ac_tag in
890 *:-:* | *:-) cat >"$tmp/stdin" \
891 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
892 esac
894 esac
896 ac_dir=`$as_dirname -- "$ac_file" ||
897 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
898 X"$ac_file" : 'X\(//\)[^/]' \| \
899 X"$ac_file" : 'X\(//\)$' \| \
900 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
901 $as_echo X"$ac_file" |
902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
903 s//\1/
906 /^X\(\/\/\)[^/].*/{
907 s//\1/
910 /^X\(\/\/\)$/{
911 s//\1/
914 /^X\(\/\).*/{
915 s//\1/
918 s/.*/./; q'`
919 as_dir="$ac_dir"; as_fn_mkdir_p
920 ac_builddir=.
922 case "$ac_dir" in
923 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
925 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
926 # A ".." for each directory in $ac_dir_suffix.
927 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
928 case $ac_top_builddir_sub in
929 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
930 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
931 esac ;;
932 esac
933 ac_abs_top_builddir=$ac_pwd
934 ac_abs_builddir=$ac_pwd$ac_dir_suffix
935 # for backward compatibility:
936 ac_top_builddir=$ac_top_build_prefix
938 case $srcdir in
939 .) # We are building in place.
940 ac_srcdir=.
941 ac_top_srcdir=$ac_top_builddir_sub
942 ac_abs_top_srcdir=$ac_pwd ;;
943 [\\/]* | ?:[\\/]* ) # Absolute name.
944 ac_srcdir=$srcdir$ac_dir_suffix;
945 ac_top_srcdir=$srcdir
946 ac_abs_top_srcdir=$srcdir ;;
947 *) # Relative name.
948 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
949 ac_top_srcdir=$ac_top_build_prefix$srcdir
950 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
951 esac
952 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
955 case $ac_mode in
958 # CONFIG_FILE
961 case $INSTALL in
962 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
963 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
964 esac
965 # If the template does not know about datarootdir, expand it.
966 # FIXME: This hack should be removed a few years after 2.60.
967 ac_datarootdir_hack=; ac_datarootdir_seen=
968 ac_sed_dataroot='
969 /datarootdir/ {
973 /@datadir@/p
974 /@docdir@/p
975 /@infodir@/p
976 /@localedir@/p
977 /@mandir@/p'
978 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
979 *datarootdir*) ac_datarootdir_seen=yes;;
980 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
982 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
983 ac_datarootdir_hack='
984 s&@datadir@&${datarootdir}&g
985 s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
986 s&@infodir@&${datarootdir}/info&g
987 s&@localedir@&${datarootdir}/locale&g
988 s&@mandir@&${datarootdir}/man&g
989 s&\${datarootdir}&${prefix}/share&g' ;;
990 esac
991 ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
993 s///
994 s/^/:/
995 s/[ ]*$/:/
996 s/:\$(srcdir):/:/g
997 s/:\${srcdir}:/:/g
998 s/:@srcdir@:/:/g
999 s/^:*//
1000 s/:*$//
1002 s/\(=[ ]*\).*/\1/
1004 s/\n//
1005 s/^[^=]*=[ ]*$//
1009 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1010 s|@configure_input@|$ac_sed_conf_input|;t t
1011 s&@top_builddir@&$ac_top_builddir_sub&;t t
1012 s&@top_build_prefix@&$ac_top_build_prefix&;t t
1013 s&@srcdir@&$ac_srcdir&;t t
1014 s&@abs_srcdir@&$ac_abs_srcdir&;t t
1015 s&@top_srcdir@&$ac_top_srcdir&;t t
1016 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1017 s&@builddir@&$ac_builddir&;t t
1018 s&@abs_builddir@&$ac_abs_builddir&;t t
1019 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1020 s&@INSTALL@&$ac_INSTALL&;t t
1021 $ac_datarootdir_hack
1023 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
1024 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1026 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1027 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1028 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1030 which seems to be undefined. Please make sure it is defined" >&5
1031 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1032 which seems to be undefined. Please make sure it is defined" >&2;}
1034 rm -f "$tmp/stdin"
1035 case $ac_file in
1036 -) cat "$tmp/out" && rm -f "$tmp/out";;
1037 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1038 esac \
1039 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1043 # CONFIG_HEADER
1045 if test x"$ac_file" != x-; then
1047 $as_echo "/* $configure_input */" \
1048 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
1049 } >"$tmp/config.h" \
1050 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1051 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
1052 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1053 $as_echo "$as_me: $ac_file is unchanged" >&6;}
1054 else
1055 rm -f "$ac_file"
1056 mv "$tmp/config.h" "$ac_file" \
1057 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1059 else
1060 $as_echo "/* $configure_input */" \
1061 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
1062 || as_fn_error $? "could not create -" "$LINENO" 5
1067 esac
1069 done # for ac_tag
1072 as_fn_exit 0