gdb/gdbserver/build-libiberty-gdbserver/config.status - gdb
Functions defined
Source code
- debug=false
- ac_cs_recheck=false
- ac_cs_silent=false
- SHELL=${CONFIG_SHELL-/bin/sh}
- export SHELL
- DUALCASE=1; export DUALCASE
- if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
-
-
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
- else
- case `(set -o) 2>/dev/null` in
- *posix*) :
- set -o posix ;;
- *) :
- ;;
- esac
- fi
- as_nl='
- '
- export as_nl
- 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 -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
- elif (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
- 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
- IFS=" "" $as_nl"
- 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
- 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
- fi
- for as_var in BASH_ENV ENV MAIL MAILPATH
- do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
- done
- PS1='$ '
- PS2='> '
- PS4='+ '
- LC_ALL=C
- export LC_ALL
- LANGUAGE=C
- export LANGUAGE
- (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
- as_fn_error ()
- {
- as_status=$?; test $as_status -eq 0 && as_status=1
- if test "$3"; then
- as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
- fi
- $as_echo "$as_me: error: $1" >&2
- as_fn_exit $as_status
- }
- as_fn_set_status ()
- {
- return $1
- }
- as_fn_exit ()
- {
- set +e
- as_fn_set_status $1
- exit $1
- }
- as_fn_unset ()
- {
- { eval $1=; unset $1;}
- }
- as_unset=as_fn_unset
- if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
- else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
- fi
- if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
- else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
- fi
- 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
- if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
- else
- as_dirname=false
- fi
- 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'`
- 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
- ECHO_C= ECHO_N= ECHO_T=
- case `echo -n x` in
- -n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';;
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
- *)
- ECHO_N='-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='ln -s'
-
-
-
-
- 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
- as_fn_mkdir_p ()
- {
- case $as_dir in
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- 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_fn_error "cannot create directory $as_dir"
- }
- if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
- 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
- as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
- as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
- exec 6>&1
- ac_log="
- This file was extended by $as_me, which was
- generated by GNU Autoconf 2.64. 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`
- "
- config_files=" Makefile testsuite/Makefile"
- config_headers=" config.h:config.in"
- config_commands=" default"
- ac_cs_usage="\
- \`$as_me' instantiates files and other configuration actions
- from templates according to the current configuration. Unless the files
- and actions are specified as TAGs, all are instantiated by default.
- Usage: $0 [OPTION]... [TAG]...
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet, --silent
- 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 the package provider."
- ac_cs_version="\
- config.status
- configured by .././../../libiberty/configure, generated by GNU Autoconf 2.64,
- with options \"'--disable-option-checking' '--prefix=/opt/binutils' '--with-gnu-as' '--with-gnu-ld' '--with-system-zlib' '--program-transform-name=s,y,y,' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-unknown-linux-gnu' '--target=x86_64-unknown-linux-gnu' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-unknown-linux-gnu' 'target_alias=x86_64-unknown-linux-gnu' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS= ' 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y' '--cache-file=.././config.cache' '--srcdir=.././../../libiberty'\"
- Copyright (C) 2009 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='/home/agentzh/git/binutils-gdb/gdb/gdbserver/build-libiberty-gdbserver'
- srcdir='.././../../libiberty'
- INSTALL='/bin/install -c'
- test -n "$AWK" || AWK=awk
- 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
-
- -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
- as_fn_append 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
- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h)
-
- as_fn_error "ambiguous option: \`$1'
- Try \`$0 --help' for more information.";;
- --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=: ;;
-
- -*) as_fn_error "unrecognized option: \`$1'
- Try \`$0 --help' for more information." ;;
- *) as_fn_append 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' '.././../../libiberty/configure' '--disable-option-checking' '--prefix=/opt/binutils' '--with-gnu-as' '--with-gnu-ld' '--with-system-zlib' '--program-transform-name=s,y,y,' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-unknown-linux-gnu' '--target=x86_64-unknown-linux-gnu' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-unknown-linux-gnu' 'target_alias=x86_64-unknown-linux-gnu' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS= ' 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y' '--cache-file=.././config.cache' '--srcdir=.././../../libiberty' $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
- srcdir=.././../../libiberty
- host=x86_64-unknown-linux-gnu
- target=x86_64-unknown-linux-gnu
- with_target_subdir=
- with_multisubdir=
- ac_configure_args="--enable-multilib '--disable-option-checking' '--prefix=/opt/binutils' '--with-gnu-as' '--with-gnu-ld' '--with-system-zlib' '--program-transform-name=s,y,y,' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-unknown-linux-gnu' '--target=x86_64-unknown-linux-gnu' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-unknown-linux-gnu' 'target_alias=x86_64-unknown-linux-gnu' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS= ' 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y' '--cache-file=.././config.cache' '--srcdir=.././../../libiberty'"
- CONFIG_SHELL=/bin/sh
- ORIGINAL_LD_FOR_MULTILIBS="ld"
- libiberty_topdir=.././../../libiberty/..
- for ac_config_target in $ac_config_targets
- do
- case $ac_config_target in
- "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
- "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
- *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
- done
- 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
- $debug ||
- {
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
- ' 0
- trap 'as_fn_exit 1' 1 2 13 15
- }
- {
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
- } ||
- {
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
- } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
- if test -n "$CONFIG_FILES"; then
- if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
- else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
-
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
- fi
- ac_cr=`echo X | tr X '\015'`
- if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
- fi
- 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 &&
- F["host_makefile_frag"]="xhost-mkfrag"
- _ACAWK
- cat >>"$tmp/subs1.awk" <<\_ACAWK &&
- S["LTLIBOBJS"]=" ${LIBOBJDIR}./setproctitle$U.lo"
- S["INSTALL_DEST"]="libdir"
- S["pexecute"]="pex-unix"
- S["target_header_dir"]=""
- S["CHECK"]="really-check"
- S["LIBOBJS"]=" ${LIBOBJDIR}./setproctitle$U.o"
- S["NOASANFLAG"]=""
- S["PICFLAG"]=""
- S["INSTALL_DATA"]="/bin/install -c -m 644"
- S["INSTALL_SCRIPT"]="/bin/install -c"
- S["INSTALL_PROGRAM"]="/bin/install -c"
- S["EGREP"]="/bin/grep -E"
- S["GREP"]="/bin/grep"
- S["OUTPUT_OPTION"]="-o $@"
- S["NO_MINUS_C_MINUS_O"]=""
- S["ac_libiberty_warn_cflags"]="-W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic "
- S["CPP"]="gcc -E"
- S["OBJEXT"]="o"
- S["EXEEXT"]=""
- S["ac_ct_CC"]=""
- S["CPPFLAGS"]=""
- S["LDFLAGS"]=" "
- S["CFLAGS"]="-g -O2"
- S["CC"]="gcc"
- S["RANLIB"]="ranlib"
- S["AR"]="ar"
- S["host_os"]="linux-gnu"
- S["host_vendor"]="unknown"
- S["host_cpu"]="x86_64"
- S["host"]="x86_64-unknown-linux-gnu"
- S["build_os"]="linux-gnu"
- S["build_vendor"]="unknown"
- S["build_cpu"]="x86_64"
- S["build"]="x86_64-unknown-linux-gnu"
- S["HAVE_PERL"]=""
- S["PERL"]="perl"
- S["BUILD_INFO"]="info"
- S["MAKEINFO"]="makeinfo --split-size=5000000"
- S["NOTMAINT"]=""
- S["MAINT"]="#"
- S["libiberty_topdir"]=".././../../libiberty/.."
- S["target_alias"]="x86_64-unknown-linux-gnu"
- S["host_alias"]="x86_64-unknown-linux-gnu"
- S["build_alias"]="x86_64-unknown-linux-gnu"
- S["LIBS"]=""
- S["ECHO_T"]=""
- S["ECHO_N"]="-n"
- S["ECHO_C"]=""
- S["DEFS"]="-DHAVE_CONFIG_H"
- S["mandir"]="${datarootdir}/man"
- S["localedir"]="${datarootdir}/locale"
- S["libdir"]="${exec_prefix}/lib"
- S["psdir"]="${docdir}"
- S["pdfdir"]="${docdir}"
- S["dvidir"]="${docdir}"
- S["htmldir"]="${docdir}"
- S["infodir"]="${datarootdir}/info"
- S["docdir"]="${datarootdir}/doc/${PACKAGE}"
- S["oldincludedir"]="/usr/include"
- S["includedir"]="${prefix}/include"
- S["localstatedir"]="${prefix}/var"
- S["sharedstatedir"]="${prefix}/com"
- S["sysconfdir"]="${prefix}/etc"
- S["datadir"]="${datarootdir}"
- S["datarootdir"]="${prefix}/share"
- S["libexecdir"]="${exec_prefix}/libexec"
- S["sbindir"]="${exec_prefix}/sbin"
- S["bindir"]="${exec_prefix}/bin"
- S["program_transform_name"]="s,y,y,"
- S["prefix"]="/opt/binutils"
- S["exec_prefix"]="${prefix}"
- S["PACKAGE_URL"]=""
- S["PACKAGE_BUGREPORT"]=""
- S["PACKAGE_STRING"]=""
- S["PACKAGE_VERSION"]=""
- S["PACKAGE_TARNAME"]=""
- S["PACKAGE_NAME"]=""
- S["PATH_SEPARATOR"]=":"
- S["SHELL"]="/bin/sh"
- _ACAWK
- cat >>"$tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- $ac_cs_awk_pipe_init
- }
- {
- 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
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- $ac_cs_awk_read_file
- next
- }
- }
- print line
- }
- $ac_cs_awk_pipe_fini
- _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_fn_error "could not setup config files machinery" "$LINENO" 5
- fi
- if test -n "$CONFIG_HEADERS"; then
- cat >"$tmp/defines.awk" <<\_ACAWK ||
- BEGIN {
- D["PACKAGE_NAME"]=" \"\""
- D["PACKAGE_TARNAME"]=" \"\""
- D["PACKAGE_VERSION"]=" \"\""
- D["PACKAGE_STRING"]=" \"\""
- D["PACKAGE_BUGREPORT"]=" \"\""
- D["PACKAGE_URL"]=" \"\""
- 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_MEMORY_H"]=" 1"
- D["HAVE_STRINGS_H"]=" 1"
- D["HAVE_INTTYPES_H"]=" 1"
- D["HAVE_STDINT_H"]=" 1"
- D["HAVE_UNISTD_H"]=" 1"
- D["HAVE_SYS_FILE_H"]=" 1"
- D["HAVE_SYS_PARAM_H"]=" 1"
- D["HAVE_LIMITS_H"]=" 1"
- D["HAVE_STDLIB_H"]=" 1"
- D["HAVE_MALLOC_H"]=" 1"
- D["HAVE_STRING_H"]=" 1"
- D["HAVE_UNISTD_H"]=" 1"
- D["HAVE_STRINGS_H"]=" 1"
- D["HAVE_SYS_TIME_H"]=" 1"
- D["HAVE_TIME_H"]=" 1"
- D["HAVE_SYS_RESOURCE_H"]=" 1"
- D["HAVE_SYS_STAT_H"]=" 1"
- D["HAVE_SYS_MMAN_H"]=" 1"
- D["HAVE_FCNTL_H"]=" 1"
- D["HAVE_ALLOCA_H"]=" 1"
- D["HAVE_SYS_SYSINFO_H"]=" 1"
- D["HAVE_SYS_SYSCTL_H"]=" 1"
- D["HAVE_STDINT_H"]=" 1"
- D["HAVE_STDIO_EXT_H"]=" 1"
- D["HAVE_SYS_PRCTL_H"]=" 1"
- D["HAVE_SYS_WAIT_H"]=" 1"
- D["TIME_WITH_SYS_TIME"]=" 1"
- D["SIZEOF_INT"]=" 4"
- D["UNSIGNED_64BIT_TYPE"]=" uint64_t"
- D["HAVE_INTPTR_T"]=" 1"
- D["HAVE_UINTPTR_T"]=" 1"
- D["HAVE_UINTPTR_T"]=" 1"
- D["HAVE_ASPRINTF"]=" 1"
- D["HAVE_ATEXIT"]=" 1"
- D["HAVE_BASENAME"]=" 1"
- D["HAVE_BCMP"]=" 1"
- D["HAVE_BCOPY"]=" 1"
- D["HAVE_BSEARCH"]=" 1"
- D["HAVE_BZERO"]=" 1"
- D["HAVE_CALLOC"]=" 1"
- D["HAVE_CLOCK"]=" 1"
- D["HAVE_FFS"]=" 1"
- D["HAVE_GETCWD"]=" 1"
- D["HAVE_GETPAGESIZE"]=" 1"
- D["HAVE_GETTIMEOFDAY"]=" 1"
- D["HAVE_INDEX"]=" 1"
- D["HAVE_INSQUE"]=" 1"
- D["HAVE_MEMCHR"]=" 1"
- D["HAVE_MEMCMP"]=" 1"
- D["HAVE_MEMCPY"]=" 1"
- D["HAVE_MEMMEM"]=" 1"
- D["HAVE_MEMMOVE"]=" 1"
- D["HAVE_MEMPCPY"]=" 1"
- D["HAVE_MEMSET"]=" 1"
- D["HAVE_MKSTEMPS"]=" 1"
- D["HAVE_PUTENV"]=" 1"
- D["HAVE_RANDOM"]=" 1"
- D["HAVE_RENAME"]=" 1"
- D["HAVE_RINDEX"]=" 1"
- D["HAVE_SETENV"]=" 1"
- D["HAVE_SNPRINTF"]=" 1"
- D["HAVE_SIGSETMASK"]=" 1"
- D["HAVE_STPCPY"]=" 1"
- D["HAVE_STPNCPY"]=" 1"
- D["HAVE_STRCASECMP"]=" 1"
- D["HAVE_STRCHR"]=" 1"
- D["HAVE_STRDUP"]=" 1"
- D["HAVE_STRNCASECMP"]=" 1"
- D["HAVE_STRNDUP"]=" 1"
- D["HAVE_STRNLEN"]=" 1"
- D["HAVE_STRRCHR"]=" 1"
- D["HAVE_STRSTR"]=" 1"
- D["HAVE_STRTOD"]=" 1"
- D["HAVE_STRTOL"]=" 1"
- D["HAVE_STRTOUL"]=" 1"
- D["HAVE_STRVERSCMP"]=" 1"
- D["HAVE_TMPNAM"]=" 1"
- D["HAVE_VASPRINTF"]=" 1"
- D["HAVE_VFPRINTF"]=" 1"
- D["HAVE_VPRINTF"]=" 1"
- D["HAVE_VSNPRINTF"]=" 1"
- D["HAVE_VSPRINTF"]=" 1"
- D["HAVE_WAITPID"]=" 1"
- D["STACK_DIRECTION"]=" -1"
- D["HAVE_FORK"]=" 1"
- D["HAVE_VFORK"]=" 1"
- D["HAVE_WORKING_VFORK"]=" 1"
- D["HAVE_WORKING_FORK"]=" 1"
- D["HAVE_SYS_ERRLIST"]=" 1"
- D["HAVE_SYS_NERR"]=" 1"
- D["HAVE_SYS_SIGLIST"]=" 1"
- D["HAVE___FSETLOCKING"]=" 1"
- D["HAVE_CANONICALIZE_FILE_NAME"]=" 1"
- D["HAVE_DUP3"]=" 1"
- D["HAVE_GETRLIMIT"]=" 1"
- D["HAVE_GETRUSAGE"]=" 1"
- D["HAVE_GETTIMEOFDAY"]=" 1"
- D["HAVE_ON_EXIT"]=" 1"
- D["HAVE_PSIGNAL"]=" 1"
- D["HAVE_REALPATH"]=" 1"
- D["HAVE_SETRLIMIT"]=" 1"
- D["HAVE_SBRK"]=" 1"
- D["HAVE_STRERROR"]=" 1"
- D["HAVE_STRSIGNAL"]=" 1"
- D["HAVE_SYSCONF"]=" 1"
- D["HAVE_SYSCTL"]=" 1"
- D["HAVE_TIMES"]=" 1"
- D["HAVE_WAIT3"]=" 1"
- D["HAVE_WAIT4"]=" 1"
- D["HAVE_DECL_BASENAME"]=" 0"
- D["HAVE_DECL_FFS"]=" 1"
- D["HAVE_DECL_ASPRINTF"]=" 0"
- D["HAVE_DECL_VASPRINTF"]=" 0"
- D["HAVE_DECL_SNPRINTF"]=" 1"
- D["HAVE_DECL_VSNPRINTF"]=" 1"
- D["HAVE_DECL_CALLOC"]=" 1"
- D["HAVE_DECL_GETENV"]=" 1"
- D["HAVE_DECL_GETOPT"]=" 1"
- D["HAVE_DECL_MALLOC"]=" 1"
- D["HAVE_DECL_REALLOC"]=" 1"
- D["HAVE_DECL_SBRK"]=" 1"
- D["HAVE_DECL_STRVERSCMP"]=" 1"
- D["NEED_DECLARATION_CANONICALIZE_FILE_NAME"]=" 1"
- D["HAVE_STDLIB_H"]=" 1"
- D["HAVE_UNISTD_H"]=" 1"
- D["HAVE_GETPAGESIZE"]=" 1"
- D["HAVE_MMAP"]=" 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]
- prefix = substr(line, 1, index(line, defundef) - 1)
- if (D_is_set[macro]) {
- # Preserve the white space surrounding the "#".
- 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 "/*", prefix defundef, macro, "*/"
- next
- }
- }
- }
- { print }
- _ACAWK
- as_fn_error "could not setup config headers machinery" "$LINENO" 5
- fi
- 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_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[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";;
- *)
-
-
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
-
-
- 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:${as_lineno-$LINENO}: creating $ac_file" >&5
- $as_echo "$as_me: creating $ac_file" >&6;}
- fi
-
- 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_fn_error "could not create $ac_file" "$LINENO" 5 ;;
- 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"; as_fn_mkdir_p
- 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|^\.[\\/]||'`
-
- 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
- ac_top_builddir=$ac_top_build_prefix
- case $srcdir in
- .)
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* )
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *)
- 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)
-
-
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
- FIXME
- 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:${as_lineno-$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}&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" |
- if $ac_cs_awk_getline; then
- $AWK -f "$tmp/subs.awk"
- else
- $AWK -f "$tmp/subs.awk" | $SHELL
- fi >$tmp/out \
- || as_fn_error "could not create $ac_file" "$LINENO" 5
- 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:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
- which seems to be undefined. Please make sure it is defined." >&5
- $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_fn_error "could not create $ac_file" "$LINENO" 5
- ;;
- :H)
-
-
-
- if test x"$ac_file" != x-; then
- {
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
- } >"$tmp/config.h" \
- || as_fn_error "could not create $ac_file" "$LINENO" 5
- if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
- { $as_echo "$as_me:${as_lineno-$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_fn_error "could not create $ac_file" "$LINENO" 5
- fi
- else
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
- || as_fn_error "could not create -" "$LINENO" 5
- fi
- ;;
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
- $as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
- case $ac_file$ac_mode in
- "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
- if test -n "$CONFIG_FILES"; then
- if test -n "${with_target_subdir}"; then
- FIXME
- ac_file=Makefile
- LD="${ORIGINAL_LD_FOR_MULTILIBS}"
- . ${libiberty_topdir}/config-ml.in
- fi
- fi ;;
- esac
- done
- as_fn_exit 0