gdb/gdbserver/build-libiberty-gdbserver/config.status - gdb

Functions defined

Source code

  1. #! /bin/sh
  2. # Generated by configure.
  3. # Run this file to recreate the current configuration.
  4. # Compiler output produced by configure, useful for debugging
  5. # configure, is in config.log if it exists.

  6. debug=false
  7. ac_cs_recheck=false
  8. ac_cs_silent=false

  9. SHELL=${CONFIG_SHELL-/bin/sh}
  10. export SHELL
  11. ## -------------------- ##
  12. ## M4sh Initialization. ##
  13. ## -------------------- ##

  14. # Be more Bourne compatible
  15. DUALCASE=1; export DUALCASE # for MKS sh
  16. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  17.   emulate sh
  18.   NULLCMD=:
  19.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20.   # is contrary to our usage.  Disable this feature.
  21.   alias -g '${1+"$@"}'='"$@"'
  22.   setopt NO_GLOB_SUBST
  23. else
  24.   case `(set -o) 2>/dev/null` in #(
  25.   *posix*) :
  26.     set -o posix ;; #(
  27.   *) :
  28.      ;;
  29. esac
  30. fi


  31. as_nl='
  32. '
  33. export as_nl
  34. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  35. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  36. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  38. # Prefer a ksh shell builtin over an external printf program on Solaris,
  39. # but without wasting forks for bash or zsh.
  40. if test -z "$BASH_VERSION$ZSH_VERSION" \
  41.     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  42.   as_echo='print -r --'
  43.   as_echo_n='print -rn --'
  44. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  45.   as_echo='printf %s\n'
  46.   as_echo_n='printf %s'
  47. else
  48.   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  49.     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  50.     as_echo_n='/usr/ucb/echo -n'
  51.   else
  52.     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  53.     as_echo_n_body='eval
  54.       arg=$1;
  55.       case $arg in #(
  56.       *"$as_nl"*)
  57.         expr "X$arg" : "X\\(.*\\)$as_nl";
  58.         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  59.       esac;
  60.       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  61.     '
  62.     export as_echo_n_body
  63.     as_echo_n='sh -c $as_echo_n_body as_echo'
  64.   fi
  65.   export as_echo_body
  66.   as_echo='sh -c $as_echo_body as_echo'
  67. fi

  68. # The user is always right.
  69. if test "${PATH_SEPARATOR+set}" != set; then
  70.   PATH_SEPARATOR=:
  71.   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  72.     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  73.       PATH_SEPARATOR=';'
  74.   }
  75. fi


  76. # IFS
  77. # We need space, tab and new line, in precisely that order.  Quoting is
  78. # there to prevent editors from complaining about space-tab.
  79. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  80. # splitting by setting IFS to empty value.)
  81. IFS=" ""        $as_nl"

  82. # Find who we are.  Look in the path if we contain no directory separator.
  83. case $0 in #((
  84.   *[\\/]* ) as_myself=$0 ;;
  85.   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  86. for as_dir in $PATH
  87. do
  88.   IFS=$as_save_IFS
  89.   test -z "$as_dir" && as_dir=.
  90.     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  91.   done
  92. IFS=$as_save_IFS

  93.      ;;
  94. esac
  95. # We did not find ourselves, most probably we were run as `sh COMMAND'
  96. # in which case we are not to be found in the path.
  97. if test "x$as_myself" = x; then
  98.   as_myself=$0
  99. fi
  100. if test ! -f "$as_myself"; then
  101.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  102.   exit 1
  103. fi

  104. # Unset variables that we do not need and which cause bugs (e.g. in
  105. # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  106. # suppresses any "Segmentation fault" message there.  '((' could
  107. # trigger a bug in pdksh 5.2.14.
  108. for as_var in BASH_ENV ENV MAIL MAILPATH
  109. do eval test x\${$as_var+set} = xset \
  110.   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  111. done
  112. PS1='$ '
  113. PS2='> '
  114. PS4='+ '

  115. # NLS nuisances.
  116. LC_ALL=C
  117. export LC_ALL
  118. LANGUAGE=C
  119. export LANGUAGE

  120. # CDPATH.
  121. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH


  122. # as_fn_error ERROR [LINENO LOG_FD]
  123. # ---------------------------------
  124. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  125. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  126. # script with status $?, using 1 if that was 0.
  127. as_fn_error ()
  128. {
  129.   as_status=$?; test $as_status -eq 0 && as_status=1
  130.   if test "$3"; then
  131.     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  132.     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  133.   fi
  134.   $as_echo "$as_me: error: $1" >&2
  135.   as_fn_exit $as_status
  136. } # as_fn_error


  137. # as_fn_set_status STATUS
  138. # -----------------------
  139. # Set $? to STATUS, without forking.
  140. as_fn_set_status ()
  141. {
  142.   return $1
  143. } # as_fn_set_status

  144. # as_fn_exit STATUS
  145. # -----------------
  146. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  147. as_fn_exit ()
  148. {
  149.   set +e
  150.   as_fn_set_status $1
  151.   exit $1
  152. } # as_fn_exit

  153. # as_fn_unset VAR
  154. # ---------------
  155. # Portably unset VAR.
  156. as_fn_unset ()
  157. {
  158.   { eval $1=; unset $1;}
  159. }
  160. as_unset=as_fn_unset
  161. # as_fn_append VAR VALUE
  162. # ----------------------
  163. # Append the text in VALUE to the end of the definition contained in VAR. Take
  164. # advantage of any shell optimizations that allow amortized linear growth over
  165. # repeated appends, instead of the typical quadratic growth present in naive
  166. # implementations.
  167. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  168.   eval 'as_fn_append ()
  169.   {
  170.     eval $1+=\$2
  171.   }'
  172. else
  173.   as_fn_append ()
  174.   {
  175.     eval $1=\$$1\$2
  176.   }
  177. fi # as_fn_append

  178. # as_fn_arith ARG...
  179. # ------------------
  180. # Perform arithmetic evaluation on the ARGs, and store the result in the
  181. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  182. # must be portable across $(()) and expr.
  183. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  184.   eval 'as_fn_arith ()
  185.   {
  186.     as_val=$(( $* ))
  187.   }'
  188. else
  189.   as_fn_arith ()
  190.   {
  191.     as_val=`expr "$@" || test $? -eq 1`
  192.   }
  193. fi # as_fn_arith


  194. if expr a : '\(a\)' >/dev/null 2>&1 &&
  195.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  196.   as_expr=expr
  197. else
  198.   as_expr=false
  199. fi

  200. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  201.   as_basename=basename
  202. else
  203.   as_basename=false
  204. fi

  205. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  206.   as_dirname=dirname
  207. else
  208.   as_dirname=false
  209. fi

  210. as_me=`$as_basename -- "$0" ||
  211. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  212.          X"$0" : 'X\(//\)$' \| \
  213.          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  214. $as_echo X/"$0" |
  215.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  216.             s//\1/
  217.             q
  218.           }
  219.           /^X\/\(\/\/\)$/{
  220.             s//\1/
  221.             q
  222.           }
  223.           /^X\/\(\/\).*/{
  224.             s//\1/
  225.             q
  226.           }
  227.           s/.*/./; q'`

  228. # Avoid depending upon Character Ranges.
  229. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  230. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  231. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  232. as_cr_digits='0123456789'
  233. as_cr_alnum=$as_cr_Letters$as_cr_digits

  234. ECHO_C= ECHO_N= ECHO_T=
  235. case `echo -n x` in #(((((
  236. -n*)
  237.   case `echo 'xy\c'` in
  238.   *c*) ECHO_T='        ';;        # ECHO_T is single tab character.
  239.   xy)  ECHO_C='\c';;
  240.   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  241.        ECHO_T='        ';;
  242.   esac;;
  243. *)
  244.   ECHO_N='-n';;
  245. esac

  246. rm -f conf$$ conf$$.exe conf$$.file
  247. if test -d conf$$.dir; then
  248.   rm -f conf$$.dir/conf$$.file
  249. else
  250.   rm -f conf$$.dir
  251.   mkdir conf$$.dir 2>/dev/null
  252. fi
  253. if (echo >conf$$.file) 2>/dev/null; then
  254.   if ln -s conf$$.file conf$$ 2>/dev/null; then
  255.     as_ln_s='ln -s'
  256.     # ... but there are two gotchas:
  257.     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  258.     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  259.     # In both cases, we have to default to `cp -p'.
  260.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  261.       as_ln_s='cp -p'
  262.   elif ln conf$$.file conf$$ 2>/dev/null; then
  263.     as_ln_s=ln
  264.   else
  265.     as_ln_s='cp -p'
  266.   fi
  267. else
  268.   as_ln_s='cp -p'
  269. fi
  270. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  271. rmdir conf$$.dir 2>/dev/null


  272. # as_fn_mkdir_p
  273. # -------------
  274. # Create "$as_dir" as a directory, including parents if necessary.
  275. as_fn_mkdir_p ()
  276. {

  277.   case $as_dir in #(
  278.   -*) as_dir=./$as_dir;;
  279.   esac
  280.   test -d "$as_dir" || eval $as_mkdir_p || {
  281.     as_dirs=
  282.     while :; do
  283.       case $as_dir in #(
  284.       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  285.       *) as_qdir=$as_dir;;
  286.       esac
  287.       as_dirs="'$as_qdir' $as_dirs"
  288.       as_dir=`$as_dirname -- "$as_dir" ||
  289. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  290.          X"$as_dir" : 'X\(//\)[^/]' \| \
  291.          X"$as_dir" : 'X\(//\)$' \| \
  292.          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  293. $as_echo X"$as_dir" |
  294.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  295.             s//\1/
  296.             q
  297.           }
  298.           /^X\(\/\/\)[^/].*/{
  299.             s//\1/
  300.             q
  301.           }
  302.           /^X\(\/\/\)$/{
  303.             s//\1/
  304.             q
  305.           }
  306.           /^X\(\/\).*/{
  307.             s//\1/
  308.             q
  309.           }
  310.           s/.*/./; q'`
  311.       test -d "$as_dir" && break
  312.     done
  313.     test -z "$as_dirs" || eval "mkdir $as_dirs"
  314.   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"


  315. } # as_fn_mkdir_p
  316. if mkdir -p . 2>/dev/null; then
  317.   as_mkdir_p='mkdir -p "$as_dir"'
  318. else
  319.   test -d ./-p && rmdir ./-p
  320.   as_mkdir_p=false
  321. fi

  322. if test -x / >/dev/null 2>&1; then
  323.   as_test_x='test -x'
  324. else
  325.   if ls -dL / >/dev/null 2>&1; then
  326.     as_ls_L_option=L
  327.   else
  328.     as_ls_L_option=
  329.   fi
  330.   as_test_x='
  331.     eval sh -c '\''
  332.       if test -d "$1"; then
  333.         test -d "$1/.";
  334.       else
  335.         case $1 in #(
  336.         -*)set "./$1";;
  337.         esac;
  338.         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  339.         ???[sx]*):;;*)false;;esac;fi
  340.     '\'' sh
  341.   '
  342. fi
  343. as_executable_p=$as_test_x

  344. # Sed expression to map a string onto a valid CPP name.
  345. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"

  346. # Sed expression to map a string onto a valid variable name.
  347. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"


  348. exec 6>&1
  349. ## ----------------------------------- ##
  350. ## Main body of $CONFIG_STATUS script. ##
  351. ## ----------------------------------- ##
  352. # Save the log message, to keep $0 and so on meaningful, and to
  353. # report actual input values of CONFIG_FILES etc. instead of their
  354. # values after options handling.
  355. ac_log="
  356. This file was extended by $as_me, which was
  357. generated by GNU Autoconf 2.64.  Invocation command line was

  358.   CONFIG_FILES    = $CONFIG_FILES
  359.   CONFIG_HEADERS  = $CONFIG_HEADERS
  360.   CONFIG_LINKS    = $CONFIG_LINKS
  361.   CONFIG_COMMANDS = $CONFIG_COMMANDS
  362.   $ $0 $@

  363. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  364. "

  365. # Files that config.status was made for.
  366. config_files=" Makefile testsuite/Makefile"
  367. config_headers=" config.h:config.in"
  368. config_commands=" default"

  369. ac_cs_usage="\
  370. \`$as_me' instantiates files and other configuration actions
  371. from templates according to the current configuration.  Unless the files
  372. and actions are specified as TAGs, all are instantiated by default.

  373. Usage: $0 [OPTION]... [TAG]...

  374.   -h, --help       print this help, then exit
  375.   -V, --version    print version number and configuration settings, then exit
  376.   -q, --quiet, --silent
  377.                    do not print progress messages
  378.   -d, --debug      don't remove temporary files
  379.       --recheck    update $as_me by reconfiguring in the same conditions
  380.       --file=FILE[:TEMPLATE]
  381.                    instantiate the configuration file FILE
  382.       --header=FILE[:TEMPLATE]
  383.                    instantiate the configuration header FILE

  384. Configuration files:
  385. $config_files

  386. Configuration headers:
  387. $config_headers

  388. Configuration commands:
  389. $config_commands

  390. Report bugs to the package provider."

  391. ac_cs_version="\
  392. config.status
  393. configured by .././../../libiberty/configure, generated by GNU Autoconf 2.64,
  394.   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'\"

  395. Copyright (C) 2009 Free Software Foundation, Inc.
  396. This config.status script is free software; the Free Software Foundation
  397. gives unlimited permission to copy, distribute and modify it."

  398. ac_pwd='/home/agentzh/git/binutils-gdb/gdb/gdbserver/build-libiberty-gdbserver'
  399. srcdir='.././../../libiberty'
  400. INSTALL='/bin/install -c'
  401. test -n "$AWK" || AWK=awk
  402. # The default lists apply if the user does not specify any file.
  403. ac_need_defaults=:
  404. while test $# != 0
  405. do
  406.   case $1 in
  407.   --*=*)
  408.     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  409.     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  410.     ac_shift=:
  411.     ;;
  412.   *)
  413.     ac_option=$1
  414.     ac_optarg=$2
  415.     ac_shift=shift
  416.     ;;
  417.   esac

  418.   case $ac_option in
  419.   # Handling of the options.
  420.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  421.     ac_cs_recheck=: ;;
  422.   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  423.     $as_echo "$ac_cs_version"; exit ;;
  424.   --debug | --debu | --deb | --de | --d | -d )
  425.     debug=: ;;
  426.   --file | --fil | --fi | --f )
  427.     $ac_shift
  428.     case $ac_optarg in
  429.     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  430.     esac
  431.     as_fn_append CONFIG_FILES " '$ac_optarg'"
  432.     ac_need_defaults=false;;
  433.   --header | --heade | --head | --hea )
  434.     $ac_shift
  435.     case $ac_optarg in
  436.     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  437.     esac
  438.     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  439.     ac_need_defaults=false;;
  440.   --he | --h)
  441.     # Conflict between --help and --header
  442.     as_fn_error "ambiguous option: \`$1'
  443. Try \`$0 --help' for more information.";;
  444.   --help | --hel | -h )
  445.     $as_echo "$ac_cs_usage"; exit ;;
  446.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  447.   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  448.     ac_cs_silent=: ;;

  449.   # This is an error.
  450.   -*) as_fn_error "unrecognized option: \`$1'
  451. Try \`$0 --help' for more information." ;;

  452.   *) as_fn_append ac_config_targets " $1"
  453.      ac_need_defaults=false ;;

  454.   esac
  455.   shift
  456. done

  457. ac_configure_extra_args=

  458. if $ac_cs_silent; then
  459.   exec 6>/dev/null
  460.   ac_configure_extra_args="$ac_configure_extra_args --silent"
  461. fi

  462. if $ac_cs_recheck; then
  463.   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
  464.   shift
  465.   $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
  466.   CONFIG_SHELL='/bin/sh'
  467.   export CONFIG_SHELL
  468.   exec "$@"
  469. fi

  470. exec 5>>config.log
  471. {
  472.   echo
  473.   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  474. ## Running $as_me. ##
  475. _ASBOX
  476.   $as_echo "$ac_log"
  477. } >&5

  478. #
  479. # INIT-COMMANDS
  480. #
  481. srcdir=.././../../libiberty
  482. host=x86_64-unknown-linux-gnu
  483. target=x86_64-unknown-linux-gnu
  484. with_target_subdir=
  485. with_multisubdir=
  486. 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'"
  487. CONFIG_SHELL=/bin/sh
  488. ORIGINAL_LD_FOR_MULTILIBS="ld"
  489. libiberty_topdir=.././../../libiberty/..



  490. # Handling of arguments.
  491. for ac_config_target in $ac_config_targets
  492. do
  493.   case $ac_config_target in
  494.     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
  495.     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  496.     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
  497.     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;

  498.   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  499.   esac
  500. done


  501. # If the user did not use the arguments to specify the items to instantiate,
  502. # then the envvar interface is used.  Set only those that are not.
  503. # We use the long form for the default assignment because of an extremely
  504. # bizarre bug on SunOS 4.1.3.
  505. if $ac_need_defaults; then
  506.   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  507.   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  508.   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  509. fi

  510. # Have a temporary directory for convenience.  Make it in the build tree
  511. # simply because there is no reason against having it here, and in addition,
  512. # creating and moving files from /tmp can sometimes cause problems.
  513. # Hook for its removal unless debugging.
  514. # Note that there is a small window in which the directory will not be cleaned:
  515. # after its creation but before its name has been assigned to `$tmp'.
  516. $debug ||
  517. {
  518.   tmp=
  519.   trap 'exit_status=$?
  520.   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  521. ' 0
  522.   trap 'as_fn_exit 1' 1 2 13 15
  523. }
  524. # Create a (secure) tmp directory for tmp files.

  525. {
  526.   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  527.   test -n "$tmp" && test -d "$tmp"
  528. }  ||
  529. {
  530.   tmp=./conf$$-$RANDOM
  531.   (umask 077 && mkdir "$tmp")
  532. } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5

  533. # Set up the scripts for CONFIG_FILES section.
  534. # No need to generate them if there are no CONFIG_FILES.
  535. # This happens for instance with `./config.status config.h'.
  536. if test -n "$CONFIG_FILES"; then

  537. if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
  538.   ac_cs_awk_getline=:
  539.   ac_cs_awk_pipe_init=
  540.   ac_cs_awk_read_file='
  541.       while ((getline aline < (F[key])) > 0)
  542.         print(aline)
  543.       close(F[key])'
  544.   ac_cs_awk_pipe_fini=
  545. else
  546.   ac_cs_awk_getline=false
  547.   ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
  548.   ac_cs_awk_read_file='
  549.       print "|#_!!_#|"
  550.       print "cat " F[key] " &&"
  551.       '$ac_cs_awk_pipe_init
  552.   # The final `:' finishes the AND list.
  553.   ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
  554. fi
  555. ac_cr=`echo X | tr X '\015'`
  556. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  557. # But we know of no other shell where ac_cr would be empty at this
  558. # point, so we can use a bashism as a fallback.
  559. if test "x$ac_cr" = x; then
  560.   eval ac_cr=\$\'\\r\'
  561. fi
  562. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  563. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  564.   ac_cs_awk_cr='\r'
  565. else
  566.   ac_cs_awk_cr=$ac_cr
  567. fi

  568. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  569. cat >>"$tmp/subs1.awk" <<\_ACAWK &&
  570. F["host_makefile_frag"]="xhost-mkfrag"
  571. _ACAWK
  572. cat >>"$tmp/subs1.awk" <<\_ACAWK &&
  573. S["LTLIBOBJS"]=" ${LIBOBJDIR}./setproctitle$U.lo"
  574. S["INSTALL_DEST"]="libdir"
  575. S["pexecute"]="pex-unix"
  576. S["target_header_dir"]=""
  577. S["CHECK"]="really-check"
  578. S["LIBOBJS"]=" ${LIBOBJDIR}./setproctitle$U.o"
  579. S["NOASANFLAG"]=""
  580. S["PICFLAG"]=""
  581. S["INSTALL_DATA"]="/bin/install -c -m 644"
  582. S["INSTALL_SCRIPT"]="/bin/install -c"
  583. S["INSTALL_PROGRAM"]="/bin/install -c"
  584. S["EGREP"]="/bin/grep -E"
  585. S["GREP"]="/bin/grep"
  586. S["OUTPUT_OPTION"]="-o $@"
  587. S["NO_MINUS_C_MINUS_O"]=""
  588. S["ac_libiberty_warn_cflags"]="-W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic "
  589. S["CPP"]="gcc -E"
  590. S["OBJEXT"]="o"
  591. S["EXEEXT"]=""
  592. S["ac_ct_CC"]=""
  593. S["CPPFLAGS"]=""
  594. S["LDFLAGS"]=" "
  595. S["CFLAGS"]="-g -O2"
  596. S["CC"]="gcc"
  597. S["RANLIB"]="ranlib"
  598. S["AR"]="ar"
  599. S["host_os"]="linux-gnu"
  600. S["host_vendor"]="unknown"
  601. S["host_cpu"]="x86_64"
  602. S["host"]="x86_64-unknown-linux-gnu"
  603. S["build_os"]="linux-gnu"
  604. S["build_vendor"]="unknown"
  605. S["build_cpu"]="x86_64"
  606. S["build"]="x86_64-unknown-linux-gnu"
  607. S["HAVE_PERL"]=""
  608. S["PERL"]="perl"
  609. S["BUILD_INFO"]="info"
  610. S["MAKEINFO"]="makeinfo --split-size=5000000"
  611. S["NOTMAINT"]=""
  612. S["MAINT"]="#"
  613. S["libiberty_topdir"]=".././../../libiberty/.."
  614. S["target_alias"]="x86_64-unknown-linux-gnu"
  615. S["host_alias"]="x86_64-unknown-linux-gnu"
  616. S["build_alias"]="x86_64-unknown-linux-gnu"
  617. S["LIBS"]=""
  618. S["ECHO_T"]=""
  619. S["ECHO_N"]="-n"
  620. S["ECHO_C"]=""
  621. S["DEFS"]="-DHAVE_CONFIG_H"
  622. S["mandir"]="${datarootdir}/man"
  623. S["localedir"]="${datarootdir}/locale"
  624. S["libdir"]="${exec_prefix}/lib"
  625. S["psdir"]="${docdir}"
  626. S["pdfdir"]="${docdir}"
  627. S["dvidir"]="${docdir}"
  628. S["htmldir"]="${docdir}"
  629. S["infodir"]="${datarootdir}/info"
  630. S["docdir"]="${datarootdir}/doc/${PACKAGE}"
  631. S["oldincludedir"]="/usr/include"
  632. S["includedir"]="${prefix}/include"
  633. S["localstatedir"]="${prefix}/var"
  634. S["sharedstatedir"]="${prefix}/com"
  635. S["sysconfdir"]="${prefix}/etc"
  636. S["datadir"]="${datarootdir}"
  637. S["datarootdir"]="${prefix}/share"
  638. S["libexecdir"]="${exec_prefix}/libexec"
  639. S["sbindir"]="${exec_prefix}/sbin"
  640. S["bindir"]="${exec_prefix}/bin"
  641. S["program_transform_name"]="s,y,y,"
  642. S["prefix"]="/opt/binutils"
  643. S["exec_prefix"]="${prefix}"
  644. S["PACKAGE_URL"]=""
  645. S["PACKAGE_BUGREPORT"]=""
  646. S["PACKAGE_STRING"]=""
  647. S["PACKAGE_VERSION"]=""
  648. S["PACKAGE_TARNAME"]=""
  649. S["PACKAGE_NAME"]=""
  650. S["PATH_SEPARATOR"]=":"
  651. S["SHELL"]="/bin/sh"
  652. _ACAWK
  653. cat >>"$tmp/subs1.awk" <<_ACAWK &&
  654.   for (key in S) S_is_set[key] = 1
  655.   FS = ""
  656.   $ac_cs_awk_pipe_init
  657. }
  658. {
  659.   line = $ 0
  660.   nfields = split(line, field, "@")
  661.   substed = 0
  662.   len = length(field[1])
  663.   for (i = 2; i < nfields; i++) {
  664.     key = field[i]
  665.     keylen = length(key)
  666.     if (S_is_set[key]) {
  667.       value = S[key]
  668.       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  669.       len += length(value) + length(field[++i])
  670.       substed = 1
  671.     } else
  672.       len += 1 + keylen
  673.   }
  674.   if (nfields == 3 && !substed) {
  675.     key = field[2]
  676.     if (F[key] != "" && line ~ /^[         ]*@.*@[         ]*$/) {
  677.       $ac_cs_awk_read_file
  678.       next
  679.     }
  680.   }
  681.   print line
  682. }
  683. $ac_cs_awk_pipe_fini
  684. _ACAWK
  685. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  686.   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  687. else
  688.   cat
  689. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  690.   || as_fn_error "could not setup config files machinery" "$LINENO" 5
  691. fi # test -n "$CONFIG_FILES"

  692. # Set up the scripts for CONFIG_HEADERS section.
  693. # No need to generate them if there are no CONFIG_HEADERS.
  694. # This happens for instance with `./config.status Makefile'.
  695. if test -n "$CONFIG_HEADERS"; then
  696. cat >"$tmp/defines.awk" <<\_ACAWK ||
  697. BEGIN {
  698. D["PACKAGE_NAME"]=" \"\""
  699. D["PACKAGE_TARNAME"]=" \"\""
  700. D["PACKAGE_VERSION"]=" \"\""
  701. D["PACKAGE_STRING"]=" \"\""
  702. D["PACKAGE_BUGREPORT"]=" \"\""
  703. D["PACKAGE_URL"]=" \"\""
  704. D["STDC_HEADERS"]=" 1"
  705. D["HAVE_SYS_TYPES_H"]=" 1"
  706. D["HAVE_SYS_STAT_H"]=" 1"
  707. D["HAVE_STDLIB_H"]=" 1"
  708. D["HAVE_STRING_H"]=" 1"
  709. D["HAVE_MEMORY_H"]=" 1"
  710. D["HAVE_STRINGS_H"]=" 1"
  711. D["HAVE_INTTYPES_H"]=" 1"
  712. D["HAVE_STDINT_H"]=" 1"
  713. D["HAVE_UNISTD_H"]=" 1"
  714. D["HAVE_SYS_FILE_H"]=" 1"
  715. D["HAVE_SYS_PARAM_H"]=" 1"
  716. D["HAVE_LIMITS_H"]=" 1"
  717. D["HAVE_STDLIB_H"]=" 1"
  718. D["HAVE_MALLOC_H"]=" 1"
  719. D["HAVE_STRING_H"]=" 1"
  720. D["HAVE_UNISTD_H"]=" 1"
  721. D["HAVE_STRINGS_H"]=" 1"
  722. D["HAVE_SYS_TIME_H"]=" 1"
  723. D["HAVE_TIME_H"]=" 1"
  724. D["HAVE_SYS_RESOURCE_H"]=" 1"
  725. D["HAVE_SYS_STAT_H"]=" 1"
  726. D["HAVE_SYS_MMAN_H"]=" 1"
  727. D["HAVE_FCNTL_H"]=" 1"
  728. D["HAVE_ALLOCA_H"]=" 1"
  729. D["HAVE_SYS_SYSINFO_H"]=" 1"
  730. D["HAVE_SYS_SYSCTL_H"]=" 1"
  731. D["HAVE_STDINT_H"]=" 1"
  732. D["HAVE_STDIO_EXT_H"]=" 1"
  733. D["HAVE_SYS_PRCTL_H"]=" 1"
  734. D["HAVE_SYS_WAIT_H"]=" 1"
  735. D["TIME_WITH_SYS_TIME"]=" 1"
  736. D["SIZEOF_INT"]=" 4"
  737. D["UNSIGNED_64BIT_TYPE"]=" uint64_t"
  738. D["HAVE_INTPTR_T"]=" 1"
  739. D["HAVE_UINTPTR_T"]=" 1"
  740. D["HAVE_UINTPTR_T"]=" 1"
  741. D["HAVE_ASPRINTF"]=" 1"
  742. D["HAVE_ATEXIT"]=" 1"
  743. D["HAVE_BASENAME"]=" 1"
  744. D["HAVE_BCMP"]=" 1"
  745. D["HAVE_BCOPY"]=" 1"
  746. D["HAVE_BSEARCH"]=" 1"
  747. D["HAVE_BZERO"]=" 1"
  748. D["HAVE_CALLOC"]=" 1"
  749. D["HAVE_CLOCK"]=" 1"
  750. D["HAVE_FFS"]=" 1"
  751. D["HAVE_GETCWD"]=" 1"
  752. D["HAVE_GETPAGESIZE"]=" 1"
  753. D["HAVE_GETTIMEOFDAY"]=" 1"
  754. D["HAVE_INDEX"]=" 1"
  755. D["HAVE_INSQUE"]=" 1"
  756. D["HAVE_MEMCHR"]=" 1"
  757. D["HAVE_MEMCMP"]=" 1"
  758. D["HAVE_MEMCPY"]=" 1"
  759. D["HAVE_MEMMEM"]=" 1"
  760. D["HAVE_MEMMOVE"]=" 1"
  761. D["HAVE_MEMPCPY"]=" 1"
  762. D["HAVE_MEMSET"]=" 1"
  763. D["HAVE_MKSTEMPS"]=" 1"
  764. D["HAVE_PUTENV"]=" 1"
  765. D["HAVE_RANDOM"]=" 1"
  766. D["HAVE_RENAME"]=" 1"
  767. D["HAVE_RINDEX"]=" 1"
  768. D["HAVE_SETENV"]=" 1"
  769. D["HAVE_SNPRINTF"]=" 1"
  770. D["HAVE_SIGSETMASK"]=" 1"
  771. D["HAVE_STPCPY"]=" 1"
  772. D["HAVE_STPNCPY"]=" 1"
  773. D["HAVE_STRCASECMP"]=" 1"
  774. D["HAVE_STRCHR"]=" 1"
  775. D["HAVE_STRDUP"]=" 1"
  776. D["HAVE_STRNCASECMP"]=" 1"
  777. D["HAVE_STRNDUP"]=" 1"
  778. D["HAVE_STRNLEN"]=" 1"
  779. D["HAVE_STRRCHR"]=" 1"
  780. D["HAVE_STRSTR"]=" 1"
  781. D["HAVE_STRTOD"]=" 1"
  782. D["HAVE_STRTOL"]=" 1"
  783. D["HAVE_STRTOUL"]=" 1"
  784. D["HAVE_STRVERSCMP"]=" 1"
  785. D["HAVE_TMPNAM"]=" 1"
  786. D["HAVE_VASPRINTF"]=" 1"
  787. D["HAVE_VFPRINTF"]=" 1"
  788. D["HAVE_VPRINTF"]=" 1"
  789. D["HAVE_VSNPRINTF"]=" 1"
  790. D["HAVE_VSPRINTF"]=" 1"
  791. D["HAVE_WAITPID"]=" 1"
  792. D["STACK_DIRECTION"]=" -1"
  793. D["HAVE_FORK"]=" 1"
  794. D["HAVE_VFORK"]=" 1"
  795. D["HAVE_WORKING_VFORK"]=" 1"
  796. D["HAVE_WORKING_FORK"]=" 1"
  797. D["HAVE_SYS_ERRLIST"]=" 1"
  798. D["HAVE_SYS_NERR"]=" 1"
  799. D["HAVE_SYS_SIGLIST"]=" 1"
  800. D["HAVE___FSETLOCKING"]=" 1"
  801. D["HAVE_CANONICALIZE_FILE_NAME"]=" 1"
  802. D["HAVE_DUP3"]=" 1"
  803. D["HAVE_GETRLIMIT"]=" 1"
  804. D["HAVE_GETRUSAGE"]=" 1"
  805. D["HAVE_GETTIMEOFDAY"]=" 1"
  806. D["HAVE_ON_EXIT"]=" 1"
  807. D["HAVE_PSIGNAL"]=" 1"
  808. D["HAVE_REALPATH"]=" 1"
  809. D["HAVE_SETRLIMIT"]=" 1"
  810. D["HAVE_SBRK"]=" 1"
  811. D["HAVE_STRERROR"]=" 1"
  812. D["HAVE_STRSIGNAL"]=" 1"
  813. D["HAVE_SYSCONF"]=" 1"
  814. D["HAVE_SYSCTL"]=" 1"
  815. D["HAVE_TIMES"]=" 1"
  816. D["HAVE_WAIT3"]=" 1"
  817. D["HAVE_WAIT4"]=" 1"
  818. D["HAVE_DECL_BASENAME"]=" 0"
  819. D["HAVE_DECL_FFS"]=" 1"
  820. D["HAVE_DECL_ASPRINTF"]=" 0"
  821. D["HAVE_DECL_VASPRINTF"]=" 0"
  822. D["HAVE_DECL_SNPRINTF"]=" 1"
  823. D["HAVE_DECL_VSNPRINTF"]=" 1"
  824. D["HAVE_DECL_CALLOC"]=" 1"
  825. D["HAVE_DECL_GETENV"]=" 1"
  826. D["HAVE_DECL_GETOPT"]=" 1"
  827. D["HAVE_DECL_MALLOC"]=" 1"
  828. D["HAVE_DECL_REALLOC"]=" 1"
  829. D["HAVE_DECL_SBRK"]=" 1"
  830. D["HAVE_DECL_STRVERSCMP"]=" 1"
  831. D["NEED_DECLARATION_CANONICALIZE_FILE_NAME"]=" 1"
  832. D["HAVE_STDLIB_H"]=" 1"
  833. D["HAVE_UNISTD_H"]=" 1"
  834. D["HAVE_GETPAGESIZE"]=" 1"
  835. D["HAVE_MMAP"]=" 1"
  836.   for (key in D) D_is_set[key] = 1
  837.   FS = ""
  838. }
  839. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  840.   line = $ 0
  841.   split(line, arg, " ")
  842.   if (arg[1] == "#") {
  843.     defundef = arg[2]
  844.     mac1 = arg[3]
  845.   } else {
  846.     defundef = substr(arg[1], 2)
  847.     mac1 = arg[2]
  848.   }
  849.   split(mac1, mac2, "(") #)
  850.   macro = mac2[1]
  851.   prefix = substr(line, 1, index(line, defundef) - 1)
  852.   if (D_is_set[macro]) {
  853.     # Preserve the white space surrounding the "#".
  854.     print prefix "define", macro P[macro] D[macro]
  855.     next
  856.   } else {
  857.     # Replace #undef with comments.  This is necessary, for example,
  858.     # in the case of _POSIX_SOURCE, which is predefined and required
  859.     # on some systems where configure will not decide to define it.
  860.     if (defundef == "undef") {
  861.       print "/*", prefix defundef, macro, "*/"
  862.       next
  863.     }
  864.   }
  865. }
  866. { print }
  867. _ACAWK
  868.   as_fn_error "could not setup config headers machinery" "$LINENO" 5
  869. fi # test -n "$CONFIG_HEADERS"


  870. eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
  871. shift
  872. for ac_tag
  873. do
  874.   case $ac_tag in
  875.   :[FHLC]) ac_mode=$ac_tag; continue;;
  876.   esac
  877.   case $ac_mode$ac_tag in
  878.   :[FHL]*:*);;
  879.   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  880.   :[FH]-) ac_tag=-:-;;
  881.   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  882.   esac
  883.   ac_save_IFS=$IFS
  884.   IFS=:
  885.   set x $ac_tag
  886.   IFS=$ac_save_IFS
  887.   shift
  888.   ac_file=$1
  889.   shift

  890.   case $ac_mode in
  891.   :L) ac_source=$1;;
  892.   :[FH])
  893.     ac_file_inputs=
  894.     for ac_f
  895.     do
  896.       case $ac_f in
  897.       -) ac_f="$tmp/stdin";;
  898.       *) # Look for the file first in the build tree, then in the source tree
  899.          # (if the path is not absolute).  The absolute path cannot be DOS-style,
  900.          # because $ac_f cannot contain `:'.
  901.          test -f "$ac_f" ||
  902.            case $ac_f in
  903.            [\\/$]*) false;;
  904.            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  905.            esac ||
  906.            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  907.       esac
  908.       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  909.       as_fn_append ac_file_inputs " '$ac_f'"
  910.     done

  911.     # Let's still pretend it is `configure' which instantiates (i.e., don't
  912.     # use $as_me), people would be surprised to read:
  913.     #    /* config.h.  Generated by config.status.  */
  914.     configure_input='Generated from '`
  915.           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  916.         `' by configure.'
  917.     if test x"$ac_file" != x-; then
  918.       configure_input="$ac_file$configure_input"
  919.       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  920. $as_echo "$as_me: creating $ac_file" >&6;}
  921.     fi
  922.     # Neutralize special characters interpreted by sed in replacement strings.
  923.     case $configure_input in #(
  924.     *\&* | *\|* | *\\* )
  925.        ac_sed_conf_input=`$as_echo "$configure_input" |
  926.        sed 's/[\\\\&|]/\\\\&/g'`;; #(
  927.     *) ac_sed_conf_input=$configure_input;;
  928.     esac

  929.     case $ac_tag in
  930.     *:-:* | *:-) cat >"$tmp/stdin" \
  931.       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  932.     esac
  933.     ;;
  934.   esac

  935.   ac_dir=`$as_dirname -- "$ac_file" ||
  936. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  937.          X"$ac_file" : 'X\(//\)[^/]' \| \
  938.          X"$ac_file" : 'X\(//\)$' \| \
  939.          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  940. $as_echo X"$ac_file" |
  941.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  942.             s//\1/
  943.             q
  944.           }
  945.           /^X\(\/\/\)[^/].*/{
  946.             s//\1/
  947.             q
  948.           }
  949.           /^X\(\/\/\)$/{
  950.             s//\1/
  951.             q
  952.           }
  953.           /^X\(\/\).*/{
  954.             s//\1/
  955.             q
  956.           }
  957.           s/.*/./; q'`
  958.   as_dir="$ac_dir"; as_fn_mkdir_p
  959.   ac_builddir=.

  960. case "$ac_dir" in
  961. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  962. *)
  963.   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  964.   # A ".." for each directory in $ac_dir_suffix.
  965.   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  966.   case $ac_top_builddir_sub in
  967.   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  968.   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  969.   esac ;;
  970. esac
  971. ac_abs_top_builddir=$ac_pwd
  972. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  973. # for backward compatibility:
  974. ac_top_builddir=$ac_top_build_prefix

  975. case $srcdir in
  976.   .)  # We are building in place.
  977.     ac_srcdir=.
  978.     ac_top_srcdir=$ac_top_builddir_sub
  979.     ac_abs_top_srcdir=$ac_pwd ;;
  980.   [\\/]* | ?:[\\/]* )  # Absolute name.
  981.     ac_srcdir=$srcdir$ac_dir_suffix;
  982.     ac_top_srcdir=$srcdir
  983.     ac_abs_top_srcdir=$srcdir ;;
  984.   *) # Relative name.
  985.     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  986.     ac_top_srcdir=$ac_top_build_prefix$srcdir
  987.     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  988. esac
  989. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix


  990.   case $ac_mode in
  991.   :F)
  992.   #
  993.   # CONFIG_FILE
  994.   #

  995.   case $INSTALL in
  996.   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  997.   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  998.   esac
  999. # If the template does not know about datarootdir, expand it.
  1000. # FIXME: This hack should be removed a few years after 2.60.
  1001. ac_datarootdir_hack=; ac_datarootdir_seen=
  1002. ac_sed_dataroot='
  1003. /datarootdir/ {
  1004.   p
  1005.   q
  1006. }
  1007. /@datadir@/p
  1008. /@docdir@/p
  1009. /@infodir@/p
  1010. /@localedir@/p
  1011. /@mandir@/p'
  1012. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1013. *datarootdir*) ac_datarootdir_seen=yes;;
  1014. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1015.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1016. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1017.   ac_datarootdir_hack='
  1018.   s&@datadir@&${datarootdir}&g
  1019.   s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
  1020.   s&@infodir@&${datarootdir}/info&g
  1021.   s&@localedir@&${datarootdir}/locale&g
  1022.   s&@mandir@&${datarootdir}/man&g
  1023.   s&\${datarootdir}&${prefix}/share&g' ;;
  1024. esac
  1025. ac_sed_extra="

  1026. :t
  1027. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1028. s|@configure_input@|$ac_sed_conf_input|;t t
  1029. s&@top_builddir@&$ac_top_builddir_sub&;t t
  1030. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1031. s&@srcdir@&$ac_srcdir&;t t
  1032. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1033. s&@top_srcdir@&$ac_top_srcdir&;t t
  1034. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1035. s&@builddir@&$ac_builddir&;t t
  1036. s&@abs_builddir@&$ac_abs_builddir&;t t
  1037. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1038. s&@INSTALL@&$ac_INSTALL&;t t
  1039. $ac_datarootdir_hack
  1040. "
  1041. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
  1042. if $ac_cs_awk_getline; then
  1043.   $AWK -f "$tmp/subs.awk"
  1044. else
  1045.   $AWK -f "$tmp/subs.awk" | $SHELL
  1046. fi >$tmp/out \
  1047.   || as_fn_error "could not create $ac_file" "$LINENO" 5

  1048. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1049.   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  1050.   { ac_out=`sed -n '/^[         ]*datarootdir[         ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  1051.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1052. which seems to be undefined.  Please make sure it is defined." >&5
  1053. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1054. which seems to be undefined.  Please make sure it is defined." >&2;}

  1055.   rm -f "$tmp/stdin"
  1056.   case $ac_file in
  1057.   -) cat "$tmp/out" && rm -f "$tmp/out";;
  1058.   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  1059.   esac \
  1060.   || as_fn_error "could not create $ac_file" "$LINENO" 5
  1061. ;;
  1062.   :H)
  1063.   #
  1064.   # CONFIG_HEADER
  1065.   #
  1066.   if test x"$ac_file" != x-; then
  1067.     {
  1068.       $as_echo "/* $configure_input  */" \
  1069.       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  1070.     } >"$tmp/config.h" \
  1071.       || as_fn_error "could not create $ac_file" "$LINENO" 5
  1072.     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  1073.       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  1074. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  1075.     else
  1076.       rm -f "$ac_file"
  1077.       mv "$tmp/config.h" "$ac_file" \
  1078.         || as_fn_error "could not create $ac_file" "$LINENO" 5
  1079.     fi
  1080.   else
  1081.     $as_echo "/* $configure_input  */" \
  1082.       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  1083.       || as_fn_error "could not create -" "$LINENO" 5
  1084.   fi
  1085. ;;

  1086.   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  1087. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1088. ;;
  1089.   esac


  1090.   case $ac_file$ac_mode in
  1091.     "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
  1092. if test -n "$CONFIG_FILES"; then
  1093.   if test -n "${with_target_subdir}"; then
  1094.     # FIXME: We shouldn't need to set ac_file
  1095.     ac_file=Makefile
  1096.     LD="${ORIGINAL_LD_FOR_MULTILIBS}"
  1097.    . ${libiberty_topdir}/config-ml.in
  1098.   fi
  1099. fi ;;

  1100.   esac
  1101. done # for ac_tag


  1102. as_fn_exit 0