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 7debug=false 8ac_cs_recheck=false 9ac_cs_silent=false 10 11SHELL=${CONFIG_SHELL-/bin/sh} 12export SHELL 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 138# as_fn_error STATUS ERROR [LINENO LOG_FD] 139# ---------------------------------------- 140# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 141# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 142# script with STATUS, using 1 if that was 0. 143as_fn_error () 144{ 145 as_status=$1; test $as_status -eq 0 && as_status=1 146 if test "$4"; then 147 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 148 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 149 fi 150 $as_echo "$as_me: error: $2" >&2 151 as_fn_exit $as_status 152} # as_fn_error 153 154 155# as_fn_set_status STATUS 156# ----------------------- 157# Set $? to STATUS, without forking. 158as_fn_set_status () 159{ 160 return $1 161} # as_fn_set_status 162 163# as_fn_exit STATUS 164# ----------------- 165# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 166as_fn_exit () 167{ 168 set +e 169 as_fn_set_status $1 170 exit $1 171} # as_fn_exit 172 173# as_fn_unset VAR 174# --------------- 175# Portably unset VAR. 176as_fn_unset () 177{ 178 { eval $1=; unset $1;} 179} 180as_unset=as_fn_unset 181# as_fn_append VAR VALUE 182# ---------------------- 183# Append the text in VALUE to the end of the definition contained in VAR. Take 184# advantage of any shell optimizations that allow amortized linear growth over 185# repeated appends, instead of the typical quadratic growth present in naive 186# implementations. 187if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 188 eval 'as_fn_append () 189 { 190 eval $1+=\$2 191 }' 192else 193 as_fn_append () 194 { 195 eval $1=\$$1\$2 196 } 197fi # as_fn_append 198 199# as_fn_arith ARG... 200# ------------------ 201# Perform arithmetic evaluation on the ARGs, and store the result in the 202# global $as_val. Take advantage of shells that can avoid forks. The arguments 203# must be portable across $(()) and expr. 204if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 205 eval 'as_fn_arith () 206 { 207 as_val=$(( $* )) 208 }' 209else 210 as_fn_arith () 211 { 212 as_val=`expr "$@" || test $? -eq 1` 213 } 214fi # as_fn_arith 215 216 217if expr a : '\(a\)' >/dev/null 2>&1 && 218 test "X`expr 00001 : '.*\(...\)'`" = X001; then 219 as_expr=expr 220else 221 as_expr=false 222fi 223 224if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 225 as_basename=basename 226else 227 as_basename=false 228fi 229 230if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 231 as_dirname=dirname 232else 233 as_dirname=false 234fi 235 236as_me=`$as_basename -- "$0" || 237$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 238 X"$0" : 'X\(//\)$' \| \ 239 X"$0" : 'X\(/\)' \| . 2>/dev/null || 240$as_echo X/"$0" | 241 sed '/^.*\/\([^/][^/]*\)\/*$/{ 242 s//\1/ 243 q 244 } 245 /^X\/\(\/\/\)$/{ 246 s//\1/ 247 q 248 } 249 /^X\/\(\/\).*/{ 250 s//\1/ 251 q 252 } 253 s/.*/./; q'` 254 255# Avoid depending upon Character Ranges. 256as_cr_letters='abcdefghijklmnopqrstuvwxyz' 257as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 258as_cr_Letters=$as_cr_letters$as_cr_LETTERS 259as_cr_digits='0123456789' 260as_cr_alnum=$as_cr_Letters$as_cr_digits 261 262ECHO_C= ECHO_N= ECHO_T= 263case `echo -n x` in #((((( 264-n*) 265 case `echo 'xy\c'` in 266 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 267 xy) ECHO_C='\c';; 268 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 269 ECHO_T=' ';; 270 esac;; 271*) 272 ECHO_N='-n';; 273esac 274 275rm -f conf$$ conf$$.exe conf$$.file 276if test -d conf$$.dir; then 277 rm -f conf$$.dir/conf$$.file 278else 279 rm -f conf$$.dir 280 mkdir conf$$.dir 2>/dev/null 281fi 282if (echo >conf$$.file) 2>/dev/null; then 283 if ln -s conf$$.file conf$$ 2>/dev/null; then 284 as_ln_s='ln -s' 285 # ... but there are two gotchas: 286 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 287 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 288 # In both cases, we have to default to `cp -pR'. 289 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 290 as_ln_s='cp -pR' 291 elif ln conf$$.file conf$$ 2>/dev/null; then 292 as_ln_s=ln 293 else 294 as_ln_s='cp -pR' 295 fi 296else 297 as_ln_s='cp -pR' 298fi 299rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 300rmdir conf$$.dir 2>/dev/null 301 302 303# as_fn_mkdir_p 304# ------------- 305# Create "$as_dir" as a directory, including parents if necessary. 306as_fn_mkdir_p () 307{ 308 309 case $as_dir in #( 310 -*) as_dir=./$as_dir;; 311 esac 312 test -d "$as_dir" || eval $as_mkdir_p || { 313 as_dirs= 314 while :; do 315 case $as_dir in #( 316 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 317 *) as_qdir=$as_dir;; 318 esac 319 as_dirs="'$as_qdir' $as_dirs" 320 as_dir=`$as_dirname -- "$as_dir" || 321$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 322 X"$as_dir" : 'X\(//\)[^/]' \| \ 323 X"$as_dir" : 'X\(//\)$' \| \ 324 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 325$as_echo X"$as_dir" | 326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 327 s//\1/ 328 q 329 } 330 /^X\(\/\/\)[^/].*/{ 331 s//\1/ 332 q 333 } 334 /^X\(\/\/\)$/{ 335 s//\1/ 336 q 337 } 338 /^X\(\/\).*/{ 339 s//\1/ 340 q 341 } 342 s/.*/./; q'` 343 test -d "$as_dir" && break 344 done 345 test -z "$as_dirs" || eval "mkdir $as_dirs" 346 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 347 348 349} # as_fn_mkdir_p 350if mkdir -p . 2>/dev/null; then 351 as_mkdir_p='mkdir -p "$as_dir"' 352else 353 test -d ./-p && rmdir ./-p 354 as_mkdir_p=false 355fi 356 357 358# as_fn_executable_p FILE 359# ----------------------- 360# Test if FILE is an executable regular file. 361as_fn_executable_p () 362{ 363 test -f "$1" && test -x "$1" 364} # as_fn_executable_p 365as_test_x='test -x' 366as_executable_p=as_fn_executable_p 367 368# Sed expression to map a string onto a valid CPP name. 369as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 370 371# Sed expression to map a string onto a valid variable name. 372as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 373 374 375exec 6>&1 376## ----------------------------------- ## 377## Main body of $CONFIG_STATUS script. ## 378## ----------------------------------- ## 379# Save the log message, to keep $0 and so on meaningful, and to 380# report actual input values of CONFIG_FILES etc. instead of their 381# values after options handling. 382ac_log=" 383This file was extended by elfutils $as_me 0.161, which was 384generated by GNU Autoconf 2.69. Invocation command line was 385 386 CONFIG_FILES = $CONFIG_FILES 387 CONFIG_HEADERS = $CONFIG_HEADERS 388 CONFIG_LINKS = $CONFIG_LINKS 389 CONFIG_COMMANDS = $CONFIG_COMMANDS 390 $ $0 $@ 391 392on `(hostname || uname -n) 2>/dev/null | sed 1q` 393" 394 395# Files that config.status was made for. 396config_files=" config/Makefile Makefile m4/Makefile elfutils.spec:config/elfutils.spec.in lib/Makefile libelf/Makefile libebl/Makefile libdwelf/Makefile libdw/Makefile libdwfl/Makefile libcpu/Makefile libasm/Makefile backends/Makefile src/Makefile po/Makefile.in tests/Makefile version.h:config/version.h.in" 397config_headers=" config.h" 398config_commands=" depfiles po-directories" 399 400ac_cs_usage="\ 401\`$as_me' instantiates files and other configuration actions 402from templates according to the current configuration. Unless the files 403and actions are specified as TAGs, all are instantiated by default. 404 405Usage: $0 [OPTION]... [TAG]... 406 407 -h, --help print this help, then exit 408 -V, --version print version number and configuration settings, then exit 409 --config print configuration, then exit 410 -q, --quiet, --silent 411 do not print progress messages 412 -d, --debug don't remove temporary files 413 --recheck update $as_me by reconfiguring in the same conditions 414 --file=FILE[:TEMPLATE] 415 instantiate the configuration file FILE 416 --header=FILE[:TEMPLATE] 417 instantiate the configuration header FILE 418 419Configuration files: 420$config_files 421 422Configuration headers: 423$config_headers 424 425Configuration commands: 426$config_commands 427 428Report bugs to <https://bugzilla.redhat.com/>." 429 430ac_cs_config="" 431ac_cs_version="\ 432elfutils config.status 0.161 433configured by ./configure, generated by GNU Autoconf 2.69, 434 with options \"$ac_cs_config\" 435 436Copyright (C) 2012 Free Software Foundation, Inc. 437This config.status script is free software; the Free Software Foundation 438gives unlimited permission to copy, distribute and modify it." 439 440ac_pwd='/huge-ssd/aosp-arm64/external/elfutils/src' 441srcdir='.' 442INSTALL='/usr/bin/install -c' 443MKDIR_P='/bin/mkdir -p' 444AWK='gawk' 445test -n "$AWK" || AWK=awk 446# The default lists apply if the user does not specify any file. 447ac_need_defaults=: 448while test $# != 0 449do 450 case $1 in 451 --*=?*) 452 ac_option=`expr "X$1" : 'X\([^=]*\)='` 453 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 454 ac_shift=: 455 ;; 456 --*=) 457 ac_option=`expr "X$1" : 'X\([^=]*\)='` 458 ac_optarg= 459 ac_shift=: 460 ;; 461 *) 462 ac_option=$1 463 ac_optarg=$2 464 ac_shift=shift 465 ;; 466 esac 467 468 case $ac_option in 469 # Handling of the options. 470 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 471 ac_cs_recheck=: ;; 472 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 473 $as_echo "$ac_cs_version"; exit ;; 474 --config | --confi | --conf | --con | --co | --c ) 475 $as_echo "$ac_cs_config"; exit ;; 476 --debug | --debu | --deb | --de | --d | -d ) 477 debug=: ;; 478 --file | --fil | --fi | --f ) 479 $ac_shift 480 case $ac_optarg in 481 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 482 '') as_fn_error $? "missing file argument" ;; 483 esac 484 as_fn_append CONFIG_FILES " '$ac_optarg'" 485 ac_need_defaults=false;; 486 --header | --heade | --head | --hea ) 487 $ac_shift 488 case $ac_optarg in 489 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 490 esac 491 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 492 ac_need_defaults=false;; 493 --he | --h) 494 # Conflict between --help and --header 495 as_fn_error $? "ambiguous option: \`$1' 496Try \`$0 --help' for more information.";; 497 --help | --hel | -h ) 498 $as_echo "$ac_cs_usage"; exit ;; 499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 500 | -silent | --silent | --silen | --sile | --sil | --si | --s) 501 ac_cs_silent=: ;; 502 503 # This is an error. 504 -*) as_fn_error $? "unrecognized option: \`$1' 505Try \`$0 --help' for more information." ;; 506 507 *) as_fn_append ac_config_targets " $1" 508 ac_need_defaults=false ;; 509 510 esac 511 shift 512done 513 514ac_configure_extra_args= 515 516if $ac_cs_silent; then 517 exec 6>/dev/null 518 ac_configure_extra_args="$ac_configure_extra_args --silent" 519fi 520 521if $ac_cs_recheck; then 522 set X /bin/sh './configure' $ac_configure_extra_args --no-create --no-recursion 523 shift 524 $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 525 CONFIG_SHELL='/bin/sh' 526 export CONFIG_SHELL 527 exec "$@" 528fi 529 530exec 5>>config.log 531{ 532 echo 533 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 534## Running $as_me. ## 535_ASBOX 536 $as_echo "$ac_log" 537} >&5 538 539# 540# INIT-COMMANDS 541# 542AMDEP_TRUE="" ac_aux_dir="config" 543# Capture the value of obsolete ALL_LINGUAS because we need it to compute 544 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 545 # from automake < 1.5. 546 eval 'OBSOLETE_ALL_LINGUAS''=""' 547 # Capture the value of LINGUAS because we need it to compute CATALOGS. 548 LINGUAS="%UNSET%" 549 550 551 552# Handling of arguments. 553for ac_config_target in $ac_config_targets 554do 555 case $ac_config_target in 556 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;; 557 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 558 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 559 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 560 "elfutils.spec") CONFIG_FILES="$CONFIG_FILES elfutils.spec:config/elfutils.spec.in" ;; 561 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 562 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 563 "libelf/Makefile") CONFIG_FILES="$CONFIG_FILES libelf/Makefile" ;; 564 "libebl/Makefile") CONFIG_FILES="$CONFIG_FILES libebl/Makefile" ;; 565 "libdwelf/Makefile") CONFIG_FILES="$CONFIG_FILES libdwelf/Makefile" ;; 566 "libdw/Makefile") CONFIG_FILES="$CONFIG_FILES libdw/Makefile" ;; 567 "libdwfl/Makefile") CONFIG_FILES="$CONFIG_FILES libdwfl/Makefile" ;; 568 "libcpu/Makefile") CONFIG_FILES="$CONFIG_FILES libcpu/Makefile" ;; 569 "libasm/Makefile") CONFIG_FILES="$CONFIG_FILES libasm/Makefile" ;; 570 "backends/Makefile") CONFIG_FILES="$CONFIG_FILES backends/Makefile" ;; 571 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 572 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 573 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 574 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 575 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:config/version.h.in" ;; 576 577 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 578 esac 579done 580 581 582# If the user did not use the arguments to specify the items to instantiate, 583# then the envvar interface is used. Set only those that are not. 584# We use the long form for the default assignment because of an extremely 585# bizarre bug on SunOS 4.1.3. 586if $ac_need_defaults; then 587 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 588 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 589 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 590fi 591 592# Have a temporary directory for convenience. Make it in the build tree 593# simply because there is no reason against having it here, and in addition, 594# creating and moving files from /tmp can sometimes cause problems. 595# Hook for its removal unless debugging. 596# Note that there is a small window in which the directory will not be cleaned: 597# after its creation but before its name has been assigned to `$tmp'. 598$debug || 599{ 600 tmp= ac_tmp= 601 trap 'exit_status=$? 602 : "${ac_tmp:=$tmp}" 603 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 604' 0 605 trap 'as_fn_exit 1' 1 2 13 15 606} 607# Create a (secure) tmp directory for tmp files. 608 609{ 610 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 611 test -d "$tmp" 612} || 613{ 614 tmp=./conf$$-$RANDOM 615 (umask 077 && mkdir "$tmp") 616} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 617ac_tmp=$tmp 618 619# Set up the scripts for CONFIG_FILES section. 620# No need to generate them if there are no CONFIG_FILES. 621# This happens for instance with `./config.status config.h'. 622if test -n "$CONFIG_FILES"; then 623 624 625ac_cr=`echo X | tr X '\015'` 626# On cygwin, bash can eat \r inside `` if the user requested igncr. 627# But we know of no other shell where ac_cr would be empty at this 628# point, so we can use a bashism as a fallback. 629if test "x$ac_cr" = x; then 630 eval ac_cr=\$\'\\r\' 631fi 632ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 633if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 634 ac_cs_awk_cr='\\r' 635else 636 ac_cs_awk_cr=$ac_cr 637fi 638 639echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 640cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && 641S["am__EXEEXT_FALSE"]="" 642S["am__EXEEXT_TRUE"]="#" 643S["LTLIBOBJS"]="" 644S["LIBOBJS"]="" 645S["CC_BIARCH"]="gcc -m32" 646S["BIARCH_FALSE"]="#" 647S["BIARCH_TRUE"]="" 648S["EGREP"]="/bin/grep -E" 649S["GREP"]="/bin/grep" 650S["CPP"]="gcc -E" 651S["eu_version"]="161" 652S["XGETTEXT_EXTRA_OPTIONS"]="" 653S["MSGMERGE"]="/usr/bin/msgmerge" 654S["XGETTEXT_015"]="/usr/bin/xgettext" 655S["XGETTEXT"]="/usr/bin/xgettext" 656S["GMSGFMT_015"]="/usr/bin/msgfmt" 657S["MSGFMT_015"]="/usr/bin/msgfmt" 658S["GMSGFMT"]="/usr/bin/msgfmt" 659S["MSGFMT"]="/usr/bin/msgfmt" 660S["GETTEXT_MACRO_VERSION"]="0.18" 661S["USE_NLS"]="yes" 662S["STANDALONE_FALSE"]="" 663S["STANDALONE_TRUE"]="#" 664S["HAVE_LIBASM_FALSE"]="#" 665S["HAVE_LIBASM_TRUE"]="" 666S["FATAL_TEXTREL_FALSE"]="#" 667S["FATAL_TEXTREL_TRUE"]="" 668S["DEMANGLE_FALSE"]="#" 669S["DEMANGLE_TRUE"]="" 670S["zip_LIBS"]="-lz " 671S["LZMA_FALSE"]="" 672S["LZMA_TRUE"]="#" 673S["BZLIB_FALSE"]="" 674S["BZLIB_TRUE"]="#" 675S["ZLIB_FALSE"]="#" 676S["ZLIB_TRUE"]="" 677S["LIBEBL_SUBDIR"]="elfutils" 678S["TESTS_RPATH_FALSE"]="" 679S["TESTS_RPATH_TRUE"]="#" 680S["BUILD_STATIC_FALSE"]="" 681S["BUILD_STATIC_TRUE"]="#" 682S["USE_VALGRIND_FALSE"]="" 683S["USE_VALGRIND_TRUE"]="#" 684S["HAVE_VALGRIND"]="" 685S["GCOV_FALSE"]="" 686S["GCOV_TRUE"]="#" 687S["GPROF_FALSE"]="" 688S["GPROF_TRUE"]="#" 689S["DEBUGPRED"]="0" 690S["NEVER_FALSE"]="" 691S["NEVER_TRUE"]="#" 692S["base_cpu"]="none" 693S["NATIVE_LD_FALSE"]="" 694S["NATIVE_LD_TRUE"]="#" 695S["NM"]="nm" 696S["READELF"]="readelf" 697S["ac_ct_AR"]="ar" 698S["AR"]="ar" 699S["LEXLIB"]="-lfl" 700S["LEX_OUTPUT_ROOT"]="lex.yy" 701S["LEX"]="flex" 702S["YFLAGS"]="" 703S["YACC"]="bison -y" 704S["RANLIB"]="ranlib" 705S["am__fastdepCC_FALSE"]="#" 706S["am__fastdepCC_TRUE"]="" 707S["CCDEPMODE"]="depmode=gcc3" 708S["am__nodep"]="_no" 709S["AMDEPBACKSLASH"]="\\" 710S["AMDEP_FALSE"]="#" 711S["AMDEP_TRUE"]="" 712S["am__quote"]="" 713S["am__include"]="include" 714S["DEPDIR"]=".deps" 715S["OBJEXT"]="o" 716S["EXEEXT"]="" 717S["ac_ct_CC"]="gcc" 718S["CPPFLAGS"]="" 719S["LDFLAGS"]="" 720S["CFLAGS"]="-g -O2" 721S["CC"]="gcc" 722S["USE_LOCKS_FALSE"]="" 723S["USE_LOCKS_TRUE"]="#" 724S["host_os"]="linux-gnu" 725S["host_vendor"]="unknown" 726S["host_cpu"]="x86_64" 727S["host"]="x86_64-unknown-linux-gnu" 728S["build_os"]="linux-gnu" 729S["build_vendor"]="unknown" 730S["build_cpu"]="x86_64" 731S["build"]="x86_64-unknown-linux-gnu" 732S["MODVERSION"]="Build on enh.mtv.corp.google.com 2015-02-18T19:32:04-0800" 733S["MAINT"]="#" 734S["MAINTAINER_MODE_FALSE"]="" 735S["MAINTAINER_MODE_TRUE"]="#" 736S["AM_BACKSLASH"]="\\" 737S["AM_DEFAULT_VERBOSITY"]="1" 738S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)" 739S["AM_V"]="$(V)" 740S["am__untar"]="$${TAR-tar} xf -" 741S["am__tar"]="$${TAR-tar} chof - \"$$tardir\"" 742S["AMTAR"]="$${TAR-tar}" 743S["am__leading_dot"]="." 744S["SET_MAKE"]="" 745S["AWK"]="gawk" 746S["mkdir_p"]="$(MKDIR_P)" 747S["MKDIR_P"]="/bin/mkdir -p" 748S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" 749S["STRIP"]="" 750S["install_sh"]="${SHELL} /huge-ssd/aosp-arm64/external/elfutils/src/config/install-sh" 751S["MAKEINFO"]="${SHELL} /huge-ssd/aosp-arm64/external/elfutils/src/config/missing makeinfo" 752S["AUTOHEADER"]="${SHELL} /huge-ssd/aosp-arm64/external/elfutils/src/config/missing autoheader" 753S["AUTOMAKE"]="${SHELL} /huge-ssd/aosp-arm64/external/elfutils/src/config/missing automake-1.14" 754S["AUTOCONF"]="${SHELL} /huge-ssd/aosp-arm64/external/elfutils/src/config/missing autoconf" 755S["ACLOCAL"]="${SHELL} /huge-ssd/aosp-arm64/external/elfutils/src/config/missing aclocal-1.14" 756S["VERSION"]="0.161" 757S["PACKAGE"]="elfutils" 758S["CYGPATH_W"]="echo" 759S["am__isrc"]="" 760S["INSTALL_DATA"]="${INSTALL} -m 644" 761S["INSTALL_SCRIPT"]="${INSTALL}" 762S["INSTALL_PROGRAM"]="${INSTALL}" 763S["target_alias"]="" 764S["host_alias"]="" 765S["build_alias"]="" 766S["LIBS"]="" 767S["ECHO_T"]="" 768S["ECHO_N"]="-n" 769S["ECHO_C"]="" 770S["DEFS"]="-DHAVE_CONFIG_H" 771S["mandir"]="${datarootdir}/man" 772S["localedir"]="${datarootdir}/locale" 773S["libdir"]="${exec_prefix}/lib" 774S["psdir"]="${docdir}" 775S["pdfdir"]="${docdir}" 776S["dvidir"]="${docdir}" 777S["htmldir"]="${docdir}" 778S["infodir"]="${datarootdir}/info" 779S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" 780S["oldincludedir"]="/usr/include" 781S["includedir"]="${prefix}/include" 782S["localstatedir"]="${prefix}/var" 783S["sharedstatedir"]="${prefix}/com" 784S["sysconfdir"]="${prefix}/etc" 785S["datadir"]="${datarootdir}" 786S["datarootdir"]="${prefix}/share" 787S["libexecdir"]="${exec_prefix}/libexec" 788S["sbindir"]="${exec_prefix}/sbin" 789S["bindir"]="${exec_prefix}/bin" 790S["program_transform_name"]="s,x,x," 791S["prefix"]="/usr/local" 792S["exec_prefix"]="${prefix}" 793S["PACKAGE_URL"]="" 794S["PACKAGE_BUGREPORT"]="https://bugzilla.redhat.com/" 795S["PACKAGE_STRING"]="elfutils 0.161" 796S["PACKAGE_VERSION"]="0.161" 797S["PACKAGE_TARNAME"]="elfutils" 798S["PACKAGE_NAME"]="elfutils" 799S["PATH_SEPARATOR"]=":" 800S["SHELL"]="/bin/sh" 801_ACAWK 802cat >>"$ac_tmp/subs1.awk" <<_ACAWK && 803 for (key in S) S_is_set[key] = 1 804 FS = "" 805 806} 807{ 808 line = $ 0 809 nfields = split(line, field, "@") 810 substed = 0 811 len = length(field[1]) 812 for (i = 2; i < nfields; i++) { 813 key = field[i] 814 keylen = length(key) 815 if (S_is_set[key]) { 816 value = S[key] 817 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 818 len += length(value) + length(field[++i]) 819 substed = 1 820 } else 821 len += 1 + keylen 822 } 823 824 print line 825} 826 827_ACAWK 828if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 829 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 830else 831 cat 832fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 833 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 834fi # test -n "$CONFIG_FILES" 835 836# Set up the scripts for CONFIG_HEADERS section. 837# No need to generate them if there are no CONFIG_HEADERS. 838# This happens for instance with `./config.status Makefile'. 839if test -n "$CONFIG_HEADERS"; then 840cat >"$ac_tmp/defines.awk" <<\_ACAWK || 841BEGIN { 842D["PACKAGE_NAME"]=" \"elfutils\"" 843D["PACKAGE_TARNAME"]=" \"elfutils\"" 844D["PACKAGE_VERSION"]=" \"0.161\"" 845D["PACKAGE_STRING"]=" \"elfutils 0.161\"" 846D["PACKAGE_BUGREPORT"]=" \"https://bugzilla.redhat.com/\"" 847D["PACKAGE_URL"]=" \"\"" 848D["PACKAGE"]=" \"elfutils\"" 849D["VERSION"]=" \"0.161\"" 850D["MODVERSION"]=" \"Build on enh.mtv.corp.google.com 2015-02-18T19:32:04-0800\"" 851D["DEFAULT_AR_DETERMINISTIC"]=" false" 852D["YYTEXT_POINTER"]=" 1" 853D["LIBEBL_SUBDIR"]=" \"elfutils\"" 854D["USE_ZLIB"]=" 1" 855D["USE_DEMANGLE"]=" 1" 856D["STDC_HEADERS"]=" 1" 857D["HAVE_SYS_TYPES_H"]=" 1" 858D["HAVE_SYS_STAT_H"]=" 1" 859D["HAVE_STDLIB_H"]=" 1" 860D["HAVE_STRING_H"]=" 1" 861D["HAVE_MEMORY_H"]=" 1" 862D["HAVE_STRINGS_H"]=" 1" 863D["HAVE_INTTYPES_H"]=" 1" 864D["HAVE_STDINT_H"]=" 1" 865D["HAVE_UNISTD_H"]=" 1" 866D["SIZEOF_LONG"]=" 8" 867D["HAVE_SYS_USER_REGS"]=" 1" 868 for (key in D) D_is_set[key] = 1 869 FS = "" 870} 871/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { 872 line = $ 0 873 split(line, arg, " ") 874 if (arg[1] == "#") { 875 defundef = arg[2] 876 mac1 = arg[3] 877 } else { 878 defundef = substr(arg[1], 2) 879 mac1 = arg[2] 880 } 881 split(mac1, mac2, "(") #) 882 macro = mac2[1] 883 prefix = substr(line, 1, index(line, defundef) - 1) 884 if (D_is_set[macro]) { 885 # Preserve the white space surrounding the "#". 886 print prefix "define", macro P[macro] D[macro] 887 next 888 } else { 889 # Replace #undef with comments. This is necessary, for example, 890 # in the case of _POSIX_SOURCE, which is predefined and required 891 # on some systems where configure will not decide to define it. 892 if (defundef == "undef") { 893 print "/*", prefix defundef, macro, "*/" 894 next 895 } 896 } 897} 898{ print } 899_ACAWK 900 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 901fi # test -n "$CONFIG_HEADERS" 902 903 904eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 905shift 906for ac_tag 907do 908 case $ac_tag in 909 :[FHLC]) ac_mode=$ac_tag; continue;; 910 esac 911 case $ac_mode$ac_tag in 912 :[FHL]*:*);; 913 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 914 :[FH]-) ac_tag=-:-;; 915 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 916 esac 917 ac_save_IFS=$IFS 918 IFS=: 919 set x $ac_tag 920 IFS=$ac_save_IFS 921 shift 922 ac_file=$1 923 shift 924 925 case $ac_mode in 926 :L) ac_source=$1;; 927 :[FH]) 928 ac_file_inputs= 929 for ac_f 930 do 931 case $ac_f in 932 -) ac_f="$ac_tmp/stdin";; 933 *) # Look for the file first in the build tree, then in the source tree 934 # (if the path is not absolute). The absolute path cannot be DOS-style, 935 # because $ac_f cannot contain `:'. 936 test -f "$ac_f" || 937 case $ac_f in 938 [\\/$]*) false;; 939 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 940 esac || 941 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 942 esac 943 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 944 as_fn_append ac_file_inputs " '$ac_f'" 945 done 946 947 # Let's still pretend it is `configure' which instantiates (i.e., don't 948 # use $as_me), people would be surprised to read: 949 # /* config.h. Generated by config.status. */ 950 configure_input='Generated from '` 951 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 952 `' by configure.' 953 if test x"$ac_file" != x-; then 954 configure_input="$ac_file. $configure_input" 955 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 956$as_echo "$as_me: creating $ac_file" >&6;} 957 fi 958 # Neutralize special characters interpreted by sed in replacement strings. 959 case $configure_input in #( 960 *\&* | *\|* | *\\* ) 961 ac_sed_conf_input=`$as_echo "$configure_input" | 962 sed 's/[\\\\&|]/\\\\&/g'`;; #( 963 *) ac_sed_conf_input=$configure_input;; 964 esac 965 966 case $ac_tag in 967 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 968 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 969 esac 970 ;; 971 esac 972 973 ac_dir=`$as_dirname -- "$ac_file" || 974$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 975 X"$ac_file" : 'X\(//\)[^/]' \| \ 976 X"$ac_file" : 'X\(//\)$' \| \ 977 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 978$as_echo X"$ac_file" | 979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 980 s//\1/ 981 q 982 } 983 /^X\(\/\/\)[^/].*/{ 984 s//\1/ 985 q 986 } 987 /^X\(\/\/\)$/{ 988 s//\1/ 989 q 990 } 991 /^X\(\/\).*/{ 992 s//\1/ 993 q 994 } 995 s/.*/./; q'` 996 as_dir="$ac_dir"; as_fn_mkdir_p 997 ac_builddir=. 998 999case "$ac_dir" in 1000.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1001*) 1002 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1003 # A ".." for each directory in $ac_dir_suffix. 1004 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1005 case $ac_top_builddir_sub in 1006 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1007 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1008 esac ;; 1009esac 1010ac_abs_top_builddir=$ac_pwd 1011ac_abs_builddir=$ac_pwd$ac_dir_suffix 1012# for backward compatibility: 1013ac_top_builddir=$ac_top_build_prefix 1014 1015case $srcdir in 1016 .) # We are building in place. 1017 ac_srcdir=. 1018 ac_top_srcdir=$ac_top_builddir_sub 1019 ac_abs_top_srcdir=$ac_pwd ;; 1020 [\\/]* | ?:[\\/]* ) # Absolute name. 1021 ac_srcdir=$srcdir$ac_dir_suffix; 1022 ac_top_srcdir=$srcdir 1023 ac_abs_top_srcdir=$srcdir ;; 1024 *) # Relative name. 1025 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1026 ac_top_srcdir=$ac_top_build_prefix$srcdir 1027 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1028esac 1029ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1030 1031 1032 case $ac_mode in 1033 :F) 1034 # 1035 # CONFIG_FILE 1036 # 1037 1038 case $INSTALL in 1039 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 1040 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 1041 esac 1042 ac_MKDIR_P=$MKDIR_P 1043 case $MKDIR_P in 1044 [\\/$]* | ?:[\\/]* ) ;; 1045 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 1046 esac 1047# If the template does not know about datarootdir, expand it. 1048# FIXME: This hack should be removed a few years after 2.60. 1049ac_datarootdir_hack=; ac_datarootdir_seen= 1050ac_sed_dataroot=' 1051/datarootdir/ { 1052 p 1053 q 1054} 1055/@datadir@/p 1056/@docdir@/p 1057/@infodir@/p 1058/@localedir@/p 1059/@mandir@/p' 1060case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 1061*datarootdir*) ac_datarootdir_seen=yes;; 1062*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 1063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 1064$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 1065 ac_datarootdir_hack=' 1066 s&@datadir@&${datarootdir}&g 1067 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g 1068 s&@infodir@&${datarootdir}/info&g 1069 s&@localedir@&${datarootdir}/locale&g 1070 s&@mandir@&${datarootdir}/man&g 1071 s&\${datarootdir}&${prefix}/share&g' ;; 1072esac 1073ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ 1074h 1075s/// 1076s/^/:/ 1077s/[ ]*$/:/ 1078s/:\$(srcdir):/:/g 1079s/:\${srcdir}:/:/g 1080s/:@srcdir@:/:/g 1081s/^:*// 1082s/:*$// 1083x 1084s/\(=[ ]*\).*/\1/ 1085G 1086s/\n// 1087s/^[^=]*=[ ]*$// 1088} 1089 1090:t 1091/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 1092s|@configure_input@|$ac_sed_conf_input|;t t 1093s&@top_builddir@&$ac_top_builddir_sub&;t t 1094s&@top_build_prefix@&$ac_top_build_prefix&;t t 1095s&@srcdir@&$ac_srcdir&;t t 1096s&@abs_srcdir@&$ac_abs_srcdir&;t t 1097s&@top_srcdir@&$ac_top_srcdir&;t t 1098s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 1099s&@builddir@&$ac_builddir&;t t 1100s&@abs_builddir@&$ac_abs_builddir&;t t 1101s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 1102s&@INSTALL@&$ac_INSTALL&;t t 1103s&@MKDIR_P@&$ac_MKDIR_P&;t t 1104$ac_datarootdir_hack 1105" 1106eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 1107 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1108 1109test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 1110 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 1111 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 1112 "$ac_tmp/out"`; test -z "$ac_out"; } && 1113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1114which seems to be undefined. Please make sure it is defined" >&5 1115$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1116which seems to be undefined. Please make sure it is defined" >&2;} 1117 1118 rm -f "$ac_tmp/stdin" 1119 case $ac_file in 1120 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 1121 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 1122 esac \ 1123 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1124 ;; 1125 :H) 1126 # 1127 # CONFIG_HEADER 1128 # 1129 if test x"$ac_file" != x-; then 1130 { 1131 $as_echo "/* $configure_input */" \ 1132 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 1133 } >"$ac_tmp/config.h" \ 1134 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1135 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 1136 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 1137$as_echo "$as_me: $ac_file is unchanged" >&6;} 1138 else 1139 rm -f "$ac_file" 1140 mv "$ac_tmp/config.h" "$ac_file" \ 1141 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1142 fi 1143 else 1144 $as_echo "/* $configure_input */" \ 1145 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 1146 || as_fn_error $? "could not create -" "$LINENO" 5 1147 fi 1148# Compute "$ac_file"'s index in $config_headers. 1149_am_arg="$ac_file" 1150_am_stamp_count=1 1151for _am_header in $config_headers :; do 1152 case $_am_header in 1153 $_am_arg | $_am_arg:* ) 1154 break ;; 1155 * ) 1156 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 1157 esac 1158done 1159echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 1160$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1161 X"$_am_arg" : 'X\(//\)[^/]' \| \ 1162 X"$_am_arg" : 'X\(//\)$' \| \ 1163 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 1164$as_echo X"$_am_arg" | 1165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1166 s//\1/ 1167 q 1168 } 1169 /^X\(\/\/\)[^/].*/{ 1170 s//\1/ 1171 q 1172 } 1173 /^X\(\/\/\)$/{ 1174 s//\1/ 1175 q 1176 } 1177 /^X\(\/\).*/{ 1178 s//\1/ 1179 q 1180 } 1181 s/.*/./; q'`/stamp-h$_am_stamp_count 1182 ;; 1183 1184 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 1185$as_echo "$as_me: executing $ac_file commands" >&6;} 1186 ;; 1187 esac 1188 1189 1190 case $ac_file$ac_mode in 1191 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 1192 # Older Autoconf quotes --file arguments for eval, but not when files 1193 # are listed without --file. Let's play safe and only enable the eval 1194 # if we detect the quoting. 1195 case $CONFIG_FILES in 1196 *\'*) eval set x "$CONFIG_FILES" ;; 1197 *) set x $CONFIG_FILES ;; 1198 esac 1199 shift 1200 for mf 1201 do 1202 # Strip MF so we end up with the name of the file. 1203 mf=`echo "$mf" | sed -e 's/:.*$//'` 1204 # Check whether this is an Automake generated Makefile or not. 1205 # We used to match only the files named 'Makefile.in', but 1206 # some people rename them; so instead we look at the file content. 1207 # Grep'ing the first line is not enough: some people post-process 1208 # each Makefile.in and add a new line on top of each file to say so. 1209 # Grep'ing the whole file is not good either: AIX grep has a line 1210 # limit of 2048, but all sed's we know have understand at least 4000. 1211 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 1212 dirpart=`$as_dirname -- "$mf" || 1213$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1214 X"$mf" : 'X\(//\)[^/]' \| \ 1215 X"$mf" : 'X\(//\)$' \| \ 1216 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 1217$as_echo X"$mf" | 1218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1219 s//\1/ 1220 q 1221 } 1222 /^X\(\/\/\)[^/].*/{ 1223 s//\1/ 1224 q 1225 } 1226 /^X\(\/\/\)$/{ 1227 s//\1/ 1228 q 1229 } 1230 /^X\(\/\).*/{ 1231 s//\1/ 1232 q 1233 } 1234 s/.*/./; q'` 1235 else 1236 continue 1237 fi 1238 # Extract the definition of DEPDIR, am__include, and am__quote 1239 # from the Makefile without running 'make'. 1240 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 1241 test -z "$DEPDIR" && continue 1242 am__include=`sed -n 's/^am__include = //p' < "$mf"` 1243 test -z "$am__include" && continue 1244 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 1245 # Find all dependency output files, they are included files with 1246 # $(DEPDIR) in their names. We invoke sed twice because it is the 1247 # simplest approach to changing $(DEPDIR) to its actual value in the 1248 # expansion. 1249 for file in `sed -n " 1250 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 1251 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 1252 # Make sure the directory exists. 1253 test -f "$dirpart/$file" && continue 1254 fdir=`$as_dirname -- "$file" || 1255$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1256 X"$file" : 'X\(//\)[^/]' \| \ 1257 X"$file" : 'X\(//\)$' \| \ 1258 X"$file" : 'X\(/\)' \| . 2>/dev/null || 1259$as_echo X"$file" | 1260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1261 s//\1/ 1262 q 1263 } 1264 /^X\(\/\/\)[^/].*/{ 1265 s//\1/ 1266 q 1267 } 1268 /^X\(\/\/\)$/{ 1269 s//\1/ 1270 q 1271 } 1272 /^X\(\/\).*/{ 1273 s//\1/ 1274 q 1275 } 1276 s/.*/./; q'` 1277 as_dir=$dirpart/$fdir; as_fn_mkdir_p 1278 # echo "creating $dirpart/$file" 1279 echo '# dummy' > "$dirpart/$file" 1280 done 1281 done 1282} 1283 ;; 1284 "po-directories":C) 1285 for ac_file in $CONFIG_FILES; do 1286 # Support "outfile[:infile[:infile...]]" 1287 case "$ac_file" in 1288 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 1289 esac 1290 # PO directories have a Makefile.in generated from Makefile.in.in. 1291 case "$ac_file" in */Makefile.in) 1292 # Adjust a relative srcdir. 1293 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 1294 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 1295 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 1296 # In autoconf-2.13 it is called $ac_given_srcdir. 1297 # In autoconf-2.50 it is called $srcdir. 1298 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 1299 case "$ac_given_srcdir" in 1300 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 1301 /*) top_srcdir="$ac_given_srcdir" ;; 1302 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 1303 esac 1304 # Treat a directory as a PO directory if and only if it has a 1305 # POTFILES.in file. This allows packages to have multiple PO 1306 # directories under different names or in different locations. 1307 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 1308 rm -f "$ac_dir/POTFILES" 1309 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 1310 gt_tab=`printf '\t'` 1311 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 1312 POMAKEFILEDEPS="POTFILES.in" 1313 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 1314 # on $ac_dir but don't depend on user-specified configuration 1315 # parameters. 1316 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 1317 # The LINGUAS file contains the set of available languages. 1318 if test -n "$OBSOLETE_ALL_LINGUAS"; then 1319 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 1320 fi 1321 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 1322 # Hide the ALL_LINGUAS assignment from automake < 1.5. 1323 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 1324 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 1325 else 1326 # The set of available languages was given in configure.in. 1327 # Hide the ALL_LINGUAS assignment from automake < 1.5. 1328 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 1329 fi 1330 # Compute POFILES 1331 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 1332 # Compute UPDATEPOFILES 1333 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 1334 # Compute DUMMYPOFILES 1335 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 1336 # Compute GMOFILES 1337 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 1338 case "$ac_given_srcdir" in 1339 .) srcdirpre= ;; 1340 *) srcdirpre='$(srcdir)/' ;; 1341 esac 1342 POFILES= 1343 UPDATEPOFILES= 1344 DUMMYPOFILES= 1345 GMOFILES= 1346 for lang in $ALL_LINGUAS; do 1347 POFILES="$POFILES $srcdirpre$lang.po" 1348 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 1349 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 1350 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 1351 done 1352 # CATALOGS depends on both $ac_dir and the user's LINGUAS 1353 # environment variable. 1354 INST_LINGUAS= 1355 if test -n "$ALL_LINGUAS"; then 1356 for presentlang in $ALL_LINGUAS; do 1357 useit=no 1358 if test "%UNSET%" != "$LINGUAS"; then 1359 desiredlanguages="$LINGUAS" 1360 else 1361 desiredlanguages="$ALL_LINGUAS" 1362 fi 1363 for desiredlang in $desiredlanguages; do 1364 # Use the presentlang catalog if desiredlang is 1365 # a. equal to presentlang, or 1366 # b. a variant of presentlang (because in this case, 1367 # presentlang can be used as a fallback for messages 1368 # which are not translated in the desiredlang catalog). 1369 case "$desiredlang" in 1370 "$presentlang"*) useit=yes;; 1371 esac 1372 done 1373 if test $useit = yes; then 1374 INST_LINGUAS="$INST_LINGUAS $presentlang" 1375 fi 1376 done 1377 fi 1378 CATALOGS= 1379 if test -n "$INST_LINGUAS"; then 1380 for lang in $INST_LINGUAS; do 1381 CATALOGS="$CATALOGS $lang.gmo" 1382 done 1383 fi 1384 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 1385 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 1386 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 1387 if test -f "$f"; then 1388 case "$f" in 1389 *.orig | *.bak | *~) ;; 1390 *) cat "$f" >> "$ac_dir/Makefile" ;; 1391 esac 1392 fi 1393 done 1394 fi 1395 ;; 1396 esac 1397 done ;; 1398 1399 esac 1400done # for ac_tag 1401 1402 1403as_fn_exit 0 1404