From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7850) id AD0F63858408; Sat, 12 Nov 2022 06:08:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD0F63858408 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668233283; bh=PNAwXLqtEUyy1MIlf0d6TcGYJ/dnQW56YsZRum0qdJ4=; h=From:To:Subject:Date:From; b=LTSQUYhiPWH9LLhHFPzw8Mlm7LcdT50JZsxvI7ItJGXoJ5U24DOi2L6uHKAjYC5/z IRgL8TvePOlsjf207PhWgLEKqlVqKnyOpZ4t5iYPIV841wK4I7uqe5+f/1fvXm6F8f OB46qOzWH4is3f4VwSLmYyLPr3yweGSf0IPYPNr0= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Indu Bhagat To: bfd-cvs@sourceware.org, gdb-cvs@sourceware.org Subject: [binutils-gdb] libctf: use libtool for link test in configure X-Act-Checkin: binutils-gdb X-Git-Author: Indu Bhagat X-Git-Refname: refs/heads/master X-Git-Oldrev: c9ea6bd322b4c92702ac25cdb0796ecbe704a257 X-Git-Newrev: 80a3733432f335fd0d2a0e7a6aeac1e3849d765c Message-Id: <20221112060803.AD0F63858408@sourceware.org> Date: Sat, 12 Nov 2022 06:08:03 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D80a3733432f3= 35fd0d2a0e7a6aeac1e3849d765c commit 80a3733432f335fd0d2a0e7a6aeac1e3849d765c Author: Indu Bhagat Date: Fri Nov 11 22:01:25 2022 -0800 libctf: use libtool for link test in configure =20 The configure check for ELF support in BFD uses the AC_TRY_LINK. If libbfd's dependencies change, this macro will need to be updated manually with explicit additions to LDFLAGS and LIBS. =20 This patch updates the check to use libtool instead. =20 ChangeLog: =20 * libctf/configure.ac: Use libtool instead. * libctf/configure: Regenerated. Diff: --- libctf/configure | 1364 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ libctf/configure.ac | 4 + 2 files changed, 1368 insertions(+) diff --git a/libctf/configure b/libctf/configure index a5c58176b2c..d3d63407cf0 100755 --- a/libctf/configure +++ b/libctf/configure @@ -12198,6 +12198,1366 @@ rm -rf conftest* =20 fi =20 +: ${CONFIG_LT=3D./config.lt} +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5 +$as_echo "$as_me: creating $CONFIG_LT" >&6;} +as_write_fail=3D0 +cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=3D1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate a libtool stub with the current configuration. +SHELL=3D\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=3D1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=3D1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=3D: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'=3D'"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=3D' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo=3D'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" =3D "X$as_echo") 2>/dev/null; then + as_echo=3D'print -r --' + as_echo_n=3D'print -rn --' +elif (test "X`printf %s $as_echo`" =3D "X$as_echo") 2>/dev/null; then + as_echo=3D'printf %s\n' + as_echo_n=3D'printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" =3D "X-n $as_ech= o"; then + as_echo_body=3D'eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n=3D'/usr/ucb/echo -n' + else + as_echo_body=3D'eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body=3D'eval + arg=3D$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=3D`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n=3D'sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo=3D'sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" !=3D set; then + PATH_SEPARATOR=3D: + (PATH=3D'/bin;/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH=3D'/bin:/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=3D';' + } +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=3D" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself=3D +case $0 in #(( + *[\\/]* ) as_myself=3D$0 ;; + *) as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=3D$as_save_IFS + test -z "$as_dir" && as_dir=3D. + test -r "$as_dir/$0" && as_myself=3D$as_dir/$0 && break + done +IFS=3D$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" =3D x; then + as_myself=3D$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 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} =3D xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1=3D'$ ' +PS2=3D'> ' +PS4=3D'+ ' + +# NLS nuisances. +LC_ALL=3DC +export LC_ALL +LANGUAGE=3DC +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit= the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=3D$1; test $as_status -eq 0 && as_status=3D1 + if test "$4"; then + as_lineno=3D${as_lineno-"$3"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=3D; unset $1;} +} +as_unset=3Das_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. = Take +# advantage of any shell optimizations that allow amortized linear growth = over +# repeated appends, instead of the typical quadratic growth present in nai= ve +# implementations. +if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null; t= hen : + eval 'as_fn_append () + { + eval $1+=3D\$2 + }' +else + as_fn_append () + { + eval $1=3D\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The argum= ents +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=3D$(( $* )) + }' +else + as_fn_arith () + { + as_val=3D`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" =3D X001; then + as_expr=3Dexpr +else + as_expr=3Dfalse +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" =3D "X/= "; then + as_basename=3Dbasename +else + as_basename=3Dfalse +fi + +if (as_dir=3D`dirname -- /` && test "X$as_dir" =3D X/) >/dev/null 2>&1; th= en + as_dirname=3Ddirname +else + as_dirname=3Dfalse +fi + +as_me=3D`$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'` + +# Avoid depending upon Character Ranges. +as_cr_letters=3D'abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS=3D'ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=3D$as_cr_letters$as_cr_LETTERS +as_cr_digits=3D'0123456789' +as_cr_alnum=3D$as_cr_Letters$as_cr_digits + +ECHO_C=3D ECHO_N=3D ECHO_T=3D +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=3D' ';; # ECHO_T is single tab character. + xy) ECHO_C=3D'\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=3D' ';; + esac;; +*) + ECHO_N=3D'-n';; +esac + +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=3D'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 executabl= e. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s=3D'cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=3Dln + else + as_ln_s=3D'cp -pR' + fi +else + as_ln_s=3D'cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=3D./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs=3D + while :; do + case $as_dir in #( + *\'*) as_qdir=3D`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=3D$as_dir;; + esac + as_dirs=3D"'$as_qdir' $as_dirs" + as_dir=3D`$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_fn_error $? "cannot create directory $as_di= r" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p=3D'mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=3Dfalse +fi + + +# 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=3D'test -x' +as_executable_p=3Das_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp=3D"eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnu= m]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh=3D"eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## --------------------------------- ## +## Main body of "$CONFIG_LT" script. ## +## --------------------------------- ## +_ASEOF +test $as_write_fail =3D 0 && chmod +x "$CONFIG_LT" + +cat >>"$CONFIG_LT" <<\_LTEOF +lt_cl_silent=3Dfalse +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX +} >&5 + +lt_cl_help=3D"\ +\`$as_me' creates a local libtool stub from the current configuration, +for use in further configure time tests before the real libtool is +generated. + +Usage: $0 [OPTIONS] + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + +Report bugs to ." + +lt_cl_version=3D"\ +libctf config.lt 1.2.0 +configured by $0, generated by GNU Autoconf 2.69. + +Copyright (C) 2009 Free Software Foundation, Inc. +This config.lt script is free software; the Free Software Foundation +gives unlimited permision to copy, distribute and modify it." + +while test $# !=3D 0 +do + case $1 in + --version | --v* | -V ) + echo "$lt_cl_version"; exit 0 ;; + --help | --h* | -h ) + echo "$lt_cl_help"; exit 0 ;; + --debug | --d* | -d ) + debug=3D: ;; + --quiet | --q* | --silent | --s* | -q ) + lt_cl_silent=3D: ;; + + -*) as_fn_error $? "unrecognized option: $1 +Try \`$0 --help' for more information." "$LINENO" 5 ;; + + *) as_fn_error $? "unrecognized argument: $1 +Try \`$0 --help' for more information." "$LINENO" 5 ;; + esac + shift +done + +if $lt_cl_silent; then + exec 6>/dev/null +fi +_LTEOF + +cat >>"$CONFIG_LT" <<_LTEOF + + +# 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=3D'$sed_quote_subst' +double_quote_subst=3D'$double_quote_subst' +delay_variable_subst=3D'$delay_variable_subst' +enable_shared=3D'`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst= "`' +macro_version=3D'`$ECHO "$macro_version" | $SED "$delay_single_quote_subst= "`' +macro_revision=3D'`$ECHO "$macro_revision" | $SED "$delay_single_quote_sub= st"`' +enable_static=3D'`$ECHO "$enable_static" | $SED "$delay_single_quote_subst= "`' +pic_mode=3D'`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' +enable_fast_install=3D'`$ECHO "$enable_fast_install" | $SED "$delay_single= _quote_subst"`' +SHELL=3D'`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' +ECHO=3D'`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' +host_alias=3D'`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' +host=3D'`$ECHO "$host" | $SED "$delay_single_quote_subst"`' +host_os=3D'`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' +build_alias=3D'`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' +build=3D'`$ECHO "$build" | $SED "$delay_single_quote_subst"`' +build_os=3D'`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' +SED=3D'`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' +Xsed=3D'`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' +GREP=3D'`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' +EGREP=3D'`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' +FGREP=3D'`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' +LD=3D'`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' +NM=3D'`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' +LN_S=3D'`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' +max_cmd_len=3D'`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' +ac_objext=3D'`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' +exeext=3D'`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +lt_unset=3D'`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' +lt_SP2NL=3D'`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' +lt_NL2SP=3D'`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' +reload_flag=3D'`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' +reload_cmds=3D'`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' +OBJDUMP=3D'`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' +deplibs_check_method=3D'`$ECHO "$deplibs_check_method" | $SED "$delay_sing= le_quote_subst"`' +file_magic_cmd=3D'`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_sub= st"`' +AR=3D'`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' +AR_FLAGS=3D'`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' +STRIP=3D'`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' +RANLIB=3D'`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' +old_postinstall_cmds=3D'`$ECHO "$old_postinstall_cmds" | $SED "$delay_sing= le_quote_subst"`' +old_postuninstall_cmds=3D'`$ECHO "$old_postuninstall_cmds" | $SED "$delay_= single_quote_subst"`' +old_archive_cmds=3D'`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote= _subst"`' +lock_old_archive_extraction=3D'`$ECHO "$lock_old_archive_extraction" | $SE= D "$delay_single_quote_subst"`' +CC=3D'`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' +CFLAGS=3D'`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' +compiler=3D'`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' +GCC=3D'`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_pipe=3D'`$ECHO "$lt_cv_sys_global_symbol_pipe" | $= SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl=3D'`$ECHO "$lt_cv_sys_global_symbol_to_cd= ecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address=3D'`$ECHO "$lt_cv_sys_global_sym= bol_to_c_name_address" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix=3D'`$ECHO "$lt_cv_sys= _global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_su= bst"`' +objdir=3D'`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' +MAGIC_CMD=3D'`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag=3D'`$ECHO "$lt_prog_compiler_no_builtin_f= lag" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl=3D'`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single= _quote_subst"`' +lt_prog_compiler_pic=3D'`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_sing= le_quote_subst"`' +lt_prog_compiler_static=3D'`$ECHO "$lt_prog_compiler_static" | $SED "$dela= y_single_quote_subst"`' +lt_cv_prog_compiler_c_o=3D'`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$dela= y_single_quote_subst"`' +need_locks=3D'`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' +DSYMUTIL=3D'`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' +NMEDIT=3D'`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' +LIPO=3D'`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' +OTOOL=3D'`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' +OTOOL64=3D'`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' +libext=3D'`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' +shrext_cmds=3D'`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' +extract_expsyms_cmds=3D'`$ECHO "$extract_expsyms_cmds" | $SED "$delay_sing= le_quote_subst"`' +archive_cmds_need_lc=3D'`$ECHO "$archive_cmds_need_lc" | $SED "$delay_sing= le_quote_subst"`' +enable_shared_with_static_runtimes=3D'`$ECHO "$enable_shared_with_static_r= untimes" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec=3D'`$ECHO "$export_dynamic_flag_spec" | $SED "$de= lay_single_quote_subst"`' +whole_archive_flag_spec=3D'`$ECHO "$whole_archive_flag_spec" | $SED "$dela= y_single_quote_subst"`' +compiler_needs_object=3D'`$ECHO "$compiler_needs_object" | $SED "$delay_si= ngle_quote_subst"`' +old_archive_from_new_cmds=3D'`$ECHO "$old_archive_from_new_cmds" | $SED "$= delay_single_quote_subst"`' +old_archive_from_expsyms_cmds=3D'`$ECHO "$old_archive_from_expsyms_cmds" |= $SED "$delay_single_quote_subst"`' +archive_cmds=3D'`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds=3D'`$ECHO "$archive_expsym_cmds" | $SED "$delay_single= _quote_subst"`' +module_cmds=3D'`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds=3D'`$ECHO "$module_expsym_cmds" | $SED "$delay_single_q= uote_subst"`' +with_gnu_ld=3D'`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag=3D'`$ECHO "$allow_undefined_flag" | $SED "$delay_sing= le_quote_subst"`' +no_undefined_flag=3D'`$ECHO "$no_undefined_flag" | $SED "$delay_single_quo= te_subst"`' +hardcode_libdir_flag_spec=3D'`$ECHO "$hardcode_libdir_flag_spec" | $SED "$= delay_single_quote_subst"`' +hardcode_libdir_flag_spec_ld=3D'`$ECHO "$hardcode_libdir_flag_spec_ld" | $= SED "$delay_single_quote_subst"`' +hardcode_libdir_separator=3D'`$ECHO "$hardcode_libdir_separator" | $SED "$= delay_single_quote_subst"`' +hardcode_direct=3D'`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_s= ubst"`' +hardcode_direct_absolute=3D'`$ECHO "$hardcode_direct_absolute" | $SED "$de= lay_single_quote_subst"`' +hardcode_minus_L=3D'`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote= _subst"`' +hardcode_shlibpath_var=3D'`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_= single_quote_subst"`' +hardcode_automatic=3D'`$ECHO "$hardcode_automatic" | $SED "$delay_single_q= uote_subst"`' +inherit_rpath=3D'`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst= "`' +link_all_deplibs=3D'`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote= _subst"`' +fix_srcfile_path=3D'`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote= _subst"`' +always_export_symbols=3D'`$ECHO "$always_export_symbols" | $SED "$delay_si= ngle_quote_subst"`' +export_symbols_cmds=3D'`$ECHO "$export_symbols_cmds" | $SED "$delay_single= _quote_subst"`' +exclude_expsyms=3D'`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_s= ubst"`' +include_expsyms=3D'`$ECHO "$include_expsyms" | $SED "$delay_single_quote_s= ubst"`' +prelink_cmds=3D'`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' +file_list_spec=3D'`$ECHO "$file_list_spec" | $SED "$delay_single_quote_sub= st"`' +variables_saved_for_relink=3D'`$ECHO "$variables_saved_for_relink" | $SED = "$delay_single_quote_subst"`' +need_lib_prefix=3D'`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_s= ubst"`' +need_version=3D'`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' +version_type=3D'`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' +runpath_var=3D'`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_var=3D'`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst= "`' +shlibpath_overrides_runpath=3D'`$ECHO "$shlibpath_overrides_runpath" | $SE= D "$delay_single_quote_subst"`' +libname_spec=3D'`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' +library_names_spec=3D'`$ECHO "$library_names_spec" | $SED "$delay_single_q= uote_subst"`' +soname_spec=3D'`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' +install_override_mode=3D'`$ECHO "$install_override_mode" | $SED "$delay_si= ngle_quote_subst"`' +postinstall_cmds=3D'`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote= _subst"`' +postuninstall_cmds=3D'`$ECHO "$postuninstall_cmds" | $SED "$delay_single_q= uote_subst"`' +finish_cmds=3D'`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' +finish_eval=3D'`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' +hardcode_into_libs=3D'`$ECHO "$hardcode_into_libs" | $SED "$delay_single_q= uote_subst"`' +sys_lib_search_path_spec=3D'`$ECHO "$sys_lib_search_path_spec" | $SED "$de= lay_single_quote_subst"`' +sys_lib_dlsearch_path_spec=3D'`$ECHO "$sys_lib_dlsearch_path_spec" | $SED = "$delay_single_quote_subst"`' +hardcode_action=3D'`$ECHO "$hardcode_action" | $SED "$delay_single_quote_s= ubst"`' +enable_dlopen=3D'`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst= "`' +enable_dlopen_self=3D'`$ECHO "$enable_dlopen_self" | $SED "$delay_single_q= uote_subst"`' +enable_dlopen_self_static=3D'`$ECHO "$enable_dlopen_self_static" | $SED "$= delay_single_quote_subst"`' +old_striplib=3D'`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' +striplib=3D'`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' + +LTCC=3D'$LTCC' +LTCFLAGS=3D'$LTCFLAGS' +compiler=3D'$compiler_DEFAULT' + +# 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. +for var in SHELL \ +ECHO \ +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 \ +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 \ +install_override_mode \ +finish_eval \ +old_striplib \ +striplib; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=3D\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\= \$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=3D\\\\\\"\\\$\$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 \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=3D\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\= "\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_var= iable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=3D\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +ac_aux_dir=3D'$ac_aux_dir' +xsi_shell=3D'$xsi_shell' +lt_shell_append=3D'$lt_shell_append' + +# 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=3D'$PACKAGE' + VERSION=3D'$VERSION' + TIMESTAMP=3D'$TIMESTAMP' + RM=3D'$RM' + ofile=3D'$ofile' + + + +_LTEOF + +cat >>"$CONFIG_LT" <<\_LTEOF +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5 +$as_echo "$as_me: creating $ofile" >&6;} + + + # 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=3D"${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, 2009 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=3D"" + +# ### BEGIN LIBTOOL CONFIG + +# Whether or not to build shared libraries. +build_libtool_libs=3D$enable_shared + +# Which release of libtool.m4 was used? +macro_version=3D$macro_version +macro_revision=3D$macro_revision + +# Whether or not to build static libraries. +build_old_libs=3D$enable_static + +# What type of objects to build. +pic_mode=3D$pic_mode + +# Whether or not to optimize for fast installation. +fast_install=3D$enable_fast_install + +# Shell to use when invoking shell scripts. +SHELL=3D$lt_SHELL + +# An echo program that protects backslashes. +ECHO=3D$lt_ECHO + +# The host system. +host_alias=3D$host_alias +host=3D$host +host_os=3D$host_os + +# The build system. +build_alias=3D$build_alias +build=3D$build +build_os=3D$build_os + +# A sed program that does not truncate output. +SED=3D$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed=3D"\$SED -e 1s/^X//" + +# A grep program that handles long lines. +GREP=3D$lt_GREP + +# An ERE matcher. +EGREP=3D$lt_EGREP + +# A literal string matcher. +FGREP=3D$lt_FGREP + +# A BSD- or MS-compatible name lister. +NM=3D$lt_NM + +# Whether we need soft or hard links. +LN_S=3D$lt_LN_S + +# What is the maximum length of a command? +max_cmd_len=3D$max_cmd_len + +# Object file suffix (normally "o"). +objext=3D$ac_objext + +# Executable file suffix (normally ""). +exeext=3D$exeext + +# whether the shell understands "unset". +lt_unset=3D$lt_unset + +# turn spaces into newlines. +SP2NL=3D$lt_lt_SP2NL + +# turn newlines into spaces. +NL2SP=3D$lt_lt_NL2SP + +# An object symbol dumper. +OBJDUMP=3D$lt_OBJDUMP + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=3D$lt_deplibs_check_method + +# Command to use when deplibs_check_method =3D=3D "file_magic". +file_magic_cmd=3D$lt_file_magic_cmd + +# The archiver. +AR=3D$lt_AR +AR_FLAGS=3D$lt_AR_FLAGS + +# A symbol stripping program. +STRIP=3D$lt_STRIP + +# Commands used to install an old-style archive. +RANLIB=3D$lt_RANLIB +old_postinstall_cmds=3D$lt_old_postinstall_cmds +old_postuninstall_cmds=3D$lt_old_postuninstall_cmds + +# Whether to use a lock for old archive extraction. +lock_old_archive_extraction=3D$lock_old_archive_extraction + +# A C compiler. +LTCC=3D$lt_CC + +# LTCC compiler flags. +LTCFLAGS=3D$lt_CFLAGS + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=3D$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration. +global_symbol_to_cdecl=3D$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=3D$lt_lt_cv_sys_global_symbol_to_c_name_ad= dress + +# Transform the output of nm in a C name address pair when lib prefix is n= eeded. +global_symbol_to_c_name_address_lib_prefix=3D$lt_lt_cv_sys_global_symbol_t= o_c_name_address_lib_prefix + +# The name of the directory that contains temporary libtool files. +objdir=3D$objdir + +# Used to examine libraries when file_magic_cmd begins with "file". +MAGIC_CMD=3D$MAGIC_CMD + +# Must we lock files when doing compilation? +need_locks=3D$lt_need_locks + +# Tool to manipulate archived DWARF debug symbol files on Mac OS X. +DSYMUTIL=3D$lt_DSYMUTIL + +# Tool to change global to local symbols on Mac OS X. +NMEDIT=3D$lt_NMEDIT + +# Tool to manipulate fat objects and archives on Mac OS X. +LIPO=3D$lt_LIPO + +# ldd/readelf like tool for Mach-O binaries on Mac OS X. +OTOOL=3D$lt_OTOOL + +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +OTOOL64=3D$lt_OTOOL64 + +# Old archive suffix (normally "a"). +libext=3D$libext + +# Shared library suffix (normally ".so"). +shrext_cmds=3D$lt_shrext_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=3D$lt_extract_expsyms_cmds + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at link time. +variables_saved_for_relink=3D$lt_variables_saved_for_relink + +# Do we need the "lib" prefix for modules? +need_lib_prefix=3D$need_lib_prefix + +# Do we need a version for libraries? +need_version=3D$need_version + +# Library versioning type. +version_type=3D$version_type + +# Shared library runtime path variable. +runpath_var=3D$runpath_var + +# Shared library path variable. +shlibpath_var=3D$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=3D$shlibpath_overrides_runpath + +# Format of library name prefix. +libname_spec=3D$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=3D$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=3D$lt_soname_spec + +# Permission mode override for installation of shared libraries. +install_override_mode=3D$lt_install_override_mode + +# Command to use after installation of a shared archive. +postinstall_cmds=3D$lt_postinstall_cmds + +# Command to use after uninstallation of a shared archive. +postuninstall_cmds=3D$lt_postuninstall_cmds + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=3D$lt_finish_cmds + +# As "finish_cmds", except a single script fragment to be evaled but +# not shown. +finish_eval=3D$lt_finish_eval + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=3D$hardcode_into_libs + +# Compile-time system search path for libraries. +sys_lib_search_path_spec=3D$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries. +sys_lib_dlsearch_path_spec=3D$lt_sys_lib_dlsearch_path_spec + +# Whether dlopen is supported. +dlopen_support=3D$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=3D$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=3D$enable_dlopen_self_static + +# Commands to strip libraries. +old_striplib=3D$lt_old_striplib +striplib=3D$lt_striplib + + +# The linker used to build libraries. +LD=3D$lt_LD + +# How to create reloadable object files. +reload_flag=3D$lt_reload_flag +reload_cmds=3D$lt_reload_cmds + +# Commands used to build an old-style archive. +old_archive_cmds=3D$lt_old_archive_cmds + +# A language specific compiler. +CC=3D$lt_compiler + +# Is the compiler the GNU compiler? +with_gcc=3D$GCC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=3D$lt_lt_prog_compiler_no_builtin_flag + +# How to pass a linker flag through the compiler. +wl=3D$lt_lt_prog_compiler_wl + +# Additional compiler flags for building library objects. +pic_flag=3D$lt_lt_prog_compiler_pic + +# Compiler flag to prevent dynamic linking. +link_static_flag=3D$lt_lt_prog_compiler_static + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=3D$lt_lt_cv_prog_compiler_c_o + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=3D$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=3D$enable_shared_with_static_runti= mes + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=3D$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=3D$lt_whole_archive_flag_spec + +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=3D$lt_compiler_needs_object + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=3D$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=3D$lt_old_archive_from_expsyms_cmds + +# Commands used to build a shared archive. +archive_cmds=3D$lt_archive_cmds +archive_expsym_cmds=3D$lt_archive_expsym_cmds + +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=3D$lt_module_cmds +module_expsym_cmds=3D$lt_module_expsym_cmds + +# Whether we are building with GNU ld or not. +with_gnu_ld=3D$lt_with_gnu_ld + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=3D$lt_allow_undefined_flag + +# Flag that enforces no undefined symbols. +no_undefined_flag=3D$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=3D$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=3D$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=3D$lt_hardcode_libdir_separator + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=3D$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=3D$hardcode_direct_absolute + +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=3D$hardcode_minus_L + +# Set to "yes" if using SHLIBPATH_VAR=3DDIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=3D$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=3D$hardcode_automatic + +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=3D$inherit_rpath + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=3D$link_all_deplibs + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=3D$lt_fix_srcfile_path + +# Set to "yes" if exported symbols are required. +always_export_symbols=3D$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=3D$lt_export_symbols_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=3D$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=3D$lt_include_expsyms + +# Commands necessary for linking programs (against libraries) with templat= es. +prelink_cmds=3D$lt_prelink_cmds + +# Specify filename containing input files. +file_list_spec=3D$lt_file_list_spec + +# How to hardcode a shared library path into an executable. +hardcode_action=3D$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}" !=3D Xset; then + COLLECT_NAMES=3D + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + +ltmain=3D"$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" >> "$cfgfi= le" \ + || (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=3D"${1%/*}${2}" ;; + * ) func_dirname_result=3D"${3}" ;; + esac +} + +# func_basename file +func_basename () +{ + func_basename_result=3D"${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=3D"${1%/*}${2}" ;; + * ) func_dirname_result=3D"${3}" ;; + esac + func_basename_result=3D"${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=3D${3} + func_stripname_result=3D${func_stripname_result#"${1}"} + func_stripname_result=3D${func_stripname_result%"${2}"} +} + +# func_opt_split +func_opt_split () +{ + func_opt_split_opt=3D${1%%=3D*} + func_opt_split_arg=3D${1#*=3D} +} + +# func_lo2o object +func_lo2o () +{ + case ${1} in + *.lo) func_lo2o_result=3D${1%.lo}.${objext} ;; + *) func_lo2o_result=3D${1} ;; + esac +} + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=3D${1%.*}.lo +} + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=3D$(( $* )) +} + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=3D${#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=3D`$ECHO "${1}" | $SED "$dirname"` + if test "X$func_dirname_result" =3D "X${1}"; then + func_dirname_result=3D"${3}" + else + func_dirname_result=3D"$func_dirname_result${2}" + fi +} + +# func_basename file +func_basename () +{ + func_basename_result=3D`$ECHO "${1}" | $SED "$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=3D`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2= }\$%%"`;; + *) func_stripname_result=3D`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%= %"`;; + esac +} + +# sed scripts: +my_sed_long_opt=3D'1s/^\(-[^=3D]*\)=3D.*/\1/;q' +my_sed_long_arg=3D'1s/^-[^=3D]*=3D//' + +# func_opt_split +func_opt_split () +{ + func_opt_split_opt=3D`$ECHO "${1}" | $SED "$my_sed_long_opt"` + func_opt_split_arg=3D`$ECHO "${1}" | $SED "$my_sed_long_arg"` +} + +# func_lo2o object +func_lo2o () +{ + func_lo2o_result=3D`$ECHO "${1}" | $SED "$lo2o"` +} + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=3D`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` +} + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=3D`expr "$@"` +} + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=3D`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+=3D\$2" +} +_LT_EOF + ;; + *) + cat << \_LT_EOF >> "$cfgfile" + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "$1=3D\$$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" + + +as_fn_exit 0 +_LTEOF +chmod +x "$CONFIG_LT" + +# configure is writing to config.log, but config.lt does its own redirecti= on, +# appending to config.log, which fails on DOS, as config.log is still kept +# open by configure. Here we exec the FD to /dev/null, effectively closing +# config.log, so it can be properly (re)opened and appended to by config.l= t. +lt_cl_success=3D: +test "$silent" =3D yes && + lt_config_lt_args=3D"$lt_config_lt_args --quiet" +exec 5>/dev/null +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=3Dfalse +exec 5>>config.log +$lt_cl_success || as_fn_exit 1 + =20 MISSING=3D`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing for ac_prog in aclocal @@ -13213,9 +14573,11 @@ fi OLD_CFLAGS=3D$CFLAGS OLD_LDFLAGS=3D$LDFLAGS OLD_LIBS=3D$LIBS +OLD_CC=3D$CC # Put the old CFLAGS/LDFLAGS last, in case the user's (C|LD)FLAGS # points somewhere with bfd, with -I/foo/lib and -L/foo/lib. We # always want our bfd. +CC=3D"./libtool --quiet --mode=3Dlink $OLD_CC" CFLAGS=3D"-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS" ZLIBDIR=3D`echo $zlibdir | sed 's,\$(top_builddir)/,,g'` LDFLAGS=3D"-L../bfd -L../libiberty $ZLIBDIR $LDFLAGS" @@ -13254,6 +14616,7 @@ $as_echo "$ac_cv_libctf_bfd_elf" >&6; } CFLAGS=3D$OLD_CFLAGS LDFLAGS=3D$OLD_LDFLAGS LIBS=3D$OLD_LIBS +CC=3D$OLD_CC =20 if test $ac_cv_libctf_bfd_elf =3D yes; then =20 @@ -14955,6 +16318,7 @@ fi RM=3D'$RM' ofile=3D'$ofile' =20 +ac_aux_dir=3D'$ac_aux_dir' =20 =20 =20 diff --git a/libctf/configure.ac b/libctf/configure.ac index 2e2ccf4b624..ba4a144ce37 100644 --- a/libctf/configure.ac +++ b/libctf/configure.ac @@ -44,6 +44,7 @@ AC_DISABLE_SHARED =20 LT_INIT AC_SYS_LARGEFILE +LT_OUTPUT =20 MISSING=3D`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing AC_CHECK_PROGS([ACLOCAL], [aclocal], [$MISSING aclocal]) @@ -83,9 +84,11 @@ AM_CONDITIONAL(ENABLE_LIBCTF_HASH_DEBUGGING, test "${ena= ble_libctf_hash_debuggin OLD_CFLAGS=3D$CFLAGS OLD_LDFLAGS=3D$LDFLAGS OLD_LIBS=3D$LIBS +OLD_CC=3D$CC # Put the old CFLAGS/LDFLAGS last, in case the user's (C|LD)FLAGS # points somewhere with bfd, with -I/foo/lib and -L/foo/lib. We # always want our bfd. +CC=3D"./libtool --quiet --mode=3Dlink $OLD_CC" CFLAGS=3D"-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS" ZLIBDIR=3D`echo $zlibdir | sed 's,\$(top_builddir)/,,g'` LDFLAGS=3D"-L../bfd -L../libiberty $ZLIBDIR $LDFLAGS" @@ -103,6 +106,7 @@ AC_CACHE_CHECK([for ELF support in BFD], ac_cv_libctf_b= fd_elf, CFLAGS=3D$OLD_CFLAGS LDFLAGS=3D$OLD_LDFLAGS LIBS=3D$OLD_LIBS +CC=3D$OLD_CC =20 if test $ac_cv_libctf_bfd_elf =3D yes; then AC_DEFINE([HAVE_BFD_ELF], 1,