gdb/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=" jit-reader.h:jit-reader.in gcore Makefile gdb-gdb.gdb doc/Makefile data-directory/Makefile"
  367. config_headers=" config.h:config.in"
  368. config_links="  nm.h:config/nm-linux.h"
  369. config_commands=" depdir default"

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

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

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

  385. Configuration files:
  386. $config_files

  387. Configuration headers:
  388. $config_headers

  389. Configuration links:
  390. $config_links

  391. Configuration commands:
  392. $config_commands

  393. Report bugs to the package provider."

  394. ac_cs_version="\
  395. config.status
  396. configured by /home/agentzh/git/binutils-gdb/gdb/configure, generated by GNU Autoconf 2.64,
  397.   with options \"'--cache-file=./config.cache' '--with-gnu-as' '--with-gnu-ld' '--with-system-zlib' '--prefix=/opt/binutils' '--program-transform-name=s,y,y,' '--disable-option-checking' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-unknown-linux-gnu' '--target=x86_64-unknown-linux-gnu' '--srcdir=.././gdb' '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'\"

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

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

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

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

  456.   *) as_fn_append ac_config_targets " $1"
  457.      ac_need_defaults=false ;;

  458.   esac
  459.   shift
  460. done

  461. ac_configure_extra_args=

  462. if $ac_cs_silent; then
  463.   exec 6>/dev/null
  464.   ac_configure_extra_args="$ac_configure_extra_args --silent"
  465. fi

  466. if $ac_cs_recheck; then
  467.   set X '/bin/sh' '/home/agentzh/git/binutils-gdb/gdb/configure'  '--cache-file=./config.cache' '--with-gnu-as' '--with-gnu-ld' '--with-system-zlib' '--prefix=/opt/binutils' '--program-transform-name=s,y,y,' '--disable-option-checking' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-unknown-linux-gnu' '--target=x86_64-unknown-linux-gnu' '--srcdir=.././gdb' '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' $ac_configure_extra_args --no-create --no-recursion
  468.   shift
  469.   $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
  470.   CONFIG_SHELL='/bin/sh'
  471.   export CONFIG_SHELL
  472.   exec "$@"
  473. fi

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

  482. #
  483. # INIT-COMMANDS
  484. #
  485. ac_aux_dir=.. DEPDIR=.deps


  486. # Handling of arguments.
  487. for ac_config_target in $ac_config_targets
  488. do
  489.   case $ac_config_target in
  490.     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
  491.     "depdir") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir" ;;
  492.     "jit-reader.h") CONFIG_FILES="$CONFIG_FILES jit-reader.h:jit-reader.in" ;;
  493.     "$ac_config_links_1") CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
  494.     "gcore") CONFIG_FILES="$CONFIG_FILES gcore" ;;
  495.     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  496.     "gdb-gdb.gdb") CONFIG_FILES="$CONFIG_FILES gdb-gdb.gdb" ;;
  497.     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  498.     "data-directory/Makefile") CONFIG_FILES="$CONFIG_FILES data-directory/Makefile" ;;
  499.     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;

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


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

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

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

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

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

  571. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  572. cat >>"$tmp/subs1.awk" <<\_ACAWK &&
  573. F["host_makefile_frag"]="./config/i386/linux64.mh"
  574. _ACAWK
  575. cat >>"$tmp/subs1.awk" <<\_ACAWK &&
  576. S["LTLIBOBJS"]=""
  577. S["LIBOBJS"]=""
  578. S["GCORE_TRANSFORM_NAME"]="gcore"
  579. S["GDB_TRANSFORM_NAME"]="gdb"
  580. S["GDB_NM_FILE"]="config/nm-linux.h"
  581. S["LTLIBBABELTRACE"]=""
  582. S["LIBBABELTRACE"]=""
  583. S["HAVE_LIBBABELTRACE"]="no"
  584. S["frags"]=" ./config/i386/linux64.mh"
  585. S["target_subdir"]=""
  586. S["CONFIG_UNINSTALL"]=" uninstall-po"
  587. S["CONFIG_INSTALL"]=" install-po install-python"
  588. S["CONFIG_CLEAN"]=" clean-po"
  589. S["CONFIG_ALL"]=" all-po"
  590. S["CONFIG_SRCS"]=" $(SUBDIR_CLI_SRCS) $(SUBDIR_MI_SRCS) $(SUBDIR_TUI_SRCS) $(SUBDIR_PYTHON_SRCS) guile/guile.c"
  591. S["CONFIG_DEPS"]=" $(SUBDIR_CLI_DEPS) $(SUBDIR_MI_DEPS) $(SUBDIR_TUI_DEPS) $(SUBDIR_PYTHON_DEPS)"
  592. S["CONFIG_OBS"]=" $(SUBDIR_CLI_OBS) $(SUBDIR_MI_OBS) $(SUBDIR_TUI_OBS) $(SUBDIR_PYTHON_OBS) guile.o elfread.o stap-probe.o posix-hdep.o"
  593. S["PROFILE_CFLAGS"]=""
  594. S["ENABLE_CFLAGS"]=" $(SUBDIR_CLI_CFLAGS) $(SUBDIR_MI_CFLAGS) $(SUBDIR_TUI_CFLAGS) $(SUBDIR_PYTHON_CFLAGS)"
  595. S["SIM_OBS"]=""
  596. S["SIM"]=""
  597. S["XMKMF"]=""
  598. S["GDBTK_SRC_DIR"]=""
  599. S["GDBTK_CFLAGS"]=""
  600. S["GDBTKLIBS"]=""
  601. S["X_LIBS"]=""
  602. S["X_LDFLAGS"]=""
  603. S["X_CFLAGS"]=""
  604. S["TK_XINCLUDES"]=""
  605. S["TK_DEPS"]=""
  606. S["TK_LIBRARY"]=""
  607. S["TK_INCLUDE"]=""
  608. S["TK_STUB_LIB_SPEC"]=""
  609. S["TK_STUB_LIB_FLAG"]=""
  610. S["TK_STUB_LIB_FILE"]=""
  611. S["TK_LIB_SPEC"]=""
  612. S["TK_LIB_FLAG"]=""
  613. S["TK_LIB_FILE"]=""
  614. S["TK_SRC_DIR"]=""
  615. S["TK_BIN_DIR"]=""
  616. S["TK_VERSION"]=""
  617. S["TCL_DEPS"]=""
  618. S["TCL_LIBRARY"]=""
  619. S["TCL_INCLUDE"]=""
  620. S["TCL_STUB_LIB_SPEC"]=""
  621. S["TCL_STUB_LIB_FLAG"]=""
  622. S["TCL_STUB_LIB_FILE"]=""
  623. S["TCL_LIB_SPEC"]=""
  624. S["TCL_LIB_FLAG"]=""
  625. S["TCL_LIB_FILE"]=""
  626. S["TCL_SRC_DIR"]=""
  627. S["TCL_BIN_DIR"]=""
  628. S["TCL_PATCH_LEVEL"]=""
  629. S["TCL_VERSION"]=""
  630. S["WIN32LDAPP"]=""
  631. S["GUI_CFLAGS_X"]="-I./../libgui/src"
  632. S["LIBGUI"]="../libgui/src/libgui.a"
  633. S["LTLIBLZMA"]="-llzma"
  634. S["LIBLZMA"]="-llzma"
  635. S["HAVE_LIBLZMA"]="yes"
  636. S["WIN32LIBS"]=""
  637. S["SER_HARDWIRE"]="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
  638. S["WERROR_CFLAGS"]="-Werror"
  639. S["WARN_CFLAGS"]=" -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -W"\
  640. "missing-prototypes -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonli"\
  641. "teral"
  642. S["SYSTEM_GDBINIT"]=""
  643. S["TARGET_SYSTEM_ROOT"]=""
  644. S["CONFIG_LDFLAGS"]=""
  645. S["RDYNAMIC"]="-Wl,--dynamic-list=$(srcdir)/proc-service.list"
  646. S["ALLOCA"]=""
  647. S["HAVE_GUILE_FALSE"]=""
  648. S["HAVE_GUILE_TRUE"]="#"
  649. S["GUILE_LIBS"]=""
  650. S["GUILE_CPPFLAGS"]=""
  651. S["GUILD_TARGET_FLAG"]=""
  652. S["GUILD"]=""
  653. S["pkg_config_prog_path"]="/bin/pkg-config"
  654. S["HAVE_PYTHON_FALSE"]="#"
  655. S["HAVE_PYTHON_TRUE"]=""
  656. S["PYTHON_LIBS"]="-lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic"
  657. S["PYTHON_CPPFLAGS"]="-I/usr/include/python2.7 -I/usr/include/python2.7"
  658. S["PYTHON_CFLAGS"]=" -fno-strict-aliasing -DNDEBUG -fwrapv"
  659. S["python_prog_path"]="/bin/python"
  660. S["LTLIBEXPAT"]="-lexpat"
  661. S["LIBEXPAT"]="-lexpat"
  662. S["HAVE_LIBEXPAT"]="yes"
  663. S["JIT_READER_DIR"]="${exec_prefix}/lib/gdb"
  664. S["TARGET_PTR"]="unsigned long"
  665. S["READLINE_TEXI_INCFLAG"]="-I $(READLINE_DIR)"
  666. S["READLINE_CFLAGS"]="-I$(READLINE_SRC)/.."
  667. S["READLINE_DEPS"]="$(READLINE)"
  668. S["READLINE"]="$(READLINE_DIR)/libreadline.a"
  669. S["MIG"]=""
  670. S["WINDRES"]="windres"
  671. S["DLLTOOL"]="dlltool"
  672. S["AR"]="ar"
  673. S["YFLAGS"]=""
  674. S["YACC"]="bison -y"
  675. S["RANLIB"]="ranlib"
  676. S["LN_S"]="ln -s"
  677. S["INSTALL_DATA"]="/bin/install -c -m 644"
  678. S["INSTALL_SCRIPT"]="/bin/install -c"
  679. S["INSTALL_PROGRAM"]="/bin/install -c"
  680. S["AWK"]="gawk"
  681. S["REPORT_BUGS_TEXI"]="@uref{http://www.gnu.org/software/gdb/bugs/}"
  682. S["REPORT_BUGS_TO"]="<http://www.gnu.org/software/gdb/bugs/>"
  683. S["PKGVERSION"]="(GDB) "
  684. S["HAVE_NATIVE_GCORE_TARGET"]="1"
  685. S["TARGET_OBS"]=" amd64-tdep.o amd64-linux-tdep.o i386-tdep.o i387-tdep.o i386-linux-tdep.o glibc-tdep.o solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
  686. S["subdirs"]=" testsuite gdbserver"
  687. S["GDB_DATADIR"]="${datarootdir}/gdb"
  688. S["DEBUGDIR"]="${exec_prefix}/lib/debug"
  689. S["MAKEINFO_EXTRA_FLAGS"]=" -DHAVE_MAKEINFO_CLICK"
  690. S["MAKEINFOFLAGS"]=""
  691. S["MAKEINFO"]="makeinfo --split-size=5000000"
  692. S["PACKAGE"]="gdb"
  693. S["GNULIB_STDINT_H"]=""
  694. S["CATOBJEXT"]=".gmo"
  695. S["GENCAT"]="gencat"
  696. S["INSTOBJEXT"]=".mo"
  697. S["DATADIRNAME"]="share"
  698. S["CATALOGS"]=""
  699. S["POSUB"]="po"
  700. S["GMSGFMT"]="/bin/msgfmt"
  701. S["XGETTEXT"]="/bin/xgettext"
  702. S["INCINTL"]=""
  703. S["LIBINTL_DEP"]=""
  704. S["LIBINTL"]=""
  705. S["USE_NLS"]="yes"
  706. S["SET_MAKE"]=""
  707. S["GMAKE_FALSE"]="#"
  708. S["GMAKE_TRUE"]=""
  709. S["MAKE"]="make"
  710. S["CCDEPMODE"]="depmode=gcc3"
  711. S["DEPDIR"]=".deps"
  712. S["am__leading_dot"]="."
  713. S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
  714. S["STRIP"]=""
  715. S["install_sh"]="${SHELL} /home/agentzh/git/binutils-gdb/install-sh"
  716. S["target_os"]="linux-gnu"
  717. S["target_vendor"]="unknown"
  718. S["target_cpu"]="x86_64"
  719. S["target"]="x86_64-unknown-linux-gnu"
  720. S["host_os"]="linux-gnu"
  721. S["host_vendor"]="unknown"
  722. S["host_cpu"]="x86_64"
  723. S["host"]="x86_64-unknown-linux-gnu"
  724. S["build_os"]="linux-gnu"
  725. S["build_vendor"]="unknown"
  726. S["build_cpu"]="x86_64"
  727. S["build"]="x86_64-unknown-linux-gnu"
  728. S["EGREP"]="/bin/grep -E"
  729. S["GREP"]="/bin/grep"
  730. S["CPP"]="gcc -E"
  731. S["OBJEXT"]="o"
  732. S["EXEEXT"]=""
  733. S["ac_ct_CC"]=""
  734. S["CPPFLAGS"]=" "
  735. S["LDFLAGS"]=" "
  736. S["CFLAGS"]="-g -O2"
  737. S["CC"]="gcc"
  738. S["MAINT"]="#"
  739. S["MAINTAINER_MODE_FALSE"]=""
  740. S["MAINTAINER_MODE_TRUE"]="#"
  741. S["target_alias"]="x86_64-unknown-linux-gnu"
  742. S["host_alias"]="x86_64-unknown-linux-gnu"
  743. S["build_alias"]="x86_64-unknown-linux-gnu"
  744. S["LIBS"]="-ldl -ldl -lncurses -lz -lm -ldl   "
  745. S["ECHO_T"]=""
  746. S["ECHO_N"]="-n"
  747. S["ECHO_C"]=""
  748. S["DEFS"]="-DHAVE_CONFIG_H"
  749. S["mandir"]="${datarootdir}/man"
  750. S["localedir"]="${datadir}/locale"
  751. S["libdir"]="${exec_prefix}/lib"
  752. S["psdir"]="${docdir}"
  753. S["pdfdir"]="${docdir}"
  754. S["dvidir"]="${docdir}"
  755. S["htmldir"]="${docdir}"
  756. S["infodir"]="${datarootdir}/info"
  757. S["docdir"]="${datarootdir}/doc/${PACKAGE}"
  758. S["oldincludedir"]="/usr/include"
  759. S["includedir"]="${prefix}/include"
  760. S["localstatedir"]="${prefix}/var"
  761. S["sharedstatedir"]="${prefix}/com"
  762. S["sysconfdir"]="${prefix}/etc"
  763. S["datadir"]="${datarootdir}"
  764. S["datarootdir"]="${prefix}/share"
  765. S["libexecdir"]="${exec_prefix}/libexec"
  766. S["sbindir"]="${exec_prefix}/sbin"
  767. S["bindir"]="${exec_prefix}/bin"
  768. S["program_transform_name"]="s,y,y,"
  769. S["prefix"]="/opt/binutils"
  770. S["exec_prefix"]="${prefix}"
  771. S["PACKAGE_URL"]=""
  772. S["PACKAGE_BUGREPORT"]=""
  773. S["PACKAGE_STRING"]=""
  774. S["PACKAGE_VERSION"]=""
  775. S["PACKAGE_TARNAME"]=""
  776. S["PACKAGE_NAME"]=""
  777. S["PATH_SEPARATOR"]=":"
  778. S["SHELL"]="/bin/sh"
  779. _ACAWK
  780. cat >>"$tmp/subs1.awk" <<_ACAWK &&
  781.   for (key in S) S_is_set[key] = 1
  782.   FS = ""
  783.   $ac_cs_awk_pipe_init
  784. }
  785. {
  786.   line = $ 0
  787.   nfields = split(line, field, "@")
  788.   substed = 0
  789.   len = length(field[1])
  790.   for (i = 2; i < nfields; i++) {
  791.     key = field[i]
  792.     keylen = length(key)
  793.     if (S_is_set[key]) {
  794.       value = S[key]
  795.       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  796.       len += length(value) + length(field[++i])
  797.       substed = 1
  798.     } else
  799.       len += 1 + keylen
  800.   }
  801.   if (nfields == 3 && !substed) {
  802.     key = field[2]
  803.     if (F[key] != "" && line ~ /^[         ]*@.*@[         ]*$/) {
  804.       $ac_cs_awk_read_file
  805.       next
  806.     }
  807.   }
  808.   print line
  809. }
  810. $ac_cs_awk_pipe_fini
  811. _ACAWK
  812. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  813.   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  814. else
  815.   cat
  816. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  817.   || as_fn_error "could not setup config files machinery" "$LINENO" 5
  818. fi # test -n "$CONFIG_FILES"

  819. # Set up the scripts for CONFIG_HEADERS section.
  820. # No need to generate them if there are no CONFIG_HEADERS.
  821. # This happens for instance with `./config.status Makefile'.
  822. if test -n "$CONFIG_HEADERS"; then
  823. cat >"$tmp/defines.awk" <<\_ACAWK ||
  824. BEGIN {
  825. D["PACKAGE_NAME"]=" \"\""
  826. D["PACKAGE_TARNAME"]=" \"\""
  827. D["PACKAGE_VERSION"]=" \"\""
  828. D["PACKAGE_STRING"]=" \"\""
  829. D["PACKAGE_BUGREPORT"]=" \"\""
  830. D["PACKAGE_URL"]=" \"\""
  831. D["STDC_HEADERS"]=" 1"
  832. D["HAVE_SYS_TYPES_H"]=" 1"
  833. D["HAVE_SYS_STAT_H"]=" 1"
  834. D["HAVE_STDLIB_H"]=" 1"
  835. D["HAVE_STRING_H"]=" 1"
  836. D["HAVE_MEMORY_H"]=" 1"
  837. D["HAVE_STRINGS_H"]=" 1"
  838. D["HAVE_INTTYPES_H"]=" 1"
  839. D["HAVE_STDINT_H"]=" 1"
  840. D["HAVE_UNISTD_H"]=" 1"
  841. D["__EXTENSIONS__"]=" 1"
  842. D["_ALL_SOURCE"]=" 1"
  843. D["_GNU_SOURCE"]=" 1"
  844. D["_POSIX_PTHREAD_SEMANTICS"]=" 1"
  845. D["_TANDEM_SOURCE"]=" 1"
  846. D["HAVE_DLFCN_H"]=" 1"
  847. D["ENABLE_NLS"]=" 1"
  848. D["PACKAGE"]=" \"gdb\""
  849. D["DEBUGDIR"]=" \"/opt/binutils/lib/debug\""
  850. D["DEBUGDIR_RELOCATABLE"]=" 1"
  851. D["BINDIR"]=" \"/opt/binutils/bin\""
  852. D["GDB_DATADIR"]=" \"/opt/binutils/share/gdb\""
  853. D["GDB_DATADIR_RELOCATABLE"]=" 1"
  854. D["AUTO_LOAD_DIR"]=" \"$debugdir:$datadir/auto-load\""
  855. D["AUTO_LOAD_SAFE_PATH"]=" \"$debugdir:$datadir/auto-load\""
  856. D["DEFAULT_BFD_ARCH"]=" bfd_i386_arch"
  857. D["DEFAULT_BFD_VEC"]=" x86_64_elf64_vec"
  858. D["HAVE_MONSTARTUP"]=" 1"
  859. D["HAVE__MCLEANUP"]=" 1"
  860. D["HAVE__ETEXT"]=" 1"
  861. D["HAVE_ETEXT"]=" 1"
  862. D["PKGVERSION"]=" \"(GDB) \""
  863. D["REPORT_BUGS_TO"]=" \"<http://www.gnu.org/software/gdb/bugs/>\""
  864. D["HAVE_LIBM"]=" 1"
  865. D["HAVE_ZLIB_H"]=" 1"
  866. D["HAVE_ICONV"]=" 1"
  867. D["ICONV_CONST"]=" "
  868. D["SIZEOF_UNSIGNED_LONG_LONG"]=" 8"
  869. D["SIZEOF_UNSIGNED_LONG"]=" 8"
  870. D["SIZEOF_UNSIGNED___INT128"]=" 16"
  871. D["JIT_READER_DIR"]=" \"/opt/binutils/lib/gdb\""
  872. D["JIT_READER_DIR_RELOCATABLE"]=" 1"
  873. D["HAVE_LIBEXPAT"]=" 1"
  874. D["HAVE_XML_STOPPARSER"]=" 1"
  875. D["HAVE_LIBPYTHON2_7"]=" 1"
  876. D["WITH_PYTHON_PATH"]=" \"/usr\""
  877. D["PYTHON_PATH_RELOCATABLE"]=" 0"
  878. D["HAVE_PYTHON"]=" 1"
  879. D["STDC_HEADERS"]=" 1"
  880. D["HAVE_NLIST_H"]=" 1"
  881. D["HAVE_POLL_H"]=" 1"
  882. D["HAVE_SYS_POLL_H"]=" 1"
  883. D["HAVE_THREAD_DB_H"]=" 1"
  884. D["HAVE_SYS_FILE_H"]=" 1"
  885. D["HAVE_SYS_IOCTL_H"]=" 1"
  886. D["HAVE_SYS_PARAM_H"]=" 1"
  887. D["HAVE_SYS_RESOURCE_H"]=" 1"
  888. D["HAVE_SYS_PROCFS_H"]=" 1"
  889. D["HAVE_SYS_PTRACE_H"]=" 1"
  890. D["HAVE_SYS_REG_H"]=" 1"
  891. D["HAVE_SYS_DEBUGREG_H"]=" 1"
  892. D["HAVE_SYS_SELECT_H"]=" 1"
  893. D["HAVE_SYS_SYSCALL_H"]=" 1"
  894. D["HAVE_TERMIOS_H"]=" 1"
  895. D["HAVE_TERMIO_H"]=" 1"
  896. D["HAVE_SGTTY_H"]=" 1"
  897. D["HAVE_DLFCN_H"]=" 1"
  898. D["HAVE_SYS_USER_H"]=" 1"
  899. D["HAVE_CURSES_H"]=" 1"
  900. D["HAVE_NCURSES_H"]=" 1"
  901. D["HAVE_NCURSES_NCURSES_H"]=" 1"
  902. D["HAVE_NCURSES_TERM_H"]=" 1"
  903. D["HAVE_TERM_H"]=" 1"
  904. D["HAVE_DECL_FREE"]=" 1"
  905. D["HAVE_DECL_MALLOC"]=" 1"
  906. D["HAVE_DECL_REALLOC"]=" 1"
  907. D["HAVE_DECL_SNPRINTF"]=" 1"
  908. D["HAVE_LC_MESSAGES"]=" 1"
  909. D["HAVE_STRUCT_STAT_ST_BLOCKS"]=" 1"
  910. D["HAVE_STRUCT_STAT_ST_BLKSIZE"]=" 1"
  911. D["RETSIGTYPE"]=" void"
  912. D["HAVE_SOCKLEN_T"]=" 1"
  913. D["HAVE_ALLOCA_H"]=" 1"
  914. D["HAVE_ALLOCA"]=" 1"
  915. D["HAVE_STDLIB_H"]=" 1"
  916. D["HAVE_UNISTD_H"]=" 1"
  917. D["HAVE_GETPAGESIZE"]=" 1"
  918. D["HAVE_MMAP"]=" 1"
  919. D["HAVE_FORK"]=" 1"
  920. D["HAVE_VFORK"]=" 1"
  921. D["HAVE_WORKING_VFORK"]=" 1"
  922. D["HAVE_WORKING_FORK"]=" 1"
  923. D["HAVE_CANONICALIZE_FILE_NAME"]=" 1"
  924. D["HAVE_REALPATH"]=" 1"
  925. D["HAVE_GETRUSAGE"]=" 1"
  926. D["HAVE_GETUID"]=" 1"
  927. D["HAVE_GETGID"]=" 1"
  928. D["HAVE_PIPE"]=" 1"
  929. D["HAVE_POLL"]=" 1"
  930. D["HAVE_PREAD"]=" 1"
  931. D["HAVE_PREAD64"]=" 1"
  932. D["HAVE_PWRITE"]=" 1"
  933. D["HAVE_READLINK"]=" 1"
  934. D["HAVE_RESIZE_TERM"]=" 1"
  935. D["HAVE_SBRK"]=" 1"
  936. D["HAVE_SETPGID"]=" 1"
  937. D["HAVE_SETPGRP"]=" 1"
  938. D["HAVE_SETSID"]=" 1"
  939. D["HAVE_SIGACTION"]=" 1"
  940. D["HAVE_SIGPROCMASK"]=" 1"
  941. D["HAVE_SIGSETMASK"]=" 1"
  942. D["HAVE_SOCKETPAIR"]=" 1"
  943. D["HAVE_WBORDER"]=" 1"
  944. D["HAVE_WRESIZE"]=" 1"
  945. D["HAVE_SETLOCALE"]=" 1"
  946. D["HAVE_BTOWC"]=" 1"
  947. D["HAVE_SETRLIMIT"]=" 1"
  948. D["HAVE_GETRLIMIT"]=" 1"
  949. D["HAVE_POSIX_MADVISE"]=" 1"
  950. D["HAVE_WAITPID"]=" 1"
  951. D["HAVE_LSTAT"]=" 1"
  952. D["HAVE_SIGALTSTACK"]=" 1"
  953. D["HAVE_LANGINFO_CODESET"]=" 1"
  954. D["STDC_HEADERS"]=" 1"
  955. D["HAVE_ALLOCA_H"]=" 1"
  956. D["HAVE_ALLOCA"]=" 1"
  957. D["HAVE_LANGINFO_CODESET"]=" 1"
  958. D["HAVE_LINUX_PERF_EVENT_H"]=" 1"
  959. D["HAVE_LOCALE_H"]=" 1"
  960. D["HAVE_MEMORY_H"]=" 1"
  961. D["HAVE_SIGNAL_H"]=" 1"
  962. D["HAVE_SYS_RESOURCE_H"]=" 1"
  963. D["HAVE_SYS_SOCKET_H"]=" 1"
  964. D["HAVE_SYS_SYSCALL_H"]=" 1"
  965. D["HAVE_SYS_UN_H"]=" 1"
  966. D["HAVE_SYS_WAIT_H"]=" 1"
  967. D["HAVE_THREAD_DB_H"]=" 1"
  968. D["HAVE_WAIT_H"]=" 1"
  969. D["HAVE_GETRLIMIT"]=" 1"
  970. D["HAVE_PIPE"]=" 1"
  971. D["HAVE_PIPE2"]=" 1"
  972. D["HAVE_SOCKETPAIR"]=" 1"
  973. D["HAVE_DECL_STRERROR"]=" 1"
  974. D["HAVE_DECL_STRSTR"]=" 1"
  975. D["HAVE_SIGSETJMP"]=" 1"
  976. D["HAVE_DECL_PTRACE"]=" 1"
  977. D["PTRACE_TYPE_RET"]=" long"
  978. D["PTRACE_TYPE_ARG3"]=" long"
  979. D["PTRACE_TYPE_ARG4"]=" long"
  980. D["SETPGRP_VOID"]=" 1"
  981. D["HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE"]=" 1"
  982. D["HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE"]=" 1"
  983. D["HAVE_PTRACE_GETREGS"]=" 1"
  984. D["HAVE_PTRACE_GETFPXREGS"]=" 1"
  985. D["HAVE_PRGREGSET_T"]=" 1"
  986. D["HAVE_PRFPREGSET_T"]=" 1"
  987. D["HAVE_LWPID_T"]=" 1"
  988. D["HAVE_PSADDR_T"]=" 1"
  989. D["PRINTF_HAS_LONG_LONG"]=" 1"
  990. D["HAVE_LONG_DOUBLE"]=" 1"
  991. D["PRINTF_HAS_LONG_DOUBLE"]=" 1"
  992. D["SCANF_HAS_LONG_DOUBLE"]=" 1"
  993. D["THREAD_DB_HAS_TD_NOTALLOC"]=" 1"
  994. D["THREAD_DB_HAS_TD_VERSION"]=" 1"
  995. D["THREAD_DB_HAS_TD_NOTLS"]=" 1"
  996. D["HAVE_TKILL_SYSCALL"]=" 1"
  997. D["HAVE_DECL_ADDR_NO_RANDOMIZE"]=" 1"
  998. D["HAVE_PERSONALITY"]=" 1"
  999. D["GDBINIT"]=" \".gdbinit\""
  1000. D["TARGET_SYSTEM_ROOT"]=" \"\""
  1001. D["TARGET_SYSTEM_ROOT_RELOCATABLE"]=" 0"
  1002. D["SYSTEM_GDBINIT"]=" \"\""
  1003. D["SYSTEM_GDBINIT_RELOCATABLE"]=" 0"
  1004. D["HAVE_ELF"]=" 1"
  1005. D["HAVE_LIBLZMA"]=" 1"
  1006. D["GDB_HOST_FLOAT_FORMAT"]=" 0"
  1007. D["GDB_HOST_DOUBLE_FORMAT"]=" 0"
  1008. D["GDB_HOST_LONG_DOUBLE_FORMAT"]=" 0"
  1009. D["GDB_OSABI_DEFAULT"]=" GDB_OSABI_LINUX"
  1010. D["GDB_NM_FILE"]=" \"config/nm-linux.h\""
  1011. D["GDB_DEFAULT_HOST_CHARSET"]=" \"UTF-8\""
  1012.   for (key in D) D_is_set[key] = 1
  1013.   FS = ""
  1014. }
  1015. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  1016.   line = $ 0
  1017.   split(line, arg, " ")
  1018.   if (arg[1] == "#") {
  1019.     defundef = arg[2]
  1020.     mac1 = arg[3]
  1021.   } else {
  1022.     defundef = substr(arg[1], 2)
  1023.     mac1 = arg[2]
  1024.   }
  1025.   split(mac1, mac2, "(") #)
  1026.   macro = mac2[1]
  1027.   prefix = substr(line, 1, index(line, defundef) - 1)
  1028.   if (D_is_set[macro]) {
  1029.     # Preserve the white space surrounding the "#".
  1030.     print prefix "define", macro P[macro] D[macro]
  1031.     next
  1032.   } else {
  1033.     # Replace #undef with comments.  This is necessary, for example,
  1034.     # in the case of _POSIX_SOURCE, which is predefined and required
  1035.     # on some systems where configure will not decide to define it.
  1036.     if (defundef == "undef") {
  1037.       print "/*", prefix defundef, macro, "*/"
  1038.       next
  1039.     }
  1040.   }
  1041. }
  1042. { print }
  1043. _ACAWK
  1044.   as_fn_error "could not setup config headers machinery" "$LINENO" 5
  1045. fi # test -n "$CONFIG_HEADERS"


  1046. eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS"
  1047. shift
  1048. for ac_tag
  1049. do
  1050.   case $ac_tag in
  1051.   :[FHLC]) ac_mode=$ac_tag; continue;;
  1052.   esac
  1053.   case $ac_mode$ac_tag in
  1054.   :[FHL]*:*);;
  1055.   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  1056.   :[FH]-) ac_tag=-:-;;
  1057.   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  1058.   esac
  1059.   ac_save_IFS=$IFS
  1060.   IFS=:
  1061.   set x $ac_tag
  1062.   IFS=$ac_save_IFS
  1063.   shift
  1064.   ac_file=$1
  1065.   shift

  1066.   case $ac_mode in
  1067.   :L) ac_source=$1;;
  1068.   :[FH])
  1069.     ac_file_inputs=
  1070.     for ac_f
  1071.     do
  1072.       case $ac_f in
  1073.       -) ac_f="$tmp/stdin";;
  1074.       *) # Look for the file first in the build tree, then in the source tree
  1075.          # (if the path is not absolute).  The absolute path cannot be DOS-style,
  1076.          # because $ac_f cannot contain `:'.
  1077.          test -f "$ac_f" ||
  1078.            case $ac_f in
  1079.            [\\/$]*) false;;
  1080.            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  1081.            esac ||
  1082.            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  1083.       esac
  1084.       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  1085.       as_fn_append ac_file_inputs " '$ac_f'"
  1086.     done

  1087.     # Let's still pretend it is `configure' which instantiates (i.e., don't
  1088.     # use $as_me), people would be surprised to read:
  1089.     #    /* config.h.  Generated by config.status.  */
  1090.     configure_input='Generated from '`
  1091.           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  1092.         `' by configure.'
  1093.     if test x"$ac_file" != x-; then
  1094.       configure_input="$ac_file$configure_input"
  1095.       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  1096. $as_echo "$as_me: creating $ac_file" >&6;}
  1097.     fi
  1098.     # Neutralize special characters interpreted by sed in replacement strings.
  1099.     case $configure_input in #(
  1100.     *\&* | *\|* | *\\* )
  1101.        ac_sed_conf_input=`$as_echo "$configure_input" |
  1102.        sed 's/[\\\\&|]/\\\\&/g'`;; #(
  1103.     *) ac_sed_conf_input=$configure_input;;
  1104.     esac

  1105.     case $ac_tag in
  1106.     *:-:* | *:-) cat >"$tmp/stdin" \
  1107.       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  1108.     esac
  1109.     ;;
  1110.   esac

  1111.   ac_dir=`$as_dirname -- "$ac_file" ||
  1112. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1113.          X"$ac_file" : 'X\(//\)[^/]' \| \
  1114.          X"$ac_file" : 'X\(//\)$' \| \
  1115.          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  1116. $as_echo X"$ac_file" |
  1117.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1118.             s//\1/
  1119.             q
  1120.           }
  1121.           /^X\(\/\/\)[^/].*/{
  1122.             s//\1/
  1123.             q
  1124.           }
  1125.           /^X\(\/\/\)$/{
  1126.             s//\1/
  1127.             q
  1128.           }
  1129.           /^X\(\/\).*/{
  1130.             s//\1/
  1131.             q
  1132.           }
  1133.           s/.*/./; q'`
  1134.   as_dir="$ac_dir"; as_fn_mkdir_p
  1135.   ac_builddir=.

  1136. case "$ac_dir" in
  1137. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1138. *)
  1139.   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1140.   # A ".." for each directory in $ac_dir_suffix.
  1141.   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1142.   case $ac_top_builddir_sub in
  1143.   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1144.   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1145.   esac ;;
  1146. esac
  1147. ac_abs_top_builddir=$ac_pwd
  1148. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1149. # for backward compatibility:
  1150. ac_top_builddir=$ac_top_build_prefix

  1151. case $srcdir in
  1152.   .)  # We are building in place.
  1153.     ac_srcdir=.
  1154.     ac_top_srcdir=$ac_top_builddir_sub
  1155.     ac_abs_top_srcdir=$ac_pwd ;;
  1156.   [\\/]* | ?:[\\/]* )  # Absolute name.
  1157.     ac_srcdir=$srcdir$ac_dir_suffix;
  1158.     ac_top_srcdir=$srcdir
  1159.     ac_abs_top_srcdir=$srcdir ;;
  1160.   *) # Relative name.
  1161.     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1162.     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1163.     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1164. esac
  1165. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix


  1166.   case $ac_mode in
  1167.   :F)
  1168.   #
  1169.   # CONFIG_FILE
  1170.   #

  1171.   case $INSTALL in
  1172.   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  1173.   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  1174.   esac
  1175. # If the template does not know about datarootdir, expand it.
  1176. # FIXME: This hack should be removed a few years after 2.60.
  1177. ac_datarootdir_hack=; ac_datarootdir_seen=
  1178. ac_sed_dataroot='
  1179. /datarootdir/ {
  1180.   p
  1181.   q
  1182. }
  1183. /@datadir@/p
  1184. /@docdir@/p
  1185. /@infodir@/p
  1186. /@localedir@/p
  1187. /@mandir@/p'
  1188. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1189. *datarootdir*) ac_datarootdir_seen=yes;;
  1190. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1191.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1192. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1193.   ac_datarootdir_hack='
  1194.   s&@datadir@&${datarootdir}&g
  1195.   s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
  1196.   s&@infodir@&${datarootdir}/info&g
  1197.   s&@localedir@&${datadir}/locale&g
  1198.   s&@mandir@&${datarootdir}/man&g
  1199.   s&\${datarootdir}&${prefix}/share&g' ;;
  1200. esac
  1201. ac_sed_extra="/^[         ]*VPATH[         ]*=/{
  1202. s/:*\$(srcdir):*/:/
  1203. s/:*\${srcdir}:*/:/
  1204. s/:*@srcdir@:*/:/
  1205. s/^\([^=]*=[         ]*\):*/\1/
  1206. s/:*$//
  1207. s/^[^=]*=[         ]*$//
  1208. }

  1209. :t
  1210. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1211. s|@configure_input@|$ac_sed_conf_input|;t t
  1212. s&@top_builddir@&$ac_top_builddir_sub&;t t
  1213. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1214. s&@srcdir@&$ac_srcdir&;t t
  1215. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1216. s&@top_srcdir@&$ac_top_srcdir&;t t
  1217. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1218. s&@builddir@&$ac_builddir&;t t
  1219. s&@abs_builddir@&$ac_abs_builddir&;t t
  1220. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1221. s&@INSTALL@&$ac_INSTALL&;t t
  1222. $ac_datarootdir_hack
  1223. "
  1224. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
  1225. if $ac_cs_awk_getline; then
  1226.   $AWK -f "$tmp/subs.awk"
  1227. else
  1228.   $AWK -f "$tmp/subs.awk" | $SHELL
  1229. fi >$tmp/out \
  1230.   || as_fn_error "could not create $ac_file" "$LINENO" 5

  1231. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1232.   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  1233.   { ac_out=`sed -n '/^[         ]*datarootdir[         ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  1234.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1235. which seems to be undefined.  Please make sure it is defined." >&5
  1236. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1237. which seems to be undefined.  Please make sure it is defined." >&2;}

  1238.   rm -f "$tmp/stdin"
  1239.   case $ac_file in
  1240.   -) cat "$tmp/out" && rm -f "$tmp/out";;
  1241.   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  1242.   esac \
  1243.   || as_fn_error "could not create $ac_file" "$LINENO" 5
  1244. ;;
  1245.   :H)
  1246.   #
  1247.   # CONFIG_HEADER
  1248.   #
  1249.   if test x"$ac_file" != x-; then
  1250.     {
  1251.       $as_echo "/* $configure_input  */" \
  1252.       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  1253.     } >"$tmp/config.h" \
  1254.       || as_fn_error "could not create $ac_file" "$LINENO" 5
  1255.     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  1256.       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  1257. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  1258.     else
  1259.       rm -f "$ac_file"
  1260.       mv "$tmp/config.h" "$ac_file" \
  1261.         || as_fn_error "could not create $ac_file" "$LINENO" 5
  1262.     fi
  1263.   else
  1264.     $as_echo "/* $configure_input  */" \
  1265.       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  1266.       || as_fn_error "could not create -" "$LINENO" 5
  1267.   fi
  1268. ;;
  1269.   :L)
  1270.   #
  1271.   # CONFIG_LINK
  1272.   #

  1273.   if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
  1274.     :
  1275.   else
  1276.     # Prefer the file from the source tree if names are identical.
  1277.     if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
  1278.       ac_source=$srcdir/$ac_source
  1279.     fi

  1280.     { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
  1281. $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}

  1282.     if test ! -r "$ac_source"; then
  1283.       as_fn_error "$ac_source: file not found" "$LINENO" 5
  1284.     fi
  1285.     rm -f "$ac_file"

  1286.     # Try a relative symlink, then a hard link, then a copy.
  1287.     case $srcdir in
  1288.     [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
  1289.         *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
  1290.     esac
  1291.     ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
  1292.       ln "$ac_source" "$ac_file" 2>/dev/null ||
  1293.       cp -p "$ac_source" "$ac_file" ||
  1294.       as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
  1295.   fi
  1296. ;;
  1297.   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  1298. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1299. ;;
  1300.   esac


  1301.   case $ac_file$ac_mode in
  1302.     "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
  1303.     "gcore":F) chmod +x gcore ;;
  1304.     "default":C)
  1305. case x$CONFIG_HEADERS in
  1306. xconfig.h:config.in)
  1307. echo > stamp-h ;;
  1308. esac
  1309. ;;

  1310.   esac
  1311. done # for ac_tag


  1312. as_fn_exit 0