• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/

Lines Matching defs:*

0 #! /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
33 fi
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'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
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=';'
81 fi
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
96 do
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
109 fi
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
113 fi
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
148 fi
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
221 fi
223 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
224 as_basename=basename
225 else
226 as_basename=false
227 fi
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
233 fi
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/
242 q
244 /^X\/\(\/\/\)$/{
245 s//\1/
246 q
248 /^X\/\(\/\).*/{
249 s//\1/
250 q
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
280 fi
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'
294 fi
295 else
296 as_ln_s='cp -p'
297 fi
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/
327 q
329 /^X\(\/\/\)[^/].*/{
330 s//\1/
331 q
333 /^X\(\/\/\)$/{
334 s//\1/
335 q
337 /^X\(\/\).*/{
338 s//\1/
339 q
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
354 fi
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=
363 fi
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
376 fi
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 iptables $as_me 1.4.12.1, 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 extensions/GNUmakefile include/Makefile iptables/Makefile iptables/xtables.pc libipq/Makefile libipq/libipq.pc libiptc/Makefile libiptc/libiptc.pc utils/Makefile include/xtables.h include/iptables/internal.h"
408 config_headers=" config.h"
409 config_commands=" depfiles libtool"
411 ac_cs_usage="\
412 \`$as_me' instantiates files and other configuration actions
413 from templates according to the current configuration. Unless the files
414 and actions are specified as TAGs, all are instantiated by default.
416 Usage: $0 [OPTION]... [TAG]...
418 -h, --help print this help, then exit
419 -V, --version print version number and configuration settings, then exit
420 --config print configuration, then exit
421 -q, --quiet, --silent
422 do not print progress messages
423 -d, --debug don't remove temporary files
424 --recheck update $as_me by reconfiguring in the same conditions
425 --file=FILE[:TEMPLATE]
426 instantiate the configuration file FILE
427 --header=FILE[:TEMPLATE]
428 instantiate the configuration header FILE
430 Configuration files:
431 $config_files
433 Configuration headers:
434 $config_headers
436 Configuration commands:
437 $config_commands
439 Report bugs to the package provider."
441 ac_cs_config="'--prefix=/home/michael/2011_04_14_WNDR4500_Alpha/ap/gpl/iptables-1.4.12.1/tmp' '--host=mipsel-linux' '--with-ksource=../../../src/linux/linux-2.6' '--disable-shared' 'host_alias=mipsel-linux' 'CC=mipsel-uclibc-linux26-gcc'"
442 ac_cs_version="\
443 iptables config.status 1.4.12.1
444 configured by ./configure, generated by GNU Autoconf 2.67,
445 with options \"$ac_cs_config\"
447 Copyright (C) 2010 Free Software Foundation, Inc.
448 This config.status script is free software; the Free Software Foundation
449 gives unlimited permission to copy, distribute and modify it."
451 ac_pwd='/home/michael/2011_04_14_WNDR4500_Alpha/ap/gpl/iptables-1.4.12.1'
452 srcdir='.'
453 INSTALL='/usr/bin/install -c'
454 MKDIR_P='/bin/mkdir -p'
455 AWK='gawk'
456 test -n "$AWK" || AWK=awk
457 # The default lists apply if the user does not specify any file.
458 ac_need_defaults=:
459 while test $# != 0
460 do
461 case $1 in
462 --*=?*)
463 ac_option=`expr "X$1" : 'X\([^=]*\)='`
464 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
465 ac_shift=:
467 --*=)
468 ac_option=`expr "X$1" : 'X\([^=]*\)='`
469 ac_optarg=
470 ac_shift=:
473 ac_option=$1
474 ac_optarg=$2
475 ac_shift=shift
477 esac
479 case $ac_option in
480 # Handling of the options.
481 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
482 ac_cs_recheck=: ;;
483 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
484 $as_echo "$ac_cs_version"; exit ;;
485 --config | --confi | --conf | --con | --co | --c )
486 $as_echo "$ac_cs_config"; exit ;;
487 --debug | --debu | --deb | --de | --d | -d )
488 debug=: ;;
489 --file | --fil | --fi | --f )
490 $ac_shift
491 case $ac_optarg in
492 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
493 '') as_fn_error $? "missing file argument" ;;
494 esac
495 as_fn_append CONFIG_FILES " '$ac_optarg'"
496 ac_need_defaults=false;;
497 --header | --heade | --head | --hea )
498 $ac_shift
499 case $ac_optarg in
500 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
501 esac
502 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
503 ac_need_defaults=false;;
504 --he | --h)
505 # Conflict between --help and --header
506 as_fn_error $? "ambiguous option: \`$1'
507 Try \`$0 --help' for more information.";;
508 --help | --hel | -h )
509 $as_echo "$ac_cs_usage"; exit ;;
510 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
511 | -silent | --silent | --silen | --sile | --sil | --si | --s)
512 ac_cs_silent=: ;;
514 # This is an error.
515 -*) as_fn_error $? "unrecognized option: \`$1'
516 Try \`$0 --help' for more information." ;;
518 *) as_fn_append ac_config_targets " $1"
519 ac_need_defaults=false ;;
521 esac
522 shift
523 done
525 ac_configure_extra_args=
527 if $ac_cs_silent; then
528 exec 6>/dev/null
529 ac_configure_extra_args="$ac_configure_extra_args --silent"
530 fi
532 if $ac_cs_recheck; then
533 set X '/bin/sh' './configure' '--prefix=/home/michael/2011_04_14_WNDR4500_Alpha/ap/gpl/iptables-1.4.12.1/tmp' '--host=mipsel-linux' '--with-ksource=../../../src/linux/linux-2.6' '--disable-shared' 'host_alias=mipsel-linux' 'CC=mipsel-uclibc-linux26-gcc' $ac_configure_extra_args --no-create --no-recursion
534 shift
535 $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
536 CONFIG_SHELL='/bin/sh'
537 export CONFIG_SHELL
538 exec "$@"
539 fi
541 exec 5>>config.log
543 echo
544 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
545 ## Running $as_me. ##
546 _ASBOX
547 $as_echo "$ac_log"
548 } >&5
551 # INIT-COMMANDS
553 AMDEP_TRUE="" ac_aux_dir="."
556 # The HP-UX ksh and POSIX shell print the target directory to stdout
557 # if CDPATH is set.
558 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
560 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
561 double_quote_subst='s/\(["`\\]\)/\\\1/g'
562 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
563 enable_static='yes'
564 macro_version='2.2.6b'
565 macro_revision='1.3017'
566 enable_shared='no'
567 pic_mode='default'
568 enable_fast_install='needless'
569 host_alias='mipsel-linux'
570 host='mipsel-unknown-linux-gnu'
571 host_os='linux-gnu'
572 build_alias=''
573 build='i686-pc-linux-gnu'
574 build_os='linux-gnu'
575 SED='/bin/sed'
576 Xsed='/bin/sed -e 1s/^X//'
577 GREP='/bin/grep'
578 EGREP='/bin/grep -E'
579 FGREP='/bin/grep -F'
580 LD='mipsel-uclibc-linux26-ld'
581 NM='mipsel-uclibc-linux26-nm'
582 LN_S='ln -s'
583 max_cmd_len='1966080'
584 ac_objext='o'
585 exeext=''
586 lt_unset='unset'
587 lt_SP2NL='tr \040 \012'
588 lt_NL2SP='tr \015\012 \040\040'
589 reload_flag=' -r'
590 reload_cmds='$LD$reload_flag -o $output$reload_objs'
591 OBJDUMP='mipsel-linux-objdump'
592 deplibs_check_method='pass_all'
593 file_magic_cmd='$MAGIC_CMD'
594 AR='mipsel-uclibc-linux26-ar'
595 AR_FLAGS='cru'
596 STRIP='mipsel-linux-strip'
597 RANLIB='mipsel-uclibc-linux26-ranlib'
598 old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
599 old_postuninstall_cmds=''
600 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
601 CC='mipsel-uclibc-linux26-gcc'
602 CFLAGS='-g -O2'
603 compiler='mipsel-uclibc-linux26-gcc'
604 GCC='yes'
605 lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
606 lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
607 lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
608 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
609 objdir='.libs'
610 SHELL='/bin/sh'
611 ECHO='echo'
612 MAGIC_CMD='file'
613 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
614 lt_prog_compiler_wl='-Wl,'
615 lt_prog_compiler_pic=' -fPIC -DPIC'
616 lt_prog_compiler_static='-static'
617 lt_cv_prog_compiler_c_o='yes'
618 need_locks='no'
619 DSYMUTIL=''
620 NMEDIT=''
621 LIPO=''
622 OTOOL=''
623 OTOOL64=''
624 libext='a'
625 shrext_cmds='.so'
626 extract_expsyms_cmds=''
627 archive_cmds_need_lc='yes'
628 enable_shared_with_static_runtimes='no'
629 export_dynamic_flag_spec='${wl}--export-dynamic'
630 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
631 compiler_needs_object='no'
632 old_archive_from_new_cmds=''
633 old_archive_from_expsyms_cmds=''
634 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
635 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
636 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
637 echo "local: *; };" >> $output_objdir/$libname.ver~
638 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
639 module_cmds=''
640 module_expsym_cmds=''
641 with_gnu_ld='yes'
642 allow_undefined_flag=''
643 no_undefined_flag=''
644 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
645 hardcode_libdir_flag_spec_ld=''
646 hardcode_libdir_separator=''
647 hardcode_direct='no'
648 hardcode_direct_absolute='no'
649 hardcode_minus_L='no'
650 hardcode_shlibpath_var='unsupported'
651 hardcode_automatic='no'
652 inherit_rpath='no'
653 link_all_deplibs='no'
654 fix_srcfile_path=''
655 always_export_symbols='no'
656 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
657 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
658 include_expsyms=''
659 prelink_cmds=''
660 file_list_spec=''
661 variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
662 need_lib_prefix='no'
663 need_version='no'
664 version_type='linux'
665 runpath_var='LD_RUN_PATH'
666 shlibpath_var='LD_LIBRARY_PATH'
667 shlibpath_overrides_runpath='no'
668 libname_spec='lib$name'
669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
670 soname_spec='${libname}${release}${shared_ext}$major'
671 postinstall_cmds=''
672 postuninstall_cmds=''
673 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
674 finish_eval=''
675 hardcode_into_libs='yes'
676 sys_lib_search_path_spec='/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/lib/gcc/mipsel-linux-uclibc/4.2.3 /projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/mipsel-linux-uclibc/lib'
677 sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib/qt-3.3/lib /usr/lib/xulrunner-1.9 '
678 hardcode_action='immediate'
679 enable_dlopen='unknown'
680 enable_dlopen_self='unknown'
681 enable_dlopen_self_static='unknown'
682 old_striplib='mipsel-linux-strip --strip-debug'
683 striplib='mipsel-linux-strip --strip-unneeded'
685 LTCC='mipsel-uclibc-linux26-gcc'
686 LTCFLAGS='-g -O2'
687 compiler='mipsel-uclibc-linux26-gcc'
689 # Quote evaled strings.
690 for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd AR AR_FLAGS STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix SHELL ECHO lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator fix_srcfile_path exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec finish_eval old_striplib striplib; do
691 case `eval \\$ECHO "X\\$$var"` in
692 *[\\\`\"\$]*)
693 eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
696 eval "lt_$var=\\\"\$$var\\\""
698 esac
699 done
701 # Double-quote double-evaled strings.
702 for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec; do
703 case `eval \\$ECHO "X\\$$var"` in
704 *[\\\`\"\$]*)
705 eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
708 eval "lt_$var=\\\"\$$var\\\""
710 esac
711 done
713 # Fix-up fallback echo if it was mangled by the above quoting rules.
714 case $lt_ECHO in
715 *'\$0 --fallback-echo"') lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
717 esac
719 ac_aux_dir='.'
720 xsi_shell='yes'
721 lt_shell_append='yes'
723 # See if we are running on zsh, and set the options which allow our
724 # commands through without removal of \ escapes INIT.
725 if test -n "${ZSH_VERSION+set}" ; then
726 setopt NO_GLOB_SUBST
727 fi
730 PACKAGE='iptables'
731 VERSION='1.4.12.1'
732 TIMESTAMP=''
733 RM='rm -f'
734 ofile='libtool'
740 # Handling of arguments.
741 for ac_config_target in $ac_config_targets
742 do
743 case $ac_config_target in
744 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
745 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
746 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
747 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
748 "extensions/GNUmakefile") CONFIG_FILES="$CONFIG_FILES extensions/GNUmakefile" ;;
749 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
750 "iptables/Makefile") CONFIG_FILES="$CONFIG_FILES iptables/Makefile" ;;
751 "iptables/xtables.pc") CONFIG_FILES="$CONFIG_FILES iptables/xtables.pc" ;;
752 "libipq/Makefile") CONFIG_FILES="$CONFIG_FILES libipq/Makefile" ;;
753 "libipq/libipq.pc") CONFIG_FILES="$CONFIG_FILES libipq/libipq.pc" ;;
754 "libiptc/Makefile") CONFIG_FILES="$CONFIG_FILES libiptc/Makefile" ;;
755 "libiptc/libiptc.pc") CONFIG_FILES="$CONFIG_FILES libiptc/libiptc.pc" ;;
756 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
757 "include/xtables.h") CONFIG_FILES="$CONFIG_FILES include/xtables.h" ;;
758 "include/iptables/internal.h") CONFIG_FILES="$CONFIG_FILES include/iptables/internal.h" ;;
760 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
761 esac
762 done
765 # If the user did not use the arguments to specify the items to instantiate,
766 # then the envvar interface is used. Set only those that are not.
767 # We use the long form for the default assignment because of an extremely
768 # bizarre bug on SunOS 4.1.3.
769 if $ac_need_defaults; then
770 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
771 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
772 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
773 fi
775 # Have a temporary directory for convenience. Make it in the build tree
776 # simply because there is no reason against having it here, and in addition,
777 # creating and moving files from /tmp can sometimes cause problems.
778 # Hook for its removal unless debugging.
779 # Note that there is a small window in which the directory will not be cleaned:
780 # after its creation but before its name has been assigned to `$tmp'.
781 $debug ||
783 tmp=
784 trap 'exit_status=$?
785 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
786 ' 0
787 trap 'as_fn_exit 1' 1 2 13 15
789 # Create a (secure) tmp directory for tmp files.
792 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
793 test -n "$tmp" && test -d "$tmp"
796 tmp=./conf$$-$RANDOM
797 (umask 077 && mkdir "$tmp")
798 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
800 # Set up the scripts for CONFIG_FILES section.
801 # No need to generate them if there are no CONFIG_FILES.
802 # This happens for instance with `./config.status config.h'.
803 if test -n "$CONFIG_FILES"; then
806 ac_cr=`echo X | tr X '\015'`
807 # On cygwin, bash can eat \r inside `` if the user requested igncr.
808 # But we know of no other shell where ac_cr would be empty at this
809 # point, so we can use a bashism as a fallback.
810 if test "x$ac_cr" = x; then
811 eval ac_cr=\$\'\\r\'
812 fi
813 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
814 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
815 ac_cs_awk_cr='\\r'
816 else
817 ac_cs_awk_cr=$ac_cr
818 fi
820 echo 'BEGIN {' >"$tmp/subs1.awk" &&
821 cat >>"$tmp/subs1.awk" <<\_ACAWK &&
822 S["am__EXEEXT_FALSE"]=""
823 S["am__EXEEXT_TRUE"]="#"
824 S["LTLIBOBJS"]=""
825 S["LIBOBJS"]=""
826 S["libxtables_vmajor"]="7"
827 S["libxtables_vage"]="0"
828 S["libxtables_vcurrent"]="7"
829 S["pkgdatadir"]="${datadir}/xtables"
830 S["pkgconfigdir"]="${libdir}/pkgconfig"
831 S["xtlibdir"]="${exec_prefix}/lib/xtables"
832 S["ksourcedir"]="../../../src/linux/linux-2.6"
833 S["kbuilddir"]=""
834 S["kinclude_CPPFLAGS"]=" -I../../../src/linux/linux-2.6/include"
835 S["regular_CPPFLAGS"]="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\\\"${xtlibdir}\\\" -DXTABLES_INTERNAL"
836 S["regular_CFLAGS"]="-Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe"
837 S["HAVE_LIBNFNETLINK_FALSE"]=""
838 S["HAVE_LIBNFNETLINK_TRUE"]="#"
839 S["libnfnetlink_LIBS"]=""
840 S["libnfnetlink_CFLAGS"]=""
841 S["PKG_CONFIG_LIBDIR"]=""
842 S["PKG_CONFIG_PATH"]=""
843 S["PKG_CONFIG"]="/usr/bin/pkg-config"
844 S["ENABLE_LIBIPQ_FALSE"]=""
845 S["ENABLE_LIBIPQ_TRUE"]="#"
846 S["ENABLE_DEVEL_FALSE"]="#"
847 S["ENABLE_DEVEL_TRUE"]=""
848 S["ENABLE_LARGEFILE_FALSE"]="#"
849 S["ENABLE_LARGEFILE_TRUE"]=""
850 S["ENABLE_IPV6_FALSE"]="#"
851 S["ENABLE_IPV6_TRUE"]=""
852 S["ENABLE_IPV4_FALSE"]="#"
853 S["ENABLE_IPV4_TRUE"]=""
854 S["ENABLE_SHARED_FALSE"]=""
855 S["ENABLE_SHARED_TRUE"]="#"
856 S["ENABLE_STATIC_FALSE"]="#"
857 S["ENABLE_STATIC_TRUE"]=""
858 S["blacklist_modules"]=" ipvs"
859 S["libiptc_LDFLAGS2"]="-Wl,--no-as-needed"
860 S["CPP"]="mipsel-uclibc-linux26-gcc -E"
861 S["OTOOL64"]=""
862 S["OTOOL"]=""
863 S["LIPO"]=""
864 S["NMEDIT"]=""
865 S["DSYMUTIL"]=""
866 S["lt_ECHO"]="echo"
867 S["RANLIB"]="mipsel-uclibc-linux26-ranlib"
868 S["AR"]="mipsel-uclibc-linux26-ar"
869 S["OBJDUMP"]="mipsel-linux-objdump"
870 S["LN_S"]="ln -s"
871 S["NM"]="mipsel-uclibc-linux26-nm"
872 S["ac_ct_DUMPBIN"]=""
873 S["DUMPBIN"]=""
874 S["LD"]="mipsel-uclibc-linux26-ld"
875 S["FGREP"]="/bin/grep -F"
876 S["EGREP"]="/bin/grep -E"
877 S["GREP"]="/bin/grep"
878 S["SED"]="/bin/sed"
879 S["host_os"]="linux-gnu"
880 S["host_vendor"]="unknown"
881 S["host_cpu"]="mipsel"
882 S["host"]="mipsel-unknown-linux-gnu"
883 S["build_os"]="linux-gnu"
884 S["build_vendor"]="pc"
885 S["build_cpu"]="i686"
886 S["build"]="i686-pc-linux-gnu"
887 S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
888 S["am__fastdepCC_FALSE"]="#"
889 S["am__fastdepCC_TRUE"]=""
890 S["CCDEPMODE"]="depmode=gcc3"
891 S["AMDEPBACKSLASH"]="\\"
892 S["AMDEP_FALSE"]="#"
893 S["AMDEP_TRUE"]=""
894 S["am__quote"]=""
895 S["am__include"]="include"
896 S["DEPDIR"]=".deps"
897 S["OBJEXT"]="o"
898 S["EXEEXT"]=""
899 S["ac_ct_CC"]=""
900 S["CPPFLAGS"]=""
901 S["LDFLAGS"]=""
902 S["CFLAGS"]="-g -O2"
903 S["CC"]="mipsel-uclibc-linux26-gcc"
904 S["am__untar"]="${AMTAR} xf -"
905 S["am__tar"]="${AMTAR} chof - \"$$tardir\""
906 S["AMTAR"]="${SHELL} /home/michael/2011_04_14_WNDR4500_Alpha/ap/gpl/iptables-1.4.12.1/missing --run tar"
907 S["am__leading_dot"]="."
908 S["SET_MAKE"]=""
909 S["AWK"]="gawk"
910 S["mkdir_p"]="/bin/mkdir -p"
911 S["MKDIR_P"]="/bin/mkdir -p"
912 S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
913 S["STRIP"]="mipsel-linux-strip"
914 S["install_sh"]="${SHELL} /home/michael/2011_04_14_WNDR4500_Alpha/ap/gpl/iptables-1.4.12.1/install-sh"
915 S["MAKEINFO"]="${SHELL} /home/michael/2011_04_14_WNDR4500_Alpha/ap/gpl/iptables-1.4.12.1/missing --run makeinfo"
916 S["AUTOHEADER"]="${SHELL} /home/michael/2011_04_14_WNDR4500_Alpha/ap/gpl/iptables-1.4.12.1/missing --run autoheader"
917 S["AUTOMAKE"]="${SHELL} /home/michael/2011_04_14_WNDR4500_Alpha/ap/gpl/iptables-1.4.12.1/missing --run automake-1.11"
918 S["AUTOCONF"]="${SHELL} /home/michael/2011_04_14_WNDR4500_Alpha/ap/gpl/iptables-1.4.12.1/missing --run autoconf"
919 S["ACLOCAL"]="${SHELL} /home/michael/2011_04_14_WNDR4500_Alpha/ap/gpl/iptables-1.4.12.1/missing --run aclocal-1.11"
920 S["VERSION"]="1.4.12.1"
921 S["PACKAGE"]="iptables"
922 S["CYGPATH_W"]="echo"
923 S["am__isrc"]=""
924 S["INSTALL_DATA"]="${INSTALL} -m 644"
925 S["INSTALL_SCRIPT"]="${INSTALL}"
926 S["INSTALL_PROGRAM"]="${INSTALL}"
927 S["target_alias"]=""
928 S["host_alias"]="mipsel-linux"
929 S["build_alias"]=""
930 S["LIBS"]=""
931 S["ECHO_T"]=""
932 S["ECHO_N"]="-n"
933 S["ECHO_C"]=""
934 S["DEFS"]="-DHAVE_CONFIG_H"
935 S["mandir"]="${datarootdir}/man"
936 S["localedir"]="${datarootdir}/locale"
937 S["libdir"]="${exec_prefix}/lib"
938 S["psdir"]="${docdir}"
939 S["pdfdir"]="${docdir}"
940 S["dvidir"]="${docdir}"
941 S["htmldir"]="${docdir}"
942 S["infodir"]="${datarootdir}/info"
943 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
944 S["oldincludedir"]="/usr/include"
945 S["includedir"]="${prefix}/include"
946 S["localstatedir"]="${prefix}/var"
947 S["sharedstatedir"]="${prefix}/com"
948 S["sysconfdir"]="${prefix}/etc"
949 S["datadir"]="${datarootdir}"
950 S["datarootdir"]="${prefix}/share"
951 S["libexecdir"]="${exec_prefix}/libexec"
952 S["sbindir"]="${exec_prefix}/sbin"
953 S["bindir"]="${exec_prefix}/bin"
954 S["program_transform_name"]="s,x,x,"
955 S["prefix"]="/home/michael/2011_04_14_WNDR4500_Alpha/ap/gpl/iptables-1.4.12.1/tmp"
956 S["exec_prefix"]="${prefix}"
957 S["PACKAGE_URL"]=""
958 S["PACKAGE_BUGREPORT"]=""
959 S["PACKAGE_STRING"]="iptables 1.4.12.1"
960 S["PACKAGE_VERSION"]="1.4.12.1"
961 S["PACKAGE_TARNAME"]="iptables"
962 S["PACKAGE_NAME"]="iptables"
963 S["PATH_SEPARATOR"]=":"
964 S["SHELL"]="/bin/sh"
965 _ACAWK
966 cat >>"$tmp/subs1.awk" <<_ACAWK &&
967 for (key in S) S_is_set[key] = 1
968 FS = ""
972 line = $ 0
973 nfields = split(line, field, "@")
974 substed = 0
975 len = length(field[1])
976 for (i = 2; i < nfields; i++) {
977 key = field[i]
978 keylen = length(key)
979 if (S_is_set[key]) {
980 value = S[key]
981 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
982 len += length(value) + length(field[++i])
983 substed = 1
984 } else
985 len += 1 + keylen
988 print line
991 _ACAWK
992 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
993 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
994 else
995 cat
996 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
997 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
998 fi # test -n "$CONFIG_FILES"
1000 # Set up the scripts for CONFIG_HEADERS section.
1001 # No need to generate them if there are no CONFIG_HEADERS.
1002 # This happens for instance with `./config.status Makefile'.
1003 if test -n "$CONFIG_HEADERS"; then
1004 cat >"$tmp/defines.awk" <<\_ACAWK ||
1005 BEGIN {
1006 D["PACKAGE_NAME"]=" \"iptables\""
1007 D["PACKAGE_TARNAME"]=" \"iptables\""
1008 D["PACKAGE_VERSION"]=" \"1.4.12.1\""
1009 D["PACKAGE_STRING"]=" \"iptables 1.4.12.1\""
1010 D["PACKAGE_BUGREPORT"]=" \"\""
1011 D["PACKAGE_URL"]=" \"\""
1012 D["PACKAGE"]=" \"iptables\""
1013 D["VERSION"]=" \"1.4.12.1\""
1014 D["STDC_HEADERS"]=" 1"
1015 D["HAVE_SYS_TYPES_H"]=" 1"
1016 D["HAVE_SYS_STAT_H"]=" 1"
1017 D["HAVE_STDLIB_H"]=" 1"
1018 D["HAVE_STRING_H"]=" 1"
1019 D["HAVE_MEMORY_H"]=" 1"
1020 D["HAVE_STRINGS_H"]=" 1"
1021 D["HAVE_INTTYPES_H"]=" 1"
1022 D["HAVE_STDINT_H"]=" 1"
1023 D["HAVE_UNISTD_H"]=" 1"
1024 D["HAVE_DLFCN_H"]=" 1"
1025 D["LT_OBJDIR"]=" \".libs/\""
1026 D["HAVE_LINUX_DCCP_H"]=" 1"
1027 D["HAVE_LINUX_MAGIC_H"]=" 1"
1028 D["SIZEOF_STRUCT_IP6_HDR"]=" 40"
1029 for (key in D) D_is_set[key] = 1
1030 FS = ""
1032 /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
1033 line = $ 0
1034 split(line, arg, " ")
1035 if (arg[1] == "#") {
1036 defundef = arg[2]
1037 mac1 = arg[3]
1038 } else {
1039 defundef = substr(arg[1], 2)
1040 mac1 = arg[2]
1042 split(mac1, mac2, "(") #)
1043 macro = mac2[1]
1044 prefix = substr(line, 1, index(line, defundef) - 1)
1045 if (D_is_set[macro]) {
1046 # Preserve the white space surrounding the "#".
1047 print prefix "define", macro P[macro] D[macro]
1048 next
1049 } else {
1050 # Replace #undef with comments. This is necessary, for example,
1051 # in the case of _POSIX_SOURCE, which is predefined and required
1052 # on some systems where configure will not decide to define it.
1053 if (defundef == "undef") {
1054 print "/*", prefix defundef, macro, "*/"
1055 next
1059 { print }
1060 _ACAWK
1061 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1062 fi # test -n "$CONFIG_HEADERS"
1065 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
1066 shift
1067 for ac_tag
1068 do
1069 case $ac_tag in
1070 :[FHLC]) ac_mode=$ac_tag; continue;;
1071 esac
1072 case $ac_mode$ac_tag in
1073 :[FHL]*:*);;
1074 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
1075 :[FH]-) ac_tag=-:-;;
1076 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1077 esac
1078 ac_save_IFS=$IFS
1079 IFS=:
1080 set x $ac_tag
1081 IFS=$ac_save_IFS
1082 shift
1083 ac_file=$1
1084 shift
1086 case $ac_mode in
1087 :L) ac_source=$1;;
1088 :[FH])
1089 ac_file_inputs=
1090 for ac_f
1091 do
1092 case $ac_f in
1093 -) ac_f="$tmp/stdin";;
1094 *) # Look for the file first in the build tree, then in the source tree
1095 # (if the path is not absolute). The absolute path cannot be DOS-style,
1096 # because $ac_f cannot contain `:'.
1097 test -f "$ac_f" ||
1098 case $ac_f in
1099 [\\/$]*) false;;
1100 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1101 esac ||
1102 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
1103 esac
1104 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1105 as_fn_append ac_file_inputs " '$ac_f'"
1106 done
1108 # Let's still pretend it is `configure' which instantiates (i.e., don't
1109 # use $as_me), people would be surprised to read:
1110 # /* config.h. Generated by config.status. */
1111 configure_input='Generated from '`
1112 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1113 `' by configure.'
1114 if test x"$ac_file" != x-; then
1115 configure_input="$ac_file. $configure_input"
1116 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1117 $as_echo "$as_me: creating $ac_file" >&6;}
1118 fi
1119 # Neutralize special characters interpreted by sed in replacement strings.
1120 case $configure_input in #(
1121 *\&* | *\|* | *\\* )
1122 ac_sed_conf_input=`$as_echo "$configure_input" |
1123 sed 's/[\\\\&|]/\\\\&/g'`;; #(
1124 *) ac_sed_conf_input=$configure_input;;
1125 esac
1127 case $ac_tag in
1128 *:-:* | *:-) cat >"$tmp/stdin" \
1129 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1130 esac
1132 esac
1134 ac_dir=`$as_dirname -- "$ac_file" ||
1135 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1136 X"$ac_file" : 'X\(//\)[^/]' \| \
1137 X"$ac_file" : 'X\(//\)$' \| \
1138 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1139 $as_echo X"$ac_file" |
1140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1141 s//\1/
1142 q
1144 /^X\(\/\/\)[^/].*/{
1145 s//\1/
1146 q
1148 /^X\(\/\/\)$/{
1149 s//\1/
1150 q
1152 /^X\(\/\).*/{
1153 s//\1/
1154 q
1156 s/.*/./; q'`
1157 as_dir="$ac_dir"; as_fn_mkdir_p
1158 ac_builddir=.
1160 case "$ac_dir" in
1161 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1163 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1164 # A ".." for each directory in $ac_dir_suffix.
1165 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1166 case $ac_top_builddir_sub in
1167 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1168 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1169 esac ;;
1170 esac
1171 ac_abs_top_builddir=$ac_pwd
1172 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1173 # for backward compatibility:
1174 ac_top_builddir=$ac_top_build_prefix
1176 case $srcdir in
1177 .) # We are building in place.
1178 ac_srcdir=.
1179 ac_top_srcdir=$ac_top_builddir_sub
1180 ac_abs_top_srcdir=$ac_pwd ;;
1181 [\\/]* | ?:[\\/]* ) # Absolute name.
1182 ac_srcdir=$srcdir$ac_dir_suffix;
1183 ac_top_srcdir=$srcdir
1184 ac_abs_top_srcdir=$srcdir ;;
1185 *) # Relative name.
1186 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1187 ac_top_srcdir=$ac_top_build_prefix$srcdir
1188 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1189 esac
1190 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1193 case $ac_mode in
1194 :F)
1196 # CONFIG_FILE
1199 case $INSTALL in
1200 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1201 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1202 esac
1203 ac_MKDIR_P=$MKDIR_P
1204 case $MKDIR_P in
1205 [\\/$]* | ?:[\\/]* ) ;;
1206 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1207 esac
1208 # If the template does not know about datarootdir, expand it.
1209 # FIXME: This hack should be removed a few years after 2.60.
1210 ac_datarootdir_hack=; ac_datarootdir_seen=
1211 ac_sed_dataroot='
1212 /datarootdir/ {
1213 p
1214 q
1216 /@datadir@/p
1217 /@docdir@/p
1218 /@infodir@/p
1219 /@localedir@/p
1220 /@mandir@/p'
1221 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1222 *datarootdir*) ac_datarootdir_seen=yes;;
1223 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1225 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1226 ac_datarootdir_hack='
1227 s&@datadir@&${datarootdir}&g
1228 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
1229 s&@infodir@&${datarootdir}/info&g
1230 s&@localedir@&${datarootdir}/locale&g
1231 s&@mandir@&${datarootdir}/man&g
1232 s&\${datarootdir}&${prefix}/share&g' ;;
1233 esac
1234 ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
1235 h
1236 s///
1237 s/^/:/
1238 s/[ ]*$/:/
1239 s/:\$(srcdir):/:/g
1240 s/:\${srcdir}:/:/g
1241 s/:@srcdir@:/:/g
1242 s/^:*//
1243 s/:*$//
1244 x
1245 s/\(=[ ]*\).*/\1/
1246 G
1247 s/\n//
1248 s/^[^=]*=[ ]*$//
1251 :t
1252 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1253 s|@configure_input@|$ac_sed_conf_input|;t t
1254 s&@top_builddir@&$ac_top_builddir_sub&;t t
1255 s&@top_build_prefix@&$ac_top_build_prefix&;t t
1256 s&@srcdir@&$ac_srcdir&;t t
1257 s&@abs_srcdir@&$ac_abs_srcdir&;t t
1258 s&@top_srcdir@&$ac_top_srcdir&;t t
1259 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1260 s&@builddir@&$ac_builddir&;t t
1261 s&@abs_builddir@&$ac_abs_builddir&;t t
1262 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1263 s&@INSTALL@&$ac_INSTALL&;t t
1264 s&@MKDIR_P@&$ac_MKDIR_P&;t t
1265 $ac_datarootdir_hack
1267 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
1268 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1270 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1271 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1272 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1274 which seems to be undefined. Please make sure it is defined" >&5
1275 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1276 which seems to be undefined. Please make sure it is defined" >&2;}
1278 rm -f "$tmp/stdin"
1279 case $ac_file in
1280 -) cat "$tmp/out" && rm -f "$tmp/out";;
1281 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1282 esac \
1283 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1285 :H)
1287 # CONFIG_HEADER
1289 if test x"$ac_file" != x-; then
1291 $as_echo "/* $configure_input */" \
1292 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
1293 } >"$tmp/config.h" \
1294 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1295 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
1296 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1297 $as_echo "$as_me: $ac_file is unchanged" >&6;}
1298 else
1299 rm -f "$ac_file"
1300 mv "$tmp/config.h" "$ac_file" \
1301 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1302 fi
1303 else
1304 $as_echo "/* $configure_input */" \
1305 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
1306 || as_fn_error $? "could not create -" "$LINENO" 5
1307 fi
1308 # Compute "$ac_file"'s index in $config_headers.
1309 _am_arg="$ac_file"
1310 _am_stamp_count=1
1311 for _am_header in $config_headers :; do
1312 case $_am_header in
1313 $_am_arg | $_am_arg:* )
1314 break ;;
1316 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1317 esac
1318 done
1319 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
1320 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$_am_arg" : 'X\(//\)[^/]' \| \
1322 X"$_am_arg" : 'X\(//\)$' \| \
1323 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1324 $as_echo X"$_am_arg" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1326 s//\1/
1327 q
1329 /^X\(\/\/\)[^/].*/{
1330 s//\1/
1331 q
1333 /^X\(\/\/\)$/{
1334 s//\1/
1335 q
1337 /^X\(\/\).*/{
1338 s//\1/
1339 q
1341 s/.*/./; q'`/stamp-h$_am_stamp_count
1344 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1345 $as_echo "$as_me: executing $ac_file commands" >&6;}
1347 esac
1350 case $ac_file$ac_mode in
1351 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1352 # Autoconf 2.62 quotes --file arguments for eval, but not when files
1353 # are listed without --file. Let's play safe and only enable the eval
1354 # if we detect the quoting.
1355 case $CONFIG_FILES in
1356 *\'*) eval set x "$CONFIG_FILES" ;;
1357 *) set x $CONFIG_FILES ;;
1358 esac
1359 shift
1360 for mf
1361 do
1362 # Strip MF so we end up with the name of the file.
1363 mf=`echo "$mf" | sed -e 's/:.*$//'`
1364 # Check whether this is an Automake generated Makefile or not.
1365 # We used to match only the files named `Makefile.in', but
1366 # some people rename them; so instead we look at the file content.
1367 # Grep'ing the first line is not enough: some people post-process
1368 # each Makefile.in and add a new line on top of each file to say so.
1369 # Grep'ing the whole file is not good either: AIX grep has a line
1370 # limit of 2048, but all sed's we know have understand at least 4000.
1371 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1372 dirpart=`$as_dirname -- "$mf" ||
1373 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1374 X"$mf" : 'X\(//\)[^/]' \| \
1375 X"$mf" : 'X\(//\)$' \| \
1376 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1377 $as_echo X"$mf" |
1378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1379 s//\1/
1380 q
1382 /^X\(\/\/\)[^/].*/{
1383 s//\1/
1384 q
1386 /^X\(\/\/\)$/{
1387 s//\1/
1388 q
1390 /^X\(\/\).*/{
1391 s//\1/
1392 q
1394 s/.*/./; q'`
1395 else
1396 continue
1397 fi
1398 # Extract the definition of DEPDIR, am__include, and am__quote
1399 # from the Makefile without running `make'.
1400 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1401 test -z "$DEPDIR" && continue
1402 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1403 test -z "am__include" && continue
1404 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1405 # When using ansi2knr, U may be empty or an underscore; expand it
1406 U=`sed -n 's/^U = //p' < "$mf"`
1407 # Find all dependency output files, they are included files with
1408 # $(DEPDIR) in their names. We invoke sed twice because it is the
1409 # simplest approach to changing $(DEPDIR) to its actual value in the
1410 # expansion.
1411 for file in `sed -n "
1412 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1413 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1414 # Make sure the directory exists.
1415 test -f "$dirpart/$file" && continue
1416 fdir=`$as_dirname -- "$file" ||
1417 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1418 X"$file" : 'X\(//\)[^/]' \| \
1419 X"$file" : 'X\(//\)$' \| \
1420 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1421 $as_echo X"$file" |
1422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1423 s//\1/
1424 q
1426 /^X\(\/\/\)[^/].*/{
1427 s//\1/
1428 q
1430 /^X\(\/\/\)$/{
1431 s//\1/
1432 q
1434 /^X\(\/\).*/{
1435 s//\1/
1436 q
1438 s/.*/./; q'`
1439 as_dir=$dirpart/$fdir; as_fn_mkdir_p
1440 # echo "creating $dirpart/$file"
1441 echo '# dummy' > "$dirpart/$file"
1442 done
1443 done
1446 "libtool":C)
1448 # See if we are running on zsh, and set the options which allow our
1449 # commands through without removal of \ escapes.
1450 if test -n "${ZSH_VERSION+set}" ; then
1451 setopt NO_GLOB_SUBST
1452 fi
1454 cfgfile="${ofile}T"
1455 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1456 $RM "$cfgfile"
1458 cat <<_LT_EOF >> "$cfgfile"
1459 #! $SHELL
1461 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1462 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1463 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1464 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1466 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1467 # 2006, 2007, 2008 Free Software Foundation, Inc.
1468 # Written by Gordon Matzigkeit, 1996
1470 # This file is part of GNU Libtool.
1472 # GNU Libtool is free software; you can redistribute it and/or
1473 # modify it under the terms of the GNU General Public License as
1474 # published by the Free Software Foundation; either version 2 of
1475 # the License, or (at your option) any later version.
1477 # As a special exception to the GNU General Public License,
1478 # if you distribute this file as part of a program or library that
1479 # is built using GNU Libtool, you may include this file under the
1480 # same distribution terms that you use for the rest of that program.
1482 # GNU Libtool is distributed in the hope that it will be useful,
1483 # but WITHOUT ANY WARRANTY; without even the implied warranty of
1484 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1485 # GNU General Public License for more details.
1487 # You should have received a copy of the GNU General Public License
1488 # along with GNU Libtool; see the file COPYING. If not, a copy
1489 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1490 # obtained by writing to the Free Software Foundation, Inc.,
1491 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1494 # The names of the tagged configurations supported by this script.
1495 available_tags=""
1497 # ### BEGIN LIBTOOL CONFIG
1499 # Whether or not to build static libraries.
1500 build_old_libs=$enable_static
1502 # Which release of libtool.m4 was used?
1503 macro_version=$macro_version
1504 macro_revision=$macro_revision
1506 # Whether or not to build shared libraries.
1507 build_libtool_libs=$enable_shared
1509 # What type of objects to build.
1510 pic_mode=$pic_mode
1512 # Whether or not to optimize for fast installation.
1513 fast_install=$enable_fast_install
1515 # The host system.
1516 host_alias=$host_alias
1517 host=$host
1518 host_os=$host_os
1520 # The build system.
1521 build_alias=$build_alias
1522 build=$build
1523 build_os=$build_os
1525 # A sed program that does not truncate output.
1526 SED=$lt_SED
1528 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
1529 Xsed="\$SED -e 1s/^X//"
1531 # A grep program that handles long lines.
1532 GREP=$lt_GREP
1534 # An ERE matcher.
1535 EGREP=$lt_EGREP
1537 # A literal string matcher.
1538 FGREP=$lt_FGREP
1540 # A BSD- or MS-compatible name lister.
1541 NM=$lt_NM
1543 # Whether we need soft or hard links.
1544 LN_S=$lt_LN_S
1546 # What is the maximum length of a command?
1547 max_cmd_len=$max_cmd_len
1549 # Object file suffix (normally "o").
1550 objext=$ac_objext
1552 # Executable file suffix (normally "").
1553 exeext=$exeext
1555 # whether the shell understands "unset".
1556 lt_unset=$lt_unset
1558 # turn spaces into newlines.
1559 SP2NL=$lt_lt_SP2NL
1561 # turn newlines into spaces.
1562 NL2SP=$lt_lt_NL2SP
1564 # How to create reloadable object files.
1565 reload_flag=$lt_reload_flag
1566 reload_cmds=$lt_reload_cmds
1568 # An object symbol dumper.
1569 OBJDUMP=$lt_OBJDUMP
1571 # Method to check whether dependent libraries are shared objects.
1572 deplibs_check_method=$lt_deplibs_check_method
1574 # Command to use when deplibs_check_method == "file_magic".
1575 file_magic_cmd=$lt_file_magic_cmd
1577 # The archiver.
1578 AR=$lt_AR
1579 AR_FLAGS=$lt_AR_FLAGS
1581 # A symbol stripping program.
1582 STRIP=$lt_STRIP
1584 # Commands used to install an old-style archive.
1585 RANLIB=$lt_RANLIB
1586 old_postinstall_cmds=$lt_old_postinstall_cmds
1587 old_postuninstall_cmds=$lt_old_postuninstall_cmds
1589 # A C compiler.
1590 LTCC=$lt_CC
1592 # LTCC compiler flags.
1593 LTCFLAGS=$lt_CFLAGS
1595 # Take the output of nm and produce a listing of raw symbols and C names.
1596 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1598 # Transform the output of nm in a proper C declaration.
1599 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1601 # Transform the output of nm in a C name address pair.
1602 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1604 # Transform the output of nm in a C name address pair when lib prefix is needed.
1605 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1607 # The name of the directory that contains temporary libtool files.
1608 objdir=$objdir
1610 # Shell to use when invoking shell scripts.
1611 SHELL=$lt_SHELL
1613 # An echo program that does not interpret backslashes.
1614 ECHO=$lt_ECHO
1616 # Used to examine libraries when file_magic_cmd begins with "file".
1617 MAGIC_CMD=$MAGIC_CMD
1619 # Must we lock files when doing compilation?
1620 need_locks=$lt_need_locks
1622 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1623 DSYMUTIL=$lt_DSYMUTIL
1625 # Tool to change global to local symbols on Mac OS X.
1626 NMEDIT=$lt_NMEDIT
1628 # Tool to manipulate fat objects and archives on Mac OS X.
1629 LIPO=$lt_LIPO
1631 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
1632 OTOOL=$lt_OTOOL
1634 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1635 OTOOL64=$lt_OTOOL64
1637 # Old archive suffix (normally "a").
1638 libext=$libext
1640 # Shared library suffix (normally ".so").
1641 shrext_cmds=$lt_shrext_cmds
1643 # The commands to extract the exported symbol list from a shared archive.
1644 extract_expsyms_cmds=$lt_extract_expsyms_cmds
1646 # Variables whose values should be saved in libtool wrapper scripts and
1647 # restored at link time.
1648 variables_saved_for_relink=$lt_variables_saved_for_relink
1650 # Do we need the "lib" prefix for modules?
1651 need_lib_prefix=$need_lib_prefix
1653 # Do we need a version for libraries?
1654 need_version=$need_version
1656 # Library versioning type.
1657 version_type=$version_type
1659 # Shared library runtime path variable.
1660 runpath_var=$runpath_var
1662 # Shared library path variable.
1663 shlibpath_var=$shlibpath_var
1665 # Is shlibpath searched before the hard-coded library search path?
1666 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1668 # Format of library name prefix.
1669 libname_spec=$lt_libname_spec
1671 # List of archive names. First name is the real one, the rest are links.
1672 # The last name is the one that the linker finds with -lNAME
1673 library_names_spec=$lt_library_names_spec
1675 # The coded name of the library, if different from the real name.
1676 soname_spec=$lt_soname_spec
1678 # Command to use after installation of a shared archive.
1679 postinstall_cmds=$lt_postinstall_cmds
1681 # Command to use after uninstallation of a shared archive.
1682 postuninstall_cmds=$lt_postuninstall_cmds
1684 # Commands used to finish a libtool library installation in a directory.
1685 finish_cmds=$lt_finish_cmds
1687 # As "finish_cmds", except a single script fragment to be evaled but
1688 # not shown.
1689 finish_eval=$lt_finish_eval
1691 # Whether we should hardcode library paths into libraries.
1692 hardcode_into_libs=$hardcode_into_libs
1694 # Compile-time system search path for libraries.
1695 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1697 # Run-time system search path for libraries.
1698 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1700 # Whether dlopen is supported.
1701 dlopen_support=$enable_dlopen
1703 # Whether dlopen of programs is supported.
1704 dlopen_self=$enable_dlopen_self
1706 # Whether dlopen of statically linked programs is supported.
1707 dlopen_self_static=$enable_dlopen_self_static
1709 # Commands to strip libraries.
1710 old_striplib=$lt_old_striplib
1711 striplib=$lt_striplib
1714 # The linker used to build libraries.
1715 LD=$lt_LD
1717 # Commands used to build an old-style archive.
1718 old_archive_cmds=$lt_old_archive_cmds
1720 # A language specific compiler.
1721 CC=$lt_compiler
1723 # Is the compiler the GNU compiler?
1724 with_gcc=$GCC
1726 # Compiler flag to turn off builtin functions.
1727 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1729 # How to pass a linker flag through the compiler.
1730 wl=$lt_lt_prog_compiler_wl
1732 # Additional compiler flags for building library objects.
1733 pic_flag=$lt_lt_prog_compiler_pic
1735 # Compiler flag to prevent dynamic linking.
1736 link_static_flag=$lt_lt_prog_compiler_static
1738 # Does compiler simultaneously support -c and -o options?
1739 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1741 # Whether or not to add -lc for building shared libraries.
1742 build_libtool_need_lc=$archive_cmds_need_lc
1744 # Whether or not to disallow shared libs when runtime libs are static.
1745 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1747 # Compiler flag to allow reflexive dlopens.
1748 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1750 # Compiler flag to generate shared objects directly from archives.
1751 whole_archive_flag_spec=$lt_whole_archive_flag_spec
1753 # Whether the compiler copes with passing no objects directly.
1754 compiler_needs_object=$lt_compiler_needs_object
1756 # Create an old-style archive from a shared archive.
1757 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1759 # Create a temporary old-style archive to link instead of a shared archive.
1760 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1762 # Commands used to build a shared archive.
1763 archive_cmds=$lt_archive_cmds
1764 archive_expsym_cmds=$lt_archive_expsym_cmds
1766 # Commands used to build a loadable module if different from building
1767 # a shared archive.
1768 module_cmds=$lt_module_cmds
1769 module_expsym_cmds=$lt_module_expsym_cmds
1771 # Whether we are building with GNU ld or not.
1772 with_gnu_ld=$lt_with_gnu_ld
1774 # Flag that allows shared libraries with undefined symbols to be built.
1775 allow_undefined_flag=$lt_allow_undefined_flag
1777 # Flag that enforces no undefined symbols.
1778 no_undefined_flag=$lt_no_undefined_flag
1780 # Flag to hardcode \$libdir into a binary during linking.
1781 # This must work even if \$libdir does not exist
1782 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1784 # If ld is used when linking, flag to hardcode \$libdir into a binary
1785 # during linking. This must work even if \$libdir does not exist.
1786 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1788 # Whether we need a single "-rpath" flag with a separated argument.
1789 hardcode_libdir_separator=$lt_hardcode_libdir_separator
1791 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1792 # DIR into the resulting binary.
1793 hardcode_direct=$hardcode_direct
1795 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1796 # DIR into the resulting binary and the resulting library dependency is
1797 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
1798 # library is relocated.
1799 hardcode_direct_absolute=$hardcode_direct_absolute
1801 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
1802 # into the resulting binary.
1803 hardcode_minus_L=$hardcode_minus_L
1805 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
1806 # into the resulting binary.
1807 hardcode_shlibpath_var=$hardcode_shlibpath_var
1809 # Set to "yes" if building a shared library automatically hardcodes DIR
1810 # into the library and all subsequent libraries and executables linked
1811 # against it.
1812 hardcode_automatic=$hardcode_automatic
1814 # Set to yes if linker adds runtime paths of dependent libraries
1815 # to runtime path list.
1816 inherit_rpath=$inherit_rpath
1818 # Whether libtool must link a program against all its dependency libraries.
1819 link_all_deplibs=$link_all_deplibs
1821 # Fix the shell variable \$srcfile for the compiler.
1822 fix_srcfile_path=$lt_fix_srcfile_path
1824 # Set to "yes" if exported symbols are required.
1825 always_export_symbols=$always_export_symbols
1827 # The commands to list exported symbols.
1828 export_symbols_cmds=$lt_export_symbols_cmds
1830 # Symbols that should not be listed in the preloaded symbols.
1831 exclude_expsyms=$lt_exclude_expsyms
1833 # Symbols that must always be exported.
1834 include_expsyms=$lt_include_expsyms
1836 # Commands necessary for linking programs (against libraries) with templates.
1837 prelink_cmds=$lt_prelink_cmds
1839 # Specify filename containing input files.
1840 file_list_spec=$lt_file_list_spec
1842 # How to hardcode a shared library path into an executable.
1843 hardcode_action=$hardcode_action
1845 # ### END LIBTOOL CONFIG
1847 _LT_EOF
1849 case $host_os in
1850 aix3*)
1851 cat <<\_LT_EOF >> "$cfgfile"
1852 # AIX sometimes has problems with the GCC collect2 program. For some
1853 # reason, if we set the COLLECT_NAMES environment variable, the problems
1854 # vanish in a puff of smoke.
1855 if test "X${COLLECT_NAMES+set}" != Xset; then
1856 COLLECT_NAMES=
1857 export COLLECT_NAMES
1858 fi
1859 _LT_EOF
1861 esac
1864 ltmain="$ac_aux_dir/ltmain.sh"
1867 # We use sed instead of cat because bash on DJGPP gets confused if
1868 # if finds mixed CR/LF and LF-only lines. Since sed operates in
1869 # text mode, it properly converts lines to CR/LF. This bash problem
1870 # is reportedly fixed, but why not run on old versions too?
1871 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
1872 || (rm -f "$cfgfile"; exit 1)
1874 case $xsi_shell in
1875 yes)
1876 cat << \_LT_EOF >> "$cfgfile"
1878 # func_dirname file append nondir_replacement
1879 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
1880 # otherwise set result to NONDIR_REPLACEMENT.
1881 func_dirname ()
1883 case ${1} in
1884 */*) func_dirname_result="${1%/*}${2}" ;;
1885 * ) func_dirname_result="${3}" ;;
1886 esac
1889 # func_basename file
1890 func_basename ()
1892 func_basename_result="${1##*/}"
1895 # func_dirname_and_basename file append nondir_replacement
1896 # perform func_basename and func_dirname in a single function
1897 # call:
1898 # dirname: Compute the dirname of FILE. If nonempty,
1899 # add APPEND to the result, otherwise set result
1900 # to NONDIR_REPLACEMENT.
1901 # value returned in "$func_dirname_result"
1902 # basename: Compute filename of FILE.
1903 # value retuned in "$func_basename_result"
1904 # Implementation must be kept synchronized with func_dirname
1905 # and func_basename. For efficiency, we do not delegate to
1906 # those functions but instead duplicate the functionality here.
1907 func_dirname_and_basename ()
1909 case ${1} in
1910 */*) func_dirname_result="${1%/*}${2}" ;;
1911 * ) func_dirname_result="${3}" ;;
1912 esac
1913 func_basename_result="${1##*/}"
1916 # func_stripname prefix suffix name
1917 # strip PREFIX and SUFFIX off of NAME.
1918 # PREFIX and SUFFIX must not contain globbing or regex special
1919 # characters, hashes, percent signs, but SUFFIX may contain a leading
1920 # dot (in which case that matches only a dot).
1921 func_stripname ()
1923 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
1924 # positional parameters, so assign one to ordinary parameter first.
1925 func_stripname_result=${3}
1926 func_stripname_result=${func_stripname_result#"${1}"}
1927 func_stripname_result=${func_stripname_result%"${2}"}
1930 # func_opt_split
1931 func_opt_split ()
1933 func_opt_split_opt=${1%%=*}
1934 func_opt_split_arg=${1#*=}
1937 # func_lo2o object
1938 func_lo2o ()
1940 case ${1} in
1941 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
1942 *) func_lo2o_result=${1} ;;
1943 esac
1946 # func_xform libobj-or-source
1947 func_xform ()
1949 func_xform_result=${1%.*}.lo
1952 # func_arith arithmetic-term...
1953 func_arith ()
1955 func_arith_result=$(( $* ))
1958 # func_len string
1959 # STRING may not start with a hyphen.
1960 func_len ()
1962 func_len_result=${#1}
1965 _LT_EOF
1967 *) # Bourne compatible functions.
1968 cat << \_LT_EOF >> "$cfgfile"
1970 # func_dirname file append nondir_replacement
1971 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
1972 # otherwise set result to NONDIR_REPLACEMENT.
1973 func_dirname ()
1975 # Extract subdirectory from the argument.
1976 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
1977 if test "X$func_dirname_result" = "X${1}"; then
1978 func_dirname_result="${3}"
1979 else
1980 func_dirname_result="$func_dirname_result${2}"
1981 fi
1984 # func_basename file
1985 func_basename ()
1987 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
1991 # func_stripname prefix suffix name
1992 # strip PREFIX and SUFFIX off of NAME.
1993 # PREFIX and SUFFIX must not contain globbing or regex special
1994 # characters, hashes, percent signs, but SUFFIX may contain a leading
1995 # dot (in which case that matches only a dot).
1996 # func_strip_suffix prefix name
1997 func_stripname ()
1999 case ${2} in
2000 .*) func_stripname_result=`$ECHO "X${3}" \
2001 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
2002 *) func_stripname_result=`$ECHO "X${3}" \
2003 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
2004 esac
2007 # sed scripts:
2008 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
2009 my_sed_long_arg='1s/^-[^=]*=//'
2011 # func_opt_split
2012 func_opt_split ()
2014 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
2015 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
2018 # func_lo2o object
2019 func_lo2o ()
2021 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
2024 # func_xform libobj-or-source
2025 func_xform ()
2027 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
2030 # func_arith arithmetic-term...
2031 func_arith ()
2033 func_arith_result=`expr "$@"`
2036 # func_len string
2037 # STRING may not start with a hyphen.
2038 func_len ()
2040 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
2043 _LT_EOF
2044 esac
2046 case $lt_shell_append in
2047 yes)
2048 cat << \_LT_EOF >> "$cfgfile"
2050 # func_append var value
2051 # Append VALUE to the end of shell variable VAR.
2052 func_append ()
2054 eval "$1+=\$2"
2056 _LT_EOF
2059 cat << \_LT_EOF >> "$cfgfile"
2061 # func_append var value
2062 # Append VALUE to the end of shell variable VAR.
2063 func_append ()
2065 eval "$1=\$$1\$2"
2068 _LT_EOF
2070 esac
2073 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
2074 || (rm -f "$cfgfile"; exit 1)
2076 mv -f "$cfgfile" "$ofile" ||
2077 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
2078 chmod +x "$ofile"
2082 esac
2083 done # for ac_tag
2086 as_fn_exit 0