1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.68 for EvIEExt 1.1.1. 4 # 5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6 # 7 # 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 13 # This configure script is free software; the Free Software Foundation 14 # gives unlimited permission to copy, distribute and modify it. 15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 18 19 # Be more Bourne compatible 20 DUALCASE=1; export DUALCASE # for MKS sh 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28 else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34 esac 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54 else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74 fi 75 76 # The user is always right. 77 if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83 fi 84 85 86 # IFS 87 # We need space, tab and new line, in precisely that order. Quoting is 88 # there to prevent editors from complaining about space-tab. 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 90 # splitting by setting IFS to empty value.) 91 IFS=" "" $as_nl" 92 93 # Find who we are. Look in the path if we contain no directory separator. 94 as_myself= 95 case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98 for as_dir in $PATH 99 do 100 IFS=$as_save_IFS 101 test -z "$as_dir" && as_dir=. 102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 104 IFS=$as_save_IFS 105 106 ;; 107 esac 108 # We did not find ourselves, most probably we were run as `sh COMMAND' 109 # in which case we are not to be found in the path. 110 if test "x$as_myself" = x; then 111 as_myself=$0 112 fi 113 if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125 done 126 PS1='$ ' 127 PS2='> ' 128 PS4='+ ' 129 130 # NLS nuisances. 131 LC_ALL=C 132 export LC_ALL 133 LANGUAGE=C 134 export LANGUAGE 135 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147 else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153 esac 154 fi 155 " 156 as_required="as_fn_return () { (exit \$1); } 157 as_fn_success () { as_fn_return 0; } 158 as_fn_failure () { as_fn_return 1; } 159 as_fn_ret_success () { return 0; } 160 as_fn_ret_failure () { return 1; } 161 162 exitcode=0 163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169 else 170 exitcode=1; echo positional parameters were not saved. 171 fi 172 test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180 else 181 as_have_required=no 182 fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185 else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187 as_found=false 188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189 do 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203 fi 204 fi 205 done;; 206 esac 207 as_found=false 208 done 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212 fi; } 213 IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232 fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf (at] gnu.org and 242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 243 $0: about your system, including any error possibly output 244 $0: before this message. Then install a modern shell, or 245 $0: manually run the script under such a shell if you do 246 $0: have one." 247 fi 248 exit 1 249 fi 250 fi 251 fi 252 SHELL=${CONFIG_SHELL-/bin/sh} 253 export SHELL 254 # Unset more variables known to interfere with behavior of common tools. 255 CLICOLOR_FORCE= GREP_OPTIONS= 256 unset CLICOLOR_FORCE GREP_OPTIONS 257 258 ## --------------------- ## 259 ## M4sh Shell Functions. ## 260 ## --------------------- ## 261 # as_fn_unset VAR 262 # --------------- 263 # Portably unset VAR. 264 as_fn_unset () 265 { 266 { eval $1=; unset $1;} 267 } 268 as_unset=as_fn_unset 269 270 # as_fn_set_status STATUS 271 # ----------------------- 272 # Set $? to STATUS, without forking. 273 as_fn_set_status () 274 { 275 return $1 276 } # as_fn_set_status 277 278 # as_fn_exit STATUS 279 # ----------------- 280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 281 as_fn_exit () 282 { 283 set +e 284 as_fn_set_status $1 285 exit $1 286 } # as_fn_exit 287 288 # as_fn_mkdir_p 289 # ------------- 290 # Create "$as_dir" as a directory, including parents if necessary. 291 as_fn_mkdir_p () 292 { 293 294 case $as_dir in #( 295 -*) as_dir=./$as_dir;; 296 esac 297 test -d "$as_dir" || eval $as_mkdir_p || { 298 as_dirs= 299 while :; do 300 case $as_dir in #( 301 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 302 *) as_qdir=$as_dir;; 303 esac 304 as_dirs="'$as_qdir' $as_dirs" 305 as_dir=`$as_dirname -- "$as_dir" || 306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 307 X"$as_dir" : 'X\(//\)[^/]' \| \ 308 X"$as_dir" : 'X\(//\)$' \| \ 309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 310 $as_echo X"$as_dir" | 311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 312 s//\1/ 313 q 314 } 315 /^X\(\/\/\)[^/].*/{ 316 s//\1/ 317 q 318 } 319 /^X\(\/\/\)$/{ 320 s//\1/ 321 q 322 } 323 /^X\(\/\).*/{ 324 s//\1/ 325 q 326 } 327 s/.*/./; q'` 328 test -d "$as_dir" && break 329 done 330 test -z "$as_dirs" || eval "mkdir $as_dirs" 331 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 332 333 334 } # as_fn_mkdir_p 335 # as_fn_append VAR VALUE 336 # ---------------------- 337 # Append the text in VALUE to the end of the definition contained in VAR. Take 338 # advantage of any shell optimizations that allow amortized linear growth over 339 # repeated appends, instead of the typical quadratic growth present in naive 340 # implementations. 341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 342 eval 'as_fn_append () 343 { 344 eval $1+=\$2 345 }' 346 else 347 as_fn_append () 348 { 349 eval $1=\$$1\$2 350 } 351 fi # as_fn_append 352 353 # as_fn_arith ARG... 354 # ------------------ 355 # Perform arithmetic evaluation on the ARGs, and store the result in the 356 # global $as_val. Take advantage of shells that can avoid forks. The arguments 357 # must be portable across $(()) and expr. 358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 359 eval 'as_fn_arith () 360 { 361 as_val=$(( $* )) 362 }' 363 else 364 as_fn_arith () 365 { 366 as_val=`expr "$@" || test $? -eq 1` 367 } 368 fi # as_fn_arith 369 370 371 # as_fn_error STATUS ERROR [LINENO LOG_FD] 372 # ---------------------------------------- 373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 375 # script with STATUS, using 1 if that was 0. 376 as_fn_error () 377 { 378 as_status=$1; test $as_status -eq 0 && as_status=1 379 if test "$4"; then 380 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 381 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 382 fi 383 $as_echo "$as_me: error: $2" >&2 384 as_fn_exit $as_status 385 } # as_fn_error 386 387 if expr a : '\(a\)' >/dev/null 2>&1 && 388 test "X`expr 00001 : '.*\(...\)'`" = X001; then 389 as_expr=expr 390 else 391 as_expr=false 392 fi 393 394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 395 as_basename=basename 396 else 397 as_basename=false 398 fi 399 400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 401 as_dirname=dirname 402 else 403 as_dirname=false 404 fi 405 406 as_me=`$as_basename -- "$0" || 407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 408 X"$0" : 'X\(//\)$' \| \ 409 X"$0" : 'X\(/\)' \| . 2>/dev/null || 410 $as_echo X/"$0" | 411 sed '/^.*\/\([^/][^/]*\)\/*$/{ 412 s//\1/ 413 q 414 } 415 /^X\/\(\/\/\)$/{ 416 s//\1/ 417 q 418 } 419 /^X\/\(\/\).*/{ 420 s//\1/ 421 q 422 } 423 s/.*/./; q'` 424 425 # Avoid depending upon Character Ranges. 426 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 429 as_cr_digits='0123456789' 430 as_cr_alnum=$as_cr_Letters$as_cr_digits 431 432 433 as_lineno_1=$LINENO as_lineno_1a=$LINENO 434 as_lineno_2=$LINENO as_lineno_2a=$LINENO 435 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 436 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 437 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 447 N 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450 t loop 451 s/-\n.*// 452 ' >$as_me.lineno && 453 chmod +x "$as_me.lineno" || 454 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 455 456 # Don't try to exec as it changes $[0], causing all sort of problems 457 # (the dirname of $[0] is not the place where we might find the 458 # original and so on. Autoconf is especially sensitive to this). 459 . "./$as_me.lineno" 460 # Exit status is that of the last command. 461 exit 462 } 463 464 ECHO_C= ECHO_N= ECHO_T= 465 case `echo -n x` in #((((( 466 -n*) 467 case `echo 'xy\c'` in 468 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 469 xy) ECHO_C='\c';; 470 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 471 ECHO_T=' ';; 472 esac;; 473 *) 474 ECHO_N='-n';; 475 esac 476 477 rm -f conf$$ conf$$.exe conf$$.file 478 if test -d conf$$.dir; then 479 rm -f conf$$.dir/conf$$.file 480 else 481 rm -f conf$$.dir 482 mkdir conf$$.dir 2>/dev/null 483 fi 484 if (echo >conf$$.file) 2>/dev/null; then 485 if ln -s conf$$.file conf$$ 2>/dev/null; then 486 as_ln_s='ln -s' 487 # ... but there are two gotchas: 488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 490 # In both cases, we have to default to `cp -p'. 491 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 492 as_ln_s='cp -p' 493 elif ln conf$$.file conf$$ 2>/dev/null; then 494 as_ln_s=ln 495 else 496 as_ln_s='cp -p' 497 fi 498 else 499 as_ln_s='cp -p' 500 fi 501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 502 rmdir conf$$.dir 2>/dev/null 503 504 if mkdir -p . 2>/dev/null; then 505 as_mkdir_p='mkdir -p "$as_dir"' 506 else 507 test -d ./-p && rmdir ./-p 508 as_mkdir_p=false 509 fi 510 511 if test -x / >/dev/null 2>&1; then 512 as_test_x='test -x' 513 else 514 if ls -dL / >/dev/null 2>&1; then 515 as_ls_L_option=L 516 else 517 as_ls_L_option= 518 fi 519 as_test_x=' 520 eval sh -c '\'' 521 if test -d "$1"; then 522 test -d "$1/."; 523 else 524 case $1 in #( 525 -*)set "./$1";; 526 esac; 527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 528 ???[sx]*):;;*)false;;esac;fi 529 '\'' sh 530 ' 531 fi 532 as_executable_p=$as_test_x 533 534 # Sed expression to map a string onto a valid CPP name. 535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 536 537 # Sed expression to map a string onto a valid variable name. 538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 539 540 541 test -n "$DJDIR" || exec 7<&0 </dev/null 542 exec 6>&1 543 544 # Name of the host. 545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 546 # so uname gets run too. 547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 548 549 # 550 # Initializations. 551 # 552 ac_default_prefix=/usr/local 553 ac_clean_files= 554 ac_config_libobj_dir=. 555 LIBOBJS= 556 cross_compiling=no 557 subdirs= 558 MFLAGS= 559 MAKEFLAGS= 560 561 # Identity of this package. 562 PACKAGE_NAME='EvIEExt' 563 PACKAGE_TARNAME='evieext' 564 PACKAGE_VERSION='1.1.1' 565 PACKAGE_STRING='EvIEExt 1.1.1' 566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 567 PACKAGE_URL='' 568 569 ac_unique_file="Makefile.am" 570 # Factoring default headers for most tests. 571 ac_includes_default="\ 572 #include <stdio.h> 573 #ifdef HAVE_SYS_TYPES_H 574 # include <sys/types.h> 575 #endif 576 #ifdef HAVE_SYS_STAT_H 577 # include <sys/stat.h> 578 #endif 579 #ifdef STDC_HEADERS 580 # include <stdlib.h> 581 # include <stddef.h> 582 #else 583 # ifdef HAVE_STDLIB_H 584 # include <stdlib.h> 585 # endif 586 #endif 587 #ifdef HAVE_STRING_H 588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 589 # include <memory.h> 590 # endif 591 # include <string.h> 592 #endif 593 #ifdef HAVE_STRINGS_H 594 # include <strings.h> 595 #endif 596 #ifdef HAVE_INTTYPES_H 597 # include <inttypes.h> 598 #endif 599 #ifdef HAVE_STDINT_H 600 # include <stdint.h> 601 #endif 602 #ifdef HAVE_UNISTD_H 603 # include <unistd.h> 604 #endif" 605 606 ac_subst_vars='am__EXEEXT_FALSE 607 am__EXEEXT_TRUE 608 LTLIBOBJS 609 LIBOBJS 610 AM_BACKSLASH 611 AM_DEFAULT_VERBOSITY 612 MAN_SUBSTS 613 XORG_MAN_PAGE 614 ADMIN_MAN_DIR 615 DRIVER_MAN_DIR 616 MISC_MAN_DIR 617 FILE_MAN_DIR 618 LIB_MAN_DIR 619 APP_MAN_DIR 620 ADMIN_MAN_SUFFIX 621 DRIVER_MAN_SUFFIX 622 MISC_MAN_SUFFIX 623 FILE_MAN_SUFFIX 624 LIB_MAN_SUFFIX 625 APP_MAN_SUFFIX 626 SED 627 host_os 628 host_vendor 629 host_cpu 630 host 631 build_os 632 build_vendor 633 build_cpu 634 build 635 INSTALL_CMD 636 PKG_CONFIG 637 CHANGELOG_CMD 638 CWARNFLAGS 639 EGREP 640 GREP 641 CPP 642 am__fastdepCC_FALSE 643 am__fastdepCC_TRUE 644 CCDEPMODE 645 AMDEPBACKSLASH 646 AMDEP_FALSE 647 AMDEP_TRUE 648 am__quote 649 am__include 650 DEPDIR 651 OBJEXT 652 EXEEXT 653 ac_ct_CC 654 CPPFLAGS 655 LDFLAGS 656 CFLAGS 657 CC 658 MAINT 659 MAINTAINER_MODE_FALSE 660 MAINTAINER_MODE_TRUE 661 am__untar 662 am__tar 663 AMTAR 664 am__leading_dot 665 SET_MAKE 666 AWK 667 mkdir_p 668 MKDIR_P 669 INSTALL_STRIP_PROGRAM 670 STRIP 671 install_sh 672 MAKEINFO 673 AUTOHEADER 674 AUTOMAKE 675 AUTOCONF 676 ACLOCAL 677 VERSION 678 PACKAGE 679 CYGPATH_W 680 am__isrc 681 INSTALL_DATA 682 INSTALL_SCRIPT 683 INSTALL_PROGRAM 684 target_alias 685 host_alias 686 build_alias 687 LIBS 688 ECHO_T 689 ECHO_N 690 ECHO_C 691 DEFS 692 mandir 693 localedir 694 libdir 695 psdir 696 pdfdir 697 dvidir 698 htmldir 699 infodir 700 docdir 701 oldincludedir 702 includedir 703 localstatedir 704 sharedstatedir 705 sysconfdir 706 datadir 707 datarootdir 708 libexecdir 709 sbindir 710 bindir 711 program_transform_name 712 prefix 713 exec_prefix 714 PACKAGE_URL 715 PACKAGE_BUGREPORT 716 PACKAGE_STRING 717 PACKAGE_VERSION 718 PACKAGE_TARNAME 719 PACKAGE_NAME 720 PATH_SEPARATOR 721 SHELL' 722 ac_subst_files='' 723 ac_user_opts=' 724 enable_option_checking 725 enable_maintainer_mode 726 enable_dependency_tracking 727 enable_strict_compilation 728 enable_silent_rules 729 ' 730 ac_precious_vars='build_alias 731 host_alias 732 target_alias 733 CC 734 CFLAGS 735 LDFLAGS 736 LIBS 737 CPPFLAGS 738 CPP 739 PKG_CONFIG' 740 741 742 # Initialize some variables set by options. 743 ac_init_help= 744 ac_init_version=false 745 ac_unrecognized_opts= 746 ac_unrecognized_sep= 747 # The variables have the same names as the options, with 748 # dashes changed to underlines. 749 cache_file=/dev/null 750 exec_prefix=NONE 751 no_create= 752 no_recursion= 753 prefix=NONE 754 program_prefix=NONE 755 program_suffix=NONE 756 program_transform_name=s,x,x, 757 silent= 758 site= 759 srcdir= 760 verbose= 761 x_includes=NONE 762 x_libraries=NONE 763 764 # Installation directory options. 765 # These are left unexpanded so users can "make install exec_prefix=/foo" 766 # and all the variables that are supposed to be based on exec_prefix 767 # by default will actually change. 768 # Use braces instead of parens because sh, perl, etc. also accept them. 769 # (The list follows the same order as the GNU Coding Standards.) 770 bindir='${exec_prefix}/bin' 771 sbindir='${exec_prefix}/sbin' 772 libexecdir='${exec_prefix}/libexec' 773 datarootdir='${prefix}/share' 774 datadir='${datarootdir}' 775 sysconfdir='${prefix}/etc' 776 sharedstatedir='${prefix}/com' 777 localstatedir='${prefix}/var' 778 includedir='${prefix}/include' 779 oldincludedir='/usr/include' 780 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 781 infodir='${datarootdir}/info' 782 htmldir='${docdir}' 783 dvidir='${docdir}' 784 pdfdir='${docdir}' 785 psdir='${docdir}' 786 libdir='${exec_prefix}/lib' 787 localedir='${datarootdir}/locale' 788 mandir='${datarootdir}/man' 789 790 ac_prev= 791 ac_dashdash= 792 for ac_option 793 do 794 # If the previous option needs an argument, assign it. 795 if test -n "$ac_prev"; then 796 eval $ac_prev=\$ac_option 797 ac_prev= 798 continue 799 fi 800 801 case $ac_option in 802 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 803 *=) ac_optarg= ;; 804 *) ac_optarg=yes ;; 805 esac 806 807 # Accept the important Cygnus configure options, so we can diagnose typos. 808 809 case $ac_dashdash$ac_option in 810 --) 811 ac_dashdash=yes ;; 812 813 -bindir | --bindir | --bindi | --bind | --bin | --bi) 814 ac_prev=bindir ;; 815 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 816 bindir=$ac_optarg ;; 817 818 -build | --build | --buil | --bui | --bu) 819 ac_prev=build_alias ;; 820 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 821 build_alias=$ac_optarg ;; 822 823 -cache-file | --cache-file | --cache-fil | --cache-fi \ 824 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 825 ac_prev=cache_file ;; 826 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 827 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 828 cache_file=$ac_optarg ;; 829 830 --config-cache | -C) 831 cache_file=config.cache ;; 832 833 -datadir | --datadir | --datadi | --datad) 834 ac_prev=datadir ;; 835 -datadir=* | --datadir=* | --datadi=* | --datad=*) 836 datadir=$ac_optarg ;; 837 838 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 839 | --dataroo | --dataro | --datar) 840 ac_prev=datarootdir ;; 841 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 842 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 843 datarootdir=$ac_optarg ;; 844 845 -disable-* | --disable-*) 846 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 847 # Reject names that are not valid shell variable names. 848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 849 as_fn_error $? "invalid feature name: $ac_useropt" 850 ac_useropt_orig=$ac_useropt 851 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 852 case $ac_user_opts in 853 *" 854 "enable_$ac_useropt" 855 "*) ;; 856 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 857 ac_unrecognized_sep=', ';; 858 esac 859 eval enable_$ac_useropt=no ;; 860 861 -docdir | --docdir | --docdi | --doc | --do) 862 ac_prev=docdir ;; 863 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 864 docdir=$ac_optarg ;; 865 866 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 867 ac_prev=dvidir ;; 868 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 869 dvidir=$ac_optarg ;; 870 871 -enable-* | --enable-*) 872 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 873 # Reject names that are not valid shell variable names. 874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 875 as_fn_error $? "invalid feature name: $ac_useropt" 876 ac_useropt_orig=$ac_useropt 877 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 878 case $ac_user_opts in 879 *" 880 "enable_$ac_useropt" 881 "*) ;; 882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 883 ac_unrecognized_sep=', ';; 884 esac 885 eval enable_$ac_useropt=\$ac_optarg ;; 886 887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 889 | --exec | --exe | --ex) 890 ac_prev=exec_prefix ;; 891 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 892 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 893 | --exec=* | --exe=* | --ex=*) 894 exec_prefix=$ac_optarg ;; 895 896 -gas | --gas | --ga | --g) 897 # Obsolete; use --with-gas. 898 with_gas=yes ;; 899 900 -help | --help | --hel | --he | -h) 901 ac_init_help=long ;; 902 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 903 ac_init_help=recursive ;; 904 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 905 ac_init_help=short ;; 906 907 -host | --host | --hos | --ho) 908 ac_prev=host_alias ;; 909 -host=* | --host=* | --hos=* | --ho=*) 910 host_alias=$ac_optarg ;; 911 912 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 913 ac_prev=htmldir ;; 914 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 915 | --ht=*) 916 htmldir=$ac_optarg ;; 917 918 -includedir | --includedir | --includedi | --included | --include \ 919 | --includ | --inclu | --incl | --inc) 920 ac_prev=includedir ;; 921 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 922 | --includ=* | --inclu=* | --incl=* | --inc=*) 923 includedir=$ac_optarg ;; 924 925 -infodir | --infodir | --infodi | --infod | --info | --inf) 926 ac_prev=infodir ;; 927 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 928 infodir=$ac_optarg ;; 929 930 -libdir | --libdir | --libdi | --libd) 931 ac_prev=libdir ;; 932 -libdir=* | --libdir=* | --libdi=* | --libd=*) 933 libdir=$ac_optarg ;; 934 935 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 936 | --libexe | --libex | --libe) 937 ac_prev=libexecdir ;; 938 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 939 | --libexe=* | --libex=* | --libe=*) 940 libexecdir=$ac_optarg ;; 941 942 -localedir | --localedir | --localedi | --localed | --locale) 943 ac_prev=localedir ;; 944 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 945 localedir=$ac_optarg ;; 946 947 -localstatedir | --localstatedir | --localstatedi | --localstated \ 948 | --localstate | --localstat | --localsta | --localst | --locals) 949 ac_prev=localstatedir ;; 950 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 951 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 952 localstatedir=$ac_optarg ;; 953 954 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 955 ac_prev=mandir ;; 956 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 957 mandir=$ac_optarg ;; 958 959 -nfp | --nfp | --nf) 960 # Obsolete; use --without-fp. 961 with_fp=no ;; 962 963 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 964 | --no-cr | --no-c | -n) 965 no_create=yes ;; 966 967 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 968 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 969 no_recursion=yes ;; 970 971 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 972 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 973 | --oldin | --oldi | --old | --ol | --o) 974 ac_prev=oldincludedir ;; 975 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 976 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 977 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 978 oldincludedir=$ac_optarg ;; 979 980 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 981 ac_prev=prefix ;; 982 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 983 prefix=$ac_optarg ;; 984 985 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 986 | --program-pre | --program-pr | --program-p) 987 ac_prev=program_prefix ;; 988 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 989 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 990 program_prefix=$ac_optarg ;; 991 992 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 993 | --program-suf | --program-su | --program-s) 994 ac_prev=program_suffix ;; 995 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 996 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 997 program_suffix=$ac_optarg ;; 998 999 -program-transform-name | --program-transform-name \ 1000 | --program-transform-nam | --program-transform-na \ 1001 | --program-transform-n | --program-transform- \ 1002 | --program-transform | --program-transfor \ 1003 | --program-transfo | --program-transf \ 1004 | --program-trans | --program-tran \ 1005 | --progr-tra | --program-tr | --program-t) 1006 ac_prev=program_transform_name ;; 1007 -program-transform-name=* | --program-transform-name=* \ 1008 | --program-transform-nam=* | --program-transform-na=* \ 1009 | --program-transform-n=* | --program-transform-=* \ 1010 | --program-transform=* | --program-transfor=* \ 1011 | --program-transfo=* | --program-transf=* \ 1012 | --program-trans=* | --program-tran=* \ 1013 | --progr-tra=* | --program-tr=* | --program-t=*) 1014 program_transform_name=$ac_optarg ;; 1015 1016 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1017 ac_prev=pdfdir ;; 1018 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1019 pdfdir=$ac_optarg ;; 1020 1021 -psdir | --psdir | --psdi | --psd | --ps) 1022 ac_prev=psdir ;; 1023 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1024 psdir=$ac_optarg ;; 1025 1026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1027 | -silent | --silent | --silen | --sile | --sil) 1028 silent=yes ;; 1029 1030 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1031 ac_prev=sbindir ;; 1032 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1033 | --sbi=* | --sb=*) 1034 sbindir=$ac_optarg ;; 1035 1036 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1037 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1038 | --sharedst | --shareds | --shared | --share | --shar \ 1039 | --sha | --sh) 1040 ac_prev=sharedstatedir ;; 1041 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1042 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1043 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1044 | --sha=* | --sh=*) 1045 sharedstatedir=$ac_optarg ;; 1046 1047 -site | --site | --sit) 1048 ac_prev=site ;; 1049 -site=* | --site=* | --sit=*) 1050 site=$ac_optarg ;; 1051 1052 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1053 ac_prev=srcdir ;; 1054 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1055 srcdir=$ac_optarg ;; 1056 1057 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1058 | --syscon | --sysco | --sysc | --sys | --sy) 1059 ac_prev=sysconfdir ;; 1060 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1061 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1062 sysconfdir=$ac_optarg ;; 1063 1064 -target | --target | --targe | --targ | --tar | --ta | --t) 1065 ac_prev=target_alias ;; 1066 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1067 target_alias=$ac_optarg ;; 1068 1069 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1070 verbose=yes ;; 1071 1072 -version | --version | --versio | --versi | --vers | -V) 1073 ac_init_version=: ;; 1074 1075 -with-* | --with-*) 1076 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1077 # Reject names that are not valid shell variable names. 1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1079 as_fn_error $? "invalid package name: $ac_useropt" 1080 ac_useropt_orig=$ac_useropt 1081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1082 case $ac_user_opts in 1083 *" 1084 "with_$ac_useropt" 1085 "*) ;; 1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1087 ac_unrecognized_sep=', ';; 1088 esac 1089 eval with_$ac_useropt=\$ac_optarg ;; 1090 1091 -without-* | --without-*) 1092 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1093 # Reject names that are not valid shell variable names. 1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1095 as_fn_error $? "invalid package name: $ac_useropt" 1096 ac_useropt_orig=$ac_useropt 1097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1098 case $ac_user_opts in 1099 *" 1100 "with_$ac_useropt" 1101 "*) ;; 1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1103 ac_unrecognized_sep=', ';; 1104 esac 1105 eval with_$ac_useropt=no ;; 1106 1107 --x) 1108 # Obsolete; use --with-x. 1109 with_x=yes ;; 1110 1111 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1112 | --x-incl | --x-inc | --x-in | --x-i) 1113 ac_prev=x_includes ;; 1114 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1115 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1116 x_includes=$ac_optarg ;; 1117 1118 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1119 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1120 ac_prev=x_libraries ;; 1121 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1122 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1123 x_libraries=$ac_optarg ;; 1124 1125 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1126 Try \`$0 --help' for more information" 1127 ;; 1128 1129 *=*) 1130 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1131 # Reject names that are not valid shell variable names. 1132 case $ac_envvar in #( 1133 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1134 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1135 esac 1136 eval $ac_envvar=\$ac_optarg 1137 export $ac_envvar ;; 1138 1139 *) 1140 # FIXME: should be removed in autoconf 3.0. 1141 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1142 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1143 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1144 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1145 ;; 1146 1147 esac 1148 done 1149 1150 if test -n "$ac_prev"; then 1151 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1152 as_fn_error $? "missing argument to $ac_option" 1153 fi 1154 1155 if test -n "$ac_unrecognized_opts"; then 1156 case $enable_option_checking in 1157 no) ;; 1158 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1159 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1160 esac 1161 fi 1162 1163 # Check all directory arguments for consistency. 1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1165 datadir sysconfdir sharedstatedir localstatedir includedir \ 1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1167 libdir localedir mandir 1168 do 1169 eval ac_val=\$$ac_var 1170 # Remove trailing slashes. 1171 case $ac_val in 1172 */ ) 1173 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1174 eval $ac_var=\$ac_val;; 1175 esac 1176 # Be sure to have absolute directory names. 1177 case $ac_val in 1178 [\\/$]* | ?:[\\/]* ) continue;; 1179 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1180 esac 1181 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1182 done 1183 1184 # There might be people who depend on the old broken behavior: `$host' 1185 # used to hold the argument of --host etc. 1186 # FIXME: To remove some day. 1187 build=$build_alias 1188 host=$host_alias 1189 target=$target_alias 1190 1191 # FIXME: To remove some day. 1192 if test "x$host_alias" != x; then 1193 if test "x$build_alias" = x; then 1194 cross_compiling=maybe 1195 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1196 If a cross compiler is detected then cross compile mode will be used" >&2 1197 elif test "x$build_alias" != "x$host_alias"; then 1198 cross_compiling=yes 1199 fi 1200 fi 1201 1202 ac_tool_prefix= 1203 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1204 1205 test "$silent" = yes && exec 6>/dev/null 1206 1207 1208 ac_pwd=`pwd` && test -n "$ac_pwd" && 1209 ac_ls_di=`ls -di .` && 1210 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1211 as_fn_error $? "working directory cannot be determined" 1212 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1213 as_fn_error $? "pwd does not report name of working directory" 1214 1215 1216 # Find the source files, if location was not specified. 1217 if test -z "$srcdir"; then 1218 ac_srcdir_defaulted=yes 1219 # Try the directory containing this script, then the parent directory. 1220 ac_confdir=`$as_dirname -- "$as_myself" || 1221 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1222 X"$as_myself" : 'X\(//\)[^/]' \| \ 1223 X"$as_myself" : 'X\(//\)$' \| \ 1224 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1225 $as_echo X"$as_myself" | 1226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1227 s//\1/ 1228 q 1229 } 1230 /^X\(\/\/\)[^/].*/{ 1231 s//\1/ 1232 q 1233 } 1234 /^X\(\/\/\)$/{ 1235 s//\1/ 1236 q 1237 } 1238 /^X\(\/\).*/{ 1239 s//\1/ 1240 q 1241 } 1242 s/.*/./; q'` 1243 srcdir=$ac_confdir 1244 if test ! -r "$srcdir/$ac_unique_file"; then 1245 srcdir=.. 1246 fi 1247 else 1248 ac_srcdir_defaulted=no 1249 fi 1250 if test ! -r "$srcdir/$ac_unique_file"; then 1251 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1252 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1253 fi 1254 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1255 ac_abs_confdir=`( 1256 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1257 pwd)` 1258 # When building in place, set srcdir=. 1259 if test "$ac_abs_confdir" = "$ac_pwd"; then 1260 srcdir=. 1261 fi 1262 # Remove unnecessary trailing slashes from srcdir. 1263 # Double slashes in file names in object file debugging info 1264 # mess up M-x gdb in Emacs. 1265 case $srcdir in 1266 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1267 esac 1268 for ac_var in $ac_precious_vars; do 1269 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1270 eval ac_env_${ac_var}_value=\$${ac_var} 1271 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1272 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1273 done 1274 1275 # 1276 # Report the --help message. 1277 # 1278 if test "$ac_init_help" = "long"; then 1279 # Omit some internal or obsolete options to make the list less imposing. 1280 # This message is too long to be a string in the A/UX 3.1 sh. 1281 cat <<_ACEOF 1282 \`configure' configures EvIEExt 1.1.1 to adapt to many kinds of systems. 1283 1284 Usage: $0 [OPTION]... [VAR=VALUE]... 1285 1286 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1287 VAR=VALUE. See below for descriptions of some of the useful variables. 1288 1289 Defaults for the options are specified in brackets. 1290 1291 Configuration: 1292 -h, --help display this help and exit 1293 --help=short display options specific to this package 1294 --help=recursive display the short help of all the included packages 1295 -V, --version display version information and exit 1296 -q, --quiet, --silent do not print \`checking ...' messages 1297 --cache-file=FILE cache test results in FILE [disabled] 1298 -C, --config-cache alias for \`--cache-file=config.cache' 1299 -n, --no-create do not create output files 1300 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1301 1302 Installation directories: 1303 --prefix=PREFIX install architecture-independent files in PREFIX 1304 [$ac_default_prefix] 1305 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1306 [PREFIX] 1307 1308 By default, \`make install' will install all the files in 1309 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1310 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1311 for instance \`--prefix=\$HOME'. 1312 1313 For better control, use the options below. 1314 1315 Fine tuning of the installation directories: 1316 --bindir=DIR user executables [EPREFIX/bin] 1317 --sbindir=DIR system admin executables [EPREFIX/sbin] 1318 --libexecdir=DIR program executables [EPREFIX/libexec] 1319 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1320 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1321 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1322 --libdir=DIR object code libraries [EPREFIX/lib] 1323 --includedir=DIR C header files [PREFIX/include] 1324 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1325 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1326 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1327 --infodir=DIR info documentation [DATAROOTDIR/info] 1328 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1329 --mandir=DIR man documentation [DATAROOTDIR/man] 1330 --docdir=DIR documentation root [DATAROOTDIR/doc/evieext] 1331 --htmldir=DIR html documentation [DOCDIR] 1332 --dvidir=DIR dvi documentation [DOCDIR] 1333 --pdfdir=DIR pdf documentation [DOCDIR] 1334 --psdir=DIR ps documentation [DOCDIR] 1335 _ACEOF 1336 1337 cat <<\_ACEOF 1338 1339 Program names: 1340 --program-prefix=PREFIX prepend PREFIX to installed program names 1341 --program-suffix=SUFFIX append SUFFIX to installed program names 1342 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1343 1344 System types: 1345 --build=BUILD configure for building on BUILD [guessed] 1346 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1347 _ACEOF 1348 fi 1349 1350 if test -n "$ac_init_help"; then 1351 case $ac_init_help in 1352 short | recursive ) echo "Configuration of EvIEExt 1.1.1:";; 1353 esac 1354 cat <<\_ACEOF 1355 1356 Optional Features: 1357 --disable-option-checking ignore unrecognized --enable/--with options 1358 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1359 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1360 --enable-maintainer-mode enable make rules and dependencies not useful 1361 (and sometimes confusing) to the casual installer 1362 --disable-dependency-tracking speeds up one-time build 1363 --enable-dependency-tracking do not reject slow dependency extractors 1364 --enable-strict-compilation 1365 Enable all warnings from compiler and make them 1366 errors (default: disabled) 1367 --enable-silent-rules less verbose build output (undo: `make V=1') 1368 --disable-silent-rules verbose build output (undo: `make V=0') 1369 1370 Some influential environment variables: 1371 CC C compiler command 1372 CFLAGS C compiler flags 1373 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1374 nonstandard directory <lib dir> 1375 LIBS libraries to pass to the linker, e.g. -l<library> 1376 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1377 you have headers in a nonstandard directory <include dir> 1378 CPP C preprocessor 1379 PKG_CONFIG path to pkg-config utility 1380 1381 Use these variables to override the choices made by `configure' or to help 1382 it to find libraries and programs with nonstandard names/locations. 1383 1384 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1385 _ACEOF 1386 ac_status=$? 1387 fi 1388 1389 if test "$ac_init_help" = "recursive"; then 1390 # If there are subdirs, report their specific --help. 1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1392 test -d "$ac_dir" || 1393 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1394 continue 1395 ac_builddir=. 1396 1397 case "$ac_dir" in 1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1399 *) 1400 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1401 # A ".." for each directory in $ac_dir_suffix. 1402 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1403 case $ac_top_builddir_sub in 1404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1406 esac ;; 1407 esac 1408 ac_abs_top_builddir=$ac_pwd 1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1410 # for backward compatibility: 1411 ac_top_builddir=$ac_top_build_prefix 1412 1413 case $srcdir in 1414 .) # We are building in place. 1415 ac_srcdir=. 1416 ac_top_srcdir=$ac_top_builddir_sub 1417 ac_abs_top_srcdir=$ac_pwd ;; 1418 [\\/]* | ?:[\\/]* ) # Absolute name. 1419 ac_srcdir=$srcdir$ac_dir_suffix; 1420 ac_top_srcdir=$srcdir 1421 ac_abs_top_srcdir=$srcdir ;; 1422 *) # Relative name. 1423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1424 ac_top_srcdir=$ac_top_build_prefix$srcdir 1425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1426 esac 1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1428 1429 cd "$ac_dir" || { ac_status=$?; continue; } 1430 # Check for guested configure. 1431 if test -f "$ac_srcdir/configure.gnu"; then 1432 echo && 1433 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1434 elif test -f "$ac_srcdir/configure"; then 1435 echo && 1436 $SHELL "$ac_srcdir/configure" --help=recursive 1437 else 1438 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1439 fi || ac_status=$? 1440 cd "$ac_pwd" || { ac_status=$?; break; } 1441 done 1442 fi 1443 1444 test -n "$ac_init_help" && exit $ac_status 1445 if $ac_init_version; then 1446 cat <<\_ACEOF 1447 EvIEExt configure 1.1.1 1448 generated by GNU Autoconf 2.68 1449 1450 Copyright (C) 2010 Free Software Foundation, Inc. 1451 This configure script is free software; the Free Software Foundation 1452 gives unlimited permission to copy, distribute and modify it. 1453 _ACEOF 1454 exit 1455 fi 1456 1457 ## ------------------------ ## 1458 ## Autoconf initialization. ## 1459 ## ------------------------ ## 1460 1461 # ac_fn_c_try_compile LINENO 1462 # -------------------------- 1463 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1464 ac_fn_c_try_compile () 1465 { 1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1467 rm -f conftest.$ac_objext 1468 if { { ac_try="$ac_compile" 1469 case "(($ac_try" in 1470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1471 *) ac_try_echo=$ac_try;; 1472 esac 1473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1474 $as_echo "$ac_try_echo"; } >&5 1475 (eval "$ac_compile") 2>conftest.err 1476 ac_status=$? 1477 if test -s conftest.err; then 1478 grep -v '^ *+' conftest.err >conftest.er1 1479 cat conftest.er1 >&5 1480 mv -f conftest.er1 conftest.err 1481 fi 1482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1483 test $ac_status = 0; } && { 1484 test -z "$ac_c_werror_flag" || 1485 test ! -s conftest.err 1486 } && test -s conftest.$ac_objext; then : 1487 ac_retval=0 1488 else 1489 $as_echo "$as_me: failed program was:" >&5 1490 sed 's/^/| /' conftest.$ac_ext >&5 1491 1492 ac_retval=1 1493 fi 1494 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1495 as_fn_set_status $ac_retval 1496 1497 } # ac_fn_c_try_compile 1498 1499 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1500 # --------------------------------------------- 1501 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1502 # accordingly. 1503 ac_fn_c_check_decl () 1504 { 1505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1506 as_decl_name=`echo $2|sed 's/ *(.*//'` 1507 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1509 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1510 if eval \${$3+:} false; then : 1511 $as_echo_n "(cached) " >&6 1512 else 1513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1514 /* end confdefs.h. */ 1515 $4 1516 int 1517 main () 1518 { 1519 #ifndef $as_decl_name 1520 #ifdef __cplusplus 1521 (void) $as_decl_use; 1522 #else 1523 (void) $as_decl_name; 1524 #endif 1525 #endif 1526 1527 ; 1528 return 0; 1529 } 1530 _ACEOF 1531 if ac_fn_c_try_compile "$LINENO"; then : 1532 eval "$3=yes" 1533 else 1534 eval "$3=no" 1535 fi 1536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1537 fi 1538 eval ac_res=\$$3 1539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1540 $as_echo "$ac_res" >&6; } 1541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1542 1543 } # ac_fn_c_check_decl 1544 1545 # ac_fn_c_try_cpp LINENO 1546 # ---------------------- 1547 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1548 ac_fn_c_try_cpp () 1549 { 1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1551 if { { ac_try="$ac_cpp conftest.$ac_ext" 1552 case "(($ac_try" in 1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1554 *) ac_try_echo=$ac_try;; 1555 esac 1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1557 $as_echo "$ac_try_echo"; } >&5 1558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1559 ac_status=$? 1560 if test -s conftest.err; then 1561 grep -v '^ *+' conftest.err >conftest.er1 1562 cat conftest.er1 >&5 1563 mv -f conftest.er1 conftest.err 1564 fi 1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1566 test $ac_status = 0; } > conftest.i && { 1567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1568 test ! -s conftest.err 1569 }; then : 1570 ac_retval=0 1571 else 1572 $as_echo "$as_me: failed program was:" >&5 1573 sed 's/^/| /' conftest.$ac_ext >&5 1574 1575 ac_retval=1 1576 fi 1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1578 as_fn_set_status $ac_retval 1579 1580 } # ac_fn_c_try_cpp 1581 1582 # ac_fn_c_try_run LINENO 1583 # ---------------------- 1584 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1585 # that executables *can* be run. 1586 ac_fn_c_try_run () 1587 { 1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1589 if { { ac_try="$ac_link" 1590 case "(($ac_try" in 1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1592 *) ac_try_echo=$ac_try;; 1593 esac 1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1595 $as_echo "$ac_try_echo"; } >&5 1596 (eval "$ac_link") 2>&5 1597 ac_status=$? 1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1599 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1600 { { case "(($ac_try" in 1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1602 *) ac_try_echo=$ac_try;; 1603 esac 1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1605 $as_echo "$ac_try_echo"; } >&5 1606 (eval "$ac_try") 2>&5 1607 ac_status=$? 1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1609 test $ac_status = 0; }; }; then : 1610 ac_retval=0 1611 else 1612 $as_echo "$as_me: program exited with status $ac_status" >&5 1613 $as_echo "$as_me: failed program was:" >&5 1614 sed 's/^/| /' conftest.$ac_ext >&5 1615 1616 ac_retval=$ac_status 1617 fi 1618 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1620 as_fn_set_status $ac_retval 1621 1622 } # ac_fn_c_try_run 1623 1624 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1625 # ------------------------------------------------------- 1626 # Tests whether HEADER exists and can be compiled using the include files in 1627 # INCLUDES, setting the cache variable VAR accordingly. 1628 ac_fn_c_check_header_compile () 1629 { 1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1632 $as_echo_n "checking for $2... " >&6; } 1633 if eval \${$3+:} false; then : 1634 $as_echo_n "(cached) " >&6 1635 else 1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1637 /* end confdefs.h. */ 1638 $4 1639 #include <$2> 1640 _ACEOF 1641 if ac_fn_c_try_compile "$LINENO"; then : 1642 eval "$3=yes" 1643 else 1644 eval "$3=no" 1645 fi 1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1647 fi 1648 eval ac_res=\$$3 1649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1650 $as_echo "$ac_res" >&6; } 1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1652 1653 } # ac_fn_c_check_header_compile 1654 cat >config.log <<_ACEOF 1655 This file contains any messages produced by compilers while 1656 running configure, to aid debugging if configure makes a mistake. 1657 1658 It was created by EvIEExt $as_me 1.1.1, which was 1659 generated by GNU Autoconf 2.68. Invocation command line was 1660 1661 $ $0 $@ 1662 1663 _ACEOF 1664 exec 5>>config.log 1665 { 1666 cat <<_ASUNAME 1667 ## --------- ## 1668 ## Platform. ## 1669 ## --------- ## 1670 1671 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1672 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1673 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1674 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1675 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1676 1677 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1678 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1679 1680 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1681 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1682 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1683 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1684 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1685 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1686 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1687 1688 _ASUNAME 1689 1690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1691 for as_dir in $PATH 1692 do 1693 IFS=$as_save_IFS 1694 test -z "$as_dir" && as_dir=. 1695 $as_echo "PATH: $as_dir" 1696 done 1697 IFS=$as_save_IFS 1698 1699 } >&5 1700 1701 cat >&5 <<_ACEOF 1702 1703 1704 ## ----------- ## 1705 ## Core tests. ## 1706 ## ----------- ## 1707 1708 _ACEOF 1709 1710 1711 # Keep a trace of the command line. 1712 # Strip out --no-create and --no-recursion so they do not pile up. 1713 # Strip out --silent because we don't want to record it for future runs. 1714 # Also quote any args containing shell meta-characters. 1715 # Make two passes to allow for proper duplicate-argument suppression. 1716 ac_configure_args= 1717 ac_configure_args0= 1718 ac_configure_args1= 1719 ac_must_keep_next=false 1720 for ac_pass in 1 2 1721 do 1722 for ac_arg 1723 do 1724 case $ac_arg in 1725 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1726 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1727 | -silent | --silent | --silen | --sile | --sil) 1728 continue ;; 1729 *\'*) 1730 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1731 esac 1732 case $ac_pass in 1733 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1734 2) 1735 as_fn_append ac_configure_args1 " '$ac_arg'" 1736 if test $ac_must_keep_next = true; then 1737 ac_must_keep_next=false # Got value, back to normal. 1738 else 1739 case $ac_arg in 1740 *=* | --config-cache | -C | -disable-* | --disable-* \ 1741 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1742 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1743 | -with-* | --with-* | -without-* | --without-* | --x) 1744 case "$ac_configure_args0 " in 1745 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1746 esac 1747 ;; 1748 -* ) ac_must_keep_next=true ;; 1749 esac 1750 fi 1751 as_fn_append ac_configure_args " '$ac_arg'" 1752 ;; 1753 esac 1754 done 1755 done 1756 { ac_configure_args0=; unset ac_configure_args0;} 1757 { ac_configure_args1=; unset ac_configure_args1;} 1758 1759 # When interrupted or exit'd, cleanup temporary files, and complete 1760 # config.log. We remove comments because anyway the quotes in there 1761 # would cause problems or look ugly. 1762 # WARNING: Use '\'' to represent an apostrophe within the trap. 1763 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1764 trap 'exit_status=$? 1765 # Save into config.log some information that might help in debugging. 1766 { 1767 echo 1768 1769 $as_echo "## ---------------- ## 1770 ## Cache variables. ## 1771 ## ---------------- ##" 1772 echo 1773 # The following way of writing the cache mishandles newlines in values, 1774 ( 1775 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1776 eval ac_val=\$$ac_var 1777 case $ac_val in #( 1778 *${as_nl}*) 1779 case $ac_var in #( 1780 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1781 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1782 esac 1783 case $ac_var in #( 1784 _ | IFS | as_nl) ;; #( 1785 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1786 *) { eval $ac_var=; unset $ac_var;} ;; 1787 esac ;; 1788 esac 1789 done 1790 (set) 2>&1 | 1791 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1792 *${as_nl}ac_space=\ *) 1793 sed -n \ 1794 "s/'\''/'\''\\\\'\'''\''/g; 1795 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1796 ;; #( 1797 *) 1798 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1799 ;; 1800 esac | 1801 sort 1802 ) 1803 echo 1804 1805 $as_echo "## ----------------- ## 1806 ## Output variables. ## 1807 ## ----------------- ##" 1808 echo 1809 for ac_var in $ac_subst_vars 1810 do 1811 eval ac_val=\$$ac_var 1812 case $ac_val in 1813 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1814 esac 1815 $as_echo "$ac_var='\''$ac_val'\''" 1816 done | sort 1817 echo 1818 1819 if test -n "$ac_subst_files"; then 1820 $as_echo "## ------------------- ## 1821 ## File substitutions. ## 1822 ## ------------------- ##" 1823 echo 1824 for ac_var in $ac_subst_files 1825 do 1826 eval ac_val=\$$ac_var 1827 case $ac_val in 1828 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1829 esac 1830 $as_echo "$ac_var='\''$ac_val'\''" 1831 done | sort 1832 echo 1833 fi 1834 1835 if test -s confdefs.h; then 1836 $as_echo "## ----------- ## 1837 ## confdefs.h. ## 1838 ## ----------- ##" 1839 echo 1840 cat confdefs.h 1841 echo 1842 fi 1843 test "$ac_signal" != 0 && 1844 $as_echo "$as_me: caught signal $ac_signal" 1845 $as_echo "$as_me: exit $exit_status" 1846 } >&5 1847 rm -f core *.core core.conftest.* && 1848 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1849 exit $exit_status 1850 ' 0 1851 for ac_signal in 1 2 13 15; do 1852 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1853 done 1854 ac_signal=0 1855 1856 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1857 rm -f -r conftest* confdefs.h 1858 1859 $as_echo "/* confdefs.h */" > confdefs.h 1860 1861 # Predefined preprocessor variables. 1862 1863 cat >>confdefs.h <<_ACEOF 1864 #define PACKAGE_NAME "$PACKAGE_NAME" 1865 _ACEOF 1866 1867 cat >>confdefs.h <<_ACEOF 1868 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1869 _ACEOF 1870 1871 cat >>confdefs.h <<_ACEOF 1872 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1873 _ACEOF 1874 1875 cat >>confdefs.h <<_ACEOF 1876 #define PACKAGE_STRING "$PACKAGE_STRING" 1877 _ACEOF 1878 1879 cat >>confdefs.h <<_ACEOF 1880 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1881 _ACEOF 1882 1883 cat >>confdefs.h <<_ACEOF 1884 #define PACKAGE_URL "$PACKAGE_URL" 1885 _ACEOF 1886 1887 1888 # Let the site file select an alternate cache file if it wants to. 1889 # Prefer an explicitly selected file to automatically selected ones. 1890 ac_site_file1=NONE 1891 ac_site_file2=NONE 1892 if test -n "$CONFIG_SITE"; then 1893 # We do not want a PATH search for config.site. 1894 case $CONFIG_SITE in #(( 1895 -*) ac_site_file1=./$CONFIG_SITE;; 1896 */*) ac_site_file1=$CONFIG_SITE;; 1897 *) ac_site_file1=./$CONFIG_SITE;; 1898 esac 1899 elif test "x$prefix" != xNONE; then 1900 ac_site_file1=$prefix/share/config.site 1901 ac_site_file2=$prefix/etc/config.site 1902 else 1903 ac_site_file1=$ac_default_prefix/share/config.site 1904 ac_site_file2=$ac_default_prefix/etc/config.site 1905 fi 1906 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1907 do 1908 test "x$ac_site_file" = xNONE && continue 1909 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1910 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1911 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1912 sed 's/^/| /' "$ac_site_file" >&5 1913 . "$ac_site_file" \ 1914 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1916 as_fn_error $? "failed to load site script $ac_site_file 1917 See \`config.log' for more details" "$LINENO" 5; } 1918 fi 1919 done 1920 1921 if test -r "$cache_file"; then 1922 # Some versions of bash will fail to source /dev/null (special files 1923 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1924 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1925 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1926 $as_echo "$as_me: loading cache $cache_file" >&6;} 1927 case $cache_file in 1928 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1929 *) . "./$cache_file";; 1930 esac 1931 fi 1932 else 1933 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1934 $as_echo "$as_me: creating cache $cache_file" >&6;} 1935 >$cache_file 1936 fi 1937 1938 # Check that the precious variables saved in the cache have kept the same 1939 # value. 1940 ac_cache_corrupted=false 1941 for ac_var in $ac_precious_vars; do 1942 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1943 eval ac_new_set=\$ac_env_${ac_var}_set 1944 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1945 eval ac_new_val=\$ac_env_${ac_var}_value 1946 case $ac_old_set,$ac_new_set in 1947 set,) 1948 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1949 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1950 ac_cache_corrupted=: ;; 1951 ,set) 1952 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1953 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1954 ac_cache_corrupted=: ;; 1955 ,);; 1956 *) 1957 if test "x$ac_old_val" != "x$ac_new_val"; then 1958 # differences in whitespace do not lead to failure. 1959 ac_old_val_w=`echo x $ac_old_val` 1960 ac_new_val_w=`echo x $ac_new_val` 1961 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1962 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1963 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1964 ac_cache_corrupted=: 1965 else 1966 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1967 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1968 eval $ac_var=\$ac_old_val 1969 fi 1970 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1971 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1972 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1973 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1974 fi;; 1975 esac 1976 # Pass precious variables to config.status. 1977 if test "$ac_new_set" = set; then 1978 case $ac_new_val in 1979 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1980 *) ac_arg=$ac_var=$ac_new_val ;; 1981 esac 1982 case " $ac_configure_args " in 1983 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1984 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1985 esac 1986 fi 1987 done 1988 if $ac_cache_corrupted; then 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1991 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1992 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1993 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1994 fi 1995 ## -------------------- ## 1996 ## Main body of script. ## 1997 ## -------------------- ## 1998 1999 ac_ext=c 2000 ac_cpp='$CPP $CPPFLAGS' 2001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2003 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2004 2005 2006 2007 2008 # Initialize Automake 2009 am__api_version='1.11' 2010 2011 ac_aux_dir= 2012 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2013 if test -f "$ac_dir/install-sh"; then 2014 ac_aux_dir=$ac_dir 2015 ac_install_sh="$ac_aux_dir/install-sh -c" 2016 break 2017 elif test -f "$ac_dir/install.sh"; then 2018 ac_aux_dir=$ac_dir 2019 ac_install_sh="$ac_aux_dir/install.sh -c" 2020 break 2021 elif test -f "$ac_dir/shtool"; then 2022 ac_aux_dir=$ac_dir 2023 ac_install_sh="$ac_aux_dir/shtool install -c" 2024 break 2025 fi 2026 done 2027 if test -z "$ac_aux_dir"; then 2028 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2029 fi 2030 2031 # These three variables are undocumented and unsupported, 2032 # and are intended to be withdrawn in a future Autoconf release. 2033 # They can cause serious problems if a builder's source tree is in a directory 2034 # whose full name contains unusual characters. 2035 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2036 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2037 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2038 2039 2040 # Find a good install program. We prefer a C program (faster), 2041 # so one script is as good as another. But avoid the broken or 2042 # incompatible versions: 2043 # SysV /etc/install, /usr/sbin/install 2044 # SunOS /usr/etc/install 2045 # IRIX /sbin/install 2046 # AIX /bin/install 2047 # AmigaOS /C/install, which installs bootblocks on floppy discs 2048 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2049 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2050 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2051 # OS/2's system install, which has a completely different semantic 2052 # ./install, which can be erroneously created by make from ./install.sh. 2053 # Reject install programs that cannot install multiple files. 2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2055 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2056 if test -z "$INSTALL"; then 2057 if ${ac_cv_path_install+:} false; then : 2058 $as_echo_n "(cached) " >&6 2059 else 2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2061 for as_dir in $PATH 2062 do 2063 IFS=$as_save_IFS 2064 test -z "$as_dir" && as_dir=. 2065 # Account for people who put trailing slashes in PATH elements. 2066 case $as_dir/ in #(( 2067 ./ | .// | /[cC]/* | \ 2068 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2069 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2070 /usr/ucb/* ) ;; 2071 *) 2072 # OSF1 and SCO ODT 3.0 have their own names for install. 2073 # Don't use installbsd from OSF since it installs stuff as root 2074 # by default. 2075 for ac_prog in ginstall scoinst install; do 2076 for ac_exec_ext in '' $ac_executable_extensions; do 2077 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2078 if test $ac_prog = install && 2079 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2080 # AIX install. It has an incompatible calling convention. 2081 : 2082 elif test $ac_prog = install && 2083 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2084 # program-specific install script used by HP pwplus--don't use. 2085 : 2086 else 2087 rm -rf conftest.one conftest.two conftest.dir 2088 echo one > conftest.one 2089 echo two > conftest.two 2090 mkdir conftest.dir 2091 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2092 test -s conftest.one && test -s conftest.two && 2093 test -s conftest.dir/conftest.one && 2094 test -s conftest.dir/conftest.two 2095 then 2096 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2097 break 3 2098 fi 2099 fi 2100 fi 2101 done 2102 done 2103 ;; 2104 esac 2105 2106 done 2107 IFS=$as_save_IFS 2108 2109 rm -rf conftest.one conftest.two conftest.dir 2110 2111 fi 2112 if test "${ac_cv_path_install+set}" = set; then 2113 INSTALL=$ac_cv_path_install 2114 else 2115 # As a last resort, use the slow shell script. Don't cache a 2116 # value for INSTALL within a source directory, because that will 2117 # break other packages using the cache if that directory is 2118 # removed, or if the value is a relative name. 2119 INSTALL=$ac_install_sh 2120 fi 2121 fi 2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2123 $as_echo "$INSTALL" >&6; } 2124 2125 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2126 # It thinks the first close brace ends the variable substitution. 2127 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2128 2129 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2130 2131 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2132 2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2134 $as_echo_n "checking whether build environment is sane... " >&6; } 2135 # Just in case 2136 sleep 1 2137 echo timestamp > conftest.file 2138 # Reject unsafe characters in $srcdir or the absolute working directory 2139 # name. Accept space and tab only in the latter. 2140 am_lf=' 2141 ' 2142 case `pwd` in 2143 *[\\\"\#\$\&\'\`$am_lf]*) 2144 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2145 esac 2146 case $srcdir in 2147 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2148 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2149 esac 2150 2151 # Do `set' in a subshell so we don't clobber the current shell's 2152 # arguments. Must try -L first in case configure is actually a 2153 # symlink; some systems play weird games with the mod time of symlinks 2154 # (eg FreeBSD returns the mod time of the symlink's containing 2155 # directory). 2156 if ( 2157 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2158 if test "$*" = "X"; then 2159 # -L didn't work. 2160 set X `ls -t "$srcdir/configure" conftest.file` 2161 fi 2162 rm -f conftest.file 2163 if test "$*" != "X $srcdir/configure conftest.file" \ 2164 && test "$*" != "X conftest.file $srcdir/configure"; then 2165 2166 # If neither matched, then we have a broken ls. This can happen 2167 # if, for instance, CONFIG_SHELL is bash and it inherits a 2168 # broken ls alias from the environment. This has actually 2169 # happened. Such a system could not be considered "sane". 2170 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2171 alias in your environment" "$LINENO" 5 2172 fi 2173 2174 test "$2" = conftest.file 2175 ) 2176 then 2177 # Ok. 2178 : 2179 else 2180 as_fn_error $? "newly created file is older than distributed files! 2181 Check your system clock" "$LINENO" 5 2182 fi 2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2184 $as_echo "yes" >&6; } 2185 test "$program_prefix" != NONE && 2186 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2187 # Use a double $ so make ignores it. 2188 test "$program_suffix" != NONE && 2189 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2190 # Double any \ or $. 2191 # By default was `s,x,x', remove it if useless. 2192 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2193 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2194 2195 # expand $ac_aux_dir to an absolute path 2196 am_aux_dir=`cd $ac_aux_dir && pwd` 2197 2198 if test x"${MISSING+set}" != xset; then 2199 case $am_aux_dir in 2200 *\ * | *\ *) 2201 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2202 *) 2203 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2204 esac 2205 fi 2206 # Use eval to expand $SHELL 2207 if eval "$MISSING --run true"; then 2208 am_missing_run="$MISSING --run " 2209 else 2210 am_missing_run= 2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2212 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2213 fi 2214 2215 if test x"${install_sh}" != xset; then 2216 case $am_aux_dir in 2217 *\ * | *\ *) 2218 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2219 *) 2220 install_sh="\${SHELL} $am_aux_dir/install-sh" 2221 esac 2222 fi 2223 2224 # Installed binaries are usually stripped using `strip' when the user 2225 # run `make install-strip'. However `strip' might not be the right 2226 # tool to use in cross-compilation environments, therefore Automake 2227 # will honor the `STRIP' environment variable to overrule this program. 2228 if test "$cross_compiling" != no; then 2229 if test -n "$ac_tool_prefix"; then 2230 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2231 set dummy ${ac_tool_prefix}strip; ac_word=$2 2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2233 $as_echo_n "checking for $ac_word... " >&6; } 2234 if ${ac_cv_prog_STRIP+:} false; then : 2235 $as_echo_n "(cached) " >&6 2236 else 2237 if test -n "$STRIP"; then 2238 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2239 else 2240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2241 for as_dir in $PATH 2242 do 2243 IFS=$as_save_IFS 2244 test -z "$as_dir" && as_dir=. 2245 for ac_exec_ext in '' $ac_executable_extensions; do 2246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2247 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2249 break 2 2250 fi 2251 done 2252 done 2253 IFS=$as_save_IFS 2254 2255 fi 2256 fi 2257 STRIP=$ac_cv_prog_STRIP 2258 if test -n "$STRIP"; then 2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2260 $as_echo "$STRIP" >&6; } 2261 else 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2263 $as_echo "no" >&6; } 2264 fi 2265 2266 2267 fi 2268 if test -z "$ac_cv_prog_STRIP"; then 2269 ac_ct_STRIP=$STRIP 2270 # Extract the first word of "strip", so it can be a program name with args. 2271 set dummy strip; ac_word=$2 2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2273 $as_echo_n "checking for $ac_word... " >&6; } 2274 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2275 $as_echo_n "(cached) " >&6 2276 else 2277 if test -n "$ac_ct_STRIP"; then 2278 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2279 else 2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2281 for as_dir in $PATH 2282 do 2283 IFS=$as_save_IFS 2284 test -z "$as_dir" && as_dir=. 2285 for ac_exec_ext in '' $ac_executable_extensions; do 2286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2287 ac_cv_prog_ac_ct_STRIP="strip" 2288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2289 break 2 2290 fi 2291 done 2292 done 2293 IFS=$as_save_IFS 2294 2295 fi 2296 fi 2297 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2298 if test -n "$ac_ct_STRIP"; then 2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2300 $as_echo "$ac_ct_STRIP" >&6; } 2301 else 2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2303 $as_echo "no" >&6; } 2304 fi 2305 2306 if test "x$ac_ct_STRIP" = x; then 2307 STRIP=":" 2308 else 2309 case $cross_compiling:$ac_tool_warned in 2310 yes:) 2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2313 ac_tool_warned=yes ;; 2314 esac 2315 STRIP=$ac_ct_STRIP 2316 fi 2317 else 2318 STRIP="$ac_cv_prog_STRIP" 2319 fi 2320 2321 fi 2322 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2323 2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2325 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2326 if test -z "$MKDIR_P"; then 2327 if ${ac_cv_path_mkdir+:} false; then : 2328 $as_echo_n "(cached) " >&6 2329 else 2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2331 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2332 do 2333 IFS=$as_save_IFS 2334 test -z "$as_dir" && as_dir=. 2335 for ac_prog in mkdir gmkdir; do 2336 for ac_exec_ext in '' $ac_executable_extensions; do 2337 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2338 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2339 'mkdir (GNU coreutils) '* | \ 2340 'mkdir (coreutils) '* | \ 2341 'mkdir (fileutils) '4.1*) 2342 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2343 break 3;; 2344 esac 2345 done 2346 done 2347 done 2348 IFS=$as_save_IFS 2349 2350 fi 2351 2352 test -d ./--version && rmdir ./--version 2353 if test "${ac_cv_path_mkdir+set}" = set; then 2354 MKDIR_P="$ac_cv_path_mkdir -p" 2355 else 2356 # As a last resort, use the slow shell script. Don't cache a 2357 # value for MKDIR_P within a source directory, because that will 2358 # break other packages using the cache if that directory is 2359 # removed, or if the value is a relative name. 2360 MKDIR_P="$ac_install_sh -d" 2361 fi 2362 fi 2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2364 $as_echo "$MKDIR_P" >&6; } 2365 2366 mkdir_p="$MKDIR_P" 2367 case $mkdir_p in 2368 [\\/$]* | ?:[\\/]*) ;; 2369 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2370 esac 2371 2372 for ac_prog in gawk mawk nawk awk 2373 do 2374 # Extract the first word of "$ac_prog", so it can be a program name with args. 2375 set dummy $ac_prog; ac_word=$2 2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2377 $as_echo_n "checking for $ac_word... " >&6; } 2378 if ${ac_cv_prog_AWK+:} false; then : 2379 $as_echo_n "(cached) " >&6 2380 else 2381 if test -n "$AWK"; then 2382 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2383 else 2384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2385 for as_dir in $PATH 2386 do 2387 IFS=$as_save_IFS 2388 test -z "$as_dir" && as_dir=. 2389 for ac_exec_ext in '' $ac_executable_extensions; do 2390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2391 ac_cv_prog_AWK="$ac_prog" 2392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2393 break 2 2394 fi 2395 done 2396 done 2397 IFS=$as_save_IFS 2398 2399 fi 2400 fi 2401 AWK=$ac_cv_prog_AWK 2402 if test -n "$AWK"; then 2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2404 $as_echo "$AWK" >&6; } 2405 else 2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2407 $as_echo "no" >&6; } 2408 fi 2409 2410 2411 test -n "$AWK" && break 2412 done 2413 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2415 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2416 set x ${MAKE-make} 2417 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2418 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2419 $as_echo_n "(cached) " >&6 2420 else 2421 cat >conftest.make <<\_ACEOF 2422 SHELL = /bin/sh 2423 all: 2424 @echo '@@@%%%=$(MAKE)=@@@%%%' 2425 _ACEOF 2426 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2427 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2428 *@@@%%%=?*=@@@%%%*) 2429 eval ac_cv_prog_make_${ac_make}_set=yes;; 2430 *) 2431 eval ac_cv_prog_make_${ac_make}_set=no;; 2432 esac 2433 rm -f conftest.make 2434 fi 2435 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2437 $as_echo "yes" >&6; } 2438 SET_MAKE= 2439 else 2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2441 $as_echo "no" >&6; } 2442 SET_MAKE="MAKE=${MAKE-make}" 2443 fi 2444 2445 rm -rf .tst 2>/dev/null 2446 mkdir .tst 2>/dev/null 2447 if test -d .tst; then 2448 am__leading_dot=. 2449 else 2450 am__leading_dot=_ 2451 fi 2452 rmdir .tst 2>/dev/null 2453 2454 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2455 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2456 # is not polluted with repeated "-I." 2457 am__isrc=' -I$(srcdir)' 2458 # test to see if srcdir already configured 2459 if test -f $srcdir/config.status; then 2460 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2461 fi 2462 fi 2463 2464 # test whether we have cygpath 2465 if test -z "$CYGPATH_W"; then 2466 if (cygpath --version) >/dev/null 2>/dev/null; then 2467 CYGPATH_W='cygpath -w' 2468 else 2469 CYGPATH_W=echo 2470 fi 2471 fi 2472 2473 2474 # Define the identity of the package. 2475 PACKAGE='evieext' 2476 VERSION='1.1.1' 2477 2478 2479 cat >>confdefs.h <<_ACEOF 2480 #define PACKAGE "$PACKAGE" 2481 _ACEOF 2482 2483 2484 cat >>confdefs.h <<_ACEOF 2485 #define VERSION "$VERSION" 2486 _ACEOF 2487 2488 # Some tools Automake needs. 2489 2490 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2491 2492 2493 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2494 2495 2496 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2497 2498 2499 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2500 2501 2502 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2503 2504 # We need awk for the "check" target. The system "awk" is bad on 2505 # some platforms. 2506 # Always define AMTAR for backward compatibility. 2507 2508 AMTAR=${AMTAR-"${am_missing_run}tar"} 2509 2510 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2511 2512 2513 2514 2515 2516 2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2518 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2519 # Check whether --enable-maintainer-mode was given. 2520 if test "${enable_maintainer_mode+set}" = set; then : 2521 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2522 else 2523 USE_MAINTAINER_MODE=no 2524 fi 2525 2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2527 $as_echo "$USE_MAINTAINER_MODE" >&6; } 2528 if test $USE_MAINTAINER_MODE = yes; then 2529 MAINTAINER_MODE_TRUE= 2530 MAINTAINER_MODE_FALSE='#' 2531 else 2532 MAINTAINER_MODE_TRUE='#' 2533 MAINTAINER_MODE_FALSE= 2534 fi 2535 2536 MAINT=$MAINTAINER_MODE_TRUE 2537 2538 2539 2540 # Require xorg-macros: XORG_DEFAULT_OPTIONS 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 DEPDIR="${am__leading_dot}deps" 2553 2554 ac_config_commands="$ac_config_commands depfiles" 2555 2556 2557 am_make=${MAKE-make} 2558 cat > confinc << 'END' 2559 am__doit: 2560 @echo this is the am__doit target 2561 .PHONY: am__doit 2562 END 2563 # If we don't find an include directive, just comment out the code. 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2565 $as_echo_n "checking for style of include used by $am_make... " >&6; } 2566 am__include="#" 2567 am__quote= 2568 _am_result=none 2569 # First try GNU make style include. 2570 echo "include confinc" > confmf 2571 # Ignore all kinds of additional output from `make'. 2572 case `$am_make -s -f confmf 2> /dev/null` in #( 2573 *the\ am__doit\ target*) 2574 am__include=include 2575 am__quote= 2576 _am_result=GNU 2577 ;; 2578 esac 2579 # Now try BSD make style include. 2580 if test "$am__include" = "#"; then 2581 echo '.include "confinc"' > confmf 2582 case `$am_make -s -f confmf 2> /dev/null` in #( 2583 *the\ am__doit\ target*) 2584 am__include=.include 2585 am__quote="\"" 2586 _am_result=BSD 2587 ;; 2588 esac 2589 fi 2590 2591 2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2593 $as_echo "$_am_result" >&6; } 2594 rm -f confinc confmf 2595 2596 # Check whether --enable-dependency-tracking was given. 2597 if test "${enable_dependency_tracking+set}" = set; then : 2598 enableval=$enable_dependency_tracking; 2599 fi 2600 2601 if test "x$enable_dependency_tracking" != xno; then 2602 am_depcomp="$ac_aux_dir/depcomp" 2603 AMDEPBACKSLASH='\' 2604 fi 2605 if test "x$enable_dependency_tracking" != xno; then 2606 AMDEP_TRUE= 2607 AMDEP_FALSE='#' 2608 else 2609 AMDEP_TRUE='#' 2610 AMDEP_FALSE= 2611 fi 2612 2613 2614 ac_ext=c 2615 ac_cpp='$CPP $CPPFLAGS' 2616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2618 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2619 if test -n "$ac_tool_prefix"; then 2620 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2621 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2623 $as_echo_n "checking for $ac_word... " >&6; } 2624 if ${ac_cv_prog_CC+:} false; then : 2625 $as_echo_n "(cached) " >&6 2626 else 2627 if test -n "$CC"; then 2628 ac_cv_prog_CC="$CC" # Let the user override the test. 2629 else 2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2631 for as_dir in $PATH 2632 do 2633 IFS=$as_save_IFS 2634 test -z "$as_dir" && as_dir=. 2635 for ac_exec_ext in '' $ac_executable_extensions; do 2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2637 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2639 break 2 2640 fi 2641 done 2642 done 2643 IFS=$as_save_IFS 2644 2645 fi 2646 fi 2647 CC=$ac_cv_prog_CC 2648 if test -n "$CC"; then 2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2650 $as_echo "$CC" >&6; } 2651 else 2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2653 $as_echo "no" >&6; } 2654 fi 2655 2656 2657 fi 2658 if test -z "$ac_cv_prog_CC"; then 2659 ac_ct_CC=$CC 2660 # Extract the first word of "gcc", so it can be a program name with args. 2661 set dummy gcc; ac_word=$2 2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2663 $as_echo_n "checking for $ac_word... " >&6; } 2664 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2665 $as_echo_n "(cached) " >&6 2666 else 2667 if test -n "$ac_ct_CC"; then 2668 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2669 else 2670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2671 for as_dir in $PATH 2672 do 2673 IFS=$as_save_IFS 2674 test -z "$as_dir" && as_dir=. 2675 for ac_exec_ext in '' $ac_executable_extensions; do 2676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2677 ac_cv_prog_ac_ct_CC="gcc" 2678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2679 break 2 2680 fi 2681 done 2682 done 2683 IFS=$as_save_IFS 2684 2685 fi 2686 fi 2687 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2688 if test -n "$ac_ct_CC"; then 2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2690 $as_echo "$ac_ct_CC" >&6; } 2691 else 2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2693 $as_echo "no" >&6; } 2694 fi 2695 2696 if test "x$ac_ct_CC" = x; then 2697 CC="" 2698 else 2699 case $cross_compiling:$ac_tool_warned in 2700 yes:) 2701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2703 ac_tool_warned=yes ;; 2704 esac 2705 CC=$ac_ct_CC 2706 fi 2707 else 2708 CC="$ac_cv_prog_CC" 2709 fi 2710 2711 if test -z "$CC"; then 2712 if test -n "$ac_tool_prefix"; then 2713 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2714 set dummy ${ac_tool_prefix}cc; ac_word=$2 2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2716 $as_echo_n "checking for $ac_word... " >&6; } 2717 if ${ac_cv_prog_CC+:} false; then : 2718 $as_echo_n "(cached) " >&6 2719 else 2720 if test -n "$CC"; then 2721 ac_cv_prog_CC="$CC" # Let the user override the test. 2722 else 2723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2724 for as_dir in $PATH 2725 do 2726 IFS=$as_save_IFS 2727 test -z "$as_dir" && as_dir=. 2728 for ac_exec_ext in '' $ac_executable_extensions; do 2729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2730 ac_cv_prog_CC="${ac_tool_prefix}cc" 2731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2732 break 2 2733 fi 2734 done 2735 done 2736 IFS=$as_save_IFS 2737 2738 fi 2739 fi 2740 CC=$ac_cv_prog_CC 2741 if test -n "$CC"; then 2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2743 $as_echo "$CC" >&6; } 2744 else 2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2746 $as_echo "no" >&6; } 2747 fi 2748 2749 2750 fi 2751 fi 2752 if test -z "$CC"; then 2753 # Extract the first word of "cc", so it can be a program name with args. 2754 set dummy cc; ac_word=$2 2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2756 $as_echo_n "checking for $ac_word... " >&6; } 2757 if ${ac_cv_prog_CC+:} false; then : 2758 $as_echo_n "(cached) " >&6 2759 else 2760 if test -n "$CC"; then 2761 ac_cv_prog_CC="$CC" # Let the user override the test. 2762 else 2763 ac_prog_rejected=no 2764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2765 for as_dir in $PATH 2766 do 2767 IFS=$as_save_IFS 2768 test -z "$as_dir" && as_dir=. 2769 for ac_exec_ext in '' $ac_executable_extensions; do 2770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2771 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2772 ac_prog_rejected=yes 2773 continue 2774 fi 2775 ac_cv_prog_CC="cc" 2776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2777 break 2 2778 fi 2779 done 2780 done 2781 IFS=$as_save_IFS 2782 2783 if test $ac_prog_rejected = yes; then 2784 # We found a bogon in the path, so make sure we never use it. 2785 set dummy $ac_cv_prog_CC 2786 shift 2787 if test $# != 0; then 2788 # We chose a different compiler from the bogus one. 2789 # However, it has the same basename, so the bogon will be chosen 2790 # first if we set CC to just the basename; use the full file name. 2791 shift 2792 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2793 fi 2794 fi 2795 fi 2796 fi 2797 CC=$ac_cv_prog_CC 2798 if test -n "$CC"; then 2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2800 $as_echo "$CC" >&6; } 2801 else 2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2803 $as_echo "no" >&6; } 2804 fi 2805 2806 2807 fi 2808 if test -z "$CC"; then 2809 if test -n "$ac_tool_prefix"; then 2810 for ac_prog in cl.exe 2811 do 2812 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2813 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2815 $as_echo_n "checking for $ac_word... " >&6; } 2816 if ${ac_cv_prog_CC+:} false; then : 2817 $as_echo_n "(cached) " >&6 2818 else 2819 if test -n "$CC"; then 2820 ac_cv_prog_CC="$CC" # Let the user override the test. 2821 else 2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2823 for as_dir in $PATH 2824 do 2825 IFS=$as_save_IFS 2826 test -z "$as_dir" && as_dir=. 2827 for ac_exec_ext in '' $ac_executable_extensions; do 2828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2829 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2831 break 2 2832 fi 2833 done 2834 done 2835 IFS=$as_save_IFS 2836 2837 fi 2838 fi 2839 CC=$ac_cv_prog_CC 2840 if test -n "$CC"; then 2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2842 $as_echo "$CC" >&6; } 2843 else 2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2845 $as_echo "no" >&6; } 2846 fi 2847 2848 2849 test -n "$CC" && break 2850 done 2851 fi 2852 if test -z "$CC"; then 2853 ac_ct_CC=$CC 2854 for ac_prog in cl.exe 2855 do 2856 # Extract the first word of "$ac_prog", so it can be a program name with args. 2857 set dummy $ac_prog; ac_word=$2 2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2859 $as_echo_n "checking for $ac_word... " >&6; } 2860 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2861 $as_echo_n "(cached) " >&6 2862 else 2863 if test -n "$ac_ct_CC"; then 2864 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2865 else 2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2867 for as_dir in $PATH 2868 do 2869 IFS=$as_save_IFS 2870 test -z "$as_dir" && as_dir=. 2871 for ac_exec_ext in '' $ac_executable_extensions; do 2872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2873 ac_cv_prog_ac_ct_CC="$ac_prog" 2874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2875 break 2 2876 fi 2877 done 2878 done 2879 IFS=$as_save_IFS 2880 2881 fi 2882 fi 2883 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2884 if test -n "$ac_ct_CC"; then 2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2886 $as_echo "$ac_ct_CC" >&6; } 2887 else 2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2889 $as_echo "no" >&6; } 2890 fi 2891 2892 2893 test -n "$ac_ct_CC" && break 2894 done 2895 2896 if test "x$ac_ct_CC" = x; then 2897 CC="" 2898 else 2899 case $cross_compiling:$ac_tool_warned in 2900 yes:) 2901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2903 ac_tool_warned=yes ;; 2904 esac 2905 CC=$ac_ct_CC 2906 fi 2907 fi 2908 2909 fi 2910 2911 2912 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2914 as_fn_error $? "no acceptable C compiler found in \$PATH 2915 See \`config.log' for more details" "$LINENO" 5; } 2916 2917 # Provide some information about the compiler. 2918 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2919 set X $ac_compile 2920 ac_compiler=$2 2921 for ac_option in --version -v -V -qversion; do 2922 { { ac_try="$ac_compiler $ac_option >&5" 2923 case "(($ac_try" in 2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2925 *) ac_try_echo=$ac_try;; 2926 esac 2927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2928 $as_echo "$ac_try_echo"; } >&5 2929 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2930 ac_status=$? 2931 if test -s conftest.err; then 2932 sed '10a\ 2933 ... rest of stderr output deleted ... 2934 10q' conftest.err >conftest.er1 2935 cat conftest.er1 >&5 2936 fi 2937 rm -f conftest.er1 conftest.err 2938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2939 test $ac_status = 0; } 2940 done 2941 2942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2943 /* end confdefs.h. */ 2944 2945 int 2946 main () 2947 { 2948 2949 ; 2950 return 0; 2951 } 2952 _ACEOF 2953 ac_clean_files_save=$ac_clean_files 2954 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2955 # Try to create an executable without -o first, disregard a.out. 2956 # It will help us diagnose broken compilers, and finding out an intuition 2957 # of exeext. 2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2959 $as_echo_n "checking whether the C compiler works... " >&6; } 2960 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2961 2962 # The possible output files: 2963 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2964 2965 ac_rmfiles= 2966 for ac_file in $ac_files 2967 do 2968 case $ac_file in 2969 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2970 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2971 esac 2972 done 2973 rm -f $ac_rmfiles 2974 2975 if { { ac_try="$ac_link_default" 2976 case "(($ac_try" in 2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2978 *) ac_try_echo=$ac_try;; 2979 esac 2980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2981 $as_echo "$ac_try_echo"; } >&5 2982 (eval "$ac_link_default") 2>&5 2983 ac_status=$? 2984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2985 test $ac_status = 0; }; then : 2986 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2987 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2988 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2989 # so that the user can short-circuit this test for compilers unknown to 2990 # Autoconf. 2991 for ac_file in $ac_files '' 2992 do 2993 test -f "$ac_file" || continue 2994 case $ac_file in 2995 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2996 ;; 2997 [ab].out ) 2998 # We found the default executable, but exeext='' is most 2999 # certainly right. 3000 break;; 3001 *.* ) 3002 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3003 then :; else 3004 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3005 fi 3006 # We set ac_cv_exeext here because the later test for it is not 3007 # safe: cross compilers may not add the suffix if given an `-o' 3008 # argument, so we may need to know it at that point already. 3009 # Even if this section looks crufty: it has the advantage of 3010 # actually working. 3011 break;; 3012 * ) 3013 break;; 3014 esac 3015 done 3016 test "$ac_cv_exeext" = no && ac_cv_exeext= 3017 3018 else 3019 ac_file='' 3020 fi 3021 if test -z "$ac_file"; then : 3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3023 $as_echo "no" >&6; } 3024 $as_echo "$as_me: failed program was:" >&5 3025 sed 's/^/| /' conftest.$ac_ext >&5 3026 3027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3029 as_fn_error 77 "C compiler cannot create executables 3030 See \`config.log' for more details" "$LINENO" 5; } 3031 else 3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3033 $as_echo "yes" >&6; } 3034 fi 3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3036 $as_echo_n "checking for C compiler default output file name... " >&6; } 3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3038 $as_echo "$ac_file" >&6; } 3039 ac_exeext=$ac_cv_exeext 3040 3041 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3042 ac_clean_files=$ac_clean_files_save 3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3044 $as_echo_n "checking for suffix of executables... " >&6; } 3045 if { { ac_try="$ac_link" 3046 case "(($ac_try" in 3047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3048 *) ac_try_echo=$ac_try;; 3049 esac 3050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3051 $as_echo "$ac_try_echo"; } >&5 3052 (eval "$ac_link") 2>&5 3053 ac_status=$? 3054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3055 test $ac_status = 0; }; then : 3056 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3057 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3058 # work properly (i.e., refer to `conftest.exe'), while it won't with 3059 # `rm'. 3060 for ac_file in conftest.exe conftest conftest.*; do 3061 test -f "$ac_file" || continue 3062 case $ac_file in 3063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3064 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3065 break;; 3066 * ) break;; 3067 esac 3068 done 3069 else 3070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3072 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3073 See \`config.log' for more details" "$LINENO" 5; } 3074 fi 3075 rm -f conftest conftest$ac_cv_exeext 3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3077 $as_echo "$ac_cv_exeext" >&6; } 3078 3079 rm -f conftest.$ac_ext 3080 EXEEXT=$ac_cv_exeext 3081 ac_exeext=$EXEEXT 3082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3083 /* end confdefs.h. */ 3084 #include <stdio.h> 3085 int 3086 main () 3087 { 3088 FILE *f = fopen ("conftest.out", "w"); 3089 return ferror (f) || fclose (f) != 0; 3090 3091 ; 3092 return 0; 3093 } 3094 _ACEOF 3095 ac_clean_files="$ac_clean_files conftest.out" 3096 # Check that the compiler produces executables we can run. If not, either 3097 # the compiler is broken, or we cross compile. 3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3099 $as_echo_n "checking whether we are cross compiling... " >&6; } 3100 if test "$cross_compiling" != yes; then 3101 { { ac_try="$ac_link" 3102 case "(($ac_try" in 3103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3104 *) ac_try_echo=$ac_try;; 3105 esac 3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3107 $as_echo "$ac_try_echo"; } >&5 3108 (eval "$ac_link") 2>&5 3109 ac_status=$? 3110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3111 test $ac_status = 0; } 3112 if { ac_try='./conftest$ac_cv_exeext' 3113 { { case "(($ac_try" in 3114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3115 *) ac_try_echo=$ac_try;; 3116 esac 3117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3118 $as_echo "$ac_try_echo"; } >&5 3119 (eval "$ac_try") 2>&5 3120 ac_status=$? 3121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3122 test $ac_status = 0; }; }; then 3123 cross_compiling=no 3124 else 3125 if test "$cross_compiling" = maybe; then 3126 cross_compiling=yes 3127 else 3128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3130 as_fn_error $? "cannot run C compiled programs. 3131 If you meant to cross compile, use \`--host'. 3132 See \`config.log' for more details" "$LINENO" 5; } 3133 fi 3134 fi 3135 fi 3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3137 $as_echo "$cross_compiling" >&6; } 3138 3139 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3140 ac_clean_files=$ac_clean_files_save 3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3142 $as_echo_n "checking for suffix of object files... " >&6; } 3143 if ${ac_cv_objext+:} false; then : 3144 $as_echo_n "(cached) " >&6 3145 else 3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3147 /* end confdefs.h. */ 3148 3149 int 3150 main () 3151 { 3152 3153 ; 3154 return 0; 3155 } 3156 _ACEOF 3157 rm -f conftest.o conftest.obj 3158 if { { ac_try="$ac_compile" 3159 case "(($ac_try" in 3160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3161 *) ac_try_echo=$ac_try;; 3162 esac 3163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3164 $as_echo "$ac_try_echo"; } >&5 3165 (eval "$ac_compile") 2>&5 3166 ac_status=$? 3167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3168 test $ac_status = 0; }; then : 3169 for ac_file in conftest.o conftest.obj conftest.*; do 3170 test -f "$ac_file" || continue; 3171 case $ac_file in 3172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3173 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3174 break;; 3175 esac 3176 done 3177 else 3178 $as_echo "$as_me: failed program was:" >&5 3179 sed 's/^/| /' conftest.$ac_ext >&5 3180 3181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3183 as_fn_error $? "cannot compute suffix of object files: cannot compile 3184 See \`config.log' for more details" "$LINENO" 5; } 3185 fi 3186 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3187 fi 3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3189 $as_echo "$ac_cv_objext" >&6; } 3190 OBJEXT=$ac_cv_objext 3191 ac_objext=$OBJEXT 3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3193 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3194 if ${ac_cv_c_compiler_gnu+:} false; then : 3195 $as_echo_n "(cached) " >&6 3196 else 3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3198 /* end confdefs.h. */ 3199 3200 int 3201 main () 3202 { 3203 #ifndef __GNUC__ 3204 choke me 3205 #endif 3206 3207 ; 3208 return 0; 3209 } 3210 _ACEOF 3211 if ac_fn_c_try_compile "$LINENO"; then : 3212 ac_compiler_gnu=yes 3213 else 3214 ac_compiler_gnu=no 3215 fi 3216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3217 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3218 3219 fi 3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3221 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3222 if test $ac_compiler_gnu = yes; then 3223 GCC=yes 3224 else 3225 GCC= 3226 fi 3227 ac_test_CFLAGS=${CFLAGS+set} 3228 ac_save_CFLAGS=$CFLAGS 3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3230 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3231 if ${ac_cv_prog_cc_g+:} false; then : 3232 $as_echo_n "(cached) " >&6 3233 else 3234 ac_save_c_werror_flag=$ac_c_werror_flag 3235 ac_c_werror_flag=yes 3236 ac_cv_prog_cc_g=no 3237 CFLAGS="-g" 3238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3239 /* end confdefs.h. */ 3240 3241 int 3242 main () 3243 { 3244 3245 ; 3246 return 0; 3247 } 3248 _ACEOF 3249 if ac_fn_c_try_compile "$LINENO"; then : 3250 ac_cv_prog_cc_g=yes 3251 else 3252 CFLAGS="" 3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3254 /* end confdefs.h. */ 3255 3256 int 3257 main () 3258 { 3259 3260 ; 3261 return 0; 3262 } 3263 _ACEOF 3264 if ac_fn_c_try_compile "$LINENO"; then : 3265 3266 else 3267 ac_c_werror_flag=$ac_save_c_werror_flag 3268 CFLAGS="-g" 3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3270 /* end confdefs.h. */ 3271 3272 int 3273 main () 3274 { 3275 3276 ; 3277 return 0; 3278 } 3279 _ACEOF 3280 if ac_fn_c_try_compile "$LINENO"; then : 3281 ac_cv_prog_cc_g=yes 3282 fi 3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3284 fi 3285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3286 fi 3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3288 ac_c_werror_flag=$ac_save_c_werror_flag 3289 fi 3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3291 $as_echo "$ac_cv_prog_cc_g" >&6; } 3292 if test "$ac_test_CFLAGS" = set; then 3293 CFLAGS=$ac_save_CFLAGS 3294 elif test $ac_cv_prog_cc_g = yes; then 3295 if test "$GCC" = yes; then 3296 CFLAGS="-g -O2" 3297 else 3298 CFLAGS="-g" 3299 fi 3300 else 3301 if test "$GCC" = yes; then 3302 CFLAGS="-O2" 3303 else 3304 CFLAGS= 3305 fi 3306 fi 3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3308 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3309 if ${ac_cv_prog_cc_c89+:} false; then : 3310 $as_echo_n "(cached) " >&6 3311 else 3312 ac_cv_prog_cc_c89=no 3313 ac_save_CC=$CC 3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3315 /* end confdefs.h. */ 3316 #include <stdarg.h> 3317 #include <stdio.h> 3318 #include <sys/types.h> 3319 #include <sys/stat.h> 3320 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3321 struct buf { int x; }; 3322 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3323 static char *e (p, i) 3324 char **p; 3325 int i; 3326 { 3327 return p[i]; 3328 } 3329 static char *f (char * (*g) (char **, int), char **p, ...) 3330 { 3331 char *s; 3332 va_list v; 3333 va_start (v,p); 3334 s = g (p, va_arg (v,int)); 3335 va_end (v); 3336 return s; 3337 } 3338 3339 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3340 function prototypes and stuff, but not '\xHH' hex character constants. 3341 These don't provoke an error unfortunately, instead are silently treated 3342 as 'x'. The following induces an error, until -std is added to get 3343 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3344 array size at least. It's necessary to write '\x00'==0 to get something 3345 that's true only with -std. */ 3346 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3347 3348 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3349 inside strings and character constants. */ 3350 #define FOO(x) 'x' 3351 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3352 3353 int test (int i, double x); 3354 struct s1 {int (*f) (int a);}; 3355 struct s2 {int (*f) (double a);}; 3356 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3357 int argc; 3358 char **argv; 3359 int 3360 main () 3361 { 3362 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3363 ; 3364 return 0; 3365 } 3366 _ACEOF 3367 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3368 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3369 do 3370 CC="$ac_save_CC $ac_arg" 3371 if ac_fn_c_try_compile "$LINENO"; then : 3372 ac_cv_prog_cc_c89=$ac_arg 3373 fi 3374 rm -f core conftest.err conftest.$ac_objext 3375 test "x$ac_cv_prog_cc_c89" != "xno" && break 3376 done 3377 rm -f conftest.$ac_ext 3378 CC=$ac_save_CC 3379 3380 fi 3381 # AC_CACHE_VAL 3382 case "x$ac_cv_prog_cc_c89" in 3383 x) 3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3385 $as_echo "none needed" >&6; } ;; 3386 xno) 3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3388 $as_echo "unsupported" >&6; } ;; 3389 *) 3390 CC="$CC $ac_cv_prog_cc_c89" 3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3392 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3393 esac 3394 if test "x$ac_cv_prog_cc_c89" != xno; then : 3395 3396 fi 3397 3398 ac_ext=c 3399 ac_cpp='$CPP $CPPFLAGS' 3400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3402 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3403 3404 depcc="$CC" am_compiler_list= 3405 3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3407 $as_echo_n "checking dependency style of $depcc... " >&6; } 3408 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3409 $as_echo_n "(cached) " >&6 3410 else 3411 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3412 # We make a subdir and do the tests there. Otherwise we can end up 3413 # making bogus files that we don't know about and never remove. For 3414 # instance it was reported that on HP-UX the gcc test will end up 3415 # making a dummy file named `D' -- because `-MD' means `put the output 3416 # in D'. 3417 mkdir conftest.dir 3418 # Copy depcomp to subdir because otherwise we won't find it if we're 3419 # using a relative directory. 3420 cp "$am_depcomp" conftest.dir 3421 cd conftest.dir 3422 # We will build objects and dependencies in a subdirectory because 3423 # it helps to detect inapplicable dependency modes. For instance 3424 # both Tru64's cc and ICC support -MD to output dependencies as a 3425 # side effect of compilation, but ICC will put the dependencies in 3426 # the current directory while Tru64 will put them in the object 3427 # directory. 3428 mkdir sub 3429 3430 am_cv_CC_dependencies_compiler_type=none 3431 if test "$am_compiler_list" = ""; then 3432 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3433 fi 3434 am__universal=false 3435 case " $depcc " in #( 3436 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3437 esac 3438 3439 for depmode in $am_compiler_list; do 3440 # Setup a source with many dependencies, because some compilers 3441 # like to wrap large dependency lists on column 80 (with \), and 3442 # we should not choose a depcomp mode which is confused by this. 3443 # 3444 # We need to recreate these files for each test, as the compiler may 3445 # overwrite some of them when testing with obscure command lines. 3446 # This happens at least with the AIX C compiler. 3447 : > sub/conftest.c 3448 for i in 1 2 3 4 5 6; do 3449 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3450 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3451 # Solaris 8's {/usr,}/bin/sh. 3452 touch sub/conftst$i.h 3453 done 3454 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3455 3456 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3457 # mode. It turns out that the SunPro C++ compiler does not properly 3458 # handle `-M -o', and we need to detect this. Also, some Intel 3459 # versions had trouble with output in subdirs 3460 am__obj=sub/conftest.${OBJEXT-o} 3461 am__minus_obj="-o $am__obj" 3462 case $depmode in 3463 gcc) 3464 # This depmode causes a compiler race in universal mode. 3465 test "$am__universal" = false || continue 3466 ;; 3467 nosideeffect) 3468 # after this tag, mechanisms are not by side-effect, so they'll 3469 # only be used when explicitly requested 3470 if test "x$enable_dependency_tracking" = xyes; then 3471 continue 3472 else 3473 break 3474 fi 3475 ;; 3476 msvisualcpp | msvcmsys) 3477 # This compiler won't grok `-c -o', but also, the minuso test has 3478 # not run yet. These depmodes are late enough in the game, and 3479 # so weak that their functioning should not be impacted. 3480 am__obj=conftest.${OBJEXT-o} 3481 am__minus_obj= 3482 ;; 3483 none) break ;; 3484 esac 3485 if depmode=$depmode \ 3486 source=sub/conftest.c object=$am__obj \ 3487 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3488 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3489 >/dev/null 2>conftest.err && 3490 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3491 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3492 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3493 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3494 # icc doesn't choke on unknown options, it will just issue warnings 3495 # or remarks (even with -Werror). So we grep stderr for any message 3496 # that says an option was ignored or not supported. 3497 # When given -MP, icc 7.0 and 7.1 complain thusly: 3498 # icc: Command line warning: ignoring option '-M'; no argument required 3499 # The diagnosis changed in icc 8.0: 3500 # icc: Command line remark: option '-MP' not supported 3501 if (grep 'ignoring option' conftest.err || 3502 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3503 am_cv_CC_dependencies_compiler_type=$depmode 3504 break 3505 fi 3506 fi 3507 done 3508 3509 cd .. 3510 rm -rf conftest.dir 3511 else 3512 am_cv_CC_dependencies_compiler_type=none 3513 fi 3514 3515 fi 3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3517 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3518 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3519 3520 if 3521 test "x$enable_dependency_tracking" != xno \ 3522 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3523 am__fastdepCC_TRUE= 3524 am__fastdepCC_FALSE='#' 3525 else 3526 am__fastdepCC_TRUE='#' 3527 am__fastdepCC_FALSE= 3528 fi 3529 3530 3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3532 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3533 if ${ac_cv_prog_cc_c99+:} false; then : 3534 $as_echo_n "(cached) " >&6 3535 else 3536 ac_cv_prog_cc_c99=no 3537 ac_save_CC=$CC 3538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3539 /* end confdefs.h. */ 3540 #include <stdarg.h> 3541 #include <stdbool.h> 3542 #include <stdlib.h> 3543 #include <wchar.h> 3544 #include <stdio.h> 3545 3546 // Check varargs macros. These examples are taken from C99 6.10.3.5. 3547 #define debug(...) fprintf (stderr, __VA_ARGS__) 3548 #define showlist(...) puts (#__VA_ARGS__) 3549 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3550 static void 3551 test_varargs_macros (void) 3552 { 3553 int x = 1234; 3554 int y = 5678; 3555 debug ("Flag"); 3556 debug ("X = %d\n", x); 3557 showlist (The first, second, and third items.); 3558 report (x>y, "x is %d but y is %d", x, y); 3559 } 3560 3561 // Check long long types. 3562 #define BIG64 18446744073709551615ull 3563 #define BIG32 4294967295ul 3564 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3565 #if !BIG_OK 3566 your preprocessor is broken; 3567 #endif 3568 #if BIG_OK 3569 #else 3570 your preprocessor is broken; 3571 #endif 3572 static long long int bignum = -9223372036854775807LL; 3573 static unsigned long long int ubignum = BIG64; 3574 3575 struct incomplete_array 3576 { 3577 int datasize; 3578 double data[]; 3579 }; 3580 3581 struct named_init { 3582 int number; 3583 const wchar_t *name; 3584 double average; 3585 }; 3586 3587 typedef const char *ccp; 3588 3589 static inline int 3590 test_restrict (ccp restrict text) 3591 { 3592 // See if C++-style comments work. 3593 // Iterate through items via the restricted pointer. 3594 // Also check for declarations in for loops. 3595 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3596 continue; 3597 return 0; 3598 } 3599 3600 // Check varargs and va_copy. 3601 static void 3602 test_varargs (const char *format, ...) 3603 { 3604 va_list args; 3605 va_start (args, format); 3606 va_list args_copy; 3607 va_copy (args_copy, args); 3608 3609 const char *str; 3610 int number; 3611 float fnumber; 3612 3613 while (*format) 3614 { 3615 switch (*format++) 3616 { 3617 case 's': // string 3618 str = va_arg (args_copy, const char *); 3619 break; 3620 case 'd': // int 3621 number = va_arg (args_copy, int); 3622 break; 3623 case 'f': // float 3624 fnumber = va_arg (args_copy, double); 3625 break; 3626 default: 3627 break; 3628 } 3629 } 3630 va_end (args_copy); 3631 va_end (args); 3632 } 3633 3634 int 3635 main () 3636 { 3637 3638 // Check bool. 3639 _Bool success = false; 3640 3641 // Check restrict. 3642 if (test_restrict ("String literal") == 0) 3643 success = true; 3644 char *restrict newvar = "Another string"; 3645 3646 // Check varargs. 3647 test_varargs ("s, d' f .", "string", 65, 34.234); 3648 test_varargs_macros (); 3649 3650 // Check flexible array members. 3651 struct incomplete_array *ia = 3652 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3653 ia->datasize = 10; 3654 for (int i = 0; i < ia->datasize; ++i) 3655 ia->data[i] = i * 1.234; 3656 3657 // Check named initializers. 3658 struct named_init ni = { 3659 .number = 34, 3660 .name = L"Test wide string", 3661 .average = 543.34343, 3662 }; 3663 3664 ni.number = 58; 3665 3666 int dynamic_array[ni.number]; 3667 dynamic_array[ni.number - 1] = 543; 3668 3669 // work around unused variable warnings 3670 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3671 || dynamic_array[ni.number - 1] != 543); 3672 3673 ; 3674 return 0; 3675 } 3676 _ACEOF 3677 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 3678 do 3679 CC="$ac_save_CC $ac_arg" 3680 if ac_fn_c_try_compile "$LINENO"; then : 3681 ac_cv_prog_cc_c99=$ac_arg 3682 fi 3683 rm -f core conftest.err conftest.$ac_objext 3684 test "x$ac_cv_prog_cc_c99" != "xno" && break 3685 done 3686 rm -f conftest.$ac_ext 3687 CC=$ac_save_CC 3688 3689 fi 3690 # AC_CACHE_VAL 3691 case "x$ac_cv_prog_cc_c99" in 3692 x) 3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3694 $as_echo "none needed" >&6; } ;; 3695 xno) 3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3697 $as_echo "unsupported" >&6; } ;; 3698 *) 3699 CC="$CC $ac_cv_prog_cc_c99" 3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3701 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3702 esac 3703 if test "x$ac_cv_prog_cc_c99" != xno; then : 3704 3705 fi 3706 3707 3708 3709 ac_ext=c 3710 ac_cpp='$CPP $CPPFLAGS' 3711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3713 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3715 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3716 # On Suns, sometimes $CPP names a directory. 3717 if test -n "$CPP" && test -d "$CPP"; then 3718 CPP= 3719 fi 3720 if test -z "$CPP"; then 3721 if ${ac_cv_prog_CPP+:} false; then : 3722 $as_echo_n "(cached) " >&6 3723 else 3724 # Double quotes because CPP needs to be expanded 3725 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3726 do 3727 ac_preproc_ok=false 3728 for ac_c_preproc_warn_flag in '' yes 3729 do 3730 # Use a header file that comes with gcc, so configuring glibc 3731 # with a fresh cross-compiler works. 3732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3733 # <limits.h> exists even on freestanding compilers. 3734 # On the NeXT, cc -E runs the code through the compiler's parser, 3735 # not just through cpp. "Syntax error" is here to catch this case. 3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3737 /* end confdefs.h. */ 3738 #ifdef __STDC__ 3739 # include <limits.h> 3740 #else 3741 # include <assert.h> 3742 #endif 3743 Syntax error 3744 _ACEOF 3745 if ac_fn_c_try_cpp "$LINENO"; then : 3746 3747 else 3748 # Broken: fails on valid input. 3749 continue 3750 fi 3751 rm -f conftest.err conftest.i conftest.$ac_ext 3752 3753 # OK, works on sane cases. Now check whether nonexistent headers 3754 # can be detected and how. 3755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3756 /* end confdefs.h. */ 3757 #include <ac_nonexistent.h> 3758 _ACEOF 3759 if ac_fn_c_try_cpp "$LINENO"; then : 3760 # Broken: success on invalid input. 3761 continue 3762 else 3763 # Passes both tests. 3764 ac_preproc_ok=: 3765 break 3766 fi 3767 rm -f conftest.err conftest.i conftest.$ac_ext 3768 3769 done 3770 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3771 rm -f conftest.i conftest.err conftest.$ac_ext 3772 if $ac_preproc_ok; then : 3773 break 3774 fi 3775 3776 done 3777 ac_cv_prog_CPP=$CPP 3778 3779 fi 3780 CPP=$ac_cv_prog_CPP 3781 else 3782 ac_cv_prog_CPP=$CPP 3783 fi 3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3785 $as_echo "$CPP" >&6; } 3786 ac_preproc_ok=false 3787 for ac_c_preproc_warn_flag in '' yes 3788 do 3789 # Use a header file that comes with gcc, so configuring glibc 3790 # with a fresh cross-compiler works. 3791 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3792 # <limits.h> exists even on freestanding compilers. 3793 # On the NeXT, cc -E runs the code through the compiler's parser, 3794 # not just through cpp. "Syntax error" is here to catch this case. 3795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3796 /* end confdefs.h. */ 3797 #ifdef __STDC__ 3798 # include <limits.h> 3799 #else 3800 # include <assert.h> 3801 #endif 3802 Syntax error 3803 _ACEOF 3804 if ac_fn_c_try_cpp "$LINENO"; then : 3805 3806 else 3807 # Broken: fails on valid input. 3808 continue 3809 fi 3810 rm -f conftest.err conftest.i conftest.$ac_ext 3811 3812 # OK, works on sane cases. Now check whether nonexistent headers 3813 # can be detected and how. 3814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3815 /* end confdefs.h. */ 3816 #include <ac_nonexistent.h> 3817 _ACEOF 3818 if ac_fn_c_try_cpp "$LINENO"; then : 3819 # Broken: success on invalid input. 3820 continue 3821 else 3822 # Passes both tests. 3823 ac_preproc_ok=: 3824 break 3825 fi 3826 rm -f conftest.err conftest.i conftest.$ac_ext 3827 3828 done 3829 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3830 rm -f conftest.i conftest.err conftest.$ac_ext 3831 if $ac_preproc_ok; then : 3832 3833 else 3834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3836 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3837 See \`config.log' for more details" "$LINENO" 5; } 3838 fi 3839 3840 ac_ext=c 3841 ac_cpp='$CPP $CPPFLAGS' 3842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3844 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3845 3846 3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3848 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3849 if ${ac_cv_path_GREP+:} false; then : 3850 $as_echo_n "(cached) " >&6 3851 else 3852 if test -z "$GREP"; then 3853 ac_path_GREP_found=false 3854 # Loop through the user's path and test for each of PROGNAME-LIST 3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3856 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3857 do 3858 IFS=$as_save_IFS 3859 test -z "$as_dir" && as_dir=. 3860 for ac_prog in grep ggrep; do 3861 for ac_exec_ext in '' $ac_executable_extensions; do 3862 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3863 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3864 # Check for GNU ac_path_GREP and select it if it is found. 3865 # Check for GNU $ac_path_GREP 3866 case `"$ac_path_GREP" --version 2>&1` in 3867 *GNU*) 3868 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3869 *) 3870 ac_count=0 3871 $as_echo_n 0123456789 >"conftest.in" 3872 while : 3873 do 3874 cat "conftest.in" "conftest.in" >"conftest.tmp" 3875 mv "conftest.tmp" "conftest.in" 3876 cp "conftest.in" "conftest.nl" 3877 $as_echo 'GREP' >> "conftest.nl" 3878 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3879 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3880 as_fn_arith $ac_count + 1 && ac_count=$as_val 3881 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3882 # Best one so far, save it but keep looking for a better one 3883 ac_cv_path_GREP="$ac_path_GREP" 3884 ac_path_GREP_max=$ac_count 3885 fi 3886 # 10*(2^10) chars as input seems more than enough 3887 test $ac_count -gt 10 && break 3888 done 3889 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3890 esac 3891 3892 $ac_path_GREP_found && break 3 3893 done 3894 done 3895 done 3896 IFS=$as_save_IFS 3897 if test -z "$ac_cv_path_GREP"; then 3898 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3899 fi 3900 else 3901 ac_cv_path_GREP=$GREP 3902 fi 3903 3904 fi 3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3906 $as_echo "$ac_cv_path_GREP" >&6; } 3907 GREP="$ac_cv_path_GREP" 3908 3909 3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3911 $as_echo_n "checking for egrep... " >&6; } 3912 if ${ac_cv_path_EGREP+:} false; then : 3913 $as_echo_n "(cached) " >&6 3914 else 3915 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3916 then ac_cv_path_EGREP="$GREP -E" 3917 else 3918 if test -z "$EGREP"; then 3919 ac_path_EGREP_found=false 3920 # Loop through the user's path and test for each of PROGNAME-LIST 3921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3922 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3923 do 3924 IFS=$as_save_IFS 3925 test -z "$as_dir" && as_dir=. 3926 for ac_prog in egrep; do 3927 for ac_exec_ext in '' $ac_executable_extensions; do 3928 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3929 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3930 # Check for GNU ac_path_EGREP and select it if it is found. 3931 # Check for GNU $ac_path_EGREP 3932 case `"$ac_path_EGREP" --version 2>&1` in 3933 *GNU*) 3934 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3935 *) 3936 ac_count=0 3937 $as_echo_n 0123456789 >"conftest.in" 3938 while : 3939 do 3940 cat "conftest.in" "conftest.in" >"conftest.tmp" 3941 mv "conftest.tmp" "conftest.in" 3942 cp "conftest.in" "conftest.nl" 3943 $as_echo 'EGREP' >> "conftest.nl" 3944 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3945 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3946 as_fn_arith $ac_count + 1 && ac_count=$as_val 3947 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3948 # Best one so far, save it but keep looking for a better one 3949 ac_cv_path_EGREP="$ac_path_EGREP" 3950 ac_path_EGREP_max=$ac_count 3951 fi 3952 # 10*(2^10) chars as input seems more than enough 3953 test $ac_count -gt 10 && break 3954 done 3955 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3956 esac 3957 3958 $ac_path_EGREP_found && break 3 3959 done 3960 done 3961 done 3962 IFS=$as_save_IFS 3963 if test -z "$ac_cv_path_EGREP"; then 3964 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3965 fi 3966 else 3967 ac_cv_path_EGREP=$EGREP 3968 fi 3969 3970 fi 3971 fi 3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3973 $as_echo "$ac_cv_path_EGREP" >&6; } 3974 EGREP="$ac_cv_path_EGREP" 3975 3976 3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3978 $as_echo_n "checking for ANSI C header files... " >&6; } 3979 if ${ac_cv_header_stdc+:} false; then : 3980 $as_echo_n "(cached) " >&6 3981 else 3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3983 /* end confdefs.h. */ 3984 #include <stdlib.h> 3985 #include <stdarg.h> 3986 #include <string.h> 3987 #include <float.h> 3988 3989 int 3990 main () 3991 { 3992 3993 ; 3994 return 0; 3995 } 3996 _ACEOF 3997 if ac_fn_c_try_compile "$LINENO"; then : 3998 ac_cv_header_stdc=yes 3999 else 4000 ac_cv_header_stdc=no 4001 fi 4002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4003 4004 if test $ac_cv_header_stdc = yes; then 4005 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4007 /* end confdefs.h. */ 4008 #include <string.h> 4009 4010 _ACEOF 4011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4012 $EGREP "memchr" >/dev/null 2>&1; then : 4013 4014 else 4015 ac_cv_header_stdc=no 4016 fi 4017 rm -f conftest* 4018 4019 fi 4020 4021 if test $ac_cv_header_stdc = yes; then 4022 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4024 /* end confdefs.h. */ 4025 #include <stdlib.h> 4026 4027 _ACEOF 4028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4029 $EGREP "free" >/dev/null 2>&1; then : 4030 4031 else 4032 ac_cv_header_stdc=no 4033 fi 4034 rm -f conftest* 4035 4036 fi 4037 4038 if test $ac_cv_header_stdc = yes; then 4039 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4040 if test "$cross_compiling" = yes; then : 4041 : 4042 else 4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4044 /* end confdefs.h. */ 4045 #include <ctype.h> 4046 #include <stdlib.h> 4047 #if ((' ' & 0x0FF) == 0x020) 4048 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4049 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4050 #else 4051 # define ISLOWER(c) \ 4052 (('a' <= (c) && (c) <= 'i') \ 4053 || ('j' <= (c) && (c) <= 'r') \ 4054 || ('s' <= (c) && (c) <= 'z')) 4055 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4056 #endif 4057 4058 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4059 int 4060 main () 4061 { 4062 int i; 4063 for (i = 0; i < 256; i++) 4064 if (XOR (islower (i), ISLOWER (i)) 4065 || toupper (i) != TOUPPER (i)) 4066 return 2; 4067 return 0; 4068 } 4069 _ACEOF 4070 if ac_fn_c_try_run "$LINENO"; then : 4071 4072 else 4073 ac_cv_header_stdc=no 4074 fi 4075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4076 conftest.$ac_objext conftest.beam conftest.$ac_ext 4077 fi 4078 4079 fi 4080 fi 4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4082 $as_echo "$ac_cv_header_stdc" >&6; } 4083 if test $ac_cv_header_stdc = yes; then 4084 4085 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4086 4087 fi 4088 4089 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4090 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4091 inttypes.h stdint.h unistd.h 4092 do : 4093 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4094 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4095 " 4096 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4097 cat >>confdefs.h <<_ACEOF 4098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4099 _ACEOF 4100 4101 fi 4102 4103 done 4104 4105 4106 4107 4108 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4109 if test -n "$ac_tool_prefix"; then 4110 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4111 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4113 $as_echo_n "checking for $ac_word... " >&6; } 4114 if ${ac_cv_path_PKG_CONFIG+:} false; then : 4115 $as_echo_n "(cached) " >&6 4116 else 4117 case $PKG_CONFIG in 4118 [\\/]* | ?:[\\/]*) 4119 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4120 ;; 4121 *) 4122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4123 for as_dir in $PATH 4124 do 4125 IFS=$as_save_IFS 4126 test -z "$as_dir" && as_dir=. 4127 for ac_exec_ext in '' $ac_executable_extensions; do 4128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4129 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4131 break 2 4132 fi 4133 done 4134 done 4135 IFS=$as_save_IFS 4136 4137 ;; 4138 esac 4139 fi 4140 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4141 if test -n "$PKG_CONFIG"; then 4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4143 $as_echo "$PKG_CONFIG" >&6; } 4144 else 4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4146 $as_echo "no" >&6; } 4147 fi 4148 4149 4150 fi 4151 if test -z "$ac_cv_path_PKG_CONFIG"; then 4152 ac_pt_PKG_CONFIG=$PKG_CONFIG 4153 # Extract the first word of "pkg-config", so it can be a program name with args. 4154 set dummy pkg-config; ac_word=$2 4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4156 $as_echo_n "checking for $ac_word... " >&6; } 4157 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4158 $as_echo_n "(cached) " >&6 4159 else 4160 case $ac_pt_PKG_CONFIG in 4161 [\\/]* | ?:[\\/]*) 4162 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4163 ;; 4164 *) 4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4166 for as_dir in $PATH 4167 do 4168 IFS=$as_save_IFS 4169 test -z "$as_dir" && as_dir=. 4170 for ac_exec_ext in '' $ac_executable_extensions; do 4171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4172 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4174 break 2 4175 fi 4176 done 4177 done 4178 IFS=$as_save_IFS 4179 4180 ;; 4181 esac 4182 fi 4183 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4184 if test -n "$ac_pt_PKG_CONFIG"; then 4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4186 $as_echo "$ac_pt_PKG_CONFIG" >&6; } 4187 else 4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4189 $as_echo "no" >&6; } 4190 fi 4191 4192 if test "x$ac_pt_PKG_CONFIG" = x; then 4193 PKG_CONFIG="" 4194 else 4195 case $cross_compiling:$ac_tool_warned in 4196 yes:) 4197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4199 ac_tool_warned=yes ;; 4200 esac 4201 PKG_CONFIG=$ac_pt_PKG_CONFIG 4202 fi 4203 else 4204 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4205 fi 4206 4207 fi 4208 if test -n "$PKG_CONFIG"; then 4209 _pkg_min_version=0.9.0 4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4211 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4212 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4214 $as_echo "yes" >&6; } 4215 else 4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4217 $as_echo "no" >&6; } 4218 PKG_CONFIG="" 4219 fi 4220 4221 fi 4222 # Make sure we can run config.sub. 4223 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4224 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4225 4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4227 $as_echo_n "checking build system type... " >&6; } 4228 if ${ac_cv_build+:} false; then : 4229 $as_echo_n "(cached) " >&6 4230 else 4231 ac_build_alias=$build_alias 4232 test "x$ac_build_alias" = x && 4233 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4234 test "x$ac_build_alias" = x && 4235 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4236 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4237 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4238 4239 fi 4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4241 $as_echo "$ac_cv_build" >&6; } 4242 case $ac_cv_build in 4243 *-*-*) ;; 4244 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4245 esac 4246 build=$ac_cv_build 4247 ac_save_IFS=$IFS; IFS='-' 4248 set x $ac_cv_build 4249 shift 4250 build_cpu=$1 4251 build_vendor=$2 4252 shift; shift 4253 # Remember, the first character of IFS is used to create $*, 4254 # except with old shells: 4255 build_os=$* 4256 IFS=$ac_save_IFS 4257 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4258 4259 4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4261 $as_echo_n "checking host system type... " >&6; } 4262 if ${ac_cv_host+:} false; then : 4263 $as_echo_n "(cached) " >&6 4264 else 4265 if test "x$host_alias" = x; then 4266 ac_cv_host=$ac_cv_build 4267 else 4268 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4269 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4270 fi 4271 4272 fi 4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4274 $as_echo "$ac_cv_host" >&6; } 4275 case $ac_cv_host in 4276 *-*-*) ;; 4277 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4278 esac 4279 host=$ac_cv_host 4280 ac_save_IFS=$IFS; IFS='-' 4281 set x $ac_cv_host 4282 shift 4283 host_cpu=$1 4284 host_vendor=$2 4285 shift; shift 4286 # Remember, the first character of IFS is used to create $*, 4287 # except with old shells: 4288 host_os=$* 4289 IFS=$ac_save_IFS 4290 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4291 4292 4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4294 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 4295 if ${ac_cv_path_SED+:} false; then : 4296 $as_echo_n "(cached) " >&6 4297 else 4298 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4299 for ac_i in 1 2 3 4 5 6 7; do 4300 ac_script="$ac_script$as_nl$ac_script" 4301 done 4302 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4303 { ac_script=; unset ac_script;} 4304 if test -z "$SED"; then 4305 ac_path_SED_found=false 4306 # Loop through the user's path and test for each of PROGNAME-LIST 4307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4308 for as_dir in $PATH 4309 do 4310 IFS=$as_save_IFS 4311 test -z "$as_dir" && as_dir=. 4312 for ac_prog in sed gsed; do 4313 for ac_exec_ext in '' $ac_executable_extensions; do 4314 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4315 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4316 # Check for GNU ac_path_SED and select it if it is found. 4317 # Check for GNU $ac_path_SED 4318 case `"$ac_path_SED" --version 2>&1` in 4319 *GNU*) 4320 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4321 *) 4322 ac_count=0 4323 $as_echo_n 0123456789 >"conftest.in" 4324 while : 4325 do 4326 cat "conftest.in" "conftest.in" >"conftest.tmp" 4327 mv "conftest.tmp" "conftest.in" 4328 cp "conftest.in" "conftest.nl" 4329 $as_echo '' >> "conftest.nl" 4330 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4331 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4332 as_fn_arith $ac_count + 1 && ac_count=$as_val 4333 if test $ac_count -gt ${ac_path_SED_max-0}; then 4334 # Best one so far, save it but keep looking for a better one 4335 ac_cv_path_SED="$ac_path_SED" 4336 ac_path_SED_max=$ac_count 4337 fi 4338 # 10*(2^10) chars as input seems more than enough 4339 test $ac_count -gt 10 && break 4340 done 4341 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4342 esac 4343 4344 $ac_path_SED_found && break 3 4345 done 4346 done 4347 done 4348 IFS=$as_save_IFS 4349 if test -z "$ac_cv_path_SED"; then 4350 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4351 fi 4352 else 4353 ac_cv_path_SED=$SED 4354 fi 4355 4356 fi 4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4358 $as_echo "$ac_cv_path_SED" >&6; } 4359 SED="$ac_cv_path_SED" 4360 rm -f conftest.sed 4361 4362 4363 4364 4365 4366 if test "x$GCC" = xyes ; then 4367 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 4368 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4369 -Wbad-function-cast -Wformat=2" 4370 case `$CC -dumpversion` in 4371 3.4.* | 4.*) 4372 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 4373 ;; 4374 esac 4375 else 4376 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4377 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4378 SUNCC="yes" 4379 else 4380 SUNCC="no" 4381 fi 4382 4383 if test "x$SUNCC" = "xyes"; then 4384 CWARNFLAGS="-v" 4385 fi 4386 fi 4387 4388 4389 4390 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 4391 4392 4393 4394 # Check whether --enable-strict-compilation was given. 4395 if test "${enable_strict_compilation+set}" = set; then : 4396 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4397 else 4398 STRICT_COMPILE=no 4399 fi 4400 4401 if test "x$STRICT_COMPILE" = "xyes"; then 4402 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4403 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4404 SUNCC="yes" 4405 else 4406 SUNCC="no" 4407 fi 4408 4409 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4410 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4411 INTELCC="yes" 4412 else 4413 INTELCC="no" 4414 fi 4415 4416 if test "x$GCC" = xyes ; then 4417 STRICT_CFLAGS="-pedantic -Werror" 4418 elif test "x$SUNCC" = "xyes"; then 4419 STRICT_CFLAGS="-errwarn" 4420 elif test "x$INTELCC" = "xyes"; then 4421 STRICT_CFLAGS="-Werror" 4422 fi 4423 fi 4424 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4425 4426 4427 4428 4429 cat >>confdefs.h <<_ACEOF 4430 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4431 _ACEOF 4432 4433 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4434 if test "x$PVM" = "x"; then 4435 PVM="0" 4436 fi 4437 4438 cat >>confdefs.h <<_ACEOF 4439 #define PACKAGE_VERSION_MINOR $PVM 4440 _ACEOF 4441 4442 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4443 if test "x$PVP" = "x"; then 4444 PVP="0" 4445 fi 4446 4447 cat >>confdefs.h <<_ACEOF 4448 #define PACKAGE_VERSION_PATCHLEVEL $PVP 4449 _ACEOF 4450 4451 4452 4453 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 4454 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 4455 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 4456 echo 'git directory not found: installing possibly empty changelog.' >&2)" 4457 4458 4459 4460 4461 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 4462 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 4463 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 4464 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 4465 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4466 4467 4468 4469 4470 4471 4472 if test x$APP_MAN_SUFFIX = x ; then 4473 APP_MAN_SUFFIX=1 4474 fi 4475 if test x$APP_MAN_DIR = x ; then 4476 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4477 fi 4478 4479 if test x$LIB_MAN_SUFFIX = x ; then 4480 LIB_MAN_SUFFIX=3 4481 fi 4482 if test x$LIB_MAN_DIR = x ; then 4483 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4484 fi 4485 4486 if test x$FILE_MAN_SUFFIX = x ; then 4487 case $host_os in 4488 solaris*) FILE_MAN_SUFFIX=4 ;; 4489 *) FILE_MAN_SUFFIX=5 ;; 4490 esac 4491 fi 4492 if test x$FILE_MAN_DIR = x ; then 4493 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4494 fi 4495 4496 if test x$MISC_MAN_SUFFIX = x ; then 4497 case $host_os in 4498 solaris*) MISC_MAN_SUFFIX=5 ;; 4499 *) MISC_MAN_SUFFIX=7 ;; 4500 esac 4501 fi 4502 if test x$MISC_MAN_DIR = x ; then 4503 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4504 fi 4505 4506 if test x$DRIVER_MAN_SUFFIX = x ; then 4507 case $host_os in 4508 solaris*) DRIVER_MAN_SUFFIX=7 ;; 4509 *) DRIVER_MAN_SUFFIX=4 ;; 4510 esac 4511 fi 4512 if test x$DRIVER_MAN_DIR = x ; then 4513 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4514 fi 4515 4516 if test x$ADMIN_MAN_SUFFIX = x ; then 4517 case $host_os in 4518 solaris*) ADMIN_MAN_SUFFIX=1m ;; 4519 *) ADMIN_MAN_SUFFIX=8 ;; 4520 esac 4521 fi 4522 if test x$ADMIN_MAN_DIR = x ; then 4523 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4524 fi 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 XORG_MAN_PAGE="X Version 11" 4541 4542 MAN_SUBSTS="\ 4543 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4544 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4545 -e 's|__xservername__|Xorg|g' \ 4546 -e 's|__xconfigfile__|xorg.conf|g' \ 4547 -e 's|__projectroot__|\$(prefix)|g' \ 4548 -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 4549 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 4550 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 4551 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 4552 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 4553 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 4554 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 4555 4556 4557 4558 # Check whether --enable-silent-rules was given. 4559 if test "${enable_silent_rules+set}" = set; then : 4560 enableval=$enable_silent_rules; 4561 fi 4562 4563 case $enable_silent_rules in 4564 yes) AM_DEFAULT_VERBOSITY=0;; 4565 no) AM_DEFAULT_VERBOSITY=1;; 4566 *) AM_DEFAULT_VERBOSITY=0;; 4567 esac 4568 AM_BACKSLASH='\' 4569 4570 4571 4572 ac_config_files="$ac_config_files Makefile evieproto.pc" 4573 4574 cat >confcache <<\_ACEOF 4575 # This file is a shell script that caches the results of configure 4576 # tests run on this system so they can be shared between configure 4577 # scripts and configure runs, see configure's option --config-cache. 4578 # It is not useful on other systems. If it contains results you don't 4579 # want to keep, you may remove or edit it. 4580 # 4581 # config.status only pays attention to the cache file if you give it 4582 # the --recheck option to rerun configure. 4583 # 4584 # `ac_cv_env_foo' variables (set or unset) will be overridden when 4585 # loading this file, other *unset* `ac_cv_foo' will be assigned the 4586 # following values. 4587 4588 _ACEOF 4589 4590 # The following way of writing the cache mishandles newlines in values, 4591 # but we know of no workaround that is simple, portable, and efficient. 4592 # So, we kill variables containing newlines. 4593 # Ultrix sh set writes to stderr and can't be redirected directly, 4594 # and sets the high bit in the cache file unless we assign to the vars. 4595 ( 4596 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4597 eval ac_val=\$$ac_var 4598 case $ac_val in #( 4599 *${as_nl}*) 4600 case $ac_var in #( 4601 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4602 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4603 esac 4604 case $ac_var in #( 4605 _ | IFS | as_nl) ;; #( 4606 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4607 *) { eval $ac_var=; unset $ac_var;} ;; 4608 esac ;; 4609 esac 4610 done 4611 4612 (set) 2>&1 | 4613 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4614 *${as_nl}ac_space=\ *) 4615 # `set' does not quote correctly, so add quotes: double-quote 4616 # substitution turns \\\\ into \\, and sed turns \\ into \. 4617 sed -n \ 4618 "s/'/'\\\\''/g; 4619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4620 ;; #( 4621 *) 4622 # `set' quotes correctly as required by POSIX, so do not add quotes. 4623 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4624 ;; 4625 esac | 4626 sort 4627 ) | 4628 sed ' 4629 /^ac_cv_env_/b end 4630 t clear 4631 :clear 4632 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4633 t end 4634 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4635 :end' >>confcache 4636 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4637 if test -w "$cache_file"; then 4638 if test "x$cache_file" != "x/dev/null"; then 4639 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4640 $as_echo "$as_me: updating cache $cache_file" >&6;} 4641 if test ! -f "$cache_file" || test -h "$cache_file"; then 4642 cat confcache >"$cache_file" 4643 else 4644 case $cache_file in #( 4645 */* | ?:*) 4646 mv -f confcache "$cache_file"$$ && 4647 mv -f "$cache_file"$$ "$cache_file" ;; #( 4648 *) 4649 mv -f confcache "$cache_file" ;; 4650 esac 4651 fi 4652 fi 4653 else 4654 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4655 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4656 fi 4657 fi 4658 rm -f confcache 4659 4660 test "x$prefix" = xNONE && prefix=$ac_default_prefix 4661 # Let make expand exec_prefix. 4662 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4663 4664 # Transform confdefs.h into DEFS. 4665 # Protect against shell expansion while executing Makefile rules. 4666 # Protect against Makefile macro expansion. 4667 # 4668 # If the first sed substitution is executed (which looks for macros that 4669 # take arguments), then branch to the quote section. Otherwise, 4670 # look for a macro that doesn't take arguments. 4671 ac_script=' 4672 :mline 4673 /\\$/{ 4674 N 4675 s,\\\n,, 4676 b mline 4677 } 4678 t clear 4679 :clear 4680 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4681 t quote 4682 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4683 t quote 4684 b any 4685 :quote 4686 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 4687 s/\[/\\&/g 4688 s/\]/\\&/g 4689 s/\$/$$/g 4690 H 4691 :any 4692 ${ 4693 g 4694 s/^\n// 4695 s/\n/ /g 4696 p 4697 } 4698 ' 4699 DEFS=`sed -n "$ac_script" confdefs.h` 4700 4701 4702 ac_libobjs= 4703 ac_ltlibobjs= 4704 U= 4705 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4706 # 1. Remove the extension, and $U if already installed. 4707 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4708 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4709 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4710 # will be set to the directory where LIBOBJS objects are built. 4711 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4712 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4713 done 4714 LIBOBJS=$ac_libobjs 4715 4716 LTLIBOBJS=$ac_ltlibobjs 4717 4718 4719 if test -n "$EXEEXT"; then 4720 am__EXEEXT_TRUE= 4721 am__EXEEXT_FALSE='#' 4722 else 4723 am__EXEEXT_TRUE='#' 4724 am__EXEEXT_FALSE= 4725 fi 4726 4727 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 4728 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 4729 Usually this means the macro was only invoked conditionally." "$LINENO" 5 4730 fi 4731 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4732 as_fn_error $? "conditional \"AMDEP\" was never defined. 4733 Usually this means the macro was only invoked conditionally." "$LINENO" 5 4734 fi 4735 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4736 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 4737 Usually this means the macro was only invoked conditionally." "$LINENO" 5 4738 fi 4739 4740 : "${CONFIG_STATUS=./config.status}" 4741 ac_write_fail=0 4742 ac_clean_files_save=$ac_clean_files 4743 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4744 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4745 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4746 as_write_fail=0 4747 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4748 #! $SHELL 4749 # Generated by $as_me. 4750 # Run this file to recreate the current configuration. 4751 # Compiler output produced by configure, useful for debugging 4752 # configure, is in config.log if it exists. 4753 4754 debug=false 4755 ac_cs_recheck=false 4756 ac_cs_silent=false 4757 4758 SHELL=\${CONFIG_SHELL-$SHELL} 4759 export SHELL 4760 _ASEOF 4761 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4762 ## -------------------- ## 4763 ## M4sh Initialization. ## 4764 ## -------------------- ## 4765 4766 # Be more Bourne compatible 4767 DUALCASE=1; export DUALCASE # for MKS sh 4768 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4769 emulate sh 4770 NULLCMD=: 4771 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4772 # is contrary to our usage. Disable this feature. 4773 alias -g '${1+"$@"}'='"$@"' 4774 setopt NO_GLOB_SUBST 4775 else 4776 case `(set -o) 2>/dev/null` in #( 4777 *posix*) : 4778 set -o posix ;; #( 4779 *) : 4780 ;; 4781 esac 4782 fi 4783 4784 4785 as_nl=' 4786 ' 4787 export as_nl 4788 # Printing a long string crashes Solaris 7 /usr/bin/printf. 4789 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4790 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4791 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4792 # Prefer a ksh shell builtin over an external printf program on Solaris, 4793 # but without wasting forks for bash or zsh. 4794 if test -z "$BASH_VERSION$ZSH_VERSION" \ 4795 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4796 as_echo='print -r --' 4797 as_echo_n='print -rn --' 4798 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4799 as_echo='printf %s\n' 4800 as_echo_n='printf %s' 4801 else 4802 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4803 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4804 as_echo_n='/usr/ucb/echo -n' 4805 else 4806 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4807 as_echo_n_body='eval 4808 arg=$1; 4809 case $arg in #( 4810 *"$as_nl"*) 4811 expr "X$arg" : "X\\(.*\\)$as_nl"; 4812 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4813 esac; 4814 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4815 ' 4816 export as_echo_n_body 4817 as_echo_n='sh -c $as_echo_n_body as_echo' 4818 fi 4819 export as_echo_body 4820 as_echo='sh -c $as_echo_body as_echo' 4821 fi 4822 4823 # The user is always right. 4824 if test "${PATH_SEPARATOR+set}" != set; then 4825 PATH_SEPARATOR=: 4826 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4827 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4828 PATH_SEPARATOR=';' 4829 } 4830 fi 4831 4832 4833 # IFS 4834 # We need space, tab and new line, in precisely that order. Quoting is 4835 # there to prevent editors from complaining about space-tab. 4836 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 4837 # splitting by setting IFS to empty value.) 4838 IFS=" "" $as_nl" 4839 4840 # Find who we are. Look in the path if we contain no directory separator. 4841 as_myself= 4842 case $0 in #(( 4843 *[\\/]* ) as_myself=$0 ;; 4844 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4845 for as_dir in $PATH 4846 do 4847 IFS=$as_save_IFS 4848 test -z "$as_dir" && as_dir=. 4849 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4850 done 4851 IFS=$as_save_IFS 4852 4853 ;; 4854 esac 4855 # We did not find ourselves, most probably we were run as `sh COMMAND' 4856 # in which case we are not to be found in the path. 4857 if test "x$as_myself" = x; then 4858 as_myself=$0 4859 fi 4860 if test ! -f "$as_myself"; then 4861 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4862 exit 1 4863 fi 4864 4865 # Unset variables that we do not need and which cause bugs (e.g. in 4866 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4867 # suppresses any "Segmentation fault" message there. '((' could 4868 # trigger a bug in pdksh 5.2.14. 4869 for as_var in BASH_ENV ENV MAIL MAILPATH 4870 do eval test x\${$as_var+set} = xset \ 4871 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4872 done 4873 PS1='$ ' 4874 PS2='> ' 4875 PS4='+ ' 4876 4877 # NLS nuisances. 4878 LC_ALL=C 4879 export LC_ALL 4880 LANGUAGE=C 4881 export LANGUAGE 4882 4883 # CDPATH. 4884 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4885 4886 4887 # as_fn_error STATUS ERROR [LINENO LOG_FD] 4888 # ---------------------------------------- 4889 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4890 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4891 # script with STATUS, using 1 if that was 0. 4892 as_fn_error () 4893 { 4894 as_status=$1; test $as_status -eq 0 && as_status=1 4895 if test "$4"; then 4896 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4897 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4898 fi 4899 $as_echo "$as_me: error: $2" >&2 4900 as_fn_exit $as_status 4901 } # as_fn_error 4902 4903 4904 # as_fn_set_status STATUS 4905 # ----------------------- 4906 # Set $? to STATUS, without forking. 4907 as_fn_set_status () 4908 { 4909 return $1 4910 } # as_fn_set_status 4911 4912 # as_fn_exit STATUS 4913 # ----------------- 4914 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4915 as_fn_exit () 4916 { 4917 set +e 4918 as_fn_set_status $1 4919 exit $1 4920 } # as_fn_exit 4921 4922 # as_fn_unset VAR 4923 # --------------- 4924 # Portably unset VAR. 4925 as_fn_unset () 4926 { 4927 { eval $1=; unset $1;} 4928 } 4929 as_unset=as_fn_unset 4930 # as_fn_append VAR VALUE 4931 # ---------------------- 4932 # Append the text in VALUE to the end of the definition contained in VAR. Take 4933 # advantage of any shell optimizations that allow amortized linear growth over 4934 # repeated appends, instead of the typical quadratic growth present in naive 4935 # implementations. 4936 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4937 eval 'as_fn_append () 4938 { 4939 eval $1+=\$2 4940 }' 4941 else 4942 as_fn_append () 4943 { 4944 eval $1=\$$1\$2 4945 } 4946 fi # as_fn_append 4947 4948 # as_fn_arith ARG... 4949 # ------------------ 4950 # Perform arithmetic evaluation on the ARGs, and store the result in the 4951 # global $as_val. Take advantage of shells that can avoid forks. The arguments 4952 # must be portable across $(()) and expr. 4953 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4954 eval 'as_fn_arith () 4955 { 4956 as_val=$(( $* )) 4957 }' 4958 else 4959 as_fn_arith () 4960 { 4961 as_val=`expr "$@" || test $? -eq 1` 4962 } 4963 fi # as_fn_arith 4964 4965 4966 if expr a : '\(a\)' >/dev/null 2>&1 && 4967 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4968 as_expr=expr 4969 else 4970 as_expr=false 4971 fi 4972 4973 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4974 as_basename=basename 4975 else 4976 as_basename=false 4977 fi 4978 4979 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4980 as_dirname=dirname 4981 else 4982 as_dirname=false 4983 fi 4984 4985 as_me=`$as_basename -- "$0" || 4986 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4987 X"$0" : 'X\(//\)$' \| \ 4988 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4989 $as_echo X/"$0" | 4990 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4991 s//\1/ 4992 q 4993 } 4994 /^X\/\(\/\/\)$/{ 4995 s//\1/ 4996 q 4997 } 4998 /^X\/\(\/\).*/{ 4999 s//\1/ 5000 q 5001 } 5002 s/.*/./; q'` 5003 5004 # Avoid depending upon Character Ranges. 5005 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5006 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5007 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5008 as_cr_digits='0123456789' 5009 as_cr_alnum=$as_cr_Letters$as_cr_digits 5010 5011 ECHO_C= ECHO_N= ECHO_T= 5012 case `echo -n x` in #((((( 5013 -n*) 5014 case `echo 'xy\c'` in 5015 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5016 xy) ECHO_C='\c';; 5017 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5018 ECHO_T=' ';; 5019 esac;; 5020 *) 5021 ECHO_N='-n';; 5022 esac 5023 5024 rm -f conf$$ conf$$.exe conf$$.file 5025 if test -d conf$$.dir; then 5026 rm -f conf$$.dir/conf$$.file 5027 else 5028 rm -f conf$$.dir 5029 mkdir conf$$.dir 2>/dev/null 5030 fi 5031 if (echo >conf$$.file) 2>/dev/null; then 5032 if ln -s conf$$.file conf$$ 2>/dev/null; then 5033 as_ln_s='ln -s' 5034 # ... but there are two gotchas: 5035 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5036 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5037 # In both cases, we have to default to `cp -p'. 5038 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5039 as_ln_s='cp -p' 5040 elif ln conf$$.file conf$$ 2>/dev/null; then 5041 as_ln_s=ln 5042 else 5043 as_ln_s='cp -p' 5044 fi 5045 else 5046 as_ln_s='cp -p' 5047 fi 5048 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5049 rmdir conf$$.dir 2>/dev/null 5050 5051 5052 # as_fn_mkdir_p 5053 # ------------- 5054 # Create "$as_dir" as a directory, including parents if necessary. 5055 as_fn_mkdir_p () 5056 { 5057 5058 case $as_dir in #( 5059 -*) as_dir=./$as_dir;; 5060 esac 5061 test -d "$as_dir" || eval $as_mkdir_p || { 5062 as_dirs= 5063 while :; do 5064 case $as_dir in #( 5065 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5066 *) as_qdir=$as_dir;; 5067 esac 5068 as_dirs="'$as_qdir' $as_dirs" 5069 as_dir=`$as_dirname -- "$as_dir" || 5070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5071 X"$as_dir" : 'X\(//\)[^/]' \| \ 5072 X"$as_dir" : 'X\(//\)$' \| \ 5073 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5074 $as_echo X"$as_dir" | 5075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5076 s//\1/ 5077 q 5078 } 5079 /^X\(\/\/\)[^/].*/{ 5080 s//\1/ 5081 q 5082 } 5083 /^X\(\/\/\)$/{ 5084 s//\1/ 5085 q 5086 } 5087 /^X\(\/\).*/{ 5088 s//\1/ 5089 q 5090 } 5091 s/.*/./; q'` 5092 test -d "$as_dir" && break 5093 done 5094 test -z "$as_dirs" || eval "mkdir $as_dirs" 5095 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5096 5097 5098 } # as_fn_mkdir_p 5099 if mkdir -p . 2>/dev/null; then 5100 as_mkdir_p='mkdir -p "$as_dir"' 5101 else 5102 test -d ./-p && rmdir ./-p 5103 as_mkdir_p=false 5104 fi 5105 5106 if test -x / >/dev/null 2>&1; then 5107 as_test_x='test -x' 5108 else 5109 if ls -dL / >/dev/null 2>&1; then 5110 as_ls_L_option=L 5111 else 5112 as_ls_L_option= 5113 fi 5114 as_test_x=' 5115 eval sh -c '\'' 5116 if test -d "$1"; then 5117 test -d "$1/."; 5118 else 5119 case $1 in #( 5120 -*)set "./$1";; 5121 esac; 5122 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5123 ???[sx]*):;;*)false;;esac;fi 5124 '\'' sh 5125 ' 5126 fi 5127 as_executable_p=$as_test_x 5128 5129 # Sed expression to map a string onto a valid CPP name. 5130 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5131 5132 # Sed expression to map a string onto a valid variable name. 5133 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5134 5135 5136 exec 6>&1 5137 ## ----------------------------------- ## 5138 ## Main body of $CONFIG_STATUS script. ## 5139 ## ----------------------------------- ## 5140 _ASEOF 5141 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5142 5143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5144 # Save the log message, to keep $0 and so on meaningful, and to 5145 # report actual input values of CONFIG_FILES etc. instead of their 5146 # values after options handling. 5147 ac_log=" 5148 This file was extended by EvIEExt $as_me 1.1.1, which was 5149 generated by GNU Autoconf 2.68. Invocation command line was 5150 5151 CONFIG_FILES = $CONFIG_FILES 5152 CONFIG_HEADERS = $CONFIG_HEADERS 5153 CONFIG_LINKS = $CONFIG_LINKS 5154 CONFIG_COMMANDS = $CONFIG_COMMANDS 5155 $ $0 $@ 5156 5157 on `(hostname || uname -n) 2>/dev/null | sed 1q` 5158 " 5159 5160 _ACEOF 5161 5162 case $ac_config_files in *" 5163 "*) set x $ac_config_files; shift; ac_config_files=$*;; 5164 esac 5165 5166 5167 5168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5169 # Files that config.status was made for. 5170 config_files="$ac_config_files" 5171 config_commands="$ac_config_commands" 5172 5173 _ACEOF 5174 5175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5176 ac_cs_usage="\ 5177 \`$as_me' instantiates files and other configuration actions 5178 from templates according to the current configuration. Unless the files 5179 and actions are specified as TAGs, all are instantiated by default. 5180 5181 Usage: $0 [OPTION]... [TAG]... 5182 5183 -h, --help print this help, then exit 5184 -V, --version print version number and configuration settings, then exit 5185 --config print configuration, then exit 5186 -q, --quiet, --silent 5187 do not print progress messages 5188 -d, --debug don't remove temporary files 5189 --recheck update $as_me by reconfiguring in the same conditions 5190 --file=FILE[:TEMPLATE] 5191 instantiate the configuration file FILE 5192 5193 Configuration files: 5194 $config_files 5195 5196 Configuration commands: 5197 $config_commands 5198 5199 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 5200 5201 _ACEOF 5202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5203 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5204 ac_cs_version="\\ 5205 EvIEExt config.status 1.1.1 5206 configured by $0, generated by GNU Autoconf 2.68, 5207 with options \\"\$ac_cs_config\\" 5208 5209 Copyright (C) 2010 Free Software Foundation, Inc. 5210 This config.status script is free software; the Free Software Foundation 5211 gives unlimited permission to copy, distribute and modify it." 5212 5213 ac_pwd='$ac_pwd' 5214 srcdir='$srcdir' 5215 INSTALL='$INSTALL' 5216 MKDIR_P='$MKDIR_P' 5217 AWK='$AWK' 5218 test -n "\$AWK" || AWK=awk 5219 _ACEOF 5220 5221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5222 # The default lists apply if the user does not specify any file. 5223 ac_need_defaults=: 5224 while test $# != 0 5225 do 5226 case $1 in 5227 --*=?*) 5228 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5229 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5230 ac_shift=: 5231 ;; 5232 --*=) 5233 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5234 ac_optarg= 5235 ac_shift=: 5236 ;; 5237 *) 5238 ac_option=$1 5239 ac_optarg=$2 5240 ac_shift=shift 5241 ;; 5242 esac 5243 5244 case $ac_option in 5245 # Handling of the options. 5246 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5247 ac_cs_recheck=: ;; 5248 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5249 $as_echo "$ac_cs_version"; exit ;; 5250 --config | --confi | --conf | --con | --co | --c ) 5251 $as_echo "$ac_cs_config"; exit ;; 5252 --debug | --debu | --deb | --de | --d | -d ) 5253 debug=: ;; 5254 --file | --fil | --fi | --f ) 5255 $ac_shift 5256 case $ac_optarg in 5257 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5258 '') as_fn_error $? "missing file argument" ;; 5259 esac 5260 as_fn_append CONFIG_FILES " '$ac_optarg'" 5261 ac_need_defaults=false;; 5262 --he | --h | --help | --hel | -h ) 5263 $as_echo "$ac_cs_usage"; exit ;; 5264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5265 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5266 ac_cs_silent=: ;; 5267 5268 # This is an error. 5269 -*) as_fn_error $? "unrecognized option: \`$1' 5270 Try \`$0 --help' for more information." ;; 5271 5272 *) as_fn_append ac_config_targets " $1" 5273 ac_need_defaults=false ;; 5274 5275 esac 5276 shift 5277 done 5278 5279 ac_configure_extra_args= 5280 5281 if $ac_cs_silent; then 5282 exec 6>/dev/null 5283 ac_configure_extra_args="$ac_configure_extra_args --silent" 5284 fi 5285 5286 _ACEOF 5287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5288 if \$ac_cs_recheck; then 5289 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5290 shift 5291 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5292 CONFIG_SHELL='$SHELL' 5293 export CONFIG_SHELL 5294 exec "\$@" 5295 fi 5296 5297 _ACEOF 5298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5299 exec 5>>config.log 5300 { 5301 echo 5302 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5303 ## Running $as_me. ## 5304 _ASBOX 5305 $as_echo "$ac_log" 5306 } >&5 5307 5308 _ACEOF 5309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5310 # 5311 # INIT-COMMANDS 5312 # 5313 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5314 5315 _ACEOF 5316 5317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5318 5319 # Handling of arguments. 5320 for ac_config_target in $ac_config_targets 5321 do 5322 case $ac_config_target in 5323 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5324 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5325 "evieproto.pc") CONFIG_FILES="$CONFIG_FILES evieproto.pc" ;; 5326 5327 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5328 esac 5329 done 5330 5331 5332 # If the user did not use the arguments to specify the items to instantiate, 5333 # then the envvar interface is used. Set only those that are not. 5334 # We use the long form for the default assignment because of an extremely 5335 # bizarre bug on SunOS 4.1.3. 5336 if $ac_need_defaults; then 5337 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5338 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5339 fi 5340 5341 # Have a temporary directory for convenience. Make it in the build tree 5342 # simply because there is no reason against having it here, and in addition, 5343 # creating and moving files from /tmp can sometimes cause problems. 5344 # Hook for its removal unless debugging. 5345 # Note that there is a small window in which the directory will not be cleaned: 5346 # after its creation but before its name has been assigned to `$tmp'. 5347 $debug || 5348 { 5349 tmp= ac_tmp= 5350 trap 'exit_status=$? 5351 : "${ac_tmp:=$tmp}" 5352 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5353 ' 0 5354 trap 'as_fn_exit 1' 1 2 13 15 5355 } 5356 # Create a (secure) tmp directory for tmp files. 5357 5358 { 5359 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5360 test -d "$tmp" 5361 } || 5362 { 5363 tmp=./conf$$-$RANDOM 5364 (umask 077 && mkdir "$tmp") 5365 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5366 ac_tmp=$tmp 5367 5368 # Set up the scripts for CONFIG_FILES section. 5369 # No need to generate them if there are no CONFIG_FILES. 5370 # This happens for instance with `./config.status config.h'. 5371 if test -n "$CONFIG_FILES"; then 5372 5373 5374 ac_cr=`echo X | tr X '\015'` 5375 # On cygwin, bash can eat \r inside `` if the user requested igncr. 5376 # But we know of no other shell where ac_cr would be empty at this 5377 # point, so we can use a bashism as a fallback. 5378 if test "x$ac_cr" = x; then 5379 eval ac_cr=\$\'\\r\' 5380 fi 5381 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5382 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5383 ac_cs_awk_cr='\\r' 5384 else 5385 ac_cs_awk_cr=$ac_cr 5386 fi 5387 5388 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 5389 _ACEOF 5390 5391 5392 { 5393 echo "cat >conf$$subs.awk <<_ACEOF" && 5394 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5395 echo "_ACEOF" 5396 } >conf$$subs.sh || 5397 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5398 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5399 ac_delim='%!_!# ' 5400 for ac_last_try in false false false false false :; do 5401 . ./conf$$subs.sh || 5402 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5403 5404 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5405 if test $ac_delim_n = $ac_delim_num; then 5406 break 5407 elif $ac_last_try; then 5408 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5409 else 5410 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5411 fi 5412 done 5413 rm -f conf$$subs.sh 5414 5415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5416 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5417 _ACEOF 5418 sed -n ' 5419 h 5420 s/^/S["/; s/!.*/"]=/ 5421 p 5422 g 5423 s/^[^!]*!// 5424 :repl 5425 t repl 5426 s/'"$ac_delim"'$// 5427 t delim 5428 :nl 5429 h 5430 s/\(.\{148\}\)..*/\1/ 5431 t more1 5432 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5433 p 5434 n 5435 b repl 5436 :more1 5437 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5438 p 5439 g 5440 s/.\{148\}// 5441 t nl 5442 :delim 5443 h 5444 s/\(.\{148\}\)..*/\1/ 5445 t more2 5446 s/["\\]/\\&/g; s/^/"/; s/$/"/ 5447 p 5448 b 5449 :more2 5450 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5451 p 5452 g 5453 s/.\{148\}// 5454 t delim 5455 ' <conf$$subs.awk | sed ' 5456 /^[^""]/{ 5457 N 5458 s/\n// 5459 } 5460 ' >>$CONFIG_STATUS || ac_write_fail=1 5461 rm -f conf$$subs.awk 5462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5463 _ACAWK 5464 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5465 for (key in S) S_is_set[key] = 1 5466 FS = "" 5467 5468 } 5469 { 5470 line = $ 0 5471 nfields = split(line, field, "@") 5472 substed = 0 5473 len = length(field[1]) 5474 for (i = 2; i < nfields; i++) { 5475 key = field[i] 5476 keylen = length(key) 5477 if (S_is_set[key]) { 5478 value = S[key] 5479 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5480 len += length(value) + length(field[++i]) 5481 substed = 1 5482 } else 5483 len += 1 + keylen 5484 } 5485 5486 print line 5487 } 5488 5489 _ACAWK 5490 _ACEOF 5491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5492 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5493 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5494 else 5495 cat 5496 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5497 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5498 _ACEOF 5499 5500 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5501 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5502 # trailing colons and then remove the whole line if VPATH becomes empty 5503 # (actually we leave an empty line to preserve line numbers). 5504 if test "x$srcdir" = x.; then 5505 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5506 h 5507 s/// 5508 s/^/:/ 5509 s/[ ]*$/:/ 5510 s/:\$(srcdir):/:/g 5511 s/:\${srcdir}:/:/g 5512 s/:@srcdir@:/:/g 5513 s/^:*// 5514 s/:*$// 5515 x 5516 s/\(=[ ]*\).*/\1/ 5517 G 5518 s/\n// 5519 s/^[^=]*=[ ]*$// 5520 }' 5521 fi 5522 5523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5524 fi # test -n "$CONFIG_FILES" 5525 5526 5527 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 5528 shift 5529 for ac_tag 5530 do 5531 case $ac_tag in 5532 :[FHLC]) ac_mode=$ac_tag; continue;; 5533 esac 5534 case $ac_mode$ac_tag in 5535 :[FHL]*:*);; 5536 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5537 :[FH]-) ac_tag=-:-;; 5538 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5539 esac 5540 ac_save_IFS=$IFS 5541 IFS=: 5542 set x $ac_tag 5543 IFS=$ac_save_IFS 5544 shift 5545 ac_file=$1 5546 shift 5547 5548 case $ac_mode in 5549 :L) ac_source=$1;; 5550 :[FH]) 5551 ac_file_inputs= 5552 for ac_f 5553 do 5554 case $ac_f in 5555 -) ac_f="$ac_tmp/stdin";; 5556 *) # Look for the file first in the build tree, then in the source tree 5557 # (if the path is not absolute). The absolute path cannot be DOS-style, 5558 # because $ac_f cannot contain `:'. 5559 test -f "$ac_f" || 5560 case $ac_f in 5561 [\\/$]*) false;; 5562 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5563 esac || 5564 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5565 esac 5566 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5567 as_fn_append ac_file_inputs " '$ac_f'" 5568 done 5569 5570 # Let's still pretend it is `configure' which instantiates (i.e., don't 5571 # use $as_me), people would be surprised to read: 5572 # /* config.h. Generated by config.status. */ 5573 configure_input='Generated from '` 5574 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5575 `' by configure.' 5576 if test x"$ac_file" != x-; then 5577 configure_input="$ac_file. $configure_input" 5578 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5579 $as_echo "$as_me: creating $ac_file" >&6;} 5580 fi 5581 # Neutralize special characters interpreted by sed in replacement strings. 5582 case $configure_input in #( 5583 *\&* | *\|* | *\\* ) 5584 ac_sed_conf_input=`$as_echo "$configure_input" | 5585 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5586 *) ac_sed_conf_input=$configure_input;; 5587 esac 5588 5589 case $ac_tag in 5590 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5591 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5592 esac 5593 ;; 5594 esac 5595 5596 ac_dir=`$as_dirname -- "$ac_file" || 5597 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5598 X"$ac_file" : 'X\(//\)[^/]' \| \ 5599 X"$ac_file" : 'X\(//\)$' \| \ 5600 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5601 $as_echo X"$ac_file" | 5602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5603 s//\1/ 5604 q 5605 } 5606 /^X\(\/\/\)[^/].*/{ 5607 s//\1/ 5608 q 5609 } 5610 /^X\(\/\/\)$/{ 5611 s//\1/ 5612 q 5613 } 5614 /^X\(\/\).*/{ 5615 s//\1/ 5616 q 5617 } 5618 s/.*/./; q'` 5619 as_dir="$ac_dir"; as_fn_mkdir_p 5620 ac_builddir=. 5621 5622 case "$ac_dir" in 5623 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5624 *) 5625 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5626 # A ".." for each directory in $ac_dir_suffix. 5627 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5628 case $ac_top_builddir_sub in 5629 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5630 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5631 esac ;; 5632 esac 5633 ac_abs_top_builddir=$ac_pwd 5634 ac_abs_builddir=$ac_pwd$ac_dir_suffix 5635 # for backward compatibility: 5636 ac_top_builddir=$ac_top_build_prefix 5637 5638 case $srcdir in 5639 .) # We are building in place. 5640 ac_srcdir=. 5641 ac_top_srcdir=$ac_top_builddir_sub 5642 ac_abs_top_srcdir=$ac_pwd ;; 5643 [\\/]* | ?:[\\/]* ) # Absolute name. 5644 ac_srcdir=$srcdir$ac_dir_suffix; 5645 ac_top_srcdir=$srcdir 5646 ac_abs_top_srcdir=$srcdir ;; 5647 *) # Relative name. 5648 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5649 ac_top_srcdir=$ac_top_build_prefix$srcdir 5650 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5651 esac 5652 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5653 5654 5655 case $ac_mode in 5656 :F) 5657 # 5658 # CONFIG_FILE 5659 # 5660 5661 case $INSTALL in 5662 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5663 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5664 esac 5665 ac_MKDIR_P=$MKDIR_P 5666 case $MKDIR_P in 5667 [\\/$]* | ?:[\\/]* ) ;; 5668 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5669 esac 5670 _ACEOF 5671 5672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5673 # If the template does not know about datarootdir, expand it. 5674 # FIXME: This hack should be removed a few years after 2.60. 5675 ac_datarootdir_hack=; ac_datarootdir_seen= 5676 ac_sed_dataroot=' 5677 /datarootdir/ { 5678 p 5679 q 5680 } 5681 /@datadir@/p 5682 /@docdir@/p 5683 /@infodir@/p 5684 /@localedir@/p 5685 /@mandir@/p' 5686 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5687 *datarootdir*) ac_datarootdir_seen=yes;; 5688 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5690 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5691 _ACEOF 5692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5693 ac_datarootdir_hack=' 5694 s&@datadir@&$datadir&g 5695 s&@docdir@&$docdir&g 5696 s&@infodir@&$infodir&g 5697 s&@localedir@&$localedir&g 5698 s&@mandir@&$mandir&g 5699 s&\\\${datarootdir}&$datarootdir&g' ;; 5700 esac 5701 _ACEOF 5702 5703 # Neutralize VPATH when `$srcdir' = `.'. 5704 # Shell code in configure.ac might set extrasub. 5705 # FIXME: do we really want to maintain this feature? 5706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5707 ac_sed_extra="$ac_vpsub 5708 $extrasub 5709 _ACEOF 5710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5711 :t 5712 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5713 s|@configure_input@|$ac_sed_conf_input|;t t 5714 s&@top_builddir@&$ac_top_builddir_sub&;t t 5715 s&@top_build_prefix@&$ac_top_build_prefix&;t t 5716 s&@srcdir@&$ac_srcdir&;t t 5717 s&@abs_srcdir@&$ac_abs_srcdir&;t t 5718 s&@top_srcdir@&$ac_top_srcdir&;t t 5719 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5720 s&@builddir@&$ac_builddir&;t t 5721 s&@abs_builddir@&$ac_abs_builddir&;t t 5722 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5723 s&@INSTALL@&$ac_INSTALL&;t t 5724 s&@MKDIR_P@&$ac_MKDIR_P&;t t 5725 $ac_datarootdir_hack 5726 " 5727 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5728 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5729 5730 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5731 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5732 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5733 "$ac_tmp/out"`; test -z "$ac_out"; } && 5734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5735 which seems to be undefined. Please make sure it is defined" >&5 5736 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5737 which seems to be undefined. Please make sure it is defined" >&2;} 5738 5739 rm -f "$ac_tmp/stdin" 5740 case $ac_file in 5741 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5742 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5743 esac \ 5744 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5745 ;; 5746 5747 5748 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 5749 $as_echo "$as_me: executing $ac_file commands" >&6;} 5750 ;; 5751 esac 5752 5753 5754 case $ac_file$ac_mode in 5755 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 5756 # Autoconf 2.62 quotes --file arguments for eval, but not when files 5757 # are listed without --file. Let's play safe and only enable the eval 5758 # if we detect the quoting. 5759 case $CONFIG_FILES in 5760 *\'*) eval set x "$CONFIG_FILES" ;; 5761 *) set x $CONFIG_FILES ;; 5762 esac 5763 shift 5764 for mf 5765 do 5766 # Strip MF so we end up with the name of the file. 5767 mf=`echo "$mf" | sed -e 's/:.*$//'` 5768 # Check whether this is an Automake generated Makefile or not. 5769 # We used to match only the files named `Makefile.in', but 5770 # some people rename them; so instead we look at the file content. 5771 # Grep'ing the first line is not enough: some people post-process 5772 # each Makefile.in and add a new line on top of each file to say so. 5773 # Grep'ing the whole file is not good either: AIX grep has a line 5774 # limit of 2048, but all sed's we know have understand at least 4000. 5775 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 5776 dirpart=`$as_dirname -- "$mf" || 5777 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5778 X"$mf" : 'X\(//\)[^/]' \| \ 5779 X"$mf" : 'X\(//\)$' \| \ 5780 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 5781 $as_echo X"$mf" | 5782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5783 s//\1/ 5784 q 5785 } 5786 /^X\(\/\/\)[^/].*/{ 5787 s//\1/ 5788 q 5789 } 5790 /^X\(\/\/\)$/{ 5791 s//\1/ 5792 q 5793 } 5794 /^X\(\/\).*/{ 5795 s//\1/ 5796 q 5797 } 5798 s/.*/./; q'` 5799 else 5800 continue 5801 fi 5802 # Extract the definition of DEPDIR, am__include, and am__quote 5803 # from the Makefile without running `make'. 5804 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 5805 test -z "$DEPDIR" && continue 5806 am__include=`sed -n 's/^am__include = //p' < "$mf"` 5807 test -z "am__include" && continue 5808 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 5809 # When using ansi2knr, U may be empty or an underscore; expand it 5810 U=`sed -n 's/^U = //p' < "$mf"` 5811 # Find all dependency output files, they are included files with 5812 # $(DEPDIR) in their names. We invoke sed twice because it is the 5813 # simplest approach to changing $(DEPDIR) to its actual value in the 5814 # expansion. 5815 for file in `sed -n " 5816 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 5817 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 5818 # Make sure the directory exists. 5819 test -f "$dirpart/$file" && continue 5820 fdir=`$as_dirname -- "$file" || 5821 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5822 X"$file" : 'X\(//\)[^/]' \| \ 5823 X"$file" : 'X\(//\)$' \| \ 5824 X"$file" : 'X\(/\)' \| . 2>/dev/null || 5825 $as_echo X"$file" | 5826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5827 s//\1/ 5828 q 5829 } 5830 /^X\(\/\/\)[^/].*/{ 5831 s//\1/ 5832 q 5833 } 5834 /^X\(\/\/\)$/{ 5835 s//\1/ 5836 q 5837 } 5838 /^X\(\/\).*/{ 5839 s//\1/ 5840 q 5841 } 5842 s/.*/./; q'` 5843 as_dir=$dirpart/$fdir; as_fn_mkdir_p 5844 # echo "creating $dirpart/$file" 5845 echo '# dummy' > "$dirpart/$file" 5846 done 5847 done 5848 } 5849 ;; 5850 5851 esac 5852 done # for ac_tag 5853 5854 5855 as_fn_exit 0 5856 _ACEOF 5857 ac_clean_files=$ac_clean_files_save 5858 5859 test $ac_write_fail = 0 || 5860 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5861 5862 5863 # configure is writing to config.log, and then calls config.status. 5864 # config.status does its own redirection, appending to config.log. 5865 # Unfortunately, on DOS this fails, as config.log is still kept open 5866 # by configure, so config.status won't be able to write to it; its 5867 # output is simply discarded. So we exec the FD to /dev/null, 5868 # effectively closing config.log, so it can be properly (re)opened and 5869 # appended to by config.status. When coming back to configure, we 5870 # need to make the FD available again. 5871 if test "$no_create" != yes; then 5872 ac_cs_success=: 5873 ac_config_status_args= 5874 test "$silent" = yes && 5875 ac_config_status_args="$ac_config_status_args --quiet" 5876 exec 5>/dev/null 5877 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5878 exec 5>>config.log 5879 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5880 # would make configure fail if this is the last instruction. 5881 $ac_cs_success || as_fn_exit 1 5882 fi 5883 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5885 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5886 fi 5887 5888