version 1.1.1.1, 2012/02/21 22:39:10
|
version 1.1.1.1.2.3.2.1, 2014/07/30 09:05:17
|
Line 89 fi
|
Line 89 fi
|
IFS=" "" $as_nl" |
IFS=" "" $as_nl" |
|
|
# Find who we are. Look in the path if we contain no directory separator. |
# Find who we are. Look in the path if we contain no directory separator. |
|
as_myself= |
case $0 in #(( |
case $0 in #(( |
*[\\/]* ) as_myself=$0 ;; |
*[\\/]* ) as_myself=$0 ;; |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
Line 284 if (echo >conf$$.file) 2>/dev/null; then
|
Line 285 if (echo >conf$$.file) 2>/dev/null; then
|
# ... but there are two gotchas: |
# ... but there are two gotchas: |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
as_ln_s=ln |
as_ln_s=ln |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rmdir conf$$.dir 2>/dev/null |
rmdir conf$$.dir 2>/dev/null |
Line 353 else
|
Line 354 else
|
as_mkdir_p=false |
as_mkdir_p=false |
fi |
fi |
|
|
if test -x / >/dev/null 2>&1; then |
|
as_test_x='test -x' |
|
else |
|
if ls -dL / >/dev/null 2>&1; then |
|
as_ls_L_option=L |
|
else |
|
as_ls_L_option= |
|
fi |
|
as_test_x=' |
|
eval sh -c '\'' |
|
if test -d "$1"; then |
|
test -d "$1/."; |
|
else |
|
case $1 in #( |
|
-*)set "./$1";; |
|
esac; |
|
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
???[sx]*):;;*)false;;esac;fi |
|
'\'' sh |
|
' |
|
fi |
|
as_executable_p=$as_test_x |
|
|
|
|
# as_fn_executable_p FILE |
|
# ----------------------- |
|
# Test if FILE is an executable regular file. |
|
as_fn_executable_p () |
|
{ |
|
test -f "$1" && test -x "$1" |
|
} # as_fn_executable_p |
|
as_test_x='test -x' |
|
as_executable_p=as_fn_executable_p |
|
|
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
Line 391 exec 6>&1
|
Line 380 exec 6>&1
|
# report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
# values after options handling. |
# values after options handling. |
ac_log=" |
ac_log=" |
This file was extended by ipsec-tools $as_me 0.8.0, which was | This file was extended by ipsec-tools $as_me 0.8.1, which was |
generated by GNU Autoconf 2.67. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
Line 438 $config_commands
|
Line 427 $config_commands
|
|
|
Report bugs to the package provider." |
Report bugs to the package provider." |
|
|
ac_cs_config="'--enable-shared' '--sysconfdir=/usr/local/etc/racoon' '--localstatedir=/var/db' '--with-pkgversion=freebsd-0.8.0' '--enable-debug' '--enable-ipv6' '--enable-adminport' '--enable-stats' '--enable-dpd' '--enable-natt=yes' '--enable-frag' '--enable-hybrid' '--without-libpam' '--disable-gssapi' '--with-libradius' '--without-libldap' '--disable-samode-unspec' '--disable-rc5' '--disable-idea' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd10.0' 'build_alias=i386-portbld-freebsd10.0' 'CC=cc' 'CFLAGS=-pipe -g' 'LDFLAGS= -rpath=/usr/lib:/usr/local/lib' 'CPPFLAGS=' 'CPP=cpp'" | ac_cs_config="" |
ac_cs_version="\ |
ac_cs_version="\ |
ipsec-tools config.status 0.8.0 | ipsec-tools config.status 0.8.1 |
configured by ./configure, generated by GNU Autoconf 2.67, | configured by ./configure, generated by GNU Autoconf 2.69, |
with options \"$ac_cs_config\" |
with options \"$ac_cs_config\" |
|
|
Copyright (C) 2010 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. |
This config.status script is free software; the Free Software Foundation |
This config.status script is free software; the Free Software Foundation |
gives unlimited permission to copy, distribute and modify it." |
gives unlimited permission to copy, distribute and modify it." |
|
|
ac_pwd='/usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0' | ac_pwd='/home/misho/work/embedaddon/ipsec-tools' |
srcdir='.' |
srcdir='.' |
INSTALL='/usr/bin/install -c -o root -g wheel' | INSTALL='/usr/bin/install -c' |
MKDIR_P='./install-sh -c -d' |
MKDIR_P='./install-sh -c -d' |
AWK='gawk' |
AWK='gawk' |
test -n "$AWK" || AWK=awk |
test -n "$AWK" || AWK=awk |
Line 530 if $ac_cs_silent; then
|
Line 519 if $ac_cs_silent; then
|
fi |
fi |
|
|
if $ac_cs_recheck; then |
if $ac_cs_recheck; then |
set X '/bin/sh' './configure' '--enable-shared' '--sysconfdir=/usr/local/etc/racoon' '--localstatedir=/var/db' '--with-pkgversion=freebsd-0.8.0' '--enable-debug' '--enable-ipv6' '--enable-adminport' '--enable-stats' '--enable-dpd' '--enable-natt=yes' '--enable-frag' '--enable-hybrid' '--without-libpam' '--disable-gssapi' '--with-libradius' '--without-libldap' '--disable-samode-unspec' '--disable-rc5' '--disable-idea' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd10.0' 'build_alias=i386-portbld-freebsd10.0' 'CC=cc' 'CFLAGS=-pipe -g' 'LDFLAGS= -rpath=/usr/lib:/usr/local/lib' 'CPPFLAGS=' 'CPP=cpp' $ac_configure_extra_args --no-create --no-recursion | set X /bin/sh './configure' $ac_configure_extra_args --no-create --no-recursion |
shift |
shift |
$as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 |
$as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 |
CONFIG_SHELL='/bin/sh' |
CONFIG_SHELL='/bin/sh' |
Line 560 AMDEP_TRUE="" ac_aux_dir="."
|
Line 549 AMDEP_TRUE="" ac_aux_dir="."
|
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
enable_shared='yes' | enable_shared='no' |
macro_version='2.2.6b' | macro_version='2.4.2' |
macro_revision='1.3017' | macro_revision='1.3337' |
enable_static='yes' |
enable_static='yes' |
pic_mode='default' |
pic_mode='default' |
enable_fast_install='needless' |
enable_fast_install='needless' |
|
SHELL='/bin/sh' |
|
ECHO='printf %s\n' |
|
PATH_SEPARATOR=':' |
host_alias='' |
host_alias='' |
host='i386-portbld-freebsd10.0' | host='i386-unknown-freebsd11.0' |
host_os='freebsd10.0' | host_os='freebsd11.0' |
build_alias='i386-portbld-freebsd10.0' | build_alias='' |
build='i386-portbld-freebsd10.0' | build='i386-unknown-freebsd11.0' |
build_os='freebsd10.0' | build_os='freebsd11.0' |
SED='/usr/bin/sed' |
SED='/usr/bin/sed' |
Xsed='/usr/bin/sed -e 1s/^X//' |
Xsed='/usr/bin/sed -e 1s/^X//' |
GREP='/usr/bin/grep' |
GREP='/usr/bin/grep' |
Line 580 FGREP='/usr/bin/grep -F'
|
Line 572 FGREP='/usr/bin/grep -F'
|
LD='/usr/bin/ld' |
LD='/usr/bin/ld' |
NM='/usr/bin/nm -B' |
NM='/usr/bin/nm -B' |
LN_S='ln -s' |
LN_S='ln -s' |
max_cmd_len='262144' | max_cmd_len='196608' |
ac_objext='o' |
ac_objext='o' |
exeext='' |
exeext='' |
lt_unset='unset' |
lt_unset='unset' |
lt_SP2NL='tr \040 \012' |
lt_SP2NL='tr \040 \012' |
lt_NL2SP='tr \015\012 \040\040' |
lt_NL2SP='tr \015\012 \040\040' |
|
lt_cv_to_host_file_cmd='func_convert_file_noop' |
|
lt_cv_to_tool_file_cmd='func_convert_file_noop' |
reload_flag=' -r' |
reload_flag=' -r' |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
OBJDUMP='objdump' |
OBJDUMP='objdump' |
deplibs_check_method='pass_all' |
deplibs_check_method='pass_all' |
file_magic_cmd='$MAGIC_CMD' |
file_magic_cmd='$MAGIC_CMD' |
|
file_magic_glob='' |
|
want_nocaseglob='no' |
|
DLLTOOL='false' |
|
sharedlib_from_linklib_cmd='printf %s\n' |
AR='ar' |
AR='ar' |
AR_FLAGS='cru' |
AR_FLAGS='cru' |
|
archiver_list_spec='' |
STRIP='strip' |
STRIP='strip' |
RANLIB='ranlib' |
RANLIB='ranlib' |
old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib' | old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib' |
old_postuninstall_cmds='' |
old_postuninstall_cmds='' |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib' | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib' |
| lock_old_archive_extraction='no' |
CC='cc' |
CC='cc' |
CFLAGS='-pipe -g -Wall -Werror -Wno-unused' | CFLAGS='-g -O2 -Wall -Werror -Wno-unused' |
compiler='cc' |
compiler='cc' |
GCC='yes' |
GCC='yes' |
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' | 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'\''' |
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' |
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' |
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' | lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' |
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'\''' | 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'\''' |
| nm_file_list_spec='@' |
| lt_sysroot='' |
objdir='.libs' |
objdir='.libs' |
SHELL='/bin/sh' |
|
ECHO='echo' |
|
MAGIC_CMD='file' |
MAGIC_CMD='file' |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' | lt_prog_compiler_no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' |
lt_prog_compiler_wl='-Wl,' | |
lt_prog_compiler_pic=' -fPIC -DPIC' |
lt_prog_compiler_pic=' -fPIC -DPIC' |
|
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_static='-static' |
lt_prog_compiler_static='-static' |
lt_cv_prog_compiler_c_o='yes' |
lt_cv_prog_compiler_c_o='yes' |
need_locks='no' |
need_locks='no' |
|
MANIFEST_TOOL=':' |
DSYMUTIL='' |
DSYMUTIL='' |
NMEDIT='' |
NMEDIT='' |
LIPO='' |
LIPO='' |
Line 624 OTOOL64=''
|
Line 625 OTOOL64=''
|
libext='a' |
libext='a' |
shrext_cmds='.so' |
shrext_cmds='.so' |
extract_expsyms_cmds='' |
extract_expsyms_cmds='' |
archive_cmds_need_lc='no' | archive_cmds_need_lc='yes' |
enable_shared_with_static_runtimes='no' |
enable_shared_with_static_runtimes='no' |
export_dynamic_flag_spec='${wl}--export-dynamic' |
export_dynamic_flag_spec='${wl}--export-dynamic' |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
compiler_needs_object='no' |
compiler_needs_object='no' |
old_archive_from_new_cmds='' |
old_archive_from_new_cmds='' |
old_archive_from_expsyms_cmds='' |
old_archive_from_expsyms_cmds='' |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
module_cmds='' |
module_cmds='' |
module_expsym_cmds='' |
module_expsym_cmds='' |
with_gnu_ld='yes' |
with_gnu_ld='yes' |
allow_undefined_flag='' |
allow_undefined_flag='' |
no_undefined_flag='' |
no_undefined_flag='' |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_ld='' |
|
hardcode_libdir_separator='' |
hardcode_libdir_separator='' |
hardcode_direct='no' |
hardcode_direct='no' |
hardcode_direct_absolute='no' |
hardcode_direct_absolute='no' |
Line 648 hardcode_shlibpath_var='unsupported'
|
Line 648 hardcode_shlibpath_var='unsupported'
|
hardcode_automatic='no' |
hardcode_automatic='no' |
inherit_rpath='no' |
inherit_rpath='no' |
link_all_deplibs='unknown' |
link_all_deplibs='unknown' |
fix_srcfile_path='' |
|
always_export_symbols='no' |
always_export_symbols='no' |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
include_expsyms='' |
include_expsyms='' |
prelink_cmds='' |
prelink_cmds='' |
|
postlink_cmds='' |
file_list_spec='' |
file_list_spec='' |
variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH' |
variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH' |
need_lib_prefix='no' |
need_lib_prefix='no' |
Line 665 shlibpath_overrides_runpath='yes'
|
Line 665 shlibpath_overrides_runpath='yes'
|
libname_spec='lib$name' |
libname_spec='lib$name' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
soname_spec='' |
soname_spec='' |
|
install_override_mode='' |
postinstall_cmds='' |
postinstall_cmds='' |
postuninstall_cmds='' |
postuninstall_cmds='' |
finish_cmds='' |
finish_cmds='' |
finish_eval='' |
finish_eval='' |
hardcode_into_libs='yes' |
hardcode_into_libs='yes' |
sys_lib_search_path_spec='/usr/lib' | sys_lib_search_path_spec='/usr/lib ' |
sys_lib_dlsearch_path_spec='/lib /usr/lib' |
sys_lib_dlsearch_path_spec='/lib /usr/lib' |
hardcode_action='immediate' |
hardcode_action='immediate' |
enable_dlopen='unknown' |
enable_dlopen='unknown' |
Line 680 old_striplib='strip --strip-debug'
|
Line 681 old_striplib='strip --strip-debug'
|
striplib='strip --strip-unneeded' |
striplib='strip --strip-unneeded' |
|
|
LTCC='cc' |
LTCC='cc' |
LTCFLAGS='-pipe -g' | LTCFLAGS='-g -O2' |
compiler='cc' |
compiler='cc' |
|
|
|
# A function that is used when there is no print builtin or printf. |
|
func_fallback_echo () |
|
{ |
|
eval 'cat <<_LTECHO_EOF |
|
$1 |
|
_LTECHO_EOF' |
|
} |
|
|
# Quote evaled strings. |
# Quote evaled strings. |
for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd AR AR_FLAGS STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix SHELL ECHO lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator fix_srcfile_path exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec finish_eval old_striplib striplib; do | 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 |
case `eval \\$ECHO "X\\$$var"` in | case `eval \\$ECHO \\""\\$$var"\\"` in |
*[\\\`\"\$]*) |
*[\\\`\"\$]*) |
eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\"" |
;; |
;; |
*) |
*) |
eval "lt_$var=\\\"\$$var\\\"" |
eval "lt_$var=\\\"\$$var\\\"" |
Line 696 for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt
|
Line 705 for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt
|
done |
done |
|
|
# Double-quote double-evaled strings. |
# Double-quote double-evaled strings. |
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 | 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 |
case `eval \\$ECHO "X\\$$var"` in | case `eval \\$ECHO \\""\\$$var"\\"` in |
*[\\\`\"\$]*) |
*[\\\`\"\$]*) |
eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" |
;; |
;; |
*) |
*) |
eval "lt_$var=\\\"\$$var\\\"" |
eval "lt_$var=\\\"\$$var\\\"" |
Line 707 for var in reload_cmds old_postinstall_cmds old_postun
|
Line 716 for var in reload_cmds old_postinstall_cmds old_postun
|
esac |
esac |
done |
done |
|
|
# Fix-up fallback echo if it was mangled by the above quoting rules. |
|
case $lt_ECHO in |
|
*'\$0 --fallback-echo"') lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` |
|
;; |
|
esac |
|
|
|
ac_aux_dir='.' |
ac_aux_dir='.' |
xsi_shell='yes' |
xsi_shell='yes' |
lt_shell_append='no' |
lt_shell_append='no' |
Line 725 fi
|
Line 728 fi
|
|
|
|
|
PACKAGE='ipsec-tools' |
PACKAGE='ipsec-tools' |
VERSION='0.8.0' | VERSION='0.8.1' |
TIMESTAMP='' |
TIMESTAMP='' |
RM='rm -f' |
RM='rm -f' |
ofile='libtool' |
ofile='libtool' |
Line 754 do
|
Line 757 do
|
"rpm/suse/Makefile") CONFIG_FILES="$CONFIG_FILES rpm/suse/Makefile" ;; |
"rpm/suse/Makefile") CONFIG_FILES="$CONFIG_FILES rpm/suse/Makefile" ;; |
"rpm/suse/ipsec-tools.spec") CONFIG_FILES="$CONFIG_FILES rpm/suse/ipsec-tools.spec" ;; |
"rpm/suse/ipsec-tools.spec") CONFIG_FILES="$CONFIG_FILES rpm/suse/ipsec-tools.spec" ;; |
|
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
esac |
esac |
done |
done |
|
|
Line 777 fi
|
Line 780 fi
|
# after its creation but before its name has been assigned to `$tmp'. |
# after its creation but before its name has been assigned to `$tmp'. |
$debug || |
$debug || |
{ |
{ |
tmp= | tmp= ac_tmp= |
trap 'exit_status=$? |
trap 'exit_status=$? |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | : "${ac_tmp:=$tmp}" |
| { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
' 0 |
' 0 |
trap 'as_fn_exit 1' 1 2 13 15 |
trap 'as_fn_exit 1' 1 2 13 15 |
} |
} |
Line 787 $debug ||
|
Line 791 $debug ||
|
|
|
{ |
{ |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
test -n "$tmp" && test -d "$tmp" | test -d "$tmp" |
} || |
} || |
{ |
{ |
tmp=./conf$$-$RANDOM |
tmp=./conf$$-$RANDOM |
(umask 077 && mkdir "$tmp") |
(umask 077 && mkdir "$tmp") |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
ac_tmp=$tmp |
|
|
# Set up the scripts for CONFIG_FILES section. |
# Set up the scripts for CONFIG_FILES section. |
# No need to generate them if there are no CONFIG_FILES. |
# No need to generate them if there are no CONFIG_FILES. |
Line 814 else
|
Line 819 else
|
ac_cs_awk_cr=$ac_cr |
ac_cs_awk_cr=$ac_cr |
fi |
fi |
|
|
echo 'BEGIN {' >"$tmp/subs1.awk" && | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
cat >>"$tmp/subs1.awk" <<\_ACAWK && | cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && |
S["am__EXEEXT_FALSE"]="" |
S["am__EXEEXT_FALSE"]="" |
S["am__EXEEXT_TRUE"]="#" |
S["am__EXEEXT_TRUE"]="#" |
S["LTLIBOBJS"]="" |
S["LTLIBOBJS"]="" |
S["include_racoondir"]="${prefix}/include/racoon" |
S["include_racoondir"]="${prefix}/include/racoon" |
S["SECCTX_OBJS"]="" |
S["SECCTX_OBJS"]="" |
S["NATT_OBJS"]="nattraversal.o" | S["NATT_OBJS"]="" |
S["KRB5_CONFIG"]="/usr/bin/krb5-config" |
S["KRB5_CONFIG"]="/usr/bin/krb5-config" |
S["FRAG_OBJS"]="isakmp_frag.o" | S["FRAG_OBJS"]="" |
S["HYBRID_OBJS"]="isakmp_xauth.o isakmp_cfg.o isakmp_unity.o throttle.o" | S["HYBRID_OBJS"]="" |
S["EXTRA_CRYPTO"]="" |
S["EXTRA_CRYPTO"]="" |
S["CRYPTOBJS"]="" |
S["CRYPTOBJS"]="" |
S["LIBOBJS"]="" |
S["LIBOBJS"]="" |
Line 844 S["OTOOL"]=""
|
Line 849 S["OTOOL"]=""
|
S["LIPO"]="" |
S["LIPO"]="" |
S["NMEDIT"]="" |
S["NMEDIT"]="" |
S["DSYMUTIL"]="" |
S["DSYMUTIL"]="" |
S["lt_ECHO"]="echo" | S["MANIFEST_TOOL"]=":" |
S["RANLIB"]="ranlib" |
S["RANLIB"]="ranlib" |
|
S["ac_ct_AR"]="ar" |
S["AR"]="ar" |
S["AR"]="ar" |
|
S["DLLTOOL"]="false" |
S["OBJDUMP"]="objdump" |
S["OBJDUMP"]="objdump" |
S["LN_S"]="ln -s" |
S["LN_S"]="ln -s" |
S["NM"]="/usr/bin/nm -B" |
S["NM"]="/usr/bin/nm -B" |
Line 855 S["DUMPBIN"]=""
|
Line 862 S["DUMPBIN"]=""
|
S["LD"]="/usr/bin/ld" |
S["LD"]="/usr/bin/ld" |
S["FGREP"]="/usr/bin/grep -F" |
S["FGREP"]="/usr/bin/grep -F" |
S["SED"]="/usr/bin/sed" |
S["SED"]="/usr/bin/sed" |
S["host_os"]="freebsd10.0" | S["host_os"]="freebsd11.0" |
S["host_vendor"]="portbld" | S["host_vendor"]="unknown" |
S["host_cpu"]="i386" |
S["host_cpu"]="i386" |
S["host"]="i386-portbld-freebsd10.0" | S["host"]="i386-unknown-freebsd11.0" |
S["build_os"]="freebsd10.0" | S["build_os"]="freebsd11.0" |
S["build_vendor"]="portbld" | S["build_vendor"]="unknown" |
S["build_cpu"]="i386" |
S["build_cpu"]="i386" |
S["build"]="i386-portbld-freebsd10.0" | S["build"]="i386-unknown-freebsd11.0" |
S["LIBTOOL"]="$(SHELL) /usr/local/bin/libtool" | S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool" |
S["EGREP"]="/usr/bin/grep -E" |
S["EGREP"]="/usr/bin/grep -E" |
S["GREP"]="/usr/bin/grep" |
S["GREP"]="/usr/bin/grep" |
S["CPP"]="cpp" | S["CPP"]="cc -E" |
S["am__fastdepCC_FALSE"]="#" |
S["am__fastdepCC_FALSE"]="#" |
S["am__fastdepCC_TRUE"]="" |
S["am__fastdepCC_TRUE"]="" |
S["CCDEPMODE"]="depmode=gcc3" |
S["CCDEPMODE"]="depmode=gcc3" |
|
S["am__nodep"]="_no" |
S["AMDEPBACKSLASH"]="\\" |
S["AMDEPBACKSLASH"]="\\" |
S["AMDEP_FALSE"]="#" |
S["AMDEP_FALSE"]="#" |
S["AMDEP_TRUE"]="" |
S["AMDEP_TRUE"]="" |
Line 878 S["am__include"]="include"
|
Line 886 S["am__include"]="include"
|
S["DEPDIR"]=".deps" |
S["DEPDIR"]=".deps" |
S["OBJEXT"]="o" |
S["OBJEXT"]="o" |
S["EXEEXT"]="" |
S["EXEEXT"]="" |
S["ac_ct_CC"]="cc" | S["ac_ct_CC"]="" |
S["CPPFLAGS"]=" -I${top_srcdir}/src/racoon/missing" |
S["CPPFLAGS"]=" -I${top_srcdir}/src/racoon/missing" |
S["LDFLAGS"]=" -rpath=/usr/lib:/usr/local/lib" | S["LDFLAGS"]="" |
S["CFLAGS"]="-pipe -g -Wall -Werror -Wno-unused" | S["CFLAGS"]="-g -O2 -Wall -Werror -Wno-unused" |
S["CC"]="cc" |
S["CC"]="cc" |
S["am__untar"]="${AMTAR} xf -" | S["AM_BACKSLASH"]="\\" |
S["am__tar"]="${AMTAR} chof - \"$$tardir\"" | S["AM_DEFAULT_VERBOSITY"]="1" |
S["AMTAR"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run tar" | S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)" |
| S["AM_V"]="$(V)" |
| S["am__untar"]="$${TAR-tar} xf -" |
| S["am__tar"]="$${TAR-tar} chof - \"$$tardir\"" |
| S["AMTAR"]="$${TAR-tar}" |
S["am__leading_dot"]="." |
S["am__leading_dot"]="." |
S["SET_MAKE"]="" |
S["SET_MAKE"]="" |
S["AWK"]="gawk" |
S["AWK"]="gawk" |
S["mkdir_p"]="$(top_builddir)/./install-sh -c -d" | S["mkdir_p"]="$(MKDIR_P)" |
S["MKDIR_P"]="./install-sh -c -d" |
S["MKDIR_P"]="./install-sh -c -d" |
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" |
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" |
S["STRIP"]="strip" |
S["STRIP"]="strip" |
S["install_sh"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/install-sh" | S["install_sh"]="${SHELL} /home/misho/work/embedaddon/ipsec-tools/install-sh" |
S["MAKEINFO"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run makeinfo" | S["MAKEINFO"]="makeinfo" |
S["AUTOHEADER"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run autoheader" | S["AUTOHEADER"]="autoheader" |
S["AUTOMAKE"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run automake-1.11" | S["AUTOMAKE"]="automake-1.14" |
S["AUTOCONF"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run autoconf" | S["AUTOCONF"]="autoconf" |
S["ACLOCAL"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run aclocal-1.11" | S["ACLOCAL"]="aclocal-1.14" |
S["VERSION"]="0.8.0" | S["VERSION"]="0.8.1" |
S["PACKAGE"]="ipsec-tools" |
S["PACKAGE"]="ipsec-tools" |
S["CYGPATH_W"]="echo" |
S["CYGPATH_W"]="echo" |
S["am__isrc"]="" |
S["am__isrc"]="" |
S["INSTALL_DATA"]="install -o root -g wheel -m 444" | S["INSTALL_DATA"]="${INSTALL} -m 644" |
S["INSTALL_SCRIPT"]="install -o root -g wheel -m 555" | S["INSTALL_SCRIPT"]="${INSTALL}" |
S["INSTALL_PROGRAM"]="install -o root -g wheel -m 555" | S["INSTALL_PROGRAM"]="${INSTALL}" |
S["target_alias"]="" |
S["target_alias"]="" |
S["host_alias"]="" |
S["host_alias"]="" |
S["build_alias"]="i386-portbld-freebsd10.0" | S["build_alias"]="" |
S["LIBS"]="-lradius -lcrypto -lreadline -lcrypt -lcrypt -L/lib -R/lib -lradius" | S["LIBS"]="-lcrypto -lreadline" |
S["ECHO_T"]="" |
S["ECHO_T"]="" |
S["ECHO_N"]="-n" |
S["ECHO_N"]="-n" |
S["ECHO_C"]="" |
S["ECHO_C"]="" |
S["DEFS"]="-DHAVE_CONFIG_H" |
S["DEFS"]="-DHAVE_CONFIG_H" |
S["mandir"]="/usr/local/man" | S["mandir"]="${datarootdir}/man" |
S["localedir"]="${datarootdir}/locale" |
S["localedir"]="${datarootdir}/locale" |
S["libdir"]="${exec_prefix}/lib" |
S["libdir"]="${exec_prefix}/lib" |
S["psdir"]="${docdir}" |
S["psdir"]="${docdir}" |
S["pdfdir"]="${docdir}" |
S["pdfdir"]="${docdir}" |
S["dvidir"]="${docdir}" |
S["dvidir"]="${docdir}" |
S["htmldir"]="${docdir}" |
S["htmldir"]="${docdir}" |
S["infodir"]="/usr/local/info" | S["infodir"]="${datarootdir}/info" |
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" |
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" |
S["oldincludedir"]="/usr/include" |
S["oldincludedir"]="/usr/include" |
S["includedir"]="${prefix}/include" |
S["includedir"]="${prefix}/include" |
S["localstatedir"]="/var/db" | S["localstatedir"]="${prefix}/var" |
S["sharedstatedir"]="${prefix}/com" |
S["sharedstatedir"]="${prefix}/com" |
S["sysconfdir"]="/usr/local/etc/racoon" | S["sysconfdir"]="${prefix}/etc" |
S["datadir"]="${datarootdir}" |
S["datadir"]="${datarootdir}" |
S["datarootdir"]="${prefix}/share" |
S["datarootdir"]="${prefix}/share" |
S["libexecdir"]="${exec_prefix}/libexec" |
S["libexecdir"]="${exec_prefix}/libexec" |
Line 938 S["prefix"]="/usr/local"
|
Line 950 S["prefix"]="/usr/local"
|
S["exec_prefix"]="${prefix}" |
S["exec_prefix"]="${prefix}" |
S["PACKAGE_URL"]="" |
S["PACKAGE_URL"]="" |
S["PACKAGE_BUGREPORT"]="" |
S["PACKAGE_BUGREPORT"]="" |
S["PACKAGE_STRING"]="ipsec-tools 0.8.0" | S["PACKAGE_STRING"]="ipsec-tools 0.8.1" |
S["PACKAGE_VERSION"]="0.8.0" | S["PACKAGE_VERSION"]="0.8.1" |
S["PACKAGE_TARNAME"]="ipsec-tools" |
S["PACKAGE_TARNAME"]="ipsec-tools" |
S["PACKAGE_NAME"]="ipsec-tools" |
S["PACKAGE_NAME"]="ipsec-tools" |
S["PATH_SEPARATOR"]=":" |
S["PATH_SEPARATOR"]=":" |
S["SHELL"]="/bin/sh" |
S["SHELL"]="/bin/sh" |
_ACAWK |
_ACAWK |
cat >>"$tmp/subs1.awk" <<_ACAWK && | cat >>"$ac_tmp/subs1.awk" <<_ACAWK && |
for (key in S) S_is_set[key] = 1 |
for (key in S) S_is_set[key] = 1 |
FS = "" |
FS = "" |
|
|
Line 975 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
Line 987 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
else |
else |
cat |
cat |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
fi # test -n "$CONFIG_FILES" |
fi # test -n "$CONFIG_FILES" |
|
|
Line 983 fi # test -n "$CONFIG_FILES"
|
Line 995 fi # test -n "$CONFIG_FILES"
|
# No need to generate them if there are no CONFIG_HEADERS. |
# No need to generate them if there are no CONFIG_HEADERS. |
# This happens for instance with `./config.status Makefile'. |
# This happens for instance with `./config.status Makefile'. |
if test -n "$CONFIG_HEADERS"; then |
if test -n "$CONFIG_HEADERS"; then |
cat >"$tmp/defines.awk" <<\_ACAWK || | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
BEGIN { |
BEGIN { |
D["PACKAGE_NAME"]=" \"ipsec-tools\"" |
D["PACKAGE_NAME"]=" \"ipsec-tools\"" |
D["PACKAGE_TARNAME"]=" \"ipsec-tools\"" |
D["PACKAGE_TARNAME"]=" \"ipsec-tools\"" |
D["PACKAGE_VERSION"]=" \"0.8.0\"" | D["PACKAGE_VERSION"]=" \"0.8.1\"" |
D["PACKAGE_STRING"]=" \"ipsec-tools 0.8.0\"" | D["PACKAGE_STRING"]=" \"ipsec-tools 0.8.1\"" |
D["PACKAGE_BUGREPORT"]=" \"\"" |
D["PACKAGE_BUGREPORT"]=" \"\"" |
D["PACKAGE_URL"]=" \"\"" |
D["PACKAGE_URL"]=" \"\"" |
D["PACKAGE"]=" \"ipsec-tools\"" |
D["PACKAGE"]=" \"ipsec-tools\"" |
D["VERSION"]=" \"0.8.0\"" | D["VERSION"]=" \"0.8.1\"" |
D["STDC_HEADERS"]=" 1" |
D["STDC_HEADERS"]=" 1" |
D["HAVE_SYS_TYPES_H"]=" 1" |
D["HAVE_SYS_TYPES_H"]=" 1" |
D["HAVE_SYS_STAT_H"]=" 1" |
D["HAVE_SYS_STAT_H"]=" 1" |
Line 1033 D["HAVE_OPENSSL_AES_H"]=" 1"
|
Line 1045 D["HAVE_OPENSSL_AES_H"]=" 1"
|
D["WITH_SHA2"]=" /**/" |
D["WITH_SHA2"]=" /**/" |
D["HAVE_SHA2_IN_SHA_H"]=" /**/" |
D["HAVE_SHA2_IN_SHA_H"]=" /**/" |
D["HAVE_OPENSSL_CAMELLIA_H"]=" 1" |
D["HAVE_OPENSSL_CAMELLIA_H"]=" 1" |
D["ENABLE_ADMINPORT"]=" /**/" |
|
D["ENABLE_HYBRID"]=" /**/" |
|
D["ENABLE_FRAG"]=" /**/" |
|
D["HAVE_LIBRADIUS"]=" /**/" |
|
D["HAVE_RAD_CREATE_REQUEST"]=" 1" |
|
D["ENABLE_STATS"]=" /**/" |
|
D["ENABLE_DPD"]=" /**/" |
|
D["INET6"]=" /**/" |
D["INET6"]=" /**/" |
|
D["INET6"]=" /**/" |
D["INET6_ADVAPI"]=" /**/" |
D["INET6_ADVAPI"]=" /**/" |
D["ENABLE_NATT"]=" /**/" |
|
D["ENABLE_NATT_00"]=" /**/" |
|
D["ENABLE_NATT_02"]=" /**/" |
|
D["ENABLE_NATT_RFC"]=" /**/" |
|
D["HAVE_CLOCK_MONOTONIC"]=" /**/" |
D["HAVE_CLOCK_MONOTONIC"]=" /**/" |
for (key in D) D_is_set[key] = 1 |
for (key in D) D_is_set[key] = 1 |
FS = "" |
FS = "" |
Line 1092 do
|
Line 1094 do
|
esac |
esac |
case $ac_mode$ac_tag in |
case $ac_mode$ac_tag in |
:[FHL]*:*);; |
:[FHL]*:*);; |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
:[FH]-) ac_tag=-:-;; |
:[FH]-) ac_tag=-:-;; |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
esac |
esac |
Line 1111 do
|
Line 1113 do
|
for ac_f |
for ac_f |
do |
do |
case $ac_f in |
case $ac_f in |
-) ac_f="$tmp/stdin";; | -) ac_f="$ac_tmp/stdin";; |
*) # Look for the file first in the build tree, then in the source tree |
*) # Look for the file first in the build tree, then in the source tree |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
# because $ac_f cannot contain `:'. |
# because $ac_f cannot contain `:'. |
Line 1120 do
|
Line 1122 do
|
[\\/$]*) false;; |
[\\/$]*) false;; |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
esac || |
esac || |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
esac |
esac |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
as_fn_append ac_file_inputs " '$ac_f'" |
as_fn_append ac_file_inputs " '$ac_f'" |
Line 1146 $as_echo "$as_me: creating $ac_file" >&6;}
|
Line 1148 $as_echo "$as_me: creating $ac_file" >&6;}
|
esac |
esac |
|
|
case $ac_tag in |
case $ac_tag in |
*:-:* | *:-) cat >"$tmp/stdin" \ | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
esac |
esac |
;; |
;; |
esac |
esac |
Line 1247 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ig
|
Line 1249 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ig
|
ac_datarootdir_hack=' |
ac_datarootdir_hack=' |
s&@datadir@&${datarootdir}&g |
s&@datadir@&${datarootdir}&g |
s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g |
s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g |
s&@infodir@&/usr/local/info&g | s&@infodir@&${datarootdir}/info&g |
s&@localedir@&${datarootdir}/locale&g |
s&@localedir@&${datarootdir}/locale&g |
s&@mandir@&/usr/local/man&g | s&@mandir@&${datarootdir}/man&g |
s&\${datarootdir}&${prefix}/share&g' ;; |
s&\${datarootdir}&${prefix}/share&g' ;; |
esac |
esac |
ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ |
ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ |
Line 1285 s&@INSTALL@&$ac_INSTALL&;t t
|
Line 1287 s&@INSTALL@&$ac_INSTALL&;t t
|
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
$ac_datarootdir_hack |
$ac_datarootdir_hack |
" |
" |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| "$ac_tmp/out"`; test -z "$ac_out"; } && |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
which seems to be undefined. Please make sure it is defined" >&5 |
which seems to be undefined. Please make sure it is defined" >&5 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
which seems to be undefined. Please make sure it is defined" >&2;} |
which seems to be undefined. Please make sure it is defined" >&2;} |
|
|
rm -f "$tmp/stdin" | rm -f "$ac_tmp/stdin" |
case $ac_file in |
case $ac_file in |
-) cat "$tmp/out" && rm -f "$tmp/out";; | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
esac \ |
esac \ |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
;; |
;; |
Line 1310 which seems to be undefined. Please make sure it is d
|
Line 1313 which seems to be undefined. Please make sure it is d
|
if test x"$ac_file" != x-; then |
if test x"$ac_file" != x-; then |
{ |
{ |
$as_echo "/* $configure_input */" \ |
$as_echo "/* $configure_input */" \ |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
} >"$tmp/config.h" \ | } >"$ac_tmp/config.h" \ |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
else |
else |
rm -f "$ac_file" |
rm -f "$ac_file" |
mv "$tmp/config.h" "$ac_file" \ | mv "$ac_tmp/config.h" "$ac_file" \ |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
fi |
fi |
else |
else |
$as_echo "/* $configure_input */" \ |
$as_echo "/* $configure_input */" \ |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
fi |
fi |
# Compute "$ac_file"'s index in $config_headers. |
# Compute "$ac_file"'s index in $config_headers. |
Line 1370 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
Line 1373 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
|
|
case $ac_file$ac_mode in |
case $ac_file$ac_mode in |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
# Autoconf 2.62 quotes --file arguments for eval, but not when files | # Older Autoconf quotes --file arguments for eval, but not when files |
# are listed without --file. Let's play safe and only enable the eval |
# are listed without --file. Let's play safe and only enable the eval |
# if we detect the quoting. |
# if we detect the quoting. |
case $CONFIG_FILES in |
case $CONFIG_FILES in |
Line 1383 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
Line 1386 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
# Strip MF so we end up with the name of the file. |
# Strip MF so we end up with the name of the file. |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
# Check whether this is an Automake generated Makefile or not. |
# Check whether this is an Automake generated Makefile or not. |
# We used to match only the files named `Makefile.in', but | # We used to match only the files named 'Makefile.in', but |
# some people rename them; so instead we look at the file content. |
# some people rename them; so instead we look at the file content. |
# Grep'ing the first line is not enough: some people post-process |
# Grep'ing the first line is not enough: some people post-process |
# each Makefile.in and add a new line on top of each file to say so. |
# each Makefile.in and add a new line on top of each file to say so. |
Line 1417 $as_echo X"$mf" |
|
Line 1420 $as_echo X"$mf" |
|
continue |
continue |
fi |
fi |
# Extract the definition of DEPDIR, am__include, and am__quote |
# Extract the definition of DEPDIR, am__include, and am__quote |
# from the Makefile without running `make'. | # from the Makefile without running 'make'. |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
test -z "$DEPDIR" && continue |
test -z "$DEPDIR" && continue |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
test -z "am__include" && continue | test -z "$am__include" && continue |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
# When using ansi2knr, U may be empty or an underscore; expand it |
|
U=`sed -n 's/^U = //p' < "$mf"` |
|
# Find all dependency output files, they are included files with |
# Find all dependency output files, they are included files with |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
# simplest approach to changing $(DEPDIR) to its actual value in the |
# simplest approach to changing $(DEPDIR) to its actual value in the |
# expansion. |
# expansion. |
for file in `sed -n " |
for file in `sed -n " |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
# Make sure the directory exists. |
# Make sure the directory exists. |
test -f "$dirpart/$file" && continue |
test -f "$dirpart/$file" && continue |
fdir=`$as_dirname -- "$file" || |
fdir=`$as_dirname -- "$file" || |
Line 1485 $as_echo X"$file" |
|
Line 1486 $as_echo X"$file" |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
# |
# |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
# 2006, 2007, 2008 Free Software Foundation, Inc. | # 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
| # Foundation, Inc. |
# Written by Gordon Matzigkeit, 1996 |
# Written by Gordon Matzigkeit, 1996 |
# |
# |
# This file is part of GNU Libtool. |
# This file is part of GNU Libtool. |
Line 1533 pic_mode=$pic_mode
|
Line 1535 pic_mode=$pic_mode
|
# Whether or not to optimize for fast installation. |
# Whether or not to optimize for fast installation. |
fast_install=$enable_fast_install |
fast_install=$enable_fast_install |
|
|
|
# Shell to use when invoking shell scripts. |
|
SHELL=$lt_SHELL |
|
|
|
# An echo program that protects backslashes. |
|
ECHO=$lt_ECHO |
|
|
|
# The PATH separator for the build system. |
|
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
|
|
# The host system. |
# The host system. |
host_alias=$host_alias |
host_alias=$host_alias |
host=$host |
host=$host |
Line 1582 SP2NL=$lt_lt_SP2NL
|
Line 1593 SP2NL=$lt_lt_SP2NL
|
# turn newlines into spaces. |
# turn newlines into spaces. |
NL2SP=$lt_lt_NL2SP |
NL2SP=$lt_lt_NL2SP |
|
|
# How to create reloadable object files. | # convert \$build file names to \$host format. |
reload_flag=$lt_reload_flag | to_host_file_cmd=$lt_cv_to_host_file_cmd |
reload_cmds=$lt_reload_cmds | |
|
|
|
# convert \$build files to toolchain format. |
|
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
|
# An object symbol dumper. |
# An object symbol dumper. |
OBJDUMP=$lt_OBJDUMP |
OBJDUMP=$lt_OBJDUMP |
|
|
# Method to check whether dependent libraries are shared objects. |
# Method to check whether dependent libraries are shared objects. |
deplibs_check_method=$lt_deplibs_check_method |
deplibs_check_method=$lt_deplibs_check_method |
|
|
# Command to use when deplibs_check_method == "file_magic". | # Command to use when deplibs_check_method = "file_magic". |
file_magic_cmd=$lt_file_magic_cmd |
file_magic_cmd=$lt_file_magic_cmd |
|
|
|
# How to find potential files when deplibs_check_method = "file_magic". |
|
file_magic_glob=$lt_file_magic_glob |
|
|
|
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
|
want_nocaseglob=$lt_want_nocaseglob |
|
|
|
# DLL creation program. |
|
DLLTOOL=$lt_DLLTOOL |
|
|
|
# Command to associate shared and link libraries. |
|
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
|
|
# The archiver. |
# The archiver. |
AR=$lt_AR |
AR=$lt_AR |
|
|
|
# Flags to create an archive. |
AR_FLAGS=$lt_AR_FLAGS |
AR_FLAGS=$lt_AR_FLAGS |
|
|
|
# How to feed a file listing to the archiver. |
|
archiver_list_spec=$lt_archiver_list_spec |
|
|
# A symbol stripping program. |
# A symbol stripping program. |
STRIP=$lt_STRIP |
STRIP=$lt_STRIP |
|
|
Line 1607 RANLIB=$lt_RANLIB
|
Line 1637 RANLIB=$lt_RANLIB
|
old_postinstall_cmds=$lt_old_postinstall_cmds |
old_postinstall_cmds=$lt_old_postinstall_cmds |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
|
|
# Whether to use a lock for old archive extraction. |
|
lock_old_archive_extraction=$lock_old_archive_extraction |
|
|
# A C compiler. |
# A C compiler. |
LTCC=$lt_CC |
LTCC=$lt_CC |
|
|
Line 1625 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_s
|
Line 1658 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_s
|
# Transform the output of nm in a C name address pair when lib prefix is needed. |
# Transform the output of nm in a C name address pair when lib prefix is needed. |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
|
|
|
# Specify filename containing input files for \$NM. |
|
nm_file_list_spec=$lt_nm_file_list_spec |
|
|
|
# The root where to search for dependent libraries,and in which our libraries should be installed. |
|
lt_sysroot=$lt_sysroot |
|
|
# The name of the directory that contains temporary libtool files. |
# The name of the directory that contains temporary libtool files. |
objdir=$objdir |
objdir=$objdir |
|
|
# Shell to use when invoking shell scripts. |
|
SHELL=$lt_SHELL |
|
|
|
# An echo program that does not interpret backslashes. |
|
ECHO=$lt_ECHO |
|
|
|
# Used to examine libraries when file_magic_cmd begins with "file". |
# Used to examine libraries when file_magic_cmd begins with "file". |
MAGIC_CMD=$MAGIC_CMD |
MAGIC_CMD=$MAGIC_CMD |
|
|
# Must we lock files when doing compilation? |
# Must we lock files when doing compilation? |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
|
|
|
# Manifest tool. |
|
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
|
|
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
DSYMUTIL=$lt_DSYMUTIL |
DSYMUTIL=$lt_DSYMUTIL |
|
|
Line 1696 library_names_spec=$lt_library_names_spec
|
Line 1732 library_names_spec=$lt_library_names_spec
|
# The coded name of the library, if different from the real name. |
# The coded name of the library, if different from the real name. |
soname_spec=$lt_soname_spec |
soname_spec=$lt_soname_spec |
|
|
|
# Permission mode override for installation of shared libraries. |
|
install_override_mode=$lt_install_override_mode |
|
|
# Command to use after installation of a shared archive. |
# Command to use after installation of a shared archive. |
postinstall_cmds=$lt_postinstall_cmds |
postinstall_cmds=$lt_postinstall_cmds |
|
|
Line 1735 striplib=$lt_striplib
|
Line 1774 striplib=$lt_striplib
|
# The linker used to build libraries. |
# The linker used to build libraries. |
LD=$lt_LD |
LD=$lt_LD |
|
|
|
# How to create reloadable object files. |
|
reload_flag=$lt_reload_flag |
|
reload_cmds=$lt_reload_cmds |
|
|
# Commands used to build an old-style archive. |
# Commands used to build an old-style archive. |
old_archive_cmds=$lt_old_archive_cmds |
old_archive_cmds=$lt_old_archive_cmds |
|
|
Line 1747 with_gcc=$GCC
|
Line 1790 with_gcc=$GCC
|
# Compiler flag to turn off builtin functions. |
# Compiler flag to turn off builtin functions. |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
|
# How to pass a linker flag through the compiler. |
|
wl=$lt_lt_prog_compiler_wl |
|
|
|
# Additional compiler flags for building library objects. |
# Additional compiler flags for building library objects. |
pic_flag=$lt_lt_prog_compiler_pic |
pic_flag=$lt_lt_prog_compiler_pic |
|
|
|
# How to pass a linker flag through the compiler. |
|
wl=$lt_lt_prog_compiler_wl |
|
|
# Compiler flag to prevent dynamic linking. |
# Compiler flag to prevent dynamic linking. |
link_static_flag=$lt_lt_prog_compiler_static |
link_static_flag=$lt_lt_prog_compiler_static |
|
|
Line 1802 no_undefined_flag=$lt_no_undefined_flag
|
Line 1845 no_undefined_flag=$lt_no_undefined_flag
|
# This must work even if \$libdir does not exist |
# This must work even if \$libdir does not exist |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
|
# If ld is used when linking, flag to hardcode \$libdir into a binary |
|
# during linking. This must work even if \$libdir does not exist. |
|
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
|
|
|
# Whether we need a single "-rpath" flag with a separated argument. |
# Whether we need a single "-rpath" flag with a separated argument. |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
|
Line 1839 inherit_rpath=$inherit_rpath
|
Line 1878 inherit_rpath=$inherit_rpath
|
# Whether libtool must link a program against all its dependency libraries. |
# Whether libtool must link a program against all its dependency libraries. |
link_all_deplibs=$link_all_deplibs |
link_all_deplibs=$link_all_deplibs |
|
|
# Fix the shell variable \$srcfile for the compiler. |
|
fix_srcfile_path=$lt_fix_srcfile_path |
|
|
|
# Set to "yes" if exported symbols are required. |
# Set to "yes" if exported symbols are required. |
always_export_symbols=$always_export_symbols |
always_export_symbols=$always_export_symbols |
|
|
Line 1857 include_expsyms=$lt_include_expsyms
|
Line 1893 include_expsyms=$lt_include_expsyms
|
# Commands necessary for linking programs (against libraries) with templates. |
# Commands necessary for linking programs (against libraries) with templates. |
prelink_cmds=$lt_prelink_cmds |
prelink_cmds=$lt_prelink_cmds |
|
|
|
# Commands necessary for finishing linking programs. |
|
postlink_cmds=$lt_postlink_cmds |
|
|
# Specify filename containing input files. |
# Specify filename containing input files. |
file_list_spec=$lt_file_list_spec |
file_list_spec=$lt_file_list_spec |
|
|
Line 1889 ltmain="$ac_aux_dir/ltmain.sh"
|
Line 1928 ltmain="$ac_aux_dir/ltmain.sh"
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
# text mode, it properly converts lines to CR/LF. This bash problem |
# text mode, it properly converts lines to CR/LF. This bash problem |
# is reportedly fixed, but why not run on old versions too? |
# is reportedly fixed, but why not run on old versions too? |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ | sed '$q' "$ltmain" >> "$cfgfile" \ |
|| (rm -f "$cfgfile"; exit 1) | || (rm -f "$cfgfile"; exit 1) |
|
|
case $xsi_shell in | if test x"$xsi_shell" = xyes; then |
yes) | sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
cat << \_LT_EOF >> "$cfgfile" | func_dirname ()\ |
| {\ |
| \ case ${1} in\ |
| \ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| \ * ) func_dirname_result="${3}" ;;\ |
| \ esac\ |
| } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_dirname file append nondir_replacement |
|
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
|
# otherwise set result to NONDIR_REPLACEMENT. |
|
func_dirname () |
|
{ |
|
case ${1} in |
|
*/*) func_dirname_result="${1%/*}${2}" ;; |
|
* ) func_dirname_result="${3}" ;; |
|
esac |
|
} |
|
|
|
# func_basename file | sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
func_basename () | func_basename ()\ |
{ | {\ |
func_basename_result="${1##*/}" | \ func_basename_result="${1##*/}"\ |
} | } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_dirname_and_basename file append nondir_replacement |
|
# perform func_basename and func_dirname in a single function |
|
# call: |
|
# dirname: Compute the dirname of FILE. If nonempty, |
|
# add APPEND to the result, otherwise set result |
|
# to NONDIR_REPLACEMENT. |
|
# value returned in "$func_dirname_result" |
|
# basename: Compute filename of FILE. |
|
# value retuned in "$func_basename_result" |
|
# Implementation must be kept synchronized with func_dirname |
|
# and func_basename. For efficiency, we do not delegate to |
|
# those functions but instead duplicate the functionality here. |
|
func_dirname_and_basename () |
|
{ |
|
case ${1} in |
|
*/*) func_dirname_result="${1%/*}${2}" ;; |
|
* ) func_dirname_result="${3}" ;; |
|
esac |
|
func_basename_result="${1##*/}" |
|
} |
|
|
|
# func_stripname prefix suffix name | sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
# strip PREFIX and SUFFIX off of NAME. | func_dirname_and_basename ()\ |
# PREFIX and SUFFIX must not contain globbing or regex special | {\ |
# characters, hashes, percent signs, but SUFFIX may contain a leading | \ case ${1} in\ |
# dot (in which case that matches only a dot). | \ */*) func_dirname_result="${1%/*}${2}" ;;\ |
func_stripname () | \ * ) func_dirname_result="${3}" ;;\ |
{ | \ esac\ |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are | \ func_basename_result="${1##*/}"\ |
# positional parameters, so assign one to ordinary parameter first. | } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
func_stripname_result=${3} | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
func_stripname_result=${func_stripname_result#"${1}"} | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
func_stripname_result=${func_stripname_result%"${2}"} | test 0 -eq $? || _lt_function_replace_fail=: |
} | |
|
|
# func_opt_split |
|
func_opt_split () |
|
{ |
|
func_opt_split_opt=${1%%=*} |
|
func_opt_split_arg=${1#*=} |
|
} |
|
|
|
# func_lo2o object | sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
func_lo2o () | func_stripname ()\ |
{ | {\ |
case ${1} in | \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; | \ # positional parameters, so assign one to ordinary parameter first.\ |
*) func_lo2o_result=${1} ;; | \ func_stripname_result=${3}\ |
esac | \ func_stripname_result=${func_stripname_result#"${1}"}\ |
} | \ func_stripname_result=${func_stripname_result%"${2}"}\ |
| } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_xform libobj-or-source |
|
func_xform () |
|
{ |
|
func_xform_result=${1%.*}.lo |
|
} |
|
|
|
# func_arith arithmetic-term... | sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
func_arith () | func_split_long_opt ()\ |
{ | {\ |
func_arith_result=$(( $* )) | \ func_split_long_opt_name=${1%%=*}\ |
} | \ func_split_long_opt_arg=${1#*=}\ |
| } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_len string |
|
# STRING may not start with a hyphen. |
|
func_len () |
|
{ |
|
func_len_result=${#1} |
|
} |
|
|
|
_LT_EOF | sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
;; | func_split_short_opt ()\ |
*) # Bourne compatible functions. | {\ |
cat << \_LT_EOF >> "$cfgfile" | \ func_split_short_opt_arg=${1#??}\ |
| \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
| } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_dirname file append nondir_replacement |
|
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
|
# otherwise set result to NONDIR_REPLACEMENT. |
|
func_dirname () |
|
{ |
|
# Extract subdirectory from the argument. |
|
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` |
|
if test "X$func_dirname_result" = "X${1}"; then |
|
func_dirname_result="${3}" |
|
else |
|
func_dirname_result="$func_dirname_result${2}" |
|
fi |
|
} |
|
|
|
# func_basename file | sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
func_basename () | func_lo2o ()\ |
{ | {\ |
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` | \ case ${1} in\ |
} | \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
| \ *) func_lo2o_result=${1} ;;\ |
| \ esac\ |
| } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
|
|
# func_stripname prefix suffix name | sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
# strip PREFIX and SUFFIX off of NAME. | func_xform ()\ |
# PREFIX and SUFFIX must not contain globbing or regex special | {\ |
# characters, hashes, percent signs, but SUFFIX may contain a leading | func_xform_result=${1%.*}.lo\ |
# dot (in which case that matches only a dot). | } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
# func_strip_suffix prefix name | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
func_stripname () | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
{ | test 0 -eq $? || _lt_function_replace_fail=: |
case ${2} in | |
.*) func_stripname_result=`$ECHO "X${3}" \ | |
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; | |
*) func_stripname_result=`$ECHO "X${3}" \ | |
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; | |
esac | |
} | |
|
|
# sed scripts: |
|
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
|
my_sed_long_arg='1s/^-[^=]*=//' |
|
|
|
# func_opt_split | sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
func_opt_split () | func_arith ()\ |
{ | {\ |
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` | func_arith_result=$(( $* ))\ |
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` | } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
} | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_lo2o object |
|
func_lo2o () |
|
{ |
|
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` |
|
} |
|
|
|
# func_xform libobj-or-source | sed -e '/^func_len ()$/,/^} # func_len /c\ |
func_xform () | func_len ()\ |
{ | {\ |
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` | func_len_result=${#1}\ |
} | } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_arith arithmetic-term... | fi |
func_arith () | |
{ | |
func_arith_result=`expr "$@"` | |
} | |
|
|
# func_len string | if test x"$lt_shell_append" = xyes; then |
# STRING may not start with a hyphen. | sed -e '/^func_append ()$/,/^} # func_append /c\ |
func_len () | func_append ()\ |
{ | {\ |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` | eval "${1}+=\\${2}"\ |
} | } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
_LT_EOF |
|
esac |
|
|
|
case $lt_shell_append in | sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
yes) | func_append_quoted ()\ |
cat << \_LT_EOF >> "$cfgfile" | {\ |
| \ func_quote_for_eval "${2}"\ |
| \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
| } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_append var value |
|
# Append VALUE to the end of shell variable VAR. |
|
func_append () |
|
{ |
|
eval "$1+=\$2" |
|
} |
|
_LT_EOF |
|
;; |
|
*) |
|
cat << \_LT_EOF >> "$cfgfile" |
|
|
|
# func_append var value | # Save a `func_append' function call where possible by direct use of '+=' |
# Append VALUE to the end of shell variable VAR. | sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
func_append () | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
{ | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
eval "$1=\$$1\$2" | test 0 -eq $? || _lt_function_replace_fail=: |
} | else |
| # Save a `func_append' function call even when '+=' is not available |
| sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
| fi |
|
|
_LT_EOF | if test x"$_lt_function_replace_fail" = x":"; then |
;; | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
esac | $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
| fi |
|
|
|
|
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ | mv -f "$cfgfile" "$ofile" || |
|| (rm -f "$cfgfile"; exit 1) | |
| |
mv -f "$cfgfile" "$ofile" || | |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
chmod +x "$ofile" |
chmod +x "$ofile" |
|
|