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