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