1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.73 for xbitmaps 1.1.4. 4 # 5 # Report bugs to <https://gitlab.freedesktop.org/xorg/data/bitmaps/-/issues>. 6 # 7 # 8 # Copyright (C) 1992-1996, 1998-2017, 2020-2026 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 19 DUALCASE=1; export DUALCASE # for MKS sh 20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 21 then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # contradicts POSIX and common usage. Disable this. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28 else case e in #( 29 e) case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34 esac ;; 35 esac 36 fi 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. 47 as_nl=' 48 ' 49 export as_nl 50 IFS=" "" $as_nl" 51 52 PS1='$ ' 53 PS2='> ' 54 PS4='+ ' 55 56 # Ensure predictable behavior from utilities with locale-dependent output. 57 LC_ALL=C 58 export LC_ALL 59 LANGUAGE=C 60 export 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). 67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 68 do eval test \${$as_var+y} \ 69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 70 done 71 72 # Ensure that fds 0, 1, and 2 are open. 73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 76 77 # The user is always right. 78 if ${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 } 84 fi 85 86 87 # Find who we are. Look in the path if we contain no directory separator. 88 as_myself= 89 case $0 in #(( 90 *[\\/]* ) as_myself=$0 ;; 91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 92 for as_dir in $PATH 93 do 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 102 IFS=$as_save_IFS 103 104 ;; 105 esac 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. 108 if test "x$as_myself" = x; then 109 as_myself=$0 110 fi 111 if 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 114 fi 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. 125 BASH_ENV=/dev/null 126 ENV=/dev/null 127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 128 case $- in # (((( 129 *v*x* | *x*v* ) as_opts=-vx ;; 130 *v* ) as_opts=-v ;; 131 *x* ) as_opts=-x ;; 132 * ) as_opts= ;; 133 esac 134 case $# in # (( 135 0) exec $CONFIG_SHELL $as_opts "$as_myself" ;; 136 *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;; 137 esac 138 # Admittedly, this is quite paranoid, since all the known shells bail 139 # out after a failed 'exec'. 140 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2 141 exit 255 142 fi 143 # We don't want this to propagate to other subprocesses. 144 { _as_can_reexec=; unset _as_can_reexec;} 145 if test "x$CONFIG_SHELL" = x; then 146 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 147 then : 148 emulate sh 149 NULLCMD=: 150 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 151 # contradicts POSIX and common usage. Disable this. 152 alias -g '\${1+\"\$@\"}'='\"\$@\"' 153 setopt NO_GLOB_SUBST 154 else case e in #( 155 e) case \`(set -o) 2>/dev/null\` in #( 156 *posix*) : 157 set -o posix ;; #( 158 *) : 159 ;; 160 esac ;; 161 esac 162 fi 163 " 164 as_required="as_fn_return () { (exit \$1); } 165 as_fn_success () { as_fn_return 0; } 166 as_fn_failure () { as_fn_return 1; } 167 as_fn_ret_success () { return 0; } 168 as_fn_ret_failure () { return 1; } 169 170 exitcode=0 171 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 172 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 173 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 174 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 175 if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 176 then : 177 178 else case e in #( 179 e) exitcode=1; echo positional parameters were not saved. ;; 180 esac 181 fi 182 test x\$exitcode = x0 || exit 1 183 blah=\$(echo \$(echo blah)) 184 test x\"\$blah\" = xblah || exit 1 185 test -x / || exit 1" 186 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 187 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 188 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 189 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 190 test \$(( 1 + 1 )) = 2 || exit 1" 191 if (eval "$as_required") 2>/dev/null 192 then : 193 as_have_required=yes 194 else case e in #( 195 e) as_have_required=no ;; 196 esac 197 fi 198 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 199 then : 200 201 else case e in #( 202 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 203 as_found=false 204 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 205 do 206 IFS=$as_save_IFS 207 case $as_dir in #((( 208 '') as_dir=./ ;; 209 */) ;; 210 *) as_dir=$as_dir/ ;; 211 esac 212 as_found=: 213 case $as_dir in #( 214 /*) 215 for as_base in sh bash ksh sh5; do 216 # Try only shells that exist, to save several forks. 217 as_shell=$as_dir$as_base 218 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 219 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 220 then : 221 CONFIG_SHELL=$as_shell as_have_required=yes 222 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 223 then : 224 break 2 225 fi 226 fi 227 done;; 228 esac 229 as_found=false 230 done 231 IFS=$as_save_IFS 232 if $as_found 233 then : 234 235 else case e in #( 236 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 237 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 238 then : 239 CONFIG_SHELL=$SHELL as_have_required=yes 240 fi ;; 241 esac 242 fi 243 244 245 if test "x$CONFIG_SHELL" != x 246 then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249 # neutralization value for shells without unset; and this also 250 # works around shells that cannot unset nonexistent variables. 251 # Preserve -v and -x to the replacement shell. 252 BASH_ENV=/dev/null 253 ENV=/dev/null 254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255 case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260 esac 261 case $# in # (( 262 0) exec $CONFIG_SHELL $as_opts "$as_myself" ;; 263 *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;; 264 esac 265 # Admittedly, this is quite paranoid, since all the known shells bail 266 # out after a failed 'exec'. 267 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2 268 exit 255 269 fi 270 271 if test x$as_have_required = xno 272 then : 273 printf '%s\n' "$0: This script requires a shell more modern than all" 274 printf '%s\n' "$0: the shells that I found on your system." 275 if test ${ZSH_VERSION+y} ; then 276 printf '%s\n' "$0: In particular, zsh $ZSH_VERSION has bugs and should" 277 printf '%s\n' "$0: be upgraded to zsh 4.3.4 or later." 278 else 279 printf '%s\n' "$0: Please tell bug-autoconf (at] gnu.org and 280 $0: https://gitlab.freedesktop.org/xorg/data/bitmaps/-/issues 281 $0: about your system, including any error possibly output 282 $0: before this message. Then install a modern shell, or 283 $0: manually run the script under such a shell if you do 284 $0: have one." 285 fi 286 exit 1 287 fi ;; 288 esac 289 fi 290 fi 291 SHELL=${CONFIG_SHELL-/bin/sh} 292 export SHELL 293 # Unset more variables known to interfere with behavior of common tools. 294 CLICOLOR_FORCE= GREP_OPTIONS= 295 unset CLICOLOR_FORCE GREP_OPTIONS 296 297 ## --------------------- ## 298 ## M4sh Shell Functions. ## 299 ## --------------------- ## 300 # as_fn_unset VAR 301 # --------------- 302 # Portably unset VAR. 303 as_fn_unset () 304 { 305 { eval $1=; unset $1;} 306 } 307 as_unset=as_fn_unset 308 309 310 # as_fn_set_status STATUS 311 # ----------------------- 312 # Set $? to STATUS, without forking. 313 as_fn_set_status () 314 { 315 return $1 316 } # as_fn_set_status 317 318 # as_fn_exit STATUS 319 # ----------------- 320 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 321 as_fn_exit () 322 { 323 set +e 324 as_fn_set_status $1 325 exit $1 326 } # as_fn_exit 327 328 # as_fn_mkdir_p 329 # ------------- 330 # Create "$as_dir" as a directory, including parents if necessary. 331 as_fn_mkdir_p () 332 { 333 334 case $as_dir in #( 335 -*) as_dir=./$as_dir;; 336 esac 337 test -d "$as_dir" || eval $as_mkdir_p || { 338 as_dirs= 339 while :; do 340 case $as_dir in #( 341 *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 342 *) as_qdir=$as_dir;; 343 esac 344 as_dirs="'$as_qdir' $as_dirs" 345 as_dir=`$as_dirname -- "$as_dir" || 346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 347 X"$as_dir" : 'X\(//\)[^/]' \| \ 348 X"$as_dir" : 'X\(//\)$' \| \ 349 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 350 printf '%s\n' X"$as_dir" | 351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\/\)[^/].*/{ 356 s//\1/ 357 q 358 } 359 /^X\(\/\/\)$/{ 360 s//\1/ 361 q 362 } 363 /^X\(\/\).*/{ 364 s//\1/ 365 q 366 } 367 s/.*/./; q'` 368 test -d "$as_dir" && break 369 done 370 test -z "$as_dirs" || eval "mkdir $as_dirs" 371 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 372 373 374 } # as_fn_mkdir_p 375 376 # as_fn_executable_p FILE 377 # ----------------------- 378 # Test if FILE is an executable regular file. 379 as_fn_executable_p () 380 { 381 test -f "$1" && test -x "$1" 382 } # as_fn_executable_p 383 # as_fn_append VAR VALUE 384 # ---------------------- 385 # Append the text in VALUE to the end of the definition contained in VAR. Take 386 # advantage of any shell optimizations that allow amortized linear growth over 387 # repeated appends, instead of the typical quadratic growth present in naive 388 # implementations. 389 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 390 then : 391 eval 'as_fn_append () 392 { 393 eval $1+=\$2 394 }' 395 else case e in #( 396 e) as_fn_append () 397 { 398 eval $1=\$$1\$2 399 } ;; 400 esac 401 fi # as_fn_append 402 403 # as_fn_arith ARG... 404 # ------------------ 405 # Perform arithmetic evaluation on the ARGs, and store the result in the 406 # global $as_val. Take advantage of shells that can avoid forks. The arguments 407 # must be portable across $(()) and expr. 408 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 409 then : 410 eval 'as_fn_arith () 411 { 412 as_val=$(( $* )) 413 }' 414 else case e in #( 415 e) as_fn_arith () 416 { 417 as_val=`expr "$@" || test $? -eq 1` 418 } ;; 419 esac 420 fi # as_fn_arith 421 422 423 # as_fn_error STATUS ERROR [LINENO LOG_FD] 424 # ---------------------------------------- 425 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 426 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 427 # script with STATUS, using 1 if that was 0. 428 as_fn_error () 429 { 430 as_status=$1; test $as_status -eq 0 && as_status=1 431 if test "$4"; then 432 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 433 printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 434 fi 435 printf '%s\n' "$as_me: error: $2" >&2 436 as_fn_exit $as_status 437 } # as_fn_error 438 439 if expr a : '\(a\)' >/dev/null 2>&1 && 440 test "X`expr 00001 : '.*\(...\)'`" = X001; then 441 as_expr=expr 442 else 443 as_expr=false 444 fi 445 446 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 447 as_basename=basename 448 else 449 as_basename=false 450 fi 451 452 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 453 as_dirname=dirname 454 else 455 as_dirname=false 456 fi 457 458 as_me=`$as_basename -- "$0" || 459 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 460 X"$0" : 'X\(//\)$' \| \ 461 X"$0" : 'X\(/\)' \| . 2>/dev/null || 462 printf '%s\n' X/"$0" | 463 sed '/^.*\/\([^/][^/]*\)\/*$/{ 464 s//\1/ 465 q 466 } 467 /^X\/\(\/\/\)$/{ 468 s//\1/ 469 q 470 } 471 /^X\/\(\/\).*/{ 472 s//\1/ 473 q 474 } 475 s/.*/./; q'` 476 477 # Avoid depending upon Character Ranges. 478 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 479 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 480 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 481 as_cr_digits='0123456789' 482 as_cr_alnum=$as_cr_Letters$as_cr_digits 483 484 485 as_lineno_1=$LINENO as_lineno_1a=$LINENO 486 as_lineno_2=$LINENO as_lineno_2a=$LINENO 487 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 488 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 489 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 490 sed -n ' 491 p 492 /[$]LINENO/= 493 ' <$as_myself | 494 sed ' 495 t clear 496 :clear 497 s/[$]LINENO.*/&-/ 498 t lineno 499 b 500 :lineno 501 N 502 :loop 503 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 504 t loop 505 s/-\n.*// 506 ' >$as_me.lineno && 507 chmod +x "$as_me.lineno" || 508 { printf '%s\n' "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 509 510 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 511 # already done that, so ensure we don't try to do so again and fall 512 # in an infinite loop. This has already happened in practice. 513 _as_can_reexec=no; export _as_can_reexec 514 # Don't try to exec as it changes $[0], causing all sort of problems 515 # (the dirname of $[0] is not the place where we might find the 516 # original and so on. Autoconf is especially sensitive to this). 517 . "./$as_me.lineno" 518 # Exit status is that of the last command. 519 exit 520 } 521 522 rm -f conf$$ conf$$.exe conf$$.file 523 if test -d conf$$.dir; then 524 rm -f conf$$.dir/conf$$.file 525 else 526 rm -f conf$$.dir 527 mkdir conf$$.dir 2>/dev/null 528 fi 529 if (echo >conf$$.file) 2>/dev/null; then 530 if ln -s conf$$.file conf$$ 2>/dev/null; then 531 as_ln_s='ln -s' 532 # ... but there are two gotchas: 533 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. 534 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. 535 # In both cases, we have to default to 'cp -pR'. 536 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 537 as_ln_s='cp -pR' 538 elif ln conf$$.file conf$$ 2>/dev/null; then 539 as_ln_s=ln 540 else 541 as_ln_s='cp -pR' 542 fi 543 else 544 as_ln_s='cp -pR' 545 fi 546 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 547 rmdir conf$$.dir 2>/dev/null 548 549 if mkdir -p . 2>/dev/null; then 550 as_mkdir_p='mkdir -p "$as_dir"' 551 else 552 test -d ./-p && rmdir ./-p 553 as_mkdir_p=false 554 fi 555 556 as_test_x='test -x' 557 as_executable_p=as_fn_executable_p 558 559 # Sed expression to map a string onto a valid CPP name. 560 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 561 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated 562 563 # Sed expression to map a string onto a valid variable name. 564 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 565 as_tr_sh="eval sed '$as_sed_sh'" # deprecated 566 567 568 test -n "$DJDIR" || exec 7<&0 </dev/null 569 exec 6>&1 570 571 # Name of the host. 572 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 573 # so uname gets run too. 574 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 575 576 # 577 # Initializations. 578 # 579 ac_default_prefix=/usr/local 580 ac_clean_CONFIG_STATUS= 581 ac_clean_files= 582 ac_config_libobj_dir=. 583 LIBOBJS= 584 cross_compiling=no 585 subdirs= 586 MFLAGS= 587 MAKEFLAGS= 588 589 # Identity of this package. 590 PACKAGE_NAME='xbitmaps' 591 PACKAGE_TARNAME='xbitmaps' 592 PACKAGE_VERSION='1.1.4' 593 PACKAGE_STRING='xbitmaps 1.1.4' 594 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/data/bitmaps/-/issues' 595 PACKAGE_URL='' 596 597 ac_unique_file="Makefile.am" 598 ac_subst_vars='LTLIBOBJS 599 LIBOBJS 600 MAN_SUBSTS 601 XORG_MAN_PAGE 602 ADMIN_MAN_DIR 603 DRIVER_MAN_DIR 604 MISC_MAN_DIR 605 FILE_MAN_DIR 606 LIB_MAN_DIR 607 APP_MAN_DIR 608 ADMIN_MAN_SUFFIX 609 DRIVER_MAN_SUFFIX 610 MISC_MAN_SUFFIX 611 FILE_MAN_SUFFIX 612 LIB_MAN_SUFFIX 613 APP_MAN_SUFFIX 614 SED 615 host_os 616 host_vendor 617 host_cpu 618 host 619 build_os 620 build_vendor 621 build_cpu 622 build 623 INSTALL_CMD 624 PKG_CONFIG_LIBDIR 625 PKG_CONFIG_PATH 626 PKG_CONFIG 627 CHANGELOG_CMD 628 am__xargs_n 629 am__rm_f_notfound 630 AM_BACKSLASH 631 AM_DEFAULT_VERBOSITY 632 AM_DEFAULT_V 633 AM_V 634 CSCOPE 635 ETAGS 636 CTAGS 637 am__untar 638 am__tar 639 AMTAR 640 am__leading_dot 641 SET_MAKE 642 AWK 643 mkdir_p 644 MKDIR_P 645 INSTALL_STRIP_PROGRAM 646 STRIP 647 install_sh 648 MAKEINFO 649 AUTOHEADER 650 AUTOMAKE 651 AUTOCONF 652 ACLOCAL 653 VERSION 654 PACKAGE 655 CYGPATH_W 656 am__isrc 657 INSTALL_DATA 658 INSTALL_SCRIPT 659 INSTALL_PROGRAM 660 ECHO_T 661 ECHO_N 662 ECHO_C 663 target_alias 664 host_alias 665 build_alias 666 LIBS 667 DEFS 668 mandir 669 localedir 670 libdir 671 psdir 672 pdfdir 673 dvidir 674 htmldir 675 infodir 676 docdir 677 oldincludedir 678 includedir 679 runstatedir 680 localstatedir 681 sharedstatedir 682 sysconfdir 683 datadir 684 datarootdir 685 libexecdir 686 sbindir 687 bindir 688 program_transform_name 689 prefix 690 exec_prefix 691 PACKAGE_URL 692 PACKAGE_BUGREPORT 693 PACKAGE_STRING 694 PACKAGE_VERSION 695 PACKAGE_TARNAME 696 PACKAGE_NAME 697 PATH_SEPARATOR 698 SHELL' 699 ac_subst_files='' 700 ac_user_opts=' 701 enable_option_checking 702 enable_silent_rules 703 ' 704 ac_precious_vars='build_alias 705 host_alias 706 target_alias 707 PKG_CONFIG 708 PKG_CONFIG_PATH 709 PKG_CONFIG_LIBDIR' 710 711 712 # Initialize some variables set by options. 713 ac_init_help= 714 ac_init_version=false 715 ac_unrecognized_opts= 716 ac_unrecognized_sep= 717 # The variables have the same names as the options, with 718 # dashes changed to underlines. 719 cache_file=/dev/null 720 exec_prefix=NONE 721 no_create= 722 no_recursion= 723 prefix=NONE 724 program_prefix=NONE 725 program_suffix=NONE 726 program_transform_name=s,x,x, 727 silent= 728 site= 729 srcdir= 730 verbose= 731 x_includes=NONE 732 x_libraries=NONE 733 734 # Installation directory options. 735 # These are left unexpanded so users can "make install exec_prefix=/foo" 736 # and all the variables that are supposed to be based on exec_prefix 737 # by default will actually change. 738 # Use braces instead of parens because sh, perl, etc. also accept them. 739 # (The list follows the same order as the GNU Coding Standards.) 740 bindir='${exec_prefix}/bin' 741 sbindir='${exec_prefix}/sbin' 742 libexecdir='${exec_prefix}/libexec' 743 datarootdir='${prefix}/share' 744 datadir='${datarootdir}' 745 sysconfdir='${prefix}/etc' 746 sharedstatedir='${prefix}/com' 747 localstatedir='${prefix}/var' 748 runstatedir='${localstatedir}/run' 749 includedir='${prefix}/include' 750 oldincludedir='/usr/include' 751 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 752 infodir='${datarootdir}/info' 753 htmldir='${docdir}' 754 dvidir='${docdir}' 755 pdfdir='${docdir}' 756 psdir='${docdir}' 757 libdir='${exec_prefix}/lib' 758 localedir='${datarootdir}/locale' 759 mandir='${datarootdir}/man' 760 761 ac_prev= 762 ac_dashdash= 763 for ac_option 764 do 765 # If the previous option needs an argument, assign it. 766 if test -n "$ac_prev"; then 767 eval $ac_prev=\$ac_option 768 ac_prev= 769 continue 770 fi 771 772 case $ac_option in 773 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 774 *=) ac_optarg= ;; 775 *) ac_optarg=yes ;; 776 esac 777 778 case $ac_dashdash$ac_option in 779 --) 780 ac_dashdash=yes ;; 781 782 -bindir | --bindir | --bindi | --bind | --bin | --bi) 783 ac_prev=bindir ;; 784 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 785 bindir=$ac_optarg ;; 786 787 -build | --build | --buil | --bui | --bu) 788 ac_prev=build_alias ;; 789 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 790 build_alias=$ac_optarg ;; 791 792 -cache-file | --cache-file | --cache-fil | --cache-fi \ 793 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 794 ac_prev=cache_file ;; 795 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 796 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 797 cache_file=$ac_optarg ;; 798 799 --config-cache | -C) 800 cache_file=config.cache ;; 801 802 -datadir | --datadir | --datadi | --datad) 803 ac_prev=datadir ;; 804 -datadir=* | --datadir=* | --datadi=* | --datad=*) 805 datadir=$ac_optarg ;; 806 807 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 808 | --dataroo | --dataro | --datar) 809 ac_prev=datarootdir ;; 810 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 811 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 812 datarootdir=$ac_optarg ;; 813 814 -disable-* | --disable-*) 815 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 816 # Reject names that are not valid shell variable names. 817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 818 as_fn_error $? "invalid feature name: '$ac_useropt'" 819 ac_useropt_orig=$ac_useropt 820 ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` 821 case $ac_user_opts in 822 *" 823 "enable_$ac_useropt" 824 "*) ;; 825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 826 ac_unrecognized_sep=', ';; 827 esac 828 eval enable_$ac_useropt=no ;; 829 830 -docdir | --docdir | --docdi | --doc | --do) 831 ac_prev=docdir ;; 832 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 833 docdir=$ac_optarg ;; 834 835 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 836 ac_prev=dvidir ;; 837 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 838 dvidir=$ac_optarg ;; 839 840 -enable-* | --enable-*) 841 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 842 # Reject names that are not valid shell variable names. 843 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 844 as_fn_error $? "invalid feature name: '$ac_useropt'" 845 ac_useropt_orig=$ac_useropt 846 ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` 847 case $ac_user_opts in 848 *" 849 "enable_$ac_useropt" 850 "*) ;; 851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 852 ac_unrecognized_sep=', ';; 853 esac 854 eval enable_$ac_useropt=\$ac_optarg ;; 855 856 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 857 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 858 | --exec | --exe | --ex) 859 ac_prev=exec_prefix ;; 860 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 861 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 862 | --exec=* | --exe=* | --ex=*) 863 exec_prefix=$ac_optarg ;; 864 865 -gas | --gas | --ga | --g) 866 # Obsolete; use --with-gas. 867 with_gas=yes ;; 868 869 -help | --help | --hel | --he | -h) 870 ac_init_help=long ;; 871 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 872 ac_init_help=recursive ;; 873 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 874 ac_init_help=short ;; 875 876 -host | --host | --hos | --ho) 877 ac_prev=host_alias ;; 878 -host=* | --host=* | --hos=* | --ho=*) 879 host_alias=$ac_optarg ;; 880 881 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 882 ac_prev=htmldir ;; 883 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 884 | --ht=*) 885 htmldir=$ac_optarg ;; 886 887 -includedir | --includedir | --includedi | --included | --include \ 888 | --includ | --inclu | --incl | --inc) 889 ac_prev=includedir ;; 890 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 891 | --includ=* | --inclu=* | --incl=* | --inc=*) 892 includedir=$ac_optarg ;; 893 894 -infodir | --infodir | --infodi | --infod | --info | --inf) 895 ac_prev=infodir ;; 896 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 897 infodir=$ac_optarg ;; 898 899 -libdir | --libdir | --libdi | --libd) 900 ac_prev=libdir ;; 901 -libdir=* | --libdir=* | --libdi=* | --libd=*) 902 libdir=$ac_optarg ;; 903 904 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 905 | --libexe | --libex | --libe) 906 ac_prev=libexecdir ;; 907 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 908 | --libexe=* | --libex=* | --libe=*) 909 libexecdir=$ac_optarg ;; 910 911 -localedir | --localedir | --localedi | --localed | --locale) 912 ac_prev=localedir ;; 913 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 914 localedir=$ac_optarg ;; 915 916 -localstatedir | --localstatedir | --localstatedi | --localstated \ 917 | --localstate | --localstat | --localsta | --localst | --locals) 918 ac_prev=localstatedir ;; 919 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 920 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 921 localstatedir=$ac_optarg ;; 922 923 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 924 ac_prev=mandir ;; 925 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 926 mandir=$ac_optarg ;; 927 928 -nfp | --nfp | --nf) 929 # Obsolete; use --without-fp. 930 with_fp=no ;; 931 932 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 933 | --no-cr | --no-c | -n) 934 no_create=yes ;; 935 936 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 937 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 938 no_recursion=yes ;; 939 940 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 941 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 942 | --oldin | --oldi | --old | --ol | --o) 943 ac_prev=oldincludedir ;; 944 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 945 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 946 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 947 oldincludedir=$ac_optarg ;; 948 949 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 950 ac_prev=prefix ;; 951 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 952 prefix=$ac_optarg ;; 953 954 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 955 | --program-pre | --program-pr | --program-p) 956 ac_prev=program_prefix ;; 957 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 958 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 959 program_prefix=$ac_optarg ;; 960 961 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 962 | --program-suf | --program-su | --program-s) 963 ac_prev=program_suffix ;; 964 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 965 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 966 program_suffix=$ac_optarg ;; 967 968 -program-transform-name | --program-transform-name \ 969 | --program-transform-nam | --program-transform-na \ 970 | --program-transform-n | --program-transform- \ 971 | --program-transform | --program-transfor \ 972 | --program-transfo | --program-transf \ 973 | --program-trans | --program-tran \ 974 | --progr-tra | --program-tr | --program-t) 975 ac_prev=program_transform_name ;; 976 -program-transform-name=* | --program-transform-name=* \ 977 | --program-transform-nam=* | --program-transform-na=* \ 978 | --program-transform-n=* | --program-transform-=* \ 979 | --program-transform=* | --program-transfor=* \ 980 | --program-transfo=* | --program-transf=* \ 981 | --program-trans=* | --program-tran=* \ 982 | --progr-tra=* | --program-tr=* | --program-t=*) 983 program_transform_name=$ac_optarg ;; 984 985 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 986 ac_prev=pdfdir ;; 987 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 988 pdfdir=$ac_optarg ;; 989 990 -psdir | --psdir | --psdi | --psd | --ps) 991 ac_prev=psdir ;; 992 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 993 psdir=$ac_optarg ;; 994 995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 996 | -silent | --silent | --silen | --sile | --sil) 997 silent=yes ;; 998 999 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1000 | --runstate | --runstat | --runsta | --runst | --runs \ 1001 | --run | --ru | --r) 1002 ac_prev=runstatedir ;; 1003 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1004 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1005 | --run=* | --ru=* | --r=*) 1006 runstatedir=$ac_optarg ;; 1007 1008 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1009 ac_prev=sbindir ;; 1010 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1011 | --sbi=* | --sb=*) 1012 sbindir=$ac_optarg ;; 1013 1014 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1015 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1016 | --sharedst | --shareds | --shared | --share | --shar \ 1017 | --sha | --sh) 1018 ac_prev=sharedstatedir ;; 1019 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1020 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1021 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1022 | --sha=* | --sh=*) 1023 sharedstatedir=$ac_optarg ;; 1024 1025 -site | --site | --sit) 1026 ac_prev=site ;; 1027 -site=* | --site=* | --sit=*) 1028 site=$ac_optarg ;; 1029 1030 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1031 ac_prev=srcdir ;; 1032 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1033 srcdir=$ac_optarg ;; 1034 1035 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1036 | --syscon | --sysco | --sysc | --sys | --sy) 1037 ac_prev=sysconfdir ;; 1038 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1039 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1040 sysconfdir=$ac_optarg ;; 1041 1042 -target | --target | --targe | --targ | --tar | --ta | --t) 1043 ac_prev=target_alias ;; 1044 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1045 target_alias=$ac_optarg ;; 1046 1047 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1048 verbose=yes ;; 1049 1050 -version | --version | --versio | --versi | --vers | -V) 1051 ac_init_version=: ;; 1052 1053 -with-* | --with-*) 1054 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1055 # Reject names that are not valid shell variable names. 1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1057 as_fn_error $? "invalid package name: '$ac_useropt'" 1058 ac_useropt_orig=$ac_useropt 1059 ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` 1060 case $ac_user_opts in 1061 *" 1062 "with_$ac_useropt" 1063 "*) ;; 1064 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1065 ac_unrecognized_sep=', ';; 1066 esac 1067 eval with_$ac_useropt=\$ac_optarg ;; 1068 1069 -without-* | --without-*) 1070 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1071 # Reject names that are not valid shell variable names. 1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1073 as_fn_error $? "invalid package name: '$ac_useropt'" 1074 ac_useropt_orig=$ac_useropt 1075 ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` 1076 case $ac_user_opts in 1077 *" 1078 "with_$ac_useropt" 1079 "*) ;; 1080 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1081 ac_unrecognized_sep=', ';; 1082 esac 1083 eval with_$ac_useropt=no ;; 1084 1085 --x) 1086 # Obsolete; use --with-x. 1087 with_x=yes ;; 1088 1089 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1090 | --x-incl | --x-inc | --x-in | --x-i) 1091 ac_prev=x_includes ;; 1092 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1093 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1094 x_includes=$ac_optarg ;; 1095 1096 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1097 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1098 ac_prev=x_libraries ;; 1099 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1100 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1101 x_libraries=$ac_optarg ;; 1102 1103 -*) as_fn_error $? "unrecognized option: '$ac_option' 1104 Try '$0 --help' for more information" 1105 ;; 1106 1107 *=*) 1108 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1109 # Reject names that are not valid shell variable names. 1110 case $ac_envvar in #( 1111 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1112 as_fn_error $? "invalid variable name: '$ac_envvar'" ;; 1113 esac 1114 eval $ac_envvar=\$ac_optarg 1115 export $ac_envvar ;; 1116 1117 *) 1118 # FIXME: should be removed in autoconf 3.0. 1119 printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2 1120 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1121 printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2 1122 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1123 ;; 1124 1125 esac 1126 done 1127 1128 if test -n "$ac_prev"; then 1129 ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'` 1130 as_fn_error $? "missing argument to $ac_option" 1131 fi 1132 1133 if test -n "$ac_unrecognized_opts"; then 1134 case $enable_option_checking in 1135 no) ;; 1136 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1137 *) printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1138 esac 1139 fi 1140 1141 # Check all directory arguments for consistency. 1142 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1143 datadir sysconfdir sharedstatedir localstatedir includedir \ 1144 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1145 libdir localedir mandir runstatedir 1146 do 1147 eval ac_val=\$$ac_var 1148 # Remove trailing slashes. 1149 case $ac_val in 1150 */ ) 1151 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1152 eval $ac_var=\$ac_val;; 1153 esac 1154 # Be sure to have absolute directory names. 1155 case $ac_val in 1156 [\\/$]* | ?:[\\/]* ) continue;; 1157 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1158 esac 1159 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1160 done 1161 1162 # There might be people who depend on the old broken behavior: '$host' 1163 # used to hold the argument of --host etc. 1164 # FIXME: To remove some day. 1165 build=$build_alias 1166 host=$host_alias 1167 target=$target_alias 1168 1169 # FIXME: To remove some day. 1170 if test "x$host_alias" != x; then 1171 if test "x$build_alias" = x; then 1172 cross_compiling=maybe 1173 elif test "x$build_alias" != "x$host_alias"; then 1174 cross_compiling=yes 1175 fi 1176 fi 1177 1178 ac_tool_prefix= 1179 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1180 1181 test "$silent" = yes && exec 6>/dev/null 1182 1183 1184 ac_pwd=`pwd` && test -n "$ac_pwd" && 1185 ac_ls_di=`ls -di .` && 1186 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1187 as_fn_error $? "working directory cannot be determined" 1188 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1189 as_fn_error $? "pwd does not report name of working directory" 1190 1191 1192 # Find the source files, if location was not specified. 1193 if test -z "$srcdir"; then 1194 ac_srcdir_defaulted=yes 1195 # Try the directory containing this script, then the parent directory. 1196 ac_confdir=`$as_dirname -- "$as_myself" || 1197 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1198 X"$as_myself" : 'X\(//\)[^/]' \| \ 1199 X"$as_myself" : 'X\(//\)$' \| \ 1200 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1201 printf '%s\n' X"$as_myself" | 1202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1203 s//\1/ 1204 q 1205 } 1206 /^X\(\/\/\)[^/].*/{ 1207 s//\1/ 1208 q 1209 } 1210 /^X\(\/\/\)$/{ 1211 s//\1/ 1212 q 1213 } 1214 /^X\(\/\).*/{ 1215 s//\1/ 1216 q 1217 } 1218 s/.*/./; q'` 1219 srcdir=$ac_confdir 1220 if test ! -r "$srcdir/$ac_unique_file"; then 1221 srcdir=.. 1222 fi 1223 else 1224 ac_srcdir_defaulted=no 1225 fi 1226 if test ! -r "$srcdir/$ac_unique_file"; then 1227 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1228 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1229 fi 1230 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work" 1231 ac_abs_confdir=`( 1232 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1233 pwd)` 1234 # When building in place, set srcdir=. 1235 if test "$ac_abs_confdir" = "$ac_pwd"; then 1236 srcdir=. 1237 fi 1238 # Remove unnecessary trailing slashes from srcdir. 1239 # Double slashes in file names in object file debugging info 1240 # mess up M-x gdb in Emacs. 1241 case $srcdir in 1242 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1243 esac 1244 for ac_var in $ac_precious_vars; do 1245 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1246 eval ac_env_${ac_var}_value=\$${ac_var} 1247 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1248 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1249 done 1250 1251 # 1252 # Report the --help message. 1253 # 1254 if test "$ac_init_help" = "long"; then 1255 # Omit some internal or obsolete options to make the list less imposing. 1256 # This message is too long to be a string in the A/UX 3.1 sh. 1257 cat <<_ACEOF 1258 'configure' configures xbitmaps 1.1.4 to adapt to many kinds of systems. 1259 1260 Usage: $0 [OPTION]... [VAR=VALUE]... 1261 1262 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1263 VAR=VALUE. See below for descriptions of some of the useful variables. 1264 1265 Defaults for the options are specified in brackets. 1266 1267 Configuration: 1268 -h, --help display this help and exit 1269 --help=short display options specific to this package 1270 --help=recursive display the short help of all the included packages 1271 -V, --version display version information and exit 1272 -q, --quiet, --silent do not print 'checking ...' messages 1273 --cache-file=FILE cache test results in FILE [disabled] 1274 -C, --config-cache alias for '--cache-file=config.cache' 1275 -n, --no-create do not create output files 1276 --srcdir=DIR find the sources in DIR [configure dir or '..'] 1277 1278 Installation directories: 1279 --prefix=PREFIX install architecture-independent files in PREFIX 1280 [$ac_default_prefix] 1281 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1282 [PREFIX] 1283 1284 By default, 'make install' will install all the files in 1285 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify 1286 an installation prefix other than '$ac_default_prefix' using '--prefix', 1287 for instance '--prefix=\$HOME'. 1288 1289 For better control, use the options below. 1290 1291 Fine tuning of the installation directories: 1292 --bindir=DIR user executables [EPREFIX/bin] 1293 --sbindir=DIR system admin executables [EPREFIX/sbin] 1294 --libexecdir=DIR program executables [EPREFIX/libexec] 1295 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1296 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1297 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1298 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1299 --libdir=DIR object code libraries [EPREFIX/lib] 1300 --includedir=DIR C header files [PREFIX/include] 1301 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1304 --infodir=DIR info documentation [DATAROOTDIR/info] 1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1306 --mandir=DIR man documentation [DATAROOTDIR/man] 1307 --docdir=DIR documentation root [DATAROOTDIR/doc/xbitmaps] 1308 --htmldir=DIR html documentation [DOCDIR] 1309 --dvidir=DIR dvi documentation [DOCDIR] 1310 --pdfdir=DIR pdf documentation [DOCDIR] 1311 --psdir=DIR ps documentation [DOCDIR] 1312 _ACEOF 1313 1314 cat <<\_ACEOF 1315 1316 Program names: 1317 --program-prefix=PREFIX prepend PREFIX to installed program names 1318 --program-suffix=SUFFIX append SUFFIX to installed program names 1319 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1320 1321 System types: 1322 --build=BUILD configure for building on BUILD [guessed] 1323 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1324 _ACEOF 1325 fi 1326 1327 if test -n "$ac_init_help"; then 1328 case $ac_init_help in 1329 short | recursive ) echo "Configuration of xbitmaps 1.1.4:";; 1330 esac 1331 cat <<\_ACEOF 1332 1333 Optional Features: 1334 --disable-option-checking ignore unrecognized --enable/--with options 1335 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1336 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1337 --enable-silent-rules less verbose build output (undo: "make V=1") 1338 --disable-silent-rules verbose build output (undo: "make V=0") 1339 1340 Some influential environment variables: 1341 PKG_CONFIG path to pkg-config utility 1342 PKG_CONFIG_PATH 1343 directories to add to pkg-config's search path 1344 PKG_CONFIG_LIBDIR 1345 path overriding pkg-config's built-in search path 1346 1347 Use these variables to override the choices made by 'configure' or to help 1348 it to find libraries and programs with nonstandard names/locations. 1349 1350 Report bugs to <https://gitlab.freedesktop.org/xorg/data/bitmaps/-/issues>. 1351 _ACEOF 1352 ac_status=$? 1353 fi 1354 1355 if test "$ac_init_help" = "recursive"; then 1356 # If there are subdirs, report their specific --help. 1357 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1358 test -d "$ac_dir" || 1359 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1360 continue 1361 ac_builddir=. 1362 1363 case "$ac_dir" in 1364 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1365 *) 1366 ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'` 1367 # A ".." for each directory in $ac_dir_suffix. 1368 ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1369 case $ac_top_builddir_sub in 1370 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1371 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1372 esac ;; 1373 esac 1374 ac_abs_top_builddir=$ac_pwd 1375 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1376 # for backward compatibility: 1377 ac_top_builddir=$ac_top_build_prefix 1378 1379 case $srcdir in 1380 .) # We are building in place. 1381 ac_srcdir=. 1382 ac_top_srcdir=$ac_top_builddir_sub 1383 ac_abs_top_srcdir=$ac_pwd ;; 1384 [\\/]* | ?:[\\/]* ) # Absolute name. 1385 ac_srcdir=$srcdir$ac_dir_suffix; 1386 ac_top_srcdir=$srcdir 1387 ac_abs_top_srcdir=$srcdir ;; 1388 *) # Relative name. 1389 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1390 ac_top_srcdir=$ac_top_build_prefix$srcdir 1391 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1392 esac 1393 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1394 1395 cd "$ac_dir" || { ac_status=$?; continue; } 1396 # Check for configure.gnu first; this name is used for a wrapper for 1397 # Metaconfig's "Configure" on case-insensitive file systems. 1398 if test -f "$ac_srcdir/configure.gnu"; then 1399 echo && 1400 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1401 elif test -f "$ac_srcdir/configure"; then 1402 echo && 1403 $SHELL "$ac_srcdir/configure" --help=recursive 1404 else 1405 printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1406 fi || ac_status=$? 1407 cd "$ac_pwd" || { ac_status=$?; break; } 1408 done 1409 fi 1410 1411 test -n "$ac_init_help" && exit $ac_status 1412 if $ac_init_version; then 1413 cat <<\_ACEOF 1414 xbitmaps configure 1.1.4 1415 generated by GNU Autoconf 2.73 1416 1417 Copyright (C) 2026 Free Software Foundation, Inc. 1418 This configure script is free software; the Free Software Foundation 1419 gives unlimited permission to copy, distribute and modify it. 1420 _ACEOF 1421 exit 1422 fi 1423 1424 ## ------------------------ ## 1425 ## Autoconf initialization. ## 1426 ## ------------------------ ## 1427 ac_configure_args_raw= 1428 for ac_arg 1429 do 1430 case $ac_arg in 1431 *\'*) 1432 ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1433 esac 1434 as_fn_append ac_configure_args_raw " '$ac_arg'" 1435 done 1436 1437 case $ac_configure_args_raw in 1438 *$as_nl*) 1439 ac_safe_unquote= ;; 1440 *) 1441 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1442 ac_unsafe_a="$ac_unsafe_z#~" 1443 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1444 ac_configure_args_raw=` printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1445 esac 1446 1447 cat >config.log <<_ACEOF 1448 This file contains any messages produced by compilers while 1449 running configure, to aid debugging if configure makes a mistake. 1450 1451 It was created by xbitmaps $as_me 1.1.4, which was 1452 generated by GNU Autoconf 2.73. Invocation command line was 1453 1454 $ $0$ac_configure_args_raw 1455 1456 _ACEOF 1457 exec 5>>config.log 1458 { 1459 cat <<_ASUNAME 1460 ## --------- ## 1461 ## Platform. ## 1462 ## --------- ## 1463 1464 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1465 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1466 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1467 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1468 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1469 1470 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1471 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1472 1473 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1474 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1475 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1476 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1477 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1478 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1479 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1480 1481 _ASUNAME 1482 1483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1484 for as_dir in $PATH 1485 do 1486 IFS=$as_save_IFS 1487 case $as_dir in #((( 1488 '') as_dir=./ ;; 1489 */) ;; 1490 *) as_dir=$as_dir/ ;; 1491 esac 1492 printf '%s\n' "PATH: $as_dir" 1493 done 1494 IFS=$as_save_IFS 1495 1496 } >&5 1497 1498 cat >&5 <<_ACEOF 1499 1500 1501 ## ----------- ## 1502 ## Core tests. ## 1503 ## ----------- ## 1504 1505 _ACEOF 1506 1507 1508 # Keep a trace of the command line. 1509 # Strip out --no-create and --no-recursion so they do not pile up. 1510 # Strip out --silent because we don't want to record it for future runs. 1511 # Also quote any args containing shell meta-characters. 1512 # Make two passes to allow for proper duplicate-argument suppression. 1513 ac_configure_args= 1514 ac_configure_args0= 1515 ac_configure_args1= 1516 ac_must_keep_next=false 1517 for ac_pass in 1 2 1518 do 1519 for ac_arg 1520 do 1521 case $ac_arg in 1522 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1524 | -silent | --silent | --silen | --sile | --sil) 1525 continue ;; 1526 *\'*) 1527 ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1528 esac 1529 case $ac_pass in 1530 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1531 2) 1532 as_fn_append ac_configure_args1 " '$ac_arg'" 1533 if test $ac_must_keep_next = true; then 1534 ac_must_keep_next=false # Got value, back to normal. 1535 else 1536 case $ac_arg in 1537 *=* | --config-cache | -C | -disable-* | --disable-* \ 1538 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1539 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1540 | -with-* | --with-* | -without-* | --without-* | --x) 1541 case "$ac_configure_args0 " in 1542 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1543 esac 1544 ;; 1545 -* ) ac_must_keep_next=true ;; 1546 esac 1547 fi 1548 as_fn_append ac_configure_args " '$ac_arg'" 1549 ;; 1550 esac 1551 done 1552 done 1553 { ac_configure_args0=; unset ac_configure_args0;} 1554 { ac_configure_args1=; unset ac_configure_args1;} 1555 1556 # Dump the cache to stdout. It can be in a pipe (this is a requirement). 1557 ac_cache_dump () 1558 { 1559 # The following way of writing the cache mishandles newlines in values, 1560 # but we know of no workaround that is simple, portable, and efficient. 1561 # So, we kill variables containing newlines. 1562 # Ultrix sh set writes to stderr and can't be redirected directly, 1563 # and sets the high bit in the cache file unless we assign to the vars. 1564 ( 1565 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 1566 eval ac_val=\$$ac_var 1567 case $ac_val in #( 1568 *${as_nl}*) 1569 case $ac_var in #( 1570 *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1571 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1572 esac 1573 case $ac_var in #( 1574 _ | IFS | as_nl) ;; #( 1575 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1576 *) { eval $ac_var=; unset $ac_var;} ;; 1577 esac ;; 1578 esac 1579 done 1580 1581 (set) 2>&1 | 1582 case $as_nl`(ac_space=' '; set) 2>&1` in #( 1583 *${as_nl}ac_space=\ *) 1584 # 'set' does not quote correctly, so add quotes: double-quote 1585 # substitution turns \\\\ into \\, and sed turns \\ into \. 1586 sed -n \ 1587 "s/'/'\\\\''/g; 1588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 1589 ;; #( 1590 *) 1591 # 'set' quotes correctly as required by POSIX, so do not add quotes. 1592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1593 ;; 1594 esac | 1595 sort 1596 ) 1597 } 1598 1599 # Print debugging info to stdout. 1600 ac_dump_debugging_info () 1601 { 1602 echo 1603 1604 printf '%s\n' "## ---------------- ## 1605 ## Cache variables. ## 1606 ## ---------------- ##" 1607 echo 1608 ac_cache_dump 1609 echo 1610 1611 printf '%s\n' "## ----------------- ## 1612 ## Output variables. ## 1613 ## ----------------- ##" 1614 echo 1615 for ac_var in $ac_subst_vars 1616 do 1617 eval ac_val=\$$ac_var 1618 case $ac_val in 1619 *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;; 1620 esac 1621 printf '%s\n' "$ac_var='$ac_val'" 1622 done | sort 1623 echo 1624 1625 if test -n "$ac_subst_files"; then 1626 printf '%s\n' "## ------------------- ## 1627 ## File substitutions. ## 1628 ## ------------------- ##" 1629 echo 1630 for ac_var in $ac_subst_files 1631 do 1632 eval ac_val=\$$ac_var 1633 case $ac_val in 1634 *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;; 1635 esac 1636 printf '%s\n' "$ac_var='$ac_val'" 1637 done | sort 1638 echo 1639 fi 1640 1641 if test -s confdefs.h; then 1642 printf '%s\n' "## ----------- ## 1643 ## confdefs.h. ## 1644 ## ----------- ##" 1645 echo 1646 cat confdefs.h 1647 echo 1648 fi 1649 test "$ac_signal" != 0 && 1650 printf '%s\n' "$as_me: caught signal $ac_signal" 1651 printf '%s\n' "$as_me: exit $exit_status" 1652 } 1653 1654 # When interrupted or exit'd, cleanup temporary files, and complete 1655 # config.log. 1656 ac_exit_trap () 1657 { 1658 exit_status= 1659 # Sanitize IFS. 1660 IFS=" "" $as_nl" 1661 # Save into config.log some information that might help in debugging. 1662 ac_dump_debugging_info >&5 1663 eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" && 1664 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1665 exit $exit_status 1666 } 1667 1668 trap 'ac_exit_trap $?' 0 1669 for ac_signal in 1 2 13 15; do 1670 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1671 done 1672 ac_signal=0 1673 1674 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1675 rm -f -r conftest* confdefs.h 1676 1677 printf '%s\n' "/* confdefs.h */" > confdefs.h 1678 1679 # Predefined preprocessor variables. 1680 1681 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 1682 1683 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 1684 1685 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 1686 1687 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 1688 1689 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 1690 1691 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 1692 1693 1694 # Let the site file select an alternate cache file if it wants to. 1695 # Prefer an explicitly selected file to automatically selected ones. 1696 if test -n "$CONFIG_SITE"; then 1697 ac_site_files="$CONFIG_SITE" 1698 elif test "x$prefix" != xNONE; then 1699 ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 1700 else 1701 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1702 fi 1703 1704 for ac_site_file in $ac_site_files 1705 do 1706 case $ac_site_file in #( 1707 */*) : 1708 ;; #( 1709 *) : 1710 ac_site_file=./$ac_site_file ;; 1711 esac 1712 if test -f "$ac_site_file" && test -r "$ac_site_file"; then 1713 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1714 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;} 1715 sed 's/^/| /' "$ac_site_file" >&5 1716 . "$ac_site_file" \ 1717 || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 1718 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} 1719 as_fn_error $? "failed to load site script $ac_site_file 1720 See 'config.log' for more details" "$LINENO" 5; } 1721 fi 1722 done 1723 1724 if test -r "$cache_file"; then 1725 # Some versions of bash will fail to source /dev/null (special files 1726 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1727 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1728 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1729 printf '%s\n' "$as_me: loading cache $cache_file" >&6;} 1730 case $cache_file in 1731 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1732 *) . "./$cache_file";; 1733 esac 1734 fi 1735 else 1736 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1737 printf '%s\n' "$as_me: creating cache $cache_file" >&6;} 1738 >$cache_file 1739 fi 1740 1741 1742 # Auxiliary files required by this configure script. 1743 ac_aux_files="config.guess config.sub missing install-sh" 1744 1745 # Locations in which to look for auxiliary files. 1746 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 1747 1748 # Search for a directory containing all of the required auxiliary files, 1749 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 1750 # If we don't find one directory that contains all the files we need, 1751 # we report the set of missing files from the *first* directory in 1752 # $ac_aux_dir_candidates and give up. 1753 ac_missing_aux_files="" 1754 ac_first_candidate=: 1755 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1757 as_found=false 1758 for as_dir in $ac_aux_dir_candidates 1759 do 1760 IFS=$as_save_IFS 1761 case $as_dir in #((( 1762 '') as_dir=./ ;; 1763 */) ;; 1764 *) as_dir=$as_dir/ ;; 1765 esac 1766 as_found=: 1767 1768 printf '%s\n' "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 1769 ac_aux_dir_found=yes 1770 ac_install_sh= 1771 for ac_aux in $ac_aux_files 1772 do 1773 # As a special case, if "install-sh" is required, that requirement 1774 # can be satisfied by any of "install-sh", "install.sh", or "shtool", 1775 # and $ac_install_sh is set appropriately for whichever one is found. 1776 if test x"$ac_aux" = x"install-sh" 1777 then 1778 if test -f "${as_dir}install-sh"; then 1779 printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 1780 ac_install_sh="${as_dir}install-sh -c" 1781 elif test -f "${as_dir}install.sh"; then 1782 printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 1783 ac_install_sh="${as_dir}install.sh -c" 1784 elif test -f "${as_dir}shtool"; then 1785 printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 1786 ac_install_sh="${as_dir}shtool install -c" 1787 else 1788 ac_aux_dir_found=no 1789 if $ac_first_candidate; then 1790 ac_missing_aux_files="${ac_missing_aux_files} install-sh" 1791 else 1792 break 1793 fi 1794 fi 1795 else 1796 if test -f "${as_dir}${ac_aux}"; then 1797 printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 1798 else 1799 ac_aux_dir_found=no 1800 if $ac_first_candidate; then 1801 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 1802 else 1803 break 1804 fi 1805 fi 1806 fi 1807 done 1808 if test "$ac_aux_dir_found" = yes; then 1809 ac_aux_dir="$as_dir" 1810 break 1811 fi 1812 ac_first_candidate=false 1813 1814 as_found=false 1815 done 1816 IFS=$as_save_IFS 1817 if $as_found 1818 then : 1819 1820 else case e in #( 1821 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;; 1822 esac 1823 fi 1824 1825 1826 # These three variables are undocumented and unsupported, 1827 # and are intended to be withdrawn in a future Autoconf release. 1828 # They can cause serious problems if a builder's source tree is in a directory 1829 # whose full name contains unusual characters. 1830 if test -f "${ac_aux_dir}config.guess"; then 1831 ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 1832 fi 1833 if test -f "${ac_aux_dir}config.sub"; then 1834 ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 1835 fi 1836 if test -f "$ac_aux_dir/configure"; then 1837 ac_configure="$SHELL ${ac_aux_dir}configure" 1838 fi 1839 1840 # Check that the precious variables saved in the cache have kept the same 1841 # value. 1842 ac_cache_corrupted=false 1843 for ac_var in $ac_precious_vars; do 1844 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1845 eval ac_new_set=\$ac_env_${ac_var}_set 1846 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1847 eval ac_new_val=\$ac_env_${ac_var}_value 1848 case $ac_old_set,$ac_new_set in 1849 set,) 1850 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5 1851 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;} 1852 ac_cache_corrupted=: ;; 1853 ,set) 1854 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5 1855 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;} 1856 ac_cache_corrupted=: ;; 1857 ,);; 1858 *) 1859 if test "x$ac_old_val" != "x$ac_new_val"; then 1860 # differences in whitespace do not lead to failure. 1861 ac_old_val_w= 1862 for ac_val in x $ac_old_val; do 1863 ac_old_val_w="$ac_old_val_w $ac_val" 1864 done 1865 ac_new_val_w= 1866 for ac_val in x $ac_new_val; do 1867 ac_new_val_w="$ac_new_val_w $ac_val" 1868 done 1869 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1870 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5 1871 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;} 1872 ac_cache_corrupted=: 1873 else 1874 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5 1875 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;} 1876 eval $ac_var=\$ac_old_val 1877 fi 1878 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5 1879 printf '%s\n' "$as_me: former value: '$ac_old_val'" >&2;} 1880 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5 1881 printf '%s\n' "$as_me: current value: '$ac_new_val'" >&2;} 1882 fi;; 1883 esac 1884 # Pass precious variables to config.status. 1885 if test "$ac_new_set" = set; then 1886 case $ac_new_val in 1887 *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1888 *) ac_arg=$ac_var=$ac_new_val ;; 1889 esac 1890 case " $ac_configure_args " in 1891 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1892 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1893 esac 1894 fi 1895 done 1896 if $ac_cache_corrupted; then 1897 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 1898 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} 1899 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1900 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;} 1901 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file' 1902 and start over" "$LINENO" 5 1903 fi 1904 ## -------------------- ## 1905 ## Main body of script. ## 1906 ## -------------------- ## 1907 1908 1909 # Determine whether it's possible to make 'echo' print without a newline. 1910 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 1911 # for compatibility with existing Makefiles. 1912 ECHO_C= ECHO_N= ECHO_T= 1913 case `echo -n x` in #((((( 1914 -n*) 1915 case `echo 'xy\c'` in 1916 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 1917 xy) ECHO_C='\c';; 1918 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 1919 ECHO_T=' ';; 1920 esac;; 1921 *) 1922 ECHO_N='-n';; 1923 esac 1924 1925 ac_ext=c 1926 ac_cpp='$CPP $CPPFLAGS' 1927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1929 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1930 1931 1932 1933 ac_config_headers="$ac_config_headers config.h" 1934 1935 1936 # Initialize Automake 1937 am__api_version='1.18' 1938 1939 1940 1941 # Find a good install program. We prefer a C program (faster), 1942 # so one script is as good as another. But avoid the broken or 1943 # incompatible versions: 1944 # SysV /etc/install, /usr/sbin/install 1945 # SunOS /usr/etc/install 1946 # IRIX /sbin/install 1947 # AIX /bin/install 1948 # AmigaOS /C/install, which installs bootblocks on floppy discs 1949 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1950 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1951 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1952 # OS/2's system install, which has a completely different semantic 1953 # ./install, which can be erroneously created by make from ./install.sh. 1954 # Reject install programs that cannot install multiple files. 1955 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 1956 printf %s "checking for a BSD-compatible install... " >&6; } 1957 if test -z "$INSTALL"; then 1958 if test ${ac_cv_path_install+y} 1959 then : 1960 printf %s "(cached) " >&6 1961 else case e in #( 1962 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1963 for as_dir in $PATH 1964 do 1965 IFS=$as_save_IFS 1966 case $as_dir in #((( 1967 '') as_dir=./ ;; 1968 */) ;; 1969 *) as_dir=$as_dir/ ;; 1970 esac 1971 # Account for fact that we put trailing slashes in our PATH walk. 1972 case $as_dir in #(( 1973 ./ | /[cC]/* | \ 1974 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1975 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1976 /usr/ucb/* ) ;; 1977 *) 1978 # OSF/1 and SCO ODT 3.0 have their own names for install. 1979 # Don't use installbsd from OSF/1 since it installs stuff as root 1980 # by default. 1981 for ac_prog in ginstall scoinst install; do 1982 for ac_exec_ext in '' $ac_executable_extensions; do 1983 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 1984 if test $ac_prog = install && 1985 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1986 # AIX install. It has an incompatible calling convention. 1987 : 1988 elif test $ac_prog = install && 1989 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1990 # program-specific install script used by HP pwplus--don't use. 1991 : 1992 else 1993 rm -rf conftest.one conftest.two conftest.dir 1994 echo one > conftest.one 1995 echo two > conftest.two 1996 mkdir conftest.dir 1997 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 1998 test -s conftest.one && test -s conftest.two && 1999 test -s conftest.dir/conftest.one && 2000 test -s conftest.dir/conftest.two 2001 then 2002 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2003 break 3 2004 fi 2005 fi 2006 fi 2007 done 2008 done 2009 ;; 2010 esac 2011 2012 done 2013 IFS=$as_save_IFS 2014 2015 rm -rf conftest.one conftest.two conftest.dir 2016 ;; 2017 esac 2018 fi 2019 if test ${ac_cv_path_install+y}; then 2020 INSTALL=$ac_cv_path_install 2021 else 2022 # As a last resort, use the slow shell script. Don't cache a 2023 # value for INSTALL within a source directory, because that will 2024 # break other packages using the cache if that directory is 2025 # removed, or if the value is a relative name. 2026 INSTALL=$ac_install_sh 2027 fi 2028 fi 2029 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2030 printf '%s\n' "$INSTALL" >&6; } 2031 2032 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2033 # It thinks the first close brace ends the variable substitution. 2034 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2035 2036 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2037 2038 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2039 2040 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5 2041 printf %s "checking whether sleep supports fractional seconds... " >&6; } 2042 if test ${am_cv_sleep_fractional_seconds+y} 2043 then : 2044 printf %s "(cached) " >&6 2045 else case e in #( 2046 e) if sleep 0.001 2>/dev/null 2047 then : 2048 am_cv_sleep_fractional_seconds=yes 2049 else case e in #( 2050 e) am_cv_sleep_fractional_seconds=no ;; 2051 esac 2052 fi 2053 ;; 2054 esac 2055 fi 2056 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5 2057 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; } 2058 2059 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5 2060 printf %s "checking filesystem timestamp resolution... " >&6; } 2061 if test ${am_cv_filesystem_timestamp_resolution+y} 2062 then : 2063 printf %s "(cached) " >&6 2064 else case e in #( 2065 e) # Default to the worst case. 2066 am_cv_filesystem_timestamp_resolution=2 2067 2068 # Only try to go finer than 1 sec if sleep can do it. 2069 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work, 2070 # - 1 sec is not much of a win compared to 2 sec, and 2071 # - it takes 2 seconds to perform the test whether 1 sec works. 2072 # 2073 # Instead, just use the default 2s on platforms that have 1s resolution, 2074 # accept the extra 1s delay when using $sleep in the Automake tests, in 2075 # exchange for not incurring the 2s delay for running the test for all 2076 # packages. 2077 # 2078 am_try_resolutions= 2079 if test "$am_cv_sleep_fractional_seconds" = yes; then 2080 # Even a millisecond often causes a bunch of false positives, 2081 # so just try a hundredth of a second. The time saved between .001 and 2082 # .01 is not terribly consequential. 2083 am_try_resolutions="0.01 0.1 $am_try_resolutions" 2084 fi 2085 2086 # In order to catch current-generation FAT out, we must *modify* files 2087 # that already exist; the *creation* timestamp is finer. Use names 2088 # that make ls -t sort them differently when they have equal 2089 # timestamps than when they have distinct timestamps, keeping 2090 # in mind that ls -t prints the *newest* file first. 2091 rm -f conftest.ts? 2092 : > conftest.ts1 2093 : > conftest.ts2 2094 : > conftest.ts3 2095 2096 # Make sure ls -t actually works. Do 'set' in a subshell so we don't 2097 # clobber the current shell's arguments. (Outer-level square brackets 2098 # are removed by m4; they're present so that m4 does not expand 2099 # <dollar><star>; be careful, easy to get confused.) 2100 if ( 2101 set X `ls -t conftest.ts[12]` && 2102 { 2103 test "$*" != "X conftest.ts1 conftest.ts2" || 2104 test "$*" != "X conftest.ts2 conftest.ts1"; 2105 } 2106 ); then :; else 2107 # If neither matched, then we have a broken ls. This can happen 2108 # if, for instance, CONFIG_SHELL is bash and it inherits a 2109 # broken ls alias from the environment. This has actually 2110 # happened. Such a system could not be considered "sane". 2111 printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5 2112 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 2113 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} 2114 as_fn_error $? "ls -t produces unexpected output. 2115 Make sure there is not a broken ls alias in your environment. 2116 See 'config.log' for more details" "$LINENO" 5; } 2117 fi 2118 2119 for am_try_res in $am_try_resolutions; do 2120 # Any one fine-grained sleep might happen to cross the boundary 2121 # between two values of a coarser actual resolution, but if we do 2122 # two fine-grained sleeps in a row, at least one of them will fall 2123 # entirely within a coarse interval. 2124 echo alpha > conftest.ts1 2125 sleep $am_try_res 2126 echo beta > conftest.ts2 2127 sleep $am_try_res 2128 echo gamma > conftest.ts3 2129 2130 # We assume that 'ls -t' will make use of high-resolution 2131 # timestamps if the operating system supports them at all. 2132 if (set X `ls -t conftest.ts?` && 2133 test "$2" = conftest.ts3 && 2134 test "$3" = conftest.ts2 && 2135 test "$4" = conftest.ts1); then 2136 # 2137 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done, 2138 # because we don't need to test make. 2139 make_ok=true 2140 if test $am_try_res != 1; then 2141 # But if we've succeeded so far with a subsecond resolution, we 2142 # have one more thing to check: make. It can happen that 2143 # everything else supports the subsecond mtimes, but make doesn't; 2144 # notably on macOS, which ships make 3.81 from 2006 (the last one 2145 # released under GPLv2). https://bugs.gnu.org/68808 2146 # 2147 # We test $MAKE if it is defined in the environment, else "make". 2148 # It might get overridden later, but our hope is that in practice 2149 # it does not matter: it is the system "make" which is (by far) 2150 # the most likely to be broken, whereas if the user overrides it, 2151 # probably they did so with a better, or at least not worse, make. 2152 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html 2153 # 2154 # Create a Makefile (real tab character here): 2155 rm -f conftest.mk 2156 echo 'conftest.ts1: conftest.ts2' >conftest.mk 2157 echo ' touch conftest.ts2' >>conftest.mk 2158 # 2159 # Now, running 2160 # touch conftest.ts1; touch conftest.ts2; make 2161 # should touch ts1 because ts2 is newer. This could happen by luck, 2162 # but most often, it will fail if make's support is insufficient. So 2163 # test for several consecutive successes. 2164 # 2165 # (We reuse conftest.ts[12] because we still want to modify existing 2166 # files, not create new ones, per above.) 2167 n=0 2168 make=${MAKE-make} 2169 until test $n -eq 3; do 2170 echo one > conftest.ts1 2171 sleep $am_try_res 2172 echo two > conftest.ts2 # ts2 should now be newer than ts1 2173 if $make -f conftest.mk | grep 'up to date' >/dev/null; then 2174 make_ok=false 2175 break # out of $n loop 2176 fi 2177 n=`expr $n + 1` 2178 done 2179 fi 2180 # 2181 if $make_ok; then 2182 # Everything we know to check worked out, so call this resolution good. 2183 am_cv_filesystem_timestamp_resolution=$am_try_res 2184 break # out of $am_try_res loop 2185 fi 2186 # Otherwise, we'll go on to check the next resolution. 2187 fi 2188 done 2189 rm -f conftest.ts? 2190 # (end _am_filesystem_timestamp_resolution) 2191 ;; 2192 esac 2193 fi 2194 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5 2195 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; } 2196 2197 # This check should not be cached, as it may vary across builds of 2198 # different projects. 2199 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2200 printf %s "checking whether build environment is sane... " >&6; } 2201 # Reject unsafe characters in $srcdir or the absolute working directory 2202 # name. Accept space and tab only in the latter. 2203 am_lf=' 2204 ' 2205 case `pwd` in 2206 *[\\\"\#\$\&\'\`$am_lf]*) 2207 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 2208 printf '%s\n' "no" >&6; } 2209 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2210 esac 2211 case $srcdir in 2212 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2213 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 2214 printf '%s\n' "no" >&6; } 2215 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2216 esac 2217 2218 # Do 'set' in a subshell so we don't clobber the current shell's 2219 # arguments. Must try -L first in case configure is actually a 2220 # symlink; some systems play weird games with the mod time of symlinks 2221 # (eg FreeBSD returns the mod time of the symlink's containing 2222 # directory). 2223 am_build_env_is_sane=no 2224 am_has_slept=no 2225 rm -f conftest.file 2226 for am_try in 1 2; do 2227 echo "timestamp, slept: $am_has_slept" > conftest.file 2228 if ( 2229 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2230 if test "$*" = "X"; then 2231 # -L didn't work. 2232 set X `ls -t "$srcdir/configure" conftest.file` 2233 fi 2234 test "$2" = conftest.file 2235 ); then 2236 am_build_env_is_sane=yes 2237 break 2238 fi 2239 # Just in case. 2240 sleep "$am_cv_filesystem_timestamp_resolution" 2241 am_has_slept=yes 2242 done 2243 2244 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5 2245 printf '%s\n' "$am_build_env_is_sane" >&6; } 2246 if test "$am_build_env_is_sane" = no; then 2247 as_fn_error $? "newly created file is older than distributed files! 2248 Check your system clock" "$LINENO" 5 2249 fi 2250 2251 # If we didn't sleep, we still need to ensure time stamps of config.status and 2252 # generated files are strictly newer. 2253 am_sleep_pid= 2254 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1 2255 then : 2256 2257 else case e in #( 2258 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) & 2259 am_sleep_pid=$! 2260 ;; 2261 esac 2262 fi 2263 2264 rm -f conftest.file 2265 2266 test "$program_prefix" != NONE && 2267 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2268 # Use a double $ so make ignores it. 2269 test "$program_suffix" != NONE && 2270 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2271 # Double any \ or $. 2272 # By default was 's,x,x', remove it if useless. 2273 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2274 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"` 2275 2276 2277 # Expand $ac_aux_dir to an absolute path. 2278 am_aux_dir=`cd "$ac_aux_dir" && pwd` 2279 2280 2281 if test x"${MISSING+set}" != xset; then 2282 MISSING="\${SHELL} '$am_aux_dir/missing'" 2283 fi 2284 # Use eval to expand $SHELL 2285 if eval "$MISSING --is-lightweight"; then 2286 am_missing_run="$MISSING " 2287 else 2288 am_missing_run= 2289 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2290 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2291 fi 2292 2293 if test x"${install_sh+set}" != xset; then 2294 case $am_aux_dir in 2295 *\ * | *\ *) 2296 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2297 *) 2298 install_sh="\${SHELL} $am_aux_dir/install-sh" 2299 esac 2300 fi 2301 2302 # Installed binaries are usually stripped using 'strip' when the user 2303 # run "make install-strip". However 'strip' might not be the right 2304 # tool to use in cross-compilation environments, therefore Automake 2305 # will honor the 'STRIP' environment variable to overrule this program. 2306 if test "$cross_compiling" != no; then 2307 if test -n "$ac_tool_prefix"; then 2308 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2309 set dummy ${ac_tool_prefix}strip; ac_word=$2 2310 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2311 printf %s "checking for $ac_word... " >&6; } 2312 if test ${ac_cv_prog_STRIP+y} 2313 then : 2314 printf %s "(cached) " >&6 2315 else case e in #( 2316 e) if test -n "$STRIP"; then 2317 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2318 else 2319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2320 for as_dir in $PATH 2321 do 2322 IFS=$as_save_IFS 2323 case $as_dir in #((( 2324 '') as_dir=./ ;; 2325 */) ;; 2326 *) as_dir=$as_dir/ ;; 2327 esac 2328 for ac_exec_ext in '' $ac_executable_extensions; do 2329 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2330 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2331 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2332 break 2 2333 fi 2334 done 2335 done 2336 IFS=$as_save_IFS 2337 2338 fi ;; 2339 esac 2340 fi 2341 STRIP=$ac_cv_prog_STRIP 2342 if test -n "$STRIP"; then 2343 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2344 printf '%s\n' "$STRIP" >&6; } 2345 else 2346 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 2347 printf '%s\n' "no" >&6; } 2348 fi 2349 2350 2351 fi 2352 if test -z "$ac_cv_prog_STRIP"; then 2353 ac_ct_STRIP=$STRIP 2354 # Extract the first word of "strip", so it can be a program name with args. 2355 set dummy strip; ac_word=$2 2356 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2357 printf %s "checking for $ac_word... " >&6; } 2358 if test ${ac_cv_prog_ac_ct_STRIP+y} 2359 then : 2360 printf %s "(cached) " >&6 2361 else case e in #( 2362 e) if test -n "$ac_ct_STRIP"; then 2363 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2364 else 2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2366 for as_dir in $PATH 2367 do 2368 IFS=$as_save_IFS 2369 case $as_dir in #((( 2370 '') as_dir=./ ;; 2371 */) ;; 2372 *) as_dir=$as_dir/ ;; 2373 esac 2374 for ac_exec_ext in '' $ac_executable_extensions; do 2375 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2376 ac_cv_prog_ac_ct_STRIP="strip" 2377 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2378 break 2 2379 fi 2380 done 2381 done 2382 IFS=$as_save_IFS 2383 2384 fi ;; 2385 esac 2386 fi 2387 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2388 if test -n "$ac_ct_STRIP"; then 2389 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2390 printf '%s\n' "$ac_ct_STRIP" >&6; } 2391 else 2392 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 2393 printf '%s\n' "no" >&6; } 2394 fi 2395 2396 if test "x$ac_ct_STRIP" = x; then 2397 STRIP=":" 2398 else 2399 case $cross_compiling:$ac_tool_warned in 2400 yes:) 2401 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2402 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2403 ac_tool_warned=yes ;; 2404 esac 2405 STRIP=$ac_ct_STRIP 2406 fi 2407 else 2408 STRIP="$ac_cv_prog_STRIP" 2409 fi 2410 2411 fi 2412 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2413 2414 2415 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2416 printf %s "checking for a race-free mkdir -p... " >&6; } 2417 if test -z "$MKDIR_P"; then 2418 if test ${ac_cv_path_mkdir+y} 2419 then : 2420 printf %s "(cached) " >&6 2421 else case e in #( 2422 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2423 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2424 do 2425 IFS=$as_save_IFS 2426 case $as_dir in #((( 2427 '') as_dir=./ ;; 2428 */) ;; 2429 *) as_dir=$as_dir/ ;; 2430 esac 2431 for ac_prog in mkdir gmkdir; do 2432 for ac_exec_ext in '' $ac_executable_extensions; do 2433 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2434 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2435 'mkdir ('*'coreutils) '* | \ 2436 *'BusyBox '* | \ 2437 'mkdir (fileutils) '4.1*) 2438 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2439 break 3;; 2440 esac 2441 done 2442 done 2443 done 2444 IFS=$as_save_IFS 2445 ;; 2446 esac 2447 fi 2448 2449 test -d ./--version && rmdir ./--version 2450 if test ${ac_cv_path_mkdir+y}; then 2451 MKDIR_P="$ac_cv_path_mkdir -p" 2452 else 2453 # As a last resort, use plain mkdir -p, 2454 # in the hope it doesn't have the bugs of ancient mkdir. 2455 MKDIR_P='mkdir -p' 2456 fi 2457 fi 2458 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2459 printf '%s\n' "$MKDIR_P" >&6; } 2460 2461 for ac_prog in gawk mawk nawk awk 'busybox awk' 2462 do 2463 # Extract the first word of "$ac_prog", so it can be a program name with args. 2464 set dummy $ac_prog; ac_word=$2 2465 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2466 printf %s "checking for $ac_word... " >&6; } 2467 if test ${ac_cv_prog_AWK+y} 2468 then : 2469 printf %s "(cached) " >&6 2470 else case e in #( 2471 e) if test -n "$AWK"; then 2472 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2473 else 2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2475 for as_dir in $PATH 2476 do 2477 IFS=$as_save_IFS 2478 case $as_dir in #((( 2479 '') as_dir=./ ;; 2480 */) ;; 2481 *) as_dir=$as_dir/ ;; 2482 esac 2483 for ac_exec_ext in '' $ac_executable_extensions; do 2484 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2485 ac_cv_prog_AWK="$ac_prog" 2486 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2487 break 2 2488 fi 2489 done 2490 done 2491 IFS=$as_save_IFS 2492 2493 fi ;; 2494 esac 2495 fi 2496 AWK=$ac_cv_prog_AWK 2497 if test -n "$AWK"; then 2498 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2499 printf '%s\n' "$AWK" >&6; } 2500 else 2501 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 2502 printf '%s\n' "no" >&6; } 2503 fi 2504 2505 2506 test -n "$AWK" && break 2507 done 2508 2509 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2510 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2511 set x ${MAKE-make} 2512 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2513 if eval test \${ac_cv_prog_make_${ac_make}_set+y} 2514 then : 2515 printf %s "(cached) " >&6 2516 else case e in #( 2517 e) cat >conftest.make <<\_ACEOF 2518 SHELL = /bin/sh 2519 all: 2520 @printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%' 2521 _ACEOF 2522 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2523 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2524 *@@@%%%=?*=@@@%%%*) 2525 eval ac_cv_prog_make_${ac_make}_set=yes;; 2526 *) 2527 eval ac_cv_prog_make_${ac_make}_set=no;; 2528 esac 2529 rm -f conftest.make ;; 2530 esac 2531 fi 2532 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2533 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2534 printf '%s\n' "yes" >&6; } 2535 SET_MAKE= 2536 else 2537 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 2538 printf '%s\n' "no" >&6; } 2539 SET_MAKE="MAKE=${MAKE-make}" 2540 fi 2541 2542 rm -rf .tst 2>/dev/null 2543 mkdir .tst 2>/dev/null 2544 if test -d .tst; then 2545 am__leading_dot=. 2546 else 2547 am__leading_dot=_ 2548 fi 2549 rmdir .tst 2>/dev/null 2550 2551 AM_DEFAULT_VERBOSITY=1 2552 # Check whether --enable-silent-rules was given. 2553 if test ${enable_silent_rules+y} 2554 then : 2555 enableval=$enable_silent_rules; 2556 fi 2557 2558 am_make=${MAKE-make} 2559 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2560 printf %s "checking whether $am_make supports nested variables... " >&6; } 2561 if test ${am_cv_make_support_nested_variables+y} 2562 then : 2563 printf %s "(cached) " >&6 2564 else case e in #( 2565 e) if printf '%s\n' 'TRUE=$(BAR$(V)) 2566 BAR0=false 2567 BAR1=true 2568 V=1 2569 am__doit: 2570 @$(TRUE) 2571 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2572 am_cv_make_support_nested_variables=yes 2573 else 2574 am_cv_make_support_nested_variables=no 2575 fi ;; 2576 esac 2577 fi 2578 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2579 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; } 2580 AM_BACKSLASH='\' 2581 2582 am__rm_f_notfound= 2583 if (rm -f && rm -fr && rm -rf) 2>/dev/null 2584 then : 2585 2586 else case e in #( 2587 e) am__rm_f_notfound='""' ;; 2588 esac 2589 fi 2590 2591 2592 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5 2593 printf %s "checking xargs -n works... " >&6; } 2594 if test ${am_cv_xargs_n_works+y} 2595 then : 2596 printf %s "(cached) " >&6 2597 else case e in #( 2598 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2 2599 3" 2600 then : 2601 am_cv_xargs_n_works=yes 2602 else case e in #( 2603 e) am_cv_xargs_n_works=no ;; 2604 esac 2605 fi ;; 2606 esac 2607 fi 2608 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5 2609 printf '%s\n' "$am_cv_xargs_n_works" >&6; } 2610 if test "$am_cv_xargs_n_works" = yes 2611 then : 2612 am__xargs_n='xargs -n' 2613 else case e in #( 2614 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }' 2615 ;; 2616 esac 2617 fi 2618 2619 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2620 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2621 # is not polluted with repeated "-I." 2622 am__isrc=' -I$(srcdir)' 2623 # test to see if srcdir already configured 2624 if test -f $srcdir/config.status; then 2625 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2626 fi 2627 fi 2628 2629 # test whether we have cygpath 2630 if test -z "$CYGPATH_W"; then 2631 if (cygpath --version) >/dev/null 2>/dev/null; then 2632 CYGPATH_W='cygpath -w' 2633 else 2634 CYGPATH_W=echo 2635 fi 2636 fi 2637 2638 2639 # Define the identity of the package. 2640 PACKAGE='xbitmaps' 2641 VERSION='1.1.4' 2642 2643 2644 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2645 2646 2647 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h 2648 2649 # Some tools Automake needs. 2650 2651 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2652 2653 2654 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2655 2656 2657 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2658 2659 2660 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2661 2662 2663 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2664 2665 # For better backward compatibility. To be removed once Automake 1.9.x 2666 # dies out for good. For more background, see: 2667 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2668 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2669 mkdir_p='$(MKDIR_P)' 2670 2671 # We need awk for the "check" target (and possibly the TAP driver). The 2672 # system "awk" is bad on some platforms. 2673 # Always define AMTAR for backward compatibility. Yes, it's still used 2674 # in the wild :-( We should find a proper way to deprecate it ... 2675 AMTAR='$${TAR-tar}' 2676 2677 2678 # We'll loop over all known methods to create a tar archive until one works. 2679 _am_tools='gnutar plaintar pax cpio none' 2680 2681 # The POSIX 1988 'ustar' format is defined with fixed-size fields. 2682 # There is notably a 21 bits limit for the UID and the GID. In fact, 2683 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 2684 # and bug#13588). 2685 am_max_uid=2097151 # 2^21 - 1 2686 am_max_gid=$am_max_uid 2687 # The $UID and $GID variables are not portable, so we need to resort 2688 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 2689 # below are definitely unexpected, so allow the users to see them 2690 # (that is, avoid stderr redirection). 2691 am_uid=`id -u || echo unknown` 2692 am_gid=`id -g || echo unknown` 2693 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 2694 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 2695 if test x$am_uid = xunknown; then 2696 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5 2697 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;} 2698 elif test $am_uid -le $am_max_uid; then 2699 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2700 printf '%s\n' "yes" >&6; } 2701 else 2702 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 2703 printf '%s\n' "no" >&6; } 2704 _am_tools=none 2705 fi 2706 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 2707 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 2708 if test x$gm_gid = xunknown; then 2709 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5 2710 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;} 2711 elif test $am_gid -le $am_max_gid; then 2712 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2713 printf '%s\n' "yes" >&6; } 2714 else 2715 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 2716 printf '%s\n' "no" >&6; } 2717 _am_tools=none 2718 fi 2719 2720 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 2721 printf %s "checking how to create a ustar tar archive... " >&6; } 2722 2723 # Go ahead even if we have the value already cached. We do so because we 2724 # need to set the values for the 'am__tar' and 'am__untar' variables. 2725 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 2726 2727 for _am_tool in $_am_tools; do 2728 case $_am_tool in 2729 gnutar) 2730 for _am_tar in tar gnutar gtar; do 2731 { echo "$as_me:$LINENO: $_am_tar --version" >&5 2732 ($_am_tar --version) >&5 2>&5 2733 ac_status=$? 2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2735 (exit $ac_status); } && break 2736 done 2737 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 2738 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 2739 am__untar="$_am_tar -xf -" 2740 ;; 2741 plaintar) 2742 # Must skip GNU tar: if it does not support --format= it doesn't create 2743 # ustar tarball either. 2744 (tar --version) >/dev/null 2>&1 && continue 2745 am__tar='tar chf - "$$tardir"' 2746 am__tar_='tar chf - "$tardir"' 2747 am__untar='tar xf -' 2748 ;; 2749 pax) 2750 am__tar='pax -L -x ustar -w "$$tardir"' 2751 am__tar_='pax -L -x ustar -w "$tardir"' 2752 am__untar='pax -r' 2753 ;; 2754 cpio) 2755 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 2756 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 2757 am__untar='cpio -i -H ustar -d' 2758 ;; 2759 none) 2760 am__tar=false 2761 am__tar_=false 2762 am__untar=false 2763 ;; 2764 esac 2765 2766 # If the value was cached, stop now. We just wanted to have am__tar 2767 # and am__untar set. 2768 test -n "${am_cv_prog_tar_ustar}" && break 2769 2770 # tar/untar a dummy directory, and stop if the command works. 2771 rm -rf conftest.dir 2772 mkdir conftest.dir 2773 echo GrepMe > conftest.dir/file 2774 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 2775 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 2776 ac_status=$? 2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2778 (exit $ac_status); } 2779 rm -rf conftest.dir 2780 if test -s conftest.tar; then 2781 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 2782 ($am__untar <conftest.tar) >&5 2>&5 2783 ac_status=$? 2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2785 (exit $ac_status); } 2786 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 2787 (cat conftest.dir/file) >&5 2>&5 2788 ac_status=$? 2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2790 (exit $ac_status); } 2791 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 2792 fi 2793 done 2794 rm -rf conftest.dir 2795 2796 if test ${am_cv_prog_tar_ustar+y} 2797 then : 2798 printf %s "(cached) " >&6 2799 else case e in #( 2800 e) am_cv_prog_tar_ustar=$_am_tool ;; 2801 esac 2802 fi 2803 2804 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 2805 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; } 2806 2807 2808 2809 2810 2811 # Variables for tags utilities; see am/tags.am 2812 if test -z "$CTAGS"; then 2813 CTAGS=ctags 2814 fi 2815 2816 if test -z "$ETAGS"; then 2817 ETAGS=etags 2818 fi 2819 2820 if test -z "$CSCOPE"; then 2821 CSCOPE=cscope 2822 fi 2823 2824 2825 2826 2827 2828 2829 2830 2831 # Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 2851 if test -n "$ac_tool_prefix"; then 2852 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 2853 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 2854 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2855 printf %s "checking for $ac_word... " >&6; } 2856 if test ${ac_cv_path_PKG_CONFIG+y} 2857 then : 2858 printf %s "(cached) " >&6 2859 else case e in #( 2860 e) case $PKG_CONFIG in 2861 [\\/]* | ?:[\\/]*) 2862 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 2863 ;; 2864 *) 2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2866 for as_dir in $PATH 2867 do 2868 IFS=$as_save_IFS 2869 case $as_dir in #((( 2870 '') as_dir=./ ;; 2871 */) ;; 2872 *) as_dir=$as_dir/ ;; 2873 esac 2874 for ac_exec_ext in '' $ac_executable_extensions; do 2875 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2876 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 2877 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2878 break 2 2879 fi 2880 done 2881 done 2882 IFS=$as_save_IFS 2883 2884 ;; 2885 esac ;; 2886 esac 2887 fi 2888 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 2889 if test -n "$PKG_CONFIG"; then 2890 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 2891 printf '%s\n' "$PKG_CONFIG" >&6; } 2892 else 2893 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 2894 printf '%s\n' "no" >&6; } 2895 fi 2896 2897 2898 fi 2899 if test -z "$ac_cv_path_PKG_CONFIG"; then 2900 ac_pt_PKG_CONFIG=$PKG_CONFIG 2901 # Extract the first word of "pkg-config", so it can be a program name with args. 2902 set dummy pkg-config; ac_word=$2 2903 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2904 printf %s "checking for $ac_word... " >&6; } 2905 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 2906 then : 2907 printf %s "(cached) " >&6 2908 else case e in #( 2909 e) case $ac_pt_PKG_CONFIG in 2910 [\\/]* | ?:[\\/]*) 2911 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 2912 ;; 2913 *) 2914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2915 for as_dir in $PATH 2916 do 2917 IFS=$as_save_IFS 2918 case $as_dir in #((( 2919 '') as_dir=./ ;; 2920 */) ;; 2921 *) as_dir=$as_dir/ ;; 2922 esac 2923 for ac_exec_ext in '' $ac_executable_extensions; do 2924 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2925 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 2926 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2927 break 2 2928 fi 2929 done 2930 done 2931 IFS=$as_save_IFS 2932 2933 ;; 2934 esac ;; 2935 esac 2936 fi 2937 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 2938 if test -n "$ac_pt_PKG_CONFIG"; then 2939 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 2940 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; } 2941 else 2942 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 2943 printf '%s\n' "no" >&6; } 2944 fi 2945 2946 if test "x$ac_pt_PKG_CONFIG" = x; then 2947 PKG_CONFIG="" 2948 else 2949 case $cross_compiling:$ac_tool_warned in 2950 yes:) 2951 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2952 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2953 ac_tool_warned=yes ;; 2954 esac 2955 PKG_CONFIG=$ac_pt_PKG_CONFIG 2956 fi 2957 else 2958 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 2959 fi 2960 2961 fi 2962 if test -n "$PKG_CONFIG"; then 2963 _pkg_min_version=0.9.0 2964 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 2965 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 2966 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 2967 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2968 printf '%s\n' "yes" >&6; } 2969 else 2970 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 2971 printf '%s\n' "no" >&6; } 2972 PKG_CONFIG="" 2973 fi 2974 fi 2975 2976 2977 # Make sure we can run config.sub. 2978 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 2979 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 2980 2981 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2982 printf %s "checking build system type... " >&6; } 2983 if test ${ac_cv_build+y} 2984 then : 2985 printf %s "(cached) " >&6 2986 else case e in #( 2987 e) ac_build_alias=$build_alias 2988 test "x$ac_build_alias" = x && 2989 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 2990 test "x$ac_build_alias" = x && 2991 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2992 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 2993 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 2994 ;; 2995 esac 2996 fi 2997 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2998 printf '%s\n' "$ac_cv_build" >&6; } 2999 case $ac_cv_build in 3000 *-*-*) ;; 3001 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3002 esac 3003 build=$ac_cv_build 3004 ac_save_IFS=$IFS; IFS='-' 3005 set x $ac_cv_build 3006 shift 3007 build_cpu=$1 3008 build_vendor=$2 3009 shift; shift 3010 # Remember, the first character of IFS is used to create $*, 3011 # except with old shells: 3012 build_os=$* 3013 IFS=$ac_save_IFS 3014 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac 3015 3016 3017 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3018 printf %s "checking host system type... " >&6; } 3019 if test ${ac_cv_host+y} 3020 then : 3021 printf %s "(cached) " >&6 3022 else case e in #( 3023 e) if test "x$host_alias" = x; then 3024 ac_cv_host=$ac_cv_build 3025 else 3026 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 3027 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 3028 fi 3029 ;; 3030 esac 3031 fi 3032 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3033 printf '%s\n' "$ac_cv_host" >&6; } 3034 case $ac_cv_host in 3035 *-*-*) ;; 3036 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3037 esac 3038 host=$ac_cv_host 3039 ac_save_IFS=$IFS; IFS='-' 3040 set x $ac_cv_host 3041 shift 3042 host_cpu=$1 3043 host_vendor=$2 3044 shift; shift 3045 # Remember, the first character of IFS is used to create $*, 3046 # except with old shells: 3047 host_os=$* 3048 IFS=$ac_save_IFS 3049 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac 3050 3051 3052 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 3053 printf %s "checking for a sed that does not truncate output... " >&6; } 3054 if test ${ac_cv_path_SED+y} 3055 then : 3056 printf %s "(cached) " >&6 3057 else case e in #( 3058 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3059 for ac_i in 1 2 3 4 5 6 7; do 3060 ac_script="$ac_script$as_nl$ac_script" 3061 done 3062 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 3063 { ac_script=; unset ac_script;} 3064 if test -z "$SED"; then 3065 ac_path_SED_found=false 3066 # Loop through the user's path and test for each of PROGNAME-LIST 3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3068 for as_dir in $PATH 3069 do 3070 IFS=$as_save_IFS 3071 case $as_dir in #((( 3072 '') as_dir=./ ;; 3073 */) ;; 3074 *) as_dir=$as_dir/ ;; 3075 esac 3076 for ac_prog in sed gsed 3077 do 3078 for ac_exec_ext in '' $ac_executable_extensions; do 3079 ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 3080 as_fn_executable_p "$ac_path_SED" || continue 3081 # Check for GNU ac_path_SED and select it if it is found. 3082 # Check for GNU $ac_path_SED 3083 case `"$ac_path_SED" --version 2>&1` in #( 3084 *GNU*) 3085 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3086 #( 3087 *) 3088 ac_count=0 3089 printf %s 0123456789 >"conftest.in" 3090 while : 3091 do 3092 cat "conftest.in" "conftest.in" >"conftest.tmp" 3093 mv "conftest.tmp" "conftest.in" 3094 cp "conftest.in" "conftest.nl" 3095 printf '%s\n' '' >> "conftest.nl" 3096 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3097 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3098 as_fn_arith $ac_count + 1 && ac_count=$as_val 3099 if test $ac_count -gt ${ac_path_SED_max-0}; then 3100 # Best one so far, save it but keep looking for a better one 3101 ac_cv_path_SED="$ac_path_SED" 3102 ac_path_SED_max=$ac_count 3103 fi 3104 # 10*(2^10) chars as input seems more than enough 3105 test $ac_count -gt 10 && break 3106 done 3107 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3108 esac 3109 3110 $ac_path_SED_found && break 3 3111 done 3112 done 3113 done 3114 IFS=$as_save_IFS 3115 if test -z "$ac_cv_path_SED"; then 3116 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 3117 fi 3118 else 3119 ac_cv_path_SED=$SED 3120 fi 3121 ;; 3122 esac 3123 fi 3124 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 3125 printf '%s\n' "$ac_cv_path_SED" >&6; } 3126 SED="$ac_cv_path_SED" 3127 rm -f conftest.sed 3128 3129 3130 3131 3132 3133 cat >>confdefs.h <<_ACEOF 3134 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 3135 _ACEOF 3136 3137 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 3138 if test "x$PVM" = "x"; then 3139 PVM="0" 3140 fi 3141 3142 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 3143 3144 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 3145 if test "x$PVP" = "x"; then 3146 PVP="0" 3147 fi 3148 3149 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 3150 3151 3152 3153 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 3154 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 3155 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 3156 touch \$(top_srcdir)/ChangeLog; \ 3157 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 3158 3159 3160 3161 3162 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 3163 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 3164 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 3165 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \ 3166 touch \$(top_srcdir)/INSTALL; \ 3167 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))" 3168 3169 3170 3171 3172 3173 3174 case $host_os in 3175 solaris*) 3176 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 3177 # check for a man page file found in later versions that use 3178 # traditional section numbers instead 3179 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 3180 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 3181 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 3182 then : 3183 printf %s "(cached) " >&6 3184 else case e in #( 3185 e) test "$cross_compiling" = yes && 3186 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 3187 if test -r "/usr/share/man/man7/attributes.7"; then 3188 ac_cv_file__usr_share_man_man7_attributes_7=yes 3189 else 3190 ac_cv_file__usr_share_man_man7_attributes_7=no 3191 fi ;; 3192 esac 3193 fi 3194 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 3195 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 3196 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 3197 then : 3198 SYSV_MAN_SECTIONS=false 3199 else case e in #( 3200 e) SYSV_MAN_SECTIONS=true ;; 3201 esac 3202 fi 3203 3204 ;; 3205 *) SYSV_MAN_SECTIONS=false ;; 3206 esac 3207 3208 if test x$APP_MAN_SUFFIX = x ; then 3209 APP_MAN_SUFFIX=1 3210 fi 3211 if test x$APP_MAN_DIR = x ; then 3212 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 3213 fi 3214 3215 if test x$LIB_MAN_SUFFIX = x ; then 3216 LIB_MAN_SUFFIX=3 3217 fi 3218 if test x$LIB_MAN_DIR = x ; then 3219 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 3220 fi 3221 3222 if test x$FILE_MAN_SUFFIX = x ; then 3223 case $SYSV_MAN_SECTIONS in 3224 true) FILE_MAN_SUFFIX=4 ;; 3225 *) FILE_MAN_SUFFIX=5 ;; 3226 esac 3227 fi 3228 if test x$FILE_MAN_DIR = x ; then 3229 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 3230 fi 3231 3232 if test x$MISC_MAN_SUFFIX = x ; then 3233 case $SYSV_MAN_SECTIONS in 3234 true) MISC_MAN_SUFFIX=5 ;; 3235 *) MISC_MAN_SUFFIX=7 ;; 3236 esac 3237 fi 3238 if test x$MISC_MAN_DIR = x ; then 3239 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 3240 fi 3241 3242 if test x$DRIVER_MAN_SUFFIX = x ; then 3243 case $SYSV_MAN_SECTIONS in 3244 true) DRIVER_MAN_SUFFIX=7 ;; 3245 *) DRIVER_MAN_SUFFIX=4 ;; 3246 esac 3247 fi 3248 if test x$DRIVER_MAN_DIR = x ; then 3249 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 3250 fi 3251 3252 if test x$ADMIN_MAN_SUFFIX = x ; then 3253 case $SYSV_MAN_SECTIONS in 3254 true) ADMIN_MAN_SUFFIX=1m ;; 3255 *) ADMIN_MAN_SUFFIX=8 ;; 3256 esac 3257 fi 3258 if test x$ADMIN_MAN_DIR = x ; then 3259 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 3260 fi 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 XORG_MAN_PAGE="X Version 11" 3277 3278 MAN_SUBSTS="\ 3279 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 3280 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 3281 -e 's|__xservername__|Xorg|g' \ 3282 -e 's|__xconfigfile__|xorg.conf|g' \ 3283 -e 's|__projectroot__|\$(prefix)|g' \ 3284 -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 3285 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 3286 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 3287 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 3288 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 3289 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 3290 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 3291 3292 3293 3294 3295 AM_DEFAULT_VERBOSITY=0 3296 3297 3298 3299 3300 ac_config_files="$ac_config_files Makefile xbitmaps.pc" 3301 3302 cat >confcache <<\_ACEOF 3303 # This file is a shell script that caches the results of configure 3304 # tests run on this system so they can be shared between configure 3305 # scripts and configure runs, see configure's option --config-cache. 3306 # It is not useful on other systems. If it contains results you don't 3307 # want to keep, you may remove or edit it. 3308 # 3309 # config.status only pays attention to the cache file if you give it 3310 # the --recheck option to rerun configure. 3311 # 3312 # 'ac_cv_env_foo' variables (set or unset) will be overridden when 3313 # loading this file, other *unset* 'ac_cv_foo' will be assigned the 3314 # following values. 3315 3316 _ACEOF 3317 3318 ac_cache_dump | 3319 sed ' 3320 /^ac_cv_env_/b end 3321 t clear 3322 :clear 3323 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 3324 t end 3325 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3326 :end' >>confcache 3327 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3328 if test -w "$cache_file"; then 3329 if test "x$cache_file" != "x/dev/null"; then 3330 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3331 printf '%s\n' "$as_me: updating cache $cache_file" >&6;} 3332 if test ! -f "$cache_file" || test -h "$cache_file"; then 3333 cat confcache >"$cache_file" 3334 else 3335 case $cache_file in #( 3336 */* | ?:*) 3337 mv -f confcache "$cache_file"$$ && 3338 mv -f "$cache_file"$$ "$cache_file" ;; #( 3339 *) 3340 mv -f confcache "$cache_file" ;; 3341 esac 3342 fi 3343 fi 3344 else 3345 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3346 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;} 3347 fi 3348 fi 3349 rm -f confcache 3350 3351 test "x$prefix" = xNONE && prefix=$ac_default_prefix 3352 # Let make expand exec_prefix. 3353 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3354 3355 DEFS=-DHAVE_CONFIG_H 3356 3357 ac_libobjs= 3358 ac_ltlibobjs= 3359 U= 3360 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3361 # 1. Remove the extension, and $U if already installed. 3362 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3363 ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"` 3364 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3365 # will be set to the directory where LIBOBJS objects are built. 3366 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3367 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3368 done 3369 LIBOBJS=$ac_libobjs 3370 3371 LTLIBOBJS=$ac_ltlibobjs 3372 3373 3374 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 3375 printf %s "checking that generated files are newer than configure... " >&6; } 3376 if test -n "$am_sleep_pid"; then 3377 # Hide warnings about reused PIDs. 3378 wait $am_sleep_pid 2>/dev/null 3379 fi 3380 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5 3381 printf '%s\n' "done" >&6; } 3382 case $enable_silent_rules in # ((( 3383 yes) AM_DEFAULT_VERBOSITY=0;; 3384 no) AM_DEFAULT_VERBOSITY=1;; 3385 esac 3386 if test $am_cv_make_support_nested_variables = yes; then 3387 AM_V='$(V)' 3388 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3389 else 3390 AM_V=$AM_DEFAULT_VERBOSITY 3391 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3392 fi 3393 3394 3395 3396 : "${CONFIG_STATUS=./config.status}" 3397 case $CONFIG_STATUS in #( 3398 -*) : 3399 CONFIG_STATUS=./$CONFIG_STATUS ;; #( 3400 */*) : 3401 ;; #( 3402 *) : 3403 CONFIG_STATUS=./$CONFIG_STATUS ;; 3404 esac 3405 3406 ac_write_fail=0 3407 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"' 3408 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3409 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;} 3410 as_write_fail=0 3411 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1 3412 #! $SHELL 3413 # Generated by $as_me. 3414 # Run this file to recreate the current configuration. 3415 # Compiler output produced by configure, useful for debugging 3416 # configure, is in config.log if it exists. 3417 3418 debug=false 3419 ac_cs_recheck=false 3420 ac_cs_silent=false 3421 3422 SHELL=\${CONFIG_SHELL-$SHELL} 3423 export SHELL 3424 _ASEOF 3425 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1 3426 ## -------------------- ## 3427 ## M4sh Initialization. ## 3428 ## -------------------- ## 3429 3430 # Be more Bourne compatible 3431 DUALCASE=1; export DUALCASE # for MKS sh 3432 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 3433 then : 3434 emulate sh 3435 NULLCMD=: 3436 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3437 # contradicts POSIX and common usage. Disable this. 3438 alias -g '${1+"$@"}'='"$@"' 3439 setopt NO_GLOB_SUBST 3440 else case e in #( 3441 e) case `(set -o) 2>/dev/null` in #( 3442 *posix*) : 3443 set -o posix ;; #( 3444 *) : 3445 ;; 3446 esac ;; 3447 esac 3448 fi 3449 3450 3451 3452 # Reset variables that may have inherited troublesome values from 3453 # the environment. 3454 3455 # IFS needs to be set, to space, tab, and newline, in precisely that order. 3456 # (If _AS_PATH_WALK were called with IFS unset, it would have the 3457 # side effect of setting IFS to empty, thus disabling word splitting.) 3458 # Quoting is to prevent editors from complaining about space-tab. 3459 as_nl=' 3460 ' 3461 export as_nl 3462 IFS=" "" $as_nl" 3463 3464 PS1='$ ' 3465 PS2='> ' 3466 PS4='+ ' 3467 3468 # Ensure predictable behavior from utilities with locale-dependent output. 3469 LC_ALL=C 3470 export LC_ALL 3471 LANGUAGE=C 3472 export LANGUAGE 3473 3474 # We cannot yet rely on "unset" to work, but we need these variables 3475 # to be unset--not just set to an empty or harmless value--now, to 3476 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 3477 # also avoids known problems related to "unset" and subshell syntax 3478 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 3479 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 3480 do eval test \${$as_var+y} \ 3481 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3482 done 3483 3484 # Ensure that fds 0, 1, and 2 are open. 3485 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 3486 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 3487 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 3488 3489 # The user is always right. 3490 if ${PATH_SEPARATOR+false} :; then 3491 PATH_SEPARATOR=: 3492 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3493 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3494 PATH_SEPARATOR=';' 3495 } 3496 fi 3497 3498 3499 # Find who we are. Look in the path if we contain no directory separator. 3500 as_myself= 3501 case $0 in #(( 3502 *[\\/]* ) as_myself=$0 ;; 3503 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3504 for as_dir in $PATH 3505 do 3506 IFS=$as_save_IFS 3507 case $as_dir in #((( 3508 '') as_dir=./ ;; 3509 */) ;; 3510 *) as_dir=$as_dir/ ;; 3511 esac 3512 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 3513 done 3514 IFS=$as_save_IFS 3515 3516 ;; 3517 esac 3518 # We did not find ourselves, most probably we were run as 'sh COMMAND' 3519 # in which case we are not to be found in the path. 3520 if test "x$as_myself" = x; then 3521 as_myself=$0 3522 fi 3523 if test ! -f "$as_myself"; then 3524 printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3525 exit 1 3526 fi 3527 3528 3529 3530 # as_fn_error STATUS ERROR [LINENO LOG_FD] 3531 # ---------------------------------------- 3532 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3533 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3534 # script with STATUS, using 1 if that was 0. 3535 as_fn_error () 3536 { 3537 as_status=$1; test $as_status -eq 0 && as_status=1 3538 if test "$4"; then 3539 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3540 printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3541 fi 3542 printf '%s\n' "$as_me: error: $2" >&2 3543 as_fn_exit $as_status 3544 } # as_fn_error 3545 3546 3547 # as_fn_set_status STATUS 3548 # ----------------------- 3549 # Set $? to STATUS, without forking. 3550 as_fn_set_status () 3551 { 3552 return $1 3553 } # as_fn_set_status 3554 3555 # as_fn_exit STATUS 3556 # ----------------- 3557 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3558 as_fn_exit () 3559 { 3560 set +e 3561 as_fn_set_status $1 3562 exit $1 3563 } # as_fn_exit 3564 3565 # as_fn_unset VAR 3566 # --------------- 3567 # Portably unset VAR. 3568 as_fn_unset () 3569 { 3570 { eval $1=; unset $1;} 3571 } 3572 as_unset=as_fn_unset 3573 3574 # as_fn_append VAR VALUE 3575 # ---------------------- 3576 # Append the text in VALUE to the end of the definition contained in VAR. Take 3577 # advantage of any shell optimizations that allow amortized linear growth over 3578 # repeated appends, instead of the typical quadratic growth present in naive 3579 # implementations. 3580 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 3581 then : 3582 eval 'as_fn_append () 3583 { 3584 eval $1+=\$2 3585 }' 3586 else case e in #( 3587 e) as_fn_append () 3588 { 3589 eval $1=\$$1\$2 3590 } ;; 3591 esac 3592 fi # as_fn_append 3593 3594 # as_fn_arith ARG... 3595 # ------------------ 3596 # Perform arithmetic evaluation on the ARGs, and store the result in the 3597 # global $as_val. Take advantage of shells that can avoid forks. The arguments 3598 # must be portable across $(()) and expr. 3599 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 3600 then : 3601 eval 'as_fn_arith () 3602 { 3603 as_val=$(( $* )) 3604 }' 3605 else case e in #( 3606 e) as_fn_arith () 3607 { 3608 as_val=`expr "$@" || test $? -eq 1` 3609 } ;; 3610 esac 3611 fi # as_fn_arith 3612 3613 3614 if expr a : '\(a\)' >/dev/null 2>&1 && 3615 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3616 as_expr=expr 3617 else 3618 as_expr=false 3619 fi 3620 3621 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3622 as_basename=basename 3623 else 3624 as_basename=false 3625 fi 3626 3627 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3628 as_dirname=dirname 3629 else 3630 as_dirname=false 3631 fi 3632 3633 as_me=`$as_basename -- "$0" || 3634 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3635 X"$0" : 'X\(//\)$' \| \ 3636 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3637 printf '%s\n' X/"$0" | 3638 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3639 s//\1/ 3640 q 3641 } 3642 /^X\/\(\/\/\)$/{ 3643 s//\1/ 3644 q 3645 } 3646 /^X\/\(\/\).*/{ 3647 s//\1/ 3648 q 3649 } 3650 s/.*/./; q'` 3651 3652 # Avoid depending upon Character Ranges. 3653 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3654 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3655 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3656 as_cr_digits='0123456789' 3657 as_cr_alnum=$as_cr_Letters$as_cr_digits 3658 3659 rm -f conf$$ conf$$.exe conf$$.file 3660 if test -d conf$$.dir; then 3661 rm -f conf$$.dir/conf$$.file 3662 else 3663 rm -f conf$$.dir 3664 mkdir conf$$.dir 2>/dev/null 3665 fi 3666 if (echo >conf$$.file) 2>/dev/null; then 3667 if ln -s conf$$.file conf$$ 2>/dev/null; then 3668 as_ln_s='ln -s' 3669 # ... but there are two gotchas: 3670 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. 3671 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. 3672 # In both cases, we have to default to 'cp -pR'. 3673 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3674 as_ln_s='cp -pR' 3675 elif ln conf$$.file conf$$ 2>/dev/null; then 3676 as_ln_s=ln 3677 else 3678 as_ln_s='cp -pR' 3679 fi 3680 else 3681 as_ln_s='cp -pR' 3682 fi 3683 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3684 rmdir conf$$.dir 2>/dev/null 3685 3686 3687 # as_fn_mkdir_p 3688 # ------------- 3689 # Create "$as_dir" as a directory, including parents if necessary. 3690 as_fn_mkdir_p () 3691 { 3692 3693 case $as_dir in #( 3694 -*) as_dir=./$as_dir;; 3695 esac 3696 test -d "$as_dir" || eval $as_mkdir_p || { 3697 as_dirs= 3698 while :; do 3699 case $as_dir in #( 3700 *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3701 *) as_qdir=$as_dir;; 3702 esac 3703 as_dirs="'$as_qdir' $as_dirs" 3704 as_dir=`$as_dirname -- "$as_dir" || 3705 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3706 X"$as_dir" : 'X\(//\)[^/]' \| \ 3707 X"$as_dir" : 'X\(//\)$' \| \ 3708 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3709 printf '%s\n' X"$as_dir" | 3710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3711 s//\1/ 3712 q 3713 } 3714 /^X\(\/\/\)[^/].*/{ 3715 s//\1/ 3716 q 3717 } 3718 /^X\(\/\/\)$/{ 3719 s//\1/ 3720 q 3721 } 3722 /^X\(\/\).*/{ 3723 s//\1/ 3724 q 3725 } 3726 s/.*/./; q'` 3727 test -d "$as_dir" && break 3728 done 3729 test -z "$as_dirs" || eval "mkdir $as_dirs" 3730 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3731 3732 3733 } # as_fn_mkdir_p 3734 if mkdir -p . 2>/dev/null; then 3735 as_mkdir_p='mkdir -p "$as_dir"' 3736 else 3737 test -d ./-p && rmdir ./-p 3738 as_mkdir_p=false 3739 fi 3740 3741 3742 # as_fn_executable_p FILE 3743 # ----------------------- 3744 # Test if FILE is an executable regular file. 3745 as_fn_executable_p () 3746 { 3747 test -f "$1" && test -x "$1" 3748 } # as_fn_executable_p 3749 as_test_x='test -x' 3750 as_executable_p=as_fn_executable_p 3751 3752 # Sed expression to map a string onto a valid CPP name. 3753 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 3754 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated 3755 3756 # Sed expression to map a string onto a valid variable name. 3757 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 3758 as_tr_sh="eval sed '$as_sed_sh'" # deprecated 3759 3760 3761 exec 6>&1 3762 ## ------------------------------------- ## 3763 ## Main body of "$CONFIG_STATUS" script. ## 3764 ## ------------------------------------- ## 3765 _ASEOF 3766 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1 3767 3768 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 3769 # Save the log message, to keep $0 and so on meaningful, and to 3770 # report actual input values of CONFIG_FILES etc. instead of their 3771 # values after options handling. 3772 ac_log=" 3773 This file was extended by xbitmaps $as_me 1.1.4, which was 3774 generated by GNU Autoconf 2.73. Invocation command line was 3775 3776 CONFIG_FILES = $CONFIG_FILES 3777 CONFIG_HEADERS = $CONFIG_HEADERS 3778 CONFIG_LINKS = $CONFIG_LINKS 3779 CONFIG_COMMANDS = $CONFIG_COMMANDS 3780 $ $0 $@ 3781 3782 on `(hostname || uname -n) 2>/dev/null | sed 1q` 3783 " 3784 3785 _ACEOF 3786 3787 case $ac_config_files in *" 3788 "*) set x $ac_config_files; shift; ac_config_files=$*;; 3789 esac 3790 3791 case $ac_config_headers in *" 3792 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 3793 esac 3794 3795 3796 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 3797 # Files that config.status was made for. 3798 config_files="$ac_config_files" 3799 config_headers="$ac_config_headers" 3800 3801 _ACEOF 3802 3803 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 3804 ac_cs_usage="\ 3805 '$as_me' instantiates files and other configuration actions 3806 from templates according to the current configuration. Unless the files 3807 and actions are specified as TAGs, all are instantiated by default. 3808 3809 Usage: $0 [OPTION]... [TAG]... 3810 3811 -h, --help print this help, then exit 3812 -V, --version print version number and configuration settings, then exit 3813 --config print configuration, then exit 3814 -q, --quiet, --silent 3815 do not print progress messages 3816 -d, --debug don't remove temporary files 3817 --recheck update $as_me by reconfiguring in the same conditions 3818 --file=FILE[:TEMPLATE] 3819 instantiate the configuration file FILE 3820 --header=FILE[:TEMPLATE] 3821 instantiate the configuration header FILE 3822 3823 Configuration files: 3824 $config_files 3825 3826 Configuration headers: 3827 $config_headers 3828 3829 Report bugs to <https://gitlab.freedesktop.org/xorg/data/bitmaps/-/issues>." 3830 3831 _ACEOF 3832 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"` 3833 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 3834 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 3835 ac_cs_config='$ac_cs_config_escaped' 3836 ac_cs_version="\\ 3837 xbitmaps config.status 1.1.4 3838 configured by $0, generated by GNU Autoconf 2.73, 3839 with options \\"\$ac_cs_config\\" 3840 3841 Copyright (C) 2026 Free Software Foundation, Inc. 3842 This config.status script is free software; the Free Software Foundation 3843 gives unlimited permission to copy, distribute and modify it." 3844 3845 ac_pwd='$ac_pwd' 3846 srcdir='$srcdir' 3847 INSTALL='$INSTALL' 3848 MKDIR_P='$MKDIR_P' 3849 AWK='$AWK' 3850 test -n "\$AWK" || { 3851 awk '' </dev/null || 3852 as_fn_error \$? "try installing gawk" 3853 AWK=awk 3854 } 3855 _ACEOF 3856 3857 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 3858 # The default lists apply if the user does not specify any file. 3859 ac_need_defaults=: 3860 while test $# != 0 3861 do 3862 case $1 in 3863 --*=?*) 3864 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3865 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3866 ac_shift=: 3867 ;; 3868 --*=) 3869 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3870 ac_optarg= 3871 ac_shift=: 3872 ;; 3873 *) 3874 ac_option=$1 3875 ac_optarg=$2 3876 ac_shift=shift 3877 ;; 3878 esac 3879 3880 case $ac_option in 3881 # Handling of the options. 3882 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3883 ac_cs_recheck=: ;; 3884 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3885 printf '%s\n' "$ac_cs_version"; exit ;; 3886 --config | --confi | --conf | --con | --co | --c ) 3887 printf '%s\n' "$ac_cs_config"; exit ;; 3888 --debug | --debu | --deb | --de | --d | -d ) 3889 debug=: ;; 3890 --file | --fil | --fi | --f ) 3891 $ac_shift 3892 case $ac_optarg in 3893 *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3894 '') as_fn_error $? "missing file argument" ;; 3895 esac 3896 as_fn_append CONFIG_FILES " '$ac_optarg'" 3897 ac_need_defaults=false;; 3898 --header | --heade | --head | --hea ) 3899 $ac_shift 3900 case $ac_optarg in 3901 *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3902 esac 3903 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 3904 ac_need_defaults=false;; 3905 --he | --h) 3906 # Conflict between --help and --header 3907 as_fn_error $? "ambiguous option: '$1' 3908 Try '$0 --help' for more information.";; 3909 --help | --hel | -h ) 3910 printf '%s\n' "$ac_cs_usage"; exit ;; 3911 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3912 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3913 ac_cs_silent=: ;; 3914 3915 # This is an error. 3916 -*) as_fn_error $? "unrecognized option: '$1' 3917 Try '$0 --help' for more information." ;; 3918 3919 *) as_fn_append ac_config_targets " $1" 3920 ac_need_defaults=false ;; 3921 3922 esac 3923 shift 3924 done 3925 3926 ac_configure_extra_args= 3927 3928 if $ac_cs_silent; then 3929 exec 6>/dev/null 3930 ac_configure_extra_args="$ac_configure_extra_args --silent" 3931 fi 3932 3933 _ACEOF 3934 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 3935 if \$ac_cs_recheck; then 3936 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3937 shift 3938 \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6 3939 CONFIG_SHELL='$SHELL' 3940 export CONFIG_SHELL 3941 exec "\$@" 3942 fi 3943 3944 _ACEOF 3945 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 3946 exec 5>>config.log 3947 { 3948 echo 3949 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3950 ## Running $as_me. ## 3951 _ASBOX 3952 printf '%s\n' "$ac_log" 3953 } >&5 3954 3955 _ACEOF 3956 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 3957 _ACEOF 3958 3959 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 3960 3961 # Handling of arguments. 3962 for ac_config_target in $ac_config_targets 3963 do 3964 case $ac_config_target in 3965 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 3966 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3967 "xbitmaps.pc") CONFIG_FILES="$CONFIG_FILES xbitmaps.pc" ;; 3968 3969 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; 3970 esac 3971 done 3972 3973 3974 # If the user did not use the arguments to specify the items to instantiate, 3975 # then the envvar interface is used. Set only those that are not. 3976 # We use the long form for the default assignment because of an extremely 3977 # bizarre bug on SunOS 4.1.3. 3978 if $ac_need_defaults; then 3979 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 3980 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 3981 fi 3982 3983 # Have a temporary directory for convenience. Make it in the build tree 3984 # simply because there is no reason against having it here, and in addition, 3985 # creating and moving files from /tmp can sometimes cause problems. 3986 # Hook for its removal unless debugging. 3987 # Note that there is a small window in which the directory will not be cleaned: 3988 # after its creation but before its name has been assigned to '$tmp'. 3989 $debug || 3990 { 3991 tmp= ac_tmp= 3992 trap 'exit_status=$? 3993 : "${ac_tmp:=$tmp}" 3994 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 3995 ' 0 3996 trap 'as_fn_exit 1' 1 2 13 15 3997 } 3998 # Create a (secure) tmp directory for tmp files. 3999 4000 { 4001 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4002 test -d "$tmp" 4003 } || 4004 { 4005 tmp=./conf$$-$RANDOM 4006 (umask 077 && mkdir "$tmp") 4007 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4008 ac_tmp=$tmp 4009 4010 # Set up the scripts for CONFIG_FILES section. 4011 # No need to generate them if there are no CONFIG_FILES. 4012 # This happens for instance with './config.status config.h'. 4013 if test -n "$CONFIG_FILES"; then 4014 4015 4016 ac_cr=`echo X | tr X '\015'` 4017 # On cygwin, bash can eat \r inside `` if the user requested igncr. 4018 # But we know of no other shell where ac_cr would be empty at this 4019 # point, so we can use a bashism as a fallback. 4020 if test "x$ac_cr" = x; then 4021 eval ac_cr=\$\'\\r\' 4022 fi 4023 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4024 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4025 ac_cs_awk_cr='\\r' 4026 else 4027 ac_cs_awk_cr=$ac_cr 4028 fi 4029 4030 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4031 _ACEOF 4032 4033 4034 { 4035 echo "cat >conf$$subs.awk <<_ACEOF" && 4036 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4037 echo "_ACEOF" 4038 } >conf$$subs.sh || 4039 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4040 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='` 4041 ac_delim='%!_!# ' 4042 for ac_last_try in false false false false false :; do 4043 . ./conf$$subs.sh || 4044 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4045 4046 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='` 4047 if test $ac_delim_n = $ac_delim_num; then 4048 break 4049 elif $ac_last_try; then 4050 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4051 else 4052 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4053 fi 4054 done 4055 rm -f conf$$subs.sh 4056 4057 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 4058 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4059 _ACEOF 4060 sed -n ' 4061 h 4062 s/^/S["/; s/!.*/"]=/ 4063 p 4064 g 4065 s/^[^!]*!// 4066 :repl 4067 t repl 4068 s/'"$ac_delim"'$// 4069 t delim 4070 :nl 4071 h 4072 s/\(.\{148\}\)..*/\1/ 4073 t more1 4074 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4075 p 4076 n 4077 b repl 4078 :more1 4079 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4080 p 4081 g 4082 s/.\{148\}// 4083 t nl 4084 :delim 4085 h 4086 s/\(.\{148\}\)..*/\1/ 4087 t more2 4088 s/["\\]/\\&/g; s/^/"/; s/$/"/ 4089 p 4090 b 4091 :more2 4092 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4093 p 4094 g 4095 s/.\{148\}// 4096 t delim 4097 ' <conf$$subs.awk | sed ' 4098 /^[^""]/{ 4099 N 4100 s/\n// 4101 } 4102 ' >>"$CONFIG_STATUS" || ac_write_fail=1 4103 rm -f conf$$subs.awk 4104 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 4105 _ACAWK 4106 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4107 for (key in S) S_is_set[key] = 1 4108 FS = "" 4109 4110 } 4111 { 4112 line = $ 0 4113 nfields = split(line, field, "@") 4114 substed = 0 4115 len = length(field[1]) 4116 for (i = 2; i < nfields; i++) { 4117 key = field[i] 4118 keylen = length(key) 4119 if (S_is_set[key]) { 4120 value = S[key] 4121 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4122 len += length(value) + length(field[++i]) 4123 substed = 1 4124 } else 4125 len += 1 + keylen 4126 } 4127 4128 print line 4129 } 4130 4131 _ACAWK 4132 _ACEOF 4133 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 4134 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4135 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4136 else 4137 cat 4138 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4139 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4140 _ACEOF 4141 4142 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4143 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4144 # trailing colons and then remove the whole line if VPATH becomes empty 4145 # (actually we leave an empty line to preserve line numbers). 4146 if test "x$srcdir" = x.; then 4147 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4148 h 4149 s/// 4150 s/^/:/ 4151 s/[ ]*$/:/ 4152 s/:\$(srcdir):/:/g 4153 s/:\${srcdir}:/:/g 4154 s/:@srcdir@:/:/g 4155 s/^:*// 4156 s/:*$// 4157 x 4158 s/\(=[ ]*\).*/\1/ 4159 G 4160 s/\n// 4161 s/^[^=]*=[ ]*$// 4162 }' 4163 fi 4164 4165 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 4166 fi # test -n "$CONFIG_FILES" 4167 4168 # Set up the scripts for CONFIG_HEADERS section. 4169 # No need to generate them if there are no CONFIG_HEADERS. 4170 # This happens for instance with './config.status Makefile'. 4171 if test -n "$CONFIG_HEADERS"; then 4172 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 4173 BEGIN { 4174 _ACEOF 4175 4176 # Transform confdefs.h into an awk script 'defines.awk', embedded as 4177 # here-document in config.status, that substitutes the proper values into 4178 # config.h.in to produce config.h. 4179 4180 # Create a delimiter string that does not exist in confdefs.h, to ease 4181 # handling of long lines. 4182 ac_delim='%!_!# ' 4183 for ac_last_try in false false :; do 4184 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 4185 if test -z "$ac_tt"; then 4186 break 4187 elif $ac_last_try; then 4188 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 4189 else 4190 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4191 fi 4192 done 4193 4194 # For the awk script, D is an array of macro values keyed by name, 4195 # likewise P contains macro parameters if any. Preserve backslash 4196 # newline sequences. 4197 4198 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 4199 sed -n ' 4200 s/.\{148\}/&'"$ac_delim"'/g 4201 t rset 4202 :rset 4203 s/^[ ]*#[ ]*define[ ][ ]*/ / 4204 t def 4205 d 4206 :def 4207 s/\\$// 4208 t bsnl 4209 s/["\\]/\\&/g 4210 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 4211 D["\1"]=" \3"/p 4212 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 4213 d 4214 :bsnl 4215 s/["\\]/\\&/g 4216 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 4217 D["\1"]=" \3\\\\\\n"\\/p 4218 t cont 4219 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 4220 t cont 4221 d 4222 :cont 4223 n 4224 s/.\{148\}/&'"$ac_delim"'/g 4225 t clear 4226 :clear 4227 s/\\$// 4228 t bsnlc 4229 s/["\\]/\\&/g; s/^/"/; s/$/"/p 4230 d 4231 :bsnlc 4232 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 4233 b cont 4234 ' <confdefs.h | sed ' 4235 s/'"$ac_delim"'/"\\\ 4236 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1 4237 4238 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 4239 for (key in D) D_is_set[key] = 1 4240 FS = "" 4241 } 4242 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 4243 line = \$ 0 4244 split(line, arg, " ") 4245 if (arg[1] == "#") { 4246 defundef = arg[2] 4247 mac1 = arg[3] 4248 } else { 4249 defundef = substr(arg[1], 2) 4250 mac1 = arg[2] 4251 } 4252 split(mac1, mac2, "(") #) 4253 macro = mac2[1] 4254 prefix = substr(line, 1, index(line, defundef) - 1) 4255 if (D_is_set[macro]) { 4256 suffix = P[macro] D[macro] 4257 while (suffix ~ /[\t ]$/) { 4258 suffix = substr(suffix, 1, length(suffix) - 1) 4259 } 4260 # Preserve the white space surrounding the "#". 4261 print prefix "define", macro suffix 4262 next 4263 } else { 4264 # Replace #undef with comments. This is necessary, for example, 4265 # in the case of _POSIX_SOURCE, which is predefined and required 4266 # on some systems where configure will not decide to define it. 4267 if (defundef == "undef") { 4268 print "/*", prefix defundef, macro, "*/" 4269 next 4270 } 4271 } 4272 } 4273 { print } 4274 _ACAWK 4275 _ACEOF 4276 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 4277 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 4278 fi # test -n "$CONFIG_HEADERS" 4279 4280 4281 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 4282 shift 4283 for ac_tag 4284 do 4285 case $ac_tag in 4286 :[FHLC]) ac_mode=$ac_tag; continue;; 4287 esac 4288 case $ac_mode$ac_tag in 4289 :[FHL]*:*);; 4290 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;; 4291 :[FH]-) ac_tag=-:-;; 4292 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4293 esac 4294 ac_save_IFS=$IFS 4295 IFS=: 4296 set x $ac_tag 4297 IFS=$ac_save_IFS 4298 shift 4299 ac_file=$1 4300 shift 4301 4302 case $ac_mode in 4303 :L) ac_source=$1;; 4304 :[FH]) 4305 ac_file_inputs= 4306 for ac_f 4307 do 4308 case $ac_f in 4309 -) ac_f="$ac_tmp/stdin";; 4310 *) # Look for the file first in the build tree, then in the source tree 4311 # (if the path is not absolute). The absolute path cannot be DOS-style, 4312 # because $ac_f cannot contain ':'. 4313 test -f "$ac_f" || 4314 case $ac_f in 4315 [\\/$]*) false;; 4316 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4317 esac || 4318 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;; 4319 esac 4320 case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4321 as_fn_append ac_file_inputs " '$ac_f'" 4322 done 4323 4324 # Let's still pretend it is 'configure' which instantiates (i.e., don't 4325 # use $as_me), people would be surprised to read: 4326 # /* config.h. Generated by config.status. */ 4327 configure_input='Generated from '` 4328 printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4329 `' by configure.' 4330 if test x"$ac_file" != x-; then 4331 configure_input="$ac_file. $configure_input" 4332 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4333 printf '%s\n' "$as_me: creating $ac_file" >&6;} 4334 fi 4335 # Neutralize special characters interpreted by sed in replacement strings. 4336 case $configure_input in #( 4337 *\&* | *\|* | *\\* ) 4338 ac_sed_conf_input=`printf '%s\n' "$configure_input" | 4339 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4340 *) ac_sed_conf_input=$configure_input;; 4341 esac 4342 4343 case $ac_tag in 4344 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4345 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4346 esac 4347 ;; 4348 esac 4349 4350 ac_dir=`$as_dirname -- "$ac_file" || 4351 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4352 X"$ac_file" : 'X\(//\)[^/]' \| \ 4353 X"$ac_file" : 'X\(//\)$' \| \ 4354 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4355 printf '%s\n' X"$ac_file" | 4356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4357 s//\1/ 4358 q 4359 } 4360 /^X\(\/\/\)[^/].*/{ 4361 s//\1/ 4362 q 4363 } 4364 /^X\(\/\/\)$/{ 4365 s//\1/ 4366 q 4367 } 4368 /^X\(\/\).*/{ 4369 s//\1/ 4370 q 4371 } 4372 s/.*/./; q'` 4373 as_dir="$ac_dir"; as_fn_mkdir_p 4374 ac_builddir=. 4375 4376 case "$ac_dir" in 4377 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4378 *) 4379 ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'` 4380 # A ".." for each directory in $ac_dir_suffix. 4381 ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4382 case $ac_top_builddir_sub in 4383 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4384 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4385 esac ;; 4386 esac 4387 ac_abs_top_builddir=$ac_pwd 4388 ac_abs_builddir=$ac_pwd$ac_dir_suffix 4389 # for backward compatibility: 4390 ac_top_builddir=$ac_top_build_prefix 4391 4392 case $srcdir in 4393 .) # We are building in place. 4394 ac_srcdir=. 4395 ac_top_srcdir=$ac_top_builddir_sub 4396 ac_abs_top_srcdir=$ac_pwd ;; 4397 [\\/]* | ?:[\\/]* ) # Absolute name. 4398 ac_srcdir=$srcdir$ac_dir_suffix; 4399 ac_top_srcdir=$srcdir 4400 ac_abs_top_srcdir=$srcdir ;; 4401 *) # Relative name. 4402 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4403 ac_top_srcdir=$ac_top_build_prefix$srcdir 4404 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4405 esac 4406 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4407 4408 4409 case $ac_mode in 4410 :F) 4411 # 4412 # CONFIG_FILE 4413 # 4414 4415 case $INSTALL in 4416 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4417 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4418 esac 4419 ac_MKDIR_P=$MKDIR_P 4420 case $MKDIR_P in 4421 [\\/$]* | ?:[\\/]* ) ;; 4422 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 4423 esac 4424 _ACEOF 4425 4426 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 4427 # If the template does not know about datarootdir, expand it. 4428 # FIXME: This hack should be removed a few years after 2.60. 4429 ac_datarootdir_hack=; ac_datarootdir_seen= 4430 ac_sed_dataroot=' 4431 /datarootdir/ { 4432 p 4433 q 4434 } 4435 /@datadir@/p 4436 /@docdir@/p 4437 /@infodir@/p 4438 /@localedir@/p 4439 /@mandir@/p' 4440 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4441 *datarootdir*) ac_datarootdir_seen=yes;; 4442 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4443 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4444 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4445 _ACEOF 4446 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 4447 ac_datarootdir_hack=' 4448 s&@datadir@&$datadir&g 4449 s&@docdir@&$docdir&g 4450 s&@infodir@&$infodir&g 4451 s&@localedir@&$localedir&g 4452 s&@mandir@&$mandir&g 4453 s&\\\${datarootdir}&$datarootdir&g' ;; 4454 esac 4455 _ACEOF 4456 4457 # Neutralize VPATH when '$srcdir' = '.'. 4458 # Shell code in configure.ac might set extrasub. 4459 # FIXME: do we really want to maintain this feature? 4460 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 4461 ac_sed_extra="$ac_vpsub 4462 $extrasub 4463 _ACEOF 4464 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 4465 :t 4466 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4467 s|@configure_input@|$ac_sed_conf_input|;t t 4468 s&@top_builddir@&$ac_top_builddir_sub&;t t 4469 s&@top_build_prefix@&$ac_top_build_prefix&;t t 4470 s&@srcdir@&$ac_srcdir&;t t 4471 s&@abs_srcdir@&$ac_abs_srcdir&;t t 4472 s&@top_srcdir@&$ac_top_srcdir&;t t 4473 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4474 s&@builddir@&$ac_builddir&;t t 4475 s&@abs_builddir@&$ac_abs_builddir&;t t 4476 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4477 s&@INSTALL@&$ac_INSTALL&;t t 4478 s&@MKDIR_P@&$ac_MKDIR_P&;t t 4479 $ac_datarootdir_hack 4480 " 4481 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4482 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4483 4484 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4485 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4486 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4487 "$ac_tmp/out"`; test -z "$ac_out"; } && 4488 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir' 4489 which seems to be undefined. Please make sure it is defined" >&5 4490 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir' 4491 which seems to be undefined. Please make sure it is defined" >&2;} 4492 4493 rm -f "$ac_tmp/stdin" 4494 case $ac_file in 4495 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 4496 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4497 esac \ 4498 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4499 ;; 4500 :H) 4501 # 4502 # CONFIG_HEADER 4503 # 4504 if test x"$ac_file" != x-; then 4505 { 4506 printf '%s\n' "/* $configure_input */" >&1 \ 4507 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 4508 } >"$ac_tmp/config.h" \ 4509 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4510 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 4511 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 4512 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;} 4513 else 4514 rm -f "$ac_file" 4515 mv "$ac_tmp/config.h" "$ac_file" \ 4516 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4517 fi 4518 else 4519 printf '%s\n' "/* $configure_input */" >&1 \ 4520 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 4521 || as_fn_error $? "could not create -" "$LINENO" 5 4522 fi 4523 # Compute "$ac_file"'s index in $config_headers. 4524 _am_arg="$ac_file" 4525 _am_stamp_count=1 4526 for _am_header in $config_headers :; do 4527 case $_am_header in 4528 $_am_arg | $_am_arg:* ) 4529 break ;; 4530 * ) 4531 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 4532 esac 4533 done 4534 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 4535 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4536 X"$_am_arg" : 'X\(//\)[^/]' \| \ 4537 X"$_am_arg" : 'X\(//\)$' \| \ 4538 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 4539 printf '%s\n' X"$_am_arg" | 4540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4541 s//\1/ 4542 q 4543 } 4544 /^X\(\/\/\)[^/].*/{ 4545 s//\1/ 4546 q 4547 } 4548 /^X\(\/\/\)$/{ 4549 s//\1/ 4550 q 4551 } 4552 /^X\(\/\).*/{ 4553 s//\1/ 4554 q 4555 } 4556 s/.*/./; q'`/stamp-h$_am_stamp_count 4557 ;; 4558 4559 4560 esac 4561 4562 done # for ac_tag 4563 4564 4565 as_fn_exit 0 4566 _ACEOF 4567 ac_clean_CONFIG_STATUS= 4568 4569 test $ac_write_fail = 0 || 4570 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4571 4572 4573 # configure is writing to config.log, and then calls config.status. 4574 # config.status does its own redirection, appending to config.log. 4575 # Unfortunately, on DOS this fails, as config.log is still kept open 4576 # by configure, so config.status won't be able to write to it; its 4577 # output is simply discarded. So we exec the FD to /dev/null, 4578 # effectively closing config.log, so it can be properly (re)opened and 4579 # appended to by config.status. When coming back to configure, we 4580 # need to make the FD available again. 4581 if test "$no_create" != yes; then 4582 ac_cs_success=: 4583 case $CONFIG_STATUS in #( 4584 -*) : 4585 ac_no_opts=-- ;; #( 4586 *) : 4587 ac_no_opts= ;; 4588 esac 4589 ac_config_status_args= 4590 test "$silent" = yes && 4591 ac_config_status_args="$ac_config_status_args --quiet" 4592 exec 5>/dev/null 4593 $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args || 4594 ac_cs_success=false 4595 exec 5>>config.log 4596 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4597 # would make configure fail if this is the last instruction. 4598 $ac_cs_success || as_fn_exit 1 4599 fi 4600 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4601 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4602 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4603 fi 4604 4605 4606