1870 lines
52 KiB
Bash
1870 lines
52 KiB
Bash
#! /bin/sh
|
||
# Generated by configure.
|
||
# Run this file to recreate the current configuration.
|
||
# Compiler output produced by configure, useful for debugging
|
||
# configure, is in config.log if it exists.
|
||
|
||
debug=false
|
||
ac_cs_recheck=false
|
||
ac_cs_silent=false
|
||
SHELL=${CONFIG_SHELL-/bin/sh}
|
||
## --------------------- ##
|
||
## M4sh Initialization. ##
|
||
## --------------------- ##
|
||
|
||
# Be more Bourne compatible
|
||
DUALCASE=1; export DUALCASE # for MKS sh
|
||
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
||
emulate sh
|
||
NULLCMD=:
|
||
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
||
# is contrary to our usage. Disable this feature.
|
||
alias -g '${1+"$@"}'='"$@"'
|
||
setopt NO_GLOB_SUBST
|
||
else
|
||
case `(set -o) 2>/dev/null` in
|
||
*posix*) set -o posix ;;
|
||
esac
|
||
|
||
fi
|
||
|
||
|
||
|
||
|
||
# PATH needs CR
|
||
# Avoid depending upon Character Ranges.
|
||
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
||
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
||
as_cr_digits='0123456789'
|
||
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
||
|
||
as_nl='
|
||
'
|
||
export as_nl
|
||
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
||
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
||
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
||
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
||
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
||
as_echo='printf %s\n'
|
||
as_echo_n='printf %s'
|
||
else
|
||
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
||
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
||
as_echo_n='/usr/ucb/echo -n'
|
||
else
|
||
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
||
as_echo_n_body='eval
|
||
arg=$1;
|
||
case $arg in
|
||
*"$as_nl"*)
|
||
expr "X$arg" : "X\\(.*\\)$as_nl";
|
||
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
||
esac;
|
||
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
||
'
|
||
export as_echo_n_body
|
||
as_echo_n='sh -c $as_echo_n_body as_echo'
|
||
fi
|
||
export as_echo_body
|
||
as_echo='sh -c $as_echo_body as_echo'
|
||
fi
|
||
|
||
# The user is always right.
|
||
if test "${PATH_SEPARATOR+set}" != set; then
|
||
PATH_SEPARATOR=:
|
||
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
||
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
||
PATH_SEPARATOR=';'
|
||
}
|
||
fi
|
||
|
||
# Support unset when possible.
|
||
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
||
as_unset=unset
|
||
else
|
||
as_unset=false
|
||
fi
|
||
|
||
|
||
# IFS
|
||
# We need space, tab and new line, in precisely that order. Quoting is
|
||
# there to prevent editors from complaining about space-tab.
|
||
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
||
# splitting by setting IFS to empty value.)
|
||
IFS=" "" $as_nl"
|
||
|
||
# Find who we are. Look in the path if we contain no directory separator.
|
||
case $0 in
|
||
*[\\/]* ) as_myself=$0 ;;
|
||
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||
for as_dir in $PATH
|
||
do
|
||
IFS=$as_save_IFS
|
||
test -z "$as_dir" && as_dir=.
|
||
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
||
done
|
||
IFS=$as_save_IFS
|
||
|
||
;;
|
||
esac
|
||
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
||
# in which case we are not to be found in the path.
|
||
if test "x$as_myself" = x; then
|
||
as_myself=$0
|
||
fi
|
||
if test ! -f "$as_myself"; then
|
||
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
||
{ (exit 1); exit 1; }
|
||
fi
|
||
|
||
# Work around bugs in pre-3.0 UWIN ksh.
|
||
for as_var in ENV MAIL MAILPATH
|
||
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
||
done
|
||
PS1='$ '
|
||
PS2='> '
|
||
PS4='+ '
|
||
|
||
# NLS nuisances.
|
||
LC_ALL=C
|
||
export LC_ALL
|
||
LANGUAGE=C
|
||
export LANGUAGE
|
||
|
||
# Required to use basename.
|
||
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
||
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
||
as_expr=expr
|
||
else
|
||
as_expr=false
|
||
fi
|
||
|
||
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
||
as_basename=basename
|
||
else
|
||
as_basename=false
|
||
fi
|
||
|
||
|
||
# Name of the executable.
|
||
as_me=`$as_basename -- "$0" ||
|
||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
||
X"$0" : 'X\(//\)$' \| \
|
||
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
||
$as_echo X/"$0" |
|
||
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
||
s//\1/
|
||
q
|
||
}
|
||
/^X\/\(\/\/\)$/{
|
||
s//\1/
|
||
q
|
||
}
|
||
/^X\/\(\/\).*/{
|
||
s//\1/
|
||
q
|
||
}
|
||
s/.*/./; q'`
|
||
|
||
# CDPATH.
|
||
$as_unset CDPATH
|
||
|
||
|
||
|
||
as_lineno_1=$LINENO
|
||
as_lineno_2=$LINENO
|
||
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
||
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
||
|
||
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
||
# uniformly replaced by the line number. The first 'sed' inserts a
|
||
# line-number line after each line using $LINENO; the second 'sed'
|
||
# does the real work. The second script uses 'N' to pair each
|
||
# line-number line with the line containing $LINENO, and appends
|
||
# trailing '-' during substitution so that $LINENO is not a special
|
||
# case at line end.
|
||
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
||
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
||
# E. McMahon (1931-1989) for sed's syntax. :-)
|
||
sed -n '
|
||
p
|
||
/[$]LINENO/=
|
||
' <$as_myself |
|
||
sed '
|
||
s/[$]LINENO.*/&-/
|
||
t lineno
|
||
b
|
||
:lineno
|
||
N
|
||
:loop
|
||
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
||
t loop
|
||
s/-\n.*//
|
||
' >$as_me.lineno &&
|
||
chmod +x "$as_me.lineno" ||
|
||
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
||
{ (exit 1); exit 1; }; }
|
||
|
||
# Don't try to exec as it changes $[0], causing all sort of problems
|
||
# (the dirname of $[0] is not the place where we might find the
|
||
# original and so on. Autoconf is especially sensitive to this).
|
||
. "./$as_me.lineno"
|
||
# Exit status is that of the last command.
|
||
exit
|
||
}
|
||
|
||
|
||
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
||
as_dirname=dirname
|
||
else
|
||
as_dirname=false
|
||
fi
|
||
|
||
ECHO_C= ECHO_N= ECHO_T=
|
||
case `echo -n x` in
|
||
-n*)
|
||
case `echo 'x\c'` in
|
||
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
||
*) ECHO_C='\c';;
|
||
esac;;
|
||
*)
|
||
ECHO_N='-n';;
|
||
esac
|
||
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
||
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
||
as_expr=expr
|
||
else
|
||
as_expr=false
|
||
fi
|
||
|
||
rm -f conf$$ conf$$.exe conf$$.file
|
||
if test -d conf$$.dir; then
|
||
rm -f conf$$.dir/conf$$.file
|
||
else
|
||
rm -f conf$$.dir
|
||
mkdir conf$$.dir 2>/dev/null
|
||
fi
|
||
if (echo >conf$$.file) 2>/dev/null; then
|
||
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
||
as_ln_s='ln -s'
|
||
# ... but there are two gotchas:
|
||
# 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.
|
||
# In both cases, we have to default to `cp -p'.
|
||
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
||
as_ln_s='cp -p'
|
||
elif ln conf$$.file conf$$ 2>/dev/null; then
|
||
as_ln_s=ln
|
||
else
|
||
as_ln_s='cp -p'
|
||
fi
|
||
else
|
||
as_ln_s='cp -p'
|
||
fi
|
||
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
||
rmdir conf$$.dir 2>/dev/null
|
||
|
||
if mkdir -p . 2>/dev/null; then
|
||
as_mkdir_p=:
|
||
else
|
||
test -d ./-p && rmdir ./-p
|
||
as_mkdir_p=false
|
||
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
|
||
|
||
# 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'"
|
||
|
||
# Sed expression to map a string onto a valid variable name.
|
||
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
||
|
||
|
||
exec 6>&1
|
||
|
||
# Save the log message, to keep $[0] and so on meaningful, and to
|
||
# report actual input values of CONFIG_FILES etc. instead of their
|
||
# values after options handling.
|
||
ac_log="
|
||
This file was extended by sqlite $as_me 3.8.1, which was
|
||
generated by GNU Autoconf 2.62. Invocation command line was
|
||
|
||
CONFIG_FILES = $CONFIG_FILES
|
||
CONFIG_HEADERS = $CONFIG_HEADERS
|
||
CONFIG_LINKS = $CONFIG_LINKS
|
||
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
||
$ $0 $@
|
||
|
||
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
||
"
|
||
|
||
# Files that config.status was made for.
|
||
config_files=" Makefile sqlite3.pc"
|
||
config_headers=" config.h"
|
||
config_commands=" libtool"
|
||
|
||
ac_cs_usage="\
|
||
\`$as_me' instantiates files from templates according to the
|
||
current configuration.
|
||
|
||
Usage: $0 [OPTIONS] [FILE]...
|
||
|
||
-h, --help print this help, then exit
|
||
-V, --version print version number and configuration settings, then exit
|
||
-q, --quiet do not print progress messages
|
||
-d, --debug don't remove temporary files
|
||
--recheck update $as_me by reconfiguring in the same conditions
|
||
--file=FILE[:TEMPLATE]
|
||
instantiate the configuration file FILE
|
||
--header=FILE[:TEMPLATE]
|
||
instantiate the configuration header FILE
|
||
|
||
Configuration files:
|
||
$config_files
|
||
|
||
Configuration headers:
|
||
$config_headers
|
||
|
||
Configuration commands:
|
||
$config_commands
|
||
|
||
Report bugs to <bug-autoconf@gnu.org>."
|
||
|
||
ac_cs_version="\
|
||
sqlite config.status 3.8.1
|
||
configured by ../configure, generated by GNU Autoconf 2.62,
|
||
with options \"'--host=arm-none-eabi' 'host_alias=arm-none-eabi'\"
|
||
|
||
Copyright (C) 2008 Free Software Foundation, Inc.
|
||
This config.status script is free software; the Free Software Foundation
|
||
gives unlimited permission to copy, distribute and modify it."
|
||
|
||
ac_pwd='/cygdrive/e/rt-thread/components/external/SQLite-3.8.1/make'
|
||
srcdir='..'
|
||
INSTALL='/usr/bin/install -c'
|
||
AWK='gawk'
|
||
test -n "$AWK" || AWK=awk
|
||
# The default lists apply if the user does not specify any file.
|
||
ac_need_defaults=:
|
||
while test $# != 0
|
||
do
|
||
case $1 in
|
||
--*=*)
|
||
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
||
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
||
ac_shift=:
|
||
;;
|
||
*)
|
||
ac_option=$1
|
||
ac_optarg=$2
|
||
ac_shift=shift
|
||
;;
|
||
esac
|
||
|
||
case $ac_option in
|
||
# Handling of the options.
|
||
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
||
ac_cs_recheck=: ;;
|
||
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
||
$as_echo "$ac_cs_version"; exit ;;
|
||
--debug | --debu | --deb | --de | --d | -d )
|
||
debug=: ;;
|
||
--file | --fil | --fi | --f )
|
||
$ac_shift
|
||
case $ac_optarg in
|
||
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
||
esac
|
||
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
|
||
ac_need_defaults=false;;
|
||
--header | --heade | --head | --hea )
|
||
$ac_shift
|
||
case $ac_optarg in
|
||
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
||
esac
|
||
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
|
||
ac_need_defaults=false;;
|
||
--he | --h)
|
||
# Conflict between --help and --header
|
||
{ $as_echo "$as_me: error: ambiguous option: $1
|
||
Try \`$0 --help' for more information." >&2
|
||
{ (exit 1); exit 1; }; };;
|
||
--help | --hel | -h )
|
||
$as_echo "$ac_cs_usage"; exit ;;
|
||
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
||
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
||
ac_cs_silent=: ;;
|
||
|
||
# This is an error.
|
||
-*) { $as_echo "$as_me: error: unrecognized option: $1
|
||
Try \`$0 --help' for more information." >&2
|
||
{ (exit 1); exit 1; }; } ;;
|
||
|
||
*) ac_config_targets="$ac_config_targets $1"
|
||
ac_need_defaults=false ;;
|
||
|
||
esac
|
||
shift
|
||
done
|
||
|
||
ac_configure_extra_args=
|
||
|
||
if $ac_cs_silent; then
|
||
exec 6>/dev/null
|
||
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
||
fi
|
||
|
||
if $ac_cs_recheck; then
|
||
set X '/bin/sh' '../configure' '--host=arm-none-eabi' 'host_alias=arm-none-eabi' $ac_configure_extra_args --no-create --no-recursion
|
||
shift
|
||
$as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
|
||
CONFIG_SHELL='/bin/sh'
|
||
export CONFIG_SHELL
|
||
exec "$@"
|
||
fi
|
||
|
||
exec 5>>config.log
|
||
{
|
||
echo
|
||
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
||
## Running $as_me. ##
|
||
_ASBOX
|
||
$as_echo "$ac_log"
|
||
} >&5
|
||
|
||
#
|
||
# INIT-COMMANDS
|
||
#
|
||
|
||
|
||
# The HP-UX ksh and POSIX shell print the target directory to stdout
|
||
# if CDPATH is set.
|
||
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
||
|
||
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
||
double_quote_subst='s/\(["`\\]\)/\\\1/g'
|
||
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
|
||
macro_version='2.2.6'
|
||
macro_revision='1.3012'
|
||
enable_shared='no'
|
||
enable_static='yes'
|
||
pic_mode='default'
|
||
enable_fast_install='yes'
|
||
host_alias='arm-none-eabi'
|
||
host='arm-none-eabi'
|
||
host_os='eabi'
|
||
build_alias=''
|
||
build='i686-pc-cygwin'
|
||
build_os='cygwin'
|
||
SED='/usr/bin/sed'
|
||
Xsed='/usr/bin/sed -e 1s/^X//'
|
||
GREP='/usr/bin/grep'
|
||
EGREP='/usr/bin/grep -E'
|
||
FGREP='/usr/bin/grep -F'
|
||
LD='c:/program files/codesourcery/sourcery_codebench_lite_for_arm_eabi/arm-none-eabi/bin/ld.exe'
|
||
NM='/cygdrive/c/Program Files/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/arm-none-eabi-nm -B'
|
||
LN_S='ln -s'
|
||
max_cmd_len='8192'
|
||
ac_objext='o'
|
||
exeext=''
|
||
lt_unset='unset'
|
||
lt_SP2NL='tr \040 \012'
|
||
lt_NL2SP='tr \015\012 \040\040'
|
||
reload_flag=' -r'
|
||
reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
||
OBJDUMP='arm-none-eabi-objdump'
|
||
deplibs_check_method='unknown'
|
||
file_magic_cmd='$MAGIC_CMD'
|
||
AR='arm-none-eabi-ar'
|
||
AR_FLAGS='cru'
|
||
STRIP='arm-none-eabi-strip'
|
||
RANLIB='arm-none-eabi-ranlib'
|
||
old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
|
||
old_postuninstall_cmds=''
|
||
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
|
||
CC='arm-none-eabi-gcc'
|
||
CFLAGS=' -g -O2 -DSQLITE_OS_UNIX=1'
|
||
compiler='arm-none-eabi-gcc'
|
||
GCC='yes'
|
||
lt_cv_sys_global_symbol_pipe=''
|
||
lt_cv_sys_global_symbol_to_cdecl=''
|
||
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\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/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
|
||
objdir='.libs'
|
||
SHELL='/bin/sh'
|
||
ECHO='echo'
|
||
MAGIC_CMD='file'
|
||
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
|
||
lt_prog_compiler_wl='-Wl,'
|
||
lt_prog_compiler_pic=' -fPIC -DPIC'
|
||
lt_prog_compiler_static='-static'
|
||
lt_cv_prog_compiler_c_o='yes'
|
||
need_locks='no'
|
||
DSYMUTIL=''
|
||
NMEDIT=''
|
||
LIPO=''
|
||
OTOOL=''
|
||
OTOOL64=''
|
||
libext='a'
|
||
shrext_cmds='.so'
|
||
extract_expsyms_cmds=''
|
||
archive_cmds_need_lc='yes'
|
||
enable_shared_with_static_runtimes='no'
|
||
export_dynamic_flag_spec=''
|
||
whole_archive_flag_spec=''
|
||
compiler_needs_object='no'
|
||
old_archive_from_new_cmds=''
|
||
old_archive_from_expsyms_cmds=''
|
||
archive_cmds=''
|
||
archive_expsym_cmds=''
|
||
module_cmds=''
|
||
module_expsym_cmds=''
|
||
with_gnu_ld='no'
|
||
allow_undefined_flag=''
|
||
no_undefined_flag=''
|
||
hardcode_libdir_flag_spec=''
|
||
hardcode_libdir_flag_spec_ld=''
|
||
hardcode_libdir_separator=''
|
||
hardcode_direct='no'
|
||
hardcode_direct_absolute='no'
|
||
hardcode_minus_L='no'
|
||
hardcode_shlibpath_var='unsupported'
|
||
hardcode_automatic='no'
|
||
inherit_rpath='no'
|
||
link_all_deplibs='unknown'
|
||
fix_srcfile_path=''
|
||
always_export_symbols='no'
|
||
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
||
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
||
include_expsyms=''
|
||
prelink_cmds=''
|
||
file_list_spec=''
|
||
variables_saved_for_relink='PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
|
||
need_lib_prefix='unknown'
|
||
need_version='unknown'
|
||
version_type='none'
|
||
runpath_var=''
|
||
shlibpath_var=''
|
||
shlibpath_overrides_runpath='unknown'
|
||
libname_spec='lib$name'
|
||
library_names_spec=''
|
||
soname_spec=''
|
||
postinstall_cmds=''
|
||
postuninstall_cmds=''
|
||
finish_cmds=''
|
||
finish_eval=''
|
||
hardcode_into_libs='no'
|
||
sys_lib_search_path_spec=''
|
||
sys_lib_dlsearch_path_spec='/lib /usr/lib'
|
||
hardcode_action='unsupported'
|
||
enable_dlopen='unknown'
|
||
enable_dlopen_self='unknown'
|
||
enable_dlopen_self_static='unknown'
|
||
old_striplib='arm-none-eabi-strip --strip-debug'
|
||
striplib='arm-none-eabi-strip --strip-unneeded'
|
||
|
||
LTCC='arm-none-eabi-gcc'
|
||
LTCFLAGS='-g -O2'
|
||
compiler='arm-none-eabi-gcc'
|
||
|
||
# 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
|
||
case `eval \\$ECHO "X\\$$var"` in
|
||
*[\\\`\"\$]*)
|
||
eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
|
||
;;
|
||
*)
|
||
eval "lt_$var=\\\"\$$var\\\""
|
||
;;
|
||
esac
|
||
done
|
||
|
||
# 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
|
||
case `eval \\$ECHO "X\\$$var"` in
|
||
*[\\\`\"\$]*)
|
||
eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
|
||
;;
|
||
*)
|
||
eval "lt_$var=\\\"\$$var\\\""
|
||
;;
|
||
esac
|
||
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='..'
|
||
xsi_shell='yes'
|
||
lt_shell_append='yes'
|
||
|
||
# See if we are running on zsh, and set the options which allow our
|
||
# commands through without removal of \ escapes INIT.
|
||
if test -n "${ZSH_VERSION+set}" ; then
|
||
setopt NO_GLOB_SUBST
|
||
fi
|
||
|
||
|
||
PACKAGE=''
|
||
VERSION='3.8'
|
||
TIMESTAMP=''
|
||
RM='rm -f'
|
||
ofile='libtool'
|
||
|
||
|
||
|
||
|
||
|
||
# Handling of arguments.
|
||
for ac_config_target in $ac_config_targets
|
||
do
|
||
case $ac_config_target in
|
||
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
|
||
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
||
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
||
"sqlite3.pc") CONFIG_FILES="$CONFIG_FILES sqlite3.pc" ;;
|
||
|
||
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
||
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
||
{ (exit 1); exit 1; }; };;
|
||
esac
|
||
done
|
||
|
||
|
||
# If the user did not use the arguments to specify the items to instantiate,
|
||
# then the envvar interface is used. Set only those that are not.
|
||
# We use the long form for the default assignment because of an extremely
|
||
# bizarre bug on SunOS 4.1.3.
|
||
if $ac_need_defaults; then
|
||
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
||
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
||
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
||
fi
|
||
|
||
# Have a temporary directory for convenience. Make it in the build tree
|
||
# simply because there is no reason against having it here, and in addition,
|
||
# creating and moving files from /tmp can sometimes cause problems.
|
||
# Hook for its removal unless debugging.
|
||
# Note that there is a small window in which the directory will not be cleaned:
|
||
# after its creation but before its name has been assigned to `$tmp'.
|
||
$debug ||
|
||
{
|
||
tmp=
|
||
trap 'exit_status=$?
|
||
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
||
' 0
|
||
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
||
}
|
||
# Create a (secure) tmp directory for tmp files.
|
||
|
||
{
|
||
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
||
test -n "$tmp" && test -d "$tmp"
|
||
} ||
|
||
{
|
||
tmp=./conf$$-$RANDOM
|
||
(umask 077 && mkdir "$tmp")
|
||
} ||
|
||
{
|
||
$as_echo "$as_me: cannot create a temporary directory in ." >&2
|
||
{ (exit 1); exit 1; }
|
||
}
|
||
|
||
# Set up the scripts for CONFIG_FILES section.
|
||
# No need to generate them if there are no CONFIG_FILES.
|
||
# This happens for instance with `./config.status config.h'.
|
||
if test -n "$CONFIG_FILES"; then
|
||
|
||
|
||
ac_cr='
|
||
'
|
||
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
||
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
||
ac_cs_awk_cr='\\r'
|
||
else
|
||
ac_cs_awk_cr=$ac_cr
|
||
fi
|
||
|
||
echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
||
cat >>"$tmp/subs1.awk" <<\_ACAWK &&
|
||
S["SHELL"]="/bin/sh"
|
||
S["PATH_SEPARATOR"]=":"
|
||
S["PACKAGE_NAME"]="sqlite"
|
||
S["PACKAGE_TARNAME"]="sqlite"
|
||
S["PACKAGE_VERSION"]="3.8.1"
|
||
S["PACKAGE_STRING"]="sqlite 3.8.1"
|
||
S["PACKAGE_BUGREPORT"]=""
|
||
S["exec_prefix"]="${prefix}"
|
||
S["prefix"]="/usr/local"
|
||
S["program_transform_name"]="s,x,x,"
|
||
S["bindir"]="${exec_prefix}/bin"
|
||
S["sbindir"]="${exec_prefix}/sbin"
|
||
S["libexecdir"]="${exec_prefix}/libexec"
|
||
S["datarootdir"]="${prefix}/share"
|
||
S["datadir"]="${datarootdir}"
|
||
S["sysconfdir"]="${prefix}/etc"
|
||
S["sharedstatedir"]="${prefix}/com"
|
||
S["localstatedir"]="${prefix}/var"
|
||
S["includedir"]="${prefix}/include"
|
||
S["oldincludedir"]="/usr/include"
|
||
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
|
||
S["infodir"]="${datarootdir}/info"
|
||
S["htmldir"]="${docdir}"
|
||
S["dvidir"]="${docdir}"
|
||
S["pdfdir"]="${docdir}"
|
||
S["psdir"]="${docdir}"
|
||
S["libdir"]="${exec_prefix}/lib"
|
||
S["localedir"]="${datarootdir}/locale"
|
||
S["mandir"]="${datarootdir}/man"
|
||
S["DEFS"]="-DHAVE_CONFIG_H"
|
||
S["ECHO_C"]=""
|
||
S["ECHO_N"]="-n"
|
||
S["ECHO_T"]=""
|
||
S["LIBS"]=""
|
||
S["build_alias"]=""
|
||
S["host_alias"]="arm-none-eabi"
|
||
S["target_alias"]=""
|
||
S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
|
||
S["build"]="i686-pc-cygwin"
|
||
S["build_cpu"]="i686"
|
||
S["build_vendor"]="pc"
|
||
S["build_os"]="cygwin"
|
||
S["host"]="arm-none-eabi"
|
||
S["host_cpu"]="arm"
|
||
S["host_vendor"]="none"
|
||
S["host_os"]="eabi"
|
||
S["CC"]="arm-none-eabi-gcc"
|
||
S["CFLAGS"]=" -g -O2 -DSQLITE_OS_UNIX=1"
|
||
S["LDFLAGS"]=""
|
||
S["CPPFLAGS"]=""
|
||
S["ac_ct_CC"]=""
|
||
S["EXEEXT"]=""
|
||
S["OBJEXT"]="o"
|
||
S["SED"]="/usr/bin/sed"
|
||
S["GREP"]="/usr/bin/grep"
|
||
S["EGREP"]="/usr/bin/grep -E"
|
||
S["FGREP"]="/usr/bin/grep -F"
|
||
S["LD"]="c:/program files/codesourcery/sourcery_codebench_lite_for_arm_eabi/arm-none-eabi/bin/ld.exe"
|
||
S["DUMPBIN"]=""
|
||
S["ac_ct_DUMPBIN"]=""
|
||
S["NM"]="/cygdrive/c/Program Files/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/arm-none-eabi-nm -B"
|
||
S["LN_S"]="ln -s"
|
||
S["OBJDUMP"]="arm-none-eabi-objdump"
|
||
S["AR"]="arm-none-eabi-ar"
|
||
S["STRIP"]="arm-none-eabi-strip"
|
||
S["RANLIB"]="arm-none-eabi-ranlib"
|
||
S["lt_ECHO"]="echo"
|
||
S["DSYMUTIL"]=""
|
||
S["NMEDIT"]=""
|
||
S["LIPO"]=""
|
||
S["OTOOL"]=""
|
||
S["OTOOL64"]=""
|
||
S["CPP"]="arm-none-eabi-gcc -E"
|
||
S["INSTALL_PROGRAM"]="${INSTALL}"
|
||
S["INSTALL_SCRIPT"]="${INSTALL}"
|
||
S["INSTALL_DATA"]="${INSTALL} -m 644"
|
||
S["AWK"]="gawk"
|
||
S["TCLSH_CMD"]="tclsh8.5"
|
||
S["TCLLIBDIR"]="/usr/lib/tcl8.5/sqlite3"
|
||
S["program_prefix"]=""
|
||
S["VERSION"]="3.8"
|
||
S["RELEASE"]="3.8.1"
|
||
S["VERSION_NUMBER"]="3008001"
|
||
S["BUILD_CC"]="gcc"
|
||
S["SQLITE_THREADSAFE"]="1"
|
||
S["XTHREADCONNECT"]=""
|
||
S["ALLOWRELEASE"]=""
|
||
S["TEMP_STORE"]="1"
|
||
S["BUILD_EXEEXT"]=""
|
||
S["SQLITE_OS_UNIX"]="1"
|
||
S["SQLITE_OS_WIN"]="0"
|
||
S["TARGET_EXEEXT"]=""
|
||
S["TCL_VERSION"]="8.5"
|
||
S["TCL_BIN_DIR"]="/usr/lib"
|
||
S["TCL_SRC_DIR"]="/usr/include/tcl8.5"
|
||
S["TCL_INCLUDE_SPEC"]="-I/usr/include"
|
||
S["TCL_LIB_FILE"]="libtcl8.5.dll"
|
||
S["TCL_LIB_FLAG"]="-ltcl8.5"
|
||
S["TCL_LIB_SPEC"]="-L/usr/lib -ltcl8.5"
|
||
S["TCL_STUB_LIB_FILE"]="libtclstub8.5.a"
|
||
S["TCL_STUB_LIB_FLAG"]="-ltclstub8.5"
|
||
S["TCL_STUB_LIB_SPEC"]="-Wl,-ltclstub8.5"
|
||
S["HAVE_TCL"]="1"
|
||
S["TARGET_READLINE_LIBS"]=""
|
||
S["TARGET_READLINE_INC"]=""
|
||
S["TARGET_HAVE_READLINE"]="0"
|
||
S["TARGET_DEBUG"]="-DNDEBUG"
|
||
S["USE_AMALGAMATION"]="1"
|
||
S["OPT_FEATURE_FLAGS"]="-DSQLITE_OMIT_LOAD_EXTENSION=1"
|
||
S["USE_GCOV"]="0"
|
||
S["BUILD_CFLAGS"]=" -g"
|
||
S["LIBOBJS"]=""
|
||
S["LTLIBOBJS"]=""
|
||
_ACAWK
|
||
cat >>"$tmp/subs1.awk" <<_ACAWK &&
|
||
for (key in S) S_is_set[key] = 1
|
||
FS = ""
|
||
|
||
}
|
||
{
|
||
line = $ 0
|
||
nfields = split(line, field, "@")
|
||
substed = 0
|
||
len = length(field[1])
|
||
for (i = 2; i < nfields; i++) {
|
||
key = field[i]
|
||
keylen = length(key)
|
||
if (S_is_set[key]) {
|
||
value = S[key]
|
||
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
||
len += length(value) + length(field[++i])
|
||
substed = 1
|
||
} else
|
||
len += 1 + keylen
|
||
}
|
||
|
||
print line
|
||
}
|
||
|
||
_ACAWK
|
||
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
||
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
||
else
|
||
cat
|
||
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
||
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
|
||
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
|
||
{ (exit 1); exit 1; }; }
|
||
fi # test -n "$CONFIG_FILES"
|
||
|
||
# Set up the scripts for CONFIG_HEADERS section.
|
||
# No need to generate them if there are no CONFIG_HEADERS.
|
||
# This happens for instance with `./config.status Makefile'.
|
||
if test -n "$CONFIG_HEADERS"; then
|
||
cat >"$tmp/defines.awk" <<\_ACAWK ||
|
||
BEGIN {
|
||
D["PACKAGE_NAME"]=" \"sqlite\""
|
||
D["PACKAGE_TARNAME"]=" \"sqlite\""
|
||
D["PACKAGE_VERSION"]=" \"3.8.1\""
|
||
D["PACKAGE_STRING"]=" \"sqlite 3.8.1\""
|
||
D["PACKAGE_BUGREPORT"]=" \"\""
|
||
D["STDC_HEADERS"]=" 1"
|
||
D["HAVE_SYS_TYPES_H"]=" 1"
|
||
D["HAVE_SYS_STAT_H"]=" 1"
|
||
D["HAVE_STDLIB_H"]=" 1"
|
||
D["HAVE_STRING_H"]=" 1"
|
||
D["HAVE_INTTYPES_H"]=" 1"
|
||
D["HAVE_STDINT_H"]=" 1"
|
||
D["HAVE_UNISTD_H"]=" 1"
|
||
D["LT_OBJDIR"]=" \".libs/\""
|
||
D["HAVE_INT8_T"]=" 1"
|
||
D["HAVE_INT16_T"]=" 1"
|
||
D["HAVE_INT32_T"]=" 1"
|
||
D["HAVE_INT64_T"]=" 1"
|
||
D["HAVE_INTPTR_T"]=" 1"
|
||
D["HAVE_UINT8_T"]=" 1"
|
||
D["HAVE_UINT16_T"]=" 1"
|
||
D["HAVE_UINT32_T"]=" 1"
|
||
D["HAVE_UINT64_T"]=" 1"
|
||
D["HAVE_UINTPTR_T"]=" 1"
|
||
D["HAVE_SYS_TYPES_H"]=" 1"
|
||
D["HAVE_STDLIB_H"]=" 1"
|
||
D["HAVE_STDINT_H"]=" 1"
|
||
D["HAVE_INTTYPES_H"]=" 1"
|
||
D["HAVE_MALLOC_H"]=" 1"
|
||
D["HAVE_LOCALTIME_R"]=" 1"
|
||
D["HAVE_GMTIME_R"]=" 1"
|
||
D["HAVE_MALLOC_USABLE_SIZE"]=" 1"
|
||
for (key in D) D_is_set[key] = 1
|
||
FS = ""
|
||
}
|
||
/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
|
||
line = $ 0
|
||
split(line, arg, " ")
|
||
if (arg[1] == "#") {
|
||
defundef = arg[2]
|
||
mac1 = arg[3]
|
||
} else {
|
||
defundef = substr(arg[1], 2)
|
||
mac1 = arg[2]
|
||
}
|
||
split(mac1, mac2, "(") #)
|
||
macro = mac2[1]
|
||
if (D_is_set[macro]) {
|
||
# Preserve the white space surrounding the "#".
|
||
prefix = substr(line, 1, index(line, defundef) - 1)
|
||
print prefix "define", macro P[macro] D[macro]
|
||
next
|
||
} else {
|
||
# Replace #undef with comments. This is necessary, for example,
|
||
# in the case of _POSIX_SOURCE, which is predefined and required
|
||
# on some systems where configure will not decide to define it.
|
||
if (defundef == "undef") {
|
||
print "/*", line, "*/"
|
||
next
|
||
}
|
||
}
|
||
}
|
||
{ print }
|
||
_ACAWK
|
||
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
|
||
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
|
||
{ (exit 1); exit 1; }; }
|
||
fi # test -n "$CONFIG_HEADERS"
|
||
|
||
|
||
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
||
shift
|
||
for ac_tag
|
||
do
|
||
case $ac_tag in
|
||
:[FHLC]) ac_mode=$ac_tag; continue;;
|
||
esac
|
||
case $ac_mode$ac_tag in
|
||
:[FHL]*:*);;
|
||
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
||
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
||
{ (exit 1); exit 1; }; };;
|
||
:[FH]-) ac_tag=-:-;;
|
||
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
||
esac
|
||
ac_save_IFS=$IFS
|
||
IFS=:
|
||
set x $ac_tag
|
||
IFS=$ac_save_IFS
|
||
shift
|
||
ac_file=$1
|
||
shift
|
||
|
||
case $ac_mode in
|
||
:L) ac_source=$1;;
|
||
:[FH])
|
||
ac_file_inputs=
|
||
for ac_f
|
||
do
|
||
case $ac_f in
|
||
-) ac_f="$tmp/stdin";;
|
||
*) # 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,
|
||
# because $ac_f cannot contain `:'.
|
||
test -f "$ac_f" ||
|
||
case $ac_f in
|
||
[\\/$]*) false;;
|
||
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
||
esac ||
|
||
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
||
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
||
{ (exit 1); exit 1; }; };;
|
||
esac
|
||
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
||
ac_file_inputs="$ac_file_inputs '$ac_f'"
|
||
done
|
||
|
||
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
||
# use $as_me), people would be surprised to read:
|
||
# /* config.h. Generated by config.status. */
|
||
configure_input='Generated from '`
|
||
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
||
`' by configure.'
|
||
if test x"$ac_file" != x-; then
|
||
configure_input="$ac_file. $configure_input"
|
||
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
|
||
$as_echo "$as_me: creating $ac_file" >&6;}
|
||
fi
|
||
# Neutralize special characters interpreted by sed in replacement strings.
|
||
case $configure_input in #(
|
||
*\&* | *\|* | *\\* )
|
||
ac_sed_conf_input=`$as_echo "$configure_input" |
|
||
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
||
*) ac_sed_conf_input=$configure_input;;
|
||
esac
|
||
|
||
case $ac_tag in
|
||
*:-:* | *:-) cat >"$tmp/stdin" \
|
||
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
||
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
||
{ (exit 1); exit 1; }; } ;;
|
||
esac
|
||
;;
|
||
esac
|
||
|
||
ac_dir=`$as_dirname -- "$ac_file" ||
|
||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||
X"$ac_file" : 'X\(//\)[^/]' \| \
|
||
X"$ac_file" : 'X\(//\)$' \| \
|
||
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
||
$as_echo X"$ac_file" |
|
||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||
s//\1/
|
||
q
|
||
}
|
||
/^X\(\/\/\)[^/].*/{
|
||
s//\1/
|
||
q
|
||
}
|
||
/^X\(\/\/\)$/{
|
||
s//\1/
|
||
q
|
||
}
|
||
/^X\(\/\).*/{
|
||
s//\1/
|
||
q
|
||
}
|
||
s/.*/./; q'`
|
||
{ as_dir="$ac_dir"
|
||
case $as_dir in #(
|
||
-*) as_dir=./$as_dir;;
|
||
esac
|
||
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
||
as_dirs=
|
||
while :; do
|
||
case $as_dir in #(
|
||
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
||
*) as_qdir=$as_dir;;
|
||
esac
|
||
as_dirs="'$as_qdir' $as_dirs"
|
||
as_dir=`$as_dirname -- "$as_dir" ||
|
||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||
X"$as_dir" : 'X\(//\)[^/]' \| \
|
||
X"$as_dir" : 'X\(//\)$' \| \
|
||
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
||
$as_echo X"$as_dir" |
|
||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||
s//\1/
|
||
q
|
||
}
|
||
/^X\(\/\/\)[^/].*/{
|
||
s//\1/
|
||
q
|
||
}
|
||
/^X\(\/\/\)$/{
|
||
s//\1/
|
||
q
|
||
}
|
||
/^X\(\/\).*/{
|
||
s//\1/
|
||
q
|
||
}
|
||
s/.*/./; q'`
|
||
test -d "$as_dir" && break
|
||
done
|
||
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
||
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
||
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
||
{ (exit 1); exit 1; }; }; }
|
||
ac_builddir=.
|
||
|
||
case "$ac_dir" in
|
||
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
||
*)
|
||
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
||
# A ".." for each directory in $ac_dir_suffix.
|
||
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
||
case $ac_top_builddir_sub in
|
||
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
||
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
||
esac ;;
|
||
esac
|
||
ac_abs_top_builddir=$ac_pwd
|
||
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
||
# for backward compatibility:
|
||
ac_top_builddir=$ac_top_build_prefix
|
||
|
||
case $srcdir in
|
||
.) # We are building in place.
|
||
ac_srcdir=.
|
||
ac_top_srcdir=$ac_top_builddir_sub
|
||
ac_abs_top_srcdir=$ac_pwd ;;
|
||
[\\/]* | ?:[\\/]* ) # Absolute name.
|
||
ac_srcdir=$srcdir$ac_dir_suffix;
|
||
ac_top_srcdir=$srcdir
|
||
ac_abs_top_srcdir=$srcdir ;;
|
||
*) # Relative name.
|
||
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
||
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
||
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
||
esac
|
||
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
||
|
||
|
||
case $ac_mode in
|
||
:F)
|
||
#
|
||
# CONFIG_FILE
|
||
#
|
||
|
||
case $INSTALL in
|
||
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
||
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
||
esac
|
||
# If the template does not know about datarootdir, expand it.
|
||
# FIXME: This hack should be removed a few years after 2.60.
|
||
ac_datarootdir_hack=; ac_datarootdir_seen=
|
||
|
||
ac_sed_dataroot='
|
||
/datarootdir/ {
|
||
p
|
||
q
|
||
}
|
||
/@datadir@/p
|
||
/@docdir@/p
|
||
/@infodir@/p
|
||
/@localedir@/p
|
||
/@mandir@/p
|
||
'
|
||
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
||
*datarootdir*) ac_datarootdir_seen=yes;;
|
||
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
||
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
||
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
||
ac_datarootdir_hack='
|
||
s&@datadir@&${datarootdir}&g
|
||
s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
|
||
s&@infodir@&${datarootdir}/info&g
|
||
s&@localedir@&${datarootdir}/locale&g
|
||
s&@mandir@&${datarootdir}/man&g
|
||
s&\${datarootdir}&${prefix}/share&g' ;;
|
||
esac
|
||
ac_sed_extra="
|
||
|
||
:t
|
||
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
||
s|@configure_input@|$ac_sed_conf_input|;t t
|
||
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
||
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
||
s&@srcdir@&$ac_srcdir&;t t
|
||
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
||
s&@top_srcdir@&$ac_top_srcdir&;t t
|
||
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
||
s&@builddir@&$ac_builddir&;t t
|
||
s&@abs_builddir@&$ac_abs_builddir&;t t
|
||
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
||
s&@INSTALL@&$ac_INSTALL&;t t
|
||
$ac_datarootdir_hack
|
||
"
|
||
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
||
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
||
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
||
{ (exit 1); exit 1; }; }
|
||
|
||
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' "$tmp/out"`; test -z "$ac_out"; } &&
|
||
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
||
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'
|
||
which seems to be undefined. Please make sure it is defined." >&2;}
|
||
|
||
rm -f "$tmp/stdin"
|
||
case $ac_file in
|
||
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
||
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
||
esac \
|
||
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
||
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
||
{ (exit 1); exit 1; }; }
|
||
;;
|
||
:H)
|
||
#
|
||
# CONFIG_HEADER
|
||
#
|
||
if test x"$ac_file" != x-; then
|
||
{
|
||
$as_echo "/* $configure_input */" \
|
||
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
||
} >"$tmp/config.h" \
|
||
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
||
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
||
{ (exit 1); exit 1; }; }
|
||
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
||
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
||
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
||
else
|
||
rm -f "$ac_file"
|
||
mv "$tmp/config.h" "$ac_file" \
|
||
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
||
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
||
{ (exit 1); exit 1; }; }
|
||
fi
|
||
else
|
||
$as_echo "/* $configure_input */" \
|
||
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
||
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
|
||
$as_echo "$as_me: error: could not create -" >&2;}
|
||
{ (exit 1); exit 1; }; }
|
||
fi
|
||
;;
|
||
|
||
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
||
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
||
;;
|
||
esac
|
||
|
||
|
||
case $ac_file$ac_mode in
|
||
"libtool":C)
|
||
|
||
# See if we are running on zsh, and set the options which allow our
|
||
# commands through without removal of \ escapes.
|
||
if test -n "${ZSH_VERSION+set}" ; then
|
||
setopt NO_GLOB_SUBST
|
||
fi
|
||
|
||
cfgfile="${ofile}T"
|
||
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
|
||
$RM "$cfgfile"
|
||
|
||
cat <<_LT_EOF >> "$cfgfile"
|
||
#! $SHELL
|
||
|
||
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
|
||
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
|
||
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
||
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
||
#
|
||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
||
# 2006, 2007, 2008 Free Software Foundation, Inc.
|
||
# Written by Gordon Matzigkeit, 1996
|
||
#
|
||
# This file is part of GNU Libtool.
|
||
#
|
||
# GNU Libtool is free software; you can redistribute it and/or
|
||
# modify it under the terms of the GNU General Public License as
|
||
# published by the Free Software Foundation; either version 2 of
|
||
# the License, or (at your option) any later version.
|
||
#
|
||
# As a special exception to the GNU General Public License,
|
||
# if you distribute this file as part of a program or library that
|
||
# is built using GNU Libtool, you may include this file under the
|
||
# same distribution terms that you use for the rest of that program.
|
||
#
|
||
# GNU Libtool is distributed in the hope that it will be useful,
|
||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
# GNU General Public License for more details.
|
||
#
|
||
# You should have received a copy of the GNU General Public License
|
||
# along with GNU Libtool; see the file COPYING. If not, a copy
|
||
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
|
||
# obtained by writing to the Free Software Foundation, Inc.,
|
||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
||
|
||
# The names of the tagged configurations supported by this script.
|
||
available_tags=""
|
||
|
||
# ### BEGIN LIBTOOL CONFIG
|
||
|
||
# Which release of libtool.m4 was used?
|
||
macro_version=$macro_version
|
||
macro_revision=$macro_revision
|
||
|
||
# Whether or not to build shared libraries.
|
||
build_libtool_libs=$enable_shared
|
||
|
||
# Whether or not to build static libraries.
|
||
build_old_libs=$enable_static
|
||
|
||
# What type of objects to build.
|
||
pic_mode=$pic_mode
|
||
|
||
# Whether or not to optimize for fast installation.
|
||
fast_install=$enable_fast_install
|
||
|
||
# The host system.
|
||
host_alias=$host_alias
|
||
host=$host
|
||
host_os=$host_os
|
||
|
||
# The build system.
|
||
build_alias=$build_alias
|
||
build=$build
|
||
build_os=$build_os
|
||
|
||
# A sed program that does not truncate output.
|
||
SED=$lt_SED
|
||
|
||
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
|
||
Xsed="\$SED -e 1s/^X//"
|
||
|
||
# A grep program that handles long lines.
|
||
GREP=$lt_GREP
|
||
|
||
# An ERE matcher.
|
||
EGREP=$lt_EGREP
|
||
|
||
# A literal string matcher.
|
||
FGREP=$lt_FGREP
|
||
|
||
# A BSD- or MS-compatible name lister.
|
||
NM=$lt_NM
|
||
|
||
# Whether we need soft or hard links.
|
||
LN_S=$lt_LN_S
|
||
|
||
# What is the maximum length of a command?
|
||
max_cmd_len=$max_cmd_len
|
||
|
||
# Object file suffix (normally "o").
|
||
objext=$ac_objext
|
||
|
||
# Executable file suffix (normally "").
|
||
exeext=$exeext
|
||
|
||
# whether the shell understands "unset".
|
||
lt_unset=$lt_unset
|
||
|
||
# turn spaces into newlines.
|
||
SP2NL=$lt_lt_SP2NL
|
||
|
||
# turn newlines into spaces.
|
||
NL2SP=$lt_lt_NL2SP
|
||
|
||
# How to create reloadable object files.
|
||
reload_flag=$lt_reload_flag
|
||
reload_cmds=$lt_reload_cmds
|
||
|
||
# An object symbol dumper.
|
||
OBJDUMP=$lt_OBJDUMP
|
||
|
||
# Method to check whether dependent libraries are shared objects.
|
||
deplibs_check_method=$lt_deplibs_check_method
|
||
|
||
# Command to use when deplibs_check_method == "file_magic".
|
||
file_magic_cmd=$lt_file_magic_cmd
|
||
|
||
# The archiver.
|
||
AR=$lt_AR
|
||
AR_FLAGS=$lt_AR_FLAGS
|
||
|
||
# A symbol stripping program.
|
||
STRIP=$lt_STRIP
|
||
|
||
# Commands used to install an old-style archive.
|
||
RANLIB=$lt_RANLIB
|
||
old_postinstall_cmds=$lt_old_postinstall_cmds
|
||
old_postuninstall_cmds=$lt_old_postuninstall_cmds
|
||
|
||
# A C compiler.
|
||
LTCC=$lt_CC
|
||
|
||
# LTCC compiler flags.
|
||
LTCFLAGS=$lt_CFLAGS
|
||
|
||
# Take the output of nm and produce a listing of raw symbols and C names.
|
||
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
|
||
|
||
# Transform the output of nm in a proper C declaration.
|
||
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
|
||
|
||
# Transform the output of nm in a C name address pair.
|
||
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
|
||
|
||
# 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
|
||
|
||
# The name of the directory that contains temporary libtool files.
|
||
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".
|
||
MAGIC_CMD=$MAGIC_CMD
|
||
|
||
# Must we lock files when doing compilation?
|
||
need_locks=$lt_need_locks
|
||
|
||
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
|
||
DSYMUTIL=$lt_DSYMUTIL
|
||
|
||
# Tool to change global to local symbols on Mac OS X.
|
||
NMEDIT=$lt_NMEDIT
|
||
|
||
# Tool to manipulate fat objects and archives on Mac OS X.
|
||
LIPO=$lt_LIPO
|
||
|
||
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
|
||
OTOOL=$lt_OTOOL
|
||
|
||
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
|
||
OTOOL64=$lt_OTOOL64
|
||
|
||
# Old archive suffix (normally "a").
|
||
libext=$libext
|
||
|
||
# Shared library suffix (normally ".so").
|
||
shrext_cmds=$lt_shrext_cmds
|
||
|
||
# The commands to extract the exported symbol list from a shared archive.
|
||
extract_expsyms_cmds=$lt_extract_expsyms_cmds
|
||
|
||
# Variables whose values should be saved in libtool wrapper scripts and
|
||
# restored at link time.
|
||
variables_saved_for_relink=$lt_variables_saved_for_relink
|
||
|
||
# Do we need the "lib" prefix for modules?
|
||
need_lib_prefix=$need_lib_prefix
|
||
|
||
# Do we need a version for libraries?
|
||
need_version=$need_version
|
||
|
||
# Library versioning type.
|
||
version_type=$version_type
|
||
|
||
# Shared library runtime path variable.
|
||
runpath_var=$runpath_var
|
||
|
||
# Shared library path variable.
|
||
shlibpath_var=$shlibpath_var
|
||
|
||
# Is shlibpath searched before the hard-coded library search path?
|
||
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
|
||
|
||
# Format of library name prefix.
|
||
libname_spec=$lt_libname_spec
|
||
|
||
# List of archive names. First name is the real one, the rest are links.
|
||
# The last name is the one that the linker finds with -lNAME
|
||
library_names_spec=$lt_library_names_spec
|
||
|
||
# The coded name of the library, if different from the real name.
|
||
soname_spec=$lt_soname_spec
|
||
|
||
# Command to use after installation of a shared archive.
|
||
postinstall_cmds=$lt_postinstall_cmds
|
||
|
||
# Command to use after uninstallation of a shared archive.
|
||
postuninstall_cmds=$lt_postuninstall_cmds
|
||
|
||
# Commands used to finish a libtool library installation in a directory.
|
||
finish_cmds=$lt_finish_cmds
|
||
|
||
# As "finish_cmds", except a single script fragment to be evaled but
|
||
# not shown.
|
||
finish_eval=$lt_finish_eval
|
||
|
||
# Whether we should hardcode library paths into libraries.
|
||
hardcode_into_libs=$hardcode_into_libs
|
||
|
||
# Compile-time system search path for libraries.
|
||
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
||
|
||
# Run-time system search path for libraries.
|
||
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
||
|
||
# Whether dlopen is supported.
|
||
dlopen_support=$enable_dlopen
|
||
|
||
# Whether dlopen of programs is supported.
|
||
dlopen_self=$enable_dlopen_self
|
||
|
||
# Whether dlopen of statically linked programs is supported.
|
||
dlopen_self_static=$enable_dlopen_self_static
|
||
|
||
# Commands to strip libraries.
|
||
old_striplib=$lt_old_striplib
|
||
striplib=$lt_striplib
|
||
|
||
|
||
# The linker used to build libraries.
|
||
LD=$lt_LD
|
||
|
||
# Commands used to build an old-style archive.
|
||
old_archive_cmds=$lt_old_archive_cmds
|
||
|
||
# A language specific compiler.
|
||
CC=$lt_compiler
|
||
|
||
# Is the compiler the GNU compiler?
|
||
with_gcc=$GCC
|
||
|
||
# Compiler flag to turn off builtin functions.
|
||
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.
|
||
pic_flag=$lt_lt_prog_compiler_pic
|
||
|
||
# Compiler flag to prevent dynamic linking.
|
||
link_static_flag=$lt_lt_prog_compiler_static
|
||
|
||
# Does compiler simultaneously support -c and -o options?
|
||
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
|
||
|
||
# Whether or not to add -lc for building shared libraries.
|
||
build_libtool_need_lc=$archive_cmds_need_lc
|
||
|
||
# Whether or not to disallow shared libs when runtime libs are static.
|
||
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
|
||
|
||
# Compiler flag to allow reflexive dlopens.
|
||
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
|
||
|
||
# Compiler flag to generate shared objects directly from archives.
|
||
whole_archive_flag_spec=$lt_whole_archive_flag_spec
|
||
|
||
# Whether the compiler copes with passing no objects directly.
|
||
compiler_needs_object=$lt_compiler_needs_object
|
||
|
||
# Create an old-style archive from a shared archive.
|
||
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
|
||
|
||
# Create a temporary old-style archive to link instead of a shared archive.
|
||
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
|
||
|
||
# Commands used to build a shared archive.
|
||
archive_cmds=$lt_archive_cmds
|
||
archive_expsym_cmds=$lt_archive_expsym_cmds
|
||
|
||
# Commands used to build a loadable module if different from building
|
||
# a shared archive.
|
||
module_cmds=$lt_module_cmds
|
||
module_expsym_cmds=$lt_module_expsym_cmds
|
||
|
||
# Whether we are building with GNU ld or not.
|
||
with_gnu_ld=$lt_with_gnu_ld
|
||
|
||
# Flag that allows shared libraries with undefined symbols to be built.
|
||
allow_undefined_flag=$lt_allow_undefined_flag
|
||
|
||
# Flag that enforces no undefined symbols.
|
||
no_undefined_flag=$lt_no_undefined_flag
|
||
|
||
# Flag to hardcode \$libdir into a binary during linking.
|
||
# This must work even if \$libdir does not exist
|
||
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.
|
||
hardcode_libdir_separator=$lt_hardcode_libdir_separator
|
||
|
||
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
||
# DIR into the resulting binary.
|
||
hardcode_direct=$hardcode_direct
|
||
|
||
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
||
# DIR into the resulting binary and the resulting library dependency is
|
||
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
|
||
# library is relocated.
|
||
hardcode_direct_absolute=$hardcode_direct_absolute
|
||
|
||
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
|
||
# into the resulting binary.
|
||
hardcode_minus_L=$hardcode_minus_L
|
||
|
||
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
|
||
# into the resulting binary.
|
||
hardcode_shlibpath_var=$hardcode_shlibpath_var
|
||
|
||
# Set to "yes" if building a shared library automatically hardcodes DIR
|
||
# into the library and all subsequent libraries and executables linked
|
||
# against it.
|
||
hardcode_automatic=$hardcode_automatic
|
||
|
||
# Set to yes if linker adds runtime paths of dependent libraries
|
||
# to runtime path list.
|
||
inherit_rpath=$inherit_rpath
|
||
|
||
# Whether libtool must link a program against all its dependency libraries.
|
||
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.
|
||
always_export_symbols=$always_export_symbols
|
||
|
||
# The commands to list exported symbols.
|
||
export_symbols_cmds=$lt_export_symbols_cmds
|
||
|
||
# Symbols that should not be listed in the preloaded symbols.
|
||
exclude_expsyms=$lt_exclude_expsyms
|
||
|
||
# Symbols that must always be exported.
|
||
include_expsyms=$lt_include_expsyms
|
||
|
||
# Commands necessary for linking programs (against libraries) with templates.
|
||
prelink_cmds=$lt_prelink_cmds
|
||
|
||
# Specify filename containing input files.
|
||
file_list_spec=$lt_file_list_spec
|
||
|
||
# How to hardcode a shared library path into an executable.
|
||
hardcode_action=$hardcode_action
|
||
|
||
# ### END LIBTOOL CONFIG
|
||
|
||
_LT_EOF
|
||
|
||
case $host_os in
|
||
aix3*)
|
||
cat <<\_LT_EOF >> "$cfgfile"
|
||
# AIX sometimes has problems with the GCC collect2 program. For some
|
||
# reason, if we set the COLLECT_NAMES environment variable, the problems
|
||
# vanish in a puff of smoke.
|
||
if test "X${COLLECT_NAMES+set}" != Xset; then
|
||
COLLECT_NAMES=
|
||
export COLLECT_NAMES
|
||
fi
|
||
_LT_EOF
|
||
;;
|
||
esac
|
||
|
||
|
||
ltmain="$ac_aux_dir/ltmain.sh"
|
||
|
||
|
||
# We use sed instead of cat because bash on DJGPP gets confused if
|
||
# 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
|
||
# is reportedly fixed, but why not run on old versions too?
|
||
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
|
||
|| (rm -f "$cfgfile"; exit 1)
|
||
|
||
case $xsi_shell in
|
||
yes)
|
||
cat << \_LT_EOF >> "$cfgfile"
|
||
|
||
# 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
|
||
func_basename ()
|
||
{
|
||
func_basename_result="${1##*/}"
|
||
}
|
||
|
||
# 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
|
||
# strip PREFIX and SUFFIX off of NAME.
|
||
# PREFIX and SUFFIX must not contain globbing or regex special
|
||
# characters, hashes, percent signs, but SUFFIX may contain a leading
|
||
# dot (in which case that matches only a dot).
|
||
func_stripname ()
|
||
{
|
||
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
|
||
# positional parameters, so assign one to ordinary parameter first.
|
||
func_stripname_result=${3}
|
||
func_stripname_result=${func_stripname_result#"${1}"}
|
||
func_stripname_result=${func_stripname_result%"${2}"}
|
||
}
|
||
|
||
# func_opt_split
|
||
func_opt_split ()
|
||
{
|
||
func_opt_split_opt=${1%%=*}
|
||
func_opt_split_arg=${1#*=}
|
||
}
|
||
|
||
# func_lo2o object
|
||
func_lo2o ()
|
||
{
|
||
case ${1} in
|
||
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
|
||
*) func_lo2o_result=${1} ;;
|
||
esac
|
||
}
|
||
|
||
# func_xform libobj-or-source
|
||
func_xform ()
|
||
{
|
||
func_xform_result=${1%.*}.lo
|
||
}
|
||
|
||
# func_arith arithmetic-term...
|
||
func_arith ()
|
||
{
|
||
func_arith_result=$(( $* ))
|
||
}
|
||
|
||
# func_len string
|
||
# STRING may not start with a hyphen.
|
||
func_len ()
|
||
{
|
||
func_len_result=${#1}
|
||
}
|
||
|
||
_LT_EOF
|
||
;;
|
||
*) # Bourne compatible functions.
|
||
cat << \_LT_EOF >> "$cfgfile"
|
||
|
||
# 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
|
||
func_basename ()
|
||
{
|
||
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
|
||
}
|
||
|
||
|
||
# func_stripname prefix suffix name
|
||
# strip PREFIX and SUFFIX off of NAME.
|
||
# PREFIX and SUFFIX must not contain globbing or regex special
|
||
# characters, hashes, percent signs, but SUFFIX may contain a leading
|
||
# dot (in which case that matches only a dot).
|
||
# func_strip_suffix prefix name
|
||
func_stripname ()
|
||
{
|
||
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
|
||
func_opt_split ()
|
||
{
|
||
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
|
||
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
|
||
}
|
||
|
||
# func_lo2o object
|
||
func_lo2o ()
|
||
{
|
||
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
|
||
}
|
||
|
||
# func_xform libobj-or-source
|
||
func_xform ()
|
||
{
|
||
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
|
||
}
|
||
|
||
# func_arith arithmetic-term...
|
||
func_arith ()
|
||
{
|
||
func_arith_result=`expr "$@"`
|
||
}
|
||
|
||
# func_len string
|
||
# STRING may not start with a hyphen.
|
||
func_len ()
|
||
{
|
||
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
|
||
}
|
||
|
||
_LT_EOF
|
||
esac
|
||
|
||
case $lt_shell_append in
|
||
yes)
|
||
cat << \_LT_EOF >> "$cfgfile"
|
||
|
||
# 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
|
||
# Append VALUE to the end of shell variable VAR.
|
||
func_append ()
|
||
{
|
||
eval "$1=\$$1\$2"
|
||
}
|
||
|
||
_LT_EOF
|
||
;;
|
||
esac
|
||
|
||
|
||
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
|
||
|| (rm -f "$cfgfile"; exit 1)
|
||
|
||
mv -f "$cfgfile" "$ofile" ||
|
||
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
|
||
chmod +x "$ofile"
|
||
|
||
;;
|
||
|
||
esac
|
||
done # for ac_tag
|
||
|
||
|
||
{ (exit 0); exit 0; }
|