configure revision 220ad8cd
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.71 for util-macros 1.20.1. 4# 5# Report bugs to <https://gitlab.freedesktop.org/xorg/util/macros/issues>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 9# Inc. 10# 11# 12# This configure script is free software; the Free Software Foundation 13# gives unlimited permission to copy, distribute and modify it. 14## -------------------- ## 15## M4sh Initialization. ## 16## -------------------- ## 17 18# Be more Bourne compatible 19DUALCASE=1; export DUALCASE # for MKS sh 20as_nop=: 21if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 22then : 23 emulate sh 24 NULLCMD=: 25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26 # is contrary to our usage. Disable this feature. 27 alias -g '${1+"$@"}'='"$@"' 28 setopt NO_GLOB_SUBST 29else $as_nop 30 case `(set -o) 2>/dev/null` in #( 31 *posix*) : 32 set -o posix ;; #( 33 *) : 34 ;; 35esac 36fi 37 38 39 40# Reset variables that may have inherited troublesome values from 41# the environment. 42 43# IFS needs to be set, to space, tab, and newline, in precisely that order. 44# (If _AS_PATH_WALK were called with IFS unset, it would have the 45# side effect of setting IFS to empty, thus disabling word splitting.) 46# Quoting is to prevent editors from complaining about space-tab. 47as_nl=' 48' 49export as_nl 50IFS=" "" $as_nl" 51 52PS1='$ ' 53PS2='> ' 54PS4='+ ' 55 56# Ensure predictable behavior from utilities with locale-dependent output. 57LC_ALL=C 58export LC_ALL 59LANGUAGE=C 60export LANGUAGE 61 62# We cannot yet rely on "unset" to work, but we need these variables 63# to be unset--not just set to an empty or harmless value--now, to 64# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 65# also avoids known problems related to "unset" and subshell syntax 66# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 67for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 68do eval test \${$as_var+y} \ 69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 70done 71 72# Ensure that fds 0, 1, and 2 are open. 73if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 74if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 75if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 76 77# The user is always right. 78if ${PATH_SEPARATOR+false} :; then 79 PATH_SEPARATOR=: 80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 82 PATH_SEPARATOR=';' 83 } 84fi 85 86 87# Find who we are. Look in the path if we contain no directory separator. 88as_myself= 89case $0 in #(( 90 *[\\/]* ) as_myself=$0 ;; 91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 92for as_dir in $PATH 93do 94 IFS=$as_save_IFS 95 case $as_dir in #((( 96 '') as_dir=./ ;; 97 */) ;; 98 *) as_dir=$as_dir/ ;; 99 esac 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 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116 117# Use a proper internal environment variable to ensure we don't fall 118 # into an infinite loop, continuously re-executing ourselves. 119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 120 _as_can_reexec=no; export _as_can_reexec; 121 # We cannot yet assume a decent shell, so we have to provide a 122# neutralization value for shells without unset; and this also 123# works around shells that cannot unset nonexistent variables. 124# Preserve -v and -x to the replacement shell. 125BASH_ENV=/dev/null 126ENV=/dev/null 127(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 128case $- in # (((( 129 *v*x* | *x*v* ) as_opts=-vx ;; 130 *v* ) as_opts=-v ;; 131 *x* ) as_opts=-x ;; 132 * ) as_opts= ;; 133esac 134exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 135# Admittedly, this is quite paranoid, since all the known shells bail 136# out after a failed `exec'. 137printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 138exit 255 139 fi 140 # We don't want this to propagate to other subprocesses. 141 { _as_can_reexec=; unset _as_can_reexec;} 142if test "x$CONFIG_SHELL" = x; then 143 as_bourne_compatible="as_nop=: 144if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 145then : 146 emulate sh 147 NULLCMD=: 148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 149 # is contrary to our usage. Disable this feature. 150 alias -g '\${1+\"\$@\"}'='\"\$@\"' 151 setopt NO_GLOB_SUBST 152else \$as_nop 153 case \`(set -o) 2>/dev/null\` in #( 154 *posix*) : 155 set -o posix ;; #( 156 *) : 157 ;; 158esac 159fi 160" 161 as_required="as_fn_return () { (exit \$1); } 162as_fn_success () { as_fn_return 0; } 163as_fn_failure () { as_fn_return 1; } 164as_fn_ret_success () { return 0; } 165as_fn_ret_failure () { return 1; } 166 167exitcode=0 168as_fn_success || { exitcode=1; echo as_fn_success failed.; } 169as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 170as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 171as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 172if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 173then : 174 175else \$as_nop 176 exitcode=1; echo positional parameters were not saved. 177fi 178test x\$exitcode = x0 || exit 1 179blah=\$(echo \$(echo blah)) 180test x\"\$blah\" = xblah || exit 1 181test -x / || exit 1" 182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 186 if (eval "$as_required") 2>/dev/null 187then : 188 as_have_required=yes 189else $as_nop 190 as_have_required=no 191fi 192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 193then : 194 195else $as_nop 196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 197as_found=false 198for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 199do 200 IFS=$as_save_IFS 201 case $as_dir in #((( 202 '') as_dir=./ ;; 203 */) ;; 204 *) as_dir=$as_dir/ ;; 205 esac 206 as_found=: 207 case $as_dir in #( 208 /*) 209 for as_base in sh bash ksh sh5; do 210 # Try only shells that exist, to save several forks. 211 as_shell=$as_dir$as_base 212 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 213 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 214then : 215 CONFIG_SHELL=$as_shell as_have_required=yes 216 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 217then : 218 break 2 219fi 220fi 221 done;; 222 esac 223 as_found=false 224done 225IFS=$as_save_IFS 226if $as_found 227then : 228 229else $as_nop 230 if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 231 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 232then : 233 CONFIG_SHELL=$SHELL as_have_required=yes 234fi 235fi 236 237 238 if test "x$CONFIG_SHELL" != x 239then : 240 export CONFIG_SHELL 241 # We cannot yet assume a decent shell, so we have to provide a 242# neutralization value for shells without unset; and this also 243# works around shells that cannot unset nonexistent variables. 244# Preserve -v and -x to the replacement shell. 245BASH_ENV=/dev/null 246ENV=/dev/null 247(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 248case $- in # (((( 249 *v*x* | *x*v* ) as_opts=-vx ;; 250 *v* ) as_opts=-v ;; 251 *x* ) as_opts=-x ;; 252 * ) as_opts= ;; 253esac 254exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 255# Admittedly, this is quite paranoid, since all the known shells bail 256# out after a failed `exec'. 257printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 258exit 255 259fi 260 261 if test x$as_have_required = xno 262then : 263 printf "%s\n" "$0: This script requires a shell more modern than all" 264 printf "%s\n" "$0: the shells that I found on your system." 265 if test ${ZSH_VERSION+y} ; then 266 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 270$0: https://gitlab.freedesktop.org/xorg/util/macros/issues 271$0: about your system, including any error possibly output 272$0: before this message. Then install a modern shell, or 273$0: manually run the script under such a shell if you do 274$0: have one." 275 fi 276 exit 1 277fi 278fi 279fi 280SHELL=${CONFIG_SHELL-/bin/sh} 281export SHELL 282# Unset more variables known to interfere with behavior of common tools. 283CLICOLOR_FORCE= GREP_OPTIONS= 284unset CLICOLOR_FORCE GREP_OPTIONS 285 286## --------------------- ## 287## M4sh Shell Functions. ## 288## --------------------- ## 289# as_fn_unset VAR 290# --------------- 291# Portably unset VAR. 292as_fn_unset () 293{ 294 { eval $1=; unset $1;} 295} 296as_unset=as_fn_unset 297 298 299# as_fn_set_status STATUS 300# ----------------------- 301# Set $? to STATUS, without forking. 302as_fn_set_status () 303{ 304 return $1 305} # as_fn_set_status 306 307# as_fn_exit STATUS 308# ----------------- 309# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 310as_fn_exit () 311{ 312 set +e 313 as_fn_set_status $1 314 exit $1 315} # as_fn_exit 316# as_fn_nop 317# --------- 318# Do nothing but, unlike ":", preserve the value of $?. 319as_fn_nop () 320{ 321 return $? 322} 323as_nop=as_fn_nop 324 325# as_fn_mkdir_p 326# ------------- 327# Create "$as_dir" as a directory, including parents if necessary. 328as_fn_mkdir_p () 329{ 330 331 case $as_dir in #( 332 -*) as_dir=./$as_dir;; 333 esac 334 test -d "$as_dir" || eval $as_mkdir_p || { 335 as_dirs= 336 while :; do 337 case $as_dir in #( 338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 339 *) as_qdir=$as_dir;; 340 esac 341 as_dirs="'$as_qdir' $as_dirs" 342 as_dir=`$as_dirname -- "$as_dir" || 343$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 344 X"$as_dir" : 'X\(//\)[^/]' \| \ 345 X"$as_dir" : 'X\(//\)$' \| \ 346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 347printf "%s\n" X"$as_dir" | 348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 349 s//\1/ 350 q 351 } 352 /^X\(\/\/\)[^/].*/{ 353 s//\1/ 354 q 355 } 356 /^X\(\/\/\)$/{ 357 s//\1/ 358 q 359 } 360 /^X\(\/\).*/{ 361 s//\1/ 362 q 363 } 364 s/.*/./; q'` 365 test -d "$as_dir" && break 366 done 367 test -z "$as_dirs" || eval "mkdir $as_dirs" 368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 369 370 371} # as_fn_mkdir_p 372 373# as_fn_executable_p FILE 374# ----------------------- 375# Test if FILE is an executable regular file. 376as_fn_executable_p () 377{ 378 test -f "$1" && test -x "$1" 379} # as_fn_executable_p 380# as_fn_append VAR VALUE 381# ---------------------- 382# Append the text in VALUE to the end of the definition contained in VAR. Take 383# advantage of any shell optimizations that allow amortized linear growth over 384# repeated appends, instead of the typical quadratic growth present in naive 385# implementations. 386if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 387then : 388 eval 'as_fn_append () 389 { 390 eval $1+=\$2 391 }' 392else $as_nop 393 as_fn_append () 394 { 395 eval $1=\$$1\$2 396 } 397fi # as_fn_append 398 399# as_fn_arith ARG... 400# ------------------ 401# Perform arithmetic evaluation on the ARGs, and store the result in the 402# global $as_val. Take advantage of shells that can avoid forks. The arguments 403# must be portable across $(()) and expr. 404if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 405then : 406 eval 'as_fn_arith () 407 { 408 as_val=$(( $* )) 409 }' 410else $as_nop 411 as_fn_arith () 412 { 413 as_val=`expr "$@" || test $? -eq 1` 414 } 415fi # as_fn_arith 416 417# as_fn_nop 418# --------- 419# Do nothing but, unlike ":", preserve the value of $?. 420as_fn_nop () 421{ 422 return $? 423} 424as_nop=as_fn_nop 425 426# as_fn_error STATUS ERROR [LINENO LOG_FD] 427# ---------------------------------------- 428# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 429# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 430# script with STATUS, using 1 if that was 0. 431as_fn_error () 432{ 433 as_status=$1; test $as_status -eq 0 && as_status=1 434 if test "$4"; then 435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 437 fi 438 printf "%s\n" "$as_me: error: $2" >&2 439 as_fn_exit $as_status 440} # as_fn_error 441 442if expr a : '\(a\)' >/dev/null 2>&1 && 443 test "X`expr 00001 : '.*\(...\)'`" = X001; then 444 as_expr=expr 445else 446 as_expr=false 447fi 448 449if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 450 as_basename=basename 451else 452 as_basename=false 453fi 454 455if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 456 as_dirname=dirname 457else 458 as_dirname=false 459fi 460 461as_me=`$as_basename -- "$0" || 462$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 463 X"$0" : 'X\(//\)$' \| \ 464 X"$0" : 'X\(/\)' \| . 2>/dev/null || 465printf "%s\n" X/"$0" | 466 sed '/^.*\/\([^/][^/]*\)\/*$/{ 467 s//\1/ 468 q 469 } 470 /^X\/\(\/\/\)$/{ 471 s//\1/ 472 q 473 } 474 /^X\/\(\/\).*/{ 475 s//\1/ 476 q 477 } 478 s/.*/./; q'` 479 480# Avoid depending upon Character Ranges. 481as_cr_letters='abcdefghijklmnopqrstuvwxyz' 482as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 483as_cr_Letters=$as_cr_letters$as_cr_LETTERS 484as_cr_digits='0123456789' 485as_cr_alnum=$as_cr_Letters$as_cr_digits 486 487 488 as_lineno_1=$LINENO as_lineno_1a=$LINENO 489 as_lineno_2=$LINENO as_lineno_2a=$LINENO 490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 493 sed -n ' 494 p 495 /[$]LINENO/= 496 ' <$as_myself | 497 sed ' 498 s/[$]LINENO.*/&-/ 499 t lineno 500 b 501 :lineno 502 N 503 :loop 504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 505 t loop 506 s/-\n.*// 507 ' >$as_me.lineno && 508 chmod +x "$as_me.lineno" || 509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 510 511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 512 # already done that, so ensure we don't try to do so again and fall 513 # in an infinite loop. This has already happened in practice. 514 _as_can_reexec=no; export _as_can_reexec 515 # Don't try to exec as it changes $[0], causing all sort of problems 516 # (the dirname of $[0] is not the place where we might find the 517 # original and so on. Autoconf is especially sensitive to this). 518 . "./$as_me.lineno" 519 # Exit status is that of the last command. 520 exit 521} 522 523 524# Determine whether it's possible to make 'echo' print without a newline. 525# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 526# for compatibility with existing Makefiles. 527ECHO_C= ECHO_N= ECHO_T= 528case `echo -n x` in #((((( 529-n*) 530 case `echo 'xy\c'` in 531 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 532 xy) ECHO_C='\c';; 533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 534 ECHO_T=' ';; 535 esac;; 536*) 537 ECHO_N='-n';; 538esac 539 540# For backward compatibility with old third-party macros, we provide 541# the shell variables $as_echo and $as_echo_n. New code should use 542# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 543as_echo='printf %s\n' 544as_echo_n='printf %s' 545 546 547rm -f conf$$ conf$$.exe conf$$.file 548if test -d conf$$.dir; then 549 rm -f conf$$.dir/conf$$.file 550else 551 rm -f conf$$.dir 552 mkdir conf$$.dir 2>/dev/null 553fi 554if (echo >conf$$.file) 2>/dev/null; then 555 if ln -s conf$$.file conf$$ 2>/dev/null; then 556 as_ln_s='ln -s' 557 # ... but there are two gotchas: 558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 560 # In both cases, we have to default to `cp -pR'. 561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 562 as_ln_s='cp -pR' 563 elif ln conf$$.file conf$$ 2>/dev/null; then 564 as_ln_s=ln 565 else 566 as_ln_s='cp -pR' 567 fi 568else 569 as_ln_s='cp -pR' 570fi 571rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 572rmdir conf$$.dir 2>/dev/null 573 574if mkdir -p . 2>/dev/null; then 575 as_mkdir_p='mkdir -p "$as_dir"' 576else 577 test -d ./-p && rmdir ./-p 578 as_mkdir_p=false 579fi 580 581as_test_x='test -x' 582as_executable_p=as_fn_executable_p 583 584# Sed expression to map a string onto a valid CPP name. 585as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 586 587# Sed expression to map a string onto a valid variable name. 588as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 589 590 591test -n "$DJDIR" || exec 7<&0 </dev/null 592exec 6>&1 593 594# Name of the host. 595# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 596# so uname gets run too. 597ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 598 599# 600# Initializations. 601# 602ac_default_prefix=/usr/local 603ac_clean_files= 604ac_config_libobj_dir=. 605LIBOBJS= 606cross_compiling=no 607subdirs= 608MFLAGS= 609MAKEFLAGS= 610 611# Identity of this package. 612PACKAGE_NAME='util-macros' 613PACKAGE_TARNAME='util-macros' 614PACKAGE_VERSION='1.20.1' 615PACKAGE_STRING='util-macros 1.20.1' 616PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/util/macros/issues' 617PACKAGE_URL='' 618 619ac_unique_file="Makefile.am" 620ac_subst_vars='LTLIBOBJS 621LIBOBJS 622CHANGELOG_CMD 623AM_BACKSLASH 624AM_DEFAULT_VERBOSITY 625AM_DEFAULT_V 626AM_V 627CSCOPE 628ETAGS 629CTAGS 630am__untar 631am__tar 632AMTAR 633am__leading_dot 634SET_MAKE 635AWK 636mkdir_p 637MKDIR_P 638INSTALL_STRIP_PROGRAM 639STRIP 640install_sh 641MAKEINFO 642AUTOHEADER 643AUTOMAKE 644AUTOCONF 645ACLOCAL 646VERSION 647PACKAGE 648CYGPATH_W 649am__isrc 650INSTALL_DATA 651INSTALL_SCRIPT 652INSTALL_PROGRAM 653target_alias 654host_alias 655build_alias 656LIBS 657ECHO_T 658ECHO_N 659ECHO_C 660DEFS 661mandir 662localedir 663libdir 664psdir 665pdfdir 666dvidir 667htmldir 668infodir 669docdir 670oldincludedir 671includedir 672runstatedir 673localstatedir 674sharedstatedir 675sysconfdir 676datadir 677datarootdir 678libexecdir 679sbindir 680bindir 681program_transform_name 682prefix 683exec_prefix 684PACKAGE_URL 685PACKAGE_BUGREPORT 686PACKAGE_STRING 687PACKAGE_VERSION 688PACKAGE_TARNAME 689PACKAGE_NAME 690PATH_SEPARATOR 691SHELL' 692ac_subst_files='' 693ac_user_opts=' 694enable_option_checking 695enable_silent_rules 696' 697 ac_precious_vars='build_alias 698host_alias 699target_alias' 700 701 702# Initialize some variables set by options. 703ac_init_help= 704ac_init_version=false 705ac_unrecognized_opts= 706ac_unrecognized_sep= 707# The variables have the same names as the options, with 708# dashes changed to underlines. 709cache_file=/dev/null 710exec_prefix=NONE 711no_create= 712no_recursion= 713prefix=NONE 714program_prefix=NONE 715program_suffix=NONE 716program_transform_name=s,x,x, 717silent= 718site= 719srcdir= 720verbose= 721x_includes=NONE 722x_libraries=NONE 723 724# Installation directory options. 725# These are left unexpanded so users can "make install exec_prefix=/foo" 726# and all the variables that are supposed to be based on exec_prefix 727# by default will actually change. 728# Use braces instead of parens because sh, perl, etc. also accept them. 729# (The list follows the same order as the GNU Coding Standards.) 730bindir='${exec_prefix}/bin' 731sbindir='${exec_prefix}/sbin' 732libexecdir='${exec_prefix}/libexec' 733datarootdir='${prefix}/share' 734datadir='${datarootdir}' 735sysconfdir='${prefix}/etc' 736sharedstatedir='${prefix}/com' 737localstatedir='${prefix}/var' 738runstatedir='${localstatedir}/run' 739includedir='${prefix}/include' 740oldincludedir='/usr/include' 741docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 742infodir='${datarootdir}/info' 743htmldir='${docdir}' 744dvidir='${docdir}' 745pdfdir='${docdir}' 746psdir='${docdir}' 747libdir='${exec_prefix}/lib' 748localedir='${datarootdir}/locale' 749mandir='${datarootdir}/man' 750 751ac_prev= 752ac_dashdash= 753for ac_option 754do 755 # If the previous option needs an argument, assign it. 756 if test -n "$ac_prev"; then 757 eval $ac_prev=\$ac_option 758 ac_prev= 759 continue 760 fi 761 762 case $ac_option in 763 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 764 *=) ac_optarg= ;; 765 *) ac_optarg=yes ;; 766 esac 767 768 case $ac_dashdash$ac_option in 769 --) 770 ac_dashdash=yes ;; 771 772 -bindir | --bindir | --bindi | --bind | --bin | --bi) 773 ac_prev=bindir ;; 774 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 775 bindir=$ac_optarg ;; 776 777 -build | --build | --buil | --bui | --bu) 778 ac_prev=build_alias ;; 779 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 780 build_alias=$ac_optarg ;; 781 782 -cache-file | --cache-file | --cache-fil | --cache-fi \ 783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 784 ac_prev=cache_file ;; 785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 787 cache_file=$ac_optarg ;; 788 789 --config-cache | -C) 790 cache_file=config.cache ;; 791 792 -datadir | --datadir | --datadi | --datad) 793 ac_prev=datadir ;; 794 -datadir=* | --datadir=* | --datadi=* | --datad=*) 795 datadir=$ac_optarg ;; 796 797 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 798 | --dataroo | --dataro | --datar) 799 ac_prev=datarootdir ;; 800 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 801 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 802 datarootdir=$ac_optarg ;; 803 804 -disable-* | --disable-*) 805 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 806 # Reject names that are not valid shell variable names. 807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 808 as_fn_error $? "invalid feature name: \`$ac_useropt'" 809 ac_useropt_orig=$ac_useropt 810 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 811 case $ac_user_opts in 812 *" 813"enable_$ac_useropt" 814"*) ;; 815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 816 ac_unrecognized_sep=', ';; 817 esac 818 eval enable_$ac_useropt=no ;; 819 820 -docdir | --docdir | --docdi | --doc | --do) 821 ac_prev=docdir ;; 822 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 823 docdir=$ac_optarg ;; 824 825 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 826 ac_prev=dvidir ;; 827 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 828 dvidir=$ac_optarg ;; 829 830 -enable-* | --enable-*) 831 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 832 # Reject names that are not valid shell variable names. 833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 834 as_fn_error $? "invalid feature name: \`$ac_useropt'" 835 ac_useropt_orig=$ac_useropt 836 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 837 case $ac_user_opts in 838 *" 839"enable_$ac_useropt" 840"*) ;; 841 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 842 ac_unrecognized_sep=', ';; 843 esac 844 eval enable_$ac_useropt=\$ac_optarg ;; 845 846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 847 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 848 | --exec | --exe | --ex) 849 ac_prev=exec_prefix ;; 850 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 851 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 852 | --exec=* | --exe=* | --ex=*) 853 exec_prefix=$ac_optarg ;; 854 855 -gas | --gas | --ga | --g) 856 # Obsolete; use --with-gas. 857 with_gas=yes ;; 858 859 -help | --help | --hel | --he | -h) 860 ac_init_help=long ;; 861 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 862 ac_init_help=recursive ;; 863 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 864 ac_init_help=short ;; 865 866 -host | --host | --hos | --ho) 867 ac_prev=host_alias ;; 868 -host=* | --host=* | --hos=* | --ho=*) 869 host_alias=$ac_optarg ;; 870 871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 872 ac_prev=htmldir ;; 873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 874 | --ht=*) 875 htmldir=$ac_optarg ;; 876 877 -includedir | --includedir | --includedi | --included | --include \ 878 | --includ | --inclu | --incl | --inc) 879 ac_prev=includedir ;; 880 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 881 | --includ=* | --inclu=* | --incl=* | --inc=*) 882 includedir=$ac_optarg ;; 883 884 -infodir | --infodir | --infodi | --infod | --info | --inf) 885 ac_prev=infodir ;; 886 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 887 infodir=$ac_optarg ;; 888 889 -libdir | --libdir | --libdi | --libd) 890 ac_prev=libdir ;; 891 -libdir=* | --libdir=* | --libdi=* | --libd=*) 892 libdir=$ac_optarg ;; 893 894 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 895 | --libexe | --libex | --libe) 896 ac_prev=libexecdir ;; 897 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 898 | --libexe=* | --libex=* | --libe=*) 899 libexecdir=$ac_optarg ;; 900 901 -localedir | --localedir | --localedi | --localed | --locale) 902 ac_prev=localedir ;; 903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 904 localedir=$ac_optarg ;; 905 906 -localstatedir | --localstatedir | --localstatedi | --localstated \ 907 | --localstate | --localstat | --localsta | --localst | --locals) 908 ac_prev=localstatedir ;; 909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 911 localstatedir=$ac_optarg ;; 912 913 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 914 ac_prev=mandir ;; 915 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 916 mandir=$ac_optarg ;; 917 918 -nfp | --nfp | --nf) 919 # Obsolete; use --without-fp. 920 with_fp=no ;; 921 922 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 923 | --no-cr | --no-c | -n) 924 no_create=yes ;; 925 926 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 927 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 928 no_recursion=yes ;; 929 930 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 931 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 932 | --oldin | --oldi | --old | --ol | --o) 933 ac_prev=oldincludedir ;; 934 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 935 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 936 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 937 oldincludedir=$ac_optarg ;; 938 939 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 940 ac_prev=prefix ;; 941 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 942 prefix=$ac_optarg ;; 943 944 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 945 | --program-pre | --program-pr | --program-p) 946 ac_prev=program_prefix ;; 947 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 948 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 949 program_prefix=$ac_optarg ;; 950 951 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 952 | --program-suf | --program-su | --program-s) 953 ac_prev=program_suffix ;; 954 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 955 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 956 program_suffix=$ac_optarg ;; 957 958 -program-transform-name | --program-transform-name \ 959 | --program-transform-nam | --program-transform-na \ 960 | --program-transform-n | --program-transform- \ 961 | --program-transform | --program-transfor \ 962 | --program-transfo | --program-transf \ 963 | --program-trans | --program-tran \ 964 | --progr-tra | --program-tr | --program-t) 965 ac_prev=program_transform_name ;; 966 -program-transform-name=* | --program-transform-name=* \ 967 | --program-transform-nam=* | --program-transform-na=* \ 968 | --program-transform-n=* | --program-transform-=* \ 969 | --program-transform=* | --program-transfor=* \ 970 | --program-transfo=* | --program-transf=* \ 971 | --program-trans=* | --program-tran=* \ 972 | --progr-tra=* | --program-tr=* | --program-t=*) 973 program_transform_name=$ac_optarg ;; 974 975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 976 ac_prev=pdfdir ;; 977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 978 pdfdir=$ac_optarg ;; 979 980 -psdir | --psdir | --psdi | --psd | --ps) 981 ac_prev=psdir ;; 982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 983 psdir=$ac_optarg ;; 984 985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 986 | -silent | --silent | --silen | --sile | --sil) 987 silent=yes ;; 988 989 -runstatedir | --runstatedir | --runstatedi | --runstated \ 990 | --runstate | --runstat | --runsta | --runst | --runs \ 991 | --run | --ru | --r) 992 ac_prev=runstatedir ;; 993 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 994 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 995 | --run=* | --ru=* | --r=*) 996 runstatedir=$ac_optarg ;; 997 998 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 999 ac_prev=sbindir ;; 1000 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1001 | --sbi=* | --sb=*) 1002 sbindir=$ac_optarg ;; 1003 1004 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1005 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1006 | --sharedst | --shareds | --shared | --share | --shar \ 1007 | --sha | --sh) 1008 ac_prev=sharedstatedir ;; 1009 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1010 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1011 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1012 | --sha=* | --sh=*) 1013 sharedstatedir=$ac_optarg ;; 1014 1015 -site | --site | --sit) 1016 ac_prev=site ;; 1017 -site=* | --site=* | --sit=*) 1018 site=$ac_optarg ;; 1019 1020 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1021 ac_prev=srcdir ;; 1022 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1023 srcdir=$ac_optarg ;; 1024 1025 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1026 | --syscon | --sysco | --sysc | --sys | --sy) 1027 ac_prev=sysconfdir ;; 1028 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1029 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1030 sysconfdir=$ac_optarg ;; 1031 1032 -target | --target | --targe | --targ | --tar | --ta | --t) 1033 ac_prev=target_alias ;; 1034 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1035 target_alias=$ac_optarg ;; 1036 1037 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1038 verbose=yes ;; 1039 1040 -version | --version | --versio | --versi | --vers | -V) 1041 ac_init_version=: ;; 1042 1043 -with-* | --with-*) 1044 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1045 # Reject names that are not valid shell variable names. 1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1047 as_fn_error $? "invalid package name: \`$ac_useropt'" 1048 ac_useropt_orig=$ac_useropt 1049 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1050 case $ac_user_opts in 1051 *" 1052"with_$ac_useropt" 1053"*) ;; 1054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1055 ac_unrecognized_sep=', ';; 1056 esac 1057 eval with_$ac_useropt=\$ac_optarg ;; 1058 1059 -without-* | --without-*) 1060 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1061 # Reject names that are not valid shell variable names. 1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1063 as_fn_error $? "invalid package name: \`$ac_useropt'" 1064 ac_useropt_orig=$ac_useropt 1065 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1066 case $ac_user_opts in 1067 *" 1068"with_$ac_useropt" 1069"*) ;; 1070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1071 ac_unrecognized_sep=', ';; 1072 esac 1073 eval with_$ac_useropt=no ;; 1074 1075 --x) 1076 # Obsolete; use --with-x. 1077 with_x=yes ;; 1078 1079 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1080 | --x-incl | --x-inc | --x-in | --x-i) 1081 ac_prev=x_includes ;; 1082 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1083 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1084 x_includes=$ac_optarg ;; 1085 1086 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1087 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1088 ac_prev=x_libraries ;; 1089 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1090 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1091 x_libraries=$ac_optarg ;; 1092 1093 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1094Try \`$0 --help' for more information" 1095 ;; 1096 1097 *=*) 1098 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1099 # Reject names that are not valid shell variable names. 1100 case $ac_envvar in #( 1101 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1102 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1103 esac 1104 eval $ac_envvar=\$ac_optarg 1105 export $ac_envvar ;; 1106 1107 *) 1108 # FIXME: should be removed in autoconf 3.0. 1109 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1110 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1111 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1112 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1113 ;; 1114 1115 esac 1116done 1117 1118if test -n "$ac_prev"; then 1119 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1120 as_fn_error $? "missing argument to $ac_option" 1121fi 1122 1123if test -n "$ac_unrecognized_opts"; then 1124 case $enable_option_checking in 1125 no) ;; 1126 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1127 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1128 esac 1129fi 1130 1131# Check all directory arguments for consistency. 1132for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1133 datadir sysconfdir sharedstatedir localstatedir includedir \ 1134 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1135 libdir localedir mandir runstatedir 1136do 1137 eval ac_val=\$$ac_var 1138 # Remove trailing slashes. 1139 case $ac_val in 1140 */ ) 1141 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1142 eval $ac_var=\$ac_val;; 1143 esac 1144 # Be sure to have absolute directory names. 1145 case $ac_val in 1146 [\\/$]* | ?:[\\/]* ) continue;; 1147 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1148 esac 1149 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1150done 1151 1152# There might be people who depend on the old broken behavior: `$host' 1153# used to hold the argument of --host etc. 1154# FIXME: To remove some day. 1155build=$build_alias 1156host=$host_alias 1157target=$target_alias 1158 1159# FIXME: To remove some day. 1160if test "x$host_alias" != x; then 1161 if test "x$build_alias" = x; then 1162 cross_compiling=maybe 1163 elif test "x$build_alias" != "x$host_alias"; then 1164 cross_compiling=yes 1165 fi 1166fi 1167 1168ac_tool_prefix= 1169test -n "$host_alias" && ac_tool_prefix=$host_alias- 1170 1171test "$silent" = yes && exec 6>/dev/null 1172 1173 1174ac_pwd=`pwd` && test -n "$ac_pwd" && 1175ac_ls_di=`ls -di .` && 1176ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1177 as_fn_error $? "working directory cannot be determined" 1178test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1179 as_fn_error $? "pwd does not report name of working directory" 1180 1181 1182# Find the source files, if location was not specified. 1183if test -z "$srcdir"; then 1184 ac_srcdir_defaulted=yes 1185 # Try the directory containing this script, then the parent directory. 1186 ac_confdir=`$as_dirname -- "$as_myself" || 1187$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1188 X"$as_myself" : 'X\(//\)[^/]' \| \ 1189 X"$as_myself" : 'X\(//\)$' \| \ 1190 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1191printf "%s\n" X"$as_myself" | 1192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1193 s//\1/ 1194 q 1195 } 1196 /^X\(\/\/\)[^/].*/{ 1197 s//\1/ 1198 q 1199 } 1200 /^X\(\/\/\)$/{ 1201 s//\1/ 1202 q 1203 } 1204 /^X\(\/\).*/{ 1205 s//\1/ 1206 q 1207 } 1208 s/.*/./; q'` 1209 srcdir=$ac_confdir 1210 if test ! -r "$srcdir/$ac_unique_file"; then 1211 srcdir=.. 1212 fi 1213else 1214 ac_srcdir_defaulted=no 1215fi 1216if test ! -r "$srcdir/$ac_unique_file"; then 1217 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1218 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1219fi 1220ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1221ac_abs_confdir=`( 1222 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1223 pwd)` 1224# When building in place, set srcdir=. 1225if test "$ac_abs_confdir" = "$ac_pwd"; then 1226 srcdir=. 1227fi 1228# Remove unnecessary trailing slashes from srcdir. 1229# Double slashes in file names in object file debugging info 1230# mess up M-x gdb in Emacs. 1231case $srcdir in 1232*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1233esac 1234for ac_var in $ac_precious_vars; do 1235 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1236 eval ac_env_${ac_var}_value=\$${ac_var} 1237 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1238 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1239done 1240 1241# 1242# Report the --help message. 1243# 1244if test "$ac_init_help" = "long"; then 1245 # Omit some internal or obsolete options to make the list less imposing. 1246 # This message is too long to be a string in the A/UX 3.1 sh. 1247 cat <<_ACEOF 1248\`configure' configures util-macros 1.20.1 to adapt to many kinds of systems. 1249 1250Usage: $0 [OPTION]... [VAR=VALUE]... 1251 1252To assign environment variables (e.g., CC, CFLAGS...), specify them as 1253VAR=VALUE. See below for descriptions of some of the useful variables. 1254 1255Defaults for the options are specified in brackets. 1256 1257Configuration: 1258 -h, --help display this help and exit 1259 --help=short display options specific to this package 1260 --help=recursive display the short help of all the included packages 1261 -V, --version display version information and exit 1262 -q, --quiet, --silent do not print \`checking ...' messages 1263 --cache-file=FILE cache test results in FILE [disabled] 1264 -C, --config-cache alias for \`--cache-file=config.cache' 1265 -n, --no-create do not create output files 1266 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1267 1268Installation directories: 1269 --prefix=PREFIX install architecture-independent files in PREFIX 1270 [$ac_default_prefix] 1271 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1272 [PREFIX] 1273 1274By default, \`make install' will install all the files in 1275\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1276an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1277for instance \`--prefix=\$HOME'. 1278 1279For better control, use the options below. 1280 1281Fine tuning of the installation directories: 1282 --bindir=DIR user executables [EPREFIX/bin] 1283 --sbindir=DIR system admin executables [EPREFIX/sbin] 1284 --libexecdir=DIR program executables [EPREFIX/libexec] 1285 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1286 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1287 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1288 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1289 --libdir=DIR object code libraries [EPREFIX/lib] 1290 --includedir=DIR C header files [PREFIX/include] 1291 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1294 --infodir=DIR info documentation [DATAROOTDIR/info] 1295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1296 --mandir=DIR man documentation [DATAROOTDIR/man] 1297 --docdir=DIR documentation root [DATAROOTDIR/doc/util-macros] 1298 --htmldir=DIR html documentation [DOCDIR] 1299 --dvidir=DIR dvi documentation [DOCDIR] 1300 --pdfdir=DIR pdf documentation [DOCDIR] 1301 --psdir=DIR ps documentation [DOCDIR] 1302_ACEOF 1303 1304 cat <<\_ACEOF 1305 1306Program names: 1307 --program-prefix=PREFIX prepend PREFIX to installed program names 1308 --program-suffix=SUFFIX append SUFFIX to installed program names 1309 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1310_ACEOF 1311fi 1312 1313if test -n "$ac_init_help"; then 1314 case $ac_init_help in 1315 short | recursive ) echo "Configuration of util-macros 1.20.1:";; 1316 esac 1317 cat <<\_ACEOF 1318 1319Optional Features: 1320 --disable-option-checking ignore unrecognized --enable/--with options 1321 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1322 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1323 --enable-silent-rules less verbose build output (undo: "make V=1") 1324 --disable-silent-rules verbose build output (undo: "make V=0") 1325 1326Report bugs to <https://gitlab.freedesktop.org/xorg/util/macros/issues>. 1327_ACEOF 1328ac_status=$? 1329fi 1330 1331if test "$ac_init_help" = "recursive"; then 1332 # If there are subdirs, report their specific --help. 1333 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1334 test -d "$ac_dir" || 1335 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1336 continue 1337 ac_builddir=. 1338 1339case "$ac_dir" in 1340.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1341*) 1342 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1343 # A ".." for each directory in $ac_dir_suffix. 1344 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1345 case $ac_top_builddir_sub in 1346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1348 esac ;; 1349esac 1350ac_abs_top_builddir=$ac_pwd 1351ac_abs_builddir=$ac_pwd$ac_dir_suffix 1352# for backward compatibility: 1353ac_top_builddir=$ac_top_build_prefix 1354 1355case $srcdir in 1356 .) # We are building in place. 1357 ac_srcdir=. 1358 ac_top_srcdir=$ac_top_builddir_sub 1359 ac_abs_top_srcdir=$ac_pwd ;; 1360 [\\/]* | ?:[\\/]* ) # Absolute name. 1361 ac_srcdir=$srcdir$ac_dir_suffix; 1362 ac_top_srcdir=$srcdir 1363 ac_abs_top_srcdir=$srcdir ;; 1364 *) # Relative name. 1365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1366 ac_top_srcdir=$ac_top_build_prefix$srcdir 1367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1368esac 1369ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1370 1371 cd "$ac_dir" || { ac_status=$?; continue; } 1372 # Check for configure.gnu first; this name is used for a wrapper for 1373 # Metaconfig's "Configure" on case-insensitive file systems. 1374 if test -f "$ac_srcdir/configure.gnu"; then 1375 echo && 1376 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1377 elif test -f "$ac_srcdir/configure"; then 1378 echo && 1379 $SHELL "$ac_srcdir/configure" --help=recursive 1380 else 1381 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1382 fi || ac_status=$? 1383 cd "$ac_pwd" || { ac_status=$?; break; } 1384 done 1385fi 1386 1387test -n "$ac_init_help" && exit $ac_status 1388if $ac_init_version; then 1389 cat <<\_ACEOF 1390util-macros configure 1.20.1 1391generated by GNU Autoconf 2.71 1392 1393Copyright (C) 2021 Free Software Foundation, Inc. 1394This configure script is free software; the Free Software Foundation 1395gives unlimited permission to copy, distribute and modify it. 1396_ACEOF 1397 exit 1398fi 1399 1400## ------------------------ ## 1401## Autoconf initialization. ## 1402## ------------------------ ## 1403ac_configure_args_raw= 1404for ac_arg 1405do 1406 case $ac_arg in 1407 *\'*) 1408 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1409 esac 1410 as_fn_append ac_configure_args_raw " '$ac_arg'" 1411done 1412 1413case $ac_configure_args_raw in 1414 *$as_nl*) 1415 ac_safe_unquote= ;; 1416 *) 1417 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1418 ac_unsafe_a="$ac_unsafe_z#~" 1419 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1420 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1421esac 1422 1423cat >config.log <<_ACEOF 1424This file contains any messages produced by compilers while 1425running configure, to aid debugging if configure makes a mistake. 1426 1427It was created by util-macros $as_me 1.20.1, which was 1428generated by GNU Autoconf 2.71. Invocation command line was 1429 1430 $ $0$ac_configure_args_raw 1431 1432_ACEOF 1433exec 5>>config.log 1434{ 1435cat <<_ASUNAME 1436## --------- ## 1437## Platform. ## 1438## --------- ## 1439 1440hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1441uname -m = `(uname -m) 2>/dev/null || echo unknown` 1442uname -r = `(uname -r) 2>/dev/null || echo unknown` 1443uname -s = `(uname -s) 2>/dev/null || echo unknown` 1444uname -v = `(uname -v) 2>/dev/null || echo unknown` 1445 1446/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1447/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1448 1449/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1450/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1451/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1452/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1453/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1454/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1455/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1456 1457_ASUNAME 1458 1459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1460for as_dir in $PATH 1461do 1462 IFS=$as_save_IFS 1463 case $as_dir in #((( 1464 '') as_dir=./ ;; 1465 */) ;; 1466 *) as_dir=$as_dir/ ;; 1467 esac 1468 printf "%s\n" "PATH: $as_dir" 1469 done 1470IFS=$as_save_IFS 1471 1472} >&5 1473 1474cat >&5 <<_ACEOF 1475 1476 1477## ----------- ## 1478## Core tests. ## 1479## ----------- ## 1480 1481_ACEOF 1482 1483 1484# Keep a trace of the command line. 1485# Strip out --no-create and --no-recursion so they do not pile up. 1486# Strip out --silent because we don't want to record it for future runs. 1487# Also quote any args containing shell meta-characters. 1488# Make two passes to allow for proper duplicate-argument suppression. 1489ac_configure_args= 1490ac_configure_args0= 1491ac_configure_args1= 1492ac_must_keep_next=false 1493for ac_pass in 1 2 1494do 1495 for ac_arg 1496 do 1497 case $ac_arg in 1498 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1500 | -silent | --silent | --silen | --sile | --sil) 1501 continue ;; 1502 *\'*) 1503 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1504 esac 1505 case $ac_pass in 1506 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1507 2) 1508 as_fn_append ac_configure_args1 " '$ac_arg'" 1509 if test $ac_must_keep_next = true; then 1510 ac_must_keep_next=false # Got value, back to normal. 1511 else 1512 case $ac_arg in 1513 *=* | --config-cache | -C | -disable-* | --disable-* \ 1514 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1515 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1516 | -with-* | --with-* | -without-* | --without-* | --x) 1517 case "$ac_configure_args0 " in 1518 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1519 esac 1520 ;; 1521 -* ) ac_must_keep_next=true ;; 1522 esac 1523 fi 1524 as_fn_append ac_configure_args " '$ac_arg'" 1525 ;; 1526 esac 1527 done 1528done 1529{ ac_configure_args0=; unset ac_configure_args0;} 1530{ ac_configure_args1=; unset ac_configure_args1;} 1531 1532# When interrupted or exit'd, cleanup temporary files, and complete 1533# config.log. We remove comments because anyway the quotes in there 1534# would cause problems or look ugly. 1535# WARNING: Use '\'' to represent an apostrophe within the trap. 1536# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1537trap 'exit_status=$? 1538 # Sanitize IFS. 1539 IFS=" "" $as_nl" 1540 # Save into config.log some information that might help in debugging. 1541 { 1542 echo 1543 1544 printf "%s\n" "## ---------------- ## 1545## Cache variables. ## 1546## ---------------- ##" 1547 echo 1548 # The following way of writing the cache mishandles newlines in values, 1549( 1550 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1551 eval ac_val=\$$ac_var 1552 case $ac_val in #( 1553 *${as_nl}*) 1554 case $ac_var in #( 1555 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1556printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1557 esac 1558 case $ac_var in #( 1559 _ | IFS | as_nl) ;; #( 1560 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1561 *) { eval $ac_var=; unset $ac_var;} ;; 1562 esac ;; 1563 esac 1564 done 1565 (set) 2>&1 | 1566 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1567 *${as_nl}ac_space=\ *) 1568 sed -n \ 1569 "s/'\''/'\''\\\\'\'''\''/g; 1570 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1571 ;; #( 1572 *) 1573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1574 ;; 1575 esac | 1576 sort 1577) 1578 echo 1579 1580 printf "%s\n" "## ----------------- ## 1581## Output variables. ## 1582## ----------------- ##" 1583 echo 1584 for ac_var in $ac_subst_vars 1585 do 1586 eval ac_val=\$$ac_var 1587 case $ac_val in 1588 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1589 esac 1590 printf "%s\n" "$ac_var='\''$ac_val'\''" 1591 done | sort 1592 echo 1593 1594 if test -n "$ac_subst_files"; then 1595 printf "%s\n" "## ------------------- ## 1596## File substitutions. ## 1597## ------------------- ##" 1598 echo 1599 for ac_var in $ac_subst_files 1600 do 1601 eval ac_val=\$$ac_var 1602 case $ac_val in 1603 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1604 esac 1605 printf "%s\n" "$ac_var='\''$ac_val'\''" 1606 done | sort 1607 echo 1608 fi 1609 1610 if test -s confdefs.h; then 1611 printf "%s\n" "## ----------- ## 1612## confdefs.h. ## 1613## ----------- ##" 1614 echo 1615 cat confdefs.h 1616 echo 1617 fi 1618 test "$ac_signal" != 0 && 1619 printf "%s\n" "$as_me: caught signal $ac_signal" 1620 printf "%s\n" "$as_me: exit $exit_status" 1621 } >&5 1622 rm -f core *.core core.conftest.* && 1623 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1624 exit $exit_status 1625' 0 1626for ac_signal in 1 2 13 15; do 1627 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1628done 1629ac_signal=0 1630 1631# confdefs.h avoids OS command line length limits that DEFS can exceed. 1632rm -f -r conftest* confdefs.h 1633 1634printf "%s\n" "/* confdefs.h */" > confdefs.h 1635 1636# Predefined preprocessor variables. 1637 1638printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 1639 1640printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 1641 1642printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 1643 1644printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 1645 1646printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 1647 1648printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 1649 1650 1651# Let the site file select an alternate cache file if it wants to. 1652# Prefer an explicitly selected file to automatically selected ones. 1653if test -n "$CONFIG_SITE"; then 1654 ac_site_files="$CONFIG_SITE" 1655elif test "x$prefix" != xNONE; then 1656 ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 1657else 1658 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1659fi 1660 1661for ac_site_file in $ac_site_files 1662do 1663 case $ac_site_file in #( 1664 */*) : 1665 ;; #( 1666 *) : 1667 ac_site_file=./$ac_site_file ;; 1668esac 1669 if test -f "$ac_site_file" && test -r "$ac_site_file"; then 1670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1671printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 1672 sed 's/^/| /' "$ac_site_file" >&5 1673 . "$ac_site_file" \ 1674 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1675printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 1676as_fn_error $? "failed to load site script $ac_site_file 1677See \`config.log' for more details" "$LINENO" 5; } 1678 fi 1679done 1680 1681if test -r "$cache_file"; then 1682 # Some versions of bash will fail to source /dev/null (special files 1683 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1684 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1686printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 1687 case $cache_file in 1688 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1689 *) . "./$cache_file";; 1690 esac 1691 fi 1692else 1693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1694printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 1695 >$cache_file 1696fi 1697 1698 1699# Auxiliary files required by this configure script. 1700ac_aux_files="missing install-sh" 1701 1702# Locations in which to look for auxiliary files. 1703ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 1704 1705# Search for a directory containing all of the required auxiliary files, 1706# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 1707# If we don't find one directory that contains all the files we need, 1708# we report the set of missing files from the *first* directory in 1709# $ac_aux_dir_candidates and give up. 1710ac_missing_aux_files="" 1711ac_first_candidate=: 1712printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 1713as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1714as_found=false 1715for as_dir in $ac_aux_dir_candidates 1716do 1717 IFS=$as_save_IFS 1718 case $as_dir in #((( 1719 '') as_dir=./ ;; 1720 */) ;; 1721 *) as_dir=$as_dir/ ;; 1722 esac 1723 as_found=: 1724 1725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 1726 ac_aux_dir_found=yes 1727 ac_install_sh= 1728 for ac_aux in $ac_aux_files 1729 do 1730 # As a special case, if "install-sh" is required, that requirement 1731 # can be satisfied by any of "install-sh", "install.sh", or "shtool", 1732 # and $ac_install_sh is set appropriately for whichever one is found. 1733 if test x"$ac_aux" = x"install-sh" 1734 then 1735 if test -f "${as_dir}install-sh"; then 1736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 1737 ac_install_sh="${as_dir}install-sh -c" 1738 elif test -f "${as_dir}install.sh"; then 1739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 1740 ac_install_sh="${as_dir}install.sh -c" 1741 elif test -f "${as_dir}shtool"; then 1742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 1743 ac_install_sh="${as_dir}shtool install -c" 1744 else 1745 ac_aux_dir_found=no 1746 if $ac_first_candidate; then 1747 ac_missing_aux_files="${ac_missing_aux_files} install-sh" 1748 else 1749 break 1750 fi 1751 fi 1752 else 1753 if test -f "${as_dir}${ac_aux}"; then 1754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 1755 else 1756 ac_aux_dir_found=no 1757 if $ac_first_candidate; then 1758 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 1759 else 1760 break 1761 fi 1762 fi 1763 fi 1764 done 1765 if test "$ac_aux_dir_found" = yes; then 1766 ac_aux_dir="$as_dir" 1767 break 1768 fi 1769 ac_first_candidate=false 1770 1771 as_found=false 1772done 1773IFS=$as_save_IFS 1774if $as_found 1775then : 1776 1777else $as_nop 1778 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 1779fi 1780 1781 1782# These three variables are undocumented and unsupported, 1783# and are intended to be withdrawn in a future Autoconf release. 1784# They can cause serious problems if a builder's source tree is in a directory 1785# whose full name contains unusual characters. 1786if test -f "${ac_aux_dir}config.guess"; then 1787 ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 1788fi 1789if test -f "${ac_aux_dir}config.sub"; then 1790 ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 1791fi 1792if test -f "$ac_aux_dir/configure"; then 1793 ac_configure="$SHELL ${ac_aux_dir}configure" 1794fi 1795 1796# Check that the precious variables saved in the cache have kept the same 1797# value. 1798ac_cache_corrupted=false 1799for ac_var in $ac_precious_vars; do 1800 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1801 eval ac_new_set=\$ac_env_${ac_var}_set 1802 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1803 eval ac_new_val=\$ac_env_${ac_var}_value 1804 case $ac_old_set,$ac_new_set in 1805 set,) 1806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1807printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1808 ac_cache_corrupted=: ;; 1809 ,set) 1810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1811printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1812 ac_cache_corrupted=: ;; 1813 ,);; 1814 *) 1815 if test "x$ac_old_val" != "x$ac_new_val"; then 1816 # differences in whitespace do not lead to failure. 1817 ac_old_val_w=`echo x $ac_old_val` 1818 ac_new_val_w=`echo x $ac_new_val` 1819 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1821printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1822 ac_cache_corrupted=: 1823 else 1824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1825printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1826 eval $ac_var=\$ac_old_val 1827 fi 1828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1829printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 1830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1831printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 1832 fi;; 1833 esac 1834 # Pass precious variables to config.status. 1835 if test "$ac_new_set" = set; then 1836 case $ac_new_val in 1837 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1838 *) ac_arg=$ac_var=$ac_new_val ;; 1839 esac 1840 case " $ac_configure_args " in 1841 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1842 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1843 esac 1844 fi 1845done 1846if $ac_cache_corrupted; then 1847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1848printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 1849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1850printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 1851 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 1852 and start over" "$LINENO" 5 1853fi 1854## -------------------- ## 1855## Main body of script. ## 1856## -------------------- ## 1857 1858ac_ext=c 1859ac_cpp='$CPP $CPPFLAGS' 1860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1862ac_compiler_gnu=$ac_cv_c_compiler_gnu 1863 1864 1865 1866am__api_version='1.16' 1867 1868 1869 1870 # Find a good install program. We prefer a C program (faster), 1871# so one script is as good as another. But avoid the broken or 1872# incompatible versions: 1873# SysV /etc/install, /usr/sbin/install 1874# SunOS /usr/etc/install 1875# IRIX /sbin/install 1876# AIX /bin/install 1877# AmigaOS /C/install, which installs bootblocks on floppy discs 1878# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1879# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1880# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1881# OS/2's system install, which has a completely different semantic 1882# ./install, which can be erroneously created by make from ./install.sh. 1883# Reject install programs that cannot install multiple files. 1884{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 1885printf %s "checking for a BSD-compatible install... " >&6; } 1886if test -z "$INSTALL"; then 1887if test ${ac_cv_path_install+y} 1888then : 1889 printf %s "(cached) " >&6 1890else $as_nop 1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1892for as_dir in $PATH 1893do 1894 IFS=$as_save_IFS 1895 case $as_dir in #((( 1896 '') as_dir=./ ;; 1897 */) ;; 1898 *) as_dir=$as_dir/ ;; 1899 esac 1900 # Account for fact that we put trailing slashes in our PATH walk. 1901case $as_dir in #(( 1902 ./ | /[cC]/* | \ 1903 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1904 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1905 /usr/ucb/* ) ;; 1906 *) 1907 # OSF1 and SCO ODT 3.0 have their own names for install. 1908 # Don't use installbsd from OSF since it installs stuff as root 1909 # by default. 1910 for ac_prog in ginstall scoinst install; do 1911 for ac_exec_ext in '' $ac_executable_extensions; do 1912 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 1913 if test $ac_prog = install && 1914 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1915 # AIX install. It has an incompatible calling convention. 1916 : 1917 elif test $ac_prog = install && 1918 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1919 # program-specific install script used by HP pwplus--don't use. 1920 : 1921 else 1922 rm -rf conftest.one conftest.two conftest.dir 1923 echo one > conftest.one 1924 echo two > conftest.two 1925 mkdir conftest.dir 1926 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 1927 test -s conftest.one && test -s conftest.two && 1928 test -s conftest.dir/conftest.one && 1929 test -s conftest.dir/conftest.two 1930 then 1931 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 1932 break 3 1933 fi 1934 fi 1935 fi 1936 done 1937 done 1938 ;; 1939esac 1940 1941 done 1942IFS=$as_save_IFS 1943 1944rm -rf conftest.one conftest.two conftest.dir 1945 1946fi 1947 if test ${ac_cv_path_install+y}; then 1948 INSTALL=$ac_cv_path_install 1949 else 1950 # As a last resort, use the slow shell script. Don't cache a 1951 # value for INSTALL within a source directory, because that will 1952 # break other packages using the cache if that directory is 1953 # removed, or if the value is a relative name. 1954 INSTALL=$ac_install_sh 1955 fi 1956fi 1957{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 1958printf "%s\n" "$INSTALL" >&6; } 1959 1960# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1961# It thinks the first close brace ends the variable substitution. 1962test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1963 1964test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1965 1966test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1967 1968{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 1969printf %s "checking whether build environment is sane... " >&6; } 1970# Reject unsafe characters in $srcdir or the absolute working directory 1971# name. Accept space and tab only in the latter. 1972am_lf=' 1973' 1974case `pwd` in 1975 *[\\\"\#\$\&\'\`$am_lf]*) 1976 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 1977esac 1978case $srcdir in 1979 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 1980 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 1981esac 1982 1983# Do 'set' in a subshell so we don't clobber the current shell's 1984# arguments. Must try -L first in case configure is actually a 1985# symlink; some systems play weird games with the mod time of symlinks 1986# (eg FreeBSD returns the mod time of the symlink's containing 1987# directory). 1988if ( 1989 am_has_slept=no 1990 for am_try in 1 2; do 1991 echo "timestamp, slept: $am_has_slept" > conftest.file 1992 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 1993 if test "$*" = "X"; then 1994 # -L didn't work. 1995 set X `ls -t "$srcdir/configure" conftest.file` 1996 fi 1997 if test "$*" != "X $srcdir/configure conftest.file" \ 1998 && test "$*" != "X conftest.file $srcdir/configure"; then 1999 2000 # If neither matched, then we have a broken ls. This can happen 2001 # if, for instance, CONFIG_SHELL is bash and it inherits a 2002 # broken ls alias from the environment. This has actually 2003 # happened. Such a system could not be considered "sane". 2004 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2005 alias in your environment" "$LINENO" 5 2006 fi 2007 if test "$2" = conftest.file || test $am_try -eq 2; then 2008 break 2009 fi 2010 # Just in case. 2011 sleep 1 2012 am_has_slept=yes 2013 done 2014 test "$2" = conftest.file 2015 ) 2016then 2017 # Ok. 2018 : 2019else 2020 as_fn_error $? "newly created file is older than distributed files! 2021Check your system clock" "$LINENO" 5 2022fi 2023{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2024printf "%s\n" "yes" >&6; } 2025# If we didn't sleep, we still need to ensure time stamps of config.status and 2026# generated files are strictly newer. 2027am_sleep_pid= 2028if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2029 ( sleep 1 ) & 2030 am_sleep_pid=$! 2031fi 2032 2033rm -f conftest.file 2034 2035test "$program_prefix" != NONE && 2036 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2037# Use a double $ so make ignores it. 2038test "$program_suffix" != NONE && 2039 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2040# Double any \ or $. 2041# By default was `s,x,x', remove it if useless. 2042ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2043program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2044 2045 2046# Expand $ac_aux_dir to an absolute path. 2047am_aux_dir=`cd "$ac_aux_dir" && pwd` 2048 2049 2050 if test x"${MISSING+set}" != xset; then 2051 MISSING="\${SHELL} '$am_aux_dir/missing'" 2052fi 2053# Use eval to expand $SHELL 2054if eval "$MISSING --is-lightweight"; then 2055 am_missing_run="$MISSING " 2056else 2057 am_missing_run= 2058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2059printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2060fi 2061 2062if test x"${install_sh+set}" != xset; then 2063 case $am_aux_dir in 2064 *\ * | *\ *) 2065 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2066 *) 2067 install_sh="\${SHELL} $am_aux_dir/install-sh" 2068 esac 2069fi 2070 2071# Installed binaries are usually stripped using 'strip' when the user 2072# run "make install-strip". However 'strip' might not be the right 2073# tool to use in cross-compilation environments, therefore Automake 2074# will honor the 'STRIP' environment variable to overrule this program. 2075if test "$cross_compiling" != no; then 2076 if test -n "$ac_tool_prefix"; then 2077 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2078set dummy ${ac_tool_prefix}strip; ac_word=$2 2079{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2080printf %s "checking for $ac_word... " >&6; } 2081if test ${ac_cv_prog_STRIP+y} 2082then : 2083 printf %s "(cached) " >&6 2084else $as_nop 2085 if test -n "$STRIP"; then 2086 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2087else 2088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2089for as_dir in $PATH 2090do 2091 IFS=$as_save_IFS 2092 case $as_dir in #((( 2093 '') as_dir=./ ;; 2094 */) ;; 2095 *) as_dir=$as_dir/ ;; 2096 esac 2097 for ac_exec_ext in '' $ac_executable_extensions; do 2098 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2099 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2101 break 2 2102 fi 2103done 2104 done 2105IFS=$as_save_IFS 2106 2107fi 2108fi 2109STRIP=$ac_cv_prog_STRIP 2110if test -n "$STRIP"; then 2111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2112printf "%s\n" "$STRIP" >&6; } 2113else 2114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2115printf "%s\n" "no" >&6; } 2116fi 2117 2118 2119fi 2120if test -z "$ac_cv_prog_STRIP"; then 2121 ac_ct_STRIP=$STRIP 2122 # Extract the first word of "strip", so it can be a program name with args. 2123set dummy strip; ac_word=$2 2124{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2125printf %s "checking for $ac_word... " >&6; } 2126if test ${ac_cv_prog_ac_ct_STRIP+y} 2127then : 2128 printf %s "(cached) " >&6 2129else $as_nop 2130 if test -n "$ac_ct_STRIP"; then 2131 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2132else 2133as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2134for as_dir in $PATH 2135do 2136 IFS=$as_save_IFS 2137 case $as_dir in #((( 2138 '') as_dir=./ ;; 2139 */) ;; 2140 *) as_dir=$as_dir/ ;; 2141 esac 2142 for ac_exec_ext in '' $ac_executable_extensions; do 2143 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2144 ac_cv_prog_ac_ct_STRIP="strip" 2145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2146 break 2 2147 fi 2148done 2149 done 2150IFS=$as_save_IFS 2151 2152fi 2153fi 2154ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2155if test -n "$ac_ct_STRIP"; then 2156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2157printf "%s\n" "$ac_ct_STRIP" >&6; } 2158else 2159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2160printf "%s\n" "no" >&6; } 2161fi 2162 2163 if test "x$ac_ct_STRIP" = x; then 2164 STRIP=":" 2165 else 2166 case $cross_compiling:$ac_tool_warned in 2167yes:) 2168{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2169printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2170ac_tool_warned=yes ;; 2171esac 2172 STRIP=$ac_ct_STRIP 2173 fi 2174else 2175 STRIP="$ac_cv_prog_STRIP" 2176fi 2177 2178fi 2179INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2180 2181 2182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2183printf %s "checking for a race-free mkdir -p... " >&6; } 2184if test -z "$MKDIR_P"; then 2185 if test ${ac_cv_path_mkdir+y} 2186then : 2187 printf %s "(cached) " >&6 2188else $as_nop 2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2190for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2191do 2192 IFS=$as_save_IFS 2193 case $as_dir in #((( 2194 '') as_dir=./ ;; 2195 */) ;; 2196 *) as_dir=$as_dir/ ;; 2197 esac 2198 for ac_prog in mkdir gmkdir; do 2199 for ac_exec_ext in '' $ac_executable_extensions; do 2200 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2201 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2202 'mkdir ('*'coreutils) '* | \ 2203 'BusyBox '* | \ 2204 'mkdir (fileutils) '4.1*) 2205 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2206 break 3;; 2207 esac 2208 done 2209 done 2210 done 2211IFS=$as_save_IFS 2212 2213fi 2214 2215 test -d ./--version && rmdir ./--version 2216 if test ${ac_cv_path_mkdir+y}; then 2217 MKDIR_P="$ac_cv_path_mkdir -p" 2218 else 2219 # As a last resort, use the slow shell script. Don't cache a 2220 # value for MKDIR_P within a source directory, because that will 2221 # break other packages using the cache if that directory is 2222 # removed, or if the value is a relative name. 2223 MKDIR_P="$ac_install_sh -d" 2224 fi 2225fi 2226{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2227printf "%s\n" "$MKDIR_P" >&6; } 2228 2229for ac_prog in gawk mawk nawk awk 2230do 2231 # Extract the first word of "$ac_prog", so it can be a program name with args. 2232set dummy $ac_prog; ac_word=$2 2233{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2234printf %s "checking for $ac_word... " >&6; } 2235if test ${ac_cv_prog_AWK+y} 2236then : 2237 printf %s "(cached) " >&6 2238else $as_nop 2239 if test -n "$AWK"; then 2240 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2241else 2242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2243for as_dir in $PATH 2244do 2245 IFS=$as_save_IFS 2246 case $as_dir in #((( 2247 '') as_dir=./ ;; 2248 */) ;; 2249 *) as_dir=$as_dir/ ;; 2250 esac 2251 for ac_exec_ext in '' $ac_executable_extensions; do 2252 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2253 ac_cv_prog_AWK="$ac_prog" 2254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2255 break 2 2256 fi 2257done 2258 done 2259IFS=$as_save_IFS 2260 2261fi 2262fi 2263AWK=$ac_cv_prog_AWK 2264if test -n "$AWK"; then 2265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2266printf "%s\n" "$AWK" >&6; } 2267else 2268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2269printf "%s\n" "no" >&6; } 2270fi 2271 2272 2273 test -n "$AWK" && break 2274done 2275 2276{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2277printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2278set x ${MAKE-make} 2279ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2280if eval test \${ac_cv_prog_make_${ac_make}_set+y} 2281then : 2282 printf %s "(cached) " >&6 2283else $as_nop 2284 cat >conftest.make <<\_ACEOF 2285SHELL = /bin/sh 2286all: 2287 @echo '@@@%%%=$(MAKE)=@@@%%%' 2288_ACEOF 2289# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2290case `${MAKE-make} -f conftest.make 2>/dev/null` in 2291 *@@@%%%=?*=@@@%%%*) 2292 eval ac_cv_prog_make_${ac_make}_set=yes;; 2293 *) 2294 eval ac_cv_prog_make_${ac_make}_set=no;; 2295esac 2296rm -f conftest.make 2297fi 2298if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2300printf "%s\n" "yes" >&6; } 2301 SET_MAKE= 2302else 2303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2304printf "%s\n" "no" >&6; } 2305 SET_MAKE="MAKE=${MAKE-make}" 2306fi 2307 2308rm -rf .tst 2>/dev/null 2309mkdir .tst 2>/dev/null 2310if test -d .tst; then 2311 am__leading_dot=. 2312else 2313 am__leading_dot=_ 2314fi 2315rmdir .tst 2>/dev/null 2316 2317# Check whether --enable-silent-rules was given. 2318if test ${enable_silent_rules+y} 2319then : 2320 enableval=$enable_silent_rules; 2321fi 2322 2323case $enable_silent_rules in # ((( 2324 yes) AM_DEFAULT_VERBOSITY=0;; 2325 no) AM_DEFAULT_VERBOSITY=1;; 2326 *) AM_DEFAULT_VERBOSITY=1;; 2327esac 2328am_make=${MAKE-make} 2329{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2330printf %s "checking whether $am_make supports nested variables... " >&6; } 2331if test ${am_cv_make_support_nested_variables+y} 2332then : 2333 printf %s "(cached) " >&6 2334else $as_nop 2335 if printf "%s\n" 'TRUE=$(BAR$(V)) 2336BAR0=false 2337BAR1=true 2338V=1 2339am__doit: 2340 @$(TRUE) 2341.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2342 am_cv_make_support_nested_variables=yes 2343else 2344 am_cv_make_support_nested_variables=no 2345fi 2346fi 2347{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2348printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 2349if test $am_cv_make_support_nested_variables = yes; then 2350 AM_V='$(V)' 2351 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2352else 2353 AM_V=$AM_DEFAULT_VERBOSITY 2354 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2355fi 2356AM_BACKSLASH='\' 2357 2358if test "`cd $srcdir && pwd`" != "`pwd`"; then 2359 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2360 # is not polluted with repeated "-I." 2361 am__isrc=' -I$(srcdir)' 2362 # test to see if srcdir already configured 2363 if test -f $srcdir/config.status; then 2364 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2365 fi 2366fi 2367 2368# test whether we have cygpath 2369if test -z "$CYGPATH_W"; then 2370 if (cygpath --version) >/dev/null 2>/dev/null; then 2371 CYGPATH_W='cygpath -w' 2372 else 2373 CYGPATH_W=echo 2374 fi 2375fi 2376 2377 2378# Define the identity of the package. 2379 PACKAGE='util-macros' 2380 VERSION='1.20.1' 2381 2382 2383printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2384 2385 2386printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2387 2388# Some tools Automake needs. 2389 2390ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2391 2392 2393AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2394 2395 2396AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2397 2398 2399AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2400 2401 2402MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2403 2404# For better backward compatibility. To be removed once Automake 1.9.x 2405# dies out for good. For more background, see: 2406# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2407# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2408mkdir_p='$(MKDIR_P)' 2409 2410# We need awk for the "check" target (and possibly the TAP driver). The 2411# system "awk" is bad on some platforms. 2412# Always define AMTAR for backward compatibility. Yes, it's still used 2413# in the wild :-( We should find a proper way to deprecate it ... 2414AMTAR='$${TAR-tar}' 2415 2416 2417# We'll loop over all known methods to create a tar archive until one works. 2418_am_tools='gnutar pax cpio none' 2419 2420am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2421 2422 2423 2424 2425 2426# Variables for tags utilities; see am/tags.am 2427if test -z "$CTAGS"; then 2428 CTAGS=ctags 2429fi 2430 2431if test -z "$ETAGS"; then 2432 ETAGS=etags 2433fi 2434 2435if test -z "$CSCOPE"; then 2436 CSCOPE=cscope 2437fi 2438 2439 2440 2441# POSIX will say in a future version that running "rm -f" with no argument 2442# is OK; and we want to be able to make that assumption in our Makefile 2443# recipes. So use an aggressive probe to check that the usage we want is 2444# actually supported "in the wild" to an acceptable degree. 2445# See automake bug#10828. 2446# To make any issue more visible, cause the running configure to be aborted 2447# by default if the 'rm' program in use doesn't match our expectations; the 2448# user can still override this though. 2449if rm -f && rm -fr && rm -rf; then : OK; else 2450 cat >&2 <<'END' 2451Oops! 2452 2453Your 'rm' program seems unable to run without file operands specified 2454on the command line, even when the '-f' option is present. This is contrary 2455to the behaviour of most rm programs out there, and not conforming with 2456the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2457 2458Please tell bug-automake@gnu.org about your system, including the value 2459of your $PATH and any error possibly output before this message. This 2460can help us improve future automake versions. 2461 2462END 2463 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2464 echo 'Configuration will proceed anyway, since you have set the' >&2 2465 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2466 echo >&2 2467 else 2468 cat >&2 <<'END' 2469Aborting the configuration process, to ensure you take notice of the issue. 2470 2471You can download and install GNU coreutils to get an 'rm' implementation 2472that behaves properly: <https://www.gnu.org/software/coreutils/>. 2473 2474If you want to complete the configuration process using your problematic 2475'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2476to "yes", and re-run configure. 2477 2478END 2479 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2480 fi 2481fi 2482 2483 2484# Checks for programs. 2485 2486 2487# This is the package that installs xorgversion.m4 as part of xorg-macros.m4. 2488# In order to use xorgversion.m4 here, we include it explicitly. 2489 2490# XORG_RELEASE_VERSION 2491# -------------------- 2492# Defines PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} for modules to use. 2493 2494 2495 2496# XORG_CHANGELOG() 2497# ---------------- 2498# Minimum version: 1.2.0 2499# 2500# Defines the variable CHANGELOG_CMD as the command to generate 2501# ChangeLog from git. 2502# 2503# 2504 # XORG_CHANGELOG 2505 2506 2507 2508 2509cat >>confdefs.h <<_ACEOF 2510#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 2511_ACEOF 2512 2513 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 2514 if test "x$PVM" = "x"; then 2515 PVM="0" 2516 fi 2517 2518printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 2519 2520 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 2521 if test "x$PVP" = "x"; then 2522 PVP="0" 2523 fi 2524 2525printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 2526 2527 2528 2529CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 2530mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 2531|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 2532touch \$(top_srcdir)/ChangeLog; \ 2533echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 2534 2535 2536 2537ac_config_files="$ac_config_files xorg-macros.pc Makefile xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4" 2538 2539cat >confcache <<\_ACEOF 2540# This file is a shell script that caches the results of configure 2541# tests run on this system so they can be shared between configure 2542# scripts and configure runs, see configure's option --config-cache. 2543# It is not useful on other systems. If it contains results you don't 2544# want to keep, you may remove or edit it. 2545# 2546# config.status only pays attention to the cache file if you give it 2547# the --recheck option to rerun configure. 2548# 2549# `ac_cv_env_foo' variables (set or unset) will be overridden when 2550# loading this file, other *unset* `ac_cv_foo' will be assigned the 2551# following values. 2552 2553_ACEOF 2554 2555# The following way of writing the cache mishandles newlines in values, 2556# but we know of no workaround that is simple, portable, and efficient. 2557# So, we kill variables containing newlines. 2558# Ultrix sh set writes to stderr and can't be redirected directly, 2559# and sets the high bit in the cache file unless we assign to the vars. 2560( 2561 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 2562 eval ac_val=\$$ac_var 2563 case $ac_val in #( 2564 *${as_nl}*) 2565 case $ac_var in #( 2566 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2567printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2568 esac 2569 case $ac_var in #( 2570 _ | IFS | as_nl) ;; #( 2571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2572 *) { eval $ac_var=; unset $ac_var;} ;; 2573 esac ;; 2574 esac 2575 done 2576 2577 (set) 2>&1 | 2578 case $as_nl`(ac_space=' '; set) 2>&1` in #( 2579 *${as_nl}ac_space=\ *) 2580 # `set' does not quote correctly, so add quotes: double-quote 2581 # substitution turns \\\\ into \\, and sed turns \\ into \. 2582 sed -n \ 2583 "s/'/'\\\\''/g; 2584 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2585 ;; #( 2586 *) 2587 # `set' quotes correctly as required by POSIX, so do not add quotes. 2588 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2589 ;; 2590 esac | 2591 sort 2592) | 2593 sed ' 2594 /^ac_cv_env_/b end 2595 t clear 2596 :clear 2597 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 2598 t end 2599 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2600 :end' >>confcache 2601if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 2602 if test -w "$cache_file"; then 2603 if test "x$cache_file" != "x/dev/null"; then 2604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 2605printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 2606 if test ! -f "$cache_file" || test -h "$cache_file"; then 2607 cat confcache >"$cache_file" 2608 else 2609 case $cache_file in #( 2610 */* | ?:*) 2611 mv -f confcache "$cache_file"$$ && 2612 mv -f "$cache_file"$$ "$cache_file" ;; #( 2613 *) 2614 mv -f confcache "$cache_file" ;; 2615 esac 2616 fi 2617 fi 2618 else 2619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 2620printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 2621 fi 2622fi 2623rm -f confcache 2624 2625test "x$prefix" = xNONE && prefix=$ac_default_prefix 2626# Let make expand exec_prefix. 2627test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2628 2629# Transform confdefs.h into DEFS. 2630# Protect against shell expansion while executing Makefile rules. 2631# Protect against Makefile macro expansion. 2632# 2633# If the first sed substitution is executed (which looks for macros that 2634# take arguments), then branch to the quote section. Otherwise, 2635# look for a macro that doesn't take arguments. 2636ac_script=' 2637:mline 2638/\\$/{ 2639 N 2640 s,\\\n,, 2641 b mline 2642} 2643t clear 2644:clear 2645s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 2646t quote 2647s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 2648t quote 2649b any 2650:quote 2651s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 2652s/\[/\\&/g 2653s/\]/\\&/g 2654s/\$/$$/g 2655H 2656:any 2657${ 2658 g 2659 s/^\n// 2660 s/\n/ /g 2661 p 2662} 2663' 2664DEFS=`sed -n "$ac_script" confdefs.h` 2665 2666 2667ac_libobjs= 2668ac_ltlibobjs= 2669U= 2670for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2671 # 1. Remove the extension, and $U if already installed. 2672 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 2673 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 2674 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 2675 # will be set to the directory where LIBOBJS objects are built. 2676 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 2677 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 2678done 2679LIBOBJS=$ac_libobjs 2680 2681LTLIBOBJS=$ac_ltlibobjs 2682 2683 2684{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 2685printf %s "checking that generated files are newer than configure... " >&6; } 2686 if test -n "$am_sleep_pid"; then 2687 # Hide warnings about reused PIDs. 2688 wait $am_sleep_pid 2>/dev/null 2689 fi 2690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 2691printf "%s\n" "done" >&6; } 2692 2693 2694: "${CONFIG_STATUS=./config.status}" 2695ac_write_fail=0 2696ac_clean_files_save=$ac_clean_files 2697ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2698{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 2699printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 2700as_write_fail=0 2701cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 2702#! $SHELL 2703# Generated by $as_me. 2704# Run this file to recreate the current configuration. 2705# Compiler output produced by configure, useful for debugging 2706# configure, is in config.log if it exists. 2707 2708debug=false 2709ac_cs_recheck=false 2710ac_cs_silent=false 2711 2712SHELL=\${CONFIG_SHELL-$SHELL} 2713export SHELL 2714_ASEOF 2715cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 2716## -------------------- ## 2717## M4sh Initialization. ## 2718## -------------------- ## 2719 2720# Be more Bourne compatible 2721DUALCASE=1; export DUALCASE # for MKS sh 2722as_nop=: 2723if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 2724then : 2725 emulate sh 2726 NULLCMD=: 2727 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2728 # is contrary to our usage. Disable this feature. 2729 alias -g '${1+"$@"}'='"$@"' 2730 setopt NO_GLOB_SUBST 2731else $as_nop 2732 case `(set -o) 2>/dev/null` in #( 2733 *posix*) : 2734 set -o posix ;; #( 2735 *) : 2736 ;; 2737esac 2738fi 2739 2740 2741 2742# Reset variables that may have inherited troublesome values from 2743# the environment. 2744 2745# IFS needs to be set, to space, tab, and newline, in precisely that order. 2746# (If _AS_PATH_WALK were called with IFS unset, it would have the 2747# side effect of setting IFS to empty, thus disabling word splitting.) 2748# Quoting is to prevent editors from complaining about space-tab. 2749as_nl=' 2750' 2751export as_nl 2752IFS=" "" $as_nl" 2753 2754PS1='$ ' 2755PS2='> ' 2756PS4='+ ' 2757 2758# Ensure predictable behavior from utilities with locale-dependent output. 2759LC_ALL=C 2760export LC_ALL 2761LANGUAGE=C 2762export LANGUAGE 2763 2764# We cannot yet rely on "unset" to work, but we need these variables 2765# to be unset--not just set to an empty or harmless value--now, to 2766# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 2767# also avoids known problems related to "unset" and subshell syntax 2768# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 2769for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 2770do eval test \${$as_var+y} \ 2771 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 2772done 2773 2774# Ensure that fds 0, 1, and 2 are open. 2775if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 2776if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 2777if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 2778 2779# The user is always right. 2780if ${PATH_SEPARATOR+false} :; then 2781 PATH_SEPARATOR=: 2782 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 2783 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 2784 PATH_SEPARATOR=';' 2785 } 2786fi 2787 2788 2789# Find who we are. Look in the path if we contain no directory separator. 2790as_myself= 2791case $0 in #(( 2792 *[\\/]* ) as_myself=$0 ;; 2793 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2794for as_dir in $PATH 2795do 2796 IFS=$as_save_IFS 2797 case $as_dir in #((( 2798 '') as_dir=./ ;; 2799 */) ;; 2800 *) as_dir=$as_dir/ ;; 2801 esac 2802 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 2803 done 2804IFS=$as_save_IFS 2805 2806 ;; 2807esac 2808# We did not find ourselves, most probably we were run as `sh COMMAND' 2809# in which case we are not to be found in the path. 2810if test "x$as_myself" = x; then 2811 as_myself=$0 2812fi 2813if test ! -f "$as_myself"; then 2814 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 2815 exit 1 2816fi 2817 2818 2819 2820# as_fn_error STATUS ERROR [LINENO LOG_FD] 2821# ---------------------------------------- 2822# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 2823# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 2824# script with STATUS, using 1 if that was 0. 2825as_fn_error () 2826{ 2827 as_status=$1; test $as_status -eq 0 && as_status=1 2828 if test "$4"; then 2829 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 2831 fi 2832 printf "%s\n" "$as_me: error: $2" >&2 2833 as_fn_exit $as_status 2834} # as_fn_error 2835 2836 2837 2838# as_fn_set_status STATUS 2839# ----------------------- 2840# Set $? to STATUS, without forking. 2841as_fn_set_status () 2842{ 2843 return $1 2844} # as_fn_set_status 2845 2846# as_fn_exit STATUS 2847# ----------------- 2848# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2849as_fn_exit () 2850{ 2851 set +e 2852 as_fn_set_status $1 2853 exit $1 2854} # as_fn_exit 2855 2856# as_fn_unset VAR 2857# --------------- 2858# Portably unset VAR. 2859as_fn_unset () 2860{ 2861 { eval $1=; unset $1;} 2862} 2863as_unset=as_fn_unset 2864 2865# as_fn_append VAR VALUE 2866# ---------------------- 2867# Append the text in VALUE to the end of the definition contained in VAR. Take 2868# advantage of any shell optimizations that allow amortized linear growth over 2869# repeated appends, instead of the typical quadratic growth present in naive 2870# implementations. 2871if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 2872then : 2873 eval 'as_fn_append () 2874 { 2875 eval $1+=\$2 2876 }' 2877else $as_nop 2878 as_fn_append () 2879 { 2880 eval $1=\$$1\$2 2881 } 2882fi # as_fn_append 2883 2884# as_fn_arith ARG... 2885# ------------------ 2886# Perform arithmetic evaluation on the ARGs, and store the result in the 2887# global $as_val. Take advantage of shells that can avoid forks. The arguments 2888# must be portable across $(()) and expr. 2889if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 2890then : 2891 eval 'as_fn_arith () 2892 { 2893 as_val=$(( $* )) 2894 }' 2895else $as_nop 2896 as_fn_arith () 2897 { 2898 as_val=`expr "$@" || test $? -eq 1` 2899 } 2900fi # as_fn_arith 2901 2902 2903if expr a : '\(a\)' >/dev/null 2>&1 && 2904 test "X`expr 00001 : '.*\(...\)'`" = X001; then 2905 as_expr=expr 2906else 2907 as_expr=false 2908fi 2909 2910if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 2911 as_basename=basename 2912else 2913 as_basename=false 2914fi 2915 2916if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 2917 as_dirname=dirname 2918else 2919 as_dirname=false 2920fi 2921 2922as_me=`$as_basename -- "$0" || 2923$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 2924 X"$0" : 'X\(//\)$' \| \ 2925 X"$0" : 'X\(/\)' \| . 2>/dev/null || 2926printf "%s\n" X/"$0" | 2927 sed '/^.*\/\([^/][^/]*\)\/*$/{ 2928 s//\1/ 2929 q 2930 } 2931 /^X\/\(\/\/\)$/{ 2932 s//\1/ 2933 q 2934 } 2935 /^X\/\(\/\).*/{ 2936 s//\1/ 2937 q 2938 } 2939 s/.*/./; q'` 2940 2941# Avoid depending upon Character Ranges. 2942as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2943as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2944as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2945as_cr_digits='0123456789' 2946as_cr_alnum=$as_cr_Letters$as_cr_digits 2947 2948 2949# Determine whether it's possible to make 'echo' print without a newline. 2950# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 2951# for compatibility with existing Makefiles. 2952ECHO_C= ECHO_N= ECHO_T= 2953case `echo -n x` in #((((( 2954-n*) 2955 case `echo 'xy\c'` in 2956 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 2957 xy) ECHO_C='\c';; 2958 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 2959 ECHO_T=' ';; 2960 esac;; 2961*) 2962 ECHO_N='-n';; 2963esac 2964 2965# For backward compatibility with old third-party macros, we provide 2966# the shell variables $as_echo and $as_echo_n. New code should use 2967# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 2968as_echo='printf %s\n' 2969as_echo_n='printf %s' 2970 2971rm -f conf$$ conf$$.exe conf$$.file 2972if test -d conf$$.dir; then 2973 rm -f conf$$.dir/conf$$.file 2974else 2975 rm -f conf$$.dir 2976 mkdir conf$$.dir 2>/dev/null 2977fi 2978if (echo >conf$$.file) 2>/dev/null; then 2979 if ln -s conf$$.file conf$$ 2>/dev/null; then 2980 as_ln_s='ln -s' 2981 # ... but there are two gotchas: 2982 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 2983 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 2984 # In both cases, we have to default to `cp -pR'. 2985 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 2986 as_ln_s='cp -pR' 2987 elif ln conf$$.file conf$$ 2>/dev/null; then 2988 as_ln_s=ln 2989 else 2990 as_ln_s='cp -pR' 2991 fi 2992else 2993 as_ln_s='cp -pR' 2994fi 2995rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 2996rmdir conf$$.dir 2>/dev/null 2997 2998 2999# as_fn_mkdir_p 3000# ------------- 3001# Create "$as_dir" as a directory, including parents if necessary. 3002as_fn_mkdir_p () 3003{ 3004 3005 case $as_dir in #( 3006 -*) as_dir=./$as_dir;; 3007 esac 3008 test -d "$as_dir" || eval $as_mkdir_p || { 3009 as_dirs= 3010 while :; do 3011 case $as_dir in #( 3012 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3013 *) as_qdir=$as_dir;; 3014 esac 3015 as_dirs="'$as_qdir' $as_dirs" 3016 as_dir=`$as_dirname -- "$as_dir" || 3017$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3018 X"$as_dir" : 'X\(//\)[^/]' \| \ 3019 X"$as_dir" : 'X\(//\)$' \| \ 3020 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3021printf "%s\n" X"$as_dir" | 3022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3023 s//\1/ 3024 q 3025 } 3026 /^X\(\/\/\)[^/].*/{ 3027 s//\1/ 3028 q 3029 } 3030 /^X\(\/\/\)$/{ 3031 s//\1/ 3032 q 3033 } 3034 /^X\(\/\).*/{ 3035 s//\1/ 3036 q 3037 } 3038 s/.*/./; q'` 3039 test -d "$as_dir" && break 3040 done 3041 test -z "$as_dirs" || eval "mkdir $as_dirs" 3042 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3043 3044 3045} # as_fn_mkdir_p 3046if mkdir -p . 2>/dev/null; then 3047 as_mkdir_p='mkdir -p "$as_dir"' 3048else 3049 test -d ./-p && rmdir ./-p 3050 as_mkdir_p=false 3051fi 3052 3053 3054# as_fn_executable_p FILE 3055# ----------------------- 3056# Test if FILE is an executable regular file. 3057as_fn_executable_p () 3058{ 3059 test -f "$1" && test -x "$1" 3060} # as_fn_executable_p 3061as_test_x='test -x' 3062as_executable_p=as_fn_executable_p 3063 3064# Sed expression to map a string onto a valid CPP name. 3065as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3066 3067# Sed expression to map a string onto a valid variable name. 3068as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3069 3070 3071exec 6>&1 3072## ----------------------------------- ## 3073## Main body of $CONFIG_STATUS script. ## 3074## ----------------------------------- ## 3075_ASEOF 3076test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3077 3078cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3079# Save the log message, to keep $0 and so on meaningful, and to 3080# report actual input values of CONFIG_FILES etc. instead of their 3081# values after options handling. 3082ac_log=" 3083This file was extended by util-macros $as_me 1.20.1, which was 3084generated by GNU Autoconf 2.71. Invocation command line was 3085 3086 CONFIG_FILES = $CONFIG_FILES 3087 CONFIG_HEADERS = $CONFIG_HEADERS 3088 CONFIG_LINKS = $CONFIG_LINKS 3089 CONFIG_COMMANDS = $CONFIG_COMMANDS 3090 $ $0 $@ 3091 3092on `(hostname || uname -n) 2>/dev/null | sed 1q` 3093" 3094 3095_ACEOF 3096 3097case $ac_config_files in *" 3098"*) set x $ac_config_files; shift; ac_config_files=$*;; 3099esac 3100 3101 3102 3103cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3104# Files that config.status was made for. 3105config_files="$ac_config_files" 3106 3107_ACEOF 3108 3109cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3110ac_cs_usage="\ 3111\`$as_me' instantiates files and other configuration actions 3112from templates according to the current configuration. Unless the files 3113and actions are specified as TAGs, all are instantiated by default. 3114 3115Usage: $0 [OPTION]... [TAG]... 3116 3117 -h, --help print this help, then exit 3118 -V, --version print version number and configuration settings, then exit 3119 --config print configuration, then exit 3120 -q, --quiet, --silent 3121 do not print progress messages 3122 -d, --debug don't remove temporary files 3123 --recheck update $as_me by reconfiguring in the same conditions 3124 --file=FILE[:TEMPLATE] 3125 instantiate the configuration file FILE 3126 3127Configuration files: 3128$config_files 3129 3130Report bugs to <https://gitlab.freedesktop.org/xorg/util/macros/issues>." 3131 3132_ACEOF 3133ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 3134ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 3135cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3136ac_cs_config='$ac_cs_config_escaped' 3137ac_cs_version="\\ 3138util-macros config.status 1.20.1 3139configured by $0, generated by GNU Autoconf 2.71, 3140 with options \\"\$ac_cs_config\\" 3141 3142Copyright (C) 2021 Free Software Foundation, Inc. 3143This config.status script is free software; the Free Software Foundation 3144gives unlimited permission to copy, distribute and modify it." 3145 3146ac_pwd='$ac_pwd' 3147srcdir='$srcdir' 3148INSTALL='$INSTALL' 3149MKDIR_P='$MKDIR_P' 3150AWK='$AWK' 3151test -n "\$AWK" || AWK=awk 3152_ACEOF 3153 3154cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3155# The default lists apply if the user does not specify any file. 3156ac_need_defaults=: 3157while test $# != 0 3158do 3159 case $1 in 3160 --*=?*) 3161 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3162 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3163 ac_shift=: 3164 ;; 3165 --*=) 3166 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3167 ac_optarg= 3168 ac_shift=: 3169 ;; 3170 *) 3171 ac_option=$1 3172 ac_optarg=$2 3173 ac_shift=shift 3174 ;; 3175 esac 3176 3177 case $ac_option in 3178 # Handling of the options. 3179 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3180 ac_cs_recheck=: ;; 3181 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3182 printf "%s\n" "$ac_cs_version"; exit ;; 3183 --config | --confi | --conf | --con | --co | --c ) 3184 printf "%s\n" "$ac_cs_config"; exit ;; 3185 --debug | --debu | --deb | --de | --d | -d ) 3186 debug=: ;; 3187 --file | --fil | --fi | --f ) 3188 $ac_shift 3189 case $ac_optarg in 3190 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3191 '') as_fn_error $? "missing file argument" ;; 3192 esac 3193 as_fn_append CONFIG_FILES " '$ac_optarg'" 3194 ac_need_defaults=false;; 3195 --he | --h | --help | --hel | -h ) 3196 printf "%s\n" "$ac_cs_usage"; exit ;; 3197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3198 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3199 ac_cs_silent=: ;; 3200 3201 # This is an error. 3202 -*) as_fn_error $? "unrecognized option: \`$1' 3203Try \`$0 --help' for more information." ;; 3204 3205 *) as_fn_append ac_config_targets " $1" 3206 ac_need_defaults=false ;; 3207 3208 esac 3209 shift 3210done 3211 3212ac_configure_extra_args= 3213 3214if $ac_cs_silent; then 3215 exec 6>/dev/null 3216 ac_configure_extra_args="$ac_configure_extra_args --silent" 3217fi 3218 3219_ACEOF 3220cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3221if \$ac_cs_recheck; then 3222 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3223 shift 3224 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 3225 CONFIG_SHELL='$SHELL' 3226 export CONFIG_SHELL 3227 exec "\$@" 3228fi 3229 3230_ACEOF 3231cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3232exec 5>>config.log 3233{ 3234 echo 3235 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3236## Running $as_me. ## 3237_ASBOX 3238 printf "%s\n" "$ac_log" 3239} >&5 3240 3241_ACEOF 3242cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3243_ACEOF 3244 3245cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3246 3247# Handling of arguments. 3248for ac_config_target in $ac_config_targets 3249do 3250 case $ac_config_target in 3251 "xorg-macros.pc") CONFIG_FILES="$CONFIG_FILES xorg-macros.pc" ;; 3252 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3253 "xorg-macros.m4") CONFIG_FILES="$CONFIG_FILES xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4" ;; 3254 3255 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3256 esac 3257done 3258 3259 3260# If the user did not use the arguments to specify the items to instantiate, 3261# then the envvar interface is used. Set only those that are not. 3262# We use the long form for the default assignment because of an extremely 3263# bizarre bug on SunOS 4.1.3. 3264if $ac_need_defaults; then 3265 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 3266fi 3267 3268# Have a temporary directory for convenience. Make it in the build tree 3269# simply because there is no reason against having it here, and in addition, 3270# creating and moving files from /tmp can sometimes cause problems. 3271# Hook for its removal unless debugging. 3272# Note that there is a small window in which the directory will not be cleaned: 3273# after its creation but before its name has been assigned to `$tmp'. 3274$debug || 3275{ 3276 tmp= ac_tmp= 3277 trap 'exit_status=$? 3278 : "${ac_tmp:=$tmp}" 3279 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 3280' 0 3281 trap 'as_fn_exit 1' 1 2 13 15 3282} 3283# Create a (secure) tmp directory for tmp files. 3284 3285{ 3286 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3287 test -d "$tmp" 3288} || 3289{ 3290 tmp=./conf$$-$RANDOM 3291 (umask 077 && mkdir "$tmp") 3292} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 3293ac_tmp=$tmp 3294 3295# Set up the scripts for CONFIG_FILES section. 3296# No need to generate them if there are no CONFIG_FILES. 3297# This happens for instance with `./config.status config.h'. 3298if test -n "$CONFIG_FILES"; then 3299 3300 3301ac_cr=`echo X | tr X '\015'` 3302# On cygwin, bash can eat \r inside `` if the user requested igncr. 3303# But we know of no other shell where ac_cr would be empty at this 3304# point, so we can use a bashism as a fallback. 3305if test "x$ac_cr" = x; then 3306 eval ac_cr=\$\'\\r\' 3307fi 3308ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3309if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3310 ac_cs_awk_cr='\\r' 3311else 3312 ac_cs_awk_cr=$ac_cr 3313fi 3314 3315echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 3316_ACEOF 3317 3318 3319{ 3320 echo "cat >conf$$subs.awk <<_ACEOF" && 3321 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 3322 echo "_ACEOF" 3323} >conf$$subs.sh || 3324 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3325ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 3326ac_delim='%!_!# ' 3327for ac_last_try in false false false false false :; do 3328 . ./conf$$subs.sh || 3329 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3330 3331 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 3332 if test $ac_delim_n = $ac_delim_num; then 3333 break 3334 elif $ac_last_try; then 3335 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3336 else 3337 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3338 fi 3339done 3340rm -f conf$$subs.sh 3341 3342cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3343cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 3344_ACEOF 3345sed -n ' 3346h 3347s/^/S["/; s/!.*/"]=/ 3348p 3349g 3350s/^[^!]*!// 3351:repl 3352t repl 3353s/'"$ac_delim"'$// 3354t delim 3355:nl 3356h 3357s/\(.\{148\}\)..*/\1/ 3358t more1 3359s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 3360p 3361n 3362b repl 3363:more1 3364s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3365p 3366g 3367s/.\{148\}// 3368t nl 3369:delim 3370h 3371s/\(.\{148\}\)..*/\1/ 3372t more2 3373s/["\\]/\\&/g; s/^/"/; s/$/"/ 3374p 3375b 3376:more2 3377s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3378p 3379g 3380s/.\{148\}// 3381t delim 3382' <conf$$subs.awk | sed ' 3383/^[^""]/{ 3384 N 3385 s/\n// 3386} 3387' >>$CONFIG_STATUS || ac_write_fail=1 3388rm -f conf$$subs.awk 3389cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3390_ACAWK 3391cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 3392 for (key in S) S_is_set[key] = 1 3393 FS = "" 3394 3395} 3396{ 3397 line = $ 0 3398 nfields = split(line, field, "@") 3399 substed = 0 3400 len = length(field[1]) 3401 for (i = 2; i < nfields; i++) { 3402 key = field[i] 3403 keylen = length(key) 3404 if (S_is_set[key]) { 3405 value = S[key] 3406 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 3407 len += length(value) + length(field[++i]) 3408 substed = 1 3409 } else 3410 len += 1 + keylen 3411 } 3412 3413 print line 3414} 3415 3416_ACAWK 3417_ACEOF 3418cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3419if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 3420 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 3421else 3422 cat 3423fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 3424 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 3425_ACEOF 3426 3427# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 3428# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 3429# trailing colons and then remove the whole line if VPATH becomes empty 3430# (actually we leave an empty line to preserve line numbers). 3431if test "x$srcdir" = x.; then 3432 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 3433h 3434s/// 3435s/^/:/ 3436s/[ ]*$/:/ 3437s/:\$(srcdir):/:/g 3438s/:\${srcdir}:/:/g 3439s/:@srcdir@:/:/g 3440s/^:*// 3441s/:*$// 3442x 3443s/\(=[ ]*\).*/\1/ 3444G 3445s/\n// 3446s/^[^=]*=[ ]*$// 3447}' 3448fi 3449 3450cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3451fi # test -n "$CONFIG_FILES" 3452 3453 3454eval set X " :F $CONFIG_FILES " 3455shift 3456for ac_tag 3457do 3458 case $ac_tag in 3459 :[FHLC]) ac_mode=$ac_tag; continue;; 3460 esac 3461 case $ac_mode$ac_tag in 3462 :[FHL]*:*);; 3463 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 3464 :[FH]-) ac_tag=-:-;; 3465 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3466 esac 3467 ac_save_IFS=$IFS 3468 IFS=: 3469 set x $ac_tag 3470 IFS=$ac_save_IFS 3471 shift 3472 ac_file=$1 3473 shift 3474 3475 case $ac_mode in 3476 :L) ac_source=$1;; 3477 :[FH]) 3478 ac_file_inputs= 3479 for ac_f 3480 do 3481 case $ac_f in 3482 -) ac_f="$ac_tmp/stdin";; 3483 *) # Look for the file first in the build tree, then in the source tree 3484 # (if the path is not absolute). The absolute path cannot be DOS-style, 3485 # because $ac_f cannot contain `:'. 3486 test -f "$ac_f" || 3487 case $ac_f in 3488 [\\/$]*) false;; 3489 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3490 esac || 3491 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 3492 esac 3493 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 3494 as_fn_append ac_file_inputs " '$ac_f'" 3495 done 3496 3497 # Let's still pretend it is `configure' which instantiates (i.e., don't 3498 # use $as_me), people would be surprised to read: 3499 # /* config.h. Generated by config.status. */ 3500 configure_input='Generated from '` 3501 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 3502 `' by configure.' 3503 if test x"$ac_file" != x-; then 3504 configure_input="$ac_file. $configure_input" 3505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 3506printf "%s\n" "$as_me: creating $ac_file" >&6;} 3507 fi 3508 # Neutralize special characters interpreted by sed in replacement strings. 3509 case $configure_input in #( 3510 *\&* | *\|* | *\\* ) 3511 ac_sed_conf_input=`printf "%s\n" "$configure_input" | 3512 sed 's/[\\\\&|]/\\\\&/g'`;; #( 3513 *) ac_sed_conf_input=$configure_input;; 3514 esac 3515 3516 case $ac_tag in 3517 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 3518 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 3519 esac 3520 ;; 3521 esac 3522 3523 ac_dir=`$as_dirname -- "$ac_file" || 3524$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3525 X"$ac_file" : 'X\(//\)[^/]' \| \ 3526 X"$ac_file" : 'X\(//\)$' \| \ 3527 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 3528printf "%s\n" X"$ac_file" | 3529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3530 s//\1/ 3531 q 3532 } 3533 /^X\(\/\/\)[^/].*/{ 3534 s//\1/ 3535 q 3536 } 3537 /^X\(\/\/\)$/{ 3538 s//\1/ 3539 q 3540 } 3541 /^X\(\/\).*/{ 3542 s//\1/ 3543 q 3544 } 3545 s/.*/./; q'` 3546 as_dir="$ac_dir"; as_fn_mkdir_p 3547 ac_builddir=. 3548 3549case "$ac_dir" in 3550.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 3551*) 3552 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 3553 # A ".." for each directory in $ac_dir_suffix. 3554 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 3555 case $ac_top_builddir_sub in 3556 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 3557 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 3558 esac ;; 3559esac 3560ac_abs_top_builddir=$ac_pwd 3561ac_abs_builddir=$ac_pwd$ac_dir_suffix 3562# for backward compatibility: 3563ac_top_builddir=$ac_top_build_prefix 3564 3565case $srcdir in 3566 .) # We are building in place. 3567 ac_srcdir=. 3568 ac_top_srcdir=$ac_top_builddir_sub 3569 ac_abs_top_srcdir=$ac_pwd ;; 3570 [\\/]* | ?:[\\/]* ) # Absolute name. 3571 ac_srcdir=$srcdir$ac_dir_suffix; 3572 ac_top_srcdir=$srcdir 3573 ac_abs_top_srcdir=$srcdir ;; 3574 *) # Relative name. 3575 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 3576 ac_top_srcdir=$ac_top_build_prefix$srcdir 3577 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 3578esac 3579ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 3580 3581 3582 case $ac_mode in 3583 :F) 3584 # 3585 # CONFIG_FILE 3586 # 3587 3588 case $INSTALL in 3589 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 3590 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 3591 esac 3592 ac_MKDIR_P=$MKDIR_P 3593 case $MKDIR_P in 3594 [\\/$]* | ?:[\\/]* ) ;; 3595 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 3596 esac 3597_ACEOF 3598 3599cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3600# If the template does not know about datarootdir, expand it. 3601# FIXME: This hack should be removed a few years after 2.60. 3602ac_datarootdir_hack=; ac_datarootdir_seen= 3603ac_sed_dataroot=' 3604/datarootdir/ { 3605 p 3606 q 3607} 3608/@datadir@/p 3609/@docdir@/p 3610/@infodir@/p 3611/@localedir@/p 3612/@mandir@/p' 3613case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 3614*datarootdir*) ac_datarootdir_seen=yes;; 3615*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 3616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 3617printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 3618_ACEOF 3619cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3620 ac_datarootdir_hack=' 3621 s&@datadir@&$datadir&g 3622 s&@docdir@&$docdir&g 3623 s&@infodir@&$infodir&g 3624 s&@localedir@&$localedir&g 3625 s&@mandir@&$mandir&g 3626 s&\\\${datarootdir}&$datarootdir&g' ;; 3627esac 3628_ACEOF 3629 3630# Neutralize VPATH when `$srcdir' = `.'. 3631# Shell code in configure.ac might set extrasub. 3632# FIXME: do we really want to maintain this feature? 3633cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3634ac_sed_extra="$ac_vpsub 3635$extrasub 3636_ACEOF 3637cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3638:t 3639/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3640s|@configure_input@|$ac_sed_conf_input|;t t 3641s&@top_builddir@&$ac_top_builddir_sub&;t t 3642s&@top_build_prefix@&$ac_top_build_prefix&;t t 3643s&@srcdir@&$ac_srcdir&;t t 3644s&@abs_srcdir@&$ac_abs_srcdir&;t t 3645s&@top_srcdir@&$ac_top_srcdir&;t t 3646s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 3647s&@builddir@&$ac_builddir&;t t 3648s&@abs_builddir@&$ac_abs_builddir&;t t 3649s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 3650s&@INSTALL@&$ac_INSTALL&;t t 3651s&@MKDIR_P@&$ac_MKDIR_P&;t t 3652$ac_datarootdir_hack 3653" 3654eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 3655 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3656 3657test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 3658 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 3659 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 3660 "$ac_tmp/out"`; test -z "$ac_out"; } && 3661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3662which seems to be undefined. Please make sure it is defined" >&5 3663printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3664which seems to be undefined. Please make sure it is defined" >&2;} 3665 3666 rm -f "$ac_tmp/stdin" 3667 case $ac_file in 3668 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 3669 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 3670 esac \ 3671 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3672 ;; 3673 3674 3675 3676 esac 3677 3678done # for ac_tag 3679 3680 3681as_fn_exit 0 3682_ACEOF 3683ac_clean_files=$ac_clean_files_save 3684 3685test $ac_write_fail = 0 || 3686 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 3687 3688 3689# configure is writing to config.log, and then calls config.status. 3690# config.status does its own redirection, appending to config.log. 3691# Unfortunately, on DOS this fails, as config.log is still kept open 3692# by configure, so config.status won't be able to write to it; its 3693# output is simply discarded. So we exec the FD to /dev/null, 3694# effectively closing config.log, so it can be properly (re)opened and 3695# appended to by config.status. When coming back to configure, we 3696# need to make the FD available again. 3697if test "$no_create" != yes; then 3698 ac_cs_success=: 3699 ac_config_status_args= 3700 test "$silent" = yes && 3701 ac_config_status_args="$ac_config_status_args --quiet" 3702 exec 5>/dev/null 3703 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 3704 exec 5>>config.log 3705 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3706 # would make configure fail if this is the last instruction. 3707 $ac_cs_success || as_fn_exit 1 3708fi 3709if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 3711printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 3712fi 3713 3714 3715