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