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.
10 SHELL
=${CONFIG_SHELL-/bin/sh}
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
159 test "x$as_lineno_1" != "x$as_lineno_2" &&
160 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
162 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
163 # uniformly replaced by the line number. The first 'sed' inserts a
164 # line-number line after each line using $LINENO; the second 'sed'
165 # does the real work. The second script uses 'N' to pair each
166 # line-number line with the line containing $LINENO, and appends
167 # trailing '-' during substitution so that $LINENO is not a special
169 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
170 # scripts with optimization help from Paolo Bonzini. Blame Lee
171 # E. McMahon (1931-1989) for sed's syntax. :-)
183 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
187 chmod +x
"$as_me.lineno" ||
188 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
189 { (exit 1); exit 1; }; }
191 # Don't try to exec as it changes $[0], causing all sort of problems
192 # (the dirname of $[0] is not the place where we might find the
193 # original and so on. Autoconf is especially sensitive to this).
195 # Exit status is that of the last command.
200 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
206 ECHO_C
= ECHO_N
= ECHO_T
=
210 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
217 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
218 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
224 rm -f conf$$ conf$$.exe conf$$.
file
225 if test -d conf$$.dir
; then
226 rm -f conf$$.dir
/conf$$.
file
232 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
234 # ... but there are two gotchas:
235 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
236 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
237 # In both cases, we have to default to `cp -p'.
238 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
240 elif ln conf$$.
file conf$$
2>/dev
/null
; then
245 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
246 rmdir conf$$.dir
2>/dev
/null
248 if mkdir
-p .
2>/dev
/null
; then
251 test -d .
/-p && rmdir .
/-p
255 if test -x / >/dev
/null
2>&1; then
258 if ls -dL / >/dev
/null
2>&1; then
265 if test -d "$1"; then
271 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
272 ???[sx]*):;;*)false;;esac;fi
276 as_executable_p
=$as_test_x
278 # Sed expression to map a string onto a valid CPP name.
279 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
281 # Sed expression to map a string onto a valid variable name.
282 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
287 # Save the log message, to keep $[0] and so on meaningful, and to
288 # report actual input values of CONFIG_FILES etc. instead of their
289 # values after options handling.
291 This file was extended by $as_me, which was
292 generated by GNU Autoconf 2.61. Invocation command line was
294 CONFIG_FILES = $CONFIG_FILES
295 CONFIG_HEADERS = $CONFIG_HEADERS
296 CONFIG_LINKS = $CONFIG_LINKS
297 CONFIG_COMMANDS = $CONFIG_COMMANDS
300 on `(hostname || uname -n) 2>/dev/null | sed 1q`
303 # Files that config.status was made for.
304 config_files
=" Makefile ctaocrypt/Makefile ctaocrypt/src/Makefile ctaocrypt/test/Makefile ctaocrypt/benchmark/Makefile src/Makefile examples/Makefile examples/client/Makefile examples/server/Makefile examples/echoclient/Makefile examples/echoserver/Makefile testsuite/Makefile sslSniffer/Makefile sslSniffer/sslSnifferTest/Makefile"
305 config_headers
=" ctaocrypt/include/config.h"
306 config_commands
=" depfiles libtool"
309 \`$as_me' instantiates files from templates according to the
310 current configuration.
312 Usage: $0 [OPTIONS] [FILE]...
314 -h, --help print this help, then exit
315 -V, --version print version number and configuration settings, then exit
316 -q, --quiet do not print progress messages
317 -d, --debug don't remove temporary files
318 --recheck update $as_me by reconfiguring in the same conditions
319 --file=FILE[:TEMPLATE]
320 instantiate the configuration file FILE
321 --header=FILE[:TEMPLATE]
322 instantiate the configuration header FILE
327 Configuration headers:
330 Configuration commands:
333 Report bugs to <bug-autoconf@gnu.org>."
337 configured by ./configure, generated by GNU Autoconf 2.61,
338 with options \"'--host=mipsel-linux' '--build=x86_64-linux-gnu' 'build_alias=x86_64-linux-gnu' 'host_alias=mipsel-linux' 'CC=mipsel-uclibc-gcc' 'CFLAGS=-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -fPIC -ffunction-sections -fdata-sections -DNO_MD4 -DNO_AES -DNO_ERROR_STRINGS -DNO_HC128 -DNO_RABBIT -DNO_PSK -DNO_DSA -DNO_DH -DNO_PWDBASED' 'LDFLAGS=-ffunction-sections -fdata-sections -Wl,--gc-sections -fPIC'\"
340 Copyright (C) 2006 Free Software Foundation, Inc.
341 This config.status script is free software; the Free Software Foundation
342 gives unlimited permission to copy, distribute and modify it."
344 ac_pwd
='/home/vicente/tomato/release/src/router/cyassl'
346 INSTALL
='/usr/bin/install -c'
347 MKDIR_P
='/bin/mkdir -p'
348 # If no file are specified by the user, then we need to provide default
349 # value. By we need to know if files were specified by the user.
355 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
356 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
367 # Handling of the options.
368 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
370 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
371 echo "$ac_cs_version"; exit ;;
372 --debug |
--debu |
--deb |
--de |
--d |
-d )
374 --file |
--fil |
--fi |
--f )
376 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
377 ac_need_defaults
=false
;;
378 --header |
--heade |
--head |
--hea )
380 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
381 ac_need_defaults
=false
;;
383 # Conflict between --help and --header
384 { echo "$as_me: error: ambiguous option: $1
385 Try \`$0 --help' for more information." >&2
386 { (exit 1); exit 1; }; };;
387 --help |
--hel |
-h )
388 echo "$ac_cs_usage"; exit ;;
389 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
390 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
394 -*) { echo "$as_me: error: unrecognized option: $1
395 Try \`$0 --help' for more information." >&2
396 { (exit 1); exit 1; }; } ;;
398 *) ac_config_targets
="$ac_config_targets $1"
399 ac_need_defaults
=false
;;
405 ac_configure_extra_args
=
407 if $ac_cs_silent; then
409 ac_configure_extra_args
="$ac_configure_extra_args --silent"
412 if $ac_cs_recheck; then
413 echo "running CONFIG_SHELL=/bin/sh /bin/sh ./configure " '--host=mipsel-linux' '--build=x86_64-linux-gnu' 'build_alias=x86_64-linux-gnu' 'host_alias=mipsel-linux' 'CC=mipsel-uclibc-gcc' 'CFLAGS=-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -fPIC -ffunction-sections -fdata-sections -DNO_MD4 -DNO_AES -DNO_ERROR_STRINGS -DNO_HC128 -DNO_RABBIT -DNO_PSK -DNO_DSA -DNO_DH -DNO_PWDBASED' 'LDFLAGS=-ffunction-sections -fdata-sections -Wl,--gc-sections -fPIC' $ac_configure_extra_args " --no-create --no-recursion" >&6
416 exec /bin
/sh
"./configure" '--host=mipsel-linux' '--build=x86_64-linux-gnu' 'build_alias=x86_64-linux-gnu' 'host_alias=mipsel-linux' 'CC=mipsel-uclibc-gcc' 'CFLAGS=-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -fPIC -ffunction-sections -fdata-sections -DNO_MD4 -DNO_AES -DNO_ERROR_STRINGS -DNO_HC128 -DNO_RABBIT -DNO_PSK -DNO_DSA -DNO_DH -DNO_PWDBASED' 'LDFLAGS=-ffunction-sections -fdata-sections -Wl,--gc-sections -fPIC' $ac_configure_extra_args --no-create --no-recursion
422 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
423 ## Running $as_me. ##
431 AMDEP_TRUE
="" ac_aux_dir
="."
434 # The HP-UX ksh and POSIX shell print the target directory to stdout
436 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
438 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
439 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
440 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
441 AS
='mipsel-uclibc-as'
444 macro_version
='2.2.4'
445 macro_revision
='1.2976'
449 enable_fast_install
='yes'
450 host_alias
='mipsel-linux'
451 host='mipsel-unknown-linux-gnu'
453 build_alias
='x86_64-linux-gnu'
454 build
='x86_64-pc-linux-gnu'
457 Xsed
='/bin/sed -e 1s/^X//'
461 LD
='mipsel-uclibc-ld'
462 NM
='mipsel-uclibc-nm'
464 max_cmd_len
='3458764513820540925'
468 lt_SP2NL
='tr \040 \012'
469 lt_NL2SP
='tr \015\012 \040\040'
471 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
472 deplibs_check_method
='pass_all'
473 file_magic_cmd
='$MAGIC_CMD'
474 AR
='mipsel-uclibc-ar'
476 STRIP
='mipsel-uclibc-strip -R .note -R .comment'
477 RANLIB
='mipsel-uclibc-ranlib'
478 old_postinstall_cmds
='chmod 644 $oldlib~$RANLIB $oldlib'
479 old_postuninstall_cmds
=''
480 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
481 CC
='mipsel-uclibc-gcc'
482 CFLAGS
='-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -fPIC -ffunction-sections -fdata-sections -DNO_MD4 -DNO_AES -DNO_ERROR_STRINGS -DNO_HC128 -DNO_RABBIT -DNO_PSK -DNO_DSA -DNO_DH -DNO_PWDBASED -DNDEBUG -DNO_HC128 -DNO_PSK -Wall -Wno-unused -Os -fomit-frame-pointer '
483 compiler
='mipsel-uclibc-gcc'
485 lt_cv_sys_global_symbol_pipe
='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
486 lt_cv_sys_global_symbol_to_cdecl
='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
487 lt_cv_sys_global_symbol_to_c_name_address
='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
488 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'\'''
493 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
494 lt_prog_compiler_wl
='-Wl,'
495 lt_prog_compiler_pic
=' -fPIC -DPIC'
496 lt_prog_compiler_static
='-static'
497 lt_cv_prog_compiler_c_o
='yes'
506 extract_expsyms_cmds
=''
507 archive_cmds_need_lc
='no'
508 enable_shared_with_static_runtimes
='no'
509 export_dynamic_flag_spec
='${wl}--export-dynamic'
510 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
511 compiler_needs_object
='no'
512 old_archive_from_new_cmds
=''
513 old_archive_from_expsyms_cmds
=''
514 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
515 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
516 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
517 echo "local: *; };" >> $output_objdir/$libname.ver~
518 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
520 module_expsym_cmds
=''
522 allow_undefined_flag
=''
524 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
525 hardcode_libdir_flag_spec_ld
=''
526 hardcode_libdir_separator
=''
528 hardcode_direct_absolute
='no'
529 hardcode_minus_L
='no'
530 hardcode_shlibpath_var
='unsupported'
531 hardcode_automatic
='no'
533 link_all_deplibs
='unknown'
535 always_export_symbols
='no'
536 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
537 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
541 variables_saved_for_relink
='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
545 runpath_var
='LD_RUN_PATH'
546 shlibpath_var
='LD_LIBRARY_PATH'
547 shlibpath_overrides_runpath
='no'
548 libname_spec
='lib$name'
549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
550 soname_spec
='${libname}${release}${shared_ext}$major'
552 postuninstall_cmds
=''
553 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
555 hardcode_into_libs
='yes'
556 sys_lib_search_path_spec
='/home/vicente/tomato/tools/brcm/K26/hndtools-mipsel-uclibc-4.2.4/lib/gcc/mipsel-linux-uclibc/4.2.4 /home/vicente/tomato/tools/brcm/K26/hndtools-mipsel-uclibc-4.2.4/lib/gcc /home/vicente/tomato/tools/brcm/K26/hndtools-mipsel-uclibc-4.2.4/mipsel-linux-uclibc/lib'
557 sys_lib_dlsearch_path_spec
='/lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib /usr/lib/nvidia-settings /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/nvidia-current /usr/lib32/nvidia-current /lib32 /usr/lib32 '
558 hardcode_action
='immediate'
559 enable_dlopen
='unknown'
560 enable_dlopen_self
='unknown'
561 enable_dlopen_self_static
='unknown'
562 old_striplib
='mipsel-uclibc-strip -R .note -R .comment --strip-debug'
563 striplib
='mipsel-uclibc-strip -R .note -R .comment --strip-unneeded'
565 LTCC
='mipsel-uclibc-gcc'
566 LTCFLAGS
='-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -fPIC -ffunction-sections -fdata-sections -DNO_MD4 -DNO_AES -DNO_ERROR_STRINGS -DNO_HC128 -DNO_RABBIT -DNO_PSK -DNO_DSA -DNO_DH -DNO_PWDBASED '
567 compiler
='mipsel-uclibc-gcc'
569 # Quote evaled strings.
570 for var
in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag 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
571 case `eval \\$ECHO "X\\$$var"` in
573 eval "lt_$var=\\\"\`\
$ECHO \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
576 eval "lt_$var=\\\"\$$var\\\""
581 # Double-quote double-evaled strings.
582 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
583 case `eval \\$ECHO "X\\$$var"` in
585 eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
588 eval "lt_$var=\\\"\$$var\\\""
593 # Fix-up fallback echo if it was mangled by the above quoting rules.
595 *'\$0 --fallback-echo"') lt_ECHO
=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
601 lt_shell_append
='yes'
603 # See if we are running on zsh, and set the options which allow our
604 # commands through without removal of \ escapes INIT.
605 if test -n "${ZSH_VERSION+set}" ; then
620 # Handling of arguments.
621 for ac_config_target
in $ac_config_targets
623 case $ac_config_target in
624 "ctaocrypt/include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS ctaocrypt/include/config.h" ;;
625 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
626 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
627 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
628 "ctaocrypt/Makefile") CONFIG_FILES
="$CONFIG_FILES ctaocrypt/Makefile" ;;
629 "ctaocrypt/src/Makefile") CONFIG_FILES
="$CONFIG_FILES ctaocrypt/src/Makefile" ;;
630 "ctaocrypt/test/Makefile") CONFIG_FILES
="$CONFIG_FILES ctaocrypt/test/Makefile" ;;
631 "ctaocrypt/benchmark/Makefile") CONFIG_FILES
="$CONFIG_FILES ctaocrypt/benchmark/Makefile" ;;
632 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
633 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
634 "examples/client/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/client/Makefile" ;;
635 "examples/server/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/server/Makefile" ;;
636 "examples/echoclient/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/echoclient/Makefile" ;;
637 "examples/echoserver/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/echoserver/Makefile" ;;
638 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
639 "sslSniffer/Makefile") CONFIG_FILES
="$CONFIG_FILES sslSniffer/Makefile" ;;
640 "sslSniffer/sslSnifferTest/Makefile") CONFIG_FILES
="$CONFIG_FILES sslSniffer/sslSnifferTest/Makefile" ;;
642 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
643 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
644 { (exit 1); exit 1; }; };;
649 # If the user did not use the arguments to specify the items to instantiate,
650 # then the envvar interface is used. Set only those that are not.
651 # We use the long form for the default assignment because of an extremely
652 # bizarre bug on SunOS 4.1.3.
653 if $ac_need_defaults; then
654 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
655 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
656 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
659 # Have a temporary directory for convenience. Make it in the build tree
660 # simply because there is no reason against having it here, and in addition,
661 # creating and moving files from /tmp can sometimes cause problems.
662 # Hook for its removal unless debugging.
663 # Note that there is a small window in which the directory will not be cleaned:
664 # after its creation but before its name has been assigned to `$tmp'.
669 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
671 trap '{ (exit 1); exit 1; }' 1 2 13 15
673 # Create a (secure) tmp directory for tmp files.
676 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
677 test -n "$tmp" && test -d "$tmp"
681 (umask 077 && mkdir
"$tmp")
684 echo "$me: cannot create a temporary directory in ." >&2
685 { (exit 1); exit 1; }
689 # Set up the sed scripts for CONFIG_FILES section.
692 # No need to generate the scripts if there are no CONFIG_FILES.
693 # This happens for instance when ./config.status config.h
694 if test -n "$CONFIG_FILES"; then
696 cat >"$tmp/subs-1.sed" <<\CEOF
697 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
698 s
,@SHELL@
,|
#_!!_#|/bin/sh,g
699 s
,@PATH_SEPARATOR@
,|
#_!!_#|:,g
700 s
,@PACKAGE_NAME@
,|
#_!!_#|,g
701 s
,@PACKAGE_TARNAME@
,|
#_!!_#|,g
702 s
,@PACKAGE_VERSION@
,|
#_!!_#|,g
703 s
,@PACKAGE_STRING@
,|
#_!!_#|,g
704 s
,@PACKAGE_BUGREPORT@
,|
#_!!_#|,g
705 s
,@exec_prefix@
,|
#_!!_#|${prefix},g
706 s
,@prefix@
,|
#_!!_#|/usr/local/cyassl,g
707 s
,@program_transform_name@
,|
#_!!_#|s\,x\,x\,,g
708 s
,@bindir@
,|
#_!!_#|${exec_prefix}/bin,g
709 s
,@sbindir@
,|
#_!!_#|${exec_prefix}/sbin,g
710 s
,@libexecdir@
,|
#_!!_#|${exec_prefix}/libexec,g
711 s
,@datarootdir@
,|
#_!!_#|${prefix}/share,g
712 s
,@datadir@
,|
#_!!_#|${datarootdir},g
713 s
,@sysconfdir@
,|
#_!!_#|${prefix}/etc,g
714 s
,@sharedstatedir@
,|
#_!!_#|${prefix}/com,g
715 s
,@localstatedir@
,|
#_!!_#|${prefix}/var,g
716 s
,@includedir@
,|
#_!!_#|${prefix}/include,g
717 s
,@oldincludedir@
,|
#_!!_#|/usr/include,g
718 s
,@docdir@
,|
#_!!_#|${datarootdir}/doc/${PACKAGE},g
719 s
,@infodir@
,|
#_!!_#|${datarootdir}/info,g
720 s
,@htmldir@
,|
#_!!_#|${docdir},g
721 s
,@dvidir@
,|
#_!!_#|${docdir},g
722 s
,@pdfdir@
,|
#_!!_#|${docdir},g
723 s
,@psdir@
,|
#_!!_#|${docdir},g
724 s
,@libdir@
,|
#_!!_#|${exec_prefix}/lib,g
725 s
,@localedir@
,|
#_!!_#|${datarootdir}/locale,g
726 s
,@mandir@
,|
#_!!_#|${datarootdir}/man,g
727 s
,@DEFS@
,|
#_!!_#|-DHAVE_CONFIG_H,g
728 s
,@ECHO_C@
,|
#_!!_#|,g
729 s
,@ECHO_N@
,|
#_!!_#|-n,g
730 s
,@ECHO_T@
,|
#_!!_#|,g
731 s
,@LIBS@
,|
#_!!_#|-lpthread -lm ,g
732 s
,@build_alias@
,|
#_!!_#|x86_64-linux-gnu,g
733 s
,@host_alias@
,|
#_!!_#|mipsel-linux,g
734 s
,@target_alias@
,|
#_!!_#|,g
735 s
,@build@
,|
#_!!_#|x86_64-pc-linux-gnu,g
736 s
,@build_cpu@
,|
#_!!_#|x86_64,g
737 s
,@build_vendor@
,|
#_!!_#|pc,g
738 s
,@build_os@
,|
#_!!_#|linux-gnu,g
739 s
,@
host@
,|
#_!!_#|mipsel-unknown-linux-gnu,g
740 s
,@host_cpu@
,|
#_!!_#|mipsel,g
741 s
,@host_vendor@
,|
#_!!_#|unknown,g
742 s
,@host_os@
,|
#_!!_#|linux-gnu,g
743 s
,@target@
,|
#_!!_#|mipsel-unknown-linux-gnu,g
744 s
,@target_cpu@
,|
#_!!_#|mipsel,g
745 s
,@target_vendor@
,|
#_!!_#|unknown,g
746 s
,@target_os@
,|
#_!!_#|linux-gnu,g
747 s
,@INSTALL_PROGRAM@
,|
#_!!_#|${INSTALL},g
748 s
,@INSTALL_SCRIPT@
,|
#_!!_#|${INSTALL},g
749 s
,@INSTALL_DATA@
,|
#_!!_#|${INSTALL} -m 644,g
750 s
,@am__isrc@
,|
#_!!_#|,g
751 s
,@CYGPATH_W@
,|
#_!!_#|echo,g
752 s
,@PACKAGE@
,|
#_!!_#|cyassl,g
753 s
,@VERSION@
,|
#_!!_#|1.9.0,g
754 s
,@ACLOCAL@
,|
#_!!_#|${SHELL} /home/vicente/tomato/release/src/router/cyassl/missing --run aclocal-1.10,g
755 s
,@AUTOCONF@
,|
#_!!_#|${SHELL} /home/vicente/tomato/release/src/router/cyassl/missing --run autoconf,g
756 s
,@AUTOMAKE@
,|
#_!!_#|${SHELL} /home/vicente/tomato/release/src/router/cyassl/missing --run automake-1.10,g
757 s
,@AUTOHEADER@
,|
#_!!_#|${SHELL} /home/vicente/tomato/release/src/router/cyassl/missing --run autoheader,g
758 s
,@MAKEINFO@
,|
#_!!_#|${SHELL} /home/vicente/tomato/release/src/router/cyassl/missing --run makeinfo,g
759 s
,@install_sh@
,|
#_!!_#|$(SHELL) /home/vicente/tomato/release/src/router/cyassl/install-sh,g
760 s
,@STRIP@
,|
#_!!_#|mipsel-uclibc-strip -R .note -R .comment,g
761 s
,@INSTALL_STRIP_PROGRAM@
,|
#_!!_#|$(install_sh) -c -s,g
762 s
,@mkdir_p@
,|
#_!!_#|/bin/mkdir -p,g
763 s
,@AWK@
,|
#_!!_#|gawk,g
764 s
,@SET_MAKE@
,|
#_!!_#|,g
765 s
,@am__leading_dot@
,|
#_!!_#|.,g
766 s
,@AMTAR@
,|
#_!!_#|${SHELL} /home/vicente/tomato/release/src/router/cyassl/missing --run tar,g
767 s
,@am__tar@
,|
#_!!_#|${AMTAR} chof - "$$tardir",g
768 s
,@am__untar@
,|
#_!!_#|${AMTAR} xf -,g
769 s
,@CC@
,|
#_!!_#|mipsel-uclibc-gcc,g
770 s
,@CFLAGS@
,|
#_!!_#|-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -fPIC -ffunction-sections -fdata-sections -DNO_MD4 -DNO_AES -DNO_ERROR_STRINGS -DNO_HC128 -DNO_RABBIT -DNO_PSK -DNO_DSA -DNO_DH -DNO_PWDBASED -DNDEBUG -DNO_HC128 -DNO_PSK -Wall -Wno-unused -Os -fomit-frame-pointer ,g
771 s
,@LDFLAGS@
,|
#_!!_#|-ffunction-sections -fdata-sections -Wl\,--gc-sections -fPIC,g
772 s
,@CPPFLAGS@
,|
#_!!_#|,g
773 s
,@ac_ct_CC@
,|
#_!!_#|,g
774 s
,@EXEEXT@
,|
#_!!_#|,g
775 s
,@OBJEXT@
,|
#_!!_#|o,g
776 s
,@DEPDIR@
,|
#_!!_#|.deps,g
777 s
,@am__include@
,|
#_!!_#|include,g
778 s
,@am__quote@
,|
#_!!_#|,g
779 s
,@AMDEP_TRUE@
,|
#_!!_#|,g
780 s
,@AMDEP_FALSE@
,|
#_!!_#|#,g
781 s
,@AMDEPBACKSLASH@
,|
#_!!_#|\\,g
782 s
,@CCDEPMODE@
,|
#_!!_#|depmode=gcc3,g
783 s
,@am__fastdepCC_TRUE@
,|
#_!!_#|,g
784 s
,@am__fastdepCC_FALSE@
,|
#_!!_#|#,g
785 s
,@CCAS@
,|
#_!!_#|mipsel-uclibc-gcc,g
786 s
,@CCASFLAGS@
,|
#_!!_#|-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -fPIC -ffunction-sections -fdata-sections -DNO_MD4 -DNO_AES -DNO_ERROR_STRINGS -DNO_HC128 -DNO_RABBIT -DNO_PSK -DNO_DSA -DNO_DH -DNO_PWDBASED ,g
787 s
,@CCASDEPMODE@
,|
#_!!_#|depmode=gcc3,g
788 s
,@am__fastdepCCAS_TRUE@
,|
#_!!_#|,g
789 s
,@am__fastdepCCAS_FALSE@
,|
#_!!_#|#,g
790 s
,@AS@
,|
#_!!_#|mipsel-uclibc-as,g
791 s
,@DLLTOOL@
,|
#_!!_#|dlltool,g
792 s
,@OBJDUMP@
,|
#_!!_#|objdump,g
793 s
,@LIBTOOL@
,|
#_!!_#|$(SHELL) $(top_builddir)/libtool,g
794 s
,@SED@
,|
#_!!_#|/bin/sed,g
796 cat >"$tmp/subs-2.sed" <<\CEOF
797 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b end
798 s
,@GREP@
,|
#_!!_#|/bin/grep,g
799 s
,@EGREP@
,|
#_!!_#|/bin/grep -E,g
800 s
,@FGREP@
,|
#_!!_#|/bin/grep -F,g
801 s
,@LD@
,|
#_!!_#|mipsel-uclibc-ld,g
802 s
,@DUMPBIN@
,|
#_!!_#|,g
803 s
,@ac_ct_DUMPBIN@
,|
#_!!_#|,g
804 s
,@NM@
,|
#_!!_#|mipsel-uclibc-nm,g
805 s
,@LN_S@
,|
#_!!_#|ln -s,g
806 s
,@AR@
,|
#_!!_#|mipsel-uclibc-ar,g
807 s
,@RANLIB@
,|
#_!!_#|mipsel-uclibc-ranlib,g
808 s
,@lt_ECHO@
,|
#_!!_#|echo,g
809 s
,@DSYMUTIL@
,|
#_!!_#|,g
810 s
,@NMEDIT@
,|
#_!!_#|,g
813 s
,@OTOOL64@
,|
#_!!_#|,g
814 s
,@CPP@
,|
#_!!_#|mipsel-uclibc-gcc -E,g
815 s
,@LIBM@
,|
#_!!_#|-lm,g
816 s
,@BUILD_FASTMATH_TRUE@
,|
#_!!_#|#,g
817 s
,@BUILD_FASTMATH_FALSE@
,|
#_!!_#|,g
818 s
,@BUILD_SNIFFER_TRUE@
,|
#_!!_#|#,g
819 s
,@BUILD_SNIFFER_FALSE@
,|
#_!!_#|,g
820 s
,@BUILD_AESNI_TRUE@
,|
#_!!_#|#,g
821 s
,@BUILD_AESNI_FALSE@
,|
#_!!_#|,g
822 s
,@BUILD_RIPEMD_TRUE@
,|
#_!!_#|#,g
823 s
,@BUILD_RIPEMD_FALSE@
,|
#_!!_#|,g
824 s
,@BUILD_SHA512_TRUE@
,|
#_!!_#|#,g
825 s
,@BUILD_SHA512_FALSE@
,|
#_!!_#|,g
826 s
,@BUILD_HC128_TRUE@
,|
#_!!_#|#,g
827 s
,@BUILD_HC128_FALSE@
,|
#_!!_#|,g
828 s
,@BUILD_ECC_TRUE@
,|
#_!!_#|#,g
829 s
,@BUILD_ECC_FALSE@
,|
#_!!_#|,g
830 s
,@BUILD_NTRU_TRUE@
,|
#_!!_#|#,g
831 s
,@BUILD_NTRU_FALSE@
,|
#_!!_#|,g
832 s
,@acx_pthread_config@
,|
#_!!_#|,g
833 s
,@PTHREAD_CC@
,|
#_!!_#|mipsel-uclibc-gcc,g
834 s
,@PTHREAD_LIBS@
,|
#_!!_#|-lpthread,g
835 s
,@PTHREAD_CFLAGS@
,|
#_!!_#|,g
836 s
,@LIBOBJS@
,|
#_!!_#|,g
837 s
,@LTLIBOBJS@
,|
#_!!_#|,g
841 fi # test -n "$CONFIG_FILES"
844 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
847 :[FHLC
]) ac_mode
=$ac_tag; continue;;
849 case $ac_mode$ac_tag in
851 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
852 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
853 { (exit 1); exit 1; }; };;
855 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
872 -) ac_f
="$tmp/stdin";;
873 *) # Look for the file first in the build tree, then in the source tree
874 # (if the path is not absolute). The absolute path cannot be DOS-style,
875 # because $ac_f cannot contain `:'.
879 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
881 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
882 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
883 { (exit 1); exit 1; }; };;
885 ac_file_inputs
="$ac_file_inputs $ac_f"
888 # Let's still pretend it is `configure' which instantiates (i.e., don't
889 # use $as_me), people would be surprised to read:
890 # /* config.h. Generated by config.status. */
891 configure_input
="Generated from "`IFS=:
892 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
893 if test x
"$ac_file" != x-
; then
894 configure_input
="$ac_file. $configure_input"
895 { echo "$as_me:$LINENO: creating $ac_file" >&5
896 echo "$as_me: creating $ac_file" >&6;}
900 *:-:* |
*:-) cat >"$tmp/stdin";;
905 ac_dir
=`$as_dirname -- "$ac_file" ||
906 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
907 X"$ac_file" : 'X\(//\)[^/]' \| \
908 X"$ac_file" : 'X\(//\)$' \| \
909 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
930 -*) as_dir
=.
/$as_dir;;
932 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
936 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
939 as_dirs
="'$as_qdir' $as_dirs"
940 as_dir
=`$as_dirname -- "$as_dir" ||
941 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
942 X"$as_dir" : 'X\(//\)[^/]' \| \
943 X"$as_dir" : 'X\(//\)$' \| \
944 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
963 test -d "$as_dir" && break
965 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
966 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
967 echo "$as_me: error: cannot create directory $as_dir" >&2;}
968 { (exit 1); exit 1; }; }; }
972 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
974 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
975 # A ".." for each directory in $ac_dir_suffix.
976 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
977 case $ac_top_builddir_sub in
978 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
979 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
982 ac_abs_top_builddir
=$ac_pwd
983 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
984 # for backward compatibility:
985 ac_top_builddir
=$ac_top_build_prefix
988 .
) # We are building in place.
990 ac_top_srcdir
=$ac_top_builddir_sub
991 ac_abs_top_srcdir
=$ac_pwd ;;
992 [\\/]* | ?
:[\\/]* ) # Absolute name.
993 ac_srcdir
=$srcdir$ac_dir_suffix;
994 ac_top_srcdir
=$srcdir
995 ac_abs_top_srcdir
=$srcdir ;;
997 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
998 ac_top_srcdir
=$ac_top_build_prefix$srcdir
999 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1001 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1011 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
1012 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
1016 [\\/$
]* | ?
:[\\/]* ) ;;
1017 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
1019 # If the template does not know about datarootdir, expand it.
1020 # FIXME: This hack should be removed a few years after 2.60.
1021 ac_datarootdir_hack
=; ac_datarootdir_seen
=
1023 case `sed -n '/datarootdir/ {
1032 ' $ac_file_inputs` in
1033 *datarootdir
*) ac_datarootdir_seen
=yes;;
1034 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
1035 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1036 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1037 ac_datarootdir_hack
='
1038 s&@datadir@&${datarootdir}&g
1039 s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
1040 s&@infodir@&${datarootdir}/info&g
1041 s&@localedir@&${datarootdir}/locale&g
1042 s&@mandir@&${datarootdir}/man&g
1043 s&\${datarootdir}&${prefix}/share&g' ;;
1045 sed "/^[ ]*VPATH[ ]*=/{
1049 s/^\([^=]*=[ ]*\):*/\1/
1055 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1056 s&@configure_input@&$configure_input&;t t
1057 s&@top_builddir@&$ac_top_builddir_sub&;t t
1058 s&@srcdir@&$ac_srcdir&;t t
1059 s&@abs_srcdir@&$ac_abs_srcdir&;t t
1060 s&@top_srcdir@&$ac_top_srcdir&;t t
1061 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1062 s&@builddir@&$ac_builddir&;t t
1063 s&@abs_builddir@&$ac_abs_builddir&;t t
1064 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1065 s&@INSTALL@&$ac_INSTALL&;t t
1066 s&@MKDIR_P@&$ac_MKDIR_P&;t t
1067 $ac_datarootdir_hack
1068 " $ac_file_inputs |
sed -f "$tmp/subs-1.sed" |
sed -f "$tmp/subs-2.sed" >$tmp/out
1070 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1071 { ac_out
=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1072 { ac_out
=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1073 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1074 which seems to be undefined. Please make sure it is defined." >&5
1075 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1076 which seems to be undefined. Please make sure it is defined." >&2;}
1080 -) cat "$tmp/out"; rm -f "$tmp/out";;
1081 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
1088 # First, check the format of the line:
1089 cat >"$tmp/defines.sed" <<\CEOF
1090 /^
[ ]*#[ ]*undef[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[ ]*$/b def
1091 /^
[ ]*#[ ]*define[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[( ]/b def
1095 s
,^\
([ #]*\)[^ ]*\([ ]*PACKAGE_NAME\)[ (].*,\1define\2 "" ,
1096 s
,^\
([ #]*\)[^ ]*\([ ]*PACKAGE_TARNAME\)[ (].*,\1define\2 "" ,
1097 s
,^\
([ #]*\)[^ ]*\([ ]*PACKAGE_VERSION\)[ (].*,\1define\2 "" ,
1098 s
,^\
([ #]*\)[^ ]*\([ ]*PACKAGE_STRING\)[ (].*,\1define\2 "" ,
1099 s
,^\
([ #]*\)[^ ]*\([ ]*PACKAGE_BUGREPORT\)[ (].*,\1define\2 "" ,
1100 s
,^\
([ #]*\)[^ ]*\([ ]*PACKAGE\)[ (].*,\1define\2 "cyassl" ,
1101 s
,^\
([ #]*\)[^ ]*\([ ]*VERSION\)[ (].*,\1define\2 "1.9.0" ,
1102 s
,^\
([ #]*\)[^ ]*\([ ]*STDC_HEADERS\)[ (].*,\1define\2 1 ,
1103 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_SYS_TYPES_H\)[ (].*,\1define\2 1 ,
1104 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_SYS_STAT_H\)[ (].*,\1define\2 1 ,
1105 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STDLIB_H\)[ (].*,\1define\2 1 ,
1106 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STRING_H\)[ (].*,\1define\2 1 ,
1107 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_MEMORY_H\)[ (].*,\1define\2 1 ,
1108 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STRINGS_H\)[ (].*,\1define\2 1 ,
1109 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_INTTYPES_H\)[ (].*,\1define\2 1 ,
1110 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STDINT_H\)[ (].*,\1define\2 1 ,
1111 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_UNISTD_H\)[ (].*,\1define\2 1 ,
1112 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_DLFCN_H\)[ (].*,\1define\2 1 ,
1113 s
,^\
([ #]*\)[^ ]*\([ ]*LT_OBJDIR\)[ (].*,\1define\2 ".libs/" ,
1114 s
,^\
([ #]*\)[^ ]*\([ ]*SIZEOF_LONG\)[ (].*,\1define\2 4 ,
1115 s
,^\
([ #]*\)[^ ]*\([ ]*SIZEOF_LONG_LONG\)[ (].*,\1define\2 8 ,
1116 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_ERRNO_H\)[ (].*,\1define\2 1 ,
1117 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_PTHREAD\)[ (].*,\1define\2 1 ,
1119 s
,^
[ #]*u.*,/* & */,
1121 sed -f "$tmp/defines.sed" $ac_file_inputs >"$tmp/out1"
1122 ac_result
="$tmp/out1"
1123 if test x
"$ac_file" != x-
; then
1124 echo "/* $configure_input */" >"$tmp/config.h"
1125 cat "$ac_result" >>"$tmp/config.h"
1126 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
1127 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
1128 echo "$as_me: $ac_file is unchanged" >&6;}
1131 mv "$tmp/config.h" $ac_file
1134 echo "/* $configure_input */"
1138 # Compute $ac_file's index in $config_headers.
1140 for _am_header
in $config_headers :; do
1142 $ac_file |
$ac_file:* )
1145 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
1148 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
1149 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1150 X$ac_file : 'X\(//\)[^/]' \| \
1151 X$ac_file : 'X\(//\)$' \| \
1152 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
1154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1170 s/.*/./; q'`/stamp-h
$_am_stamp_count
1173 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
1174 echo "$as_me: executing $ac_file commands" >&6;}
1179 case $ac_file$ac_mode in
1180 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
1181 # Strip MF so we end up with the name of the file.
1182 mf
=`echo "$mf" | sed -e 's/:.*$//'`
1183 # Check whether this is an Automake generated Makefile or not.
1184 # We used to match only the files named `Makefile.in', but
1185 # some people rename them; so instead we look at the file content.
1186 # Grep'ing the first line is not enough: some people post-process
1187 # each Makefile.in and add a new line on top of each file to say so.
1188 # Grep'ing the whole file is not good either: AIX grep has a line
1189 # limit of 2048, but all sed's we know have understand at least 4000.
1190 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
1191 dirpart
=`$as_dirname -- "$mf" ||
1192 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1193 X"$mf" : 'X\(//\)[^/]' \| \
1194 X"$mf" : 'X\(//\)$' \| \
1195 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1217 # Extract the definition of DEPDIR, am__include, and am__quote
1218 # from the Makefile without running `make'.
1219 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
1220 test -z "$DEPDIR" && continue
1221 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
1222 test -z "am__include" && continue
1223 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
1224 # When using ansi2knr, U may be empty or an underscore; expand it
1225 U
=`sed -n 's/^U = //p' < "$mf"`
1226 # Find all dependency output files, they are included files with
1227 # $(DEPDIR) in their names. We invoke sed twice because it is the
1228 # simplest approach to changing $(DEPDIR) to its actual value in the
1230 for file in `sed -n "
1231 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1232 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1233 # Make sure the directory exists.
1234 test -f "$dirpart/$file" && continue
1235 fdir
=`$as_dirname -- "$file" ||
1236 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1237 X"$file" : 'X\(//\)[^/]' \| \
1238 X"$file" : 'X\(//\)$' \| \
1239 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258 { as_dir
=$dirpart/$fdir
1260 -*) as_dir
=.
/$as_dir;;
1262 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
1266 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
1267 *) as_qdir
=$as_dir;;
1269 as_dirs
="'$as_qdir' $as_dirs"
1270 as_dir
=`$as_dirname -- "$as_dir" ||
1271 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272 X"$as_dir" : 'X\(//\)[^/]' \| \
1273 X"$as_dir" : 'X\(//\)$' \| \
1274 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1293 test -d "$as_dir" && break
1295 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
1296 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
1297 echo "$as_me: error: cannot create directory $as_dir" >&2;}
1298 { (exit 1); exit 1; }; }; }
1299 # echo "creating $dirpart/$file"
1300 echo '# dummy' > "$dirpart/$file"
1306 # See if we are running on zsh, and set the options which allow our
1307 # commands through without removal of \ escapes.
1308 if test -n "${ZSH_VERSION+set}" ; then
1309 setopt NO_GLOB_SUBST
1313 trap "$RM -f \"$cfgfile\"; exit 1" 1 2 15
1316 cat <<_LT_EOF >> "$cfgfile"
1319 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1320 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1321 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1322 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1324 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1325 # 2006, 2007, 2008 Free Software Foundation, Inc.
1326 # Written by Gordon Matzigkeit, 1996
1328 # This file is part of GNU Libtool.
1330 # GNU Libtool is free software; you can redistribute it and/or
1331 # modify it under the terms of the GNU General Public License as
1332 # published by the Free Software Foundation; either version 2 of
1333 # the License, or (at your option) any later version.
1335 # As a special exception to the GNU General Public License,
1336 # if you distribute this file as part of a program or library that
1337 # is built using GNU Libtool, you may include this file under the
1338 # same distribution terms that you use for the rest of that program.
1340 # GNU Libtool is distributed in the hope that it will be useful,
1341 # but WITHOUT ANY WARRANTY; without even the implied warranty of
1342 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1343 # GNU General Public License for more details.
1345 # You should have received a copy of the GNU General Public License
1346 # along with GNU Libtool; see the file COPYING. If not, a copy
1347 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1348 # obtained by writing to the Free Software Foundation, Inc.,
1349 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1352 # The names of the tagged configurations supported by this script.
1355 # ### BEGIN LIBTOOL CONFIG
1357 # Assembler program.
1360 # DLL creation program.
1363 # Object dumper program.
1366 # Which release of libtool.m4 was used?
1367 macro_version=$macro_version
1368 macro_revision=$macro_revision
1370 # Whether or not to build shared libraries.
1371 build_libtool_libs=$enable_shared
1373 # Whether or not to build static libraries.
1374 build_old_libs=$enable_static
1376 # What type of objects to build.
1379 # Whether or not to optimize for fast installation.
1380 fast_install=$enable_fast_install
1383 host_alias=$host_alias
1388 build_alias=$build_alias
1392 # A sed program that does not truncate output.
1395 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
1396 Xsed="\$SED -e 1s/^X//"
1398 # A grep program that handles long lines.
1404 # A literal string matcher.
1407 # A BSD- or MS-compatible name lister.
1410 # Whether we need soft or hard links.
1413 # What is the maximum length of a command?
1414 max_cmd_len=$max_cmd_len
1416 # Object file suffix (normally "o").
1419 # Executable file suffix (normally "").
1422 # whether the shell understands "unset".
1425 # turn spaces into newlines.
1428 # turn newlines into spaces.
1431 # How to create reloadable object files.
1432 reload_flag=$lt_reload_flag
1433 reload_cmds=$lt_reload_cmds
1435 # Method to check whether dependent libraries are shared objects.
1436 deplibs_check_method=$lt_deplibs_check_method
1438 # Command to use when deplibs_check_method == "file_magic".
1439 file_magic_cmd=$lt_file_magic_cmd
1443 AR_FLAGS=$lt_AR_FLAGS
1445 # A symbol stripping program.
1448 # Commands used to install an old-style archive.
1450 old_postinstall_cmds=$lt_old_postinstall_cmds
1451 old_postuninstall_cmds=$lt_old_postuninstall_cmds
1456 # LTCC compiler flags.
1459 # Take the output of nm and produce a listing of raw symbols and C names.
1460 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1462 # Transform the output of nm in a proper C declaration.
1463 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1465 # Transform the output of nm in a C name address pair.
1466 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1468 # Transform the output of nm in a C name address pair when lib prefix is needed.
1469 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1471 # The name of the directory that contains temporary libtool files.
1474 # Shell to use when invoking shell scripts.
1477 # An echo program that does not interpret backslashes.
1480 # Used to examine libraries when file_magic_cmd begins with "file".
1481 MAGIC_CMD=$MAGIC_CMD
1483 # Must we lock files when doing compilation?
1484 need_locks=$lt_need_locks
1486 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1487 DSYMUTIL=$lt_DSYMUTIL
1489 # Tool to change global to local symbols on Mac OS X.
1492 # Tool to manipulate fat objects and archives on Mac OS X.
1495 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
1498 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1501 # Old archive suffix (normally "a").
1504 # Shared library suffix (normally ".so").
1505 shrext_cmds=$lt_shrext_cmds
1507 # The commands to extract the exported symbol list from a shared archive.
1508 extract_expsyms_cmds=$lt_extract_expsyms_cmds
1510 # Variables whose values should be saved in libtool wrapper scripts and
1511 # restored at link time.
1512 variables_saved_for_relink=$lt_variables_saved_for_relink
1514 # Do we need the "lib" prefix for modules?
1515 need_lib_prefix=$need_lib_prefix
1517 # Do we need a version for libraries?
1518 need_version=$need_version
1520 # Library versioning type.
1521 version_type=$version_type
1523 # Shared library runtime path variable.
1524 runpath_var=$runpath_var
1526 # Shared library path variable.
1527 shlibpath_var=$shlibpath_var
1529 # Is shlibpath searched before the hard-coded library search path?
1530 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1532 # Format of library name prefix.
1533 libname_spec=$lt_libname_spec
1535 # List of archive names. First name is the real one, the rest are links.
1536 # The last name is the one that the linker finds with -lNAME
1537 library_names_spec=$lt_library_names_spec
1539 # The coded name of the library, if different from the real name.
1540 soname_spec=$lt_soname_spec
1542 # Command to use after installation of a shared archive.
1543 postinstall_cmds=$lt_postinstall_cmds
1545 # Command to use after uninstallation of a shared archive.
1546 postuninstall_cmds=$lt_postuninstall_cmds
1548 # Commands used to finish a libtool library installation in a directory.
1549 finish_cmds=$lt_finish_cmds
1551 # As "finish_cmds", except a single script fragment to be evaled but
1553 finish_eval=$lt_finish_eval
1555 # Whether we should hardcode library paths into libraries.
1556 hardcode_into_libs=$hardcode_into_libs
1558 # Compile-time system search path for libraries.
1559 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1561 # Run-time system search path for libraries.
1562 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1564 # Whether dlopen is supported.
1565 dlopen_support=$enable_dlopen
1567 # Whether dlopen of programs is supported.
1568 dlopen_self=$enable_dlopen_self
1570 # Whether dlopen of statically linked programs is supported.
1571 dlopen_self_static=$enable_dlopen_self_static
1573 # Commands to strip libraries.
1574 old_striplib=$lt_old_striplib
1575 striplib=$lt_striplib
1578 # The linker used to build libraries.
1581 # Commands used to build an old-style archive.
1582 old_archive_cmds=$lt_old_archive_cmds
1584 # A language specific compiler.
1587 # Is the compiler the GNU compiler?
1590 # Compiler flag to turn off builtin functions.
1591 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1593 # How to pass a linker flag through the compiler.
1594 wl=$lt_lt_prog_compiler_wl
1596 # Additional compiler flags for building library objects.
1597 pic_flag=$lt_lt_prog_compiler_pic
1599 # Compiler flag to prevent dynamic linking.
1600 link_static_flag=$lt_lt_prog_compiler_static
1602 # Does compiler simultaneously support -c and -o options?
1603 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1605 # Whether or not to add -lc for building shared libraries.
1606 build_libtool_need_lc=$archive_cmds_need_lc
1608 # Whether or not to disallow shared libs when runtime libs are static.
1609 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1611 # Compiler flag to allow reflexive dlopens.
1612 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1614 # Compiler flag to generate shared objects directly from archives.
1615 whole_archive_flag_spec=$lt_whole_archive_flag_spec
1617 # Whether the compiler copes with passing no objects directly.
1618 compiler_needs_object=$lt_compiler_needs_object
1620 # Create an old-style archive from a shared archive.
1621 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1623 # Create a temporary old-style archive to link instead of a shared archive.
1624 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1626 # Commands used to build a shared archive.
1627 archive_cmds=$lt_archive_cmds
1628 archive_expsym_cmds=$lt_archive_expsym_cmds
1630 # Commands used to build a loadable module if different from building
1632 module_cmds=$lt_module_cmds
1633 module_expsym_cmds=$lt_module_expsym_cmds
1635 # Whether we are building with GNU ld or not.
1636 with_gnu_ld=$lt_with_gnu_ld
1638 # Flag that allows shared libraries with undefined symbols to be built.
1639 allow_undefined_flag=$lt_allow_undefined_flag
1641 # Flag that enforces no undefined symbols.
1642 no_undefined_flag=$lt_no_undefined_flag
1644 # Flag to hardcode \$libdir into a binary during linking.
1645 # This must work even if \$libdir does not exist
1646 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1648 # If ld is used when linking, flag to hardcode \$libdir into a binary
1649 # during linking. This must work even if \$libdir does not exist.
1650 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1652 # Whether we need a single "-rpath" flag with a separated argument.
1653 hardcode_libdir_separator=$lt_hardcode_libdir_separator
1655 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1656 # DIR into the resulting binary.
1657 hardcode_direct=$hardcode_direct
1659 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1660 # DIR into the resulting binary and the resulting library dependency is
1661 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
1662 # library is relocated.
1663 hardcode_direct_absolute=$hardcode_direct_absolute
1665 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
1666 # into the resulting binary.
1667 hardcode_minus_L=$hardcode_minus_L
1669 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
1670 # into the resulting binary.
1671 hardcode_shlibpath_var=$hardcode_shlibpath_var
1673 # Set to "yes" if building a shared library automatically hardcodes DIR
1674 # into the library and all subsequent libraries and executables linked
1676 hardcode_automatic=$hardcode_automatic
1678 # Set to yes if linker adds runtime paths of dependent libraries
1679 # to runtime path list.
1680 inherit_rpath=$inherit_rpath
1682 # Whether libtool must link a program against all its dependency libraries.
1683 link_all_deplibs=$link_all_deplibs
1685 # Fix the shell variable \$srcfile for the compiler.
1686 fix_srcfile_path=$lt_fix_srcfile_path
1688 # Set to "yes" if exported symbols are required.
1689 always_export_symbols=$always_export_symbols
1691 # The commands to list exported symbols.
1692 export_symbols_cmds=$lt_export_symbols_cmds
1694 # Symbols that should not be listed in the preloaded symbols.
1695 exclude_expsyms=$lt_exclude_expsyms
1697 # Symbols that must always be exported.
1698 include_expsyms=$lt_include_expsyms
1700 # Commands necessary for linking programs (against libraries) with templates.
1701 prelink_cmds=$lt_prelink_cmds
1703 # Specify filename containing input files.
1704 file_list_spec=$lt_file_list_spec
1706 # How to hardcode a shared library path into an executable.
1707 hardcode_action=$hardcode_action
1709 # ### END LIBTOOL CONFIG
1715 cat <<\_LT_EOF
>> "$cfgfile"
1716 # AIX sometimes has problems with the GCC collect2 program. For some
1717 # reason, if we set the COLLECT_NAMES environment variable, the problems
1718 # vanish in a puff of smoke.
1719 if test "X${COLLECT_NAMES+set}" != Xset
; then
1721 export COLLECT_NAMES
1728 ltmain
="$ac_aux_dir/ltmain.sh"
1731 # We use sed instead of cat because bash on DJGPP gets confused if
1732 # if finds mixed CR/LF and LF-only lines. Since sed operates in
1733 # text mode, it properly converts lines to CR/LF. This bash problem
1734 # is reportedly fixed, but why not run on old versions too?
1735 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
1736 ||
(rm -f "$cfgfile"; exit 1)
1740 cat << \_LT_EOF
>> "$cfgfile"
1742 # func_dirname file append nondir_replacement
1743 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
1744 # otherwise set result to NONDIR_REPLACEMENT.
1748 */*) func_dirname_result
="${1%/*}${2}" ;;
1749 * ) func_dirname_result
="${3}" ;;
1753 # func_basename file
1756 func_basename_result
="${1##*/}"
1759 # func_dirname_and_basename file append nondir_replacement
1760 # perform func_basename and func_dirname in a single function
1762 # dirname: Compute the dirname of FILE. If nonempty,
1763 # add APPEND to the result, otherwise set result
1764 # to NONDIR_REPLACEMENT.
1765 # value returned in "$func_dirname_result"
1766 # basename: Compute filename of FILE.
1767 # value retuned in "$func_basename_result"
1768 # Implementation must be kept synchronized with func_dirname
1769 # and func_basename. For efficiency, we do not delegate to
1770 # those functions but instead duplicate the functionality here.
1771 func_dirname_and_basename
()
1774 */*) func_dirname_result
="${1%/*}${2}" ;;
1775 * ) func_dirname_result
="${3}" ;;
1777 func_basename_result
="${1##*/}"
1780 # func_stripname prefix suffix name
1781 # strip PREFIX and SUFFIX off of NAME.
1782 # PREFIX and SUFFIX must not contain globbing or regex special
1783 # characters, hashes, percent signs, but SUFFIX may contain a leading
1784 # dot (in which case that matches only a dot).
1787 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
1788 # positional parameters, so assign one to ordinary parameter first.
1789 func_stripname_result
=${3}
1790 func_stripname_result
=${func_stripname_result#"${1}"}
1791 func_stripname_result
=${func_stripname_result%"${2}"}
1797 func_opt_split_opt
=${1%%=*}
1798 func_opt_split_arg
=${1#*=}
1805 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
1806 *) func_lo2o_result
=${1} ;;
1810 # func_xform libobj-or-source
1813 func_xform_result
=${1%.*}.lo
1816 # func_arith arithmetic-term...
1819 func_arith_result
=$
(( $
* ))
1823 # STRING may not start with a hyphen.
1826 func_len_result
=${#1}
1831 *) # Bourne compatible functions.
1832 cat << \_LT_EOF
>> "$cfgfile"
1834 # func_dirname file append nondir_replacement
1835 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
1836 # otherwise set result to NONDIR_REPLACEMENT.
1839 # Extract subdirectory from the argument.
1840 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
1841 if test "X$func_dirname_result" = "X${1}"; then
1842 func_dirname_result
="${3}"
1844 func_dirname_result
="$func_dirname_result${2}"
1848 # func_basename file
1851 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
1855 # func_stripname prefix suffix name
1856 # strip PREFIX and SUFFIX off of NAME.
1857 # PREFIX and SUFFIX must not contain globbing or regex special
1858 # characters, hashes, percent signs, but SUFFIX may contain a leading
1859 # dot (in which case that matches only a dot).
1860 # func_strip_suffix prefix name
1864 .
*) func_stripname_result
=`$ECHO "X${3}" \
1865 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
1866 *) func_stripname_result
=`$ECHO "X${3}" \
1867 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
1872 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
1873 my_sed_long_arg
='1s/^-[^=]*=//'
1878 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
1879 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
1885 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
1888 # func_xform libobj-or-source
1891 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
1894 # func_arith arithmetic-term...
1897 func_arith_result
=`expr "$@"`
1901 # STRING may not start with a hyphen.
1904 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
1910 case $lt_shell_append in
1912 cat << \_LT_EOF
>> "$cfgfile"
1914 # func_append var value
1915 # Append VALUE to the end of shell variable VAR.
1923 cat << \_LT_EOF
>> "$cfgfile"
1925 # func_append var value
1926 # Append VALUE to the end of shell variable VAR.
1937 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
1938 ||
(rm -f "$cfgfile"; exit 1)
1940 mv -f "$cfgfile" "$ofile" ||
1941 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
1950 { (exit 0); exit 0; }