Annotation of embedaddon/ipsec-tools/config.status, revision 1.1.1.1.2.3.2.1
1.1 misho 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.
6:
7: debug=false
8: ac_cs_recheck=false
9: ac_cs_silent=false
10:
11: SHELL=${CONFIG_SHELL-/bin/sh}
12: export SHELL
13: ## -------------------- ##
14: ## M4sh Initialization. ##
15: ## -------------------- ##
16:
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: *) :
31: ;;
32: esac
33: fi
34:
35:
36: as_nl='
37: '
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"
66: '
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
73:
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=';'
80: }
81: fi
82:
83:
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"
90:
91: # Find who we are. Look in the path if we contain no directory separator.
1.1.1.1.2.3.2 1(misho 92:4): as_myself=
1.1 misho 93: case $0 in #((
94: *[\\/]* ) as_myself=$0 ;;
95: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96: for as_dir in $PATH
97: do
98: IFS=$as_save_IFS
99: test -z "$as_dir" && as_dir=.
100: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101: done
102: IFS=$as_save_IFS
103:
104: ;;
105: esac
106: # We did not find ourselves, most probably we were run as `sh COMMAND'
107: # in which case we are not to be found in the path.
108: if test "x$as_myself" = x; then
109: as_myself=$0
110: fi
111: if test ! -f "$as_myself"; then
112: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113: exit 1
114: fi
115:
116: # Unset variables that we do not need and which cause bugs (e.g. in
117: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118: # suppresses any "Segmentation fault" message there. '((' could
119: # trigger a bug in pdksh 5.2.14.
120: for as_var in BASH_ENV ENV MAIL MAILPATH
121: do eval test x\${$as_var+set} = xset \
122: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123: done
124: PS1='$ '
125: PS2='> '
126: PS4='+ '
127:
128: # NLS nuisances.
129: LC_ALL=C
130: export LC_ALL
131: LANGUAGE=C
132: export LANGUAGE
133:
134: # CDPATH.
135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136:
137:
138: # as_fn_error STATUS ERROR [LINENO LOG_FD]
139: # ----------------------------------------
140: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
141: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
142: # script with STATUS, using 1 if that was 0.
143: as_fn_error ()
144: {
145: as_status=$1; test $as_status -eq 0 && as_status=1
146: if test "$4"; then
147: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
148: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
149: fi
150: $as_echo "$as_me: error: $2" >&2
151: as_fn_exit $as_status
152: } # as_fn_error
153:
154:
155: # as_fn_set_status STATUS
156: # -----------------------
157: # Set $? to STATUS, without forking.
158: as_fn_set_status ()
159: {
160: return $1
161: } # as_fn_set_status
162:
163: # as_fn_exit STATUS
164: # -----------------
165: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
166: as_fn_exit ()
167: {
168: set +e
169: as_fn_set_status $1
170: exit $1
171: } # as_fn_exit
172:
173: # as_fn_unset VAR
174: # ---------------
175: # Portably unset VAR.
176: as_fn_unset ()
177: {
178: { eval $1=; unset $1;}
179: }
180: as_unset=as_fn_unset
181: # as_fn_append VAR VALUE
182: # ----------------------
183: # Append the text in VALUE to the end of the definition contained in VAR. Take
184: # advantage of any shell optimizations that allow amortized linear growth over
185: # repeated appends, instead of the typical quadratic growth present in naive
186: # implementations.
187: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
188: eval 'as_fn_append ()
189: {
190: eval $1+=\$2
191: }'
192: else
193: as_fn_append ()
194: {
195: eval $1=\$$1\$2
196: }
197: fi # as_fn_append
198:
199: # as_fn_arith ARG...
200: # ------------------
201: # Perform arithmetic evaluation on the ARGs, and store the result in the
202: # global $as_val. Take advantage of shells that can avoid forks. The arguments
203: # must be portable across $(()) and expr.
204: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
205: eval 'as_fn_arith ()
206: {
207: as_val=$(( $* ))
208: }'
209: else
210: as_fn_arith ()
211: {
212: as_val=`expr "$@" || test $? -eq 1`
213: }
214: fi # as_fn_arith
215:
216:
217: if expr a : '\(a\)' >/dev/null 2>&1 &&
218: test "X`expr 00001 : '.*\(...\)'`" = X001; then
219: as_expr=expr
220: else
221: as_expr=false
222: fi
223:
224: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
225: as_basename=basename
226: else
227: as_basename=false
228: fi
229:
230: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
231: as_dirname=dirname
232: else
233: as_dirname=false
234: fi
235:
236: as_me=`$as_basename -- "$0" ||
237: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
238: X"$0" : 'X\(//\)$' \| \
239: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
240: $as_echo X/"$0" |
241: sed '/^.*\/\([^/][^/]*\)\/*$/{
242: s//\1/
243: q
244: }
245: /^X\/\(\/\/\)$/{
246: s//\1/
247: q
248: }
249: /^X\/\(\/\).*/{
250: s//\1/
251: q
252: }
253: s/.*/./; q'`
254:
255: # Avoid depending upon Character Ranges.
256: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
257: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
258: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
259: as_cr_digits='0123456789'
260: as_cr_alnum=$as_cr_Letters$as_cr_digits
261:
262: ECHO_C= ECHO_N= ECHO_T=
263: case `echo -n x` in #(((((
264: -n*)
265: case `echo 'xy\c'` in
266: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
267: xy) ECHO_C='\c';;
268: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
269: ECHO_T=' ';;
270: esac;;
271: *)
272: ECHO_N='-n';;
273: esac
274:
275: rm -f conf$$ conf$$.exe conf$$.file
276: if test -d conf$$.dir; then
277: rm -f conf$$.dir/conf$$.file
278: else
279: rm -f conf$$.dir
280: mkdir conf$$.dir 2>/dev/null
281: fi
282: if (echo >conf$$.file) 2>/dev/null; then
283: if ln -s conf$$.file conf$$ 2>/dev/null; then
284: as_ln_s='ln -s'
285: # ... but there are two gotchas:
286: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
287: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.1.2.3.2 1(misho 288:4): # In both cases, we have to default to `cp -pR'.
1.1 misho 289: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.1.2.3.2 1(misho 290:4): as_ln_s='cp -pR'
1.1 misho 291: elif ln conf$$.file conf$$ 2>/dev/null; then
292: as_ln_s=ln
293: else
1.1.1.1.2.3.2 1(misho 294:4): as_ln_s='cp -pR'
1.1 misho 295: fi
296: else
1.1.1.1.2.3.2 1(misho 297:4): as_ln_s='cp -pR'
1.1 misho 298: fi
299: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
300: rmdir conf$$.dir 2>/dev/null
301:
302:
303: # as_fn_mkdir_p
304: # -------------
305: # Create "$as_dir" as a directory, including parents if necessary.
306: as_fn_mkdir_p ()
307: {
308:
309: case $as_dir in #(
310: -*) as_dir=./$as_dir;;
311: esac
312: test -d "$as_dir" || eval $as_mkdir_p || {
313: as_dirs=
314: while :; do
315: case $as_dir in #(
316: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
317: *) as_qdir=$as_dir;;
318: esac
319: as_dirs="'$as_qdir' $as_dirs"
320: as_dir=`$as_dirname -- "$as_dir" ||
321: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
322: X"$as_dir" : 'X\(//\)[^/]' \| \
323: X"$as_dir" : 'X\(//\)$' \| \
324: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
325: $as_echo X"$as_dir" |
326: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327: s//\1/
328: q
329: }
330: /^X\(\/\/\)[^/].*/{
331: s//\1/
332: q
333: }
334: /^X\(\/\/\)$/{
335: s//\1/
336: q
337: }
338: /^X\(\/\).*/{
339: s//\1/
340: q
341: }
342: s/.*/./; q'`
343: test -d "$as_dir" && break
344: done
345: test -z "$as_dirs" || eval "mkdir $as_dirs"
346: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
347:
348:
349: } # as_fn_mkdir_p
350: if mkdir -p . 2>/dev/null; then
351: as_mkdir_p='mkdir -p "$as_dir"'
352: else
353: test -d ./-p && rmdir ./-p
354: as_mkdir_p=false
355: fi
356:
1.1.1.1.2.3.2 1(misho 357:4):
358:4): # as_fn_executable_p FILE
359:4): # -----------------------
360:4): # Test if FILE is an executable regular file.
361:4): as_fn_executable_p ()
362:4): {
363:4): test -f "$1" && test -x "$1"
364:4): } # as_fn_executable_p
365:4): as_test_x='test -x'
366:4): as_executable_p=as_fn_executable_p
1.1 misho 367:
368: # Sed expression to map a string onto a valid CPP name.
369: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
370:
371: # Sed expression to map a string onto a valid variable name.
372: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
373:
374:
375: exec 6>&1
376: ## ----------------------------------- ##
377: ## Main body of $CONFIG_STATUS script. ##
378: ## ----------------------------------- ##
379: # Save the log message, to keep $0 and so on meaningful, and to
380: # report actual input values of CONFIG_FILES etc. instead of their
381: # values after options handling.
382: ac_log="
1.1.1.1.2.3.2 1(misho 383:4): This file was extended by ipsec-tools $as_me 0.8.1, which was
384:4): generated by GNU Autoconf 2.69. Invocation command line was
1.1 misho 385:
386: CONFIG_FILES = $CONFIG_FILES
387: CONFIG_HEADERS = $CONFIG_HEADERS
388: CONFIG_LINKS = $CONFIG_LINKS
389: CONFIG_COMMANDS = $CONFIG_COMMANDS
390: $ $0 $@
391:
392: on `(hostname || uname -n) 2>/dev/null | sed 1q`
393: "
394:
395: # Files that config.status was made for.
396: config_files=" Makefile package_version.h src/Makefile src/include-glibc/Makefile src/libipsec/Makefile src/setkey/Makefile src/racoon/Makefile src/racoon/samples/psk.txt src/racoon/samples/racoon.conf rpm/Makefile rpm/suse/Makefile rpm/suse/ipsec-tools.spec"
397: config_headers=" config.h"
398: config_commands=" depfiles libtool"
399:
400: ac_cs_usage="\
401: \`$as_me' instantiates files and other configuration actions
402: from templates according to the current configuration. Unless the files
403: and actions are specified as TAGs, all are instantiated by default.
404:
405: Usage: $0 [OPTION]... [TAG]...
406:
407: -h, --help print this help, then exit
408: -V, --version print version number and configuration settings, then exit
409: --config print configuration, then exit
410: -q, --quiet, --silent
411: do not print progress messages
412: -d, --debug don't remove temporary files
413: --recheck update $as_me by reconfiguring in the same conditions
414: --file=FILE[:TEMPLATE]
415: instantiate the configuration file FILE
416: --header=FILE[:TEMPLATE]
417: instantiate the configuration header FILE
418:
419: Configuration files:
420: $config_files
421:
422: Configuration headers:
423: $config_headers
424:
425: Configuration commands:
426: $config_commands
427:
428: Report bugs to the package provider."
429:
1.1.1.1.2.3.2 1(misho 430:4): ac_cs_config=""
1.1 misho 431: ac_cs_version="\
1.1.1.1.2.3.2 1(misho 432:4): ipsec-tools config.status 0.8.1
433:4): configured by ./configure, generated by GNU Autoconf 2.69,
1.1 misho 434: with options \"$ac_cs_config\"
435:
1.1.1.1.2.3.2 1(misho 436:4): Copyright (C) 2012 Free Software Foundation, Inc.
1.1 misho 437: This config.status script is free software; the Free Software Foundation
438: gives unlimited permission to copy, distribute and modify it."
439:
1.1.1.1.2.1 misho 440: ac_pwd='/home/misho/work/embedaddon/ipsec-tools'
1.1 misho 441: srcdir='.'
1.1.1.1.2.3.2 1(misho 442:4): INSTALL='/usr/bin/install -c'
1.1 misho 443: MKDIR_P='./install-sh -c -d'
444: AWK='gawk'
445: test -n "$AWK" || AWK=awk
446: # The default lists apply if the user does not specify any file.
447: ac_need_defaults=:
448: while test $# != 0
449: do
450: case $1 in
451: --*=?*)
452: ac_option=`expr "X$1" : 'X\([^=]*\)='`
453: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
454: ac_shift=:
455: ;;
456: --*=)
457: ac_option=`expr "X$1" : 'X\([^=]*\)='`
458: ac_optarg=
459: ac_shift=:
460: ;;
461: *)
462: ac_option=$1
463: ac_optarg=$2
464: ac_shift=shift
465: ;;
466: esac
467:
468: case $ac_option in
469: # Handling of the options.
470: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
471: ac_cs_recheck=: ;;
472: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
473: $as_echo "$ac_cs_version"; exit ;;
474: --config | --confi | --conf | --con | --co | --c )
475: $as_echo "$ac_cs_config"; exit ;;
476: --debug | --debu | --deb | --de | --d | -d )
477: debug=: ;;
478: --file | --fil | --fi | --f )
479: $ac_shift
480: case $ac_optarg in
481: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
482: '') as_fn_error $? "missing file argument" ;;
483: esac
484: as_fn_append CONFIG_FILES " '$ac_optarg'"
485: ac_need_defaults=false;;
486: --header | --heade | --head | --hea )
487: $ac_shift
488: case $ac_optarg in
489: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
490: esac
491: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
492: ac_need_defaults=false;;
493: --he | --h)
494: # Conflict between --help and --header
495: as_fn_error $? "ambiguous option: \`$1'
496: Try \`$0 --help' for more information.";;
497: --help | --hel | -h )
498: $as_echo "$ac_cs_usage"; exit ;;
499: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500: | -silent | --silent | --silen | --sile | --sil | --si | --s)
501: ac_cs_silent=: ;;
502:
503: # This is an error.
504: -*) as_fn_error $? "unrecognized option: \`$1'
505: Try \`$0 --help' for more information." ;;
506:
507: *) as_fn_append ac_config_targets " $1"
508: ac_need_defaults=false ;;
509:
510: esac
511: shift
512: done
513:
514: ac_configure_extra_args=
515:
516: if $ac_cs_silent; then
517: exec 6>/dev/null
518: ac_configure_extra_args="$ac_configure_extra_args --silent"
519: fi
520:
521: if $ac_cs_recheck; then
1.1.1.1.2.3.2 1(misho 522:4): set X /bin/sh './configure' $ac_configure_extra_args --no-create --no-recursion
1.1 misho 523: shift
524: $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
525: CONFIG_SHELL='/bin/sh'
526: export CONFIG_SHELL
527: exec "$@"
528: fi
529:
530: exec 5>>config.log
531: {
532: echo
533: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
534: ## Running $as_me. ##
535: _ASBOX
536: $as_echo "$ac_log"
537: } >&5
538:
539: #
540: # INIT-COMMANDS
541: #
542: AMDEP_TRUE="" ac_aux_dir="."
543:
544:
545: # The HP-UX ksh and POSIX shell print the target directory to stdout
546: # if CDPATH is set.
547: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
548:
549: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
550: double_quote_subst='s/\(["`\\]\)/\\\1/g'
551: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.1.1.1.2.3.2 1(misho 552:4): enable_shared='no'
553:4): macro_version='2.4.2'
554:4): macro_revision='1.3337'
1.1 misho 555: enable_static='yes'
556: pic_mode='default'
557: enable_fast_install='needless'
1.1.1.1.2.3.2 1(misho 558:4): SHELL='/bin/sh'
559:4): ECHO='printf %s\n'
560:4): PATH_SEPARATOR=':'
1.1 misho 561: host_alias=''
1.1.1.1.2.3.2 1(misho 562:4): host='i386-unknown-freebsd11.0'
563:4): host_os='freebsd11.0'
564:4): build_alias=''
565:4): build='i386-unknown-freebsd11.0'
566:4): build_os='freebsd11.0'
1.1 misho 567: SED='/usr/bin/sed'
568: Xsed='/usr/bin/sed -e 1s/^X//'
569: GREP='/usr/bin/grep'
570: EGREP='/usr/bin/grep -E'
571: FGREP='/usr/bin/grep -F'
1.1.1.1.2.3.2 1(misho 572:4): LD='/usr/bin/ld'
573:4): NM='/usr/bin/nm -B'
1.1 misho 574: LN_S='ln -s'
1.1.1.1.2.1 misho 575: max_cmd_len='196608'
1.1 misho 576: ac_objext='o'
577: exeext=''
578: lt_unset='unset'
579: lt_SP2NL='tr \040 \012'
580: lt_NL2SP='tr \015\012 \040\040'
1.1.1.1.2.3.2 1(misho 581:4): lt_cv_to_host_file_cmd='func_convert_file_noop'
582:4): lt_cv_to_tool_file_cmd='func_convert_file_noop'
1.1 misho 583: reload_flag=' -r'
584: reload_cmds='$LD$reload_flag -o $output$reload_objs'
585: OBJDUMP='objdump'
586: deplibs_check_method='pass_all'
587: file_magic_cmd='$MAGIC_CMD'
1.1.1.1.2.3.2 1(misho 588:4): file_magic_glob=''
589:4): want_nocaseglob='no'
590:4): DLLTOOL='false'
591:4): sharedlib_from_linklib_cmd='printf %s\n'
1.1 misho 592: AR='ar'
593: AR_FLAGS='cru'
1.1.1.1.2.3.2 1(misho 594:4): archiver_list_spec=''
1.1 misho 595: STRIP='strip'
596: RANLIB='ranlib'
1.1.1.1.2.3.2 1(misho 597:4): old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
1.1 misho 598: old_postuninstall_cmds=''
1.1.1.1.2.3.2 1(misho 599:4): old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
600:4): lock_old_archive_extraction='no'
601:4): CC='cc'
1.1.1.1.2.1 misho 602: CFLAGS='-g -O2 -Wall -Werror -Wno-unused'
1.1.1.1.2.3.2 1(misho 603:4): compiler='cc'
1.1 misho 604: GCC='yes'
1.1.1.1.2.3.2 1(misho 605:4): lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
1.1 misho 606: lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
1.1.1.1.2.3.2 1(misho 607:4): 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:4): 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:4): nm_file_list_spec='@'
610:4): lt_sysroot=''
1.1 misho 611: objdir='.libs'
612: MAGIC_CMD='file'
1.1.1.1.2.3 misho 613: lt_prog_compiler_no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
1.1 misho 614: lt_prog_compiler_pic=' -fPIC -DPIC'
1.1.1.1.2.3.2 1(misho 615:4): lt_prog_compiler_wl='-Wl,'
1.1 misho 616: lt_prog_compiler_static='-static'
617: lt_cv_prog_compiler_c_o='yes'
618: need_locks='no'
1.1.1.1.2.3.2 1(misho 619:4): MANIFEST_TOOL=':'
1.1 misho 620: DSYMUTIL=''
621: NMEDIT=''
622: LIPO=''
623: OTOOL=''
624: OTOOL64=''
625: libext='a'
626: shrext_cmds='.so'
627: extract_expsyms_cmds=''
1.1.1.1.2.3.2 1(misho 628:4): archive_cmds_need_lc='yes'
1.1 misho 629: enable_shared_with_static_runtimes='no'
630: export_dynamic_flag_spec='${wl}--export-dynamic'
631: whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
632: compiler_needs_object='no'
633: old_archive_from_new_cmds=''
634: old_archive_from_expsyms_cmds=''
1.1.1.1.2.3.2 1(misho 635:4): archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
636:4): archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.1 misho 637: module_cmds=''
638: module_expsym_cmds=''
639: with_gnu_ld='yes'
640: allow_undefined_flag=''
641: no_undefined_flag=''
642: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
643: hardcode_libdir_separator=''
644: hardcode_direct='no'
645: hardcode_direct_absolute='no'
646: hardcode_minus_L='no'
647: hardcode_shlibpath_var='unsupported'
648: hardcode_automatic='no'
649: inherit_rpath='no'
650: link_all_deplibs='unknown'
651: always_export_symbols='no'
652: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
653: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
654: include_expsyms=''
655: prelink_cmds=''
1.1.1.1.2.3.2 1(misho 656:4): postlink_cmds=''
1.1 misho 657: file_list_spec=''
658: variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
659: need_lib_prefix='no'
660: need_version='no'
661: version_type='freebsd-elf'
662: runpath_var='LD_RUN_PATH'
663: shlibpath_var='LD_LIBRARY_PATH'
664: shlibpath_overrides_runpath='yes'
665: libname_spec='lib$name'
666: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
667: soname_spec=''
1.1.1.1.2.3.2 1(misho 668:4): install_override_mode=''
1.1 misho 669: postinstall_cmds=''
670: postuninstall_cmds=''
671: finish_cmds=''
672: finish_eval=''
673: hardcode_into_libs='yes'
1.1.1.1.2.3.2 1(misho 674:4): sys_lib_search_path_spec='/usr/lib '
1.1 misho 675: sys_lib_dlsearch_path_spec='/lib /usr/lib'
676: hardcode_action='immediate'
677: enable_dlopen='unknown'
678: enable_dlopen_self='unknown'
679: enable_dlopen_self_static='unknown'
680: old_striplib='strip --strip-debug'
681: striplib='strip --strip-unneeded'
682:
1.1.1.1.2.3.2 1(misho 683:4): LTCC='cc'
1.1.1.1.2.1 misho 684: LTCFLAGS='-g -O2'
1.1.1.1.2.3.2 1(misho 685:4): compiler='cc'
686:4):
687:4): # A function that is used when there is no print builtin or printf.
688:4): func_fallback_echo ()
689:4): {
690:4): eval 'cat <<_LTECHO_EOF
691:4): $1
692:4): _LTECHO_EOF'
693:4): }
1.1 misho 694:
695: # Quote evaled strings.
1.1.1.1.2.3.2 1(misho 696:4): for var in SHELL ECHO PATH_SEPARATOR SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd file_magic_glob want_nocaseglob DLLTOOL sharedlib_from_linklib_cmd AR AR_FLAGS archiver_list_spec 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 nm_file_list_spec lt_prog_compiler_no_builtin_flag lt_prog_compiler_pic lt_prog_compiler_wl lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks MANIFEST_TOOL 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_separator exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec install_override_mode finish_eval old_striplib striplib; do
697:4): case `eval \\$ECHO \\""\\$$var"\\"` in
1.1 misho 698: *[\\\`\"\$]*)
1.1.1.1.2.3.2 1(misho 699:4): eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\""
1.1 misho 700: ;;
701: *)
702: eval "lt_$var=\\\"\$$var\\\""
703: ;;
704: esac
705: done
706:
707: # Double-quote double-evaled strings.
1.1.1.1.2.3.2 1(misho 708:4): 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 postlink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec; do
709:4): case `eval \\$ECHO \\""\\$$var"\\"` in
1.1 misho 710: *[\\\`\"\$]*)
1.1.1.1.2.3.2 1(misho 711:4): eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.1 misho 712: ;;
713: *)
714: eval "lt_$var=\\\"\$$var\\\""
715: ;;
716: esac
717: done
718:
719: ac_aux_dir='.'
720: xsi_shell='yes'
721: lt_shell_append='no'
722:
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
728:
729:
730: PACKAGE='ipsec-tools'
1.1.1.1.2.3.2 1(misho 731:4): VERSION='0.8.1'
1.1 misho 732: TIMESTAMP=''
733: RM='rm -f'
734: ofile='libtool'
735:
736:
737:
738:
739:
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: "package_version.h") CONFIG_FILES="$CONFIG_FILES package_version.h" ;;
749: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
750: "src/include-glibc/Makefile") CONFIG_FILES="$CONFIG_FILES src/include-glibc/Makefile" ;;
751: "src/libipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/libipsec/Makefile" ;;
752: "src/setkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/setkey/Makefile" ;;
753: "src/racoon/Makefile") CONFIG_FILES="$CONFIG_FILES src/racoon/Makefile" ;;
754: "src/racoon/samples/psk.txt") CONFIG_FILES="$CONFIG_FILES src/racoon/samples/psk.txt" ;;
755: "src/racoon/samples/racoon.conf") CONFIG_FILES="$CONFIG_FILES src/racoon/samples/racoon.conf" ;;
756: "rpm/Makefile") CONFIG_FILES="$CONFIG_FILES rpm/Makefile" ;;
757: "rpm/suse/Makefile") CONFIG_FILES="$CONFIG_FILES rpm/suse/Makefile" ;;
758: "rpm/suse/ipsec-tools.spec") CONFIG_FILES="$CONFIG_FILES rpm/suse/ipsec-tools.spec" ;;
759:
1.1.1.1.2.3.2 1(misho 760:4): *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1 misho 761: esac
762: done
763:
764:
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
774:
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 ||
782: {
1.1.1.1.2.3.2 1(misho 783:4): tmp= ac_tmp=
1.1 misho 784: trap 'exit_status=$?
1.1.1.1.2.3.2 1(misho 785:4): : "${ac_tmp:=$tmp}"
786:4): { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1.1 misho 787: ' 0
788: trap 'as_fn_exit 1' 1 2 13 15
789: }
790: # Create a (secure) tmp directory for tmp files.
791:
792: {
793: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.1.1.1.2.3.2 1(misho 794:4): test -d "$tmp"
1.1 misho 795: } ||
796: {
797: tmp=./conf$$-$RANDOM
798: (umask 077 && mkdir "$tmp")
799: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
1.1.1.1.2.3.2 1(misho 800:4): ac_tmp=$tmp
1.1 misho 801:
802: # Set up the scripts for CONFIG_FILES section.
803: # No need to generate them if there are no CONFIG_FILES.
804: # This happens for instance with `./config.status config.h'.
805: if test -n "$CONFIG_FILES"; then
806:
807:
808: ac_cr=`echo X | tr X '\015'`
809: # On cygwin, bash can eat \r inside `` if the user requested igncr.
810: # But we know of no other shell where ac_cr would be empty at this
811: # point, so we can use a bashism as a fallback.
812: if test "x$ac_cr" = x; then
813: eval ac_cr=\$\'\\r\'
814: fi
815: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
816: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
817: ac_cs_awk_cr='\\r'
818: else
819: ac_cs_awk_cr=$ac_cr
820: fi
821:
1.1.1.1.2.3.2 1(misho 822:4): echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
823:4): cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
1.1 misho 824: S["am__EXEEXT_FALSE"]=""
825: S["am__EXEEXT_TRUE"]="#"
826: S["LTLIBOBJS"]=""
827: S["include_racoondir"]="${prefix}/include/racoon"
828: S["SECCTX_OBJS"]=""
1.1.1.1.2.3.2 1(misho 829:4): S["NATT_OBJS"]=""
1.1 misho 830: S["KRB5_CONFIG"]="/usr/bin/krb5-config"
1.1.1.1.2.3.2 1(misho 831:4): S["FRAG_OBJS"]=""
832:4): S["HYBRID_OBJS"]=""
1.1 misho 833: S["EXTRA_CRYPTO"]=""
834: S["CRYPTOBJS"]=""
835: S["LIBOBJS"]=""
836: S["GLIBC_BUGS"]=""
837: S["KERNEL_INCLUDE"]=""
838: S["CONFIGURE_AMFLAGS"]=""
839: S["RPM"]=""
840: S["INCLUDE_GLIBC"]=""
841: S["INSTALL_OPTS"]=""
842: S["LEXLIB"]="-lfl"
843: S["LEX_OUTPUT_ROOT"]="lex.yy"
844: S["LEX"]="flex"
845: S["YFLAGS"]=""
846: S["YACC"]="bison -y"
847: S["OTOOL64"]=""
848: S["OTOOL"]=""
849: S["LIPO"]=""
850: S["NMEDIT"]=""
851: S["DSYMUTIL"]=""
1.1.1.1.2.3.2 1(misho 852:4): S["MANIFEST_TOOL"]=":"
1.1 misho 853: S["RANLIB"]="ranlib"
1.1.1.1.2.3.2 1(misho 854:4): S["ac_ct_AR"]="ar"
1.1 misho 855: S["AR"]="ar"
1.1.1.1.2.3.2 1(misho 856:4): S["DLLTOOL"]="false"
1.1 misho 857: S["OBJDUMP"]="objdump"
858: S["LN_S"]="ln -s"
1.1.1.1.2.3.2 1(misho 859:4): S["NM"]="/usr/bin/nm -B"
1.1 misho 860: S["ac_ct_DUMPBIN"]=""
861: S["DUMPBIN"]=""
1.1.1.1.2.3.2 1(misho 862:4): S["LD"]="/usr/bin/ld"
1.1 misho 863: S["FGREP"]="/usr/bin/grep -F"
864: S["SED"]="/usr/bin/sed"
1.1.1.1.2.3.2 1(misho 865:4): S["host_os"]="freebsd11.0"
866:4): S["host_vendor"]="unknown"
1.1 misho 867: S["host_cpu"]="i386"
1.1.1.1.2.3.2 1(misho 868:4): S["host"]="i386-unknown-freebsd11.0"
869:4): S["build_os"]="freebsd11.0"
870:4): S["build_vendor"]="unknown"
1.1 misho 871: S["build_cpu"]="i386"
1.1.1.1.2.3.2 1(misho 872:4): S["build"]="i386-unknown-freebsd11.0"
873:4): S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
1.1 misho 874: S["EGREP"]="/usr/bin/grep -E"
875: S["GREP"]="/usr/bin/grep"
1.1.1.1.2.3.2 1(misho 876:4): S["CPP"]="cc -E"
1.1 misho 877: S["am__fastdepCC_FALSE"]="#"
878: S["am__fastdepCC_TRUE"]=""
879: S["CCDEPMODE"]="depmode=gcc3"
1.1.1.1.2.3.2 1(misho 880:4): S["am__nodep"]="_no"
1.1 misho 881: S["AMDEPBACKSLASH"]="\\"
882: S["AMDEP_FALSE"]="#"
883: S["AMDEP_TRUE"]=""
884: S["am__quote"]=""
885: S["am__include"]="include"
886: S["DEPDIR"]=".deps"
887: S["OBJEXT"]="o"
888: S["EXEEXT"]=""
1.1.1.1.2.3.2 1(misho 889:4): S["ac_ct_CC"]=""
1.1 misho 890: S["CPPFLAGS"]=" -I${top_srcdir}/src/racoon/missing"
1.1.1.1.2.1 misho 891: S["LDFLAGS"]=""
892: S["CFLAGS"]="-g -O2 -Wall -Werror -Wno-unused"
1.1.1.1.2.3.2 1(misho 893:4): S["CC"]="cc"
894:4): S["AM_BACKSLASH"]="\\"
895:4): S["AM_DEFAULT_VERBOSITY"]="1"
896:4): S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)"
897:4): S["AM_V"]="$(V)"
898:4): S["am__untar"]="$${TAR-tar} xf -"
899:4): S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
900:4): S["AMTAR"]="$${TAR-tar}"
1.1 misho 901: S["am__leading_dot"]="."
902: S["SET_MAKE"]=""
903: S["AWK"]="gawk"
1.1.1.1.2.3.2 1(misho 904:4): S["mkdir_p"]="$(MKDIR_P)"
1.1 misho 905: S["MKDIR_P"]="./install-sh -c -d"
906: S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
907: S["STRIP"]="strip"
1.1.1.1.2.1 misho 908: S["install_sh"]="${SHELL} /home/misho/work/embedaddon/ipsec-tools/install-sh"
1.1.1.1.2.3.2 1(misho 909:4): S["MAKEINFO"]="makeinfo"
910:4): S["AUTOHEADER"]="autoheader"
911:4): S["AUTOMAKE"]="automake-1.14"
912:4): S["AUTOCONF"]="autoconf"
913:4): S["ACLOCAL"]="aclocal-1.14"
914:4): S["VERSION"]="0.8.1"
1.1 misho 915: S["PACKAGE"]="ipsec-tools"
916: S["CYGPATH_W"]="echo"
917: S["am__isrc"]=""
1.1.1.1.2.1 misho 918: S["INSTALL_DATA"]="${INSTALL} -m 644"
919: S["INSTALL_SCRIPT"]="${INSTALL}"
920: S["INSTALL_PROGRAM"]="${INSTALL}"
1.1 misho 921: S["target_alias"]=""
922: S["host_alias"]=""
1.1.1.1.2.3.2 1(misho 923:4): S["build_alias"]=""
924:4): S["LIBS"]="-lcrypto -lreadline"
1.1 misho 925: S["ECHO_T"]=""
926: S["ECHO_N"]="-n"
927: S["ECHO_C"]=""
928: S["DEFS"]="-DHAVE_CONFIG_H"
1.1.1.1.2.1 misho 929: S["mandir"]="${datarootdir}/man"
1.1 misho 930: S["localedir"]="${datarootdir}/locale"
931: S["libdir"]="${exec_prefix}/lib"
932: S["psdir"]="${docdir}"
933: S["pdfdir"]="${docdir}"
934: S["dvidir"]="${docdir}"
935: S["htmldir"]="${docdir}"
1.1.1.1.2.1 misho 936: S["infodir"]="${datarootdir}/info"
1.1 misho 937: S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
938: S["oldincludedir"]="/usr/include"
939: S["includedir"]="${prefix}/include"
1.1.1.1.2.3.2 1(misho 940:4): S["localstatedir"]="${prefix}/var"
1.1 misho 941: S["sharedstatedir"]="${prefix}/com"
1.1.1.1.2.3.2 1(misho 942:4): S["sysconfdir"]="${prefix}/etc"
1.1 misho 943: S["datadir"]="${datarootdir}"
944: S["datarootdir"]="${prefix}/share"
945: S["libexecdir"]="${exec_prefix}/libexec"
946: S["sbindir"]="${exec_prefix}/sbin"
947: S["bindir"]="${exec_prefix}/bin"
948: S["program_transform_name"]="s,x,x,"
1.1.1.1.2.3.2 1(misho 949:4): S["prefix"]="/usr/local"
1.1 misho 950: S["exec_prefix"]="${prefix}"
951: S["PACKAGE_URL"]=""
952: S["PACKAGE_BUGREPORT"]=""
1.1.1.1.2.3.2 1(misho 953:4): S["PACKAGE_STRING"]="ipsec-tools 0.8.1"
954:4): S["PACKAGE_VERSION"]="0.8.1"
1.1 misho 955: S["PACKAGE_TARNAME"]="ipsec-tools"
956: S["PACKAGE_NAME"]="ipsec-tools"
957: S["PATH_SEPARATOR"]=":"
958: S["SHELL"]="/bin/sh"
959: _ACAWK
1.1.1.1.2.3.2 1(misho 960:4): cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
1.1 misho 961: for (key in S) S_is_set[key] = 1
962: FS = ""
963:
964: }
965: {
966: line = $ 0
967: nfields = split(line, field, "@")
968: substed = 0
969: len = length(field[1])
970: for (i = 2; i < nfields; i++) {
971: key = field[i]
972: keylen = length(key)
973: if (S_is_set[key]) {
974: value = S[key]
975: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
976: len += length(value) + length(field[++i])
977: substed = 1
978: } else
979: len += 1 + keylen
980: }
981:
982: print line
983: }
984:
985: _ACAWK
986: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
987: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
988: else
989: cat
1.1.1.1.2.3.2 1(misho 990:4): fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
1.1 misho 991: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
992: fi # test -n "$CONFIG_FILES"
993:
994: # Set up the scripts for CONFIG_HEADERS section.
995: # No need to generate them if there are no CONFIG_HEADERS.
996: # This happens for instance with `./config.status Makefile'.
997: if test -n "$CONFIG_HEADERS"; then
1.1.1.1.2.3.2 1(misho 998:4): cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
1.1 misho 999: BEGIN {
1000: D["PACKAGE_NAME"]=" \"ipsec-tools\""
1001: D["PACKAGE_TARNAME"]=" \"ipsec-tools\""
1.1.1.1.2.3.2 1(misho 1002:4): D["PACKAGE_VERSION"]=" \"0.8.1\""
1003:4): D["PACKAGE_STRING"]=" \"ipsec-tools 0.8.1\""
1.1 misho 1004: D["PACKAGE_BUGREPORT"]=" \"\""
1005: D["PACKAGE_URL"]=" \"\""
1006: D["PACKAGE"]=" \"ipsec-tools\""
1.1.1.1.2.3.2 1(misho 1007:4): D["VERSION"]=" \"0.8.1\""
1.1 misho 1008: D["STDC_HEADERS"]=" 1"
1009: D["HAVE_SYS_TYPES_H"]=" 1"
1010: D["HAVE_SYS_STAT_H"]=" 1"
1011: D["HAVE_STDLIB_H"]=" 1"
1012: D["HAVE_STRING_H"]=" 1"
1013: D["HAVE_MEMORY_H"]=" 1"
1014: D["HAVE_STRINGS_H"]=" 1"
1015: D["HAVE_INTTYPES_H"]=" 1"
1016: D["HAVE_STDINT_H"]=" 1"
1017: D["HAVE_UNISTD_H"]=" 1"
1018: D["HAVE_DLFCN_H"]=" 1"
1019: D["LT_OBJDIR"]=" \".libs/\""
1020: D["YYTEXT_POINTER"]=" 1"
1021: D["PATH_IPSEC_H"]=" <netipsec/ipsec.h>"
1022: D["STDC_HEADERS"]=" 1"
1023: D["HAVE_SYS_WAIT_H"]=" 1"
1024: D["HAVE_LIMITS_H"]=" 1"
1025: D["HAVE_SYS_TIME_H"]=" 1"
1026: D["HAVE_UNISTD_H"]=" 1"
1027: D["HAVE_STDARG_H"]=" 1"
1028: D["TIME_WITH_SYS_TIME"]=" 1"
1029: D["RETSIGTYPE"]=" void"
1030: D["HAVE_VPRINTF"]=" 1"
1031: D["HAVE_GETTIMEOFDAY"]=" 1"
1032: D["HAVE_SELECT"]=" 1"
1033: D["HAVE_SOCKET"]=" 1"
1034: D["HAVE_STRERROR"]=" 1"
1035: D["HAVE_STRTOL"]=" 1"
1036: D["HAVE_STRTOUL"]=" 1"
1037: D["HAVE_STRLCPY"]=" 1"
1038: D["HAVE_STRLCAT"]=" 1"
1039: D["HAVE_STRDUP"]=" 1"
1040: D["VA_COPY"]=" va_copy"
1041: D["HAVE_FUNC_MACRO"]=" /**/"
1042: D["HAVE_READLINE"]=" /**/"
1043: D["HAVE_OPENSSL_ENGINE_H"]=" 1"
1044: D["HAVE_OPENSSL_AES_H"]=" 1"
1045: D["WITH_SHA2"]=" /**/"
1046: D["HAVE_SHA2_IN_SHA_H"]=" /**/"
1047: D["HAVE_OPENSSL_CAMELLIA_H"]=" 1"
1.1.1.1.2.3.2 1(misho 1048:4): D["INET6"]=" /**/"
1.1 misho 1049: D["INET6"]=" /**/"
1050: D["INET6_ADVAPI"]=" /**/"
1051: D["HAVE_CLOCK_MONOTONIC"]=" /**/"
1052: for (key in D) D_is_set[key] = 1
1053: FS = ""
1054: }
1055: /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
1056: line = $ 0
1057: split(line, arg, " ")
1058: if (arg[1] == "#") {
1059: defundef = arg[2]
1060: mac1 = arg[3]
1061: } else {
1062: defundef = substr(arg[1], 2)
1063: mac1 = arg[2]
1064: }
1065: split(mac1, mac2, "(") #)
1066: macro = mac2[1]
1067: prefix = substr(line, 1, index(line, defundef) - 1)
1068: if (D_is_set[macro]) {
1069: # Preserve the white space surrounding the "#".
1070: print prefix "define", macro P[macro] D[macro]
1071: next
1072: } else {
1073: # Replace #undef with comments. This is necessary, for example,
1074: # in the case of _POSIX_SOURCE, which is predefined and required
1075: # on some systems where configure will not decide to define it.
1076: if (defundef == "undef") {
1077: print "/*", prefix defundef, macro, "*/"
1078: next
1079: }
1080: }
1081: }
1082: { print }
1083: _ACAWK
1084: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1085: fi # test -n "$CONFIG_HEADERS"
1086:
1087:
1088: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
1089: shift
1090: for ac_tag
1091: do
1092: case $ac_tag in
1093: :[FHLC]) ac_mode=$ac_tag; continue;;
1094: esac
1095: case $ac_mode$ac_tag in
1096: :[FHL]*:*);;
1.1.1.1.2.3.2 1(misho 1097:4): :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1 misho 1098: :[FH]-) ac_tag=-:-;;
1099: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1100: esac
1101: ac_save_IFS=$IFS
1102: IFS=:
1103: set x $ac_tag
1104: IFS=$ac_save_IFS
1105: shift
1106: ac_file=$1
1107: shift
1108:
1109: case $ac_mode in
1110: :L) ac_source=$1;;
1111: :[FH])
1112: ac_file_inputs=
1113: for ac_f
1114: do
1115: case $ac_f in
1.1.1.1.2.3.2 1(misho 1116:4): -) ac_f="$ac_tmp/stdin";;
1.1 misho 1117: *) # Look for the file first in the build tree, then in the source tree
1118: # (if the path is not absolute). The absolute path cannot be DOS-style,
1119: # because $ac_f cannot contain `:'.
1120: test -f "$ac_f" ||
1121: case $ac_f in
1122: [\\/$]*) false;;
1123: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1124: esac ||
1.1.1.1.2.3.2 1(misho 1125:4): as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1 misho 1126: esac
1127: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1128: as_fn_append ac_file_inputs " '$ac_f'"
1129: done
1130:
1131: # Let's still pretend it is `configure' which instantiates (i.e., don't
1132: # use $as_me), people would be surprised to read:
1133: # /* config.h. Generated by config.status. */
1134: configure_input='Generated from '`
1135: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1136: `' by configure.'
1137: if test x"$ac_file" != x-; then
1138: configure_input="$ac_file. $configure_input"
1139: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1140: $as_echo "$as_me: creating $ac_file" >&6;}
1141: fi
1142: # Neutralize special characters interpreted by sed in replacement strings.
1143: case $configure_input in #(
1144: *\&* | *\|* | *\\* )
1145: ac_sed_conf_input=`$as_echo "$configure_input" |
1146: sed 's/[\\\\&|]/\\\\&/g'`;; #(
1147: *) ac_sed_conf_input=$configure_input;;
1148: esac
1149:
1150: case $ac_tag in
1.1.1.1.2.3.2 1(misho 1151:4): *:-:* | *:-) cat >"$ac_tmp/stdin" \
1152:4): || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.1 misho 1153: esac
1154: ;;
1155: esac
1156:
1157: ac_dir=`$as_dirname -- "$ac_file" ||
1158: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1159: X"$ac_file" : 'X\(//\)[^/]' \| \
1160: X"$ac_file" : 'X\(//\)$' \| \
1161: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1162: $as_echo X"$ac_file" |
1163: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1164: s//\1/
1165: q
1166: }
1167: /^X\(\/\/\)[^/].*/{
1168: s//\1/
1169: q
1170: }
1171: /^X\(\/\/\)$/{
1172: s//\1/
1173: q
1174: }
1175: /^X\(\/\).*/{
1176: s//\1/
1177: q
1178: }
1179: s/.*/./; q'`
1180: as_dir="$ac_dir"; as_fn_mkdir_p
1181: ac_builddir=.
1182:
1183: case "$ac_dir" in
1184: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1185: *)
1186: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1187: # A ".." for each directory in $ac_dir_suffix.
1188: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1189: case $ac_top_builddir_sub in
1190: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1191: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1192: esac ;;
1193: esac
1194: ac_abs_top_builddir=$ac_pwd
1195: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1196: # for backward compatibility:
1197: ac_top_builddir=$ac_top_build_prefix
1198:
1199: case $srcdir in
1200: .) # We are building in place.
1201: ac_srcdir=.
1202: ac_top_srcdir=$ac_top_builddir_sub
1203: ac_abs_top_srcdir=$ac_pwd ;;
1204: [\\/]* | ?:[\\/]* ) # Absolute name.
1205: ac_srcdir=$srcdir$ac_dir_suffix;
1206: ac_top_srcdir=$srcdir
1207: ac_abs_top_srcdir=$srcdir ;;
1208: *) # Relative name.
1209: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1210: ac_top_srcdir=$ac_top_build_prefix$srcdir
1211: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1212: esac
1213: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1214:
1215:
1216: case $ac_mode in
1217: :F)
1218: #
1219: # CONFIG_FILE
1220: #
1221:
1222: case $INSTALL in
1223: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1224: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1225: esac
1226: ac_MKDIR_P=$MKDIR_P
1227: case $MKDIR_P in
1228: [\\/$]* | ?:[\\/]* ) ;;
1229: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1230: esac
1231: # If the template does not know about datarootdir, expand it.
1232: # FIXME: This hack should be removed a few years after 2.60.
1233: ac_datarootdir_hack=; ac_datarootdir_seen=
1234: ac_sed_dataroot='
1235: /datarootdir/ {
1236: p
1237: q
1238: }
1239: /@datadir@/p
1240: /@docdir@/p
1241: /@infodir@/p
1242: /@localedir@/p
1243: /@mandir@/p'
1244: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1245: *datarootdir*) ac_datarootdir_seen=yes;;
1246: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1247: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1248: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1249: ac_datarootdir_hack='
1250: s&@datadir@&${datarootdir}&g
1251: s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
1.1.1.1.2.1 misho 1252: s&@infodir@&${datarootdir}/info&g
1.1 misho 1253: s&@localedir@&${datarootdir}/locale&g
1.1.1.1.2.1 misho 1254: s&@mandir@&${datarootdir}/man&g
1.1 misho 1255: s&\${datarootdir}&${prefix}/share&g' ;;
1256: esac
1257: ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
1258: h
1259: s///
1260: s/^/:/
1261: s/[ ]*$/:/
1262: s/:\$(srcdir):/:/g
1263: s/:\${srcdir}:/:/g
1264: s/:@srcdir@:/:/g
1265: s/^:*//
1266: s/:*$//
1267: x
1268: s/\(=[ ]*\).*/\1/
1269: G
1270: s/\n//
1271: s/^[^=]*=[ ]*$//
1272: }
1273:
1274: :t
1275: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1276: s|@configure_input@|$ac_sed_conf_input|;t t
1277: s&@top_builddir@&$ac_top_builddir_sub&;t t
1278: s&@top_build_prefix@&$ac_top_build_prefix&;t t
1279: s&@srcdir@&$ac_srcdir&;t t
1280: s&@abs_srcdir@&$ac_abs_srcdir&;t t
1281: s&@top_srcdir@&$ac_top_srcdir&;t t
1282: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1283: s&@builddir@&$ac_builddir&;t t
1284: s&@abs_builddir@&$ac_abs_builddir&;t t
1285: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1286: s&@INSTALL@&$ac_INSTALL&;t t
1287: s&@MKDIR_P@&$ac_MKDIR_P&;t t
1288: $ac_datarootdir_hack
1289: "
1.1.1.1.2.3.2 1(misho 1290:4): eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1291:4): >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1 misho 1292:
1293: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.1.1.1.2.3.2 1(misho 1294:4): { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1295:4): { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1296:4): "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.1 misho 1297: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1298: which seems to be undefined. Please make sure it is defined" >&5
1299: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1300: which seems to be undefined. Please make sure it is defined" >&2;}
1301:
1.1.1.1.2.3.2 1(misho 1302:4): rm -f "$ac_tmp/stdin"
1.1 misho 1303: case $ac_file in
1.1.1.1.2.3.2 1(misho 1304:4): -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1305:4): *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1.1 misho 1306: esac \
1307: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1308: ;;
1309: :H)
1310: #
1311: # CONFIG_HEADER
1312: #
1313: if test x"$ac_file" != x-; then
1314: {
1315: $as_echo "/* $configure_input */" \
1.1.1.1.2.3.2 1(misho 1316:4): && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1317:4): } >"$ac_tmp/config.h" \
1.1 misho 1318: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1.1.1.2.3.2 1(misho 1319:4): if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.1 misho 1320: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1321: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1322: else
1323: rm -f "$ac_file"
1.1.1.1.2.3.2 1(misho 1324:4): mv "$ac_tmp/config.h" "$ac_file" \
1.1 misho 1325: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1326: fi
1327: else
1328: $as_echo "/* $configure_input */" \
1.1.1.1.2.3.2 1(misho 1329:4): && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1.1 misho 1330: || as_fn_error $? "could not create -" "$LINENO" 5
1331: fi
1332: # Compute "$ac_file"'s index in $config_headers.
1333: _am_arg="$ac_file"
1334: _am_stamp_count=1
1335: for _am_header in $config_headers :; do
1336: case $_am_header in
1337: $_am_arg | $_am_arg:* )
1338: break ;;
1339: * )
1340: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1341: esac
1342: done
1343: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
1344: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1345: X"$_am_arg" : 'X\(//\)[^/]' \| \
1346: X"$_am_arg" : 'X\(//\)$' \| \
1347: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1348: $as_echo X"$_am_arg" |
1349: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1350: s//\1/
1351: q
1352: }
1353: /^X\(\/\/\)[^/].*/{
1354: s//\1/
1355: q
1356: }
1357: /^X\(\/\/\)$/{
1358: s//\1/
1359: q
1360: }
1361: /^X\(\/\).*/{
1362: s//\1/
1363: q
1364: }
1365: s/.*/./; q'`/stamp-h$_am_stamp_count
1366: ;;
1367:
1368: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1369: $as_echo "$as_me: executing $ac_file commands" >&6;}
1370: ;;
1371: esac
1372:
1373:
1374: case $ac_file$ac_mode in
1375: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.1.1.1.2.3.2 1(misho 1376:4): # Older Autoconf quotes --file arguments for eval, but not when files
1.1 misho 1377: # are listed without --file. Let's play safe and only enable the eval
1378: # if we detect the quoting.
1379: case $CONFIG_FILES in
1380: *\'*) eval set x "$CONFIG_FILES" ;;
1381: *) set x $CONFIG_FILES ;;
1382: esac
1383: shift
1384: for mf
1385: do
1386: # Strip MF so we end up with the name of the file.
1387: mf=`echo "$mf" | sed -e 's/:.*$//'`
1388: # Check whether this is an Automake generated Makefile or not.
1.1.1.1.2.3.2 1(misho 1389:4): # We used to match only the files named 'Makefile.in', but
1.1 misho 1390: # some people rename them; so instead we look at the file content.
1391: # Grep'ing the first line is not enough: some people post-process
1392: # each Makefile.in and add a new line on top of each file to say so.
1393: # Grep'ing the whole file is not good either: AIX grep has a line
1394: # limit of 2048, but all sed's we know have understand at least 4000.
1395: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1396: dirpart=`$as_dirname -- "$mf" ||
1397: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1398: X"$mf" : 'X\(//\)[^/]' \| \
1399: X"$mf" : 'X\(//\)$' \| \
1400: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1401: $as_echo X"$mf" |
1402: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1403: s//\1/
1404: q
1405: }
1406: /^X\(\/\/\)[^/].*/{
1407: s//\1/
1408: q
1409: }
1410: /^X\(\/\/\)$/{
1411: s//\1/
1412: q
1413: }
1414: /^X\(\/\).*/{
1415: s//\1/
1416: q
1417: }
1418: s/.*/./; q'`
1419: else
1420: continue
1421: fi
1422: # Extract the definition of DEPDIR, am__include, and am__quote
1.1.1.1.2.3.2 1(misho 1423:4): # from the Makefile without running 'make'.
1.1 misho 1424: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1425: test -z "$DEPDIR" && continue
1426: am__include=`sed -n 's/^am__include = //p' < "$mf"`
1.1.1.1.2.3.2 1(misho 1427:4): test -z "$am__include" && continue
1.1 misho 1428: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1429: # Find all dependency output files, they are included files with
1430: # $(DEPDIR) in their names. We invoke sed twice because it is the
1431: # simplest approach to changing $(DEPDIR) to its actual value in the
1432: # expansion.
1433: for file in `sed -n "
1434: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.1.1.1.2.3.2 1(misho 1435:4): sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
1.1 misho 1436: # Make sure the directory exists.
1437: test -f "$dirpart/$file" && continue
1438: fdir=`$as_dirname -- "$file" ||
1439: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1440: X"$file" : 'X\(//\)[^/]' \| \
1441: X"$file" : 'X\(//\)$' \| \
1442: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1443: $as_echo X"$file" |
1444: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1445: s//\1/
1446: q
1447: }
1448: /^X\(\/\/\)[^/].*/{
1449: s//\1/
1450: q
1451: }
1452: /^X\(\/\/\)$/{
1453: s//\1/
1454: q
1455: }
1456: /^X\(\/\).*/{
1457: s//\1/
1458: q
1459: }
1460: s/.*/./; q'`
1461: as_dir=$dirpart/$fdir; as_fn_mkdir_p
1462: # echo "creating $dirpart/$file"
1463: echo '# dummy' > "$dirpart/$file"
1464: done
1465: done
1466: }
1467: ;;
1468: "libtool":C)
1469:
1470: # See if we are running on zsh, and set the options which allow our
1471: # commands through without removal of \ escapes.
1472: if test -n "${ZSH_VERSION+set}" ; then
1473: setopt NO_GLOB_SUBST
1474: fi
1475:
1476: cfgfile="${ofile}T"
1477: trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1478: $RM "$cfgfile"
1479:
1480: cat <<_LT_EOF >> "$cfgfile"
1481: #! $SHELL
1482:
1483: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1484: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1485: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1486: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1487: #
1488: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1.1.1.1.2.3.2 1(misho 1489:4): # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
1490:4): # Foundation, Inc.
1.1 misho 1491: # Written by Gordon Matzigkeit, 1996
1492: #
1493: # This file is part of GNU Libtool.
1494: #
1495: # GNU Libtool is free software; you can redistribute it and/or
1496: # modify it under the terms of the GNU General Public License as
1497: # published by the Free Software Foundation; either version 2 of
1498: # the License, or (at your option) any later version.
1499: #
1500: # As a special exception to the GNU General Public License,
1501: # if you distribute this file as part of a program or library that
1502: # is built using GNU Libtool, you may include this file under the
1503: # same distribution terms that you use for the rest of that program.
1504: #
1505: # GNU Libtool is distributed in the hope that it will be useful,
1506: # but WITHOUT ANY WARRANTY; without even the implied warranty of
1507: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1508: # GNU General Public License for more details.
1509: #
1510: # You should have received a copy of the GNU General Public License
1511: # along with GNU Libtool; see the file COPYING. If not, a copy
1512: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1513: # obtained by writing to the Free Software Foundation, Inc.,
1514: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1515:
1516:
1517: # The names of the tagged configurations supported by this script.
1518: available_tags=""
1519:
1520: # ### BEGIN LIBTOOL CONFIG
1521:
1522: # Whether or not to build shared libraries.
1523: build_libtool_libs=$enable_shared
1524:
1525: # Which release of libtool.m4 was used?
1526: macro_version=$macro_version
1527: macro_revision=$macro_revision
1528:
1529: # Whether or not to build static libraries.
1530: build_old_libs=$enable_static
1531:
1532: # What type of objects to build.
1533: pic_mode=$pic_mode
1534:
1535: # Whether or not to optimize for fast installation.
1536: fast_install=$enable_fast_install
1537:
1.1.1.1.2.3.2 1(misho 1538:4): # Shell to use when invoking shell scripts.
1539:4): SHELL=$lt_SHELL
1540:4):
1541:4): # An echo program that protects backslashes.
1542:4): ECHO=$lt_ECHO
1543:4):
1544:4): # The PATH separator for the build system.
1545:4): PATH_SEPARATOR=$lt_PATH_SEPARATOR
1546:4):
1.1 misho 1547: # The host system.
1548: host_alias=$host_alias
1549: host=$host
1550: host_os=$host_os
1551:
1552: # The build system.
1553: build_alias=$build_alias
1554: build=$build
1555: build_os=$build_os
1556:
1557: # A sed program that does not truncate output.
1558: SED=$lt_SED
1559:
1560: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
1561: Xsed="\$SED -e 1s/^X//"
1562:
1563: # A grep program that handles long lines.
1564: GREP=$lt_GREP
1565:
1566: # An ERE matcher.
1567: EGREP=$lt_EGREP
1568:
1569: # A literal string matcher.
1570: FGREP=$lt_FGREP
1571:
1572: # A BSD- or MS-compatible name lister.
1573: NM=$lt_NM
1574:
1575: # Whether we need soft or hard links.
1576: LN_S=$lt_LN_S
1577:
1578: # What is the maximum length of a command?
1579: max_cmd_len=$max_cmd_len
1580:
1581: # Object file suffix (normally "o").
1582: objext=$ac_objext
1583:
1584: # Executable file suffix (normally "").
1585: exeext=$exeext
1586:
1587: # whether the shell understands "unset".
1588: lt_unset=$lt_unset
1589:
1590: # turn spaces into newlines.
1591: SP2NL=$lt_lt_SP2NL
1592:
1593: # turn newlines into spaces.
1594: NL2SP=$lt_lt_NL2SP
1595:
1.1.1.1.2.3.2 1(misho 1596:4): # convert \$build file names to \$host format.
1597:4): to_host_file_cmd=$lt_cv_to_host_file_cmd
1598:4):
1599:4): # convert \$build files to toolchain format.
1600:4): to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.1 misho 1601:
1602: # An object symbol dumper.
1603: OBJDUMP=$lt_OBJDUMP
1604:
1605: # Method to check whether dependent libraries are shared objects.
1606: deplibs_check_method=$lt_deplibs_check_method
1607:
1.1.1.1.2.3.2 1(misho 1608:4): # Command to use when deplibs_check_method = "file_magic".
1.1 misho 1609: file_magic_cmd=$lt_file_magic_cmd
1610:
1.1.1.1.2.3.2 1(misho 1611:4): # How to find potential files when deplibs_check_method = "file_magic".
1612:4): file_magic_glob=$lt_file_magic_glob
1613:4):
1614:4): # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
1615:4): want_nocaseglob=$lt_want_nocaseglob
1616:4):
1617:4): # DLL creation program.
1618:4): DLLTOOL=$lt_DLLTOOL
1619:4):
1620:4): # Command to associate shared and link libraries.
1621:4): sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
1622:4):
1.1 misho 1623: # The archiver.
1624: AR=$lt_AR
1.1.1.1.2.3.2 1(misho 1625:4):
1626:4): # Flags to create an archive.
1.1 misho 1627: AR_FLAGS=$lt_AR_FLAGS
1628:
1.1.1.1.2.3.2 1(misho 1629:4): # How to feed a file listing to the archiver.
1630:4): archiver_list_spec=$lt_archiver_list_spec
1631:4):
1.1 misho 1632: # A symbol stripping program.
1633: STRIP=$lt_STRIP
1634:
1635: # Commands used to install an old-style archive.
1636: RANLIB=$lt_RANLIB
1637: old_postinstall_cmds=$lt_old_postinstall_cmds
1638: old_postuninstall_cmds=$lt_old_postuninstall_cmds
1639:
1.1.1.1.2.3.2 1(misho 1640:4): # Whether to use a lock for old archive extraction.
1641:4): lock_old_archive_extraction=$lock_old_archive_extraction
1642:4):
1.1 misho 1643: # A C compiler.
1644: LTCC=$lt_CC
1645:
1646: # LTCC compiler flags.
1647: LTCFLAGS=$lt_CFLAGS
1648:
1649: # Take the output of nm and produce a listing of raw symbols and C names.
1650: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1651:
1652: # Transform the output of nm in a proper C declaration.
1653: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1654:
1655: # Transform the output of nm in a C name address pair.
1656: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1657:
1658: # Transform the output of nm in a C name address pair when lib prefix is needed.
1659: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1660:
1.1.1.1.2.3.2 1(misho 1661:4): # Specify filename containing input files for \$NM.
1662:4): nm_file_list_spec=$lt_nm_file_list_spec
1.1 misho 1663:
1.1.1.1.2.3.2 1(misho 1664:4): # The root where to search for dependent libraries,and in which our libraries should be installed.
1665:4): lt_sysroot=$lt_sysroot
1.1 misho 1666:
1.1.1.1.2.3.2 1(misho 1667:4): # The name of the directory that contains temporary libtool files.
1668:4): objdir=$objdir
1.1 misho 1669:
1670: # Used to examine libraries when file_magic_cmd begins with "file".
1671: MAGIC_CMD=$MAGIC_CMD
1672:
1673: # Must we lock files when doing compilation?
1674: need_locks=$lt_need_locks
1675:
1.1.1.1.2.3.2 1(misho 1676:4): # Manifest tool.
1677:4): MANIFEST_TOOL=$lt_MANIFEST_TOOL
1678:4):
1.1 misho 1679: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1680: DSYMUTIL=$lt_DSYMUTIL
1681:
1682: # Tool to change global to local symbols on Mac OS X.
1683: NMEDIT=$lt_NMEDIT
1684:
1685: # Tool to manipulate fat objects and archives on Mac OS X.
1686: LIPO=$lt_LIPO
1687:
1688: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
1689: OTOOL=$lt_OTOOL
1690:
1691: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1692: OTOOL64=$lt_OTOOL64
1693:
1694: # Old archive suffix (normally "a").
1695: libext=$libext
1696:
1697: # Shared library suffix (normally ".so").
1698: shrext_cmds=$lt_shrext_cmds
1699:
1700: # The commands to extract the exported symbol list from a shared archive.
1701: extract_expsyms_cmds=$lt_extract_expsyms_cmds
1702:
1703: # Variables whose values should be saved in libtool wrapper scripts and
1704: # restored at link time.
1705: variables_saved_for_relink=$lt_variables_saved_for_relink
1706:
1707: # Do we need the "lib" prefix for modules?
1708: need_lib_prefix=$need_lib_prefix
1709:
1710: # Do we need a version for libraries?
1711: need_version=$need_version
1712:
1713: # Library versioning type.
1714: version_type=$version_type
1715:
1716: # Shared library runtime path variable.
1717: runpath_var=$runpath_var
1718:
1719: # Shared library path variable.
1720: shlibpath_var=$shlibpath_var
1721:
1722: # Is shlibpath searched before the hard-coded library search path?
1723: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1724:
1725: # Format of library name prefix.
1726: libname_spec=$lt_libname_spec
1727:
1728: # List of archive names. First name is the real one, the rest are links.
1729: # The last name is the one that the linker finds with -lNAME
1730: library_names_spec=$lt_library_names_spec
1731:
1732: # The coded name of the library, if different from the real name.
1733: soname_spec=$lt_soname_spec
1734:
1.1.1.1.2.3.2 1(misho 1735:4): # Permission mode override for installation of shared libraries.
1736:4): install_override_mode=$lt_install_override_mode
1737:4):
1.1 misho 1738: # Command to use after installation of a shared archive.
1739: postinstall_cmds=$lt_postinstall_cmds
1740:
1741: # Command to use after uninstallation of a shared archive.
1742: postuninstall_cmds=$lt_postuninstall_cmds
1743:
1744: # Commands used to finish a libtool library installation in a directory.
1745: finish_cmds=$lt_finish_cmds
1746:
1747: # As "finish_cmds", except a single script fragment to be evaled but
1748: # not shown.
1749: finish_eval=$lt_finish_eval
1750:
1751: # Whether we should hardcode library paths into libraries.
1752: hardcode_into_libs=$hardcode_into_libs
1753:
1754: # Compile-time system search path for libraries.
1755: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1756:
1757: # Run-time system search path for libraries.
1758: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1759:
1760: # Whether dlopen is supported.
1761: dlopen_support=$enable_dlopen
1762:
1763: # Whether dlopen of programs is supported.
1764: dlopen_self=$enable_dlopen_self
1765:
1766: # Whether dlopen of statically linked programs is supported.
1767: dlopen_self_static=$enable_dlopen_self_static
1768:
1769: # Commands to strip libraries.
1770: old_striplib=$lt_old_striplib
1771: striplib=$lt_striplib
1772:
1773:
1774: # The linker used to build libraries.
1775: LD=$lt_LD
1776:
1.1.1.1.2.3.2 1(misho 1777:4): # How to create reloadable object files.
1778:4): reload_flag=$lt_reload_flag
1779:4): reload_cmds=$lt_reload_cmds
1780:4):
1.1 misho 1781: # Commands used to build an old-style archive.
1782: old_archive_cmds=$lt_old_archive_cmds
1783:
1784: # A language specific compiler.
1785: CC=$lt_compiler
1786:
1787: # Is the compiler the GNU compiler?
1788: with_gcc=$GCC
1789:
1790: # Compiler flag to turn off builtin functions.
1791: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1792:
1793: # Additional compiler flags for building library objects.
1794: pic_flag=$lt_lt_prog_compiler_pic
1795:
1.1.1.1.2.3.2 1(misho 1796:4): # How to pass a linker flag through the compiler.
1797:4): wl=$lt_lt_prog_compiler_wl
1798:4):
1.1 misho 1799: # Compiler flag to prevent dynamic linking.
1800: link_static_flag=$lt_lt_prog_compiler_static
1801:
1802: # Does compiler simultaneously support -c and -o options?
1803: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1804:
1805: # Whether or not to add -lc for building shared libraries.
1806: build_libtool_need_lc=$archive_cmds_need_lc
1807:
1808: # Whether or not to disallow shared libs when runtime libs are static.
1809: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1810:
1811: # Compiler flag to allow reflexive dlopens.
1812: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1813:
1814: # Compiler flag to generate shared objects directly from archives.
1815: whole_archive_flag_spec=$lt_whole_archive_flag_spec
1816:
1817: # Whether the compiler copes with passing no objects directly.
1818: compiler_needs_object=$lt_compiler_needs_object
1819:
1820: # Create an old-style archive from a shared archive.
1821: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1822:
1823: # Create a temporary old-style archive to link instead of a shared archive.
1824: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1825:
1826: # Commands used to build a shared archive.
1827: archive_cmds=$lt_archive_cmds
1828: archive_expsym_cmds=$lt_archive_expsym_cmds
1829:
1830: # Commands used to build a loadable module if different from building
1831: # a shared archive.
1832: module_cmds=$lt_module_cmds
1833: module_expsym_cmds=$lt_module_expsym_cmds
1834:
1835: # Whether we are building with GNU ld or not.
1836: with_gnu_ld=$lt_with_gnu_ld
1837:
1838: # Flag that allows shared libraries with undefined symbols to be built.
1839: allow_undefined_flag=$lt_allow_undefined_flag
1840:
1841: # Flag that enforces no undefined symbols.
1842: no_undefined_flag=$lt_no_undefined_flag
1843:
1844: # Flag to hardcode \$libdir into a binary during linking.
1845: # This must work even if \$libdir does not exist
1846: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1847:
1848: # Whether we need a single "-rpath" flag with a separated argument.
1849: hardcode_libdir_separator=$lt_hardcode_libdir_separator
1850:
1851: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1852: # DIR into the resulting binary.
1853: hardcode_direct=$hardcode_direct
1854:
1855: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1856: # DIR into the resulting binary and the resulting library dependency is
1857: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
1858: # library is relocated.
1859: hardcode_direct_absolute=$hardcode_direct_absolute
1860:
1861: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
1862: # into the resulting binary.
1863: hardcode_minus_L=$hardcode_minus_L
1864:
1865: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
1866: # into the resulting binary.
1867: hardcode_shlibpath_var=$hardcode_shlibpath_var
1868:
1869: # Set to "yes" if building a shared library automatically hardcodes DIR
1870: # into the library and all subsequent libraries and executables linked
1871: # against it.
1872: hardcode_automatic=$hardcode_automatic
1873:
1874: # Set to yes if linker adds runtime paths of dependent libraries
1875: # to runtime path list.
1876: inherit_rpath=$inherit_rpath
1877:
1878: # Whether libtool must link a program against all its dependency libraries.
1879: link_all_deplibs=$link_all_deplibs
1880:
1881: # Set to "yes" if exported symbols are required.
1882: always_export_symbols=$always_export_symbols
1883:
1884: # The commands to list exported symbols.
1885: export_symbols_cmds=$lt_export_symbols_cmds
1886:
1887: # Symbols that should not be listed in the preloaded symbols.
1888: exclude_expsyms=$lt_exclude_expsyms
1889:
1890: # Symbols that must always be exported.
1891: include_expsyms=$lt_include_expsyms
1892:
1893: # Commands necessary for linking programs (against libraries) with templates.
1894: prelink_cmds=$lt_prelink_cmds
1895:
1.1.1.1.2.3.2 1(misho 1896:4): # Commands necessary for finishing linking programs.
1897:4): postlink_cmds=$lt_postlink_cmds
1898:4):
1.1 misho 1899: # Specify filename containing input files.
1900: file_list_spec=$lt_file_list_spec
1901:
1902: # How to hardcode a shared library path into an executable.
1903: hardcode_action=$hardcode_action
1904:
1905: # ### END LIBTOOL CONFIG
1906:
1907: _LT_EOF
1908:
1909: case $host_os in
1910: aix3*)
1911: cat <<\_LT_EOF >> "$cfgfile"
1912: # AIX sometimes has problems with the GCC collect2 program. For some
1913: # reason, if we set the COLLECT_NAMES environment variable, the problems
1914: # vanish in a puff of smoke.
1915: if test "X${COLLECT_NAMES+set}" != Xset; then
1916: COLLECT_NAMES=
1917: export COLLECT_NAMES
1918: fi
1919: _LT_EOF
1920: ;;
1921: esac
1922:
1923:
1924: ltmain="$ac_aux_dir/ltmain.sh"
1925:
1926:
1927: # We use sed instead of cat because bash on DJGPP gets confused if
1928: # if finds mixed CR/LF and LF-only lines. Since sed operates in
1929: # text mode, it properly converts lines to CR/LF. This bash problem
1930: # is reportedly fixed, but why not run on old versions too?
1.1.1.1.2.3.2 1(misho 1931:4): sed '$q' "$ltmain" >> "$cfgfile" \
1932:4): || (rm -f "$cfgfile"; exit 1)
1.1 misho 1933:
1.1.1.1.2.3.2 1(misho 1934:4): if test x"$xsi_shell" = xyes; then
1935:4): sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
1936:4): func_dirname ()\
1937:4): {\
1938:4): \ case ${1} in\
1939:4): \ */*) func_dirname_result="${1%/*}${2}" ;;\
1940:4): \ * ) func_dirname_result="${3}" ;;\
1941:4): \ esac\
1942:4): } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
1943:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
1944:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1945:4): test 0 -eq $? || _lt_function_replace_fail=:
1946:4):
1947:4):
1948:4): sed -e '/^func_basename ()$/,/^} # func_basename /c\
1949:4): func_basename ()\
1950:4): {\
1951:4): \ func_basename_result="${1##*/}"\
1952:4): } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
1953:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
1954:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1955:4): test 0 -eq $? || _lt_function_replace_fail=:
1956:4):
1957:4):
1958:4): sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
1959:4): func_dirname_and_basename ()\
1960:4): {\
1961:4): \ case ${1} in\
1962:4): \ */*) func_dirname_result="${1%/*}${2}" ;;\
1963:4): \ * ) func_dirname_result="${3}" ;;\
1964:4): \ esac\
1965:4): \ func_basename_result="${1##*/}"\
1966:4): } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
1967:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
1968:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1969:4): test 0 -eq $? || _lt_function_replace_fail=:
1970:4):
1971:4):
1972:4): sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
1973:4): func_stripname ()\
1974:4): {\
1975:4): \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
1976:4): \ # positional parameters, so assign one to ordinary parameter first.\
1977:4): \ func_stripname_result=${3}\
1978:4): \ func_stripname_result=${func_stripname_result#"${1}"}\
1979:4): \ func_stripname_result=${func_stripname_result%"${2}"}\
1980:4): } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
1981:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
1982:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1983:4): test 0 -eq $? || _lt_function_replace_fail=:
1984:4):
1985:4):
1986:4): sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
1987:4): func_split_long_opt ()\
1988:4): {\
1989:4): \ func_split_long_opt_name=${1%%=*}\
1990:4): \ func_split_long_opt_arg=${1#*=}\
1991:4): } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
1992:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
1993:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1994:4): test 0 -eq $? || _lt_function_replace_fail=:
1995:4):
1996:4):
1997:4): sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
1998:4): func_split_short_opt ()\
1999:4): {\
2000:4): \ func_split_short_opt_arg=${1#??}\
2001:4): \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
2002:4): } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
2003:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
2004:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2005:4): test 0 -eq $? || _lt_function_replace_fail=:
2006:4):
2007:4):
2008:4): sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
2009:4): func_lo2o ()\
2010:4): {\
2011:4): \ case ${1} in\
2012:4): \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
2013:4): \ *) func_lo2o_result=${1} ;;\
2014:4): \ esac\
2015:4): } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
2016:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
2017:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2018:4): test 0 -eq $? || _lt_function_replace_fail=:
2019:4):
2020:4):
2021:4): sed -e '/^func_xform ()$/,/^} # func_xform /c\
2022:4): func_xform ()\
2023:4): {\
2024:4): func_xform_result=${1%.*}.lo\
2025:4): } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
2026:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
2027:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2028:4): test 0 -eq $? || _lt_function_replace_fail=:
2029:4):
2030:4):
2031:4): sed -e '/^func_arith ()$/,/^} # func_arith /c\
2032:4): func_arith ()\
2033:4): {\
2034:4): func_arith_result=$(( $* ))\
2035:4): } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
2036:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
2037:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2038:4): test 0 -eq $? || _lt_function_replace_fail=:
2039:4):
2040:4):
2041:4): sed -e '/^func_len ()$/,/^} # func_len /c\
2042:4): func_len ()\
2043:4): {\
2044:4): func_len_result=${#1}\
2045:4): } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
2046:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
2047:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2048:4): test 0 -eq $? || _lt_function_replace_fail=:
1.1 misho 2049:
1.1.1.1.2.3.2 1(misho 2050:4): fi
1.1 misho 2051:
1.1.1.1.2.3.2 1(misho 2052:4): if test x"$lt_shell_append" = xyes; then
2053:4): sed -e '/^func_append ()$/,/^} # func_append /c\
2054:4): func_append ()\
2055:4): {\
2056:4): eval "${1}+=\\${2}"\
2057:4): } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
2058:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
2059:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2060:4): test 0 -eq $? || _lt_function_replace_fail=:
2061:4):
2062:4):
2063:4): sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
2064:4): func_append_quoted ()\
2065:4): {\
2066:4): \ func_quote_for_eval "${2}"\
2067:4): \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
2068:4): } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
2069:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
2070:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2071:4): test 0 -eq $? || _lt_function_replace_fail=:
2072:4):
2073:4):
2074:4): # Save a `func_append' function call where possible by direct use of '+='
2075:4): sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
2076:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
2077:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2078:4): test 0 -eq $? || _lt_function_replace_fail=:
2079:4): else
2080:4): # Save a `func_append' function call even when '+=' is not available
2081:4): sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
2082:4): && mv -f "$cfgfile.tmp" "$cfgfile" \
2083:4): || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2084:4): test 0 -eq $? || _lt_function_replace_fail=:
2085:4): fi
1.1 misho 2086:
1.1.1.1.2.3.2 1(misho 2087:4): if test x"$_lt_function_replace_fail" = x":"; then
2088:4): { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
2089:4): $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
2090:4): fi
1.1 misho 2091:
2092:
1.1.1.1.2.3.2 1(misho 2093:4): mv -f "$cfgfile" "$ofile" ||
1.1 misho 2094: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
2095: chmod +x "$ofile"
2096:
2097: ;;
2098:
2099: esac
2100: done # for ac_tag
2101:
2102:
2103: as_fn_exit 0
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>